!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}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=2566)}([function(e,t,n){"use strict";e.exports=n(1534)},function(e,t,n){e.exports=n(1538)()},function(e,t,n){var r;
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(i.apply(null,r));else if("object"===o)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(1570)},function(e,t,n){e.exports=n(1557)},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(328),i=n.n(r);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),i()(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}},function(e,t,n){var r=n(24),i=n(544);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(605),i=n.n(r),o=n(476),a=n.n(o);function s(e){return(s=a.a?i.a:function(e){return e.__proto__||i()(e)})(e)}},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(604),i=n(5);function o(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(i.a)(e):t}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(477),i=n.n(r),o=n(392);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=i()(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(o.a)(e,t)}},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(100))},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return t[e]})},function(e,t,n){var r=n(61),i=n(35);e.exports=r(function(e,t,n){return i(t,n[e])})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(328),i=n.n(r);function o(e,t,n){return t in e?i()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(50);e.exports=r(function(e){return function(){return e}})},function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"i",function(){return A}),n.d(t,"l",function(){return j}),n.d(t,"h",function(){return N}),n.d(t,"m",function(){return M}),n.d(t,"j",function(){return P}),n.d(t,"k",function(){return I}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return R}),n.d(t,"d",function(){return F}),n.d(t,"e",function(){return B}),n.d(t,"f",function(){return U}),n.d(t,"g",function(){return q});var r=n(157),i=n.n(r),o=n(27),a=n.n(o),s=n(70),c=n.n(s),u=n(131),l=n.n(u),d=n(83),f=n.n(d),h=n(16),p=n.n(h),m=n(88),v=n.n(m),g=n(193),y=n.n(g),b=n(45),_=n.n(b),w=n(211),x=n(25),k=n(107),E=n(33),S=n(153),T=function(){return document.getElementById("focus-ring-style")||C()},C=function(){var e=document.createElement("style");return e.id="focus-ring-style",document.head.appendChild(e),e},O=0,A=-1,j=function(){var e=T();document.addEventListener("mousedown",function(){a()(function(){e.innerHTML=":focus{outline: none}"},0),Object(E.a)(Object(S.c)(!1))}),window.addEventListener("keydown",N)},N=function(e){var t=e.target,n=T();(Object(x.l)(e)||Object(x.e)(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",Object(E.a)(Object(S.c)(!0)))},M=function(e){return e?O:A},P=function(e,t){var n=t!==O;(e||{}).tabIndex=t,Object(k.d)({element:e,isHidden:n})},I=function(e){var t=e.element,n=e.selector,r=e.tabIndex,o=Object(w.b)(t.querySelectorAll(n));i()(o).call(o,function(e){P(e,r)})},L=function(e){var t=Object(w.b)(e.getElementsByTagName("*"));i()(t).call(t,function(e){P(e,A)})},D=function(e){return function(t){var n,r,i=t.querySelectorAll('[tabindex = "0"]');return!!i.length&&(n=p()(e),r=i,f()(n,c.a,l.a)(r).focus(),!0)}},R=D(!0),F=D(!1),B=function(e){var t=e.list,n=e.index;n>=0&&n<_()(t)&&t[n].focus()},U=function(e){var t=e.list,n=e.currentIndex,r=v()(n||0),i=r<_()(t)?r:0;return B({list:t,index:i}),i},q=function(e){var t=e.list,n=e.currentIndex,r=y()(n||_()(t));return B({list:t,index:r}),r}},function(e,t,n){e.exports=n(1707)},function(e,t,n){var r=n(65),i=n(185).f,o=n(172),a=n(186),s=n(657),c=n(810),u=n(432);e.exports=function(e,t){var n,l,d,f,h,p=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(h=i(n,l))&&h.value:n[l],!u(m?l:p+(v?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(n,l,f,e)}}},function(e,t,n){var r=n(50),i=n(533);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)}}}},function(e,t,n){"use strict";n.d(t,"c",function(){return p}),n.d(t,"e",function(){return m}),n.d(t,"a",function(){return g}),n.d(t,"g",function(){return b}),n.d(t,"f",function(){return _}),n.d(t,"b",function(){return w}),n.d(t,"d",function(){return x}),n.d(t,"h",function(){return k});var r=n(4),i=n.n(r),o=n(247),a=n.n(o),s=n(3),c=n.n(s),u=n(47),l=n.n(u),d=n(13),f=n.n(d),h=window.Runtime,p=l()(f.a)(window.env||{}),m=!1,v=function(e){return h&&h[e]},g="Rise 360";function y(e){return p("CDN_USER_CONTENT_URI")+"/"+e}function b(e){var t,n=e||"",r=v("resolvePath")?c()(t=h.resolvePath).call(t,h):y;return a()(n).call(n,"http")||a()(n).call(n,"data:")||a()(n).call(n,"//")?n:r(n)}function _(e){var t;if(v("resolveFontPath"))return h.resolveFontPath(e);var n=e.default?p("CDN_URI"):p("CDN_USER_CONTENT_URI");return i()(t="".concat(n,"/")).call(t,e.key)}function w(){v("exit")&&h.exit()}function x(){return!!v("isExport")&&h.isExport()}function k(){if(v("sendTouch"))return h.sendTouch()}},function(e,t,n){var r=n(61),i=n(126),o=n(28);e.exports=r(function(e,t,n){return i(e,o(t,n))})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(152),i=n.n(r);function o(){return(o=i.a||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(e,t,n){var r=n(254),i=n(1657),o=n(115),a=n(470);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)))}},function(e,t,n){"use strict";n.d(t,"d",function(){return O}),n.d(t,"l",function(){return A}),n.d(t,"k",function(){return j}),n.d(t,"f",function(){return N}),n.d(t,"m",function(){return M}),n.d(t,"b",function(){return P}),n.d(t,"g",function(){return I}),n.d(t,"i",function(){return L}),n.d(t,"c",function(){return D}),n.d(t,"e",function(){return R}),n.d(t,"j",function(){return F}),n.d(t,"h",function(){return B}),n.d(t,"n",function(){return U}),n.d(t,"o",function(){return q}),n.d(t,"a",function(){return z}),n.d(t,"q",function(){return H}),n.d(t,"p",function(){return W}),n.d(t,"r",function(){return V});var r=n(771),i=n.n(r),o=n(248),a=n.n(o),s=n(40),c=n.n(s),u=n(78),l=n.n(u),d=n(79),f=n.n(d),h=n(42),p=n.n(h),m=n(112),v=n.n(m),g={keys:["End"],keyCode:a.a.KEY_END},y={keys:["Enter"],keyCode:a.a.KEY_RETURN},b={keys:["Home"],keyCode:a.a.KEY_HOME},_={keys:["Tab"],keyCode:a.a.KEY_TAB},w={keys:[" "],keyCode:a.a.KEY_SPACE},x={keys:["Escape","Esc"],keyCode:a.a.KEY_ESCAPE},k={keys:["ArrowUp"],keyCode:a.a.KEY_UP},E={keys:["ArrowDown"],keyCode:a.a.KEY_DOWN},S={keys:["ArrowLeft"],keyCode:a.a.KEY_LEFT},T={keys:["ArrowRight"],keyCode:a.a.KEY_RIGHT},C=function(e){var t=e.keyCode,n=i()(e);return function(e){return e.keyCode?e.keyCode===t:l()(e.key,n)}},O=(C(g),C(y)),A=(C(b),C(_)),j=C(w),N=C(x),M=C(k),P=C(E),I=C(S),L=C(T),D=v()(P,L),R=v()(j,O),F=(v()(A,O),v()(L,M)),B=v()(I,P),U=v()(M,P),q=v()(M,I),z=p()(R),H=f()(function(e,t){0!==e.scrollTop&&(t.preventDefault(),e.scrollTop-=25)}),W=f()(function(e,t,n){t&&(n.preventDefault(),e.scrollTop+=25)}),V=function(e,t){return function(n){var r=W(e,t),i=H(e);c()([[P,r],[M,i]])(n)}}},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r})},function(e,t,n){e.exports=n(1780)},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(50);e.exports=r(function(e){return null==e})},function(e,t,n){var r=n(718),i=n(20);e.exports=i(function(e,t){return r({},e,t)})},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(2159);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(100))},function(e,t,n){var r=n(20),i=n(148),o=n(545),a=n(219),s=n(1659),c=n(54),u=n(82);e.exports=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return g}),n.d(t,"a",function(){return y});var r=n(410),i=n(7),o=n.n(i),a=n(1198),s=n.n(a),c=n(1199),u=n.n(c),l=n(1200),d=n.n(l),f=n(1201),h=n.n(f),p=(n(39),n(67)),m=n(1312),v=(e.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,o.a),g=Object(r.d)(Object(r.c)(m.a),v(Object(r.a)(h.a,d.a,u()("run"),s.a,p.b))),y=g.dispatch}).call(this,n(100))},function(e,t,n){"use strict";n(2178),n(1004),n(1005);var r=n(1006),i=(n(1007),n(1008),n(1009),n(1010),n(1011),n(597)),o=(n(1012),n(1013),n(1014),n(1015),n(1016),n(1017)),a=n(2),s=n.n(a),c=n(0),u=n.n(c),l=(n(1018),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"Check mark":n,i=e.className,o=e.desc,a=e.height,c=void 0===a?"8":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=e.width,p=void 0===h?"11":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:s()("i i-checkMark",i),focusable:"false",height:c,role:d,viewBox:"0 0 11 8",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}),d=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"21":o,c=e.role,l=void 0===c?"img":c,d=e.title,f=e.width,h=void 0===f?"21":f;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:s()("i i-checkMarkFilled",r),focusable:"false",height:a,role:l,viewBox:"0 0 21 21",width:h,xmlns:"http://www.w3.org/2000/svg"},d&&u.a.createElement("title",null,d),i&&u.a.createElement("desc",null,i),u.a.createElement("path",{d:"M10.074 20.959c-5.523 0-10-4.477-10-10s4.477-10 10-10 10 4.477 10 10-4.477 10-10 10zM7.077 10.523a.65.65 0 1 0-.919.919l2.546 2.545a.65.65 0 0 0 .919 0l4.454-4.454a.65.65 0 1 0-.919-.92L9.163 12.61l-2.086-2.086z"}))},f=function(e){var t=e.title,n=void 0===t?"More":t,r=e.desc,i=void 0===r?"Caret pointing down":r,o=e.width,a=void 0===o?"7":o,c=e.height,l=void 0===c?"5":c,d=e.className,f=e.focusable,h=void 0===f?"false":f;return u.a.createElement("svg",{viewBox:"0 0 7 5",width:a,height:l,className:s()("i i-chevronDown",d),focusable:h},u.a.createElement("title",null,n),u.a.createElement("desc",null,i),u.a.createElement("g",{transform:"translate(-15 -14)"},u.a.createElement("path",{d:"M18.1042026,17.8957974 C18.2994647,18.0910596 18.6160472,18.0910596 18.8113094,17.8957974 L21.3535534,15.3535534 C21.5488155,15.1582912 21.5488155,14.8417088 21.3535534,14.6464466 C21.1582912,14.4511845 20.8417088,14.4511845 20.6464466,14.6464466 L18.4734187,16.8508 L16.3535534,14.7309347 C16.1582912,14.5356725 15.8417088,14.5356725 15.6464466,14.7309347 C15.4511845,14.9261968 15.4511845,15.2427793 15.6464466,15.4380415 L18.1042026,17.8957974 Z"})))},h=(n(1019),n(1020),n(598)),p=(n(1021),n(1022),n(1023),n(1024),n(1025),n(1026)),m=(n(1027),n(23),n(91),n(9)),v=n(6),g=n(10),y=n(8),b=n(11),_=(c.Component,n(1028),n(1029)),w=(n(1030),n(1031)),x=(n(1032),n(1033)),k=(n(1034),n(1035),n(1036),n(1037),n(1038),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"X mark":n,i=e.className,o=e.desc,a=e.height,c=void 0===a?"10":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=e.width,p=void 0===h?"10":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:s()("i i-exMark",i),focusable:"false",height:c,role:d,viewBox:"0 0 10 10",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{d:"M5,4.17,9.17,0,10,.83,5.83,5,10,9.17,9.17,10,5,5.83.83,10,0,9.17,4.17,5,0,.83.83,0Z"}))}),E=(n(1039),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#DFE1E2"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),u.a.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),u.a.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),u.a.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),u.a.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}),S=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#C3CEED"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),u.a.createElement("path",{d:"M14.8355 26.9904C14.8355 27.5698 14.7346 28.1051 14.533 28.5964C14.335 29.0841 14.0545 29.5076 13.6915 29.8669C13.3285 30.2226 12.8903 30.5013 12.377 30.7029C11.8673 30.9009 11.3008 30.9999 10.6775 30.9999H7.56445V22.9864H10.6775C11.3008 22.9864 11.8673 23.0873 12.377 23.2889C12.8903 23.4906 13.3285 23.7693 13.6915 24.1249C14.0545 24.4806 14.335 24.9041 14.533 25.3954C14.7346 25.8831 14.8355 26.4148 14.8355 26.9904ZM12.9325 26.9904C12.9325 26.5944 12.8811 26.2369 12.7785 25.9179C12.6758 25.5989 12.5273 25.3294 12.333 25.1094C12.1423 24.8858 11.9076 24.7153 11.629 24.5979C11.3503 24.4769 11.0331 24.4164 10.6775 24.4164H9.43445V29.5699H10.6775C11.0331 29.5699 11.3503 29.5113 11.629 29.3939C11.9076 29.2729 12.1423 29.1024 12.333 28.8824C12.5273 28.6588 12.6758 28.3874 12.7785 28.0684C12.8811 27.7494 12.9325 27.3901 12.9325 26.9904Z",fill:"#0C3092"}),u.a.createElement("path",{d:"M24.6375 26.9904C24.6375 27.5698 24.5367 28.1088 24.335 28.6074C24.137 29.1061 23.8565 29.5406 23.4935 29.9109C23.1305 30.2776 22.6923 30.5654 22.179 30.7744C21.6693 30.9834 21.1028 31.0879 20.4795 31.0879C19.8562 31.0879 19.2878 30.9834 18.7745 30.7744C18.2612 30.5654 17.8212 30.2776 17.4545 29.9109C17.0915 29.5406 16.8092 29.1061 16.6075 28.6074C16.4095 28.1088 16.3105 27.5698 16.3105 26.9904C16.3105 26.4111 16.4095 25.8721 16.6075 25.3734C16.8092 24.8748 17.0915 24.4421 17.4545 24.0754C17.8212 23.7088 18.2612 23.4209 18.7745 23.2119C19.2878 23.0029 19.8562 22.8984 20.4795 22.8984C21.1028 22.8984 21.6693 23.0048 22.179 23.2174C22.6923 23.4264 23.1305 23.7143 23.4935 24.0809C23.8565 24.4476 24.137 24.8803 24.335 25.3789C24.5367 25.8776 24.6375 26.4148 24.6375 26.9904ZM22.7345 26.9904C22.7345 26.5944 22.6832 26.2388 22.5805 25.9234C22.4779 25.6044 22.3293 25.3349 22.135 25.1149C21.9443 24.8949 21.7097 24.7263 21.431 24.6089C21.1523 24.4916 20.8352 24.4329 20.4795 24.4329C20.1202 24.4329 19.7993 24.4916 19.517 24.6089C19.2383 24.7263 19.0018 24.8949 18.8075 25.1149C18.6168 25.3349 18.4702 25.6044 18.3675 25.9234C18.2648 26.2388 18.2135 26.5944 18.2135 26.9904C18.2135 27.3901 18.2648 27.7494 18.3675 28.0684C18.4702 28.3838 18.6168 28.6514 18.8075 28.8714C19.0018 29.0914 19.2383 29.2601 19.517 29.3774C19.7993 29.4911 20.1202 29.5479 20.4795 29.5479C20.8352 29.5479 21.1523 29.4911 21.431 29.3774C21.7097 29.2601 21.9443 29.0914 22.135 28.8714C22.3293 28.6514 22.4779 28.3838 22.5805 28.0684C22.6832 27.7494 22.7345 27.3901 22.7345 26.9904Z",fill:"#0C3092"}),u.a.createElement("path",{d:"M31.9109 28.9264C31.9549 28.9264 31.9989 28.9356 32.0429 28.9539C32.0869 28.9686 32.129 28.9961 32.1694 29.0364L32.9064 29.8119C32.5837 30.2336 32.1785 30.5526 31.6909 30.7689C31.2069 30.9816 30.633 31.0879 29.9694 31.0879C29.3607 31.0879 28.8144 30.9853 28.3304 30.7799C27.85 30.5709 27.4412 30.2849 27.1039 29.9219C26.7702 29.5553 26.5135 29.1226 26.3339 28.6239C26.1542 28.1216 26.0644 27.5771 26.0644 26.9904C26.0644 26.3928 26.167 25.8446 26.3724 25.3459C26.5777 24.8436 26.8637 24.4109 27.2304 24.0479C27.6007 23.6849 28.0425 23.4026 28.5559 23.2009C29.0692 22.9993 29.6357 22.8984 30.2554 22.8984C30.556 22.8984 30.8384 22.9259 31.1024 22.9809C31.37 23.0323 31.6194 23.1056 31.8504 23.2009C32.0814 23.2926 32.294 23.4044 32.4884 23.5364C32.6827 23.6648 32.855 23.8078 33.0054 23.9654L32.3784 24.8069C32.338 24.8583 32.2904 24.9059 32.2354 24.9499C32.1804 24.9903 32.1034 25.0104 32.0044 25.0104C31.9384 25.0104 31.876 24.9958 31.8174 24.9664C31.7587 24.9371 31.6964 24.9023 31.6304 24.8619C31.5644 24.8179 31.491 24.7721 31.4104 24.7244C31.3334 24.6731 31.2399 24.6273 31.1299 24.5869C31.0235 24.5429 30.897 24.5063 30.7504 24.4769C30.6074 24.4476 30.4387 24.4329 30.2444 24.4329C29.907 24.4329 29.599 24.4934 29.3204 24.6144C29.0417 24.7318 28.8015 24.9023 28.5999 25.1259C28.4019 25.3459 28.246 25.6136 28.1324 25.9289C28.0224 26.2443 27.9674 26.5981 27.9674 26.9904C27.9674 27.4011 28.0224 27.7659 28.1324 28.0849C28.246 28.4039 28.3982 28.6734 28.5889 28.8934C28.7832 29.1098 29.0087 29.2748 29.2654 29.3884C29.522 29.5021 29.797 29.5589 30.0904 29.5589C30.259 29.5589 30.413 29.5516 30.5524 29.5369C30.6917 29.5186 30.82 29.4893 30.9374 29.4489C31.0584 29.4086 31.172 29.3573 31.2784 29.2949C31.3884 29.2289 31.4984 29.1483 31.6084 29.0529C31.6524 29.0163 31.7 28.9869 31.7514 28.9649C31.8027 28.9393 31.8559 28.9264 31.9109 28.9264Z",fill:"#0C3092"}))},T=(n(1040),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#F5D0CE",fillRule:"evenodd"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),u.a.createElement("path",{d:"M10.8678 28.3213V30.9998H9.00879V22.9863H11.8358C12.4005 22.9863 12.8845 23.0542 13.2878 23.1898C13.6948 23.3218 14.0285 23.5052 14.2888 23.7398C14.5528 23.9745 14.7471 24.2513 14.8718 24.5703C14.9965 24.8893 15.0588 25.234 15.0588 25.6043C15.0588 26.004 14.9946 26.3707 14.8663 26.7043C14.738 27.038 14.5418 27.324 14.2778 27.5623C14.0138 27.8007 13.6783 27.9877 13.2713 28.1233C12.868 28.2553 12.3895 28.3213 11.8358 28.3213H10.8678ZM10.8678 26.9188H11.8358C12.3198 26.9188 12.6681 26.8033 12.8808 26.5723C13.0935 26.3413 13.1998 26.0187 13.1998 25.6043C13.1998 25.421 13.1723 25.2542 13.1173 25.1038C13.0623 24.9535 12.978 24.8252 12.8643 24.7188C12.7543 24.6088 12.6131 24.5245 12.4408 24.4658C12.2721 24.4072 12.0705 24.3778 11.8358 24.3778H10.8678V26.9188Z",fill:"#771D18"}),u.a.createElement("path",{d:"M24.2944 26.9903C24.2944 27.5697 24.1936 28.105 23.9919 28.5963C23.7939 29.084 23.5134 29.5075 23.1504 29.8668C22.7874 30.2225 22.3493 30.5012 21.8359 30.7028C21.3263 30.9008 20.7598 30.9998 20.1364 30.9998H17.0234V22.9863H20.1364C20.7598 22.9863 21.3263 23.0872 21.8359 23.2888C22.3493 23.4905 22.7874 23.7692 23.1504 24.1248C23.5134 24.4805 23.7939 24.904 23.9919 25.3953C24.1936 25.883 24.2944 26.4147 24.2944 26.9903ZM22.3914 26.9903C22.3914 26.5943 22.3401 26.2368 22.2374 25.9178C22.1348 25.5988 21.9863 25.3293 21.7919 25.1093C21.6013 24.8857 21.3666 24.7152 21.0879 24.5978C20.8093 24.4768 20.4921 24.4163 20.1364 24.4163H18.8934V29.5698H20.1364C20.4921 29.5698 20.8093 29.5112 21.0879 29.3938C21.3666 29.2728 21.6013 29.1023 21.7919 28.8823C21.9863 28.6587 22.1348 28.3873 22.2374 28.0683C22.3401 27.7493 22.3914 27.39 22.3914 26.9903Z",fill:"#771D18"}),u.a.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}),C=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#FBDACC",fillRule:"evenodd"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),u.a.createElement("path",{d:"M11.2115 28.3213V30.9998H9.35254V22.9863H12.1795C12.7442 22.9863 13.2282 23.0542 13.6315 23.1898C14.0385 23.3218 14.3722 23.5052 14.6325 23.7398C14.8965 23.9745 15.0909 24.2513 15.2155 24.5703C15.3402 24.8893 15.4025 25.234 15.4025 25.6043C15.4025 26.004 15.3384 26.3707 15.21 26.7043C15.0817 27.038 14.8855 27.324 14.6215 27.5623C14.3575 27.8007 14.022 27.9877 13.615 28.1233C13.2117 28.2553 12.7332 28.3213 12.1795 28.3213H11.2115ZM11.2115 26.9188H12.1795C12.6635 26.9188 13.0119 26.8033 13.2245 26.5723C13.4372 26.3413 13.5435 26.0187 13.5435 25.6043C13.5435 25.421 13.516 25.2542 13.461 25.1038C13.406 24.9535 13.3217 24.8252 13.208 24.7188C13.098 24.6088 12.9569 24.5245 12.7845 24.4658C12.6159 24.4072 12.4142 24.3778 12.1795 24.3778H11.2115V26.9188Z",fill:"#7C2B0E"}),u.a.createElement("path",{d:"M19.2262 28.3213V30.9998H17.3672V22.9863H20.1942C20.7589 22.9863 21.2429 23.0542 21.6462 23.1898C22.0532 23.3218 22.3869 23.5052 22.6472 23.7398C22.9112 23.9745 23.1055 24.2513 23.2302 24.5703C23.3549 24.8893 23.4172 25.234 23.4172 25.6043C23.4172 26.004 23.353 26.3707 23.2247 26.7043C23.0964 27.038 22.9002 27.324 22.6362 27.5623C22.3722 27.8007 22.0367 27.9877 21.6297 28.1233C21.2264 28.2553 20.7479 28.3213 20.1942 28.3213H19.2262ZM19.2262 26.9188H20.1942C20.6782 26.9188 21.0265 26.8033 21.2392 26.5723C21.4519 26.3413 21.5582 26.0187 21.5582 25.6043C21.5582 25.421 21.5307 25.2542 21.4757 25.1038C21.4207 24.9535 21.3364 24.8252 21.2227 24.7188C21.1127 24.6088 20.9715 24.5245 20.7992 24.4658C20.6305 24.4072 20.4289 24.3778 20.1942 24.3778H19.2262V26.9188Z",fill:"#7C2B0E"}),u.a.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))},O=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#CFEAF8",fillRule:"evenodd"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),u.a.createElement("path",{d:"M11.6738 28.0355V31H9.81476V22.9865H12.4218C13.0011 22.9865 13.4943 23.047 13.9013 23.168C14.3119 23.2853 14.6456 23.4503 14.9023 23.663C15.1626 23.8757 15.3514 24.1268 15.4688 24.4165C15.5861 24.7062 15.6448 25.0215 15.6448 25.3625C15.6448 25.6228 15.6099 25.8685 15.5403 26.0995C15.4706 26.3305 15.3661 26.545 15.2268 26.743C15.0911 26.9373 14.9224 27.1115 14.7208 27.2655C14.5228 27.4195 14.2936 27.546 14.0333 27.645C14.1579 27.7073 14.2734 27.7843 14.3798 27.876C14.4898 27.9677 14.5851 28.0795 14.6658 28.2115L16.3708 31H14.6878C14.3761 31 14.1524 30.8827 14.0168 30.648L12.6858 28.3215C12.6271 28.2188 12.5574 28.1455 12.4768 28.1015C12.3998 28.0575 12.2898 28.0355 12.1468 28.0355H11.6738ZM11.6738 26.754H12.4218C12.6748 26.754 12.8893 26.7228 13.0653 26.6605C13.2449 26.5945 13.3916 26.5047 13.5053 26.391C13.6189 26.2773 13.7014 26.1453 13.7528 25.995C13.8041 25.841 13.8298 25.676 13.8298 25.5C13.8298 25.148 13.7143 24.873 13.4833 24.675C13.2559 24.477 12.9021 24.378 12.4218 24.378H11.6738V26.754Z",fill:"#144E6C"}),u.a.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),u.a.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))},A=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#D1E5D1",fillRule:"evenodd"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),u.a.createElement("path",{d:"M11.8861 26.8804L9.40564 22.9864H11.2646C11.3856 22.9864 11.4736 23.0029 11.5286 23.0359C11.5873 23.0653 11.6386 23.1166 11.6826 23.1899L13.2776 25.8904C13.296 25.8428 13.3161 25.7969 13.3381 25.7529C13.3638 25.7089 13.3913 25.6631 13.4206 25.6154L14.8176 23.2174C14.9093 23.0634 15.034 22.9864 15.1916 22.9864H16.9736L14.4601 26.7979L17.0286 30.9999H15.1696C15.0486 30.9999 14.9496 30.9706 14.8726 30.9119C14.7993 30.8533 14.7406 30.7836 14.6966 30.7029L13.0906 27.8979C13.0613 27.9786 13.0283 28.0483 12.9916 28.1069L11.4956 30.7029C11.4516 30.7799 11.393 30.8496 11.3196 30.9119C11.2463 30.9706 11.1546 30.9999 11.0446 30.9999H9.30664L11.8861 26.8804Z",fill:"#265026"}),u.a.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),u.a.createElement("path",{d:"M29.9128 24.6144C29.8578 24.7024 29.7991 24.7684 29.7368 24.8124C29.6781 24.8564 29.6011 24.8784 29.5058 24.8784C29.4215 24.8784 29.3298 24.8528 29.2308 24.8014C29.1355 24.7464 29.0255 24.6859 28.9008 24.6199C28.7798 24.5539 28.6405 24.4953 28.4828 24.4439C28.3251 24.3889 28.1455 24.3614 27.9438 24.3614C27.5955 24.3614 27.3351 24.4366 27.1628 24.5869C26.9941 24.7336 26.9098 24.9334 26.9098 25.1864C26.9098 25.3478 26.9611 25.4816 27.0638 25.5879C27.1665 25.6943 27.3003 25.7859 27.4653 25.8629C27.634 25.9399 27.8246 26.0114 28.0373 26.0774C28.2536 26.1398 28.4736 26.2113 28.6973 26.2919C28.921 26.3689 29.1391 26.4606 29.3518 26.5669C29.5681 26.6733 29.7588 26.8089 29.9238 26.9739C30.0925 27.1389 30.2281 27.3406 30.3308 27.5789C30.4335 27.8136 30.4848 28.0978 30.4848 28.4314C30.4848 28.8018 30.4206 29.1483 30.2923 29.4709C30.164 29.7936 29.977 30.0759 29.7313 30.3179C29.4893 30.5563 29.1886 30.7451 28.8293 30.8844C28.4736 31.0201 28.0685 31.0879 27.6138 31.0879C27.3645 31.0879 27.1096 31.0623 26.8493 31.0109C26.5926 30.9596 26.3433 30.8881 26.1013 30.7964C25.8593 30.7011 25.632 30.5893 25.4193 30.4609C25.2066 30.3326 25.0215 30.1896 24.8638 30.0319L25.4138 29.1629C25.4541 29.0969 25.511 29.0438 25.5843 29.0034C25.6576 28.9631 25.7365 28.9429 25.8208 28.9429C25.9308 28.9429 26.0408 28.9778 26.1508 29.0474C26.2645 29.1171 26.391 29.1941 26.5303 29.2784C26.6733 29.3628 26.8365 29.4398 27.0198 29.5094C27.2031 29.5791 27.4195 29.6139 27.6688 29.6139C28.0061 29.6139 28.2683 29.5406 28.4553 29.3939C28.6423 29.2436 28.7358 29.0071 28.7358 28.6844C28.7358 28.4974 28.6845 28.3453 28.5818 28.2279C28.4791 28.1106 28.3435 28.0134 28.1748 27.9364C28.0098 27.8594 27.821 27.7916 27.6083 27.7329C27.3956 27.6743 27.1775 27.6101 26.9538 27.5404C26.7301 27.4671 26.512 27.3791 26.2993 27.2764C26.0866 27.1701 25.896 27.0326 25.7273 26.8639C25.5623 26.6916 25.4285 26.4789 25.3258 26.2259C25.2231 25.9693 25.1718 25.6539 25.1718 25.2799C25.1718 24.9793 25.2323 24.6859 25.3533 24.3999C25.4743 24.1139 25.6521 23.8591 25.8868 23.6354C26.1215 23.4118 26.4093 23.2339 26.7503 23.1019C27.0913 22.9663 27.4818 22.8984 27.9218 22.8984C28.1675 22.8984 28.4058 22.9186 28.6368 22.9589C28.8715 22.9956 29.0933 23.0524 29.3023 23.1294C29.5113 23.2028 29.7056 23.2926 29.8853 23.3989C30.0686 23.5016 30.2318 23.6189 30.3748 23.7509L29.9128 24.6144Z",fill:"#265026"}))},j=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#CFEAF8"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),u.a.createElement("path",{d:"M16.8968 22.9863V23.6573C16.8968 23.7527 16.8802 23.8462 16.8472 23.9378C16.8179 24.0295 16.7757 24.1157 16.7207 24.1963L12.9587 29.5698H16.7758V30.9998H10.5938V30.2848C10.5938 30.2005 10.6084 30.118 10.6377 30.0373C10.6671 29.953 10.7074 29.876 10.7587 29.8063L14.5317 24.4163H10.9017V22.9863H16.8968Z",fill:"#124F6E"}),u.a.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),u.a.createElement("path",{d:"M25.1301 28.3213V30.9998H23.2711V22.9863H26.0981C26.6627 22.9863 27.1467 23.0542 27.5501 23.1898C27.9571 23.3218 28.2907 23.5052 28.5511 23.7398C28.8151 23.9745 29.0094 24.2513 29.1341 24.5703C29.2587 24.8893 29.3211 25.234 29.3211 25.6043C29.3211 26.004 29.2569 26.3707 29.1286 26.7043C29.0002 27.038 28.8041 27.324 28.5401 27.5623C28.2761 27.8007 27.9406 27.9877 27.5336 28.1233C27.1302 28.2553 26.6517 28.3213 26.0981 28.3213H25.1301ZM25.1301 26.9188H26.0981C26.5821 26.9188 26.9304 26.8033 27.1431 26.5723C27.3557 26.3413 27.4621 26.0187 27.4621 25.6043C27.4621 25.421 27.4346 25.2542 27.3796 25.1038C27.3246 24.9535 27.2402 24.8252 27.1266 24.7188C27.0166 24.6088 26.8754 24.5245 26.7031 24.4658C26.5344 24.4072 26.3327 24.3778 26.0981 24.3778H25.1301V26.9188Z",fill:"#124F6E"}))},N=n(1041),M=n(1042),P=(n(1043),n(1044),n(1045),n(1046),n(1047),n(1048),n(1049),n(1050),n(1051)),I=(n(1052),n(1053),n(1054),n(1055),n(1056),n(1057),n(1058),n(1059)),L=(n(1060),n(1061)),D=(n(1062),n(1063)),R=n(1064),F=(n(1065),n(1066),n(1067),n(1068)),B=(n(1069),n(1070),n(1071),n(1072),n(1073),n(4)),U=n.n(B),q=n(242),z=n.n(q),H=function(e){function t(){var e,n,r;Object(m.a)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=Object(g.a)(this,(e=Object(y.a)(t)).call.apply(e,U()(n=[this]).call(n,o)))).maskId="person-unknown-mask-".concat(z()()),r.pathId="person-unknown-path-".concat(z()()),r}return Object(b.a)(t,e),Object(v.a)(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=void 0===t?"Person Unknown":t,r=e.desc,i=e.width,o=void 0===i?"38":i,a=e.height,c=void 0===a?"38":a,l=e.className,d=e.decorative,f=e.focusable,h=void 0===f?"false":f;return u.a.createElement("svg",{"aria-hidden":d,viewBox:"0 0 38 38",width:o,height:c,className:s()("i i-person-unknown",l),focusable:h},n&&u.a.createElement("title",null,n),r&&u.a.createElement("desc",null,r),u.a.createElement("defs",null,u.a.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),u.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},u.a.createElement("mask",{id:this.maskId,fill:"#fff"},u.a.createElement("use",{href:"#".concat(this.pathId)})),u.a.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),u.a.createElement("path",{d:"M15.1239928,24 C12.6645753,22.6352711 11,20.0120267 11,17 C11,12.581722 14.581722,9 19,9 C23.418278,9 27,12.581722 27,17 C27,20.0120267 25.3354247,22.6352711 22.8760072,24 L23,24 C27.4182847,24 31,27.5817153 31,32 L31,43 C31,43.5522847 30.5522847,44 30,44 L8,44 C7.44771525,44 7,43.5522847 7,43 L7,32 C7,27.5817153 10.5817153,24 15,24 L15.1239928,24 Z",fill:"#ADAEAF",fillRule:"nonzero",mask:"url(#".concat(this.maskId,")")})))}}]),t}(c.Component),W=n(1074),V=(n(1075),n(1076),n(1077)),Y=(n(1078),n(1079),n(1080),n(487),n(1081),n(1082),n(1083),n(1084)),G=(n(1085),n(1086),n(1087),n(1088),n(1089),n(1090),n(1091),n(1092),n(1093),n(1094)),K=(n(1095),n(1096),n(1097),n(1098),n(1099),n(1100),n(1101),n(1102),n(1103)),$=(n(1104),n(1105),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,c=void 0===a?"20":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=void 0===f?"":f,p=e.width,m=void 0===p?"20":p;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:s()("i i-xMarkFilled",r),focusable:"false",height:c,role:d,viewBox:"0 0 20 20",width:m,xmlns:"http://www.w3.org/2000/svg"},h&&u.a.createElement("title",null,h),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{d:"M10 9.08L6.904 5.986a.65.65 0 1 0-.92.92L9.082 10l-3.096 3.096a.65.65 0 0 0 .92.92L10 10.918l3.096 3.096a.65.65 0 0 0 .92-.92L10.918 10l3.096-3.096a.65.65 0 1 0-.92-.92L10 9.082zM10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10z"}))});n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return o.a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return h.a}),n.d(t,"h",function(){return p.a}),n.d(t,"i",function(){return _.a}),n.d(t,"j",function(){return w.a}),n.d(t,"k",function(){return x.a}),n.d(t,"l",function(){return k}),n.d(t,"m",function(){return E}),n.d(t,"n",function(){return S}),n.d(t,"o",function(){return T}),n.d(t,"p",function(){return C}),n.d(t,"q",function(){return O}),n.d(t,"r",function(){return A}),n.d(t,"s",function(){return j}),n.d(t,"t",function(){return N.a}),n.d(t,"u",function(){return M.a}),n.d(t,"v",function(){return P.a}),n.d(t,"w",function(){return I.a}),n.d(t,"x",function(){return L.a}),n.d(t,"y",function(){return D.a}),n.d(t,"z",function(){return R.a}),n.d(t,"A",function(){return F.a}),n.d(t,"B",function(){return H}),n.d(t,"C",function(){return W.a}),n.d(t,"D",function(){return V.a}),n.d(t,"E",function(){return Y.a}),n.d(t,"F",function(){return G.a}),n.d(t,"G",function(){return K.a}),n.d(t,"H",function(){return $})},function(e,t,n){var r=n(20),i=n(1563);e.exports=r(function(e,t){return i(e,t,[],[])})},function(e,t,n){var r=n(61),i=n(187);e.exports=r(function(e,t,n){return null!=n&&i(t,n)?n[t]:e})},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(111),a=n(17),s=(n(2072),function(e){var t=e.allowTabNavigation,n=e.className,s=void 0===n?"":n,c=e.id,u=e.tagName,l=e.value,d=Object(r.useRef)(null);return Object(r.useEffect)(function(){return Object(a.k)({element:d.current,selector:"div.fr-view a",tabIndex:Object(a.m)(t)})}),i.a.createElement("div",{"aria-hidden":!t,className:"".concat(s," brand--linkColor"),id:c,ref:d},Object(r.createElement)(u,{className:"fr-view",dangerouslySetInnerHTML:{__html:Object(o.a)(l)}}))});s.defaultProps={allowTabNavigation:!0,tagName:"div"},t.a=s},function(e,t,n){"use strict";var r,i,o,a=n(247),s=n.n(a),c=n(132),u=n.n(c),l=n(28),d=n.n(l),f=n(13),h=n.n(f),p=n(47),m=n.n(p),v=n(243),g=n.n(v),y=n(111),b=n(15),_=n(7),w=n.n(_),x=n(89),k=n.n(x),E=n(44),S=n.n(E),T=n(208),C=n.n(T),O=n(32),A=n.n(O),j=n(116),N=n.n(j),M=n(297),P=n.n(M),I=n(238),L=n.n(I),D=n(14),R=n.n(D),F=n(69),B=n.n(F),U=function(e){return w()(y.d,e)},q=function(e,t,n){return(e[t]||e.MULTIPLE_CHOICE)(n)},z=function(e){var t=e.startTime;return e.stopTime-t},H=function(e){return q({FILL_IN_THE_BLANK:J,MATCHING:ae,MULTIPLE_CHOICE:G,MULTIPLE_RESPONSE:G},X(e),e)},W=function(e){return q({FILL_IN_THE_BLANK:J,MATCHING:ae,MULTIPLE_CHOICE:ee,MULTIPLE_RESPONSE:ne},X(e),e)},V=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:U(h()("text")),MATCHING:se(t),MULTIPLE_CHOICE:te(t),MULTIPLE_RESPONSE:re(t)};return q(r,X(t),n)},Y=function(e){return[e]},G=w()(A()((r="title",k()(Object(b.a)({},r,y.d)))),h()("answers")),K=U(h()("id")),$=U(h()("title")),X=h()("type"),Q=function(e){return function(t){return S()(R()("id",t),G(e))}},Z=function(e){return m()(P.a)(G(e))},J=w()(L()("title"),G),ee=function(e){return w()(Q(e),h()("correct"))(e)},te=function(e){return w()(Y,Z(e),h()("selectedIndex"))},ne=function(e){return w()(C.a,A()(Q(e)),h()("corrects"))(e)},re=function(e){return w()(C.a,A()(Z(e)),h()("selectedIndices"))},ie=function(e){var t=e.sourceId,n=e.sourceTitle,r=e.targetId,i=e.targetTitle;return{source:{id:"source_".concat(t),title:n},target:{id:"target_".concat(r),title:i}}},oe=U(h()("matchTitle")),ae=w()(A()(function(e){var t=K(e);return ie({sourceId:t,sourceTitle:$(e),targetId:t,targetTitle:oe(e)})}),G),se=function(e){return w()(B.a,N()(function(e){return function(t,n){var r=Z(e)(n),i=Z(e)(t);return ie({sourceId:K(r),sourceTitle:$(r),targetId:K(i),targetTitle:oe(i)})}}(e)),h()("matches"))},ce=n(152),ue=n.n(ce),le=n(1187),de=n.n(le),fe=n(205),he=n.n(fe),pe=n(135),me=n.n(pe),ve=n(62),ge=n(91),ye=n(4),be=n.n(ye),_e=n(489),we=n(30),xe=n.n(we),ke="p",Ee="i",Se=n(57),Te=n(270),Ce=n(1192),Oe=n(42),Ae=n.n(Oe)()(function(e){return void 0!==e},w()(JSON.parse,Ce.Base64.decode)),je=function(e,t){return window.courseData?e(window.courseData):window.course?{course:e(window.course),media:[]}:t},Ne=n(390),Me=n.n(Ne),Pe=n(18),Ie=n.n(Pe),Le=n(48),De=n.n(Le),Re=n(21),Fe=n(339),Be=Object(Re.c)("RBC_URI"),Ue="".concat(Be,"/api/partner_content"),qe=("".concat(Ue,"/types"),De()("".concat(Ue,"/")),{transformRequest:[function(e,t){return t.Authorization="Bearer ".concat(Object(Fe.a)()),e}],headers:{"Content-Type":"application/json"}}),ze=n(26),He=n.n(ze),We=n(70),Ve=n.n(We),Ye=n(56),Ge=n.n(Ye),Ke=n(60),$e=n.n(Ke),Xe=n(29),Qe=n.n(Xe),Ze=n(82),Je=n.n(Ze),et=n(131),tt=n.n(et),nt=n(90),rt=n.n(nt),it=n(271),ot=n.n(it),at=n(84),st=n.n(at),ct=n(36),ut=n.n(ct),lt=n(263),dt=n.n(lt),ft=n(92),ht=n.n(ft),pt=function(e){return!!e},mt=(i={},Object(b.a)(i,"a",["activeIndex",Ge.a]),Object(b.a)(i,"vp",["audioVideoPlayhead",Number]),Object(b.a)(i,"c",["isComplete",pt]),Object(b.a)(i,"n",["correctlyAnswered",Ge.a]),Object(b.a)(i,ke,["percentComplete",Ge.a]),Object(b.a)(i,"r",["retryAttempts",Ge.a]),Object(b.a)(i,"s",["score",Ge.a]),Object(b.a)(i,"t",["currentTime",Ge.a]),Object(b.a)(i,"v",["percentViewed",Ge.a]),Object(b.a)(i,"rr",["reportResults",Ge.a]),Object(b.a)(i,"pq",["passed",Ge.a]),Object(b.a)(i,"ps",["passingScore",Ge.a]),i),vt=function(e){return function(t){var n=e[t.index];return ht()(function(){return Qe()(n)},function(){return w()(xe()(t),ot.a,B.a,N()(function(e){return function(t,n){var r=tt()(bt[n])(t);return n===Ee&&(r=r(h()("items",e))),Object(b.a)({},Ve()(bt[n]),r)}}(t)))(n)})(t)}},gt=function(e){return A()(vt(e))},yt=function(e){return function(t){var n=h()(Ee,e),r=h()("items",t);return w()(xe()(t),ht()(function(){return $e()(n)},dt()(rt()("items"),gt(n)(r))),ot.a,B.a,N()(function(e){return function(t,n){return He()([Ve()(mt[n])],tt()(mt[n])(t),e)}}(t)))(st()(Je()(mt),e))}};var bt=(o={},Object(b.a)(o,"vp",["audioVideoPlayhead",Number]),Object(b.a)(o,"n",["correctlyAnswered",Ge.a]),Object(b.a)(o,"c",["isComplete",pt]),Object(b.a)(o,"k",["isCorrect",pt]),Object(b.a)(o,"v",["isViewed",pt]),Object(b.a)(o,Ee,["items",gt]),Object(b.a)(o,"pv",["percentViewed",Ge.a]),Object(b.a)(o,"m",["matches",Ge.a]),Object(b.a)(o,"s",["selectedIndex",Ge.a]),Object(b.a)(o,"x",["selectedIndices",Ge.a]),Object(b.a)(o,"t",["text",Ge.a]),o),_t=n(149),wt=n.n(_t),xt=n(125),kt=n.n(xt),Et={activeIndex:["a",Ge.a],audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Ge.a],currentTime:["t",Ge.a],isComplete:["c",Number],passingScore:["ps",Ge.a],percentComplete:[ke,Ge.a],percentViewed:["v",Ge.a],retryAttempts:["r",Ge.a],score:["s",Ge.a],reportResults:["rr",Ge.a],passed:["pq",Ge.a]},St=function(e,t){return Object(b.a)({},Ve()(At[t]),tt()(At[t])(e))},Tt=w()(ot.a,B.a,A()(function(e){return w()(ht()($e.a,wt()(h()("index",e))),ot.a,B.a,N()(St))(kt()($e.a,st()(Je()(At),e)))})),Ct=function(e,t){return Object(b.a)({},Ve()(Et[t]),tt()(Et[t])(e))};var Ot=w()(wt()(ke),ut()(0,"percentComplete")),At={audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Ge.a],isComplete:["c",Number],isCorrect:["k",Number],isViewed:["v",Number],items:[Ee,Tt],matches:["m",Ge.a],percentViewed:["pv",Ge.a],selectedIndex:["s",Ge.a],selectedIndices:["x",A()(Number)],text:["t",Ge.a]},jt=function(e){return(window.env||{})[e]},Nt={fetch:function(){if(It.isExport||window.courseData||window.course)return je(Ae,{});var e,t,n;return Object(_e.a)({method:"GET",url:window.shareId?be()(e="".concat(jt("RISE_RUNTIME_URI"),"/boot/share/")).call(e,window.shareId):window.contentId?be()(t="".concat(jt("RISE_RUNTIME_URI"),"/boot/businessContent/")).call(t,window.contentId):be()(n="".concat(jt("RISE_RUNTIME_URI"),"/boot/")).call(n,window.courseId),json:!0,withCredentials:!0}).then(h()("body")).then(Ae)},fetchPartnerContent:function(e){return It.isExport||window.partnerContent?g.a.of(window.partnerContent.content):function(e){var t;return Ie()(t=Object(Fe.b)(Object(ve.a)({method:"POST",url:Ue,data:Me()({ids:e})},qe))).call(t,d()(["data","content"]))}(e)},getEnv:jt,isPasswordProtected:function(){return!!window.shareId&&!!window.hasPassword},isShare:function(){return!!window.shareId},resolvePath:function(e){var t;return be()(t="".concat(jt("CDN_USER_CONTENT_URI"),"/")).call(t,e)},verifySharePassword:function(e){return Object(_e.a)({method:"POST",url:"".concat(jt("RISE_RUNTIME_URI"),"/password"),data:{shareId:window.shareId,password:e},json:!0}).then(h()("body"))}},Mt=function(e,t){return e+((t||{}).c||0)},Pt=function(e,t){return function(n,r){var i=r.id,o=r.type,a=Object(ge.a)(r,["id","type"]);return t.lessons[i]?xe()(n,e(function(e,t){var n=t.id,r=t.type,i=Object(ge.a)(t,["id","type"]);return"quiz"===r?Object(Te.a)(e,Object(ve.a)({id:n},i)):Object(Se.c)(e,{id:n,type:r})}(t,Object(ve.a)({id:i,type:o},a)).lessons[i])):n}};window.Rise=ue()(window.Rise||{},{completeLessons:function(e,t,n){var r,i=me()(t).call(t,Pt(e,n),{}),o=he()(n.lessons||{}).length,a=me()(r=de()(i)).call(r,Mt,0);return{lessons:i,p:Math.round(a/o*100)}},decodeCourseProgress:function(e,t){var n=h()("lessons",t);return ht()(function(){return $e()(n)},w()(He()("percentComplete",ut()(0,ke,t)),k()({lessons:A()(function(e){var t=h()(e.index,n);return ht()(function(){return Qe()(t)},yt(t))(e)})})))(e)},encodeCourseProgress:Ot,encodeLessonProgress:function(e){var t=h()("items",e),n=h()("index",e);return w()(wt()(n),ht()(function(){return $e()(t)},dt()(rt()(Ee),Tt(t))),ot.a,B.a,N()(Ct))(st()(Je()(Et),e))}});var It=xe()(Nt,window.Runtime||{}),Lt=It;n.d(t,"g",function(){return Rt}),n.d(t,"n",function(){return Ft}),n.d(t,"b",function(){return Bt}),n.d(t,"c",function(){return Ut}),n.d(t,"a",function(){return qt}),n.d(t,"h",function(){return zt}),n.d(t,"r",function(){return Ht}),n.d(t,"s",function(){return Wt}),n.d(t,"q",function(){return Vt}),n.d(t,"d",function(){return Yt}),n.d(t,"e",function(){return Gt}),n.d(t,"f",function(){return Kt}),n.d(t,"i",function(){return $t}),n.d(t,"j",function(){return Xt}),n.d(t,"k",function(){return Qt}),n.d(t,"m",function(){return Zt}),n.d(t,"l",function(){return Jt}),n.d(t,"p",function(){return en}),n.d(t,"u",function(){return tn}),n.d(t,"o",function(){return nn}),n.d(t,"t",function(){return rn});m()(h.a)(window.env||{});var Dt=function(e){return Lt&&Lt[e]};function Rt(e){return Dt("getMasteryScore")?Lt.getMasteryScore(e):e.passingScore}function Ft(e){if(Dt("onCreateHistory"))return Lt.onCreateHistory(e)}function Bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Dt("fetch")?u.a.resolve(Lt.fetch()):u.a.resolve(e)}function Ut(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Dt("fetchPartnerContent")?Lt.fetchPartnerContent(e):g.a.of({content:[]})}function qt(e){if(Dt("bookmark"))return Lt.bookmark(e)}function zt(e){return Dt("getProgress")?Lt.getProgress(e):e}function Ht(e){return Dt("setLessonComplete")?Lt.setLessonComplete(e):e}function Wt(e){return Dt("setLessonProgress")?Lt.setLessonProgress(e):e}function Vt(e,t){return Dt("setCourseProgress")?Lt.setCourseProgress(e,t):e}function Yt(e){if(Dt("finish"))return Lt.finish(e)}function Gt(e,t,n,r){Dt("finishQuiz")&&Lt.finishQuiz(e,t,n,r)}function Kt(e,t,n,r){Dt("finishStoryline")&&Lt.finishStoryline(e,t,n,r)}function $t(){return Dt("isComplete")?Lt.isComplete():null}function Xt(){return!!Dt("isExport")&&Lt.isExport()}function Qt(){if(Dt("isExport")){var e=d()(["partnerContent","content"],window);return Lt.isExport()&&e}return!1}function Zt(){return!!Dt("isShare")&&Lt.isShare()}function Jt(){return!!Dt("isPasswordProtected")&&Lt.isPasswordProtected()}function en(e){var t=e||"";return Dt("resolvePath")?s()(t).call(t,"http")||s()(t).call(t,"data:")||s()(t).call(t,"//")?t:Lt.resolvePath(t):s()(t).call(t,"data:")||s()(t).call(t,"http")||s()(t).call(t,"//")?t:"/".concat(t)}function tn(e){return Dt("verifySharePassword")?Lt.verifySharePassword(e):u.a.resolve({isValid:!0})}function nn(e){if(Dt("reportAnswer")){var t=e.id,n=e.isCorrect,r=e.item,i=e.itemProgress,o=e.duration,a=e.retryAttempts,s=e.title,c=r.id,u=r.title,l=r.type;return Lt.reportAnswer({id:t,type:l,isCorrect:n,itemId:c,questionTitle:Object(y.d)(u),quizTitle:Object(y.d)(s),retryAttempts:a,answers:H(r),correctResponse:W(r),response:V({item:r,itemProgress:i}),latency:z(o)})}return!1}function rn(e){if(Dt("startLesson"))return Lt.startLesson(e)}},function(e,t,n){var r=n(254),i=n(50),o=n(32),a=n(325),s=n(115);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}})})},function(e,t,n){"use strict";var r=n(134),i=n(349).f,o=n(854),a=n(101),s=n(174),c=n(233),u=n(173),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,f,h,p,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,k=b?a:a[y]||(a[y]={}),E=k.prototype;for(f in t)n=!o(b?f:y+(_?".":"#")+f,e.forced)&&x&&u(x,f),p=k[f],n&&(m=e.noTargetGet?(g=i(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof p==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||p&&p.sham)&&c(v,"sham",!0),k[f]=v,w&&(u(a,d=y+"Prototype")||c(a,d,{}),a[d][f]=h,e.real&&E&&!E[f]&&c(E,f,h)))}},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(n)?t(n):n})},function(e,t,n){"use strict";var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=n(385),u=function(e){function t(){return Object(r.a)(this,t),Object(o.a)(this,Object(a.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(i.a)(t,[{key:"pause",value:function(){this.isPlaying=!1}},{key:"mute",value:function(){this.isMuted=!1}},{key:"addChangeListener",value:function(e){this.on("change",e)}},{key:"removeChangeListener",value:function(e){this.removeListener("change",e)}},{key:"isPlaying",get:function(){return this._isPlaying},set:function(e){this._isPlaying=e,this.emit("change")}},{key:"playerId",set:function(e){this._playerId=e},get:function(){return this._playerId}},{key:"isMuted",get:function(){return this._isMuted},set:function(e){this._isMuted=e,this.emit("change")}}]),t}(c.EventEmitter);t.a=new u},function(e,t,n){var r=n(20),i=n(148),o=n(712),a=n(713),s=n(219),c=n(1658),u=n(82);e.exports=r(i(["filter"],c,function(e,t){return a(t)?s(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},u(t)):o(e,t)}))},function(e,t,n){var r=n(50),i=n(919);e.exports=r(function(e){return null!=e&&i(e.length)?e.length:NaN})},function(e,t,n){"use strict";var r=n(601),i=n(264),o=n.n(i);var a=n(602);function s(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,c=o()(e);!(r=(s=c.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||Object(a.a)()}n.d(t,"a",function(){return s})},function(e,t,n){var r=n(50),i=n(79);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)})})},function(e,t,n){var r=n(20),i=n(321),o=n(547),a=n(454),s=n(459);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"')})},function(e,t,n){var r,i=n(61);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}))},function(e,t,n){var r=n(533);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){var r=n(20),i=n(148),o=n(1813);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}}))},function(e,t,n){"use strict";n.d(t,"c",function(){return y}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return _}),n.d(t,"f",function(){return w}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return k});var r=n(4),i=n.n(r),o=n(140),a=n.n(o),s=n(272),c=n.n(s),u=n(21),l=Object(u.c)("CDN_USER_CONTENT_URI"),d=Object(u.c)("CDN_URI"),f=a()("useCrushedKey"),h=Object(u.c)("IMAGES_URI"),p=c()(/-stock[-_]image.jpg/),m=Object(u.c)("RBC_IMAGES_URI"),v=Object(u.c)("ASSETS_URI"),g=function(e){var t=e.crushedKey,n=e.key,r=e.useCrushedKey,i=e.src;return f(e)?r&&t?Object(u.g)(t):Object(u.g)(n):Object(u.g)(i)},y=function(e){var t,n;if(!e||!e.key)return"";var r=e.crushedKey,o=e.key,a=e.useCrushedKey;return h?f(e)&&a&&r?i()(t="".concat(h,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):i()(n="".concat(h,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(n,o):g(e)},b=function(e){var t;if(!e||!e.key)return"";var n,r,o,a=e.crushedKey,s=e.key,c=e.useCrushedKey;return h?p(s)?i()(n="".concat(h,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,s):f(e)?c&&a?i()(r="".concat(l,"/")).call(r,a):i()(o="".concat(l,"/")).call(o,s):i()(t="".concat(h,"/f:jpg|png,a:retain,b:fff/")).call(t,s):g(e)},_=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",o=e.key,a=e.src,s=e.thumbnail,c=e.thumbnailKey,u=l?i()(t="".concat(l,"/")).call(t,o):g({key:o,src:a}),d=l?i()(n="".concat(l,"/")).call(n,c):g({key:c,src:s});return"src"===r?u:d},w=function(e){var t=e.height,n=e.imageKey,r=e.width;if(m){var o,a,s,c=encodeURIComponent(n);return i()(o=i()(a=i()(s="".concat(m,"/b:fff,f:jpg,s:cover,w:")).call(s,r,",h:")).call(a,t,"/")).call(o,c)}return Object(u.g)("partnerContent/".concat(n))},x=function(){var e,t=v||h,n="NBIC_logo_light_bulb.png";return t?i()(e="".concat(t,"/f:png,a:retain,s:cover,w:276,h:160/assets/rise/assets/partner-content/")).call(e,n):Object(u.g)("partnerContent/".concat(n))},k=function(){var e,t="NBIC_logo_blue.svg";return d?i()(e="".concat(d,"/assets/rise/assets/partner-content/")).call(e,t):Object(u.g)("partnerContent/".concat(t))}},function(e,t,n){e.exports=n(1766)},function(e,t,n){var r=n(254),i=n(50),o=n(20),a=n(534);e.exports=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))})},function(e,t,n){"use strict";(function(e){var r=n(221),i=n.n(r),o=(n(2073),n(1207)),a=n.n(o),s=function(t){var n=t.afterAnimatedIn,r=t.animateBlockEntrance,o=t.animateIn,s=t.animateOnce,c=t.children,u=t.className,l=t.duration,d=t.keepStructure,f=t.initiallyVisible,h=t.isLearner,p=t.offset,m=t.siblingDelay;return h&&r?e.createElement(a.a,{afterAnimatedIn:n,animateIn:o,animateOnce:s,className:u,duration:l,initiallyVisible:f,keepStructure:d,offset:p,scrollableParentSelector:"#page-wrap",siblingDelay:m},c):i()(c)?e.createElement("div",null,c):c};s.defaultProps={animateOnce:!0,duration:.75,offset:200,siblingDelay:0},t.a=s}).call(this,n(0))},function(e,t,n){var r=n(50),i=n(699);e.exports=r(i)},function(e,t,n){"use strict";n.d(t,"c",function(){return Qe}),n.d(t,"b",function(){return Je}),n.d(t,"e",function(){return et}),n.d(t,"a",function(){return tt}),n.d(t,"g",function(){return nt}),n.d(t,"h",function(){return rt}),n.d(t,"f",function(){return dt});var r,i=n(205),o=n.n(i),a=n(62),s=n(91),c=n(15),u=n(177),l=n.n(u),d=n(16),f=n.n(d),h=n(26),p=n.n(h),m=n(244),v=n.n(m),g=n(7),y=n.n(g),b=n(48),_=n.n(b),w=n(588),x=n.n(w),k=n(54),E=n.n(k),S=n(222),T=n.n(S),C=n(300),O=n.n(C),A=n(112),j=n.n(A),N=n(44),M=n.n(N),P=n(226),I=n.n(P),L=n(29),D=n.n(L),R=n(491),F=n.n(R),B=n(82),U=n.n(B),q=n(45),z=n.n(q),H=n(77),W=n.n(H),V=n(90),Y=n.n(V),G=n(30),K=n.n(G),$=n(262),X=n.n($),Q=n(149),Z=n.n(Q),J=n(49),ee=n.n(J),te=n(160),ne=n.n(te),re=n(28),ie=n.n(re),oe=n(84),ae=n.n(oe),se=n(24),ce=n.n(se),ue=n(13),le=n.n(ue),de=n(14),fe=n.n(de),he=n(115),pe=n.n(he),me=n(263),ve=n.n(me),ge=n(391),ye=n.n(ge),be=n(121),_e=n.n(be),we=n(69),xe=n.n(we),ke=n(92),Ee=n.n(ke),Se=n(42),Te=n.n(Se),Ce=n(67),Oe=n(306),Ae=n(493),je=n(494),Ne=n(368),Me=n(415),Pe=n(420),Ie=n(495),Le=n(39),De=l()(pe.a),Re=_()("rise/course/"),Fe=Re("BOOKMARK_LESSON"),Be=Re("COMPLETE_LESSON_PROGRESS"),Ue=Re("RESET_LESSON_PROGRESS"),qe=Re("UPDATE_LESSON_PROGRESS"),ze=Re("UPDATE_PLAYHEAD_PERCENTAGE"),He=function(e){return function(t,n){var r=n.id;switch(n.type){case"blocks":return e(t,{id:r,updateFn:Oe.a});case"embed":return e(t,{id:r,updateFn:Ae.a});case"map":return e(t,{id:r,updateFn:je.b});case"process":return e(t,{id:r,updateFn:Ne.a});case"sorting":return e(t,{id:r,updateFn:Me.a});case"timeline":return e(t,{id:r,updateFn:Pe.b});case"video":return e(t,{id:r,updateFn:Ie.a});default:return t}}},We=function(e){return y()(Le.s,ie()(["lessons",e]))},Ve=ee()(Y()("passingScore"),Ee()(F.a,f()(0))),Ye=y()(Ve,ae()(["id","passed","score","passingScore"])),Ge=function(e){return y()(Le.r,Ye)(e)},Ke=function(e){var t=e.id,n=e.updateFn;return ee()(W()(["lessons",t]),y()(p()("id",t),n))},$e=function(e,t){var n=t.id,r=t.type,i=t.updateFn;return ce()(Xe({id:n,type:r,updateFn:i}),_e()(y()(Le.d,le()("percentComplete"))))(e)},Xe=function(e){var t=e.id,n=e.type,r=e.updateFn;return function(e){return ce()(Ke({id:t,updateFn:r}),Te()(function(e,t){var n=e.id,r=e.type;return j()(ut(n,t),function(e){return function(t){var n=t.lessons,r=t.currentLesson;return"quiz"===e&&100===n[r].percentComplete}}(r))}({id:t,type:n},e),mt),_e()(We(t)),_e()(function(e){return y()(Te()(fe()("percentComplete",100),Ge),ie()(["lessons",e]))}(t)))(e)}},Qe=He(I()(Ke)),Ze=He($e);t.d=Object(Ce.c)({lessons:{},percentComplete:0},(r={},Object(c.a)(r,Fe,function(e,t){return y()(_e()(ne()(Le.a,[t])),p()("currentLesson",t))(e)}),Object(c.a)(r,Be,Ze),Object(c.a)(r,"rise/course/LOAD_COURSE",function(e,t){return K()(e,Object(Le.h)(it(t)))}),Object(c.a)(r,Ue,function(e,t){var n=t.id;switch(t.type){case"blocks":return $e(e,{id:n,updateFn:Oe.c});case"embed":return $e(e,{id:n,updateFn:Ae.b});case"map":return $e(e,{id:n,updateFn:je.c});case"process":return $e(e,{id:n,updateFn:Ne.c});case"sorting":return $e(e,{id:n,updateFn:Me.c});case"timeline":return $e(e,{id:n,updateFn:Pe.c});case"video":return $e(e,{id:n,updateFn:Ie.b});default:return e}}),Object(c.a)(r,qe,$e),Object(c.a)(r,ze,function(e,t){var n=t.id,r=t.updateFn;return ce()(Ke({id:n,updateFn:r}),_e()(We(n)))(e)}),r));var Je=Object(Ce.a)(Be),et=Object(Ce.a)(Ue),tt=Object(Ce.a)(Fe),nt=Object(Ce.a)(qe),rt=Object(Ce.a)(ze),it=ce()(ae()(["course"]),function(e){return ce()(ie()(["course","lessons"]),De(st,{}),Z()("lessons"),K()(e))(e)},T()("course")),ot=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return Te()(function(e){var t=e.type,n=e.passingScore;return function(){return"quiz"===t&&!D()(n)}}({type:n,passingScore:r}),ee()(W()([t]),v()({passingScore:r})))},at=function(e){var t=e.id,n=e.index,r=e.items,i=e.settings,o=void 0===i?{}:i,a=e.type;return ce()(p()(t,{index:n,id:t}),ot({id:t,type:a,settings:o}),Ee()(function(e){return function(){return D()(e)}}(r),function(e){var t=e.id,n=e.items;return function(e){return ve()(W()([t,"items"]),De(st,{},n),e)}}({id:t,items:r})))},st=function(e,t,n){var r=t.type,i=Object(s.a)(t,["type"]);return Ee()(function(e){return function(){return"section"===e}}(r),at(Object(a.a)({index:n,type:r},i)))(e)},ct=E()(3,function(e,t,n){return e(t)!==e(n)}),ut=function(e,t){return ct(ie()(["lessons",e,"isComplete"]),t)},lt=function(e){var t=e.key,n=e.percent;return function(e){return p()(n,ce()(le()("items"),xe.a,M()(fe()(t,!0)),z.a,I()(O.a)(y()(z.a,U.a,le()("items"))(e)),X()(100),Math.round)(e),e)}},dt=lt({key:"isComplete",percent:"percentComplete"}),ft=(lt({key:"isViewed",percent:"percentViewed"}),x()(le.a,[le()("currentLesson"),le()("lessons")])),ht=y()(Ye,ft),pt=function(e){return ye()(Le.q,ht,e)},mt=function(e){return ce()(ve()(Y()("percentComplete"),vt(e)),_e()(pt))(e)},vt=function(e){var t=e.lessons;return Math.round(z()(o()(M()(le()("isComplete"),t)))/z()(o()(t))*100)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r={learn:{course:{container:"learn.course",overview:{container:"learn.course.overview",startButton:"learn.course.overview.startButton",favoriteButton:"learn.course.overview.favoritebutton"},lesson:{container:"learn.course.lesson",nextLessonLink:"learn.course.lesson.nextLessonLink"}}}},i={common:{checkboxSelect:"common.checkboxSelect",dropdownClose:"common.dropdownClose",continueBtn:"common.continueBtn"},courseEdit:{container:"courseEdit",addNewLessonInput:"courseEdit.addNewLessonInput",addContentBtn:"courseEdit.addContentBtn",addLesson:"courseEdit.addLesson"},lessonEdit:{container:"lessonEdit.container",blockCreateBtn:"lessonEdit.blockCreateBtn",allBlocksBtn:"lessonEdit.allBlocksBtn",block:"lessonEdit.block",blocksSidebar:{container:"lessonEdit.blocksSidebar",blockName:"lessonEdit.blocksSidebar.blockName",closeBtn:"lessonEdit.blocksSidebar.closeBtn",blockThumbnails:{container:"lessonEdit.blocksSidebar.blockThumbnails",thumbnail:"lessonEdit.blocksSidebar.blockThumbnails.thumbnail"}}},lessonPreview:{container:"lessonPreview.container",previewIframe:"lessonPreview.previewIframe"},blocks:{blockText:"blocks.blockText",blockImpact:"blocks.blockImpact",blockQuote:"blocks.blockQuote",blockKnowledge:"blocks.blockKnowledge",blockChart:"blocks.blockChart",blockList:"blocks.blockList",blockImage:"blocks.blockImage",blockGallery:"blocks.blockGallery",blockAudio:"blocks.blockAudio",blockVideo:"blocks.blockVideo",blockEmbed:"blocks.blockEmbed",blockAttachment:"blocks.blockAttachment",blockAccordion:"blocks.blockAccordion",blockTabs:"blocks.blockTabs",blockLabeledGraphic:"blocks.blockLabeledGraphic",blockProcess:"blocks.blockProcess",blockScenario:"blocks.blockScenario",blockSortingActivity:"blocks.blockSortingActivity",blockTimeline:"blocks.blockTimeline",blockFlashcards:"blocks.blockFlashcards",blockButton:"blocks.blockButton",blockDivider:"blocks.blockDivider"},authoringHeader:{container:"authoringHeader",previewLessonButton:"authoringHeader.previewLessonButton",publishButton:"authoringHeader.publishButton",editBtn:"authoringHeader.editBtn",publishModal:{container:"authoringHeader.publishModal",publishButton:"authoringHeader.publishModal.publishButton",libraryToggle:"authoringHeader.publishModal.libraryToggle",libraryOption:"authoringHeader.publishModal.libraryOption"}}}},function(e,t,n){var r=n(50),i=n(922),o=n(35);e.exports=r(function(e){return null!=e&&o(e,i(e))})},function(e,t,n){var r=n(50),i=n(20),o=n(533);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)}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(157),i=n.n(r),o=n(473),a=n.n(o),s=n(158),c=n.n(s),u=n(4),l=n.n(u),d=n(412),f=n.n(d),h=n(205),p=n.n(h),m=n(15);function v(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{},o=p()(r);if("function"==typeof f.a)o=l()(o).call(o,c()(n=f()(r)).call(n,function(e){return a()(r,e).enumerable}));i()(o).call(o,function(t){Object(m.a)(e,t,r[t])})}return e}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(9),i=n(6),o=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,null,[{key:"isChrome",get:function(){return!(!window||!window.navigator)&&(/Chrome/.test(window.navigator.userAgent)&&/Google Inc/.test(window.navigator.vendor))}},{key:"isSafari",get:function(){return!(!window||!window.navigator)&&(/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor)&&!/CriOS/.test(window.navigator.userAgent))}},{key:"isIphoneSafari",get:function(){if(!window||!window.navigator)return!1;var e=/iPhone|iPod/.test(window.navigator.userAgent)&&!window.MSStream,t=/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor),n=/CriOS/.test(window.navigator.userAgent);return e&&t&&!n}},{key:"isSafari9",get:function(){if(!window||!window.navigator)return!1;var e=/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor),t=/version\/9./i.test(window.navigator.userAgent);return e&&t}},{key:"isSafariVersion13OrLower",get:function(){var t=e.isSafari,n=t?window.navigator.userAgent.match(/(?=version\/)(.+?)(?=\.)/i)[0].replace(/version\//i,""):0;return t&&n<14}},{key:"isIe11",get:function(){return!(!window||!Object.hasOwnProperty.call(window,"ActiveXObject")||window.ActiveXObject)}},{key:"isEdge",get:function(){return!(!window||!window.navigator)&&/Edge/.test(window.navigator.userAgent)}},{key:"isMobile",get:function(){return!(!window||!window.navigator)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},{key:"isLocalFilesystem",get:function(){return!(!window||!window.navigator)&&/file:/.test(window.location.protocol)}}]),e}()},function(e,t,n){"use strict";var r=s(n(2036)),i=s(n(2040)),o=s(n(982)),a=s(n(979));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},function(e,t){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new RegExp(/^#([a-f0-9]{6}|[a-f0-9]{3})$/,"i"),i=function(e,t){return r.test(t)?t:e}},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return p});var r=n(18),i=n.n(r),o=n(16),a=n.n(o),s=n(54),c=n.n(s),u=n(1190),l=n.n(u),d=c()(2,function(e,t){return{type:e,payload:t}}),f=(c()(2,function(e,t){return[t,e]}),c()(2,function(e,t){return{type:e,payload:t,error:!0}}),function(e){var t=e.dispatch;return function(e){return function(n){"function"!=typeof i()(n)?e(n):i()(n).call(n,t)}}}),h=c()(2,function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,i=r.type,o=r.payload,a=r.error;return t[i]?t[i](n,o,a):n}}),p=function(e){var t;return i()(t=l()(e)).call(t,a()({type:"SIDE_EFFECT"}))};a()(p(function(){return location.href="/"}))},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};
/*!
 * Programatically add the following
 */
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]},function(e,t,n){var r=n(50),i=n(82);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})},function(e,t,n){var r=n(297);e.exports=r(0)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(16);e.exports=r(!0)},function(e,t,n){var r=n(352),i=n(20);e.exports=i(function(e,t){var n={};for(var i in t)r(i,e)||(n[i]=t[i]);return n})},function(e,t,n){"use strict";n.d(t,"b",function(){return ve}),n.d(t,"f",function(){return ge}),n.d(t,"i",function(){return ye}),n.d(t,"j",function(){return be}),n.d(t,"e",function(){return _e}),n.d(t,"d",function(){return xe}),n.d(t,"c",function(){return ke}),n.d(t,"a",function(){return Ee}),n.d(t,"g",function(){return Te}),n.d(t,"h",function(){return Ce});var r=n(18),i=n.n(r),o=n(360),a=n.n(o),s=n(264),c=n.n(s),u=n(46),l=n(15),d=n(152),f=n.n(d),h=n(178),p=n.n(h),m=n(361),v=n.n(m),g=n(301),y=n.n(g),b=n(16),_=n.n(b),w=n(590),x=n.n(w),k=n(591),E=n.n(k),S=(n(76),n(7)),T=n.n(S),C=n(78),O=n.n(C),A=n(79),j=n.n(A),N=n(54),M=n.n(N),P=n(35),I=n.n(P),L=n(44),D=n.n(L),R=n(117),F=n.n(R),B=n(47),U=n.n(B),q=n(329),z=n.n(q),H=n(83),W=n.n(H),V=n(362),Y=n.n(V),G=n(758),K=n.n(G),$=n(82),X=n.n($),Q=n(45),Z=n.n(Q),J=n(265),ee=n.n(J),te=n(32),ne=n.n(te),re=n(24),ie=n.n(re),oe=n(474),ae=n.n(oe),se=n(592),ce=n.n(se),ue=n(240),le=n.n(ue),de=function(e){return-1===e},fe=j()(function(e,t,n){return v()(e,n,t)}),he=M()(3,function(e,t,n){return n[e]==t}),pe=(M()(3,function(e,t,n){return ie()(F()(he("id",t)),W()(de,_()(n),fe(e,n)))(n)}),M()(3,function(e,t,n){return K()(t,n[e],ce()(e,1,n))}),j()(function(e,t,n){var r;return f()([],n,(r={},Object(l.a)(r,e,n[t]),Object(l.a)(r,t,n[e]),r))})),me=y()(function(e){var t=Object(u.a)(e,2),n=t[0],r=t[1];return I()(Number(n),Number(r))}),ve=T()(me,le.a),ge=function(e){return function(t,n){var r=Object(u.a)(n,2),i=r[0],o=r[1],a=Y()(Number(i),t),s=Y()(Number(o),e);return a===s?t:pe(a,s,t)}},ye=T()(ae()(0),Z.a);function be(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=c()(t);!(r=(a=s.next()).done);r=!0){var u=a.value;if(n.push(u),e(u))break}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}var _e=M()(2,function(e,t){return T()(z.a,ne()(v()(e,1)),le.a)(t)}),we=M()(2,function(e,t){return T()(z.a,D()(E()(e)),le.a)(t)}),xe=M()(2,function(e,t){return T()(X.a,we(function(e,n){return t(n)}))(e)}),ke=M()(2,function(e,t){return D()(T()(U()(O.a)(t),e))}),Ee=x()(ee()(p.a,0)),Se=T()(a.a,Array),Te=j()(function(e,t){var n;return i()(n=Se(t)).call(n,function(){return e})}),Ce=j()(function(e,t,n,r){var o;return i()(o=Se(n)).call(o,function(n,i){return i===r?t:e})})},function(e,t,n){"use strict";n.d(t,"e",function(){return pe}),n.d(t,"f",function(){return ge}),n.d(t,"g",function(){return ye}),n.d(t,"b",function(){return be}),n.d(t,"a",function(){return _e}),n.d(t,"h",function(){return xe}),n.d(t,"i",function(){return ke}),n.d(t,"j",function(){return Ee}),n.d(t,"k",function(){return Se}),n.d(t,"c",function(){return Me}),n.d(t,"d",function(){return Pe});var r=n(16),i=n.n(r),o=n(7),a=n.n(o),s=n(109),c=n.n(s),u=n(193),l=n.n(u),d=n(126),f=n.n(d),h=n(112),p=n.n(h),m=n(762),v=n.n(m),g=n(35),y=n.n(g),b=n(44),_=n.n(b),w=n(51),x=n.n(w),k=n(117),E=n.n(k),S=n(47),T=n.n(S),C=n(70),O=n.n(C),A=n(83),j=n.n(A),N=n(88),M=n.n(N),P=n(60),I=n.n(P),L=n(29),D=n.n(L),R=n(131),F=n.n(R),B=n(45),U=n.n(B),q=n(96),z=n.n(q),H=n(28),W=n.n(H),V=n(22),Y=n.n(V),G=n(84),K=n.n(G),$=n(24),X=n.n($),Q=n(13),Z=n.n(Q),J=n(14),ee=n.n(J),te=n(164),ne=n.n(te),re=n(240),ie=n.n(re),oe=n(194),ae=n.n(oe),se=n(770),ce=n.n(se),ue=n(21),le=n(39),de=n(224),fe=n(275),he=a()(z.a,I.a),pe=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},me=a()(_()(pe),Z()("lessonsOnly")),ve=function(e){return function(t){return z()(W()(["lessons",t.id,"isComplete"],e))}},ge=function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,O()(Z()("lessonsOnly",t)))},ye=a()(z.a,ee()("type","section")),be=function(e){var t=e.course,n=e.courseProgress,r=e.lesson,i=e.restrictingQuiz,o=Object(de.b)({courseProgress:n,lesson:r,restrictingQuiz:i}),a=Object(fe.a)(t),s=a||he(o),c=function(e){var t=e.course,n=e.courseProgress;return x()(ve(n))(t.lessonsOnly)}({course:t,courseProgress:n}),u=ue.e&&!t.enrolled&&!t.favoritedAt&&!Object(le.j)(),l=u&&!t.riseComLearningPathId&&"preview"!==window.viewType,d=u&&t.riseComLearningPathId&&"preview"!==window.viewType,f=ye(r)&&z()(function(e){var t=e.lesson,n=e.courseProgress;return Y()(!1,["lessons",t.id,"isComplete"],n)}({lesson:r,courseProgress:n}));return{isRestricted:l&&f||d&&f||s&&f&&z()(function(e){var t=e.lesson,n=e.currentLesson;return t&&ee()("id",t.id,n)}({lesson:r,currentLesson:c})),isRestrictedNotEnrolledCourse:l,isRestrictedNotEnrolledLP:d,restrictingQuiz:o,isRestrictedCourse:a,currentLesson:c}},_e=function(e){var t=e.labels,n=e.restrictions,r=t.lessonRestricted,i=t.quizRequirePassingScore,o=n.isRestrictedCourse,a=n.isRestrictedNotEnrolledCourse,s=n.isRestrictedNotEnrolledLP,c=n.restrictingQuiz,u=n.currentLesson,l=u&&v()("id",c,u);return a?"Please save to My List to take this course":s?null:!o||o&&l?c.title?i.replace("quiz",'"'.concat(c.title,'"')):i:r},we=c()(function(e){return E()(ce()(K()(["id"],e||{})))}),xe=function(e){var t=e.course,n=e.lesson;return a()(M.a,we(n),me)(t)},ke=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,F()(Z()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[M()(we(n,t.lessonsOnly))]},Ee=function(e){var t=e.course,n=e.lesson;return!ge({course:t,lesson:n})&&t.lessonsOnly[l()(we(n,t.lessonsOnly))]},Se=a()(U.a,me),Te=p()(D.a,I.a),Ce=p()(D.a,y()(!1)),Oe=ne()(Ce,"isComplete"),Ae=p()(ne()(y()(!1),"passed"),ne()(Ce,"isComplete")),je=ae()(2,function(e){return x()(j()(a()(y()(e),O.a),a()(Ae,F.a),a()(Oe,F.a)))}),Ne=ae()(2,function(e){return X()(ie.a,je(e),f()([]),O.a)}),Me=T()(ae()(2,function(e){return j()(Te,i()(null),Ne(e))})),Pe=function(e,t,n){if(!n)return{outOfAttempts:!1,quizPassed:!0};var r=W()(["lessons",n],e),i=Y()(-1,["settings","retryCount"],t),o=Y()(0,["retryAttempts"],r),a=W()(["passed"],r);return{outOfAttempts:W()(["isComplete"],r)&&i>-1&&y()(Number(o),Number(i)),quizPassed:a}}},function(e,t,n){var r=n(548),i=n(96);e.exports=r(i)},function(e,t,n){var r=n(50),i=n(920),o=n(549),a=n(28);e.exports=r(function(e){return o(a(e),i(e))})},function(e,t,n){var r=n(352),i=n(20);e.exports=i(r)},function(e,t,n){var r=n(50),i=n(54);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(2429);var r=n(2),i=n.n(r);t.c=function(t){var n=t.type,r=t.children;return e.createElement("div",{className:"page","data-type":n,"data-page":!0},r)};var o=function(t){var n=t.type,r=t.children,o="video"===n||"embed"===n||"blocks"===n||"progress-summary"===n,a=i()("page__wrapper",{"page__wrapper--white":o});return e.createElement("div",{className:a},r)},a=function(t){var n=t.type,r=t.children,o=i()("page__content",{"page__content--timeline":"timeline"===n});return e.createElement("div",{className:o},r)}}).call(this,n(0))},function(e,t,n){var r=n(989);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r,i,o,a,s=n(50),c=n(187),u=n(867);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&&u(e);for(t in e)!c(t,e)||l&&"length"===t||(s[s.length]=t);if(r)for(n=i.length-1;n>=0;)c(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)}))},function(e,t,n){var r=n(61),i=n(54);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)})})},function(e,t,n){var r=n(20);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})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t,n){"use strict";e.exports=n(573),e.exports.easing=n(2267),e.exports.canvas=n(2268),e.exports.options=n(2269)},function(e,t,n){var r=n(261);e.exports=r(1)},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(50),i=n(26),o=n(549),a=n(13);e.exports=r(function(e){return o(a(e),i(e))})},function(e,t,n){"use strict";var r=n(163),i=n.n(r),o=n(412),a=n.n(o),s=n(205),c=n.n(s);function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=c()(e);for(r=0;r<a.length;r++)n=a[r],i()(t).call(t,n)>=0||(o[n]=e[n]);return o}(e,t);if(a.a){var s=a()(e);for(r=0;r<s.length;r++)n=s[r],i()(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return u})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(n)?n:t(n)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return d});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=n(1),u=n.n(c),l=n(38),d=function(t){function n(){return Object(r.a)(this,n),Object(o.a)(this,Object(a.a)(n).apply(this,arguments))}return Object(s.a)(n,t),Object(i.a)(n,[{key:"render",value:function(){var t=this.props,n=t.allowTabNavigation,r=t.className,i=t.id,o=t.tagName,a=t.value;return a?e.createElement(l.a,{className:r,value:a,allowTabNavigation:n,tagName:o,id:i}):null}}],[{key:"propTypes",get:function(){return{value:u.a.string,className:u.a.string,allowTabNavigation:u.a.bool,tagName:u.a.string,id:u.a.string}}},{key:"defaultProps",get:function(){return{allowBold:!0,placeholder:"",editable:!1,allowTabNavigation:!0,hasQuickInsert:!0}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(85);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";var r,i=n(105),o=n(65),a=n(85),s=n(144),c=n(511),u=n(172),l=n(186),d=n(123).f,f=n(253),h=n(372),p=n(106)("toStringTag"),m=n(429)("TYPED_ARRAY_TAG"),v=o.DataView,g=v&&v.prototype,y=o.Int8Array,b=y&&y.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,x=y&&f(y),k=b&&f(b),E=Object.prototype,S=E.isPrototypeOf,T=!(!o.ArrayBuffer||!o.DataView),C=T&&!!h,O=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j=function(e){return a(e)&&s(A,c(e))};for(r in A)o[r]||(C=!1);if((!C||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},C))for(r in A)o[r]&&h(o[r],x);if((!C||!k||k===E)&&(k=x.prototype,C))for(r in A)o[r]&&h(o[r].prototype,k);if(C&&f(w)!==k&&h(w,k),i&&!s(k,p))for(r in O=!0,d(k,p,{get:function(){return a(this)?this[m]:void 0}}),A)o[r]&&u(o[r],m,r);T&&h&&f(g)!==E&&h(g,E),e.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:O&&m,aTypedArray:function(e){if(j(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(S.call(x,e))return e}else for(var t in A)if(s(A,r)){var n=o[t];if(n&&(e===n||S.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 A){var a=o[r];a&&s(a.prototype,e)&&delete a.prototype[e]}k[e]&&!n||l(k,e,n?t:C&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(i){if(h){if(n)for(r in A)(a=o[r])&&s(a,e)&&delete a[e];if(x[e]&&!n)return;try{return l(x,e,n?t:C&&y[e]||t)}catch(e){}}for(r in A)!(a=o[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||s(A,t)},isTypedArray:j,TypedArray:x,TypedArrayPrototype:k}},function(e,t,n){var r=n(50);e.exports=r(function(e){return!e})},function(e,t,n){e.exports=n(1550)},function(e,t,n){"use strict";n.d(t,"j",function(){return l}),n.d(t,"k",function(){return f}),n.d(t,"i",function(){return h}),n.d(t,"b",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"h",function(){return v}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return y}),n.d(t,"g",function(){return b}),n.d(t,"e",function(){return w}),n.d(t,"f",function(){return x});n(97);var r=n(4),i=n.n(r),o=n(411),a=n.n(o),s=n(277),c=n.n(s),u=(n(78),n(21)),l=function(){return u.e?Object(u.c)("SESSION_COOKIE_NAME"):"_articulate_rise_"},d=function(e,t){var n,r;return i()(n=i()(r="".concat(e,"=")).call(r,t,"; domain=")).call(n,Object(u.c)("SESSION_COOKIE_DOMAIN"),"; path=/; secure=true")},f=function(e){return document.cookie=d("_articulate_user_id",e)},h=function(){return document.cookie="".concat(d("_articulate_user_id",""),"; Max-Age=-99999999")},p=function(){return a.a.load("_articulate_user_id")},m=function(){return a.a.load(l())},v=function(){return!!m()&&c()(m()).staff},g=function(){return m()?c()(m()).sub||c()(m()).aid:""},y=function(){return m()?c()(m()).roles:[]},b=function(){return m()?c()(m()).tenantId:""},_=function(){return m()&&c()(m()).subscription||{}},w=function(){return _().plan_id||""},x=function(){return _().status||""}},function(e,t,n){"use strict";function r(){return(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}).apply(this,arguments)}n.d(t,"a",function(){return r})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(120),i=n(165),o=n(0),a=n.n(o),s=n(99);function c(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 l=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 l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var d=0,f=i.length;f>=0;f--){var h=i[f];"."===h?u(i,f):".."===h?(u(i,f),d++):d&&(u(i,f),d--)}if(!s)for(;d--;d)i.unshift("..");!s||""===i[0]||i[0]&&c(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};var d=n(170);function f(e){return"/"===e.charAt(0)?e:"/"+e}function h(e){return"/"===e.charAt(0)?e.substr(1):e}function p(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 m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function v(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)).state=t:(void 0===(i=Object(s.a)({},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 y(){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",x="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),b||Object(d.a)(!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,c=void 0!==a&&a,u=o.getUserConfirmation,l=void 0===u?_:u,h=o.keyLength,E=void 0===h?6:h,S=e.basename?m(f(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return S&&(o=p(o,S)),g(o,r,n)}function C(){return Math.random().toString(36).substr(2,E)}var O=y();function A(e){Object(s.a)(q,e),q.length=n.length,O.notifyListeners(q.location,q.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(T(e.state))}function N(){P(T(k()))}var M=!1;function P(e){if(M)M=!1,A();else{O.confirmTransitionTo(e,"POP",l,function(t){t?A({action:"POP",location:e}):function(e){var t=q.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(M=!0,R(i))}(e)})}}var I=T(k()),L=[I.key];function D(e){return S+v(e)}function R(e){n.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?(window.addEventListener(w,j),i&&window.addEventListener(x,N)):0===F&&(window.removeEventListener(w,j),i&&window.removeEventListener(x,N))}var U=!1;var q={length:n.length,action:"POP",location:I,createHref:D,push:function(e,t){var i=g(e,t,C(),q.location);O.confirmTransitionTo(i,"PUSH",l,function(e){if(e){var t=D(i),o=i.key,a=i.state;if(r)if(n.pushState({key:o,state:a},null,t),c)window.location.href=t;else{var s=L.indexOf(q.location.key),u=L.slice(0,s+1);u.push(i.key),L=u,A({action:"PUSH",location:i})}else window.location.href=t}})},replace:function(e,t){var i=g(e,t,C(),q.location);O.confirmTransitionTo(i,"REPLACE",l,function(e){if(e){var t=D(i),o=i.key,a=i.state;if(r)if(n.replaceState({key:o,state:a},null,t),c)window.location.replace(t);else{var s=L.indexOf(q.location.key);-1!==s&&(L[s]=i.key),A({action:"REPLACE",location:i})}else window.location.replace(t)}})},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(B(1),U=!0),function(){return U&&(U=!1,B(-1)),t()}},listen:function(e){var t=O.appendListener(e);return B(1),function(){B(-1),t()}}};return q}var S="hashchange",T={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+h(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:h,decodePath:f},slash:{encodePath:f,decodePath:f}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function O(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function A(e){window.location.replace(C(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),b||Object(d.a)(!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,c=e.basename?m(f(e.basename)):"",u=T[a],l=u.encodePath,h=u.decodePath;function w(){var e=h(O());return c&&(e=p(e,c)),g(e)}var x=y();function k(e){Object(s.a)(U,e),U.length=t.length,x.notifyListeners(U.location,U.action)}var E=!1,j=null;function N(){var e,t,n=O(),r=l(n);if(n!==r)A(r);else{var o=w(),a=U.location;if(!E&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(j===v(o))return;j=null,function(e){if(E)E=!1,k();else{x.confirmTransitionTo(e,"POP",i,function(t){t?k({action:"POP",location:e}):function(e){var t=U.location,n=L.lastIndexOf(v(t));-1===n&&(n=0);var r=L.lastIndexOf(v(e));-1===r&&(r=0);var i=n-r;i&&(E=!0,D(i))}(e)})}}(o)}}var M=O(),P=l(M);M!==P&&A(P);var I=w(),L=[v(I)];function D(e){t.go(e)}var R=0;function F(e){1===(R+=e)&&1===e?window.addEventListener(S,N):0===R&&window.removeEventListener(S,N)}var B=!1;var U={length:t.length,action:"POP",location:I,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+l(c+v(e))},push:function(e,t){var n=g(e,void 0,void 0,U.location);x.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=v(n),r=l(c+t);if(O()!==r){j=t,function(e){window.location.hash=e}(r);var i=L.lastIndexOf(v(U.location)),o=L.slice(0,i+1);o.push(t),L=o,k({action:"PUSH",location:n})}else k()}})},replace:function(e,t){var n=g(e,void 0,void 0,U.location);x.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=v(n),r=l(c+t);O()!==r&&(j=t,A(r));var i=L.indexOf(v(U.location));-1!==i&&(L[i]=t),k({action:"REPLACE",location:n})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),t()}},listen:function(e){var t=x.appendListener(e);return F(1),function(){F(-1),t()}}};return U}n(1);var N=n(210);n.d(t,"a",function(){return R}),n.d(t,"b",function(){return U});a.a.Component;a.a.Component;var M=function(e,t){return"function"==typeof e?e(t):e},P=function(e,t){return"string"==typeof e?g(e,null,null,t):e},I=function(e){return e},L=a.a.forwardRef;void 0===L&&(L=I);var D=L(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=Object(N.a)(e,["innerRef","navigate","onClick"]),c=o.target,u=Object(s.a)({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=I!==L&&t||n,a.a.createElement("a",u)});var R=L(function(e,t){var n=e.component,i=void 0===n?D:n,o=e.replace,c=e.to,u=e.innerRef,l=Object(N.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,function(e){e||Object(d.a)(!1);var n=e.history,r=P(M(c,e.location),e.location),f=r?n.createHref(r):"",h=Object(s.a)({},l,{href:f,navigate:function(){var t=M(c,e.location);(o?n.replace:n.push)(t)}});return I!==L?h.ref=t||u:h.innerRef=u,a.a.createElement(i,h)})}),F=function(e){return e},B=a.a.forwardRef;void 0===B&&(B=F);var U=B(function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,c=void 0===o?"active":o,u=e.activeStyle,l=e.className,f=e.exact,h=e.isActive,p=e.location,m=e.sensitive,v=e.strict,g=e.style,y=e.to,b=e.innerRef,_=Object(N.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,function(e){e||Object(d.a)(!1);var n=p||e.location,o=P(M(y,n),n),w=o.pathname,x=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=x?Object(r.e)(n.pathname,{path:x,exact:f,sensitive:m,strict:v}):null,E=!!(h?h(k,n):k),S=E?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(" ")}(l,c):l,T=E?Object(s.a)({},g,{},u):g,C=Object(s.a)({"aria-current":E&&i||null,className:S,style:T,to:o},_);return F!==B?C.ref=t||b:C.innerRef=b,a.a.createElement(R,C)})})},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(1535)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(121),i=(n.n(r)()(function(e){return e.preventDefault()}),function(e){return function(t){return e(t),t.preventDefault()}}),o=function(e){return function(t){e(t),t.preventDefault(),function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}(t)}}},function(e,t,n){e.exports=!n(58)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(428)("wks"),i=n(429),o=n(65).Symbol,a=n(812);e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"a",function(){return u});var r="group",i="heading",o="tablist",a="tabpanel",s="tab",c=function(e){var t=e.element,n=e.isHidden;t&&t.setAttribute("aria-hidden",n)},u=function(e){var t=e.caption,n=e.editable,r=e.id,i=!e.isOverlayType&&!n&&t;return{figcaptionId:i?"figcaption-".concat(r):void 0,isFigure:i,role:i?"figure":void 0,tagName:i?"figure":"div"}}},function(e,t,n){var r=n(215),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},function(e,t,n){var r=n(155);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"d",function(){return y}),n.d(t,"c",function(){return b});var r=n(16),i=n.n(r),o=n(47),a=n.n(o),s=n(56),c=n.n(s),u=n(83),l=n.n(u),d=n(1186),f=n.n(d),h=a()(f.a),p=h({allowedAttributes:{"*":["aria-*","class","colspan","rowspan","style"],a:["href","target","rel"],img:["alt","src"],span:["data-*"]},allowedClasses:["fr-*"],allowedSchemes:["data","http","https","mailto"],allowedTags:["a","b","blockquote","br","em","h2","h3","i","img","li","mark","ol","p","table","td","th","tbody","thead","tr","s","strong","span","sub","sup","u","ul"]}),m=h({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),v=l()(c.a,p,i()("")),g=l()(c.a,m,i()("")),y=h({allowedTags:[],allowedAttributes:[]}),b=h({allowedTags:["mark"],allowedAttributes:[]});t.a=v},function(e,t,n){var r=n(20),i=n(547),o=n(548),a=n(589);e.exports=r(function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)})},function(e,t,n){e.exports=n(849)},function(e,t,n){"use strict";var r=n(87);e.exports={_set:function(e,t){return r.merge(this[e]||(this[e]={}),t)}}},function(e,t,n){var r=n(61),i=n(219);e.exports=r(i)},function(e,t,n){var r=n(20),i=n(219),o=n(82);e.exports=r(function(e,t){return i(function(n,r){return n[r]=e(t[r],r,t),n},{},o(t))})},function(e,t,n){var r=n(20),i=n(148),o=n(1719);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}))},function(e,t){e.exports=!0},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(86),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}},function(e,t,n){"use strict";var r=n(165),i=n(0),o=n.n(i),a=(n(1),n(99));function s(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 u=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&s(e),a=t&&s(t),u=o||a;if(e&&s(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 d=0,f=i.length;f>=0;f--){var h=i[f];"."===h?c(i,f):".."===h?(c(i,f),d++):d&&(c(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&s(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};var l=n(170);function d(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 f(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)).state=t:(void 0===(i=Object(a.a)({},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=u(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function h(){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 p(e,t,n){return Math.min(Math.max(e,t),n)}var m=n(778),v=n(779),g=n.n(v),y=(n(587),n(210)),b=n(599),_=n.n(b);n.d(t,"a",function(){return O}),n.d(t,"b",function(){return k}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return C}),n.d(t,"f",function(){return L});var w=function(e){var t=Object(m.a)();return t.displayName=e,t}("Router-History"),x=function(e){var t=Object(m.a)();return t.displayName=e,t}("Router"),k=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._isMounted?n.setState({location:e}):n._pendingLocation=e})),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);o.a.Component;o.a.Component;var E={},S=1e4,T=0;function C(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,c=n.sensitive,u=void 0!==c&&c;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=E[n]||(E[n]={});if(r[e])return r[e];var i=[],o={regexp:g()(e,i,t),keys:i};return T<S&&(r[e]=o,T++),o}(n,{end:o,strict:s,sensitive:u}),i=r.regexp,a=r.keys,c=i.exec(e);if(!c)return null;var l=c[0],d=c.slice(1),f=e===l;return o&&!f?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:f,params:a.reduce(function(e,t,n){return e[t.name]=d[n],e},{})}},null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(x.Consumer,null,function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?C(n.pathname,e.props):t.match,i=Object(a.a)({},t,{location:n,match:r}),s=e.props,c=s.children,u=s.component,d=s.render;return Array.isArray(c)&&0===c.length&&(c=null),o.a.createElement(x.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:u?o.a.createElement(u,i):d?d(i):null:"function"==typeof c?c(i):null)})},t}(o.a.Component);function A(e){return"/"===e.charAt(0)?e:"/"+e}function j(e,t){if(!e)return t;var n=A(e);return 0!==t.pathname.indexOf(n)?t:Object(a.a)({},t,{pathname:t.pathname.substr(n.length)})}function N(e){return"string"==typeof e?e:d(e)}function M(e){return function(){Object(l.a)(!1)}}function P(){}o.a.Component;var I=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(x.Consumer,null,function(t){t||Object(l.a)(!1);var n,r,i=e.props.location||t.location;return o.a.Children.forEach(e.props.children,function(e){if(null==r&&o.a.isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?C(i.pathname,Object(a.a)({},e.props,{path:s})):t.match}}),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null})},t}(o.a.Component);function L(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(y.a)(t,["wrappedComponentRef"]);return o.a.createElement(x.Consumer,null,function(t){return t||Object(l.a)(!1),o.a.createElement(e,Object(a.a)({},r,t,{ref:n}))})};return n.displayName=t,n.WrappedComponent=e,_()(n,e)}o.a.useContext},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e(t),t})},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return At(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=p(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 v(e){var t=h(NaN);return null!=e?f(p(t),e):p(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 g=i.momentProperties=[];function y(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)r=g[n],s(i=t[r])||(e[r]=i);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function E(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&&k(e[r])!==k(t[r]))&&a++;return a+o}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f(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)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var C,O={};function A(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(S(t),O[e]=!0)}function j(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var P={};function I(e,t){var n=e.toLowerCase();P[n]=P[n+"s"]=P[t]=e}function L(e){return"string"==typeof e?P[e]||P[e.toLowerCase()]:void 0}function D(e){var t,n,r={};for(n in e)d(e,n)&&(t=L(n))&&(r[t]=e[n]);return r}var R={};function F(e,t){R[e]=t}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},H={};function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=Y(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(U);for(t=0,n=i.length;t<n;t++)H[i[t]]?i[t]=H[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=j(i[r])?i[r].call(t,e):i[r];return o}}(t),z[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(q.lastIndex=0;n>=0&&q.test(e);)e=e.replace(q,r),q.lastIndex=0,n-=1;return e}var G=/\d/,K=/\d\d/,$=/\d{3}/,X=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,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,ue={};function le(e,t,n){ue[e]=j(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)he[e[n]]=r}function me(e,t){pe(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(he,e)&&he[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,xe=5,ke=6,Ee=7,Se=8;function Te(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),le("Y",oe),le("YY",Z,K),le("YYYY",ne,X),le("YYYYY",re,Q),le("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],ge),pe("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),pe("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),pe("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Oe,Ae=je("FullYear",!0);function je(e,t){return function(n){return null!=n?(Me(this,e,n),i.updateOffset(this,t),this):Ne(this,e)}}function Ne(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Oe=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},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),I("month","M"),F("month",8),le("M",Z),le("MM",Z,K),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),pe(["M","MM"],function(e,t){t[ye]=k(e)-1}),pe(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:p(n).invalidMonth=e});var Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Re(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fe(e){return null!=e?(Re(this,e),i.updateOffset(this,!0),this):Ne(this,"Month")}var Be=ce,Ue=ce;function qe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([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]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(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 ze(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function He(e,t,n){var r=7+t-n,i=(7+ze(e,0,r).getUTCDay()-t)%7;return-i+r-1}function We(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=He(e,r,i),u=1+7*(t-1)+s+c;return u<=0?a=Te(o=e-1)+u:u>Te(e)?(o=e+1,a=u-Te(e)):(o=e,a=u),{year:o,dayOfYear:a}}function Ve(e,t,n){var r,i,o=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ye(i,t,n)):a>Ye(e.year(),t,n)?(r=a-Ye(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ye(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(Te(e)-r+i)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),le("w",Z),le("ww",Z,K),le("W",Z),le("WW",Z,K),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,Qe=ce,Ze=ce;function Je(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),c[t]=fe(c[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,et),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+et.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+et.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),tt("a",!0),tt("A",!1),I("hour","h"),F("hour",13),le("a",nt),le("A",nt),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,K),le("hh",Z,K),le("kk",Z,K),le("hmm",J),le("hmmss",ee),le("Hmm",J),le("Hmmss",ee),pe(["H","HH"],_e),pe(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[_e]=k(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),pe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i))});var rt,it=je("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Le,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:$e,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var r=null;if(!at[t]&&void 0!==e&&e&&e.exports)try{r=rt._abbr,n(2440)("./"+t),lt(r)}catch(e){}return at[t]}function lt(e,t){var n;return e&&(n=s(t)?ft(e):dt(e,t))&&(rt=n),rt._abbr}function dt(e,t){if(null!==t){var n=ot;if(t.abbr=e,null!=at[e])A("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=at[e]._config;else if(null!=t.parentLocale){if(null==at[t.parentLocale])return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;n=at[t.parentLocale]._config}return at[e]=new M(N(n,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),lt(e),at[e]}return delete at[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(i=ct(e[o]).split("-"),t=i.length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(i,n,!0)>=t-1)break;t--}o++}return null}(e)}function ht(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Pe(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,p(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Ee),p(e)._overflowWeekday&&-1===t&&(t=Se),p(e).overflow=t),e}function pt(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,n,r,i,o,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=pt(t.GG,e._a[ge],Ve(jt(),1,4).year),r=pt(t.W,1),((i=pt(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Ve(jt(),o,a);n=pt(t.gg,e._a[ge],u.year),r=pt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ye(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=We(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=pt(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?ze:function(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}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,gt=/^\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)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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}/]],_t=[["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/]],wt=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(p(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(c[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(c[3])){o=(c[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!yt.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Ct(e)}else e._isValid=!1}var kt=/^(?:(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 Et(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,a,s,c=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(c){var u=(t=c[4],n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[Et(t),De.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){if(e){var r=Ke.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}(c[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(c[8],c[9],c[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,c=s.length,u=0;for(r=Y(e._f,e._locale).match(U)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[_e]<=12&&!0===p(e).bigHour&&e._a[_e]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,d=e._a[_e],null==(f=e._meridiem)?d:null!=l.meridiemHour?l.meridiemHour(d,f):null!=l.isPM?((h=l.isPM(f))&&d<12&&(d+=12),h||12!==d||(d=0),d):d),mt(e),ht(e)}else Tt(e);else xt(e);var l,d,f,h}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ht(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),mt(e)):a(t)?function(e){if(!e._d){var t=D(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),mt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function At(e,t,n,r,i){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new _(ht(Ot(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function jt(e,t,n,r){return At(e,t,n,r,!1)}i.createFromInputFallback=T("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 Nt=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Mt=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Pt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return jt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var t=D(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,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Oe.call(It,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<It.length;++r)if(e[It[r]]){if(n)return!1;parseFloat(e[It[r]])!==k(e[It[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ft(),this._bubble()}function Dt(e){return e instanceof Lt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),le("Z",se),le("ZZ",se),pe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(se,e)});var Bt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Bt)||["-",0,0],o=60*i[1]+k(i[2]);return 0===o?0:"+"===i[0]?o:-o}function qt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||u(e)?e.valueOf():jt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):jt(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,r,i,o,a,s,u=e,l=null;return Dt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Wt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:k(l[be])*n,h:k(l[_e])*n,m:k(l[we])*n,s:k(l[xe])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Vt.exec(e))?(n="-"===l[1]?-1:(l[1],1),u={y:Gt(l[2],n),M:Gt(l[3],n),w:Gt(l[4],n),d:Gt(l[5],n),h:Gt(l[6],n),m:Gt(l[7],n),s:Gt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=jt(u.from),a=jt(u.to),i=o.isValid()&&a.isValid()?(a=qt(a,o),o.isBefore(a)?s=Kt(o,a):((s=Kt(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new Lt(u),Dt(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 $t(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(A(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),Xt(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function Xt(e,t,n,r){var o=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(r=null==r||r,s&&Re(e,Ne(e,"Month")+s*n),a&&Me(e,"Date",Ne(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Yt.fn=Lt.prototype,Yt.invalid=function(){return Yt(NaN)};var Qt=$t(1,"add"),Zt=$t(-1,"subtract");function Jt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function en(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=T("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 nn(){return this._locale}function rn(e,t){W(0,[e,e.length],0,t)}function on(e,t,n,r,i){var o;return null==e?Ve(this,r,i).year:(o=Ye(e,r,i),t>o&&(t=o),function(e,t,n,r,i){var o=We(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",Z,K),le("gg",Z,K),le("GGGG",ne,X),le("gggg",ne,X),le("GGGGG",re,Q),le("ggggg",re,Q),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),I("quarter","Q"),F("quarter",7),le("Q",G),pe("Q",function(e,t){t[ye]=3*(k(e)-1)}),W("D",["DD",2],"Do","date"),I("date","D"),F("date",9),le("D",Z),le("DD",Z,K),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=k(e.match(Z)[0])});var an=je("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),F("dayOfYear",4),le("DDD",te),le("DDDD",$),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),W("m",["mm",2],0,"minute"),I("minute","m"),F("minute",14),le("m",Z),le("mm",Z,K),pe(["m","mm"],we);var sn=je("Minutes",!1);W("s",["ss",2],0,"second"),I("second","s"),F("second",15),le("s",Z),le("ss",Z,K),pe(["s","ss"],xe);var cn,un=je("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),F("millisecond",16),le("S",te,G),le("SS",te,K),le("SSS",te,$),cn="SSSS";cn.length<=9;cn+="S")le(cn,ie);function ln(e,t){t[ke]=k(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")pe(cn,ln);var dn=je("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var fn=_.prototype;function hn(e){return e}fn.add=Qt,fn.calendar=function(e,t){var n=e||jt(),r=qt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(j(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,jt(n)))},fn.clone=function(){return new _(this)},fn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=qt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t)){case"year":o=Jt(this,r)/12;break;case"month":o=Jt(this,r);break;case"quarter":o=Jt(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:x(o)},fn.endOf=function(e){return void 0===(e=L(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},fn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||jt(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(jt(),e)},fn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||jt(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(jt(),e)},fn.get=function(e){return j(this[e=L(e)])?this[e]():this},fn.invalidAt=function(){return p(this).overflow},fn.isAfter=function(e,t){var n=w(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(s(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=w(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(s(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(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))},fn.isSame=function(e,t){var n,r=w(e)?e:jt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=L(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return m(this)},fn.lang=tn,fn.locale=en,fn.localeData=nn,fn.max=Mt,fn.min=Nt,fn.parsingFlags=function(){return f({},p(this))},fn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=D(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(j(this[e=L(e)]))return this[e](t);return this},fn.startOf=function(e){switch(e=L(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},fn.subtract=Zt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){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()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){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=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.year=Ae,fn.isLeapYear=function(){return Ce(this.year())},fn.weekYear=function(e){return on.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return on.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=Fe,fn.daysInMonth=function(){return Pe(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ye(this.year(),1,4)},fn.date=an,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(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")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=it,fn.minute=fn.minutes=sn,fn.second=fn.seconds=un,fn.millisecond=fn.milliseconds=dn,fn.utcOffset=function(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=Ut(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?jt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ht,fn.isUTC=Ht,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=T("dates accessor is deprecated. Use date instead.",an),fn.months=T("months accessor is deprecated. Use month instead",Fe),fn.years=T("years accessor is deprecated. Use year instead",Ae),fn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Ot(e))._a){var t=e._isUTC?h(e._a):jt(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=M.prototype;function mn(e,t,n,r){var i=ft(),o=h().set(r,t);return i[n](o,e)}function vn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=ft(),a=e?o._week.dow:0;if(null!=n)return mn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=mn(t,(i+a)%7,r,"day");return s}pn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},pn.longDateFormat=function(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])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(e){return this._ordinal.replace("%d",e)},pn.preparse=hn,pn.postformat=hn,pn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)},pn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},pn.set=function(e){var t,n;for(n in e)j(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)},pn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},pn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ie.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(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=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([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}},pn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},pn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},pn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(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=h([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=Oe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([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}},pn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},pn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",lt),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ft);var yn=Math.abs;function bn(e,t,n,r){var i=Yt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var En=kn("ms"),Sn=kn("s"),Tn=kn("m"),Cn=kn("h"),On=kn("d"),An=kn("w"),jn=kn("M"),Nn=kn("y");function Mn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Mn("milliseconds"),In=Mn("seconds"),Ln=Mn("minutes"),Dn=Mn("hours"),Rn=Mn("days"),Fn=Mn("months"),Bn=Mn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11},zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),i=zn(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(i/12),a=i%=12,s=r,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Hn(this._months)!==Hn(d)?"-":"",p=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?m+c+"H":"")+(u?m+u+"M":"")+(l?m+l+"S":"")}var Vn=Lt.prototype;return Vn.isValid=function(){return this._isValid},Vn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},Vn.add=function(e,t){return bn(this,e,t,1)},Vn.subtract=function(e,t){return bn(this,e,t,-1)},Vn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=L(e))||"year"===e)return t=this._days+r/864e5,n=this._months+wn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xn(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)}},Vn.asMilliseconds=En,Vn.asSeconds=Sn,Vn.asMinutes=Tn,Vn.asHours=Cn,Vn.asDays=On,Vn.asWeeks=An,Vn.asMonths=jn,Vn.asYears=Nn,Vn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Vn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_n(xn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=x(o/1e3),c.seconds=e%60,t=x(e/60),c.minutes=t%60,n=x(t/60),c.hours=n%24,a+=x(n/24),i=x(wn(a)),s+=i,a-=_n(xn(i)),r=x(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Vn.clone=function(){return Yt(this)},Vn.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Vn.milliseconds=Pn,Vn.seconds=In,Vn.minutes=Ln,Vn.hours=Dn,Vn.days=Rn,Vn.weeks=function(){return x(this.days()/7)},Vn.months=Fn,Vn.years=Bn,Vn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Yt(e).abs(),i=Un(r.as("s")),o=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("y")),l=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||o<=1&&["m"]||o<qn.m&&["mm",o]||a<=1&&["h"]||a<qn.h&&["hh",a]||s<=1&&["d"]||s<qn.d&&["dd",s]||c<=1&&["M"]||c<qn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Vn.toISOString=Wn,Vn.toString=Wn,Vn.toJSON=Wn,Vn.locale=en,Vn.localeData=nn,Vn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Vn.lang=tn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.20.1",t=jt,i.fn=fn,i.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return jt(1e3*e)},i.months=function(e,t){return vn(e,t,"months")},i.isDate=u,i.locale=lt,i.invalid=v,i.duration=Yt,i.isMoment=w,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return jt.apply(null,arguments).parseZone()},i.localeData=ft,i.isDuration=Dt,i.monthsShort=function(e,t){return vn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=dt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ot;null!=(r=ut(e))&&(i=r._config),t=N(i,t),(n=new M(t)).parentLocale=at[e],at[e]=n,lt(e)}else null!=at[e]&&(null!=at[e].parentLocale?at[e]=at[e].parentLocale:null!=at[e]&&delete at[e]);return at[e]},i.locales=function(){return C(at)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=L,i.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==qn[e]&&(void 0===t?qn[e]:(qn[e]=t,"s"===e&&(qn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=fn,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}()}).call(this,n(289)(e))},function(e,t,n){var r=n(105),i=n(807),o=n(94),a=n(232),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}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(917),i=n(20),o=n(44);e.exports=i(function(e,t){return o(r(e),t)})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return null==t||t!=t?e:t})},function(e,t,n){var r=n(20),i=n(547),o=n(925),a=n(548);e.exports=r(function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)})},function(e,t,n){var r=n(2051),i=n(357),o="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(o);return i(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Helpers=t.ScrollElement=t.ScrollLink=t.animateScroll=t.scrollSpy=t.Events=t.scroller=t.Element=t.Button=t.Link=void 0;var r=h(n(2063)),i=h(n(2068)),o=h(n(2069)),a=h(n(561)),s=h(n(736)),c=h(n(734)),u=h(n(986)),l=h(n(733)),d=h(n(988)),f=h(n(2070));function h(e){return e&&e.__esModule?e:{default:e}}t.Link=r.default,t.Button=i.default,t.Element=o.default,t.scroller=a.default,t.Events=s.default,t.scrollSpy=c.default,t.animateScroll=u.default,t.ScrollLink=l.default,t.ScrollElement=d.default,t.Helpers=f.default,t.default={Link:r.default,Button:i.default,Element:o.default,scroller:a.default,Events:s.default,scrollSpy:c.default,animateScroll:u.default,ScrollLink:l.default,ScrollElement:d.default,Helpers:f.default}},function(e,t,n){var r=n(134),i=n(680),o=n(173),a=n(527),s=n(682),c=n(858),u=i("wks"),l=r.Symbol,d=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(297);e.exports=r(-1)},function(e,t,n){e.exports=n(1574)},function(e,t,n){var r=n(213);e.exports=function(e){return Object(r(e))}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(100))},function(e,t,n){e.exports=n(1670)},function(e,t,n){"use strict";var r=n(165),i=n(0),o=n.n(i),a=n(1),s=n.n(a),c=s.a.shape({trySubscribe:s.a.func.isRequired,tryUnsubscribe:s.a.func.isRequired,notifyNestedSubs:s.a.func.isRequired,isSubscribed:s.a.func.isRequired}),u=s.a.shape({subscribe:s.a.func.isRequired,dispatch:s.a.func.isRequired,getState:s.a.func.isRequired});o.a.forwardRef;var l=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",o=function(t){Object(r.a)(a,t);var o=a.prototype;function a(n,r){var i;return(i=t.call(this,n,r)||this)[e]=n.store,i}return o.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},o.render=function(){return i.Children.only(this.props.children)},a}(i.Component);return o.propTypes={store:u.isRequired,children:s.a.element.isRequired},o.childContextTypes=((t={})[e]=u.isRequired,t[n]=c,t),o}();function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var f=n(99),h=n(210),p=n(599),m=n.n(p),v=n(647),g=n.n(v),y=n(587),b=null,_={notify:function(){}};var w=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=_}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=b,e=b},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==b&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}))},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=_)},e}(),x=void 0!==o.a.forwardRef,k=0,E={};function S(){}function T(e,t){var n,o;void 0===t&&(t={});var a=t,s=a.getDisplayName,l=void 0===s?function(e){return"ConnectAdvanced("+e+")"}:s,p=a.methodName,v=void 0===p?"connectAdvanced":p,b=a.renderCountProp,_=void 0===b?void 0:b,T=a.shouldHandleStateChanges,C=void 0===T||T,O=a.storeKey,A=void 0===O?"store":O,j=a.withRef,N=void 0!==j&&j,M=Object(h.a)(a,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=A+"Subscription",I=k++,L=((n={})[A]=u,n[P]=c,n),D=((o={})[P]=c,o);return function(t){g()(Object(y.isValidElementType)(t),"You must pass a component to the function returned by "+v+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=l(n),a=Object(f.a)({},M,{getDisplayName:l,methodName:v,renderCountProp:_,shouldHandleStateChanges:C,storeKey:A,withRef:N,displayName:o,wrappedComponentName:n,WrappedComponent:t}),s=function(n){function s(e,t){var r;return(r=n.call(this,e,t)||this).version=I,r.state={},r.renderCount=0,r.store=e[A]||t[A],r.propsMode=Boolean(e[A]),r.setWrappedInstance=r.setWrappedInstance.bind(d(d(r))),g()(r.store,'Could not find "'+A+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+A+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}Object(r.a)(s,n);var c=s.prototype;return c.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[P]=t||this.context[P],e},c.componentDidMount=function(){C&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.componentWillReceiveProps=function(e){this.selector.run(e)},c.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=S,this.store=null,this.selector.run=S,this.selector.shouldComponentUpdate=!1},c.getWrappedInstance=function(){return g()(N,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+v+"() call."),this.wrappedInstance},c.setWrappedInstance=function(e){this.wrappedInstance=e},c.initSelector=function(){var t=e(this.store.dispatch,a);this.selector=function(e,t){var n={run:function(r){try{var i=e(t.getState(),r);(i!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=i,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},c.initSubscription=function(){if(C){var e=(this.propsMode?this.props:this.context)[P];this.subscription=new w(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(E)):this.notifyNestedSubs()},c.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.addExtraProps=function(e){if(!(N||_||this.propsMode&&this.subscription))return e;var t=Object(f.a)({},e);return N&&(t.ref=this.setWrappedInstance),_&&(t[_]=this.renderCount++),this.propsMode&&this.subscription&&(t[P]=this.subscription),t},c.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(i.createElement)(t,this.addExtraProps(e.props))},s}(i.Component);return x&&(s.prototype.UNSAFE_componentWillReceiveProps=s.prototype.componentWillReceiveProps,delete s.prototype.componentWillReceiveProps),s.WrappedComponent=t,s.displayName=o,s.childContextTypes=D,s.contextTypes=L,s.propTypes=L,m()(s,t)}}var C=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function A(e,t){if(O(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(!C.call(t,n[i])||!O(e[n[i]],t[n[i]]))return!1;return!0}var j=n(410);function N(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function M(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(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=M(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=M(i),i=r(t,n)),i},r}}var I=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:N(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?N(function(t){return Object(j.b)(e,t)}):void 0}];var L=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:N(function(){return{}})}];function D(e,t,n){return Object(f.a)({},n,e,t)}var R=[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 c=e(t,n,s);return a?i&&o(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return D}}];function F(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function B(e,t,n,r,i){var o,a,s,c,u,l=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,h=!1;function p(i,h){var p,m,v=!d(h,a),g=!l(i,o);return o=i,a=h,v&&g?(s=e(o,a),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):v?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):g?(p=e(o,a),m=!f(p,s),s=p,m&&(u=n(s,c,a)),u):u}return function(i,l){return h?p(i,l):(s=e(o=i,a=l),c=t(r,a),u=n(s,c,a),h=!0,u)}}function U(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Object(h.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),c=i(e,o);return(o.pure?B:F)(a,s,c,e,o)}function q(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 z(e,t){return e===t}var H,W,V,Y,G,K,$,X,Q,Z,J,ee,te=(V=(W=void 0===H?{}:H).connectHOC,Y=void 0===V?T:V,G=W.mapStateToPropsFactories,K=void 0===G?L:G,$=W.mapDispatchToPropsFactories,X=void 0===$?I:$,Q=W.mergePropsFactories,Z=void 0===Q?R:Q,J=W.selectorFactory,ee=void 0===J?U:J,function(e,t,n,r){void 0===r&&(r={});var i=r,o=i.pure,a=void 0===o||o,s=i.areStatesEqual,c=void 0===s?z:s,u=i.areOwnPropsEqual,l=void 0===u?A:u,d=i.areStatePropsEqual,p=void 0===d?A:d,m=i.areMergedPropsEqual,v=void 0===m?A:m,g=Object(h.a)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=q(e,K,"mapStateToProps"),b=q(t,X,"mapDispatchToProps"),_=q(n,Z,"mergeProps");return Y(ee,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:y,initMapDispatchToProps:b,initMergeProps:_,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:v},g))});n.d(t,"a",function(){return l}),n.d(t,"b",function(){return te})},function(e,t,n){"use strict";var r=function(e){return e.displayName||e.name||"Component"},i=n(0),o=n.n(i),a=n(79),s=n.n(a),c=n(1261),u=n.n(c),l=n(1262),d=n.n(l),f=function(e,t){return o.a.createElement("mark",{key:t},e)},h=s()(function(e,t){return d()(new RegExp(u()(t),"igm"),f,e)}),p=n(135),m=n.n(p),v=n(109),g=(n.n(v)()(function(e,t){return m()(t).call(t,function(t,n){return t+n[e]},0)}),n(159)),y=n(154),b=n(74),_=n(488);n.d(t,"b",function(){return r}),n.d(t,"d",function(){return h}),n.d(t,"c",function(){return g.a}),n.d(t,"f",function(){return y.c}),n.d(t,"a",function(){return b.a}),n.d(t,"e",function(){return b.g}),n.d(t,"g",function(){return _.b})},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"i",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"h",function(){return l}),n.d(t,"g",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return p}),n.d(t,"e",function(){return m});var r=n(132),i=n.n(r),o=window.RiseDotCom,a=function(e){return o&&o[e]},s=function(){a("addFavorite")&&i.a.resolve().then(o.addFavorite).catch(console.error)},c=function(){a("removeFavorite")&&i.a.resolve().then(o.removeFavorite).catch(console.error)},u=function(){a("exit")&&o.exit()},l=function(){a("on")&&o.on.apply(o,arguments)},d=function(){a("off")&&o.off.apply(o,arguments)},f=function(){a("goToLearn")&&o.goToLearn.apply(o,arguments)},h=function(){if(a("downloadCertificate"))return o.downloadCertificate.apply(o,arguments)},p=function(){if(a("downloadCertificateCancel"))return o.downloadCertificateCancel.apply(o,arguments)},m=function(){if(a("fetchLpUpNext"))return o.fetchLpUpNext.apply(o,arguments)}},function(e,t,n){var r;
/*!
 * jQuery JavaScript Library v3.4.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2019-05-01T21:04Z
 */
/*!
 * jQuery JavaScript Library v3.4.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2019-05-01T21:04Z
 */
!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(n,i){"use strict";var o=[],a=n.document,s=Object.getPrototypeOf,c=o.slice,u=o.concat,l=o.push,d=o.indexOf,f={},h=f.toString,p=f.hasOwnProperty,m=p.toString,v=m.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||a).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 x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[h.call(e)]||"object":typeof e}var k=function(e,t){return new k.fn.init(e,t)},E=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function S(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:"3.4.1",constructor:k,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(u,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+("3.4.1"+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]"!==h.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&m.call(n)===v)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){w(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(E,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?k.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.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(S(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.apply([],a)},guid:1,support:g}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=o[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var T=
/*!
 * Sizzle CSS Selector Engine v2.3.4
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2019-04-08
 */
function(e){var t,n,r,i,o,a,s,c,u,l,d,f,h,p,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,E=ce(),S=ce(),T=ce(),C=ce(),O=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,j=[],N=j.pop,M=j.push,P=j.push,I=j.slice,L=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",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",U=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),H=new RegExp("^"+R+"*,"+R+"*"),W=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),Y=new RegExp(U),G=new RegExp("^"+F+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|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(){f()},ae=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(j=I.call(w.childNodes),w.childNodes),j[w.childNodes.length].nodeType}catch(e){P={apply:j.length?function(e,t){M.apply(e,I.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,u,l,d,p,g,y=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!i&&((t?t.ownerDocument||t:w)!==h&&f(t),t=t||h,m)){if(11!==x&&(d=J.exec(e)))if(o=d[1]){if(9===x){if(!(u=t.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return r.push(u),r}else{if(d[2])return P.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!v||!v.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===x&&V.test(e)){for((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_),s=(p=a(e)).length;s--;)p[s]="#"+l+" "+be(p[s]);g=p.join(","),y=ee.test(e)&&ge(t.parentNode)||t}try{return P.apply(r,y.querySelectorAll(g)),r}catch(t){C(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return c(e.replace(z,"$1"),t,r,i)}function ce(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ue(e){return e[_]=!0,e}function le(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(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 he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(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 ve(e){return ue(function(t){return t=+t,ue(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 ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,m=!o(h),w!==h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=_,!h.getElementsByName||!h.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&&m){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&&m){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&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Z.test(h.querySelectorAll))&&(le(function(e){p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",U)}),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.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},O=t?function(e,t){if(e===t)return d=!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===h||e.ownerDocument===w&&b(w,e)?-1:t===h||t.ownerDocument===w&&b(w,t)?1:l?L(l,e)-L(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===h?-1:t===h?1:i?-1:o?1:l?L(l,e)-L(l,t):0;if(i===o)return fe(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?fe(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&f(e),n.matchesSelector&&m&&!C[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==h&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==h&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?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(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(O),d){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:ue,match:K,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 K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.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=E[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&E(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(q," ")+" ").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,c){var u,l,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(h=(u=(l=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&u[1])&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[m]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[x,h,b];break}}else if(y&&(b=h=(u=(l=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&u[1]),!1===b)for(;(f=++h&&f&&f[m]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[x,b]),f!==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())?ue(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=L(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ue(function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[_]?ue(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:ue(function(e){return function(t){return se(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ue(function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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 Q.test(e.nodeName)},input:function(e){return X.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:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}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=k++;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,c){var u,l,d,f=[x,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=l[o])&&u[0]===x&&u[1]===s)return f[2]=u[2];if(l[o]=f,f[2]=e(t,n,c))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 xe(e,t,n,r,i){for(var o,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function ke(e,t,n,r,i,o){return r&&!r[_]&&(r=ke(r)),i&&!i[_]&&(i=ke(i,o)),ue(function(o,a,s,c){var u,l,d,f=[],h=[],p=a.length,m=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,[]),v=!e||!o&&t?m:xe(m,f,e,s,c),g=n?i||(o?e:p||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=xe(g,h),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(g[h[l]]=!(v[h[l]]=d));if(o){if(i||e){if(i){for(u=[],l=g.length;l--;)(d=g[l])&&u.push(v[l]=d);i(null,g=[],u,c)}for(l=g.length;l--;)(d=g[l])&&(u=i?L(o,d):f[l])>-1&&(o[u]=!(a[u]=d))}}else g=xe(g===a?g.splice(p,g.length):g),i?i(null,a,g,c):P.apply(a,g)})}function Ee(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=_e(function(e){return e===t},s,!0),d=_e(function(e){return L(t,e)>-1},s,!0),f=[function(e,n,r){var i=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,i}];c<o;c++)if(n=r.relative[e[c].type])f=[_e(we(f),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[_]){for(i=++c;i<o&&!r.relative[e[i].type];i++);return ke(c>1&&we(f),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),n,c<i&&Ee(e.slice(c,i)),i<o&&Ee(e=e.slice(i)),i<o&&be(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,i,o,a,s,c,u,l=S[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(i=H.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.push(o=[])),n=!1,(i=W.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=K[a].exec(s))||u[a]&&!(i=u[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):S(e,c).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ee(t[n]))[_]?i.push(s):o.push(s);(s=T(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,c,l){var d,p,v,g=0,y="0",b=o&&[],_=[],w=u,k=o||i&&r.find.TAG("*",l),E=x+=null==w?1:Math.random()||.1,S=k.length;for(l&&(u=a===h||a||l);y!==S&&null!=(d=k[y]);y++){if(i&&d){for(p=0,a||d.ownerDocument===h||(f(d),s=!m);v=e[p++];)if(v(d,a||h,s)){c.push(d);break}l&&(x=E)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){for(p=0;v=t[p++];)v(b,_,a,s);if(o){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=N.call(c));_=xe(_)}P.apply(c,_),l&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(x=E,u=w),b};return n?ue(o):o}(o,i))).selector=e}return s},c=se.select=function(e,t,n,i){var o,c,u,l,d,f="function"==typeof e&&e,h=!i&&a(e=f.selector||e);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=K.needsContext.test(e)?0:c.length;o--&&(u=c[o],!r.relative[l=u.type]);)if((d=r.find[l])&&(i=d(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(o,1),!(e=i.length&&be(c)))return P.apply(n,i),n;break}}return(f||s(e,h))(i,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(O).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("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")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(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}(n);k.find=T,k.expr=T.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=T.uniqueSort,k.text=T.getText,k.isXMLDoc=T.isXML,k.contains=T.contains,k.escapeSelector=T.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=k.expr.match.needsContext;function j(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(e,t,n){return y(t)?k.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?k.grep(e,function(e){return e===t!==n}):"string"!=typeof t?k.grep(e,function(e){return d.call(t,e)>-1!==n}):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<r;t++)if(k.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,i[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(M(this,e||[],!1))},not:function(e){return this.pushStack(M(this,e||[],!0))},is:function(e){return!!M(this,"string"==typeof e&&A.test(e)?k(e):e||[],!1).length}});var P,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.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 k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),N.test(r[1])&&k.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.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(k):k.makeArray(e,this)}).prototype=k.fn,P=k(a);var L=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&k(e);if(!A.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&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(k(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(j(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(e,t){k.fn[e]=function(n,r){var i=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=k.filter(r,i)),this.length>1&&(D[e]||k.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function B(e){return e}function U(e){throw e}function q(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])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):k.extend({},e);var t,n,r,i,o=[],a=[],s=-1,c=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?[]:"")},u={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){k.each(n,function(n,r){y(r)?e.unique&&u.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&c()),this},remove:function(){return k.each(arguments,function(e,t){for(var n;(n=k.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?k.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||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred(function(n){k.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,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,c=arguments,u=function(){var n,u;if(!(e<o)){if((n=r.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(u)?i?u.call(n,a(o,t,B,i),a(o,t,U,i)):(o++,u.call(n,a(o,t,B,i),a(o,t,U,i),a(o,t,B,t.notifyWith))):(r!==B&&(s=void 0,c=[n]),(i||t.resolveWith)(s,c))}},l=i?u:function(){try{u()}catch(n){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(n,l.stackTrace),e+1>=o&&(r!==U&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?l():(k.Deferred.getStackHook&&(l.stackTrace=k.Deferred.getStackHook()),n.setTimeout(l))}}return k.Deferred(function(n){t[0][3].add(a(0,n,y(i)?i:B,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:B)),t[2][3].add(a(0,n,y(r)?r:U))}).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},o={};return k.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[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=c.call(arguments),o=k.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?c.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(q(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)q(i[n],a(n),o.reject);return o.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout(function(){throw e})};var H=k.Deferred();function W(){a.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),k.ready()}k.fn.ready=function(e){return H.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||H.resolveWith(a,[k]))}}),k.ready.then=H.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(k.ready):(a.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var V=function(e,t,n,r,i,o,a){var s=0,c=e.length,u=null==n;if("object"===x(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),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(k(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):c?t(e[0],n):o},Y=/^-ms-/,G=/-([a-z])/g;function K(e,t){return t.toUpperCase()}function $(e){return e.replace(Y,"ms-").replace(G,K)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=k.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(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[$(t)]=n;else for(r in t)i[$(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][$(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($):(t=$(t))in r?[t]:t.match(F)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||k.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&&!k.isEmptyObject(t)}};var Z=new Q,J=new Q,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}k.extend({hasData:function(e){return J.hasData(e)||Z.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 Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),k.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&&!Z.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=$(r.slice(5)),ne(o,r,i[r]));Z.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))?n: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)})}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){k.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:k.Callbacks("once memory").add(function(){Z.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each(function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=k.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=Z.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=a.documentElement,se=function(e){return k.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===k.css(e,"display")},le=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function de(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},c=s(),u=n&&n[3]||(k.cssNumber[t]?"":"px"),l=e.nodeType&&(k.cssNumber[t]||"px"!==u&&+c)&&ie.exec(k.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)k.style(e,t,l+u),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),l/=o;l*=2,k.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=i)),i}var fe={};function he(e){var t,n=e.ownerDocument,r=e.nodeName,i=fe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=k.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]=Z.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ue(r)&&(i[o]=he(r))):"none"!==n&&(i[o]="none",Z.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}k.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(){ue(this)?k(this).show():k(this).hide()})}});var me=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i,ye={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&j(e,t)?k.merge([e],n):n}function _e(e,t){for(var n=0,r=e.length;n<r;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}ye.optgroup=ye.option,ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td;var we,xe,ke=/<|&#?\w+;/;function Ee(e,t,n,r,i){for(var o,a,s,c,u,l,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===x(o))k.merge(f,o.nodeType?[o]:o);else if(ke.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(o)||["",""])[1].toLowerCase(),c=ye[s]||ye._default,a.innerHTML=c[1]+k.htmlPrefilter(o)+c[2],l=c[0];l--;)a=a.lastChild;k.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(r&&k.inArray(o,r)>-1)i&&i.push(o);else if(u=se(o),a=be(d.appendChild(o),"script"),u&&_e(a),n)for(l=0;o=a[l++];)ge.test(o.type||"")&&n.push(o);return d}we=a.createDocumentFragment().appendChild(a.createElement("div")),(xe=a.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),we.appendChild(xe),g.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue;var Se=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ae(){return!1}function je(e,t){return e===function(){try{return a.activeElement}catch(e){}}()==("focus"===t)}function Ne(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)Ne(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=Ae;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function Me(e,t,n){n?(Z.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=c.call(arguments),Z.set(this,t,o),r=n(this,t),this[t](),o!==(i=Z.get(this,t))||r?Z.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Z.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&k.event.add(e,t,Oe)}k.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,h,p,m,v=Z.get(e);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ae,i),n.guid||(n.guid=k.guid++),(c=v.events)||(c=v.events={}),(a=v.handle)||(a=v.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(F)||[""]).length;u--;)h=m=(s=Ce.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=k.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=k.event.special[h]||{},l=k.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=c[h])||((f=c[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),k.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,h,p,m,v=Z.hasData(e)&&Z.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(F)||[""]).length;u--;)if(h=m=(s=Ce.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=k.event.special[h]||{},f=c[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,v.handle)||k.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)k.event.remove(e,h+t[u],n,r,!0);k.isEmptyObject(c)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),c=new Array(arguments.length),u=(Z.get(this,"events")||{})[s.type]||[],l=k.event.special[s.type]||{};for(c[0]=s,t=1;t<arguments.length;t++)c[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=k.event.handlers.call(this,s,u),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<c;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?k(i,this).index(u)>-1:k.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(k.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[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&j(t,"input")&&Me(t,"click",Oe),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&j(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&j(t,"input")&&Z.get(t,"click")||j(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Ae,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&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.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:function(e){var t=e.button;return null==e.which&&Se.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return Me(this,e,je),!1},trigger:function(){return Me(this,e),!0},delegateType:t}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||k.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),k.fn.extend({on:function(e,t,n,r){return Ne(this,e,t,n,r)},one:function(e,t,n,r){return Ne(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(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=Ae),this.each(function(){k.event.remove(this,e,n,t)})}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ie=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return j(e,"table")&&j(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ue(e,t){var n,r,i,o,a,s,c,u;if(1===t.nodeType){if(Z.hasData(e)&&(o=Z.access(e),a=Z.set(t,o),u=o.events))for(i in delete a.handle,a.events={},u)for(n=0,r=u[i].length;n<r;n++)k.event.add(t,i,u[i][n]);J.hasData(e)&&(s=J.access(e),c=k.extend({},s),J.set(t,c))}}function qe(e,t,n,r){t=u.apply([],t);var i,o,a,s,c,l,d=0,f=e.length,h=f-1,p=t[0],m=y(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&Le.test(p))return e.each(function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),qe(o,t,n,r)});if(f&&(o=(i=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=k.map(be(i,"script"),Fe)).length;d<f;d++)c=i,d!==h&&(c=k.clone(c,!0,!0),s&&k.merge(a,be(c,"script"))),n.call(e[d],c,d);if(s)for(l=a[a.length-1].ownerDocument,k.map(a,Be),d=0;d<s;d++)c=a[d],ge.test(c.type||"")&&!Z.access(c,"globalEval")&&k.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):w(c.textContent.replace(De,""),c,l))}return e}function ze(e,t,n){for(var r,i=t?k.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||k.cleanData(be(r)),r.parentNode&&(n&&se(r)&&_e(be(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,c,u,l=e.cloneNode(!0),d=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=be(l),r=0,i=(o=be(e)).length;r<i;r++)s=o[r],c=a[r],u=void 0,"input"===(u=c.nodeName.toLowerCase())&&me.test(s.type)?c.checked=s.checked:"input"!==u&&"textarea"!==u||(c.defaultValue=s.defaultValue);if(t)if(n)for(o=o||be(e),a=a||be(l),r=0,i=o.length;r<i;r++)Ue(o[r],a[r]);else Ue(e,l);return(a=be(l,"script")).length>0&&_e(a,!d&&be(e,"script")),l},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(X(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),k.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return V(this,function(e){return void 0===e?k.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 qe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return qe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return qe(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&&(k.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.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&&!Ie.test(e)&&!ye[(ve.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(be(this)),n&&n.replaceChild(t,this))},e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){k.fn[e]=function(e){for(var n,r=[],i=k(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),k(i[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}});var He=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=new RegExp(oe.join("|"),"i");function Ye(e,t,n){var r,i,o,a,s=e.style;return(n=n||We(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&He.test(a)&&Ve.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 Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.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(u).appendChild(l);var e=n.getComputedStyle(l);r="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",s=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),ae.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,c,u=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o}}))}();var Ke=["Webkit","Moz","ms"],$e=a.createElement("div").style,Xe={};function Qe(e){var t=k.cssProps[e]||Xe[e];return t||(e in $e?e:Xe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in $e)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Je=/^--/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function rt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=k.css(e,n+oe[a],!0,i)),r?("content"===n&&(c-=k.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(c-=k.css(e,"border"+oe[a]+"Width",!0,i))):(c+=k.css(e,"padding"+oe[a],!0,i),"padding"!==n?c+=k.css(e,"border"+oe[a]+"Width",!0,i):s+=k.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))||0),c}function it(e,t,n){var r=We(e),i=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,a=Ye(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+rt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function ot(e,t,n,r,i){return new ot.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(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=$(t),c=Je.test(t),u=e.style;if(c||(t=Qe(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=de(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,o,a,s=$(t);return Je.test(t)||(t=Qe(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ye(e,t,r)),"normal"===i&&t in tt&&(i=tt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!Ze.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,r):le(e,et,function(){return it(e,t,r)})},set:function(e,n,r){var i,o=We(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,o),c=r?rt(e,t,r,s,o):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",!1,o)-.5)),c&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),nt(0,n,c)}}}),k.cssHooks.marginLeft=Ge(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(e,t){k.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&&(k.cssHooks[e+t].set=nt)}),k.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=We(e),i=t.length;a<i;a++)o[t[a]]=k.css(e,t[a],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,arguments.length>1)}}),k.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=k.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):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.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=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=ot.prototype.init,k.fx.step={};var at,st,ct=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function lt(){st&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,k.fx.interval),k.fx.tick())}function dt(){return n.setTimeout(function(){at=void 0}),at=Date.now()}function ft(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 ht(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=k.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var t=at||dt(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||dt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=$(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=k.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,u.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(u,e,l,u.opts))return y(r.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return k.map(l,ht,u),y(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return de(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(F);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,c,u,l,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&ue(e),v=Z.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ct.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;m=!0}h[r]=v&&v[r]||k.style(e,r)}if((c=!k.isEmptyObject(t))||!k.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=v&&v.display)&&(u=Z.get(e,"display")),"none"===(l=k.css(e,"display"))&&(u?l=u:(pe([e],!0),u=e.style.display||u,l=k.css(e,"display"),pe([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===k.css(e,"float")&&(c||(f.done(function(){p.display=u}),null==u&&(l=p.display,u="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),c=!1,h)c||(v?"hidden"in v&&(m=v.hidden):v=Z.access(e,"fxshow",{display:u}),o&&(v.hidden=!m),m&&pe([e],!0),f.done(function(){for(r in m||pe([e]),Z.remove(e,"fxshow"),h)k.style(e,r,h[r])})),c=ht(m?v[r]:0,r,f),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.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&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=k.isEmptyObject(e),o=k.speed(t,n,r),a=function(){var t=pt(this,k.extend({},e),o);(i||Z.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&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=k.timers,a=Z.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ut.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||k.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Z.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=k.timers,a=r?r.length:0;for(n.finish=!0,k.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})}}),k.each(["toggle","show","hide"],function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,i)}}),k.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),at=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){st||(st=!0,lt())},k.fx.stop=function(){st=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var mt,vt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return V(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void k.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=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&j(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(F);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vt[t]||k.find.attr;vt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=vt[a],vt[a]=i,i=null!=n(e,t,r)?a:null,vt[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function bt(e){return(e.match(F)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}k.fn.extend({prop:function(e,t){return V(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.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=k.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,c=0;if(y(e))return this.each(function(t){k(this).addClass(e.call(this,t,_t(this)))});if((t=wt(e)).length)for(;n=this[c++];)if(i=_t(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=bt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,c=0;if(y(e))return this.each(function(t){k(this).removeClass(e.call(this,t,_t(this)))});if(!arguments.length)return this.attr("class","");if((t=wt(e)).length)for(;n=this[c++];)if(i=_t(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=bt(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){k(this).toggleClass(e.call(this,n,_t(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=k(this),a=wt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=_t(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(_t(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;k.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,k(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=k.map(i,function(e){return null==e?"":e+""})),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(xt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:bt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!j(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=k.makeArray(t),a=i.length;a--;)((r=i[a]).selected=k.inArray(k.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var kt=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,i){var o,s,c,u,l,d,f,h,m=[r||a],v=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(s=h=c=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!kt.test(v+k.event.triggered)&&(v.indexOf(".")>-1&&(g=v.split("."),v=g.shift(),g.sort()),l=v.indexOf(":")<0&&"on"+v,(e=e[k.expando]?e:new k.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:k.makeArray(t,[e]),f=k.event.special[v]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!b(r)){for(u=f.delegateType||v,kt.test(u+v)||(s=s.parentNode);s;s=s.parentNode)m.push(s),c=s;c===(r.ownerDocument||a)&&m.push(c.defaultView||c.parentWindow||n)}for(o=0;(s=m[o++])&&!e.isPropagationStopped();)h=s,e.type=o>1?u:f.bindType||v,(d=(Z.get(s,"events")||{})[e.type]&&Z.get(s,"handle"))&&d.apply(s,t),(d=l&&s[l])&&d.apply&&X(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(m.pop(),t)||!X(r)||l&&y(r[v])&&!b(r)&&((c=r[l])&&(r[l]=null),k.event.triggered=v,e.isPropagationStopped()&&h.addEventListener(v,Et),r[v](),e.isPropagationStopped()&&h.removeEventListener(v,Et),k.event.triggered=void 0,c&&(r[l]=c)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Z.access(r,t);i||r.addEventListener(e,n,!0),Z.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Z.access(r,t)-1;i?Z.access(r,t,i):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}});var St=n.location,Tt=Date.now(),Ct=/\?/;k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var Ot=/\[\]$/,At=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Mt(e,t,n,r){var i;if(Array.isArray(t))k.each(t,function(t,i){n||Ot.test(e)?r(e,i):Mt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)Mt(e+"["+i+"]",t[i],n,r)}k.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&&!k.isPlainObject(e))k.each(e,function(){i(this.name,this.value)});else for(n in e)Mt(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Nt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Pt=/%20/g,It=/#.*$/,Lt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Ft=/^\/\//,Bt={},Ut={},qt="*/".concat("*"),zt=a.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(F)||[];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 Wt(e,t,n,r){var i={},o=e===Ut;function a(s){var c;return i[s]=!0,k.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),c}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Vt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}zt.href=St.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,k.ajaxSettings),t):Vt(k.ajaxSettings,e)},ajaxPrefilter:Ht(Bt),ajaxTransport:Ht(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,c,u,l,d,f,h,p=k.ajaxSetup({},t),m=p.context||p,v=p.context&&(m.nodeType||m.jquery)?k(m):k.event,g=k.Deferred(),y=k.Callbacks("once memory"),b=p.statusCode||{},_={},w={},x="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Dt.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),S(0,t),this}};if(g.promise(E),p.url=((e||p.url||St.href)+"").replace(Ft,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){u=a.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Wt(Bt,p,t,E),l)return E;for(f in(d=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Rt.test(p.type),i=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(h=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ct.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Lt,"$1"),h=(Ct.test(i)?"&":"?")+"_="+Tt+++h),p.url=i+h),p.ifModified&&(k.lastModified[i]&&E.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&E.setRequestHeader("If-None-Match",k.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qt+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(m,E,p)||l))return E.abort();if(x="abort",y.add(p.complete),E.done(p.success),E.fail(p.error),r=Wt(Ut,p,t,E)){if(E.readyState=1,d&&v.trigger("ajaxSend",[E,p]),l)return E;p.async&&p.timeout>0&&(c=n.setTimeout(function(){E.abort("timeout")},p.timeout));try{l=!1,r.send(_,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,s){var u,f,h,_,w,x=t;l||(l=!0,c&&n.clearTimeout(c),r=void 0,o=s||"",E.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(p,E,a)),_=function(e,t,n,r){var i,o,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=u[c+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[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 "+c+" to "+o}}}return{state:"success",data:t}}(p,_,E,u),u?(p.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(k.etag[i]=w)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,u=!(h=_.error))):(h=x,!e&&x||(x="error",e<0&&(e=0))),E.status=e,E.statusText=(t||x)+"",u?g.resolveWith(m,[f,x,E]):g.rejectWith(m,[E,x,h]),E.statusCode(b),b=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[E,p,u?f:h]),y.fireWith(m,[E,x]),d&&(v.trigger("ajaxComplete",[E,p]),--k.active||k.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,t){k[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:n,success:r},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e,t){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=k(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){k(this).wrapInner(e.call(this,t))}):this.each(function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(n){k(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Gt=k.ajaxSettings.xhr();g.cors=!!Gt&&"withCredentials"in Gt,g.ajax=Gt=!!Gt,k.ajaxTransport(function(e){var t,r;if(g.cors||Gt&&!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=r=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(Yt[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(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=k("<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)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Kt,$t=[],Xt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||k.expando+"_"+Tt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.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(Xt,"$1"+i):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||k.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?k(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,$t.push(i)),a&&y(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((Kt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=Ee([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=bt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,c,u=k.css(e,"position"),l=k(e),d={};"static"===u&&(e.style.position="relative"),s=l.offset(),o=k.css(e,"top"),c=k.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+c).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),y(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):l.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.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"===k.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"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ae})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;k.fn[e]=function(r){return V(this,function(e,r,i){var o;if(b(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)}}),k.each(["top","left"],function(e,t){k.cssHooks[t]=Ge(g.pixelPosition,function(e,n){if(n)return n=Ye(e,t),He.test(n)?k(e).position()[t]+"px":n})}),k.each({Height:"height",Width:"width"},function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){k.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 b(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?k.css(t,n,s):k.style(t,n,i,s)},t,a?i:void 0,a)}})}),k.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){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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)}}),k.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=c.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(c.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=j,k.isFunction=y,k.isWindow=b,k.camelCase=$,k.type=x,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return k}.apply(t,[]))||(e.exports=r);var Qt=n.jQuery,Zt=n.$;return k.noConflict=function(e){return n.$===k&&(n.$=Zt),e&&n.jQuery===k&&(n.jQuery=Qt),k},i||(n.jQuery=n.$=k),k})},function(e,t,n){var r=n(20),i=n(187);e.exports=r(i)},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"b",function(){return p});var r=n(269),i=n(7),o=n.n(i),a=(n(40),n(759)),s=n.n(a),c=n(131),u=n.n(c),l=n(24),d=n.n(l),f=(n(593),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.a.apply(void 0,Object(r.a)(s()(1,t)))(u()(t))}),h=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];return d.a.apply(void 0,n)(e)},p=Function.prototype},function(e,t,n){e.exports=n(1776)},function(e,t,n){var r=n(18),i=n(132),o=n(3),a=n(27),s=n(4),c=n(135),u=n(1922),l=n(1923),d=n(949).type("Async"),f=n(949).typeFn(d(),5),h=n(554),p=n(1926),m=n(1941),v=n(1942),g=n(1943),y=n(725),b=n(1944),_=n(290),w=n(1945),x=n(1947),k=n(726),E=function(e){return c(e).call(e,function(e,t){return e&&k(T,t)},!0)},S=function(e){return T(function(t,n){return n(e)})};function T(e){var t;if(!_(e))throw new TypeError("Async: Function required");var n=S,a=function(){return"Async"+l(e)};function s(t,n,r){if(!_(t)||!_(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,a=!1,s=_(r)?r:g,c=function(e,t){if(!a)return a=!0,i?g():e(t)},u=e(o(c).call(c,null,t),o(c).call(c,null,n)),l=_(u)?u:g;return v(function(){return s((l(),void(i=!0)))})}function c(e){return function(t){if(!_(t))throw new TypeError("Async."+e+": Function required");return T(function(e,n){return s(e,m(n,t))})}}function u(e){return function(t,n){if(!_(t)||!_(n))throw new TypeError("Async."+e+": Functions required for both arguments");return T(function(e,r){return s(m(e,t),m(r,n))})}}function p(e){return function(t){if(!k(T,t))throw new TypeError("Async."+e+": Async required");return T(function(e,n){var r=g,i=g;return r=s(function(){i=t.fork(e,n)},n),v(function(){return i(r())})})}}function y(e){return function(t){if(!_(t))throw new TypeError("Async."+e+": Async returning function required");return T(function(n,r){var i=g,o=g;return i=s(n,function(i){var a=t(i);if(!k(T,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),v(function(){return o(i())})})}}return(t={fork:s,toPromise:function(){return new i(function(e,t){s(t,e)})},inspect:a,toString:a,type:d,swap:function(e,t){if(!_(e)||!_(t))throw new TypeError("Async.swap: Functions required for both arguments");return T(function(n,r){return s(m(r,e),m(n,t))})},race:function(e){if(!k(T,e))throw new TypeError("Async.race: Async required");return T(function(t,n){var r=v(function(e,r){return e?n(r):t(r)}),i=o(r).call(r,null,!0),a=o(r).call(r,null,!1),c=s(a,i),u=e.fork(a,i);return function(){c(),u()}})},coalesce:function(e,t){if(!_(e)||!_(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return T(function(n,r){return s(m(r,e),m(r,t))})},ap:function(e){if(!k(T,e))throw new TypeError("Async.ap: Async required");return T(function(t,n){var r=null,i=null,o=!1,a=!1,c=!1,u=v(t);function l(){!c&&o&&a&&m(n,r)(i)}var d=s(u,function(e){if(!_(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,l()}),f=e.fork(u,function(e){a=!0,i=e,l()});return function(){d(),f(),c=!0}})},of:n,alt:p("alt"),bimap:u("bimap"),map:c("map"),chain:y("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!_(e)||!_(t))throw new TypeError(n);return T(function(r,i){var o=g,a=g;function c(e){return function(t){var o=e(t);if(!k(T,o))throw new TypeError(n);a=o.fork(r,i)}}return o=s(c(e),c(t)),v(function(){return a(o())})})}})[h.of]=n,t[h.alt]=p(h.alt),t[h.bimap]=u(h.bimap),t[r(h)]=c(r(h)),t[h.chain]=y(h.chain),t["@@type"]=f,t.constructor=T,t}T.of=S,T.type=d,T[h.of]=S,T["@@type"]=f,T.Rejected=function(e){return T(function(t){return t(e)})},T.Resolved=S,T.fromPromise=function(e){if(!_(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(!x(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)})}},T.fromNode=function(e,t){if(!_(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return T(function(r,i){e.apply(t,s(n).call(n,function(e,t){return e?r(e):i(t)}))})}},T.all=function(e){if(!b(e)||!E(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return y(e)?p.sequence(T.of,e):e.sequence(T.of)},T.rejectAfter=function(e,t){if(!(w(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return T(function(n){var r=a(function(){n(t)},e);return function(){clearTimeout(r)}})},T.resolveAfter=function(e,t){if(!(w(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return T(function(n,r){var i=a(function(){r(t)},e);return function(){clearTimeout(i)}})},T["@@implements"]=u(["alt","ap","bimap","chain","map","of"]),e.exports=T},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(101);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){var r=n(110),i=n(872),o=n(235),a=n(174),s=n(530),c=n(873),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,d){var f,h,p,m,v,g,y,b=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(p=0,m=o(e.length);m>p;p++)if((v=l?b(r(y=e[p])[0],y[1]):b(e[p]))&&v instanceof u)return v;return new u(!1)}f=h.call(e)}for(g=f.next;!(y=g.call(f)).done;)if("object"==typeof(v=c(f,b,y.value,l))&&v&&v instanceof u)return v;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){var r=n(321),i=n(711);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))return t.apply(null,o)(a)}return n.apply(this,arguments)}}},function(e,t,n){var r=n(20);e.exports=r(function(e,t){var n={};return n[e]=t,n})},function(e,t,n){(function(t){var n="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",r=t.crypto||t.msCrypto,i=Math.floor,o=Math.random;e.exports=r&&r.getRandomValues?function(e){void 0===e&&(e=16);var t=new Uint8Array(e);return r.getRandomValues(t),"function"!=typeof t.reduce&&(t=[].slice.call(t)),t.reduce(function(e,t){return e+n[t%64]},"")}:function(e){void 0===e&&(e=16);for(var t="";t.length<e;)t+=n[i(o()*n.length)];return t}}).call(this,n(100))},function(e,t,n){var r=n(101),i=n(173),o=n(715),a=n(217).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){e.exports=n(1660)},function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return y});var r,i=n(15),o=n(48),a=n.n(o),s=n(16),c=n.n(s),u=n(30),l=n.n(u),d=n(67),f=a()("rise/sessionPreferences/"),h=f("LOAD_SESSION_PREFERENCES"),p=f("SET_PREFERS_KEYBOARD_NAVIGATION"),m=f("SET_STARTING_COURSE_LESSON_SELECTED");t.a=Object(d.c)({prefersKeyboardNavigation:!1,startedCourseWithLessonSelected:!1},(r={},Object(i.a)(r,h,l.a),Object(i.a)(r,p,function(e,t){return l()(e,{prefersKeyboardNavigation:t})}),Object(i.a)(r,m,function(e,t){return l()(e,{startedCourseWithLessonSelected:t})}),r));var v=c()(Object(d.a)(h,null)),g=Object(d.a)(p),y=Object(d.a)(m)},function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"c",function(){return w}),n.d(t,"a",function(){return x});var r=n(786),i=n.n(r),o=n(397),a=n.n(o),s=n(1234),c=n.n(s),u=n(787),l=n.n(u),d=n(1235),f=n.n(d),h=n(788),p=n.n(h),m=n(772),v=n.n(m),g=n(42),y=n.n(g),b=p()(l.a),_=y()(l.a,function(){return{}}),w=p()(c.a),x=a()(i()(w),i()(f.a));v()(x)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t,n){e.exports=n(1674)},function(e,t,n){e.exports=n(1683)},function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return y});var r,i=n(18),o=n.n(i),a=n(53),s=n.n(a),c=n(369),u=n.n(c),l=n(617),d=n.n(l),f=n(142),h=n.n(f),p=n(46),m=n(618),v=n.n(m),g=function(e){return!!e&&1-function(e){if(!e)return 0;var t=v()(e),n=Object(p.a)(t,3);return.2126*n[0]+.7152*n[1]+.0722*n[2]}(e)/255>.4},y=function(e,t){var n=function(e){var t,n;if(!e)return null;var r=h()(e.substr(1),16);return d()(r)?null:u()(t=u()(n=r.toString(16)).call(n,6,"0")).call(t,7,"#")}(t);return n&&7===n.length?n:e},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"#"+o()(e).call(e,function(e){var t;return u()(t=Math.min(255,Math.max(0,Math.round(e))).toString(16)).call(t,2,"0")}).join("")};r=.9},function(e,t,n){var r=n(237),i=n(921);e.exports=i(r)},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){var r=n(124);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){e.exports=n(1690)},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(n[t])})},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",function(){return i})},function(e,t,n){"use strict";var r,i=n(4),o=n.n(i),a=n(269),s=n(34),c=n(169),u={DRAW_FROM_QUESTION_BANK:"DRAW_FROM_QUESTION_BANK",FILL_IN_THE_BLANK:"FILL_IN_THE_BLANK",MATCHING:"MATCHING",MULTIPLE_CHOICE:"MULTIPLE_CHOICE",MULTIPLE_RESPONSE:"MULTIPLE_RESPONSE"};o()(r=[{icon:s.y,label:"Multiple Choice",type:u.MULTIPLE_CHOICE},{icon:s.z,label:"Multiple Response",type:u.MULTIPLE_RESPONSE},{icon:s.t,label:"Fill In The Blank",type:u.FILL_IN_THE_BLANK},{icon:s.x,label:"Matching",type:u.MATCHING}]).call(r,Object(a.a)(Object(c.a)("questionBanks")?[{icon:s.j,label:"Draw From Question Bank",type:u.DRAW_FROM_QUESTION_BANK}]:[]));t.a=u},function(e,t,n){var r=n(314),i=n(427),o=n(133),a=n(108),s=n(433);e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d,h=t||s;return function(t,s,p){for(var m,v,g=o(t),y=i(g),b=r(s,p,3),_=a(y.length),w=0,x=n?h(t,_):c?h(t,0):void 0;_>w;w++)if((f||w in y)&&(v=b(m=y[w],w,g),e))if(n)x[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(l)return!1;return d?-1:u||l?l:x}}},function(e,t,n){e.exports=n(1889)},function(e,t,n){"use strict";var r=n(140),i=n.n(r),o=n(29),a=n.n(o),s=n(21),c=n(411),u=n.n(c),l=n(109),d=n.n(l),f=Object(s.c)("SESSION_COOKIE_DOMAIN"),h=function(){try{var e="__pay_no_attention_to_that_man_behind_the_curtain__",t=window.localStorage;return t.setItem(e,e),t.removeItem(e),!0}catch(e){return!1}}(),p=function(e){return h?window.localStorage.getItem(e):null},m=function(e,t){if(!h)return null;window.localStorage.setItem(e,t)},v=(d()(function(e,t){return m(e,t),u.a.save(e,t,{domain:f}),t}),n(98));n.d(t,"a",function(){return _});var g={bigHeadMode:{name:"Big Head Mode",description:"Enables big head mode, a way to easily test feature flagging."},copyLink:{name:"Course Copy Link",description:"Enables course copy link availability."},customVideo:{name:"Custom Videos",description:"Enables custom video blocks for streaming videos."},modernOverview:{name:"Modern Overview",defaults:{rise:!0},description:"Enables modern course overview.",overrides:{360:!1}},questionBanks:{name:"Question Banks",description:"Enables question banks."}},y=function(e){return"feature-".concat(e)},b=function(e){var t=g[e];return!!t&&(!(!t.defaults||!t.defaults[Object(s.c)("SERVICE_PRODUCT")])&&t.defaults[Object(s.c)("SERVICE_PRODUCT")])},_=function(e){return function(e){var t=(g[e]||{}).overrides,n=Object(s.c)("SERVICE_PRODUCT");return t&&i()(n,t)}(e)?function(e){var t=(g[e]||{}).overrides,n=Object(s.c)("SERVICE_PRODUCT");return t&&t[n]}(e):Object(v.h)()?function(e){if(g[e]){var t=y(e),n=p(t);return a()(n)?b(e):"true"===n}}(e):b(e)}},function(e,t,n){"use strict";var r=!0,i="Invariant failed";t.a=function(e,t){if(!e){if(r)throw new Error(i);throw new Error(i+": "+(t||""))}}},function(e,t,n){e.exports=n(2264)()},function(e,t,n){var r=n(123),i=n(341);e.exports=n(105)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(145);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)}}},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t,n){var r=n(296),i=n(583);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)}}}},function(e,t,n){var r=n(237),i=n(50),o=n(54);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)})})},function(e,t){e.exports={"@@functional/placeholder":!0}},function(e,t,n){e.exports=n(1732)},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"e",function(){return h});var r=n(48),i=n.n(r),o=n(67),a=n(138),s=i()("rise/rise-com/"),c=s("FAVORITE_ADDED"),u=s("FAVORITE_REMOVED"),l=function(){return Object(o.d)(a.a)},d=function(){return Object(o.a)(c,void 0)},f=function(){return Object(o.d)(a.i)},h=function(){return Object(o.a)(u,void 0)}},function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return h}),n.d(t,"f",function(){return p}),n.d(t,"g",function(){return m});var r=n(15),i=n(48),o=n.n(i),a=n(30),s=n.n(a),c=n(67),u=o()("rise/status/")("SET_LOADED");t.a=Object(c.c)({connection:"connected",courseLoaded:!1,fontsLoaded:!1,notFound:!1,partnerContentLoaded:!1},Object(r.a)({},u,function(e,t){return s()(e,t)}));var l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{fontsLoaded:e})},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{courseLoaded:e})},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"connected";return Object(c.a)(u,{connection:e})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{coverLoaded:e})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{notFound:e})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{partnerContentLoaded:e})}},function(e,t,n){e.exports={F:n(1786),T:n(72),__:n(178),add:n(261),addIndex:n(177),adjust:n(361),all:n(301),allPass:n(760),always:n(16),and:n(925),any:n(590),anyPass:n(478),ap:n(719),aperture:n(1787),append:n(206),apply:n(591),applySpec:n(1790),ascend:n(479),assoc:n(26),assocPath:n(920),binary:n(1791),bind:n(911),both:n(127),call:n(1792),chain:n(722),clamp:n(1796),clone:n(1797),comparator:n(1798),complement:n(76),compose:n(7),composeK:n(931),composeP:n(761),concat:n(48),cond:n(40),construct:n(1799),constructN:n(932),contains:n(78),converge:n(588),countBy:n(1800),curry:n(79),curryN:n(54),dec:n(193),defaultTo:n(126),descend:n(1802),difference:n(594),differenceWith:n(933),dissoc:n(222),dissocPath:n(1803),divide:n(300),drop:n(595),dropLast:n(759),dropLastWhile:n(1805),dropRepeats:n(1808),dropRepeatsWith:n(935),dropWhile:n(1809),either:n(112),empty:n(922),endsWith:n(1811),eqBy:n(1812),eqProps:n(762),equals:n(35),evolve:n(89),filter:n(44),find:n(51),findIndex:n(117),findLast:n(763),findLastIndex:n(1815),flatten:n(208),flip:n(47),forEach:n(608),forEachObjIndexed:n(1817),fromPairs:n(329),groupBy:n(1818),groupWith:n(1819),gt:n(223),gte:n(480),has:n(140),hasIn:n(1820),head:n(70),identical:n(866),identity:n(56),ifElse:n(83),inc:n(88),indexBy:n(1821),indexOf:n(362),init:n(1822),innerJoin:n(1823),insert:n(758),insertAll:n(1824),intersection:n(1825),intersectionWith:n(1827),intersperse:n(1828),into:n(1829),invert:n(1831),invertObj:n(1832),invoker:n(458),is:n(386),isEmpty:n(60),isNil:n(29),join:n(207),juxt:n(387),keys:n(82),keysIn:n(1833),last:n(131),lastIndexOf:n(1834),length:n(45),lens:n(549),lensIndex:n(1835),lensPath:n(77),lensProp:n(90),lift:n(548),liftN:n(918),lt:n(265),lte:n(302),map:n(32),mapAccum:n(1836),mapAccumRight:n(1837),mapObjIndexed:n(116),match:n(303),mathMod:n(1838),max:n(325),maxBy:n(1839),mean:n(938),median:n(1840),memoize:n(1841),memoizeWith:n(388),merge:n(30),mergeAll:n(271),mergeDeepLeft:n(1842),mergeDeepRight:n(764),mergeDeepWith:n(1843),mergeDeepWithKey:n(553),mergeWith:n(1844),mergeWithKey:n(724),min:n(1845),minBy:n(1846),modulo:n(1847),multiply:n(262),nAry:n(550),negate:n(765),none:n(1848),not:n(96),nth:n(297),nthArg:n(1849),o:n(1850),objOf:n(149),of:n(481),omit:n(73),once:n(1852),or:n(589),over:n(49),pair:n(1853),partial:n(160),partialRight:n(1854),partition:n(1855),path:n(28),pathEq:n(266),pathOr:n(22),pathSatisfies:n(482),pick:n(84),pickAll:n(939),pickBy:n(1856),pipe:n(24),pipeK:n(1857),pipeP:n(593),pluck:n(238),prepend:n(389),product:n(1858),project:n(1859),prop:n(13),propEq:n(14),propIs:n(1860),propOr:n(36),propSatisfies:n(164),props:n(483),range:n(474),reduce:n(115),reduceBy:n(551),reduceRight:n(941),reduceWhile:n(1861),reduced:n(1862),reject:n(125),remove:n(592),repeat:n(1863),replace:n(239),reverse:n(544),scan:n(1864),sequence:n(943),set:n(263),slice:n(189),sort:n(363),sortBy:n(766),sortWith:n(1865),split:n(298),splitAt:n(1866),splitEvery:n(1867),splitWhen:n(1868),startsWith:n(767),subtract:n(1869),sum:n(394),symmetricDifference:n(768),symmetricDifferenceWith:n(1870),tail:n(470),take:n(721),takeLast:n(936),takeLastWhile:n(1871),takeWhile:n(1872),tap:n(121),test:n(272),times:n(942),toLower:n(299),toPairs:n(240),toPairsIn:n(1875),toString:n(459),toUpper:n(769),transduce:n(484),transpose:n(1876),traverse:n(1877),trim:n(241),tryCatch:n(1878),type:n(694),unapply:n(1879),unary:n(609),uncurryN:n(194),unfold:n(1880),union:n(1881),unionWith:n(1882),uniq:n(472),uniqBy:n(937),uniqWith:n(723),unless:n(92),unnest:n(1883),until:n(1884),update:n(471),useWith:n(940),values:n(69),valuesIn:n(1885),view:n(485),when:n(42),where:n(944),whereEq:n(770),without:n(330),xprod:n(1886),zip:n(395),zipObj:n(1887),zipWith:n(1888)}},function(e,t,n){"use strict";n.d(t,"b",function(){return h}),n.d(t,"a",function(){return y}),n.d(t,"d",function(){return b}),n.d(t,"c",function(){return _});var r=n(76),i=n.n(r),o=n(7),a=n.n(o),s=n(35),c=n.n(s),u=n(22),l=n.n(u),d=n(14),f=n.n(d),h=f()("navigationMode","restricted"),p=c()("SIDEBAR"),m=l()("SIDEBAR",["theme","navigationType"]),v=a()(p,m),g=f()("sidebarMode"),y=i()(g("hidden")),b=g("open"),_=function(e){var t=e.course,n=e.search;return v(t)&&y(t)||n.active}},function(e,t,n){e.exports=n(2258)()},function(e,t,n){var r=n(105),i=n(426),o=n(341),a=n(198),s=n(232),c=n(144),u=n(807),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(65),i=n(172),o=n(144),a=n(657),s=n(808),c=n(214),u=c.get,l=c.enforce,d=String(s).split("toString");n(428)("inspectSource",function(e){return s.call(e)}),(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(c?!f&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s.call(this)})},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(220),i=n(555);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)}}}},function(e,t,n){var r=n(455),i=n(61);e.exports=i(r("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}))},function(e,t,n){"use strict";var r=n(0),i=n(2042),o=n(2045);function a(){}a.prototype=Object.create(r.Component.prototype),a.displayName="DocumentTitle",a.propTypes={title:i.string.isRequired},a.prototype.render=function(){return this.props.children?r.Children.only(this.props.children):null},e.exports=o(function(e){var t=e[e.length-1];if(t)return t.title},function(e){var t=e||"";t!==document.title&&(document.title=t)})(a)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return h});var r=n(23),i=n(3),o=n.n(i),a=n(9),s=n(6),c=n(10),u=n(8),l=n(5),d=n(11),f=n(64),h=function(t){function n(e){var t,r,i,s,d,f;return Object(a.a)(this,n),(f=Object(c.a)(this,Object(u.a)(n).call(this,e))).handleTransition=o()(t=f.handleTransition).call(t,Object(l.a)(f)),f.onEnter=o()(r=f.onEnter).call(r,Object(l.a)(f)),f.onEntered=o()(i=f.onEntered).call(i,Object(l.a)(f)),f.onExit=o()(s=f.onExit).call(s,Object(l.a)(f)),f.onExited=o()(d=f.onExited).call(d,Object(l.a)(f)),f}return Object(d.a)(n,t),Object(s.a)(n,[{key:"handleTransition",value:function(e,t){var n=this.transitionState;"entering"===n?this.onEnter(t):"exiting"===n&&this.onExit(t)}},{key:"onEnter",value:function(e){var t=this.child;t&&t.componentWillEnter?t.componentWillEnter(e):e()}},{key:"onEntered",value:function(){var e=this.child;e&&e.componentDidEnter&&e.componentDidEnter()}},{key:"onExit",value:function(e){var t=this.child;t&&t.componentWillExit?t.componentWillExit(e):e()}},{key:"onExited",value:function(){var e=this.child;e&&e.componentDidExit&&e.componentDidExit()}},{key:"render",value:function(){var t=this,n=this.props.children;return e.createElement(f.Transition,Object(r.a)({addEndListener:this.handleTransition,onEntered:this.onEntered,onExited:this.onExited,unmountOnExit:!0},this.props),function(r){return t.transitionState=r,n&&e.cloneElement(e.Children.only(n),{ref:function(e){return t.child=e}})})}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(21);t.a=function(e){return Object(r.d)()?e:((t=e)?"".concat(t," | "):"")+r.a;var t}},function(e,t,n){var r=n(261);e.exports=r(-1)},function(e,t,n){var r=n(20),i=n(54);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})})},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(5),l=n(11),d=(n(2555),n(0)),f=n.n(d),h=n(128),p=n.n(h),m=n(129),v=n(18),g=n.n(v),y=n(15),b=n(2),_=n.n(b),w=n(598),x=n(408),k=n(64),E=n(52),S=n(102),T=n(44),C=n.n(T),O=n(60),A=n.n(O),j=n(32),N=n.n(j),M=n(24),P=n.n(M),I=n(78),L=n.n(I),D=n(332),R=n(116),F=n.n(R),B=n(303),U=n.n(B),q=n(69),z=n.n(q),H=n(604),W=n(221),V=n.n(W),Y=n(29),G=n.n(Y),K=V.a,$=function(e){return!G()(e)&&"object"===Object(H.a)(e)},X=function(e){return"string"==typeof e},Q=function(e,t){return function(n){return P()(F.a,z.a,L()(!0))(function(e,t){return function(n,r){var i=L()(r,e);return $(n)?Q(e,t)(n):!(!i||!X(n)||A()(U()(t,Object(D.htmlDecode)(n))))}}(e,t),n)}},Z=Q,J=n(261),ee=n.n(J),te=n(26),ne=n.n(te),re=n(208),ie=n.n(re),oe=n(45),ae=n.n(oe),se=n(115),ce=n.n(se),ue=function(e,t){return function(n){return F()(function(e,t){return function(n,r){var i=L()(r,e);return K(n)?z()(ue(e,t)(n)):$(n)?ue(e,t)(n):i&&X(n)?ae()(U()(t,Object(D.htmlDecode)(n))):0}}(e,t),n)}},le=function e(t){return K(t)?N()(e,t):$(t)?e(z()(t)):function(e){return"number"==typeof e}(t)?t:void 0},de=function(e,t){return function(n){return P()(ue(e,t),z.a,N()(le),ie.a,ce()(ee.a,0),function(e){return ne()("results",e,n)})(n)}},fe=n(239),he=n.n(fe),pe=function(e,t,n){return function(r){return F()(function(e,t,n){return function(r,i){var o=L()(i,e);return K(r)?z()(pe(e,t,n)(r)):$(r)?pe(e,t,n)(r):o&&X(r)?he()(t,n,Object(D.htmlDecode)(r)):r}}(e,t,n),r)}},me=pe,ve=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(A()(e))return!1;var i=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),o=new RegExp("(".concat(i,")(?![^<]*>)"),"ig"),a=me(r,o,function(e){return"<mark>".concat(e,"</mark>")}),s=N()(a,t),c=Z(r,o),u=de(r,o);n(e,P()(C()(c),N()(u))(t),s)},ge=n(487),ye=n(17),be=n(33),_e=n(25),we=n(227),xe=n(309),ke=n(16),Ee=n.n(ke),Se=n(7),Te=n.n(Se),Ce=n(89),Oe=n.n(Ce),Ae=function(e){function t(e){var n,r,a,l,d,f,h,p,m,v,g,b;return Object(o.a)(this,t),(b=Object(s.a)(this,Object(c.a)(t).call(this,e))).state={coverImageLoaded:!1,focusName:null,searchActive:!1,searchValue:"",showSkipButton:!1},b.focusRefs=(n={},Object(y.a)(n,Me({isClone:!0}),{}),Object(y.a)(n,Me({isClone:!1}),{}),n),b.handleBlur=i()(r=b.handleBlur).call(r,Object(u.a)(b)),b.handleFocus=i()(a=b.handleFocus).call(a,Object(u.a)(b)),b.handleSearchChange=i()(l=b.handleSearchChange).call(l,Object(u.a)(b)),b.handleSearchClose=i()(d=b.handleSearchClose).call(d,Object(u.a)(b)),b.handleSearchSubmit=i()(f=b.handleSearchSubmit).call(f,Object(u.a)(b)),b.handleSearchToggle=i()(h=b.handleSearchToggle).call(h,Object(u.a)(b)),b.handleSkipButtonBlur=i()(p=b.setDisplaySkipButton).call(p,Object(u.a)(b),!1),b.handleSkipButtonFocus=i()(m=b.setDisplaySkipButton).call(m,Object(u.a)(b),!0),b.handleSkipButtonClick=i()(v=b.handleSkipButtonClick).call(v,Object(u.a)(b)),b.handleTransitionEnd=i()(g=b.handleTransitionEnd).call(g,Object(u.a)(b)),b}return Object(l.a)(t,e),Object(a.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.coverImage,n=t.media,r=void 0===n?{}:n,i=t.displaySidebar,o=r.image,a=void 0===o?{}:o,s=a.key,c=s&&Object(E.a)(a);s&&i&&(this.image=new Image,this.image.src=c,this.image.addEventListener("load",this.imageLoadRef=function(){e.setState({coverImageLoaded:!0})})),this.clone.addEventListener("transitionend",this.handleTransitionEnd)}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.removeEventListener("load",this.imageLoadRef),this.image=null),this.clone.removeEventListener("transitionend",this.handleTransitionEnd)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.showClone,i=n.showSearch,o=this.state.focusName;e.showSearch!==i&&this.setState({searchActive:i},function(){i&&t.searchInput&&t.focusRef({name:"searchInput"})}),e.showClone!==r&&!r&&o&&this.focusRef({name:o})}},{key:"coverStyles",value:function(e){var t=this.props,n=t.coverImage,r=t.showClone,i=this.state.searchActive,o=n.media,a=void 0===o?{}:o,s=n.displaySidebar,c=a.image,u=void 0===c?{}:c,l=u.key,d=l&&Object(E.a)(u),f=i&&e&&r?this.headerHeight:null;return l&&s?{backgroundImage:"url('".concat(d,"')"),height:f}:null}},{key:"getCloneHeaderHeight",value:function(){return this.clone.offsetHeight}},{key:"focus",value:function(){this.props.sessionPreferences.prefersKeyboardNavigation?Object(ye.c)(this.header):this.header.focus()}},{key:"focusRef",value:function(e){var t=e.name,n=this.props.showClone,r=Me({isClone:n}),i=this.focusRefs[r][t];i&&i.focus()}},{key:"addFocusRef",value:function(e){var t=this,n=e.isClone,r=e.name,i=Me({isClone:n});return function(e){t.focusRefs[i][r]=e}}},{key:"handleBlur",value:function(){this.setState({focusName:null})}},{key:"handleFocus",value:function(e){var t=e.target.dataset.focusName;this.setState({focusName:t||null})}},{key:"handleSkipButtonClick",value:function(){(0,this.props.focusLessonContent)()}},{key:"handleSearchChange",value:function(e){var t=e.target.value;this.setState({searchValue:t},function(){return Object(be.a)([Object(xe.b)(!0)])})}},{key:"handleSearchClose",value:function(e){Object(_e.f)(e)&&this.handleSearchToggle()}},{key:"handleSearchSubmit",value:function(e){e.preventDefault();var t=e.target.lastChild.value,n=this.props.lessons;ve(t,n,function(e,t,n){return Object(be.a)([Object(xe.f)(e),Object(xe.d)(t),Object(xe.e)(n)])})}},{key:"handleSearchToggle",value:function(){var e=this,t=this.state.searchActive,n=this.props.showSearch;Object(be.a)([Object(xe.b)(n),Object(xe.c)(!n)]),this.setState({searchActive:!n},function(){t?e.setState({focusName:null,searchValue:""},function(){e.focusRef({name:"showSearch"})}):e.focusRef({name:"searchInput"})})}},{key:"handleTransitionEnd",value:function(e){var t=e.target,n=e.propertyName,r=this.state.focusName,i=this.props.showClone;t===this.clone&&"top"===n&&i&&r&&this.focusRef({name:r})}},{key:"setDisplaySkipButton",value:function(e){this.setState({showSkipButton:e})}},{key:"setHeaderDimensions",value:function(){this.headerHeight=this.headerWrapper?this.headerWrapper.offsetHeight:null,this.headerWidth=this.headerWrapper?this.headerWrapper.offsetWidth:null}},{key:"renderInfo",value:function(e){var t=this,n=e.isClone,r=this.props,i=r.allowTabNavigation,o=r.children,a=r.courseTitle,s=r.skipLinkText,c=r.showClone,u=this.state,l=u.showSkipButton,d=u.searchActive,h=Pe({allowTabNavigation:i,isClone:n,showClone:c}),p=_()("overview-sidebar__info",{"overview-sidebar__info--faded":d}),m=_()("overview-sidebar__skip-button",{"overview-sidebar__skip-button--offscreen":!l});return f.a.createElement("div",{className:p,ref:n?null:function(e){return t.header=e},tabIndex:ye.i},f.a.createElement(S.a,{to:"/",className:"overview-sidebar__title","data-focus-name":"title",innerRef:this.addFocusRef({isClone:n,name:"title"}),tabIndex:h},a),f.a.createElement("button",{"aria-label":s,className:m,"data-focus-name":"skip",onBlur:this.handleSkipButtonBlur,onClick:this.handleSkipButtonClick,onFocus:this.handleSkipButtonFocus,ref:this.addFocusRef({isClone:n,name:"skip"}),tabIndex:h,type:"button"},s),f.a.createElement("div",{className:"overview-sidebar__progress brand--ui"},Ne(o)))}},{key:"renderSearch",value:function(e){var t=e.isClone,n=this.state,r=n.searchActive,i=n.searchValue,o=this.props,a=o.allowTabNavigation,s=o.labels.search,c=f.a.createElement(k.CSSTransition,{classNames:"overview-sidebar__search",timeout:600},f.a.createElement("form",{className:"overview-sidebar__search",onSubmit:this.handleSearchSubmit},f.a.createElement("span",{"aria-hidden":"true",className:"overview-sidebar__search__search-icon"},f.a.createElement(ge.a,{height:13,width:13})),f.a.createElement("button",{"aria-label":"Close The Search Form",className:"overview-sidebar__search__close-icon","data-focus-name":"closeSearch",onClick:this.handleSearchToggle,ref:this.addFocusRef({isClone:t,name:"closeSearch"}),tabIndex:Object(ye.m)(a),type:"button"},f.a.createElement(w.a,{height:8,width:8})),f.a.createElement("input",{"aria-label":"Search",className:"overview-sidebar__search__input","data-focus-name":"searchInput",placeholder:s,onChange:this.handleSearchChange,onKeyDown:this.handleSearchClose,ref:this.addFocusRef({isClone:t,name:"searchInput"}),tabIndex:Object(ye.m)(a),type:"search",value:i})));return f.a.createElement(k.TransitionGroup,null,r&&c)}},{key:"renderSearchIcon",value:function(e){var t=e.isClone,n=this.props,r=n.allowTabNavigation,i=n.showClone,o=this.state.searchActive,a=Pe({allowTabNavigation:r,isClone:t,showClone:i}),s=f.a.createElement(k.CSSTransition,{appear:!0,classNames:"overview-sidebar__search-icon",timeout:2e3},f.a.createElement("button",{"aria-label":"Show Search Bar",className:"overview-sidebar__search-icon","data-focus-name":"showSearch",onClick:this.handleSearchToggle,ref:this.addFocusRef({isClone:t,name:"showSearch"}),tabIndex:a,type:"button"},f.a.createElement(ge.a,null)));return f.a.createElement(k.TransitionGroup,null,!o&&s)}},{key:"renderClone",value:function(){var e=this,t=this.props.showClone,n=this.state.searchActive,r=_()("overview-sidebar__header-outer",{"overview-sidebar__header-outer--search":n,"overview-sidebar__header--clone":!0,"overview-sidebar__header--visible":t}),i=t&&this.cloneWrapper&&this.cloneWrapper.offsetHeight||"none",o=this.headerWidth;return this.renderBanner({classes:r,cloneRef:function(t){e.clone=t},hidden:!t,isClone:!0,style:{maxHeight:i,width:o},wrapperRef:function(t){e.cloneWrapper=t}})}},{key:"renderNormal",value:function(){var e=this,t=this.props.showClone,n=this.state.searchActive;this.setHeaderDimensions();var r=_()("overview-sidebar__header-outer",{"overview-sidebar__header-outer--search":n}),i=this.headerWrapper&&this.headerWrapper.offsetHeight||"none";return this.renderBanner({classes:r,hidden:t,isClone:!1,style:{maxHeight:i},wrapperRef:function(t){e.headerWrapper=t}})}},{key:"renderBanner",value:function(e){var t=e.classes,n=e.cloneRef,r=e.hidden,i=e.isClone,o=e.style,a=e.wrapperRef,s=this.props,c=s.allowSearch,u=s.allowTabNavigation,l=s.coverImage.alpha,d=this.state,h=d.coverImageLoaded,p=d.showSkipButton?Oe()({maxHeight:Ee()("none")},o):o;return f.a.createElement("section",{"aria-hidden":!u||r,"aria-label":"Course Information",className:t,onFocus:this.handleFocus,onBlur:this.handleBlur,ref:n||null,style:p},c&&this.renderSearch({isClone:i}),f.a.createElement("div",{className:je(this.props),ref:a},f.a.createElement("div",{className:"overview-sidebar__header--background",style:this.coverStyles(i)}),h&&f.a.createElement(x.a,{alpha:l,isSidebar:!0}),c&&this.renderSearchIcon({isClone:i}),this.renderInfo({isClone:i})))}},{key:"render",value:function(){return f.a.createElement(d.Fragment,null,this.renderNormal(),this.renderClone())}}]),t}(d.Component),je=function(e){var t=e.coverImage,n=t.media,r=void 0===n?{}:n,i=t.displaySidebar,o=r.image,a=(void 0===o?{}:o).key,s=!a||a&&!i;return _()("overview-sidebar__header",{"brand--background":s})},Ne=function(e){var t;return g()(t=f.a.Children).call(t,e,function(e){return e.type!==we.a?null:e})},Me=function(e){return e.isClone?"clone":"normal"},Pe=Te()(ye.m,function(e){var t=e.allowTabNavigation,n=e.isClone,r=e.showClone;return t&&(r&&n||!r&&!n)});n.d(t,"b",function(){return Ie}),n.d(t,"a",function(){return Le});var Ie=function(e){function t(e){var n,r,a;return Object(o.a)(this,t),(a=Object(s.a)(this,Object(c.a)(t).call(this,e))).handleFocus=i()(n=a.handleFocus).call(n,Object(u.a)(a)),a.onScroll=p()(i()(r=a.onScroll).call(r,Object(u.a)(a)),100),a.state={isShowingSidebarHeaderClone:!1},a}return Object(l.a)(t,e),Object(a.a)(t,[{key:"componentDidMount",value:function(){this.sidebar.addEventListener("scroll",this.onScroll)}},{key:"componentWillUnmount",value:function(){this.sidebar.removeEventListener("scroll",this.onScroll)}},{key:"focus",value:function(){this.sidebarHeader.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowSearch,r=t.allowTabNavigation,i=t.children,o=t.courseTitle,a=t.coverImage,s=t.focusLessonContent,c=t.labels,u=t.lessons,l=t.searchActive,d=t.sessionPreferences,h=t.skipLinkText,p=this.state.isShowingSidebarHeaderClone;return f.a.createElement("div",{id:"overview-sidebar-container",ref:function(t){return e.sidebar=t},className:"overview-sidebar","data-overview-sidebar":!0},f.a.createElement("div",{className:"overview-sidebar__header-wrap brand--head","data-overview-sidebar-header-wrap":!0,ref:function(t){return e.sidebarHeaderWrap=t}},f.a.createElement(Ae,{allowSearch:n,allowTabNavigation:r,courseTitle:o,coverImage:a,focusLessonContent:s,labels:c,lessons:u,ref:function(t){e.sidebarHeader=t},sessionPreferences:d,showClone:p,showSearch:l,skipLinkText:h},i)),f.a.createElement("div",{className:"overview-sidebar__container"},f.a.createElement("div",{className:"overview-sidebar__content","data-overview-sidebar-content":!0,onFocus:this.handleFocus},i)))}},{key:"handleFocus",value:function(e){var t=e.target;if(this.state.isShowingSidebarHeaderClone){var n=this.sidebar.scrollTop,r=t.getBoundingClientRect().top,i=this.sidebarHeader.getCloneHeaderHeight();if(r<i){var o=n-(i-r);m.animateScroll.scrollTo(o,{containerId:"overview-sidebar-container",duration:300,smooth:!0})}}}},{key:"onScroll",value:function(){var e=this.sidebarHeaderWrap.clientHeight,t=this.sidebar.scrollTop;this.setState({isShowingSidebarHeaderClone:t>e})}}]),t}(d.Component),Le=f.a.createElement(Ie,null).type},function(e,t,n){t.action=n(2016),t.also=n(2018),t.error=n(2019),t.handle=n(2020),t.logError=n(2021),t.onSuccess=n(2022),t.sideEffect=n(2023)},function(e,t,n){"use strict";var r=n(1124),i=n(1125),o=n(0),a=n.n(o),s=n(333),c=n.n(s),u=n(2),l=n.n(u),d=n(17),f=function(e){var t=e.canProceed,n=e.hasFeedback;return l()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":n})},h=function(e){var t=e.isCorrect;return l()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":t})},p=function(e){var t=e.allowFocus,n=e.onNext,r=e.quizNext;return a.a.createElement("div",{className:"quiz-card__feedback-button"},a.a.createElement("button",{"aria-hidden":!t,className:"quiz-card__button brand--background brand--ui",onClick:n,tabIndex:Object(d.m)(t),type:"button"},r))},m=function(e){var t=e.allowTabNavigation,n=e.canProceed,r=e.feedbackRef,i=e.hasFeedback,s=e.isCorrect,u=e.labels.feedbackGroup,l=e.onNext,m=e.quizCorrect,v=e.quizIncorrect,g=e.quizNext,y=e.renderText,b=t&&n,_=c()(b),w=Object(o.useRef)();return Object(o.useEffect)(function(){!_&&b&&w.current&&w.current.focus()},[b,_]),a.a.createElement("div",{"aria-hidden":!b,className:f({canProceed:n,hasFeedback:i}),ref:r},a.a.createElement("div",{className:"quiz-card__main--feedback"},a.a.createElement("div",{"aria-label":u,className:"quiz-card__feedback-wrap",ref:w,role:"group",tabIndex:d.i},a.a.createElement("div",{className:h({isCorrect:s})},a.a.createElement("i",{className:s?"icon icon-Master-05":"icon icon-Master-06"})),a.a.createElement("div",{className:"quiz-card__feedback-label brand--head"},s?m:v),y()),l?p({allowFocus:b,onNext:l,quizNext:g}):null))},v=n(1126),g=n(1127),y=n(4),b=n.n(y),_=n(400),w=n.n(_),x=function(e,t){var n=c()(t);Object(o.useEffect)(function(){!n&&t&&e&&w()(e.focus)&&e.focus()},[t,n,e])},k=n(488),E=function(e){var t,n,r=e.isActive,i=e.num,s=e.total,c=e.quizQuestion,u=Object(o.useRef)();return x(u.current,r),a.a.createElement("div",{className:"quiz-card__number"},a.a.createElement("h1",{className:"visually-hidden-always",ref:u,tabIndex:d.i},b()(t="Question ".concat(i," of ")).call(t,s)),a.a.createElement("div",{"aria-hidden":"true",className:"quiz-card__step-label brand--body"},c),a.a.createElement("div",{"aria-hidden":"true",className:"quiz-card__counter brand--color brand--ui"},b()(n="".concat(Object(k.a)(i),"/")).call(n,Object(k.a)(s))))},S=n(1129);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return v.a}),n.d(t,"e",function(){return g.a}),n.d(t,"f",function(){return E}),n.d(t,"g",function(){return S.a})},function(e,t,n){var r=n(427),i=n(213);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(660),i=n(144),o=n(813),a=n(123).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){var r=n(213),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+">"}},function(e,t,n){var r=n(58);e.exports=function(e){return r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},function(e,t,n){var r=n(101),i=n(134),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]}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){"use strict";var r=n(953),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){e.exports=n(1667)},function(e,t,n){var r=n(237),i=n(20);e.exports=i(function(e,t){return r(t,[e])})},function(e,t,n){var r=n(458);e.exports=r(1,"join")},function(e,t,n){var r=n(50),i=n(912);e.exports=r(i(!0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T});var r=n(4),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2142),n(2)),d=n.n(l),f=n(1),h=n.n(f),p=n(16),m=n.n(p),v=n(397),g=n.n(v),y=n(42),b=n.n(y),_=n(268),w=n(398),x=n(304),k=n(399),E=n(52),S=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},T=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"renderAudio",value:function(t){var n,r=this.props,o=r.allowTabNavigation,a=r.index,s=r.labels,c=r.lessonNumber,u=t.audio,l=i()(n="audio-".concat(c,"-")).call(n,a);if(S(u))return e.createElement(_.b,{allowTabNavigation:o,id:l,key:l,labels:s,mediaSrc:u.key,shouldPause:u.pause})}},{key:"renderImage",value:function(t){var n=this.props,r=n.allowTabNavigation,i=n.index,o=n.onLoad,a=n.opts,s=t.image,c="image-".concat(i),u=a.disableZoom;if(S(s))return e.createElement(x.a,{key:c,src:Object(E.a)(s),alt:s.alt,disableZoom:u,allowTabNavigation:r,onLoad:o,imageKey:s.key})}},{key:"renderVideo",value:function(t){var n,r,o=t.video,a=void 0===o?{}:o,s=this.props,c=s.allowTabNavigation,u=s.blockId,l=s.lessonNumber,d=s.index,f=s.labels,h=s.onFullScreenChange,p=s.enableVideoPlaybackSpeed,v=(r=u,b()(m()(r),g()("-".concat(r))))(i()(n="video-".concat(l,"-")).call(n,d));if(S(a))return e.createElement(k.a,{allowTabNavigation:c,captionUID:a.captionUID,captions:a.captions,id:v,key:v,labels:f,onFullScreenChange:h,poster:a.poster,shouldPause:a.pause,src:a.key,canAdjustPlaybackSpeed:p})}},{key:"renderEmbed",value:function(t){var n=this.props,r=n.allowTabNavigation,i=n.opts,o=n.labels,a=i.fullEmbed,s=i.showMetaData,c=void 0===s||s,u=t.embed,l="embed-".concat(this.props.index);if(S(u))return e.createElement(w.a,{labels:o,key:l,isLesson:a,id:l,showMetaData:c,data:u,allowTabNavigation:r,shouldPause:u.pause})}},{key:"render",value:function(){var t=this.props,n=t.media,r=t.hasPadding,i=d()({"media-group":r});return e.createElement("div",{className:i},this.renderAudio(n),this.renderImage(n),this.renderVideo(n),this.renderEmbed(n))}}],[{key:"propTypes",get:function(){return{allowTabNavigation:h.a.bool,blockId:h.a.string,hasPadding:h.a.bool,index:h.a.string,media:h.a.object,onLoad:h.a.func,opts:h.a.object}}},{key:"defaultProps",get:function(){return{media:{},index:"1",hasPadding:!0,opts:{},allowTabNavigation:!0,lessonNumber:1}}}]),n}(e.Component)}).call(this,n(0))},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(53),i=n.n(r),o=(n(28),function(e){return function(){return document.querySelector(e)}}),a=function(e){return i()(Array.prototype).call(e)}},function(e,t,n){"use strict";n.d(t,"c",function(){return b}),n.d(t,"a",function(){return _}),n.d(t,"b",function(){return w});var r=n(7),i=n.n(r),o=n(48),a=n.n(o),s=n(44),c=n.n(s),u=n(51),l=n.n(u),d=n(117),f=n.n(d),h=n(13),p=n.n(h),m=n(14),v=n.n(m),g=n(115),y=n.n(g),b=function(e){var t="";return y()(function(e,n){if("section"===n.type)return t=n.id,n.children=[],a()(e,[n]);if(t){n.sectionId=t;var r=f()(v()("id",t))(e);return e[r].children=a()(e[r].children,[n]),e}return a()(e,[n])},[],e)},_=function(e,t){var n=i()(l()(v()("id",t)),p()("children")),r=i()(l()(n),c()(v()("type","section")),b)(e);return r?[r.id]:[]},w=function(e){return f()(v()("id",e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r,i,o,a=n(809),s=n(85),c=n(172),u=n(144),l=n(508),d=n(430),f=n(65).WeakMap;if(a){var h=new f,p=h.get,m=h.has,v=h.set;r=function(e,t){return v.call(h,e,t),t},i=function(e){return p.call(h,e)||{}},o=function(e){return m.call(h,e)}}else{var g=l("state");d[g]=!0,r=function(e,t){return c(e,g,t),t},i=function(e){return u(e,g)?e[g]:{}},o=function(e){return u(e,g)}}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}}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(162),i=n(853),o=n(110),a=n(525),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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86),o=n(880);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})},function(e,t,n){var r=n(543),i=n(910),o=n(911);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")}}()},function(e,t,n){var r=n(555);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){e.exports=n(1715)},function(e,t,n){var r=n(20);e.exports=r(function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e>t})},function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return x});var r=n(7),i=n.n(r),o=n(44),a=n.n(o),s=n(223),c=n.n(s),u=n(70),l=n.n(u),d=n(96),f=n.n(d),h=n(28),p=n.n(h),m=n(482),v=n.n(m),g=n(13),y=n.n(g),b=y()("lessons"),_=v()(function(e){return!!e},["settings","passToContinue"]),w=function(e){var t,n=e.course,r=e.courseProgress;return i()(l.a,a()((t=b(r),i()(f.a,function(e){return p()([e,"passed"],t)},y()("id")))),a()(_),b)(n)||{}},x=function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,o=function(e){return p()([e,"index"],b(t))},a=o(y()("id",n));return i()(c()(a),o,y()("id"))(r)?r:{}}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(15),a=n(178),s=n.n(a),c=n(26),u=n.n(c),l=n(7),d=n.n(l),f=n(48),h=n.n(f),p=n(89),m=n.n(p),v=n(60),g=n.n(v),y=n(32),b=n.n(y),_=n(30),w=n.n(_),x=n(149),k=n.n(x),E=n(24),S=n.n(E),T=n(14),C=n.n(T),O=n(125),A=n.n(O),j=n(609),N=n.n(j),M=n(67),P=n(39),I=n(109),L=n.n(I),D=n(54),R=n.n(D),F=n(126),B=n.n(F),U=n(112),q=n.n(U),z=n(386),H=n.n(z),W=n(116),V=n.n(W),Y=n(28),G=n.n(Y),K=n(92),$=n.n(K),X=L()(function(e){return m()({avatar:ee(e),back:ee(e),background:ee(e),front:ee(e),media:ne(e)})}),Q=L()(function(e){return m()({items:b()(X(e)),media:ne(e)})}),Z=L()(function(e){return m()({coverImage:ee(e),lessons:b()($()(H()(String),J(e))),media:ne(e)})}),J=L()(function(e){return m()({items:b()(Q(e)),media:ne(e)})}),ee=L()(function(e){return m()({media:ne(e)})}),te=(L()(function(e){return S()(q()(G()(["media",e]),G()(["media","tmp",e])),B()({}))}),L()(function(e,t,n){return"tmp"===n?ne(e,t):"string"==typeof t?e[t]:t})),ne=R()(2,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return V()(te(e),t)});var re,ie=n(180),oe=n(610),ae=n(416),se=n.n(ae),ce=n(22),ue=n.n(ce),le=n(36),de=n.n(le),fe=n(472),he=n.n(fe),pe=n(141),me=ue()([],["items"]),ve=d()(se()(function(e){var t=e.partnerContentId;return t&&[t]||[]}),me),ge=d()(se()(ve),me),ye=n(181);n.d(t,"a",function(){return be}),n.d(t,"c",function(){return Te});var be=h()("rise/course/")("LOAD_COURSE"),_e=function(e){return d()(w()(e),k()("lessonsOnly"),A()(C()("type","section")))(e.lessons)},we=N()(u()("favoritedAt",new Date)),xe=N()(u()("favoritedAt",null)),ke=(t.b=Object(M.c)({},(re={},Object(o.a)(re,ie.a,we),Object(o.a)(re,ie.b,xe),Object(o.a)(re,be,function(e,t){var n=t.completedAt,r=t.course,i=t.favoritedAt,o=t.media,a=t.riseComCurrentUser,c=t.riseComCourseId,u=t.riseComEnrollmentType,l=t.riseComLearningPathId;return S()(Z(o),_e,m()({lessons:b()(J(o))}),w()(s.a,{completedAt:n,favoritedAt:i,riseComCourseId:c,riseComEnrollmentType:u,riseComCurrentUser:a,riseComLearningPathId:l}))(r)}),re)),function(e){return function(t){return t([Object(M.a)(oe.a,e),Object(ye.g)(!0)])}}),Ee=function(e){return g()(e)?Object(ye.g)(!0):i()(t=Object(P.c)(e)).call(t,ke);var t},Se=function(e){return function(t){var n=t.course,r=function(e){var t=e.course,n=e.lessons,r=se()(ge,n),i=de()(null,"partnerContentId",t),o=i?[i]:[];return Object(pe.c)(r,h()(o),he.a)}({course:n,lessons:n.lessons});e([Object(M.a)(be,t),Object(ye.c)(!0),Ee(r)])}},Te=function(){return function(e){return Object(P.b)().then(Se(e)).catch(function(e){return function(t){404===t.statusCode&&e(Object(ye.f)(!0))}}(e))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);e.exports=r(function(e,t,n){if(!i(e))throw new TypeError("flip: Function required for first argument");return r(e)(n,t)})},function(e,t,n){"use strict";n.d(t,"a",function(){return c});n(2556);var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=function(e){var t=a()("progress-bar__line",{"progress-bar__line-rounded":e.rounded}),n=a()("progress-bar",{"progress-bar-rounded":e.rounded,"progress-bar-lg":e.lg});return i.a.createElement("div",{className:n},i.a.createElement("div",{className:"progress-bar__percentage-top"},e.value,"% ",e.lessonComplete),i.a.createElement("div",{className:t},i.a.createElement("div",{className:"progress-bar__fill",style:{width:e.value+"%"}})),i.a.createElement("div",{className:"progress-bar__percentage-bottom"},e.value,"% ",e.lessonComplete))},c=i.a.createElement(s,{value:0,lessonComplete:"complete"}).type;t.b=s},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(86),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);return n.slice(1).concat(function(e){return e}).reduce(o,a)}},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var r=n(23),i=n(91),o=(n(2241),n(0)),a=n.n(o),s=function(e){var t=e.children,n=e.className;return a.a.createElement("div",{className:"authoring-tooltip ".concat(n||"")},t)},c=function(e){var t=e.children,n=e.side,o=Object(i.a)(e,["children","side"]);return a.a.createElement("span",Object(r.a)({},o,{className:"authoring-tooltip__content authoring-tooltip__content--".concat(n)}),t)}},function(e,t,n){"use strict";n.d(t,"c",function(){return w}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return k}),n.d(t,"f",function(){return E}),n.d(t,"g",function(){return S}),n.d(t,"h",function(){return T}),n.d(t,"i",function(){return C}),n.d(t,"j",function(){return O}),n.d(t,"b",function(){return N}),n.d(t,"a",function(){return M});var r,i,o,a,s=n(142),c=n.n(s),u=n(46),l=n(4),d=n.n(l),f=n(79),h=n.n(f),p=n(70),m=n.n(p),v=n(28),g=n.n(v),y=n(22),b=n.n(y),_=["media","storyline"],w=b()(null,["payload","result"]),x=g()(_),k=g()(d()(r=[]).call(r,_,["thumbnail"])),E=g()(d()(i=[]).call(i,_,["meta","version"])),S=b()(null,d()(o=[]).call(o,_,["src"])),T=g()(["payload","result","completion"]),C=g()(d()(a=[]).call(a,_,["processing"])),O=b()(!1,["payload","result","score"]),A=h()(function(e,t){if(!t)return!1;var n=e.majorLimit,r=e.minorLimit,i=t.split("."),o=Object(u.a)(i,2),a=o[0],s=o[1],l=c()(a)===n&&s>=r;return a>n||l}),j={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},N=A({majorLimit:3,minorLimit:13}),M=function(e,t,n){var r,i,o,a=t&&(i=n,o=m()(i.split("-")),j[o]);return a?d()(r="".concat(e)).call(r,a):"".concat(e,"?rise=true")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(85);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")}},function(e,t,n){var r=n(162),i=n(217),o=n(348);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(284);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(529),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(86),i=n(175);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))}},function(e,t){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}},function(e,t,n){var r=n(20),i=n(32),o=n(13);e.exports=r(function(e,t){return i(o(e),t)})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return n.replace(e,t)})},function(e,t,n){var r=n(50),i=n(187);e.exports=r(function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t})},function(e,t,n){var r,i=n(50);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,"")}))},function(e,t,n){var r=n(567),i=0;e.exports=function(e){var t=++i;return r(e)+t}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(376),i=n(377),o=n(203).type("Async"),a=n(203).typeFn(o(),5),s=n(175),c=n(536),u=n(319),l=n(1589),d=n(1590),f=n(255),h=n(538),p=n(86),m=n(882),v=n(1591),g=n(218),y=function(e){return e.reduce(function(e,t){return e&&g(_,t)},!0)},b=function(e){return _(function(t,n){return n(e)})};function _(e){var t;if(!p(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!p(t)||!p(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=p(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=p(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function h(e){return function(t,n){if(!p(t)||!p(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(function(e,r){return c(u(e,t),u(r,n))})}}function m(e){return function(t){if(!g(_,t))throw new TypeError("Async."+e+": Async required");return _(function(e,n){var r=d,i=d;return r=c(function(){i=t.fork(e,n)},n),l(function(){return i(r())})})}}function v(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Async returning function required");return _(function(n,r){var i=d,o=d;return i=c(n,function(i){var a=t(i);if(!g(_,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),l(function(){return o(i())})})}}return(t={fork:c,toPromise:function(){return new Promise(function(e,t){c(t,e)})},inspect:r,toString:r,type:o,swap:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.swap: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(n,t))})},race:function(e){if(!g(_,e))throw new TypeError("Async.race: Async required");return _(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=c(o,i),s=e.fork(o,i);return function(){a(),s()}})},coalesce:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(r,t))})},ap:function(e){if(!g(_,e))throw new TypeError("Async.ap: Async required");return _(function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=l(t);function f(){!s&&o&&a&&u(n,r)(i)}var h=c(d,function(e){if(!p(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()}),m=e.fork(d,function(e){a=!0,i=e,f()});return function(){h(),m(),s=!0}})},of:n,alt:m("alt"),bimap:h("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!p(e)||!p(t))throw new TypeError(n);return _(function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(_,o))throw new TypeError(n);a=o.fork(r,i)}}return o=c(s(e),s(t)),l(function(){return a(o())})})}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=h(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=_,t}_.of=b,_.type=o,_[s.of]=b,_["@@type"]=a,_.Rejected=function(e){return _(function(t){return t(e)})},_.Resolved=b,_.fromPromise=function(e){if(!p(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return _(function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)})}},_.fromNode=function(e,t){if(!p(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return _(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},_.all=function(e){if(!h(e)||!y(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?c.sequence(_.of,e):e.sequence(_.of)},_.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return _(function(n){var r=setTimeout(function(){n(t)},e);return function(){clearTimeout(r)}})},_.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return _(function(n,r){var i=setTimeout(function(){r(t)},e);return function(){clearTimeout(i)}})},_["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=_},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(318),o=n(717);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)})},function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return O});var r=n(26),i=n.n(r),o=n(7),a=n.n(o),s=(n(761),n(40),n(112)),c=n.n(s),u=n(28),l=n.n(u),d=n(22),f=n.n(d),h=n(24),p=n.n(h),m=n(13),v=n.n(m),g=n(1210),y=n.n(g),b=n(239),_=n.n(b),w=n(272),x=n.n(w),k=n(337),E=n(111),S=k.b.validIframe,T=k.b.validUrl,C=(i()("type","embed"),y()("type","embedType"),_()(/http:/i,"https:"),p()(f()({},[0]),c()(l()(["media","embed","embedType"]),l()(["media","embed","type"])))),O=c()(v()("embedType"),v()("type"));c()(a()(x()(S),E.b),x()(T))},function(e,t,n){"use strict";var r=n(790),i=n.n(r);i.a.dynamicDrop(!0),t.a=i.a},function(e,t,n){e.exports=n(1566)},function(e,t,n){e.exports=n(2061).default},function(e,t,n){"use strict";n.d(t,"b",function(){return Z}),n.d(t,"g",function(){return J}),n.d(t,"h",function(){return ee}),n.d(t,"a",function(){return te}),n.d(t,"d",function(){return ne}),n.d(t,"c",function(){return re}),n.d(t,"e",function(){return ie}),n.d(t,"f",function(){return oe}),n.d(t,"i",function(){return ae});var r=n(0),i=n.n(r),o=n(16),a=n.n(o),s=n(479),c=n.n(s),u=n(7),l=n.n(u),d=n(78),f=n.n(d),h=n(35),p=n.n(h),m=n(44),v=n.n(m),g=n(117),y=n.n(g),b=n(47),_=n.n(b),w=n(70),x=n.n(w),k=n(56),E=n.n(k),S=n(82),T=n.n(S),C=n(45),O=n.n(C),A=n(32),j=n.n(A),N=n(24),M=n.n(N),P=n(238),I=n.n(P),L=n(13),D=n.n(L),R=n(36),F=n.n(R),B=n(14),U=n.n(B),q=n(363),z=n.n(q),H=n(299),W=n.n(H),V=n(241),Y=n.n(V),G=n(42),K=n.n(G),$=n(34),X=c()(E.a),Q=v()(U()("correct",!0)),Z=l()(K()(p()(-1),a()(0)),y()(U()("correct",!0))),J=function(e){var t=e.answers,n=e.fillinValue,r=e.isCaseSensitive?Y.a:l()(Y.a,W.a);return M()(j()(F()("","title")),j()(r),f()(r(n)))(t)},ee=function(e){var t=e.answers,n=e.selectedIndices;return p()(z()(X,n),l()(z()(X),j()(l()(_()(y.a)(t),U()("id"))),ne)(t))},te=function(e){return{MATCHING:E.a,FILL_IN_THE_BLANK:ie,MULTIPLE_CHOICE:E.a,MULTIPLE_RESPONSE:E.a}[e]},ne=l()(I()("id"),Q),re=l()(x.a,ne),ie=v()(U()("correct",!0)),oe=l()(D()("id"),x.a),ae=l()(O.a,T.a);i.a.createElement($.y,null),i.a.createElement($.z,null),i.a.createElement($.t,null),i.a.createElement($.x,null)},function(e,t,n){"use strict";n.d(t,"j",function(){return Ne}),n.d(t,"e",function(){return Me}),n.d(t,"d",function(){return Pe}),n.d(t,"a",function(){return Be}),n.d(t,"i",function(){return Ue}),n.d(t,"b",function(){return ze}),n.d(t,"c",function(){return He}),n.d(t,"f",function(){return We}),n.d(t,"h",function(){return ot}),n.d(t,"g",function(){return at});var r=n(18),i=n.n(r),o=n(15),a=n(4),s=n.n(a),c=n(91),u=n(23),l=n(132),d=n.n(l),f=n(27),h=n.n(f),p=n(9),m=n(6),v=n(10),g=n(8),y=n(11),b=(n(1183),n(0)),_=n.n(b),w=n(102),x=n(136),k=n(129),E=n.n(k),S=n(178),T=n.n(S),C=n(16),O=n.n(C),A=n(127),j=n.n(A),N=n(2),M=n.n(N),P=n(76),I=n.n(P),L=n(7),D=n.n(L),R=n(48),F=n.n(R),B=n(44),U=n.n(B),q=n(51),z=n.n(q),H=n(29),W=n.n(H),V=n(32),Y=n.n(V),G=n(30),K=n.n(G),$=n(122),X=n.n($),Q=n(149),Z=n.n(Q),J=n(28),ee=n.n(J),te=n(22),ne=n.n(te),re=n(84),ie=n.n(re),oe=n(14),ae=n.n(oe),se=n(36),ce=n.n(se),ue=n(484),le=n.n(ue),de=n(276),fe=n.n(de),he=n(64),pe=n(34),me=n(52),ve=n(21),ge=n(169),ye=n(274),be=n(75),_e=n(39),we=n(405),xe=n(408),ke=n(38),Ee=n(419),Se=n(645),Te=n(195),Ce=n(638),Oe=Object(ge.a)("modernOverview")||Object(_e.k)(),Ae=le()(Y()(D()(Z()(T.a,!Oe),F()("brand--"))),K.a,{}),je=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];return M()(e,Ae(n))},Ne=function(e){function t(){return Object(p.a)(this,t),Object(v.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(y.a)(t,e),Object(m.a)(t,[{key:"render",value:function(){var e=M()("overview",{"overview--modern":Oe});return _.a.createElement("div",{className:e,"data-overview":!0,id:"overview"},this.props.children)}},{key:"animate",value:function(e){var t=this,n=this.props.sidebarOpen,r=document.querySelector("[data-overview]"),i=document.querySelector("[data-overview-side]"),o=document.querySelector("[data-overview-side-panel]"),a=document.querySelector("[data-overview-side-panel-content]"),s=n?document.querySelector("[data-lesson-side] [data-overview-sidebar-header-wrap]"):{offsetWidth:0,offsetHeight:0},c={width:e?s.offsetWidth:i.offsetWidth,height:e?s.offsetHeight:i.offsetHeight},u={width:e?i.offsetWidth:s.offsetWidth,height:e?i.offsetHeight:s.offsetHeight};return a.style.width="".concat(s.offsetWidth,"px"),o.style.width="".concat(c.width,"px"),o.style.height="".concat(c.height,"px"),r.classList.add(e?"overview--will-enter":"overview--will-exit"),h()(function(){r.classList.add(e?"overview--will-enter-active":"overview--will-exit-active"),(e&&window.innerWidth<960||window.innerWidth>=960)&&(o.style.width="".concat(u.width,"px"),o.style.height="".concat(u.height,"px"))},10),new d.a(function(n){r.addEventListener("transitionend",t.sidePanelTransitionEndRef=function(i){var a=i.target;(e&&a.hasAttribute("data-overview-content")||!e&&a.hasAttribute("data-overview-side-panel-content")||!e&&a.hasAttribute("data-overview")&&window.innerWidth<960)&&(r.removeEventListener("transitionend",t.sidePanelTransitionEndRef),o.style.width=o.style.height="",r.classList.remove("overview--will-enter","overview--will-enter-active","overview--will-exit","overview--will-exit-active"),n())})})}}]),t}(_.a.Component),Me=function(e){function t(e){var n;return Object(p.a)(this,t),(n=Object(v.a)(this,Object(g.a)(t).call(this,e))).state={coverImageLoaded:!1},n}return Object(y.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.coverImage.media,n=(void 0===t?{}:t).image,r=void 0===n?{}:n,i=r.key,o=r.src,a=i?Object(me.a)(r):o;(i||o)&&(this.image=new Image,this.image.src=a,this.image.addEventListener("load",this.imageLoadRef=function(){e.setState({coverImageLoaded:!0})}))}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.removeEventListener("load",this.imageLoadRef),this.image=null)}},{key:"render",value:function(){var e=this.props.coverImage,t=e.media,n=void 0===t?{}:t,r=e.alpha,i=n.image,o=void 0===i?{}:i,a=o.key,s=_.a.Children.toArray(this.props.children),c=a?{backgroundImage:"url('".concat(Object(me.a)(o),"')")}:null,u=M()("overview__side-panel",{"brand--background":!a});return _.a.createElement("div",{className:"overview__side","data-overview-side":!0},_.a.createElement("div",{className:u,"data-overview-side-panel":!0,style:c},this.state.coverImageLoaded?_.a.createElement(xe.a,{alpha:r}):null,_.a.createElement("div",{className:"overview__side-panel-content","data-overview-side-panel-content":!0},U()(ae()("type",Te.a),s))),_.a.createElement("div",{className:"overview__side-content","data-overview-content":!0},_.a.createElement("div",{className:"overview__side-container"},_.a.createElement("div",{className:"overview__side-container-content"},U()(I()(ae.a)("type",Te.a),s)))))}}]),t}(_.a.Component),Pe=function(e){var t=e.children;return _.a.createElement("div",{className:"overview__main",id:"overview-main",tabIndex:"-1"},_.a.createElement("div",{className:"overview__content"},_.a.createElement("div",{className:"overview__container"},t)))},Ie=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__columns"}))},Le=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__main-col"}))},De=Oe?function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__aside"}))}:O()(null),Re=function(e){var t=Oe?"overview__section-header":"visually-hidden";return _.a.createElement("header",Object(u.a)({},e,{className:t}))},Fe=function(e){var t=e.children,n=Object(c.a)(e,["children"]),r=Oe?je("overview__heading","ui"):null;return _.a.createElement("h2",Object(u.a)({},n,{className:r}),t)},Be=function(e){var t=e.avatar,n=e.authorName;return t&&n?_.a.createElement("div",{className:je("overview__author","ui")},_.a.createElement("div",{className:"overview__author-image",style:{backgroundImage:"url(".concat(Object(_e.p)(t),")")}}),_.a.createElement("div",null,_.a.createElement("span",{"aria-hidden":"true"},n),_.a.createElement("span",{className:"visually-hidden"},"By ",n))):null},Ue=function(e){var t=e.children;return _.a.createElement("div",{className:"overview__title-wrap"},_.a.createElement(ke.a,{className:je("overview__title","head"),tagName:"h1",value:t}))},qe=D()(ie()(["hasModernOverview","isPreview"]),ce()({},"global")),ze=Object(x.b)(qe,{})(function(e){var t=e.children,n=e.coverImage,r=e.enrolled,i=e.favoritedAt,o=e.hasModernOverview,a=e.isPreview,s=e.startAgain,l=Object(c.a)(e,["children","coverImage","enrolled","favoritedAt","hasModernOverview","isPreview","startAgain"]),d=ee()(["media","image","key"],n),f=M()("overview__button",{"brand--color":!d,"brand--ui":!o,"overview__outline-btn":s,"overview__start-again":s,"overview__button-enrolled":r||i||a||Object(_e.k)()});return _.a.createElement(w.a,Object(u.a)({className:f},l),t)}),He=function(e){var t=e.text;return _.a.createElement(E.a.Link,{className:"overview__details-trigger",containerId:"overview",duration:1e3,href:"#overview-main",smooth:!0,to:"overview-main"},_.a.createElement("span",{className:je("overview__details-trigger-text","ui")},t),_.a.createElement(pe.f,null))},We=function(e){var t=e.src,n=e.width,r=e.height;return t?_.a.createElement("div",{className:"overview__logo"},_.a.createElement("img",{src:t,width:n,height:r,alt:"Logo"})):null},Ve=function(e){return"<p><br></p>"===e?"":e},Ye=function(e){var t=e.publishedAt;if(!ve.e)return null;var n=X()(t);return n.isValid()&&_.a.createElement("span",{className:"overview__description-published"},n.format("[Published] MMMM D, YYYY"))},Ge=fe()("(min-width: 960px)","isDesktop")(function(e){var t=e.text,n=e.publishedAt,r=e.numLessons,i=e.timeToComplete,o=e.showTimeToComplete,a=e.isDesktop;return Ve(t)?_.a.createElement(b.Fragment,null,_.a.createElement(Re,null,_.a.createElement(Fe,null,"Description"),a&&_.a.createElement(Ye,{publishedAt:n}),!a&&_.a.createElement($e,{numLessons:r,timeToComplete:i,showTimeToComplete:o,standalone:!1})),_.a.createElement(ke.a,{key:"text",value:Ve(t),className:je("overview__description brand--linkColor","body")})):null}),Ke=function(e,t){return 1===e?t:s()(t).call(t,"s")},$e=function(e){var t,n=e.numLessons,r=e.timeToComplete,i=e.showTimeToComplete,o=e.standalone,a=void 0===o||o,s=r>=36e5?(t=X.a.duration(r).asHours(),Math.round(10*t)/10):X.a.duration(r).asMinutes(),c=M()("overview__stat",{"overview__stat-standalone":!a});return _.a.createElement("ul",{className:c,role:"list"},_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},n),"  Lessons"),ve.e&&i&&_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},s)," ",Ke(s,r>=36e5?"Hour":"Minute")))},Xe=function(e){var t=e.avatar,n=e.authorName,r=e.authorTitle;return t&&n?_.a.createElement("section",{className:je("overview__author-card","ui")},_.a.createElement("h2",{className:"visually-hidden"},"Course Author"),_.a.createElement("img",{className:"overview__author-card-image",src:Object(_e.p)(t),alt:""}),_.a.createElement("span",{className:"overview__author-card-wrap"},_.a.createElement("span",{className:"overview__author-card-name"},n),r&&_.a.createElement("span",{className:"overview__author-card-title"},r))):null},Qe=function(e){var t,n=e.dueAt;if(!n)return null;var r=Object(ye.b)(n),i=M()("overview__due-date","brand--border",(t={},Object(o.a)(t,"brand--color",!r),Object(o.a)(t,"overview__due-date--urgent brand--background",r),t));return _.a.createElement("div",{className:i},Object(ye.a)(n))},Ze=function(e){var t=e.component;return _.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-icon"},_.a.createElement(t,{className:"overview__requirements-icon-svg"}))},Je=function(e){var t,n=e.completedAt,r=e.courseProgress,i=e.dueAt,o=e.lessons,a=void 0===o?[]:o,c=e.numLessons,u=e.trackingCompletionPercentage,l=e.trackingQuizId,d=!W()(u),f=!!l,h=Math.ceil(u/100*c),p=z()(j()(ae()("type","quiz"),ae()("id",l)),a),m=ce()(void 0,"title",p),v=ee()(["settings","passingScore"],p),g=!d||r.percentComplete>=u,y=Object(be.d)(r,p,l),w=y.outOfAttempts,x=y.quizPassed,k=!x&&w,E=g&&(x||k);return d||f?_.a.createElement("section",{className:"overview__requirements"},_.a.createElement("h2",{className:"overview__requirements-header"},"Course Requirements"),_.a.createElement("ul",{className:"overview__requirements-list",role:"list"},d&&!isNaN(h)&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},g?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.e,{"aria-label":"Requirement complete"})):_.a.createElement(Ze,{component:pe.C}),_.a.createElement("span",null,"Complete",h===c?" all ":s()(t=" ".concat(h," of ")).call(t,c," "),"lessons in this course")),f&&m&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},x?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.e,{"aria-label":"Requirement complete"})):k?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.H,{"aria-label":"Quiz failed"})):_.a.createElement(Ze,{component:pe.t}),_.a.createElement("div",null,_.a.createElement("span",null,m,!W()(v)&&_.a.createElement(b.Fragment,null,_.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-separator"}," | "),"Score of ",v,"% or higher")),k&&_.a.createElement("div",{className:"overview__requirements-no-attempts"},"No attempts remaining."))),ve.e&&!E&&i&&_.a.createElement("li",{role:"listitem"},_.a.createElement(Qe,{dueAt:i})),n&&_.a.createElement("li",{className:"overview__requirements-completed",role:"listitem"},"Completed ",X()(n).format("L")))):null},et=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__author-requirements-wrap"}))},tt=function(e){var t=e.categories,n=void 0===t?[]:t;return 0===n.length?null:_.a.createElement("div",{className:"overview__categories-wrap"},_.a.createElement("section",{className:"overview__categories"},_.a.createElement("h2",{className:"overview__categories-header"},"Topics"),_.a.createElement("ul",{className:"overview__categories-list",role:"list"},i()(n).call(n,function(e,t){return _.a.createElement("li",{className:"overview__categories-list-item",key:t,role:"listitem"},_.a.createElement("span",{className:"overview__categories-icon","aria-hidden":"true"},_.a.createElement(pe.c,null)),_.a.createElement("span",{className:"overview__categories-name"},e))}))))},nt=function(e){var t=e.favoritedAt,n=e.onClick,r=e.onRemove,i=t?r:n,o=t?"Saved to My List":"Save to My List",a=M()({"overview__enroll-heart-filled":t,"overview__enroll-heart-outline":!t});return _.a.createElement("button",{"aria-pressed":!!t,className:"overview__enroll-button",onClick:i,type:"button"},_.a.createElement(pe.v,{isFilled:t,className:a}),o)},rt="".concat(Object(ve.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),it=fe()("(max-width: 500px)","smallAvatar")(function(e){var t=e.certificateDownload,n=e.currentUser,r=e.smallAvatar;return _.a.createElement("div",{className:"overview__completion-wrap"},_.a.createElement("div",{className:"overview__completion-avatar"},_.a.createElement(Se.a,Object(u.a)({},n,{decorative:!0,size:r?40:60})),_.a.createElement("img",{className:"overview__trophy",src:rt,alt:""})),_.a.createElement("div",{className:"overview__completed"},_.a.createElement("span",{"aria-hidden":"true"},"Completed"),_.a.createElement("span",{className:"visually-hidden"},"Course Completed")),t&&_.a.createElement("div",{className:"overview__certificate"},_.a.createElement(we.b,null)))}),ot=function(e){var t=e.certificateDownload,n=e.completedQuizRequirement,r=e.courseBtnText,i=e.coverImage,o=e.currentUser,a=e.enrolled,s=e.enrollmentType,c=e.favoritedAt,u=e.handleAddFavoriteClick,l=e.handleRemoveFavoriteClick,d=e.nextLessonId,f=e.percentComplete,h=e.startAgain;return _.a.createElement("div",{className:M()("overview__continueWrapper",{"overview__start-again-wrapper":h&&a})},_.a.createElement("div",{className:"overview__continueButtonsWrap"},_.a.createElement(he.CSSTransition,{classNames:"overview__button-transition",in:a||!!c,timeout:0},_.a.createElement(ze,{to:"/lessons/".concat(d),coverImage:i,startAgain:h,enrolled:a,favoritedAt:c},_.a.createElement("span",{className:"overview__continueBtn"},r))),ve.e&&"preview"!==window.viewType&&_.a.createElement(nt,{enrolled:a,enrollmentType:s,favoritedAt:c,onClick:u,onRemove:l,percentComplete:f,startAgain:h})),_.a.createElement("span",{className:"overview__spacer"}),h&&n&&!Object(_e.k)()&&_.a.createElement(it,{currentUser:o,certificateDownload:t}))},at=Object(x.b)(function(e){return{partnerContent:ne()([],["partnerContent","content"],e)}})(fe()("(min-width: 960px)","isDesktop")(function(e){var t=e.authorName,n=e.authorTitle,r=e.avatar,i=e.categories,o=e.completedAt,a=e.course,s=e.courseProgress,c=e.dueAt,u=e.isDesktop,l=e.labels,d=e.lessons,f=e.navigationAvailable,h=e.numLessons,p=e.partnerContent,m=e.restrictingQuiz,v=e.showTimeToComplete,g=e.timeToComplete,y=e.trackingCompletionPercentage,w=e.trackingQuizId,x=a.description,k=a.id,E=a.publishedAt,S=a.selectedAuthorId,T=a.tenantId,C=z()(function(e){return e.id===S},p);return u?_.a.createElement(b.Fragment,null,_.a.createElement(Ie,null,_.a.createElement(De,null,_.a.createElement("section",null,_.a.createElement("h2",{className:"visually-hidden"},"Course Length"),_.a.createElement($e,{numLessons:h,timeToComplete:g,showTimeToComplete:v})),_.a.createElement(et,null,C?_.a.createElement(Ce.a,{courseId:k,partnerContent:C,publishedAt:E,tenantId:T}):_.a.createElement(Xe,{avatar:r,authorName:t,authorTitle:n}),_.a.createElement(Je,{lessons:d,numLessons:h,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:c,completedAt:o})),_.a.createElement(tt,{categories:i})),_.a.createElement(Le,null,_.a.createElement("section",null,_.a.createElement(Ge,{text:x,publishedAt:E})),f&&_.a.createElement("section",null,_.a.createElement(Re,null,_.a.createElement(Fe,null,"Course Outline"),!x&&_.a.createElement(Ye,{publishedAt:E})),_.a.createElement(Ee.a,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:m,trackingQuizId:w}))))):_.a.createElement(b.Fragment,null,_.a.createElement(Ie,null,Oe?_.a.createElement(De,null,_.a.createElement("section",null,_.a.createElement(Ge,{text:x,publishedAt:E,numLessons:h,timeToComplete:g,showTimeToComplete:v})),_.a.createElement(et,null,_.a.createElement(Je,{lessons:d,numLessons:h,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:c,completedAt:o})),_.a.createElement(tt,{categories:i})):_.a.createElement("section",null,_.a.createElement(Ge,{text:x,publishedAt:E,numLessons:h,timeToComplete:g,showTimeToComplete:v})),_.a.createElement(Le,null,f&&_.a.createElement("section",null,_.a.createElement(Re,null,_.a.createElement(Fe,null,"Course Outline"),!x&&_.a.createElement(Ye,{publishedAt:E})),_.a.createElement(Ee.a,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:m,trackingQuizId:w})))))}))},function(e,t,n){"use strict";n.d(t,"j",function(){return Me}),n.d(t,"e",function(){return Pe}),n.d(t,"d",function(){return Ie}),n.d(t,"a",function(){return Ue}),n.d(t,"i",function(){return qe}),n.d(t,"b",function(){return He}),n.d(t,"c",function(){return We}),n.d(t,"f",function(){return Ve}),n.d(t,"h",function(){return at}),n.d(t,"g",function(){return st});var r=n(18),i=n.n(r),o=n(15),a=n(4),s=n.n(a),c=n(91),u=n(23),l=n(132),d=n.n(l),f=n(27),h=n.n(f),p=n(9),m=n(6),v=n(10),g=n(8),y=n(11),b=(n(1183),n(0)),_=n.n(b),w=n(102),x=n(136),k=n(129),E=n.n(k),S=n(178),T=n.n(S),C=n(16),O=n.n(C),A=n(127),j=n.n(A),N=n(2),M=n.n(N),P=n(76),I=n.n(P),L=n(7),D=n.n(L),R=n(48),F=n.n(R),B=n(44),U=n.n(B),q=n(51),z=n.n(q),H=n(29),W=n.n(H),V=n(32),Y=n.n(V),G=n(30),K=n.n(G),$=n(122),X=n.n($),Q=n(149),Z=n.n(Q),J=n(28),ee=n.n(J),te=n(22),ne=n.n(te),re=n(84),ie=n.n(re),oe=n(14),ae=n.n(oe),se=n(36),ce=n.n(se),ue=n(484),le=n.n(ue),de=n(276),fe=n.n(de),he=n(64),pe=n(34),me=n(52),ve=n(21),ge=n(169),ye=n(274),be=n(75),_e=n(39),we=n(405),xe=n(408),ke=n(38),Ee=n(419),Se=n(645),Te=n(195),Ce=n(638),Oe=n(59).a.learn.course.overview,Ae=Object(ge.a)("modernOverview")||Object(_e.k)(),je=le()(Y()(D()(Z()(T.a,!Ae),F()("brand--"))),K.a,{}),Ne=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];return M()(e,je(n))},Me=function(e){function t(){return Object(p.a)(this,t),Object(v.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(y.a)(t,e),Object(m.a)(t,[{key:"render",value:function(){var e=M()("overview",{"overview--modern":Ae});return _.a.createElement("div",{className:e,"data-ba":Oe.container,"data-overview":!0,id:"overview"},this.props.children)}},{key:"animate",value:function(e){var t=this,n=this.props.sidebarOpen,r=document.querySelector("[data-overview]"),i=document.querySelector("[data-overview-side]"),o=document.querySelector("[data-overview-side-panel]"),a=document.querySelector("[data-overview-side-panel-content]"),s=n?document.querySelector("[data-lesson-side] [data-overview-sidebar-header-wrap]"):{offsetWidth:0,offsetHeight:0},c={width:e?s.offsetWidth:i.offsetWidth,height:e?s.offsetHeight:i.offsetHeight},u={width:e?i.offsetWidth:s.offsetWidth,height:e?i.offsetHeight:s.offsetHeight};return a.style.width="".concat(s.offsetWidth,"px"),o.style.width="".concat(c.width,"px"),o.style.height="".concat(c.height,"px"),r.classList.add(e?"overview--will-enter":"overview--will-exit"),h()(function(){r.classList.add(e?"overview--will-enter-active":"overview--will-exit-active"),(e&&window.innerWidth<960||window.innerWidth>=960)&&(o.style.width="".concat(u.width,"px"),o.style.height="".concat(u.height,"px"))},10),new d.a(function(n){r.addEventListener("transitionend",t.sidePanelTransitionEndRef=function(i){var a=i.target;(e&&a.hasAttribute("data-overview-content")||!e&&a.hasAttribute("data-overview-side-panel-content")||!e&&a.hasAttribute("data-overview")&&window.innerWidth<960)&&(r.removeEventListener("transitionend",t.sidePanelTransitionEndRef),o.style.width=o.style.height="",r.classList.remove("overview--will-enter","overview--will-enter-active","overview--will-exit","overview--will-exit-active"),n())})})}}]),t}(_.a.Component),Pe=function(e){function t(e){var n;return Object(p.a)(this,t),(n=Object(v.a)(this,Object(g.a)(t).call(this,e))).state={coverImageLoaded:!1},n}return Object(y.a)(t,e),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.coverImage.media,n=(void 0===t?{}:t).image,r=void 0===n?{}:n,i=r.key,o=r.src,a=i?Object(me.a)(r):o;(i||o)&&(this.image=new Image,this.image.src=a,this.image.addEventListener("load",this.imageLoadRef=function(){e.setState({coverImageLoaded:!0})}))}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.removeEventListener("load",this.imageLoadRef),this.image=null)}},{key:"render",value:function(){var e=this.props.coverImage,t=e.media,n=void 0===t?{}:t,r=e.alpha,i=n.image,o=void 0===i?{}:i,a=o.key,s=_.a.Children.toArray(this.props.children),c=a?{backgroundImage:"url('".concat(Object(me.a)(o),"')")}:null,u=M()("overview__side-panel",{"brand--background":!a});return _.a.createElement("div",{className:"overview__side","data-overview-side":!0},_.a.createElement("div",{className:u,"data-overview-side-panel":!0,style:c},this.state.coverImageLoaded?_.a.createElement(xe.a,{alpha:r}):null,_.a.createElement("div",{className:"overview__side-panel-content","data-overview-side-panel-content":!0},U()(ae()("type",Te.a),s))),_.a.createElement("div",{className:"overview__side-content","data-overview-content":!0},_.a.createElement("div",{className:"overview__side-container"},_.a.createElement("div",{className:"overview__side-container-content"},U()(I()(ae.a)("type",Te.a),s)))))}}]),t}(_.a.Component),Ie=function(e){var t=e.children;return _.a.createElement("div",{className:"overview__main",id:"overview-main",tabIndex:"-1"},_.a.createElement("div",{className:"overview__content"},_.a.createElement("div",{className:"overview__container"},t)))},Le=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__columns"}))},De=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__main-col"}))},Re=Ae?function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__aside"}))}:O()(null),Fe=function(e){var t=Ae?"overview__section-header":"visually-hidden";return _.a.createElement("header",Object(u.a)({},e,{className:t}))},Be=function(e){var t=e.children,n=Object(c.a)(e,["children"]),r=Ae?Ne("overview__heading","ui"):null;return _.a.createElement("h2",Object(u.a)({},n,{className:r}),t)},Ue=function(e){var t=e.avatar,n=e.authorName;return t&&n?_.a.createElement("div",{className:Ne("overview__author","ui")},_.a.createElement("div",{className:"overview__author-image",style:{backgroundImage:"url(".concat(Object(_e.p)(t),")")}}),_.a.createElement("div",null,_.a.createElement("span",{"aria-hidden":"true"},n),_.a.createElement("span",{className:"visually-hidden"},"By ",n))):null},qe=function(e){var t=e.children;return _.a.createElement("div",{className:"overview__title-wrap"},_.a.createElement(ke.a,{className:Ne("overview__title","head"),tagName:"h1",value:t}))},ze=D()(ie()(["hasModernOverview","isPreview"]),ce()({},"global")),He=Object(x.b)(ze,{})(function(e){var t=e.children,n=e.coverImage,r=e.enrolled,i=e.favoritedAt,o=e.hasModernOverview,a=e.isPreview,s=e.startAgain,l=Object(c.a)(e,["children","coverImage","enrolled","favoritedAt","hasModernOverview","isPreview","startAgain"]),d=ee()(["media","image","key"],n),f=M()("overview__button",{"brand--color":!d,"brand--ui":!o,"overview__outline-btn":s,"overview__start-again":s,"overview__button-enrolled":r||i||a||Object(_e.k)()});return _.a.createElement(w.a,Object(u.a)({className:f},l),t)}),We=function(e){var t=e.text;return _.a.createElement(E.a.Link,{className:"overview__details-trigger",containerId:"overview",duration:1e3,href:"#overview-main",smooth:!0,to:"overview-main"},_.a.createElement("span",{className:Ne("overview__details-trigger-text","ui")},t),_.a.createElement(pe.f,null))},Ve=function(e){var t=e.src,n=e.width,r=e.height;return t?_.a.createElement("div",{className:"overview__logo"},_.a.createElement("img",{src:t,width:n,height:r,alt:"Logo"})):null},Ye=function(e){return"<p><br></p>"===e?"":e},Ge=function(e){var t=e.publishedAt;if(!ve.e)return null;var n=X()(t);return n.isValid()&&_.a.createElement("span",{className:"overview__description-published"},n.format("[Published] MMMM D, YYYY"))},Ke=fe()("(min-width: 960px)","isDesktop")(function(e){var t=e.text,n=e.publishedAt,r=e.numLessons,i=e.timeToComplete,o=e.showTimeToComplete,a=e.isDesktop;return Ye(t)?_.a.createElement(b.Fragment,null,_.a.createElement(Fe,null,_.a.createElement(Be,null,"Description"),a&&_.a.createElement(Ge,{publishedAt:n}),!a&&_.a.createElement(Xe,{numLessons:r,timeToComplete:i,showTimeToComplete:o,standalone:!1})),_.a.createElement(ke.a,{key:"text",value:Ye(t),className:Ne("overview__description brand--linkColor","body")})):null}),$e=function(e,t){return 1===e?t:s()(t).call(t,"s")},Xe=function(e){var t,n=e.numLessons,r=e.timeToComplete,i=e.showTimeToComplete,o=e.standalone,a=void 0===o||o,s=r>=36e5?(t=X.a.duration(r).asHours(),Math.round(10*t)/10):X.a.duration(r).asMinutes(),c=M()("overview__stat",{"overview__stat-standalone":!a});return _.a.createElement("ul",{className:c,role:"list"},_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},n),"  Lessons"),ve.e&&i&&_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},s)," ",$e(s,r>=36e5?"Hour":"Minute")))},Qe=function(e){var t=e.avatar,n=e.authorName,r=e.authorTitle;return t&&n?_.a.createElement("section",{className:Ne("overview__author-card","ui")},_.a.createElement("h2",{className:"visually-hidden"},"Course Author"),_.a.createElement("img",{className:"overview__author-card-image",src:Object(_e.p)(t),alt:""}),_.a.createElement("span",{className:"overview__author-card-wrap"},_.a.createElement("span",{className:"overview__author-card-name"},n),r&&_.a.createElement("span",{className:"overview__author-card-title"},r))):null},Ze=function(e){var t,n=e.dueAt;if(!n)return null;var r=Object(ye.b)(n),i=M()("overview__due-date","brand--border",(t={},Object(o.a)(t,"brand--color",!r),Object(o.a)(t,"overview__due-date--urgent brand--background",r),t));return _.a.createElement("div",{className:i},Object(ye.a)(n))},Je=function(e){var t=e.component;return _.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-icon"},_.a.createElement(t,{className:"overview__requirements-icon-svg"}))},et=function(e){var t,n=e.completedAt,r=e.courseProgress,i=e.dueAt,o=e.lessons,a=void 0===o?[]:o,c=e.numLessons,u=e.trackingCompletionPercentage,l=e.trackingQuizId,d=!W()(u),f=!!l,h=Math.ceil(u/100*c),p=z()(j()(ae()("type","quiz"),ae()("id",l)),a),m=ce()(void 0,"title",p),v=ee()(["settings","passingScore"],p),g=!d||r.percentComplete>=u,y=Object(be.d)(r,p,l),w=y.outOfAttempts,x=y.quizPassed,k=!x&&w,E=g&&(x||k);return d||f?_.a.createElement("section",{className:"overview__requirements"},_.a.createElement("h2",{className:"overview__requirements-header"},"Course Requirements"),_.a.createElement("ul",{className:"overview__requirements-list",role:"list"},d&&!isNaN(h)&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},g?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.e,{"aria-label":"Requirement complete"})):_.a.createElement(Je,{component:pe.C}),_.a.createElement("span",null,"Complete",h===c?" all ":s()(t=" ".concat(h," of ")).call(t,c," "),"lessons in this course")),f&&m&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},x?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.e,{"aria-label":"Requirement complete"})):k?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(pe.H,{"aria-label":"Quiz failed"})):_.a.createElement(Je,{component:pe.t}),_.a.createElement("div",null,_.a.createElement("span",null,m,!W()(v)&&_.a.createElement(b.Fragment,null,_.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-separator"}," | "),"Score of ",v,"% or higher")),k&&_.a.createElement("div",{className:"overview__requirements-no-attempts"},"No attempts remaining."))),ve.e&&!E&&i&&_.a.createElement("li",{role:"listitem"},_.a.createElement(Ze,{dueAt:i})),n&&_.a.createElement("li",{className:"overview__requirements-completed",role:"listitem"},"Completed ",X()(n).format("L")))):null},tt=function(e){return _.a.createElement("div",Object(u.a)({},e,{className:"overview__author-requirements-wrap"}))},nt=function(e){var t=e.categories,n=void 0===t?[]:t;return 0===n.length?null:_.a.createElement("div",{className:"overview__categories-wrap"},_.a.createElement("section",{className:"overview__categories"},_.a.createElement("h2",{className:"overview__categories-header"},"Topics"),_.a.createElement("ul",{className:"overview__categories-list",role:"list"},i()(n).call(n,function(e,t){return _.a.createElement("li",{className:"overview__categories-list-item",key:t,role:"listitem"},_.a.createElement("span",{className:"overview__categories-icon","aria-hidden":"true"},_.a.createElement(pe.c,null)),_.a.createElement("span",{className:"overview__categories-name"},e))}))))},rt=function(e){var t=e.favoritedAt,n=e.onClick,r=e.onRemove,i=t?r:n,o=t?"Saved to My List":"Save to My List",a=M()({"overview__enroll-heart-filled":t,"overview__enroll-heart-outline":!t});return _.a.createElement("button",{"aria-pressed":!!t,className:"overview__enroll-button","data-ba":Oe.favoriteButton,onClick:i,type:"button"},_.a.createElement(pe.v,{isFilled:t,className:a}),o)},it="".concat(Object(ve.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),ot=fe()("(max-width: 500px)","smallAvatar")(function(e){var t=e.certificateDownload,n=e.currentUser,r=e.smallAvatar;return _.a.createElement("div",{className:"overview__completion-wrap"},_.a.createElement("div",{className:"overview__completion-avatar"},_.a.createElement(Se.a,Object(u.a)({},n,{decorative:!0,size:r?40:60})),_.a.createElement("img",{className:"overview__trophy",src:it,alt:""})),_.a.createElement("div",{className:"overview__completed"},_.a.createElement("span",{"aria-hidden":"true"},"Completed"),_.a.createElement("span",{className:"visually-hidden"},"Course Completed")),t&&_.a.createElement("div",{className:"overview__certificate"},_.a.createElement(we.b,null)))}),at=function(e){var t=e.certificateDownload,n=e.completedQuizRequirement,r=e.courseBtnText,i=e.coverImage,o=e.currentUser,a=e.enrolled,s=e.enrollmentType,c=e.favoritedAt,u=e.handleAddFavoriteClick,l=e.handleRemoveFavoriteClick,d=e.nextLessonId,f=e.percentComplete,h=e.startAgain;return _.a.createElement("div",{className:M()("overview__continueWrapper",{"overview__start-again-wrapper":h&&a})},_.a.createElement("div",{className:"overview__continueButtonsWrap"},_.a.createElement(he.CSSTransition,{classNames:"overview__button-transition",in:a||!!c,timeout:0},_.a.createElement(He,{to:"/lessons/".concat(d),coverImage:i,"data-ba":Oe.startButton,startAgain:h,enrolled:a,favoritedAt:c},_.a.createElement("span",{className:"overview__continueBtn"},r))),ve.e&&"preview"!==window.viewType&&_.a.createElement(rt,{enrolled:a,enrollmentType:s,favoritedAt:c,onClick:u,onRemove:l,percentComplete:f,startAgain:h})),_.a.createElement("span",{className:"overview__spacer"}),h&&n&&!Object(_e.k)()&&_.a.createElement(ot,{currentUser:o,certificateDownload:t}))},st=Object(x.b)(function(e){return{partnerContent:ne()([],["partnerContent","content"],e)}})(fe()("(min-width: 960px)","isDesktop")(function(e){var t=e.authorName,n=e.authorTitle,r=e.avatar,i=e.categories,o=e.completedAt,a=e.course,s=e.courseProgress,c=e.dueAt,u=e.isDesktop,l=e.labels,d=e.lessons,f=e.numLessons,h=e.partnerContent,p=e.restrictingQuiz,m=e.showTimeToComplete,v=e.sidebarEnabled,g=e.timeToComplete,y=e.trackingCompletionPercentage,w=e.trackingQuizId,x=a.description,k=a.id,E=a.publishedAt,S=a.selectedAuthorId,T=a.tenantId,C=z()(function(e){return e.id===S},h);return u?_.a.createElement(b.Fragment,null,_.a.createElement(Le,null,_.a.createElement(Re,null,_.a.createElement("section",null,_.a.createElement("h2",{className:"visually-hidden"},"Course Length"),_.a.createElement(Xe,{numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(tt,null,C?_.a.createElement(Ce.a,{courseId:k,partnerContent:C,publishedAt:E,tenantId:T}):_.a.createElement(Qe,{avatar:r,authorName:t,authorTitle:n}),_.a.createElement(et,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:c,completedAt:o})),_.a.createElement(nt,{categories:i})),_.a.createElement(De,null,_.a.createElement("section",null,_.a.createElement(Ke,{text:x,publishedAt:E})),v&&_.a.createElement("section",null,_.a.createElement(Fe,null,_.a.createElement(Be,null,"Course Outline"),!x&&_.a.createElement(Ge,{publishedAt:E})),_.a.createElement(Ee.a,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:p,trackingQuizId:w}))))):_.a.createElement(b.Fragment,null,_.a.createElement(Le,null,Ae?_.a.createElement(Re,null,_.a.createElement("section",null,_.a.createElement(Ke,{text:x,publishedAt:E,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(tt,null,_.a.createElement(et,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:c,completedAt:o})),_.a.createElement(nt,{categories:i})):_.a.createElement("section",null,_.a.createElement(Ke,{text:x,publishedAt:E,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(De,null,v&&_.a.createElement("section",null,_.a.createElement(Fe,null,_.a.createElement(Be,null,"Course Outline"),!x&&_.a.createElement(Ge,{publishedAt:E})),_.a.createElement(Ee.a,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:p,trackingQuizId:w})))))}))},function(e,t,n){var r=n(123).f,i=n(144),o=n(106)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(144),i=n(133),o=n(508)("IE_PROTO"),a=n(665),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}},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t){"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}}},function(e,t,n){var r=n(118),i=n(689);e.exports=r?i:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){var r=n(475),i=n(179);function o(e){return(o="function"==typeof i&&"symbol"==typeof r?function(e){return typeof e}:function(e){return e&&"function"==typeof i&&e.constructor===i&&e!==i.prototype?"symbol":typeof e})(e)}function a(t){return"function"==typeof i&&"symbol"===o(r)?e.exports=a=function(e){return o(e)}:e.exports=a=function(e){return e&&"function"==typeof i&&e.constructor===i&&e!==i.prototype?"symbol":o(e)},a(t)}e.exports=a},function(e,t,n){var r=n(983),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";var r=n(1137),i=n(87);var o=function(e){i.extend(this,e),this.initialize.apply(this,arguments)};i.extend(o.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=i.clone(e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,o=t._view;return n&&1!==e?(o||(o=t._view={}),i||(i=t._start={}),function(e,t,n,i){var o,a,s,c,u,l,d,f,h,p=Object.keys(n);for(o=0,a=p.length;o<a;++o)if(l=n[s=p[o]],t.hasOwnProperty(s)||(t[s]=l),(c=t[s])!==l&&"_"!==s[0]){if(e.hasOwnProperty(s)||(e[s]=c),(d=typeof l)==typeof(u=e[s]))if("string"===d){if((f=r(u)).valid&&(h=r(l)).valid){t[s]=h.mix(f,i).rgbString();continue}}else if("number"===d&&isFinite(u)&&isFinite(l)){t[s]=u+(l-u)*i;continue}t[s]=l}}(i,o,n,e),t):(t._view=n,t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return i.isNumber(this._model.x)&&i.isNumber(this._model.y)}}),o.extend=i.inherits,e.exports=o},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return Number(e)+Number(t)})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e*t})},function(e,t,n){var r=n(61),i=n(16),o=n(49);e.exports=r(function(e,t,n){return o(e,i(t),n)})},function(e,t,n){e.exports=n(1714)},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e<t})},function(e,t,n){var r=n(61),i=n(35),o=n(28);e.exports=r(function(e,t,n){return i(o(e,n),t)})},function(e,t,n){var r=n(557),i=n(2002),o=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return r(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},e)};e.exports=i(o)},function(e,t,n){"use strict";n.d(t,"b",function(){return N}),n.d(t,"a",function(){return M});var r=n(53),i=n.n(r),o=n(3),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2056),n(0)),p=n.n(h),m=n(2),v=n.n(m),g=n(1),y=n.n(g),b=n(40),_=n.n(b),w=n(22),x=n.n(w),k=n(43),E=n(21),S=n(25),T=n(17),C=n(104),O=n(307),A=n(107),j=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},N=function(e){function t(){var e,n,r;return Object(s.a)(this,t),(r=Object(u.a)(this,Object(l.a)(t).call(this))).state={shouldLoadPlayheadPosition:!0,playheadPositionSaveThrottle:0},r.handleChange=a()(e=r.handleChange).call(e,Object(d.a)(r)),r.onPlayClick=a()(n=r.onPlayClick).call(n,Object(d.a)(r)),r}return Object(f.a)(t,e),Object(c.a)(t,[{key:"mouseSeek",value:function(e){var n=e.currentTarget,r=e.nativeEvent,i=e.pageX,o=this.audio,a=(r.touches?r.touches[0].pageX:i)-t.getElementOffset(n).left,s=n.offsetWidth,c=o.duration;a>s?a=s:a<1&&(a=1),o.currentTime=a/s*c,this.props.onSeek(t.timeMs(o.currentTime))}},{key:"keySeek",value:function(e){var n=this;this.setState({isSeeking:!0},function(){var r=n.audio,i=r.duration;r.currentTime=e<0?Math.max(r.currentTime+e,0):Math.min(r.currentTime+e,i),n.props.onSeek(t.timeMs(r.currentTime)),n.onSeekEnd()})}},{key:"componentDidMount",value:function(){k.a.addChangeListener(this.handleChange)}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&k.a.isPlaying&&(this.audio.pause(),k.a.pause())}},{key:"componentWillUnmount",value:function(){var e=this.props.recordMediaPlayheadPosition;k.a.pause(),k.a.removeChangeListener(this.handleChange),e&&e(j(this.audio))}},{key:"handleChange",value:function(){k.a.playerId===this.props.id&&(k.a.isPlaying?this.audio.play():this.audio&&this.audio.pause(),this.audio&&(this.audio.muted=k.a.isMuted),this.forceUpdate())}},{key:"render",value:function(){var e,t,n,r,i,o,s,c,u,l,d,f=this,h=this.props,m=h.allowTabNavigation,g=h.id,y=h.labels,b=h.mediaSrc,_=k.a.isPlaying&&k.a.playerId===g,w=k.a.isMuted&&k.a.playerId===g,S=v()("audio-player__play",{"audio-player__play--pause":_}),C=v()("audio-player__volume",{"audio-player__volume--muted":w}),O=x()(null,["audio","currentTime"],this),j=x()(null,["audio","duration"],this),N=Object(T.m)(m),M=y.audioPlayerGroup,P=y.pauseButtonLabel,I=y.playButtonLabel,L=y.seekSliderLabel;return p.a.createElement("div",{key:"player-"+g,className:"audio-player"},p.a.createElement("div",{"aria-hidden":!m,"aria-label":M,className:"audio-player__housing",onKeyDown:a()(e=this.onKeyDown).call(e,this),role:A.b,tabIndex:N},p.a.createElement("div",{"aria-label":_?P:I,className:S,onClick:this.onPlayClick,role:"button",tabIndex:N}),p.a.createElement("div",{className:"audio-player__tracker",onMouseDown:a()(t=this.onMouseSeekStart).call(t,this),onTouchStart:a()(n=this.onMouseSeekStart).call(n,this),onMouseUp:a()(r=this.onSeekEnd).call(r,this),onTouchEnd:a()(i=this.onSeekEnd).call(i,this),onMouseMove:a()(o=this.onSeek).call(o,this),onTouchMove:a()(s=this.onSeek).call(s,this)},p.a.createElement("div",{ref:function(e){return f.trackerbar=e},className:"audio-player__tracker-bar brand--background"}),p.a.createElement("div",{className:"audio-player__tracker-handle brand--background","aria-label":L,"aria-live":"polite","aria-valuemax":j,"aria-valuemin":"0","aria-valuenow":O,ref:function(e){return f.trackerhandle=e},role:"slider",tabIndex:N})),p.a.createElement("div",{className:"audio-player__timer"},this.state.currentTime),p.a.createElement("div",{className:C,onClick:a()(c=this.onVolumeClick).call(c,this)},p.a.createElement("i",{className:"icon-volume"}),p.a.createElement("i",{className:"icon-mute"}))),p.a.createElement("audio",{ref:function(e){return f.audio=e},className:"audio-player__audio-element",onTimeUpdate:a()(u=this.onTimeUpdate).call(u,this),onLoadedMetadata:a()(l=this.onLoadedMetadata).call(l,this),onEnded:a()(d=this.onEnded).call(d,this),src:Object(E.g)("".concat(b)),key:"audio-"+g}))}},{key:"onKeyDown",value:function(e){var t=this,n=Object(C.b)(this.onPlayClick),r=Object(C.b)(function(){return t.keySeek(5)}),i=Object(C.b)(function(){return t.keySeek(-5)});_()([[S.e,n],[S.j,r],[S.h,i]])(e)}},{key:"onPlayClick",value:function(e){e.preventDefault();var n=this.props,r=n.audioVideoPlayhead,i=n.id,o=n.onPause,a=n.onPlay,s=n.recordMediaPlayheadPosition,c=this.audio,u=c.currentTime,l=c.duration;k.a.isPlaying&&k.a.playerId!==i&&(k.a.isPlaying=!1),k.a.playerId=i,k.a.isPlaying=!k.a.isPlaying,k.a.isPlaying?(a(t.timeMs(u)),r&&this.state.shouldLoadPlayheadPosition&&(this.audio.currentTime=l*r/100||0)):(o(t.timeMs(u)),s&&s(j(this.audio))),this.setState({shouldLoadPlayheadPosition:!1})}},{key:"onVolumeClick",value:function(){k.a.isMuted?k.a.isMuted=!1:k.a.isMuted=!0}},{key:"onMouseSeekStart",value:function(e){this.setState({isSeeking:!0}),this.mouseSeek(e)}},{key:"onSeekEnd",value:function(){var e=this.props,n=e.id,r=e.onPlay,i=e.recordMediaPlayheadPosition,o=this.audio.currentTime;this.setState({isSeeking:!1}),k.a.isPlaying&&k.a.playerId!==n&&(k.a.isPlaying=!1),k.a.playerId=n,k.a.isPlaying=!0,r(t.timeMs(o)),i&&i(j(this.audio))}},{key:"onSeek",value:function(e){this.state.isSeeking&&this.mouseSeek(e)}},{key:"onLoadedMetadata",value:function(e){this.setState({currentTime:t.calcTime(e.target.duration,e.target.currentTime)})}},{key:"onEnded",value:function(e){this.audio.currentTime=0,this.setState({currentTime:t.calcTime(e.target.duration,e.target.currentTime)}),k.a.isPlaying=!1,this.props.onEnd(t.timeMs(e.target.currentTime)),this.forceUpdate()}},{key:"onTimeUpdate",value:function(e){var n=this.props.recordMediaPlayheadPosition,r=e.target,i=r.currentTime,o=r.duration,a=Math.floor(i);Object(E.h)();var s=i/o*100;this.trackerbar.style.width=s+"%",this.trackerhandle.style.left=s+"%",this.setState({currentTime:t.calcTime(o,i)}),a%5==0&&this.state.playheadPositionSaveThrottle!==a&&n&&(n(j(e.target)),this.setState({playheadPositionSaveThrottle:a}))}},{key:"currentTime",value:function(){return t.timeMs(this.audio.currentTime)}}],[{key:"calcTime",value:function(e,t){var n=Math.round(e-t),r=Math.floor(n/60),o=n-60*r;function a(e,t,n){var r;return i()(r=new Array(n+1).join(t)+e).call(r,-n)}return a(r,"0",2)+":"+a(o,"0",2)}},{key:"getElementOffset",value:function(e){var t=document.documentElement,n=e.getBoundingClientRect();return{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}},{key:"timeMs",value:function(e){return Math.round(1e3*e)}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{audioPlayerGroup:O.a.audioPlayerGroup,pauseButtonLabel:O.a.pauseButtonLabel,playButtonLabel:O.a.playButtonLabel,seekSliderLabel:O.a.seekSliderLabel},mediaSrc:null,onEnd:function(){},onPause:function(){},onPlay:function(){},onSeek:function(){},shouldPause:!1}}},{key:"propTypes",get:function(){return{allowTabNavigation:y.a.bool,labels:y.a.object,mediaSrc:y.a.string,shouldPause:y.a.bool}}}]),t}(p.a.Component),M=p.a.createElement(N,null).type},function(e,t,n){"use strict";var r=n(221),i=n.n(r);var o=n(603);function a(e){return function(e){if(i()(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return a})},function(e,t,n){"use strict";n.d(t,"c",function(){return he}),n.d(t,"b",function(){return pe}),n.d(t,"d",function(){return ge}),n.d(t,"a",function(){return Se});var r=n(261),i=n.n(r),o=n(301),a=n.n(o),s=n(16),c=n.n(s),u=n(26),l=n.n(u),d=n(127),f=n.n(d),h=n(76),p=n.n(h),m=n(7),v=n.n(m),g=n(109),y=n.n(g),b=n(126),_=n.n(b),w=n(300),x=n.n(w),k=n(35),E=n.n(k),S=n(44),T=n.n(S),C=n(47),O=n.n(C),A=n(83),j=n.n(A),N=n(88),M=n.n(N),P=n(29),I=n.n(P),L=n(82),D=n.n(L),R=n(45),F=n.n(R),B=n(77),U=n.n(B),q=n(90),z=n.n(q),H=n(30),W=n.n(H),V=n(262),Y=n.n(V),G=n(73),K=n.n(G),$=n(49),X=n.n($),Q=n(22),Z=n.n(Q),J=n(84),ee=n.n(J),te=n(13),ne=n.n(te),re=n(14),ie=n.n(re),oe=n(69),ae=n.n(oe),se=n(42),ce=n.n(se),ue=n(39),le=n(74),de=n(141),fe=n(57),he=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(fe.g)({id:n,updateFn:me({activeIndex:t})}))}},pe=function(e){var t=e.currentPassingScore,n=e.id;return function(e){return e(Object(fe.g)({id:n,updateFn:ve(t)}))}},me=function(e){var t=e.activeIndex;return l()("activeIndex",t)},ve=function(e){return v()(X()(z()("retryAttempts"),v()(M.a,_()(0))),ce()(ie()("passed",!1),K()(["passed"])),ce()(ie()("isComplete",!1),K()(["isComplete"])),K()(["activeIndex","percentComplete","score","reportResults"]),X()(z()("items"),Object(le.e)(ee()(["id","index"]))),X()(z()("passingScore"),c()(e)))},ge=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.isCorrect,i=e.itemId,o=e.passingScore,a=e.passToContinue;return function(e){return e(Object(fe.g)({id:n,type:"quiz",updateFn:ye({finalRetryAttempt:t,id:n,isCorrect:r,itemId:i,passingScore:o,passToContinue:a})}))}},ye=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.itemId,i=e.isCorrect,o=e.passingScore,a=e.passToContinue;return v()(ce()(ie()("percentComplete",100),be({finalRetryAttempt:t,id:n,passingScore:o,passToContinue:a})),fe.f,_e,X()(U()(["items",r]),O()(W.a)({isComplete:!0,isCorrect:i})))},be=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.passingScore,i=e.passToContinue;return function(e){var o=ne()("score",e),a=o>=r,s=!i||a;return Object(ue.e)(a,o,n,t),W()({passed:a,isComplete:s,reportResults:!0},e)}},_e=function(e){return l()("score",v()(Math.round,Y()(100),O()(x.a)(v()(F.a,D.a,ne()("items"))(e)),F.a,T()(ie()("isCorrect",!0)),ae.a,ne()("items"))(e),e)},we=f()(v()(E()(3),F.a),a()(p()(I.a))),xe=v()(ae.a,ee()(["passed","retryAttempts","score"])),ke=v()(we,xe),Ee=function(e){var t=e.id,n=e.state;return Object(de.c)(n,Z()({},["lessons",t,"items"]),D.a,F.a,i()(1))},Se=y()(function(e){return j()(ke,function(e){return function(t){var n=t.id,r=t.passed,i=t.passingScore,o=t.score,a=t.retryAttempts;return X()(U()(["lessons",n]),O()(W.a)({isComplete:!0,activeIndex:Ee({id:n,state:e}),reportResults:!0,passed:r,passingScore:i,percentComplete:100,retryAttempts:a,score:o}),e)}}(e),c()(e))})},function(e,t,n){var r=n(718),i=n(50);e.exports=i(function(e){return r.apply(null,[{}].concat(e))})},function(e,t,n){var r=n(930),i=n(20),o=n(1874),a=n(459);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)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return i});n(2055);var r=n(21);function i(t){return t.enableExitCourse?e.createElement("button",{className:t.className,onClick:r.b,type:"button"},t.text):null}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(122),i=n.n(r),o=function(e){if(!e)return"";var t=i()(e),n=i()(),r=i()(n).add(24,"hours");return t.isBefore(n)?"Overdue":t.isBefore(r)?"Due in ".concat(n.to(t,!0)):"Due ".concat(t.format("MMM D"))},a=function(e){return i()(e).isSameOrBefore(i()().add(3,"d"),"days")}},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u});var r=n(76),i=n.n(r),o=n(14),a=n.n(o),s=a()("navigationMode","restricted"),c=i()(a()("sidebarMode","hidden")),u=a()("sidebarMode","open")},function(e,t,n){"use strict";e.exports=n(2263)},function(e,t,n){"use strict";var r=n(1561);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},function(e,t,n){"use strict";(function(e){var r=n(23),i=n(9),o=n(6),a=n(10),s=n(8),c=n(11),u=n(222),l=n.n(u),d=n(30),f=n.n(d),h=n(120),p=function(t){function n(){return Object(i.a)(this,n),Object(a.a)(this,Object(s.a)(n).apply(this,arguments))}return Object(c.a)(n,t),Object(o.a)(n,[{key:"componentWillEnter",value:function(e){this.child&&this.child.componentWillEnter?this.child.componentWillEnter(e):e()}},{key:"componentDidEnter",value:function(){this.child&&this.child.componentDidEnter&&this.child.componentDidEnter()}},{key:"componentWillExit",value:function(e){this.child&&this.child.componentWillExit?this.child.componentWillExit(e):e()}},{key:"componentDidExit",value:function(){this.child&&this.child.componentDidExit&&this.child.componentDidExit()}},{key:"render",value:function(){var t=this,n=this.props,i=n.childProps,o=n.component,a=l()("component",this.props);return e.createElement(h.a,Object(r.a)({},a,{render:function(n){var r=n.match,a=f()(i,{match:r,ref:function(e){return t.child=e}});return e.createElement(o,a)}}))}}]),n}(e.Component);t.a=p}).call(this,n(0))},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=n(46),a=(n(2226),n(0)),s=n.n(a),c=n(7),u=n.n(c),l=n(2),d=n.n(l),f=n(207),h=n.n(f),p=n(32),m=n.n(p),v=n(36),g=n.n(v),y=n(241),b=n.n(y),_=n(242),w=n.n(_),x=n(34),k=n(17),E=n(141),S=n(25),T=function(e){var t,n,r=e.allowTabNavigation,c=e.isComplete,u=e.isCorrect,l=e.onChange,f=e.onEnterToSubmit,h=e.options,p=e.questionHtmlId,m=e.quizAcceptableResponses,v=e.quizAnswerPlaceholder,g=e.revealAnswers,y=e.value,b=Object(a.useRef)(),_=Object(a.useState)(function(){return w()("fitb-")}),E=Object(o.a)(_,1)[0],T="".concat(E,"-feedback"),C="".concat(E,"-acceptable"),A="".concat(E,"-input"),j=c?i()(t="".concat(T," ")).call(t,C):void 0,N=c?void 0:v,M=r?0:k.i,P=d()("quiz-fill__icon",{"quiz-fill__icon--visible":c}),I=d()("quiz-fill__options",{"quiz-fill__options--visible":c}),L=Object(a.useCallback)(function(e){l(e.currentTarget.value)},[l]),D=Object(a.useCallback)(function(e){Object(S.d)(e)&&f(e)},[f]),R=c?void 0:L,F=c?void 0:D;return s.a.createElement("div",{className:"quiz-fill"},s.a.createElement("div",{className:"quiz-fill__container"},s.a.createElement("input",{"aria-labelledby":p,"aria-describedby":j,"aria-hidden":!r,"aria-readonly":c,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers",id:A,onChange:R,onKeyDown:F,placeholder:N,readOnly:c,ref:b,tabIndex:M,type:"text",value:y}),g&&s.a.createElement("div",{className:P,id:T},u&&s.a.createElement(x.e,{"aria-label":"Correct",className:"brand--fill"}),!u&&s.a.createElement(x.H,{"aria-label":"Incorrect"}))),g&&c&&s.a.createElement("div",{className:I,id:C},i()(n="".concat(m,": ")).call(n,O(h))))};T.defaultProps={onChange:E.b,onEnterToSubmit:E.b};var C,O=u()(h()(", "),m()(u()(b.a,g()("","title")))),A=T,j=n(1130),N=n(18),M=n.n(N),P=n(15),I=(n(2229),n(333)),L=n.n(I),D=(C={},Object(P.a)(C,"NEXT",function(e,t){return t===e-1?0:t+1}),Object(P.a)(C,"PREV",function(e,t){return 0===t?e-1:t-1}),C),R=function(e){var t=e.allowTabNavigation,n=e.id,r=e.index,i=e.isComplete,c=e.isCorrect,u=e.isFresh,l=e.isSelected,f=e.onChange,h=e.onEnterToSubmit,p=e.onNav,m=e.prefersKeyboardNavigation,v=e.renderOptionText,g=e.revealAnswers,y=e.title,b=Object(a.useState)(function(){return w()("qmc-")}),_=Object(o.a)(b,1)[0],E=Object(a.useRef)(),T=L()(l),C=i&&g,O="".concat(_,"-label"),A=C?"".concat(_,"-result"):void 0,j=i?"true":"false",N=t&&(l||u&&0===r)?0:k.i,M=d()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":i}),P=d()("quiz-multiple-choice-option",{"quiz-multiple-choice-option--complete":i,"quiz-multiple-choice-option--keyboard":m,"quiz-multiple-choice-option--selected":l,"quiz-multiple-choice-option--correct":i&&c&&g,"quiz-multiple-choice-option--incorrect":i&&!c&&g}),I=d()("quiz-multiple-choice-option__border",{"brand--beforeBorder":i&&g&&l&&c}),D=Object(a.useCallback)(function(e){e.target===e.currentTarget&&(Object(S.d)(e)?h(e):Object(S.c)(e)?(e.preventDefault(),p("NEXT")):Object(S.o)(e)?(e.preventDefault(),p("PREV")):Object(S.k)(e)&&(e.preventDefault(),f({selectedIndex:r})))},[r,f,h,p]),R=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&f({selectedIndex:r})},[r,f]),F=i?void 0:R,B=i?void 0:D;return Object(a.useEffect)(function(){t&&!T&&l&&E.current&&E.current.focus()},[t,l,T]),s.a.createElement("div",{className:M,onClick:F},s.a.createElement("div",{"aria-checked":l,"aria-describedby":A,"aria-disabled":j,"aria-labelledby":O,className:P,onKeyDown:B,ref:E,role:"radio",tabIndex:N},s.a.createElement("div",{className:"quiz-multiple-choice-option__indicator"},s.a.createElement("div",{className:"quiz-multiple-choice-option__dot brand--background"}),s.a.createElement(x.d,{"aria-hidden":"true",className:"quiz-multiple-choice-option__check brand--fill",width:"9",height:"7"}),s.a.createElement(x.l,{"aria-hidden":"true",className:"quiz-multiple-choice-option__x",height:"8",width:"8"})),s.a.createElement("div",{className:I})),s.a.createElement("div",{className:"quiz-multiple-choice-option__text brand--body",id:O},v({optionId:n,title:y})),C&&s.a.createElement("div",{className:"visually-hidden-always",id:A},l&&c&&"Correctly selected",l&&!c&&"Incorrectly selected",!l&&c&&"Incorrectly unselected",!l&&!c&&"Correctly unselected"))},F=function(e){var t=e.allowTabNavigation,n=e.correctId,r=e.isComplete,i=e.onChange,o=e.onEnterToSubmit,c=e.options,u=void 0===c?[]:c,l=e.prefersKeyboardNavigation,d=e.questionHtmlId,f=e.renderOptionText,h=e.revealAnswers,p=e.selectedIndex,m=Object(a.useCallback)(function(e){var t=u.length;1!==t&&i({selectedIndex:D[e](t,p||0)})},[i,u.length,p]);return s.a.createElement("div",{"aria-labelledby":d,role:"radiogroup"},M()(u).call(u,function(e,a,c){return s.a.createElement(R,{allowTabNavigation:t,id:e.id,index:a,isComplete:r,isCorrect:n===e.id,isFirst:0===a,isFresh:-1===p||null==p,isLast:a===c.length-1,isSelected:p===a,key:e.id,onChange:i,onEnterToSubmit:o,onNav:m,prefersKeyboardNavigation:l,renderOptionText:f,revealAnswers:h,title:e.title})}))},B=(n(2230),n(78)),U=n.n(B),q=function(e){var t=e.allowTabNavigation,n=e.id,r=e.index,i=e.isComplete,c=e.isCorrect,u=e.isSelected,l=e.onChange,f=e.onEnterToSubmit,h=e.prefersKeyboardNavigation,p=e.renderOptionText,m=e.revealAnswers,v=e.title,g=Object(a.useState)(function(){return w()("qmr-")}),y=Object(o.a)(g,1)[0],b=i&&m,_="".concat(y,"-label"),E=b?"".concat(y,"-result"):void 0,T=i?"true":"false",C=t?0:k.i,O=d()("quiz-multiple-response-option-wrap",{"quiz-multiple-response-option-wrap--complete":i}),A=d()("quiz-multiple-response-option",{"quiz-multiple-response-option--complete":i,"quiz-multiple-response-option--keyboard":h,"quiz-multiple-response-option--selected":u,"quiz-multiple-response-option--correct":i&&c&&m,"quiz-multiple-response-option--incorrect":i&&!c&&m}),j=d()("quiz-multiple-response-option__border",{"brand--beforeBorder":i&&m&&c&&u}),N=Object(a.useCallback)(function(e){Object(S.d)(e)?f(e):Object(S.k)(e)&&(e.preventDefault(),l({optionIndex:r}))},[r,f,l]),M=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&l({optionIndex:r})},[r,l]),P=i?void 0:M,I=i?void 0:N;return s.a.createElement("li",{className:O,onClick:P,role:"listitem"},s.a.createElement("div",{"aria-checked":u,"aria-describedby":E,"aria-disabled":T,"aria-labelledby":_,className:A,onKeyDown:I,role:"checkbox",tabIndex:C},s.a.createElement("div",{className:"quiz-multiple-response-option__indicator"},s.a.createElement(x.d,{"aria-hidden":"true",className:"quiz-multiple-response-option__check brand--fill",width:"9",height:"7"}),s.a.createElement(x.l,{"aria-hidden":"true",className:"quiz-multiple-response-option__x",height:"8",width:"8"})),s.a.createElement("div",{className:j})),s.a.createElement("div",{className:"quiz-multiple-response-option__text brand--body",id:_},p({optionId:n,title:v})),b&&s.a.createElement("div",{className:"visually-hidden-always",id:E},u&&c&&"Correctly checked",u&&!c&&"Incorrectly checked",!u&&c&&"Incorrectly unchecked",!u&&!c&&"Correctly unchecked"))},z=function(e){var t=e.allowTabNavigation,n=e.correctIds,r=void 0===n?[]:n,i=e.isComplete,o=e.onChange,a=e.onEnterToSubmit,c=e.options,u=void 0===c?[]:c,l=e.prefersKeyboardNavigation,d=e.renderOptionText,f=e.revealAnswers,h=e.selectedIndices,p=void 0===h?[]:h;return s.a.createElement("ul",{role:"list"},M()(u).call(u,function(e,n){return s.a.createElement(q,{allowTabNavigation:t,id:e.id,index:n,isComplete:i,isCorrect:U()(e.id,r),isSelected:U()(n,p),key:e.id,onChange:o,onEnterToSubmit:a,prefersKeyboardNavigation:l,renderOptionText:d,revealAnswers:f,title:e.title})}))};n.d(t,"a",function(){return A}),n.d(t,"b",function(){return j.a}),n.d(t,"c",function(){return F}),n.d(t,"d",function(){return z})},function(e,t,n){"use strict";(function(e){n.d(t,"h",function(){return j}),n.d(t,"g",function(){return N}),n.d(t,"f",function(){return M}),n.d(t,"b",function(){return P}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return L}),n.d(t,"e",function(){return D}),n.d(t,"a",function(){return R});var r=n(23),i=n(53),o=n.n(i),a=n(18),s=n.n(a),c=n(3),u=n.n(c),l=n(4),d=n.n(l),f=n(9),h=n(6),p=n(10),m=n(8),v=n(5),g=n(11),y=(n(2071),n(0)),b=n(1),_=n.n(b),w=n(2),x=n.n(w),k=n(66),E=n(111),S=n(93),T=n(55),C=n(38),O=n(107),A=n(59).b.blocks,j=function(t){function n(){var e,t,r,i,o;Object(f.a)(this,n);for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];return(o=Object(p.a)(this,(e=Object(m.a)(n)).call.apply(e,d()(t=[this]).call(t,s)))).renderTextDelegate=u()(r=o.renderText).call(r,Object(v.a)(o)),o.renderHeadingDelegate=u()(i=o.renderHeading).call(i,Object(v.a)(o)),o}return Object(g.a)(n,t),Object(h.a)(n,[{key:"renderHeading",value:function(t){var n=t.heading,r=n||null;return e.createElement(C.a,{value:r})}},{key:"renderText",value:function(t){var n=t.paragraph;return e.createElement(S.a,{className:"block-text__col brand--body",value:n||""})}},{key:"render",value:function(){var t,n,r=this.props,i=r.items,a=r.type,c=r.heading,u=r.columns,l=r.settings,d=r.renderHeading,f=void 0===d?this.renderHeadingDelegate:d,h=r.renderText,p=void 0===h?this.renderTextDelegate:h,m=l.paddingTop,v=l.paddingBottom,g=l.backgroundColor,b=l.entranceAnimation,_=x()("block-text block-text--".concat(a),{"block-text--no-animation":!b}),w={backgroundColor:Object(k.a)("",g),paddingTop:"".concat(10*m,"px"),paddingBottom:"".concat(10*v,"px")},E=c?"heading"===c?"h2":"h3":"span";return e.createElement("div",{className:_,style:w},e.createElement("div",{className:"block-text__container","data-ba":A.blockText},e.createElement("div",{className:"block-text__row"},""!==c?s()(t=o()(i).call(i,0,1)).call(t,function(t){return e.createElement("div",{className:"block-text__col brand--head",key:t.id},e.createElement(E,null,f(t)))}):null),e.createElement("div",{className:"block-text__row"},"heading"!==a?s()(n=o()(i).call(i,0,u)).call(n,function(t){return e.createElement(y.Fragment,{key:t.id},p(t))}):null)))}}],[{key:"propTypes",get:function(){return{lessonId:_.a.any,blockId:_.a.any,items:_.a.array.isRequired,settings:_.a.object.isRequired,type:_.a.string,heading:_.a.string,columns:_.a.number}}},{key:"defaultProps",get:function(){return{type:"onecol",heading:"",columns:1,items:[]}}}]),n}(e.Component),N=function(t){return e.createElement(j,Object(r.a)({type:"twocol",columns:2},t))},M=function(t){return e.createElement(j,Object(r.a)({type:"threecol",columns:3},t))},P=function(t){return e.createElement(j,Object(r.a)({type:"heading",heading:"heading"},t))},I=function(t){return e.createElement(j,Object(r.a)({type:"heading",heading:"subheading"},t))},L=function(t){return e.createElement(j,Object(r.a)({heading:"heading"},t))},D=function(t){return e.createElement(j,Object(r.a)({heading:"subheading"},t))},R=function(t){function n(){var e,t,r,i;Object(f.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(p.a)(this,(e=Object(m.a)(n)).call.apply(e,d()(t=[this]).call(t,a)))).renderCaptionDelegate=u()(r=i.renderCaption).call(r,Object(v.a)(i)),i}return Object(g.a)(n,t),Object(h.a)(n,[{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(S.a,{className:"block-text__code-caption brand--body brand--linkColor",value:n||""})}},{key:"render",value:function(){var t,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,a=n.items,c=n.labels.codeGroup,u=n.settings,l=n.renderCaption,d=void 0===l?this.renderCaptionDelegate:l,f=u.paddingTop,h=u.paddingBottom,p=u.backgroundColor,m=u.entranceAnimation,v=u.snippetBackgroundColor,g=x()("block-text block-text--code",{"block-text--padding-top":2===Number(f),"block-text--padding-bottom":2===Number(h),"block-text--no-animation":!m}),y={backgroundColor:Object(k.a)("",p),paddingTop:"".concat(10*f,"px"),paddingBottom:"".concat(10*h,"px")};return e.createElement("div",{className:g,style:y,"data-ba":A.blockText},e.createElement(T.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i},e.createElement("div",{className:"block-text__container"},s()(t=o()(a).call(a,0,1)).call(t,function(t){var n=Object(O.a)(t);return e.createElement("div",{className:"block-text__row",key:t.id},e.createElement("div",{"aria-label":c,className:"block-text__col",role:O.b},e.createElement("figure",{"aria-labelledby":n.figcaptionId,className:"block-text__figure",role:"figure"},e.createElement("pre",{className:"block-text__code","data-ba":A.blockText,style:{backgroundColor:Object(k.a)("",v)},dangerouslySetInnerHTML:{__html:Object(E.a)(t.code)}}),t.caption&&e.createElement("figcaption",{id:n.figcaptionId},d(t)))))}))))}}],[{key:"propTypes",get:function(){return{lessonId:_.a.any,blockId:_.a.any,items:_.a.array.isRequired,settings:_.a.object.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(58);e.exports=function(e,t){var n=[][e];return!n||!r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){"use strict";if(n(105)){var r=n(65),i=n(19),o=n(676),a=n(95),s=n(513),c=n(315),u=n(341),l=n(172),d=n(108),f=n(826),h=n(843),p=n(232),m=n(144),v=n(511),g=n(85),y=n(312),b=n(372),_=n(342).f,w=n(844),x=n(167)(0),k=n(373),E=n(123),S=n(185),T=n(214),C=T.get,O=T.set,A=E.f,j=S.f,N=r.RangeError,M=s.ArrayBuffer,P=s.DataView,I=a.NATIVE_ARRAY_BUFFER_VIEWS,L=a.TYPED_ARRAY_TAG,D=a.TypedArray,R=a.TypedArrayPrototype,F=a.aTypedArrayConstructor,B=a.isTypedArray,U=function(e,t){for(var n=0,r=t.length,i=new(F(e))(r);r>n;)i[n]=t[n++];return i},q=function(e,t){A(e,t,{get:function(){return C(this)[t]}})},z=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},H=function(e,t){return B(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},W=function(e,t){return H(e,t=p(t,!0))?u(2,e[t]):j(e,t)},V=function(e,t,n){return!(H(e,t=p(t,!0))&&g(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?A(e,t,n):(e[t]=n.value,e)};I||(S.f=W,E.f=V,q(R,"buffer"),q(R,"byteOffset"),q(R,"byteLength"),q(R,"length")),i({target:"Object",stat:!0,forced:!I},{getOwnPropertyDescriptor:W,defineProperty:V}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",u="get"+e,p="set"+e,m=r[s],v=m,E=v&&v.prototype,S={},T=function(e,n){A(e,n,{get:function(){return function(e,n){var r=C(e);return r.view[u](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=C(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[p](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};I?o&&(v=n(function(e,n,r,i){return c(e,v,s),g(n)?z(n)?void 0!==i?new m(n,h(r,t),i):void 0!==r?new m(n,h(r,t)):new m(n):B(n)?U(v,n):w.call(v,n):new m(f(n))}),b&&b(v,D),x(_(m),function(e){e in v||l(v,e,m[e])}),v.prototype=E):(v=n(function(e,n,r,i){c(e,v,s);var o,a,u,l=0,p=0;if(g(n)){if(!z(n))return B(n)?U(v,n):w.call(v,n);o=n,p=h(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw N("Wrong length");if((a=m-p)<0)throw N("Wrong length")}else if((a=d(i)*t)+p>m)throw N("Wrong length");u=a/t}else u=f(n),o=new M(a=u*t);for(O(e,{buffer:o,byteOffset:p,byteLength:a,length:u,view:new P(o)});l<u;)T(e,l++)}),b&&b(v,D),E=v.prototype=y(R)),E.constructor!==v&&l(E,"constructor",v),L&&l(E,L,s),S[s]=v,i({global:!0,forced:v!=m,sham:!I},S),"BYTES_PER_ELEMENT"in v||l(v,"BYTES_PER_ELEMENT",t),"BYTES_PER_ELEMENT"in E||l(E,"BYTES_PER_ELEMENT",t),k(s)}}else e.exports=function(){}},function(e,t,n){var r=n(524),i=n(284);e.exports=function(e){return r(i(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r,i,o,a=n(1546),s=n(134),c=n(155),u=n(233),l=n(173),d=n(526),f=n(440),h=s.WeakMap;if(a){var p=new h,m=p.get,v=p.has,g=p.set;r=function(e,t){return g.call(p,e,t),t},i=function(e){return m.call(p,e)||{}},o=function(e){return v.call(p,e)}}else{var y=d("state");f[y]=!0,r=function(e,t){return u(e,y,t),t},i=function(e){return l(e,y)?e[y]:{}},o=function(e){return l(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(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(686),i=n(217).f,o=n(233),a=n(173),s=n(1548),c=n(130)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;a(l,c)||i(l,c,{configurable:!0,value:t}),u&&!r&&o(l,"toString",s)}}},function(e,t,n){var r=n(686),i=n(346),o=n(130)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i: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=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){n(439);var r=n(1576),i=n(134),o=n(287),a=n(233),s=n(347),c=n(130)("toStringTag");for(var u in r){var l=i[u],d=l&&l.prototype;d&&o(d)!==c&&a(d,c,u),s[u]=s.Array}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t,n){var r=n(1153),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(583);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){var r=n(20),i=n(454);e.exports=r(function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]})},function(e,t,n){var r=n(458);e.exports=r(1,"split")},function(e,t,n){var r=n(458);e.exports=r(0,"toLowerCase")},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e/t})},function(e,t,n){var r=n(20),i=n(148),o=n(1718);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}))},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e<=t})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return t.match(e)||[]})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=n(305),c=n(642),u=n(616);n(2123);t.a=Object(r.memo)(function(e){var t=e.alt,n=e.allowTabNavigation,o=void 0===n||n,l=e.caption,d=e.disableZoom,f=e.fileName,h=e.imageKey,p=e.onLoad,m=e.src,v=Object(r.useRef)(),g=Object(r.useRef)(),y=Object(s.a)({alt:t,caption:l,fileName:f,key:h}),b=o&&!d,_=Object(r.useCallback)(function(e){g.current.zoom(v.current,e.currentTarget,{})},[]);Object(r.useEffect)(function(){var e=Object(c.a)();return g.current=e,function(){e.cleanup()}},[]);var w=a()("img-img",{"img-zoom":b}),x=b?_:void 0;return i.a.createElement("div",{className:"img"},i.a.createElement("img",{alt:y,className:w,onClick:x,onLoad:p,ref:v,role:"img",src:m}),b&&i.a.createElement("button",{"aria-label":"Zoom image",className:"img-btn img-zoom visually-hidden",onClick:_,type:"button"},i.a.createElement(u.a,{"aria-hidden":"true",className:"img-btn-symbol"})))})},function(e,t,n){"use strict";n.d(t,"b",function(){return S}),n.d(t,"a",function(){return T});var r=n(53),i=n.n(r),o=n(16),a=n.n(o),s=n(7),c=n.n(s),u=n(78),l=n.n(u),d=n(35),f=n.n(d),h=n(83),p=n.n(h),m=n(131),v=n.n(m),g=n(24),y=n.n(g),b=n(36),_=n.n(b),w=n(298),x=n.n(w),k=n(111),E=c()(l()(".svg"),_()("","originalUrl")),S=p()(E,a()({width:"500rem"}),a()({})),T=function(e){var t=e.alt,n=e.caption,r=e.fileName,o=e.key;if('""'===t)return"";if(t)return t;if(n){var a=Object(k.d)(n);if(a)return a}if(r)return r;if(o){var s,c=i()(s=o.split("/")).call(s,-1)[0];if(c)return c}};y()(_()("","originalUrl"),x()("."),v.a,f()("svg"))},function(e,t,n){"use strict";n.d(t,"a",function(){return Z}),n.d(t,"c",function(){return ie}),n.d(t,"b",function(){return se}),n.d(t,"e",function(){return ce}),n.d(t,"d",function(){return ue});var r=n(91),i=n(135),o=n.n(i),a=n(15),s=n(26),c=n.n(s),u=n(7),l=n.n(u),d=n(300),f=n.n(d),h=n(35),p=n.n(h),m=n(89),v=n.n(m),g=n(44),y=n.n(g),b=n(47),_=n.n(b),w=n(60),x=n.n(w),k=n(82),E=n.n(k),S=n(45),T=n.n(S),C=n(77),O=n.n(C),A=n(90),j=n.n(A),N=n(30),M=n.n(N),P=n(73),I=n.n(P),L=n(589),D=n.n(L),R=n(49),F=n.n(R),B=n(24),U=n.n(B),q=n(13),z=n.n(q),H=n(14),W=n.n(H),V=n(69),Y=n.n(V),G=n(42),K=n.n(G),$=n(74),X=n(57),Q=n(414),Z=l()(_()(M.a)({isComplete:!0,percentComplete:100}),F()(j()("items"),Object($.e)(l()(F()(j()("items"),Object($.e)(c()("isComplete",!0))),c()("isComplete",!0))))),J=function(e){var t=e.id,n=e.items;return U()(F()(O()(["items",t,"items"]),ae(n)),F()(O()(["items",t]),oe),X.f,K()(W()("percentComplete",100),c()("isComplete",!0)))},ee=function(e,t){var n=t.id;return M()(e,Object(a.a)({},n,c()("isComplete",!0)))},te=I()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),ne=F()(j()("items"),Object($.e)(I()(["isComplete","isCorrect","isViewed"]))),re=Object($.e)(l()(ne,te)),ie=U()(I()(["isComplete","percentComplete"]),F()(j()("items"),re)),oe=K()(function(e){return D()(l()(x.a,z()("items"))(e),function(e){return U()(z()("items"),Y.a,y()(W()("isComplete",!0)),T.a,_()(f.a)(l()(T.a,E.a,z()("items"))(e)),p()(1))(e)}(e))},c()("isComplete",!0)),ae=function(e){return function(t){return v()(o()(e).call(e,ee,{}),t)}},se=function(e){var t=e.lessonId,n=Object(r.a)(e,["lessonId"]);return function(e){return e(Object(X.g)({id:t,updateFn:(r=n,i=r.blockId,F()(O()(["items",i]),Q.a))}));var r,i}},ce=function(e){var t=e.id,n=e.lessonId,r=e.items;return function(e){return e(Object(X.g)({id:n,updateFn:J({id:t,items:r})}))}},ue=function(e){var t=e.lessonId,n=Object(r.a)(e,["lessonId"]);return function(e){return e(Object(X.g)({id:t,updateFn:(r=n,i=r.itemId,o=r.blockId,a=r.isCorrect,U()(F()(O()(["items",o]),Object(Q.b)({itemId:i,isCorrect:a})),X.f))}));var r,i,o,a}}},function(e,t,n){"use strict";n.d(t,"a",function(){return N});var r,i,o=n(158),a=n.n(o),s=n(4),c=n.n(s),u=n(127),l=n.n(u),d=n(76),f=n.n(d),h=n(51),p=n.n(h),m=n(208),v=n.n(m),g=n(32),y=n.n(g),b=n(271),_=n.n(b),w=n(24),x=n.n(w),k=n(238),E=n.n(k),S=n(13),T=n.n(S),C=n(21),O=function(e){return"Accessibility"===e.title},A=f()(O),j=[{title:"Course Overview",labels:c()(r=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(r,C.e?[]:[{name:"courseDetails",text:"DETAILS"}])},{title:"Global",labels:c()(i=[{name:"courseHome",text:"Home"},{name:"lessonComplete",text:"80% COMPLETE"},{name:"lessonName",text:"Lesson 4 of 7"},{name:"lessonRestricted",text:"Lessons must be completed in order"},{name:"courseSkipToLesson",text:"SKIP TO LESSON"},{name:"search",text:"search"},{name:"results",text:"20 results"},{name:"result",text:"1 result"},{name:"noResults",text:'No results for "abc"'}]).call(i,C.e?[{name:"courseFinish",text:"Finish"}]:[])},{title:"Quiz & Knowledge Check",labels:[{name:"quizStart",text:"START QUIZ"},{name:"quizAcceptableResponses",text:"Acceptable responses"},{name:"quizQuestion",text:"Question"},{name:"quizAnswerPlaceholder",text:"Type your answer here"},{name:"quizSubmit",text:"SUBMIT"},{name:"quizNext",text:"NEXT"},{name:"quizIncorrect",text:"Incorrect"},{name:"quizCorrect",text:"Correct"},{name:"quizResults",text:"Quiz Results"},{name:"quizScore",text:"Your score 90%"},{name:"quizPassing",text:"PASSING 80%"},{name:"quizTakeAgain",text:"TAKE AGAIN"},{name:"quizRequirePassingScore",text:"Must pass quiz before continuing"},{name:"quizContinue",text:"Continue"}]},{title:"Process",labels:[{name:"processStepName",text:"Step 3 of 6"},{name:"processNextStep",text:"NEXT STEP"},{name:"processLessonName",text:"Lesson 5 Complete"},{name:"processStart",text:"START"},{name:"processStartAgain",text:"START AGAIN"},{name:"processSwipe",text:"Swipe to continue"}]},{title:"Sorting",labels:[{name:"sortingCardsCorrect",text:"6/8 Cards Correct"},{name:"sortingReplay",text:"REPLAY"}]},{title:"Embeds",labels:[{name:"embedViewOn",text:"VIEW ON YOUTUBE"},{name:"embedReadMore",text:"Read more"}]},{title:"Flashcards",labels:[{name:"blocksClickToFlip",text:"Click cards to flip"},{name:"blocksPreposition",text:"1 of 3"}]},{title:"Scenario",labels:[{name:"scenarioTryAgain",text:"TRY AGAIN"},{name:"scenarioContinue",text:"CONTINUE"},{name:"scenarioComplete",text:"Scenario Complete"},{name:"scenarioStartOver",text:"START OVER"}]},{title:"Exit Course (LMS)",labels:[{name:"courseExit",text:"EXIT COURSE"},{name:"salutation",text:"👋 Bye!"},{name:"exitMessage",text:"You may now leave this page."}]},{title:"Accessibility",labels:[{name:"overviewPageTitleSuffix",text:"Overview Page Title"},{name:"lessonHeaderLandmark",text:"Lesson Header"},{name:"timelineLandmark",text:"Timeline"},{name:"timelineCardGroupPrefix",text:"Timeline Card"},{name:"labeledGraphicMarkerLabel",text:"Labeled graphic marker"},{name:"labeledGraphicBubbleLabel",text:"Labeled graphic bubble"},{name:"labeledGraphicPreviousMarkerLabel",text:"Previous marker"},{name:"labeledGraphicNextMarkerLabel",text:"Next marker"},{name:"audioPlayerGroup",text:"Audio player. You can use the space bar to toggle playback and arrow keys to scrub."},{name:"seekSliderLabel",text:"Seek"},{name:"playButtonLabel",text:"Play"},{name:"pauseButtonLabel",text:"Pause"},{name:"videoPlayerGroup",text:"Video player. You can use the space bar to toggle playback and arrow keys to scrub."},{name:"embedPlayerGroup",text:"Embedded media player"},{name:"embedPhotoGroup",text:"Embedded photo"},{name:"embedLinkGroup",text:"Embedded web content"},{name:"embedVideoGroup",text:"Embedded video"},{name:"noteGroup",text:"Note"},{name:"statementGroup",text:"Statement"},{name:"numberedListGroup",text:"Numbered list"},{name:"checkboxListGroup",text:"Checkbox list"},{name:"bulletedListGroup",text:"Bulleted list"},{name:"quoteGroup",text:"Quote"},{name:"lessonContentLandmark",text:"Lesson Content"},{name:"imageGalleryGroup",text:"Image gallery"},{name:"imageAndTextGroup",text:"Image and text"},{name:"textOnImageGroup",text:"Text on image"},{name:"attachmentGroup",text:"File Attachment"},{name:"codeGroup",text:"Code"},{name:"numberedDividerGroup",text:"Numbered divider"},{name:"accordionGroup",text:"Accordion"},{name:"tabGroup",text:"Tab"},{name:"flashcardStackGroup",text:"Flashcard stack"},{name:"flashcardGridGroup",text:"Flashcard grid"},{name:"buttonGroup",text:"Button"},{name:"buttonStackGroup",text:"Button stack"},{name:"knowledgeCheckGroup",text:"Knowledge check"},{name:"storylineGroup",text:"Storyline"},{name:"processLandmark",text:"Process"},{name:"quizLandmark",text:"Quiz"},{name:"labeledGraphicLandmark",text:"Labeled Graphic"},{name:"sortingLandmark",text:"Sorting Activity"},{name:"urlEmbedLandmark",text:"URL/Embed"},{name:"flashcardFrontLabel",text:"Flashcard front"},{name:"flashcardBackLabel",text:"Flashcard back"},{name:"previousFlashCardLabel",text:"Previous flashcard"},{name:"nextFlashCardLabel",text:"Next flashcard"},{name:"feedbackGroup",text:"Feedback"}]}],N=(x()(p()(O),T()("labels"),E()("name"))(j),x()(y()(T()("labels")),v.a,y()(function(e){var t={};return t[e.name]=e.text,t}),_.a)(j));a()(j).call(j,l()(A,function(e){var t=e.title;return!C.e||"Exit Course (LMS)"!==t}))},function(e,t,n){var r=n(2206),i=n(2209),o=n(292);e.exports=function(e){return(o(e)?r:i)(e)}},function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return b}),n.d(t,"f",function(){return _});var r,i=n(15),o=n(26),a=n.n(o),s=n(67),c=n(48),u=n.n(c)()("rise/search/"),l=u("RESET_SEARCH"),d=u("SET_SEARCH_ACTIVE"),f=u("SET_SEARCH_ACTIVE_LESSONS"),h=u("SET_SEARCH_LESSONS"),p=u("SET_SEARCH_TERM"),m={active:!1,activeLessons:[],lessons:[],term:null};t.a=Object(s.c)(m,(r={},Object(i.a)(r,l,function(e,t){return t?a()("active",e.active,m):e}),Object(i.a)(r,d,function(e,t){return a()("active",t,e)}),Object(i.a)(r,f,function(e,t){return a()("activeLessons",t,e)}),Object(i.a)(r,h,function(e,t){return a()("lessons",t,e)}),Object(i.a)(r,p,function(e,t){return a()("term",t,e)}),r));var v=Object(s.a)(l),g=Object(s.a)(d),y=Object(s.a)(f),b=Object(s.a)(h),_=Object(s.a)(p)},function(e,t,n){"use strict";n.d(t,"b",function(){return B});var r=n(332),i=n(111),o=n(1211),a=n.n(o),s=n(16),c=n.n(s),u=n(1212),l=n.n(u),d=n(228),f=n.n(d),h=n(109),p=n.n(h),m=n(35),v=n.n(m),g=n(226),y=n.n(g),b=n(70),_=n.n(b),w=n(1213),x=n.n(w),k=n(1214),E=n.n(k),S=n(1215),T=n.n(S),C=n(298),O=n.n(C),A=n(767),j=n.n(A),N=n(92),M=n.n(N),P=n(72),I=n.n(P),L=x()(v.a,["http","https"]),D=f()(_.a,O()(":")),R=f()(y()(E()(a.a),L),l.a),F=f()(T()(j()("//"),R),D),B=p()(function(e){return f()(function(e){return M()((t=e,n=F,function(e){return!t(e)||n(e)}),c()(""));var t,n}(e),r.htmlDecode,i.d)}),U=B(I.a);t.a=U},function(e,t,n){var r=n(215),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)}},function(e,t,n){var r=n(94),i=n(661),o=n(659),a=n(814),s=n(656),c=n(508)("IE_PROTO"),u=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?(u.prototype=r(e),n=new u,u.prototype=null,n[c]=e):n=l(),void 0===t?n:i(n,t)},n(430)[c]=!0},function(e,t,n){var r=n(106)("unscopables"),i=n(312),o=n(172),a=Array.prototype;null==a[r]&&o(a,r,i(null)),e.exports=function(e){a[r][e]=!0}},function(e,t,n){var r=n(216);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)}}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(94),i=n(216),o=n(106)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r=n(162),i=n(124),o=n(173),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,d=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i(function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,d)})}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},function(e,t,n){"use strict";var r=n(114),i=n(87),o=n(465);e.exports={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=i.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?i.merge({},[r.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=i.extend(this.defaults[e],t))},addScalesToLayout:function(e){i.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,o.addBox(e,t)})}}},function(e,t,n){"use strict";e.exports={},e.exports.Arc=n(2275),e.exports.Line=n(2276),e.exports.Point=n(2277),e.exports.Rectangle=n(2278)},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return t>e?t:e})},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(100))},function(e,t,n){e.exports=n(1543)},function(e,t,n){e.exports=n(1654)},function(e,t,n){var r=n(50);e.exports=r(function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t})},function(e,t,n){var r=n(352),i=n(20),o=n(47),a=n(125);e.exports=i(function(e,t){return a(o(r)(e),t)})},function(e,t,n){"use strict";var r=n(2144),i=n(2145);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]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(2146);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("#")?"?":"#",u=e.split(s);u[0]=u[0].replace(/\\/g,"/");var b=e=u.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=c.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===b.substr(0,2);!k||w&&v[w]||(b=b.substr(2),this.slashes=!0)}if(!v[w]&&(k||w&&!g[w])){for(var E,S,T=-1,C=0;C<f.length;C++){-1!==(O=b.indexOf(f[C]))&&(-1===T||O<T)&&(T=O)}-1!==(S=-1===T?b.lastIndexOf("@"):b.lastIndexOf("@",T))&&(E=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(E)),T=-1;for(C=0;C<d.length;C++){var O;-1!==(O=b.indexOf(d[C]))&&(-1===T||O<T)&&(T=O)}-1===T&&(T=b.length),this.host=b.slice(0,T),b=b.slice(T),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var j=this.hostname.split(/\./),N=(C=0,j.length);C<N;C++){var M=j[C];if(M&&!M.match(h)){for(var P="",I=0,L=M.length;I<L;I++)M.charCodeAt(I)>127?P+="x":P+=M[I];if(!P.match(h)){var D=j.slice(0,C),R=j.slice(C+1),F=M.match(p);F&&(D.push(F[1]),R.unshift(F[2])),R.length&&(b="/"+R.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(C=0,N=l.length;C<N;C++){var q=l[C];if(-1!==b.indexOf(q)){var z=encodeURIComponent(q);z===q&&(z=escape(q)),b=b.split(q).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var W=b.indexOf("?");if(-1!==W?(this.search=b.substr(W),this.query=b.substr(W+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,W)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var V=this.search||"";this.path=B+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=y.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[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 c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(n[l]=e[l])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.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 m=n.pathname||"",y=n.search||"";n.path=m+y}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,x=w,k=n.pathname&&n.pathname.split("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===k[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,k=p;else if(p.length)k||(k=[]),k.pop(),k=k.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=k.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.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(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=k.slice(-1)[0],T=(n.host||e.host||k.length>1)&&("."===S||".."===S)||""===S,C=0,O=k.length;O>=0;O--)"."===(S=k[O])?k.splice(O,1):".."===S?(k.splice(O,1),C++):C&&(k.splice(O,1),C--);if(!w&&!x)for(;C--;C)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),T&&"/"!==k.join("/").substr(-1)&&k.push("");var A,j=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=j?"":k.length?k.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(w=w||n.host&&k.length)&&!j&&k.unshift(""),k.length?n.pathname=k.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)}},function(e,t,n){(function(t,r){var i;
/**
 * [js-htmlencode]{@link https://github.com/emn178/js-htmlencode}
 *
 * @version 0.3.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
/**
 * [js-htmlencode]{@link https://github.com/emn178/js-htmlencode}
 *
 * @version 0.3.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
!function(){"use strict";var o="object"==typeof window?window:{};!o.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof t&&t.versions&&t.versions.node&&(o=r);var a=!o.JS_HTMLENCODE_NO_COMMON_JS&&"object"==typeof e&&e.exports,s=n(740),c={"&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;":"♦"},u=function(e){if("#"!==e.charAt(1))return c[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)},l=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},d=function(e){return e.replace(/&#?\w+;/g,u)},f=l;l.htmlEncode=l,l.htmlDecode=d,a?e.exports=f:(o.htmlEncode=l,o.htmlDecode=d,s&&(void 0===(i=function(){return f}.call(f,n,f,e))||(e.exports=i)))}()}).call(this,n(320),n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=r.useRef();return r.useEffect(function(){t.current=e}),t.current}},function(e,t,n){"use strict";var r=n(16),i=n.n(r),o=n(40),a=n.n(o),s=n(47),c=n.n(s),u=n(223),l=n.n(u),d=n(265),f=n.n(d),h=n(72),p=n.n(h),m=function(e){return function(t){e.setState({xTouchDown:t.touches[0].clientX,yTouchDown:t.touches[0].clientY})}},v=function(e){return function(t){e.setState({xTouchMove:t.touches[0].clientX,yTouchMove:t.touches[0].clientY})}},g=function(e,t,n,r){return function(){if(e.state.xTouchDown&&e.state.xTouchMove){var o=e.state.xTouchDown-e.state.xTouchMove,s=e.state.yTouchDown-e.state.yTouchMove,u=c()(l.a),d=c()(f.a),h=b(e);if(Math.abs(o)>Math.abs(s))a()([[u(r),t],[d(-r),n],[p.a,i()()]])(o),h()}}},y=function(e){return function(){b(e)}},b=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};t.a=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={touchstart:m(t),touchmove:v(t),touchend:g(t,n,r,i),touchcancel:y(t)};return{addListeners:function(){e.addEventListener("touchstart",o.touchstart),e.addEventListener("touchmove",o.touchmove),e.addEventListener("touchend",o.touchend),e.addEventListener("touchcancel",o.touchcancel)},removeListeners:function(){e.removeEventListener("touchstart",o.touchstart),e.removeEventListener("touchmove",o.touchmove),e.removeEventListener("touchend",o.touchend),e.removeEventListener("touchcancel",o.touchcancel)}}}},function(e,t,n){var r=n(994),i=n(2413),o=n(753),a=n(357),s=n(2415),c=n(2417),u=n(2420),l=n(1165),d=n(567),f=30,h="...",p=/\w*$/;e.exports=function(e,t){var n=f,m=h;if(a(t)){var v="separator"in t?t.separator:v;n="length"in t?l(t.length):n,m="omission"in t?r(t.omission):m}var g=(e=d(e)).length;if(o(e)){var y=u(e);g=y.length}if(n>=g)return e;var b=n-c(m);if(b<1)return m;var _=y?i(y,0,b).join(""):e.slice(0,b);if(void 0===v)return _+m;if(y&&(b+=_.length-b),s(v)){if(e.slice(b).search(v)){var w,x=_;for(v.global||(v=RegExp(v.source,d(p.exec(v))+"g")),v.lastIndex=0;w=v.exec(x);)var k=w.index;_=_.slice(0,void 0===k?b:k)}}else if(e.indexOf(r(v),b)!=b){var E=_.lastIndexOf(v);E>-1&&(_=_.slice(0,E))}return _+m}},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return L}),n.d(t,"a",function(){return D});var r=n(53),i=n.n(r),o=n(142),a=n.n(o),s=n(18),c=n.n(s),u=n(3),l=n.n(u),d=n(27),f=n.n(d),h=n(9),p=n(10),m=n(8),v=n(5),g=n(6),y=n(11),b=(n(2432),n(2)),_=n.n(b),w=n(88),x=n.n(w),k=n(45),E=n.n(k),S=n(28),T=n.n(S),C=n(401),O=n.n(C),A=n(36),j=n.n(A),N=n(1),M=n.n(N),P=n(239),I=n.n(P),L=function(t){function n(e){var t;return Object(h.a)(this,n),(t=Object(p.a)(this,Object(m.a)(n).call(this,e))).state={isSticky:!1},f()(function(){var e;document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",t.onScrollRef=l()(e=t.onScroll).call(e,Object(v.a)(t)))},10),t}return Object(y.a)(n,t),Object(g.a)(n,null,[{key:"propTypes",get:function(){return{id:M.a.any.isRequired,lessonProgress:M.a.object.isRequired,type:M.a.string.isRequired,items:M.a.array}}}]),Object(g.a)(n,[{key:"componentWillUnmount",value:function(){document.getElementsByClassName("page-wrap")[0].removeEventListener("scroll",this.onScrollRef)}},{key:"onScroll",value:function(){var e=document.getElementsByClassName("page-wrap")[0],t=e.scrollTop,n=e.scrollTop,r=t>this.progresswrap.getBoundingClientRect().top+n;this.state.isSticky!==r&&this.setState({isSticky:r})}},{key:"isLessonPreview",value:function(){return!!document.querySelector(".lesson--preview")}},{key:"timelineProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=j()(-1,"activeIndex",n),i=E()(t);return-1===r?0:x()(r)===i?100:I()("%","",T()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=j()(0,"activeIndex",n),i=E()(t);return r>i?100:Math.round(r/i*100)}},{key:"progressValue",value:function(){var e=this.props,t=e.lessonProgress;switch(e.type){case"process":return this.processProgressValue();case"sorting":return j()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return j()(0,"percentComplete",t)}}},{key:"render",value:function(){var t=this,n=this.props,r=n.type,o=n.items,s=n.menuOpen,u=n.mobileMenuOpen,l=this.state.isSticky,d=_()("progress-wrap",{}),f=_()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":l&&!u,"lesson--open":s&&!this.isLessonPreview(),"lesson--open-mobile":u&&!this.isLessonPreview()}),h=_()("progress",{"progress--timeline":"timeline"===r,"progress--video":"video"===r}),p=this.progressValue(),m="timeline"===r&&o&&c()(o).call(o,function(t){var n,r=_()("progress__marker",{"progress__marker--active brand--background":a()(p)>=a()(i()(n=t.linePosition).call(n,0,-1))});return e.createElement("div",{className:r,style:{left:t.linePosition},key:t.id})}),v=e.createElement("div",{className:d},e.createElement("div",{className:h},e.createElement("div",{className:"progress__container"},e.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(p,"%,0px,0px)")}}),m)));return e.createElement("div",{ref:function(e){return t.progresswrap=e}},v,e.createElement(O.a,null,e.createElement("div",{className:f},v)))}}]),n}(e.Component),D=e.createElement(L,{id:"abc123",lessonProgress:{},type:"foo"}).type}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i});var r={validEmail:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,validIframe:/^<iframe(.*)?\ssrc="(?:(?:(?:https?):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?"(.*)?><\/iframe>$/,validUrl:/^(?:(?:(?:https?):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/},i={ARTICLE:"Article",INTERACTION:"Interaction",QUIZ:"Quiz",VIDEO:"Video"}},function(e,t,n){"use strict";var r=n(16),i=n.n(r),o=n(40),a=n.n(o),s=n(35),c=n.n(s),u=n(72),l=n.n(u),d={ANY:"ANY",CORRECT_INCORRECT:"CORRECT_INCORRECT",CHOICE:"CHOICE"},f={label:"Any Response",prop:"feedback"};a()([[c()(d.ANY),i()(f)],[c()(d.CHOICE),i()({label:"By Choice",prop:"choice"})],[c()(d.CORRECT_INCORRECT),i()({correctProp:"feedbackCorrect",incorrectProp:"feedbackIncorrect",label:"Correct / Incorrect",type:"CORRECT_INCORRECT"})],[l.a,i()(f)]]);t.a=d},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"request",function(){return xr}),n.d(r,"callbackPath",function(){return Lr}),n.d(r,"errorPath",function(){return Dr}),n.d(r,"getToken",function(){return Rr}),n.d(r,"login",function(){return qr}),n.d(r,"initAuth",function(){return Wr}),n.d(r,"logout",function(){return Vr}),n.d(r,"callbackComponent",function(){return Kr});var i={};n.r(i),n.d(i,"request",function(){return xr}),n.d(i,"callbackComponent",function(){return oi}),n.d(i,"callbackPath",function(){return ai}),n.d(i,"getToken",function(){return si}),n.d(i,"login",function(){return ci}),n.d(i,"logout",function(){return ui}),n.d(i,"initAuth",function(){return hi});var o=n(21),a=n(113),s=n.n(a),c=n(62),u=n(46),l=n(132),d=n.n(l);function f(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):d.a.resolve(c).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new d.a(function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,s,"next",e)}function s(e){f(o,r,i,a,s,"throw",e)}a(void 0)})}}var p=n(327),m=n.n(p),v=n(4),g=n.n(v),y=n(16),b=n.n(y),_=n(7),w=n.n(_),x=n(29),k=n.n(x),E=n(189),S=n.n(E),T=n(121),C=n.n(T),O=n(0),A=n(120),j=n(1193),N=n.n(j),M=n(1194),P=n.n(M),I=n(42),L=n.n(I),D=function(){return"visible"===document.visibilityState},R=function(e){document.addEventListener("visibilitychange",function(e){return L()(D,function(){return e()})}(e)),window.addEventListener("focus",function(){return e()})},F=n(40),B=n.n(F),U=n(140),q=n.n(U),z=n(149),H=n.n(z),W=n(266),V=n.n(W),Y=n(13),G=n.n(Y),K=n(72),$=n.n(K),X=n(489),Q=function(e){return Object(X.a)({method:"POST",url:"".concat(Object(o.c)("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})},Z=Object(o.c)("SUBSCRIPTIONS_ENDPOINT"),J=Object(o.c)("THREESIXTY_FRONTEND_URI"),ee=V()(["error","status"],404),te=w()(H()("error"),G()("response")),ne=function(){return window.location.href=J},re=[function(e,t){return t.Authorization="Bearer ".concat(mi()),e}],ie=function(){var e=h(s.a.mark(function e(t){var n,r,i,o;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(Z,"/users/authorized_status"),e.next=3,vi({transformRequest:re,url:n}).toPromise().catch(te);case 3:return r=e.sent,i=w()(t,C()(function(e){return Q({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})})),o=B()([[ee,ne],[q()("error"),i],[$.a,G()("data")]]),e.abrupt("return",o(r));case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),oe=n(760),ae=n.n(oe),se=n(112),ce=n.n(se),ue=n(14),le=n.n(ue),de=(le()("status","active"),le()("status","inactive")),fe=(V()(["features","enable_review"],!0),V()(["features","enable_rise"],!0)),he=ae()([le()("plan","trial"),le()("status","inactive"),le()("is_retrial_eligible",!1)]),pe=(ce()(le()("plan","team"),le()("plan","individual")),n(3)),me=n.n(pe),ve=n(135),ge=n.n(ve),ye=n(79),be=n.n(ye),_e=n(32),we=n.n(_e),xe=n(160),ke=n.n(xe),Ee=n(152),Se=n.n(Ee),Te=n(54),Ce=n.n(Te),Oe=n(28),Ae=n.n(Oe),je=n(486),Ne=n.n(je),Me=n(388),Pe=n.n(Me),Ie=Pe()(G()("AUTH_SERVICE_URI"),function(e){return Ne.a.create({baseURL:e.AUTH_SERVICE_URI,withCredentials:!0})});function Le(){return(Le=h(s.a.mark(function e(t,n,r){var i,o,a,c,u,l,d;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.login,a=r.oktaNamespace,c=r.password,e.prev=1,l=o||g()(u="".concat(a,"/")).call(u,i),e.next=5,Ie(t).post("/api/v1/authn",{password:c,username:l,options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 5:return d=e.sent,e.abrupt("return",Ae()(["data","sessionToken"],d));case 9:throw e.prev=9,e.t0=e.catch(1),Se()(new Error,e.t0.response.data);case 12:case"end":return e.stop()}},e,null,[[1,9]])}))).apply(this,arguments)}var De=Ce()(3,function(e,t,n){return Le.apply(this,arguments)}),Re=n(1197),Fe=n.n(Re),Be=n(92),Ue=n.n(Be);function qe(){return(qe=h(s.a.mark(function e(t,n,r,i){return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),e.next=3,Ie(r).delete("/api/v1/sessions/me").then(C()(function(){return n.emit&&t.emit("session:closed")})).catch(Ue()(V()(["response","status"],404),Fe.a));case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var ze=Ce()(4,function(e,t,n,r){return qe.apply(this,arguments)}),He=n(607),We=n.n(He),Ve=n(125),Ye=n.n(Ve),Ge=n(1195),Ke=n.n(Ge)()(9),$e=Ye()(k.a);function Xe(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,c=void 0===s?window.location.origin:s,u=e.response_mode,l=e.scope,d=e.sessionToken,f=e.state,h=new m.a($e({client_id:t,idp:r,nonce:i||Ke(),prompt:a,redirect_uri:c,response_mode:u,response_type:"id_token token",scope:l,sessionToken:d,state:f}));return Se()(new We.a("".concat(n,"/v1/authorize"),window.location.origin),{search:h.toString()}).toString()}var Qe=n(269),Ze=n(9),Je=n(6),et=n(10),tt=n(5),nt=n(8),rt=n(501),it=n(11),ot=n(606),at=n.n(ot),st=function(e){function t(){var e,n,r,i;Object(Ze.a)(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];(r=Object(et.a)(this,(e=Object(nt.a)(t)).call.apply(e,g()(n=[this]).call(n,a))),navigator.serviceWorker)&&navigator.serviceWorker.addEventListener("message",me()(i=r._handleMessage).call(i,Object(tt.a)(r)));return r}return Object(it.a)(t,e),Object(Je.a)(t,[{key:"emit",value:function(){for(var e,n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=Object(rt.a)(Object(nt.a)(t.prototype),"emit",this)).call.apply(e,g()(n=[this]).call(n,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 n,r;e.data&&"2.0"===e.data.jsonrpc&&"emit"===e.data.method&&(n=Object(rt.a)(Object(nt.a)(t.prototype),"emit",this)).call.apply(n,g()(r=[this]).call(r,Object(Qe.a)(e.data.params)))}}]),t}(at.a),ct=n(328),ut=n.n(ct),lt=n(157),dt=n.n(lt),ft=n(27),ht=n.n(ft),pt=n(264),mt=n.n(pt),vt=n(502),gt=n.n(vt),yt=n(392);function bt(e,t,n){return(bt=function(){if("undefined"==typeof Reflect||!gt.a)return!1;if(gt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(gt()(Date,[],function(){})),!0}catch(e){return!1}}()?gt.a:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(me()(Function).apply(e,r));return n&&Object(yt.a)(i,n.prototype),i}).apply(null,arguments)}var _t=n(1196),wt=n.n(_t),xt=n(182),kt=n(776),Et=n(168),St=n.n(Et),Tt=n(496),Ct=n.n(Tt),Ot=n(477),At=n.n(Ot),jt=n(163),Nt=n.n(jt);function Mt(e){var t="function"==typeof Ct.a?new Ct.a:void 0;return(Mt=function(e){if(null===e||(n=e,-1===Nt()(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 bt(e,arguments,Object(nt.a)(this).constructor)}return i.prototype=At()(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Object(yt.a)(i,e)})(e)}var Pt=n(179),It=n.n(Pt),Lt=n(143),Dt=n.n(Lt),Rt=n(83),Ft=n.n(Rt);function Bt(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var Ut=Ce()(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?250:n,i=e.tries,o=void 0===i?10:i,a=e.when,s=void 0===a?$.a:a;return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=0;function c(e){return++a<o?Dt.a.resolveAfter(Bt(r,a)).chain(u):Dt.a.Rejected(e)}function u(){return t.apply(void 0,n).bichain(Ft()(s,c,Dt.a.Rejected),Dt.a.of)}return u()}}),qt=n(277);function zt(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 Ht=function(e,t){var n;void 0===t&&(t=zt);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:(r=e.apply(this,a),o=!0,n=this,i=a,r)}}(n.n(qt).a),Wt=5e3,Vt=It()("TimeoutError"),Yt=function(e){function t(){return Object(Ze.a)(this,t),Object(et.a)(this,Object(nt.a)(t).call(this,"Authorization timed out"))}return Object(it.a)(t,e),t}(Mt(Error));Yt.prototype[Vt]=!0;var Gt=Ut({tries:2,when:function(e){return e[Vt]}}),Kt={},$t=0,Xt=Pe()(G()("AUTH_SERVICE_URI"),function(e){window.addEventListener("message",function(t){var n=new We.a(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,c=r.state,u=Kt[c];u&&(o?u.reject(new Error([o,a].join(", "))):u.resolve({access_token:i,id_token:s}))}})});var Qt=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var Zt,Jt,en,tn,nn=Ce()(3,(Zt=Gt(function(e,t,n){return new Dt.a(function(r,i){var o=C()(function(){delete Kt[a],document.body.removeChild(c)});Xt(e);var a=$t++,s=Ke(),c=document.createElement("iframe");return c.style.display="none",document.body.appendChild(c),Dt()(function(t,r){var i={resolve:r,reject:t};Kt[a]=i,c.addEventListener("error",w()(t,G()("error"))),c.src=Xe({client_id:e.OKTA_CLIENT_ID,issuer:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})}).race(Dt.a.rejectAfter(Wt,new Yt)).chain(function(e){var n,r=e.id_token,i=e.access_token,o=r?Ht(r):null;return s!==o.nonce?Dt.a.Reject(new Error(g()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),Dt.a.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 Dt()(function(e,n){var r={resolve:n,reject:e},i=Qt.apply(void 0,t),o=It()();null==Jt[i]&&(Jt[i]={listeners:new Ct.a});var a=Jt[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n=[],r=!0,o=!1,s=void 0;try{for(var c,u=mt()(St()(l=a.listeners).call(l));!(r=(c=u.next()).done);r=!0){var l,d=c.value;try{d[e](t)}catch(e){n.push(e)}}}catch(e){o=!0,s=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw s}}if(delete Jt[i],n.length>0)throw n[0]}};a.cancel=Zt.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}})})),rn=Ce()(3,function(){return nn.apply(void 0,arguments).toPromise()}),on=new m.a(window.location.hash.substr(1)),an=on.get("id_token"),sn=on.get("access_token");function cn(e,t){return un.apply(this,arguments)}function un(){return(un=h(s.a.mark(function e(t,n){return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!an){e.next=5;break}n.set(an,sn),an=sn=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,rn(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ln(e,t){return dn.apply(this,arguments)}function dn(){return(dn=h(s.a.mark(function e(t,n){return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,cn(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}an&&(on.delete("id_token"),window.history.replaceState(null,null,"#".concat(on.toString()))),sn&&(on.delete("access_token"),on.delete("expires_in"),on.delete("scope"),on.delete("token_type"),window.history.replaceState(null,null,"#".concat(on.toString())));var fn=function(){function e(t,n){var r,i,o,a;Object(Ze.a)(this,e),this._emitErrorDelegate=me()(r=this._emitError).call(r,this),this._initDelegate=me()(i=this._init).call(i,this),this._onErrorDelegate=me()(o=this._onError).call(o,this),this._resetRetryTimesDelegate=me()(a=this._resetRetryTimes).call(a,this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=t,this._state=n,this._errorEmitter=new at.a,this._closed=!1;for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];this._params=c,this._listeners={},this._resetRetryTimes(),this._init()}return Object(Je.a)(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=bt(kt.EventSourcePolyfill,Object(Qe.a)(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=!0,n=!1,r=void 0;try{for(var i,o=mt()(this._listeners[e]);!(t=(i=o.next()).done);t=!0){var a=i.value;this._source.addEventListener(e,a)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}}},{key:"_onError",value:function(e){e.status>=500&&this._retryAttempts>0?(this._retryTimeout=ht()(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):(ln(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):(wt()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function hn(e,t){return function(n){function r(){var n,i;Object(Ze.a)(this,r);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return Object(et.a)(this,(n=Object(nt.a)(r)).call.apply(n,g()(i=[this,e,t]).call(i,a)))}return Object(it.a)(r,n),r}(fn)}dt()(en=["onerror","onmessage","onopen"]).call(en,function(e){ut()(fn.prototype,e,{get:function(){return this["_".concat(e)]},set:function(t){this["_".concat(e)]=this._source[e]=t}})}),dt()(tn=["readyState","url","withCredentials"]).call(tn,function(e){ut()(fn.prototype,e,{get:function(){return this._source[e]}})}),Se()(fn.prototype,Object(xt.pick)(["CONNECTING","OPEN","CLOSED"],kt.EventSourcePolyfill.prototype));var pn=n(97),mn=n.n(pn),vn=n(18),gn=n.n(vn),yn=n(478),bn=n.n(yn),_n=n(777),wn=n.n(_n),xn=n(127),kn=n.n(xn),En=n(76),Sn=n.n(En),Tn=n(222),Cn=n.n(Tn),On=n(35),An=n.n(On),jn=n(302),Nn=n.n(jn),Mn=n(22),Pn=n.n(Mn),In=n(482),Ln=n.n(In),Dn=n(768),Rn=n.n(Dn),Fn=n(194),Bn=n.n(Fn);var Un=Ce()(2,function(e,t){return e?Dt()(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=ht()(function(){i||(a(),n(new Error("Timeout after ".concat(e,"ms"))))},e);return a}):t}),qn=function(e){return Ln()(e,["response","status"])},zn=be()(function(e){return kn()(b()(q()("OKTA_CLIENT_ID",e)),qn(bn()(we()(An.a,[401,403]))))}),Hn=qn(Nn()(500)),Wn=Sn()(qn(Boolean)),Vn=Ut({when:ce()(Hn,Wn),tries:3},wn.a),Yn=Pn()([],["roles"]),Gn=Pn()("",["subscription","status"]),Kn=be()(function(e,t,n){var r,i,o=Object(u.a)(n,2)[1],a=gn()(r=[t,o]).call(r,Yn),s=Object(u.a)(a,2),c=s[0],l=s[1],d=gn()(i=[t,o]).call(i,Gn),f=Object(u.a)(d,2),h=f[0],p=f[1];Rn()(c,l).length>0&&e.emit("change:roles",o,t),h!==p&&e.emit("change:status",o,t)}),$n=be()(function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return mn()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&mn()(r=n.message).call(r,"redirect_uri")?wn()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain(function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Dt.a.Rejected(n)}):(e.emit("unauthorized",n),Dt.a.Rejected(n))}),Xn=be()(function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),Dt.a.Rejected(t)):Dt.a.of(r)}),Qn=be()(function(e,t,n,r,i){var o,a=n.get(),s=Object(u.a)(a,2)[1];return gn()(o=nn(t,n,void 0).bichain($n(e,t),Xn(e,i,s))).call(o,C()(Kn(e,s))).chain(function(){return Vn(r)})}),Zn=Bn()(4,function(e,t,n,r){return Ft()(zn(t),Qn(e,t,n,r),Dt.a.Rejected)}),Jn=be()(function(e,t,n,r){return Vn(r).bichain(Zn(e,t,n,r),Dt.a.of)}),er=be()(function(e,t,n,r){return Un(r.timeout,Jn(e,t,n,Cn()("timeout",r)))}),tr=function(e){return Ae()([1,"sub"],e.get())};function nr(){return(nr=h(s.a.mark(function e(t,n,r,i){var o,a,c,u;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=tr(r),e.next=3,ze(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,De(n,r,i);case 6:return a=e.sent,e.next=9,rn(n,r,a);case 9:return c=e.sent,u=tr(r),o&&o!==u&&t.emit("session:closed"),e.abrupt("return",c);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 rr=Ce()(4,function(e,t,n,r){return nr.apply(this,arguments)}),ir=n(393),or=n.n(ir);function ar(e){return or.a.parse(document.cookie)[e]}var sr=Ce()(2,function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=or.a.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})});var cr=Ce()(3,function(e,t,n){var r=Object(u.a)(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=or.a.serialize(t,r,{domain:i,path:"/",secure:!0})}});var ur=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],lr=be()(function(e,t,n){return ke()(n,[e,t])}),dr=function(e){return ge()(ur).call(ur,function(t,n){var r;return t[n]=me()(r=e[n]).call(r,e),t},{})};var fr,hr,pr,mr=n(30),vr=n.n(mr),gr=n(98),yr=o.e?window.env:vr()(window.env,{ACCESS_COOKIE_NAME:Object(gr.j)(),REDIRECT_URI:window.location.origin+"/auth-callback"}),br=(fr=yr,hr=new st,pr=function(e){return{clear:function(){sr(e,e.SESSION_COOKIE_NAME),sr(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=ar(e.SESSION_COOKIE_NAME),n=ar(e.ACCESS_COOKIE_NAME);return[t,t?Ht(t):null,n,n?Ht(n):null]},set:function(t,n){var r=t?Ht(t):null,i=n?Ht(n):null;cr(e,e.SESSION_COOKIE_NAME,[t,r]),cr(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(fr),Object(c.a)({getAuthorizationUrl:Xe,EventSource:hn(fr,pr)},dr(hr),we()(lr(fr,pr),{authenticate:De,closeSession:ze(hr,{emit:!0}),request:er(hr),resetSession:ln,resumeSession:cn,startSession:rr(hr)}))),_r=br.closeSession,wr=br.on,xr=br.request,kr=br.resetSession,Er=br.resumeSession,Sr=(br.startSession,br.getAuthorizationUrl),Tr=n(267),Cr=n.n(Tr),Or=n(73),Ar=n.n(Or),jr=n(36),Nr=n.n(jr),Mr=function(e,t){var n,r;return g()(n=g()(r="".concat(Object(o.c)("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},Pr=Cr()({features:Nr()({},"features"),subscription:Ar()(["features"])}),Ir=bn()([he,de,Sn()(fe)]),Lr="/auth-callback",Dr="/auth-error",Rr=gr.d,Fr=function(){return window.location.pathname===Lr},Br=!1,Ur=!1,qr=function(){var e=new m.a(window.location.search);return function(e){var t;if(!Br){var n=P()();Br=!0,window.localStorage.setItem(n,e);var r=Sr({client_id:Object(o.c)("OKTA_CLIENT_ID"),issuer:Object(o.c)("OIDC_ISSUER_URI"),redirect_uri:g()(t="".concat(window.location.origin)).call(t,Lr),response_mode:"fragment",scope:Object(o.c)("OIDC_SCOPE"),state:n,prompt:null});window.location.href=r}}(e.has("redirect_url")?e.get("redirect_url"):window.location.href)},zr=function(){if(!Ur){var e=Object(gr.b)(),t=Object(gr.a)();k()(e)?(Q({event:"Unexpected Logout",payload:{category:"auth",userId:t,detail:"id from cookie was null"}}),Ur=!0,Vr({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&(Q({event:"Unexpected Logout",payload:{category:"auth",userId:e,idFromToken:t,detail:"Session/Token ID Mismatch"}}),Ur=!0,kr().then(function(){return window.location.reload(!0)}))}},Hr=function(){var e=h(s.a.mark(function e(t){var n,r,i,a,l,d,f,h,p,m,v,g,y,_;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Er();case 3:if(n=e.sent,r=Object(u.a)(n,4),i=r[1],a=r[2],l=r[3],d=l.aid,Q({event:"Setting Session Cookie",payload:{category:"auth",userId:d,detail:"Resuming existing session"}}),Object(gr.k)(d),!Fr()){e.next=14;break}return t(),e.abrupt("return");case 14:return f=i.first_name,h=i.last_name,p=i.staff,m={large:Mr(s=d,"large"),medium:Mr(s,"medium"),micro:Mr(s,"micro"),mini:Mr(s,"mini"),small:Mr(s,"small")},v={author:d,profile:{avatars:m,first_name:f,user_id:d,last_name:h,staff:p}},g=function(){return Vr({onLogout:b()(null)})},y=function(e){return t(Object(c.a)({},v,Pr(e),{token:a}))},e.next=22,ie(g).then(C()(y)).catch(function(){return t(Object(c.a)({},v,{token:a}))});case 22:if(_=e.sent,!Ir(_)){e.next=27;break}return Q({event:"Unexpected Logout",payload:{category:"auth",userId:Object(gr.b)(),subscription:_,detail:"Invalid Subscription"}}),Vr({onLogout:function(){return window.location="".concat(Object(o.c)("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 27:R(zr),e.next=34;break;case 30:e.prev=30,e.t0=e.catch(0),Q({event:"Unexpected Logout",payload:{category:"auth",userId:Object(gr.b)(),error:e.t0,detail:"Error Resuming Session"}}),Vr({onLogout:function(){return window.location.reload(!0)}});case 34:case"end":return e.stop()}var s},e,null,[[0,30]])}));return function(t){return e.apply(this,arguments)}}(),Wr=function(e){var t=e.onFetchTokens;if(Fr())Hr(t);else{var n=Object(gr.b)(),r=Object(gr.a)();k()(n)||n!==r?qr():Hr(t)}},Vr=function(e){var t=e.onLogout,n=e.reason;n&&Q({event:"Logout",payload:{category:"auth",userId:Object(gr.b)(),detail:n}}),Object(gr.i)(),_r().then(t)},Yr=w()(N.a.parse,S()(1,1/0)),Gr=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=Yr(r),a=o.state,s=o.error,c=o.error_description;s?(console.error(s,c),Vr({onLogout:(n=c,function(){var e;return window.location.href=g()(e="".concat("/auth-error","?description=")).call(e,n)}),reason:g()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,c)})):Wr({onFetchTokens:function(){return e=i,t=a,n=window.localStorage.getItem(t)||"/",r=n===e?"/":n,window.localStorage.removeItem(t),void(window.location.href=r);var e,t,n,r}})}},Kr=Object(A.f)(function(e){return Object(O.useEffect)(Gr(e),[]),null}),$r=n(178),Xr=n.n($r),Qr=n(78),Zr=n.n(Qr),Jr=n(24),ei=n.n(Jr),ti=n(483),ni=n.n(ti),ri=function(){var e,t=we()(encodeURIComponent,ni()(["hash","pathname"],window.location)),n=Object(u.a)(t,2),r=n[0],i=n[1];window.location.href=g()(e="/login#c=".concat(i)).call(e,r)},ii=function(){window.location.href="/"},oi=null,ai=null,si=gr.d,ci=ri,ui=_r,li=ei()(Nr()([],"roles"),Ue()(Zr()("author"),ii)),di=ei()(Pn()("",["subscription","status"]),Ue()(Zr()(Xr.a,["active","in_trial","non_renewing"]),ii)),fi=function(){return window.location.reload()},hi=function(){var e=h(s.a.mark(function e(t){var n,r,i,o,a,c,l,d,f;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,Er();case 4:return r=e.sent,i=Object(u.a)(r,2),o=i[0],a=i[1],c=a.sub,l=a.staff,d=a.subscription,f={user_id:c,staff:l},di(a),n({author:c,profile:f,subscription:d,token:o}),wr("change:roles",li),wr("change:status",di),wr("change:subdomain",fi),wr("unauthorized",ri),wr("session:closed",ri),e.abrupt("return",o);case 20:e.prev=20,e.t0=e.catch(1),ri();case 23:case"end":return e.stop()}},e,null,[[1,20]])}));return function(t){return e.apply(this,arguments)}}();n.d(t,"a",function(){return mi}),n.d(t,"b",function(){return vi});var pi=o.e?i:r,mi=pi.getToken,vi=pi.request},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(811),i=n(659).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(231);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(232),i=n(123),o=n(341);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(429)("meta"),i=n(437),o=n(85),a=n(144),s=n(123).f,c=0,u=Object.isExtensible||function(){return!0},l=function(e){s(e,r,{value:{objectID:"O"+ ++c,weakData:{}}})},d=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(!u(e))return"F";if(!t)return"E";l(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].weakData},onFreeze:function(e){return i&&d.REQUIRED&&u(e)&&!a(e,r)&&l(e),e}};n(430)[r]=!0},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports={}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(162),i=n(528),o=n(348),a=n(283),s=n(525),c=n(173),u=n(853),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r,i=n(110),o=n(859),a=n(685),s=n(440),c=n(861),u=n(679),l=n(526),d=l("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=i(e),n=new f,f.prototype=null,n[d]=e):n=p(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(233);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){var r=n(865);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){"use strict";var r=n(869).charAt,i=n(285),o=n(681),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(539),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var o=n(452);o.inherits=n(256);var a=n(888),s=n(701);o.inherits(d,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=s.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"destroyed",{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)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r(t,e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(290),i=n(554);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))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(291),i=n(556);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))}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return At(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=p(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 v(e){var t=h(NaN);return null!=e?f(p(t),e):p(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 g=i.momentProperties=[];function y(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)r=g[n],s(i=t[r])||(e[r]=i);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function E(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&&k(e[r])!==k(t[r]))&&a++;return a+o}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f(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)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var C,O={};function A(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(S(t),O[e]=!0)}function j(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var P={};function I(e,t){var n=e.toLowerCase();P[n]=P[n+"s"]=P[t]=e}function L(e){return"string"==typeof e?P[e]||P[e.toLowerCase()]:void 0}function D(e){var t,n,r={};for(n in e)d(e,n)&&(t=L(n))&&(r[t]=e[n]);return r}var R={};function F(e,t){R[e]=t}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},H={};function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=Y(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(U);for(t=0,n=i.length;t<n;t++)H[i[t]]?i[t]=H[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=j(i[r])?i[r].call(t,e):i[r];return o}}(t),z[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(q.lastIndex=0;n>=0&&q.test(e);)e=e.replace(q,r),q.lastIndex=0,n-=1;return e}var G=/\d/,K=/\d\d/,$=/\d{3}/,X=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,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,ue={};function le(e,t,n){ue[e]=j(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)he[e[n]]=r}function me(e,t){pe(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(he,e)&&he[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,xe=5,ke=6,Ee=7,Se=8;function Te(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),le("Y",oe),le("YY",Z,K),le("YYYY",ne,X),le("YYYYY",re,Q),le("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],ge),pe("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),pe("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),pe("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Oe,Ae=je("FullYear",!0);function je(e,t){return function(n){return null!=n?(Me(this,e,n),i.updateOffset(this,t),this):Ne(this,e)}}function Ne(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Oe=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},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),I("month","M"),F("month",8),le("M",Z),le("MM",Z,K),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),pe(["M","MM"],function(e,t){t[ye]=k(e)-1}),pe(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:p(n).invalidMonth=e});var Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Re(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Fe(e){return null!=e?(Re(this,e),i.updateOffset(this,!0),this):Ne(this,"Month")}var Be=ce,Ue=ce;function qe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([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]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(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 ze(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function He(e,t,n){var r=7+t-n,i=(7+ze(e,0,r).getUTCDay()-t)%7;return-i+r-1}function We(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=He(e,r,i),u=1+7*(t-1)+s+c;return u<=0?a=Te(o=e-1)+u:u>Te(e)?(o=e+1,a=u-Te(e)):(o=e,a=u),{year:o,dayOfYear:a}}function Ve(e,t,n){var r,i,o=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ye(i,t,n)):a>Ye(e.year(),t,n)?(r=a-Ye(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ye(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(Te(e)-r+i)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),le("w",Z),le("ww",Z,K),le("W",Z),le("WW",Z,K),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,Qe=ce,Ze=ce;function Je(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),c[t]=fe(c[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,et),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+et.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+et.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),tt("a",!0),tt("A",!1),I("hour","h"),F("hour",13),le("a",nt),le("A",nt),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,K),le("hh",Z,K),le("kk",Z,K),le("hmm",J),le("hmmss",ee),le("Hmm",J),le("Hmmss",ee),pe(["H","HH"],_e),pe(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[_e]=k(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),pe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i))});var rt,it=je("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Le,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:$e,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var r=null;if(!at[t]&&void 0!==e&&e&&e.exports)try{r=rt._abbr,n(2289)("./"+t),lt(r)}catch(e){}return at[t]}function lt(e,t){var n;return e&&((n=s(t)?ft(e):dt(e,t))?rt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null!==t){var n,r=ot;if(t.abbr=e,null!=at[e])A("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."),r=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new M(N(r,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),lt(e),at[e]}return delete at[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(i=ct(e[o]).split("-"),t=i.length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(i,n,!0)>=t-1)break;t--}o++}return rt}(e)}function ht(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Pe(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,p(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Ee),p(e)._overflowWeekday&&-1===t&&(t=Se),p(e).overflow=t),e}function pt(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,n,r,i,o,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=pt(t.GG,e._a[ge],Ve(jt(),1,4).year),r=pt(t.W,1),((i=pt(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=Ve(jt(),o,a);n=pt(t.gg,e._a[ge],u.year),r=pt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ye(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=We(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=pt(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?ze:function(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}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,gt=/^\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)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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}/]],_t=[["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/]],wt=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(p(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(c[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(c[3])){o=(c[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!yt.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Ct(e)}else e._isValid=!1}var kt=/^(?:(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 Et(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,a,s,c=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var u=(t=c[4],n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[Et(t),De.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){if(e){var r=Ke.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}(c[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(c[8],c[9],c[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,c=s.length,u=0;for(r=Y(e._f,e._locale).match(U)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[_e]<=12&&!0===p(e).bigHour&&e._a[_e]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,d=e._a[_e],null==(f=e._meridiem)?d:null!=l.meridiemHour?l.meridiemHour(d,f):null!=l.isPM?((h=l.isPM(f))&&d<12&&(d+=12),h||12!==d||(d=0),d):d),mt(e),ht(e)}else Tt(e);else xt(e);var l,d,f,h}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ht(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),mt(e)):a(t)?function(e){if(!e._d){var t=D(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),mt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function At(e,t,n,r,i){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new _(ht(Ot(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function jt(e,t,n,r){return At(e,t,n,r,!1)}i.createFromInputFallback=T("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 Nt=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Mt=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=jt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Pt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return jt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var t=D(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Oe.call(It,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<It.length;++r)if(e[It[r]]){if(n)return!1;parseFloat(e[It[r]])!==k(e[It[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ft(),this._bubble()}function Dt(e){return e instanceof Lt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,t){W(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),le("Z",se),le("ZZ",se),pe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(se,e)});var Bt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Bt)||["-",0,0],o=60*i[1]+k(i[2]);return 0===o?0:"+"===i[0]?o:-o}function qt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||u(e)?e.valueOf():jt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):jt(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,r,i,o,a,s,u=e,l=null;return Dt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Wt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:k(l[be])*n,h:k(l[_e])*n,m:k(l[we])*n,s:k(l[xe])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Vt.exec(e))?(n="-"===l[1]?-1:1,u={y:Gt(l[2],n),M:Gt(l[3],n),w:Gt(l[4],n),d:Gt(l[5],n),h:Gt(l[6],n),m:Gt(l[7],n),s:Gt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=jt(u.from),a=jt(u.to),i=o.isValid()&&a.isValid()?(a=qt(a,o),o.isBefore(a)?s=Kt(o,a):((s=Kt(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new Lt(u),Dt(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 $t(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(A(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),Xt(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function Xt(e,t,n,r){var o=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(r=null==r||r,s&&Re(e,Ne(e,"Month")+s*n),a&&Me(e,"Date",Ne(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Yt.fn=Lt.prototype,Yt.invalid=function(){return Yt(NaN)};var Qt=$t(1,"add"),Zt=$t(-1,"subtract");function Jt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function en(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=T("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 nn(){return this._locale}function rn(e,t){W(0,[e,e.length],0,t)}function on(e,t,n,r,i){var o;return null==e?Ve(this,r,i).year:(o=Ye(e,r,i),t>o&&(t=o),function(e,t,n,r,i){var o=We(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",Z,K),le("gg",Z,K),le("GGGG",ne,X),le("gggg",ne,X),le("GGGGG",re,Q),le("ggggg",re,Q),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),I("quarter","Q"),F("quarter",7),le("Q",G),pe("Q",function(e,t){t[ye]=3*(k(e)-1)}),W("D",["DD",2],"Do","date"),I("date","D"),F("date",9),le("D",Z),le("DD",Z,K),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=k(e.match(Z)[0])});var an=je("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),F("dayOfYear",4),le("DDD",te),le("DDDD",$),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),W("m",["mm",2],0,"minute"),I("minute","m"),F("minute",14),le("m",Z),le("mm",Z,K),pe(["m","mm"],we);var sn=je("Minutes",!1);W("s",["ss",2],0,"second"),I("second","s"),F("second",15),le("s",Z),le("ss",Z,K),pe(["s","ss"],xe);var cn,un=je("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),F("millisecond",16),le("S",te,G),le("SS",te,K),le("SSS",te,$),cn="SSSS";cn.length<=9;cn+="S")le(cn,ie);function ln(e,t){t[ke]=k(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")pe(cn,ln);var dn=je("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var fn=_.prototype;function hn(e){return e}fn.add=Qt,fn.calendar=function(e,t){var n=e||jt(),r=qt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(j(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,jt(n)))},fn.clone=function(){return new _(this)},fn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=qt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t)){case"year":o=Jt(this,r)/12;break;case"month":o=Jt(this,r);break;case"quarter":o=Jt(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:x(o)},fn.endOf=function(e){return void 0===(e=L(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},fn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||jt(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(jt(),e)},fn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||jt(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(jt(),e)},fn.get=function(e){return j(this[e=L(e)])?this[e]():this},fn.invalidAt=function(){return p(this).overflow},fn.isAfter=function(e,t){var n=w(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=w(e)?e:jt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(e,t,n,r){var i=w(e)?e:jt(e),o=w(t)?t:jt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},fn.isSame=function(e,t){var n,r=w(e)?e:jt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return m(this)},fn.lang=tn,fn.locale=en,fn.localeData=nn,fn.max=Mt,fn.min=Nt,fn.parsingFlags=function(){return f({},p(this))},fn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=D(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(j(this[e=L(e)]))return this[e](t);return this},fn.startOf=function(e){switch(e=L(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},fn.subtract=Zt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){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()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){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=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.year=Ae,fn.isLeapYear=function(){return Ce(this.year())},fn.weekYear=function(e){return on.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return on.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=Fe,fn.daysInMonth=function(){return Pe(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ye(this.year(),1,4)},fn.date=an,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(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")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=it,fn.minute=fn.minutes=sn,fn.second=fn.seconds=un,fn.millisecond=fn.milliseconds=dn,fn.utcOffset=function(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=Ut(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?jt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ht,fn.isUTC=Ht,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=T("dates accessor is deprecated. Use date instead.",an),fn.months=T("months accessor is deprecated. Use month instead",Fe),fn.years=T("years accessor is deprecated. Use year instead",Ae),fn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Ot(e))._a){var t=e._isUTC?h(e._a):jt(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=M.prototype;function mn(e,t,n,r){var i=ft(),o=h().set(r,t);return i[n](o,e)}function vn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=ft(),a=e?o._week.dow:0;if(null!=n)return mn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=mn(t,(i+a)%7,r,"day");return s}pn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},pn.longDateFormat=function(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])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(e){return this._ordinal.replace("%d",e)},pn.preparse=hn,pn.postformat=hn,pn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)},pn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},pn.set=function(e){var t,n;for(n in e)j(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)},pn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},pn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ie.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(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=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([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}},pn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},pn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},pn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(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=h([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=Oe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([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}},pn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},pn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",lt),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ft);var yn=Math.abs;function bn(e,t,n,r){var i=Yt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var En=kn("ms"),Sn=kn("s"),Tn=kn("m"),Cn=kn("h"),On=kn("d"),An=kn("w"),jn=kn("M"),Nn=kn("y");function Mn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Mn("milliseconds"),In=Mn("seconds"),Ln=Mn("minutes"),Dn=Mn("hours"),Rn=Mn("days"),Fn=Mn("months"),Bn=Mn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11},zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),i=zn(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(i/12),a=i%=12,s=r,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Hn(this._months)!==Hn(d)?"-":"",p=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?m+c+"H":"")+(u?m+u+"M":"")+(l?m+l+"S":"")}var Vn=Lt.prototype;return Vn.isValid=function(){return this._isValid},Vn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},Vn.add=function(e,t){return bn(this,e,t,1)},Vn.subtract=function(e,t){return bn(this,e,t,-1)},Vn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=L(e))||"year"===e)return t=this._days+r/864e5,n=this._months+wn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xn(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)}},Vn.asMilliseconds=En,Vn.asSeconds=Sn,Vn.asMinutes=Tn,Vn.asHours=Cn,Vn.asDays=On,Vn.asWeeks=An,Vn.asMonths=jn,Vn.asYears=Nn,Vn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Vn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_n(xn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=x(o/1e3),c.seconds=e%60,t=x(e/60),c.minutes=t%60,n=x(t/60),c.hours=n%24,a+=x(n/24),i=x(wn(a)),s+=i,a-=_n(xn(i)),r=x(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Vn.clone=function(){return Yt(this)},Vn.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Vn.milliseconds=Pn,Vn.seconds=In,Vn.minutes=Ln,Vn.hours=Dn,Vn.days=Rn,Vn.weeks=function(){return x(this.days()/7)},Vn.months=Fn,Vn.years=Bn,Vn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Yt(e).abs(),i=Un(r.as("s")),o=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("y")),l=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||o<=1&&["m"]||o<qn.m&&["mm",o]||a<=1&&["h"]||a<qn.h&&["hh",a]||s<=1&&["d"]||s<qn.d&&["dd",s]||c<=1&&["M"]||c<qn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Vn.toISOString=Wn,Vn.toString=Wn,Vn.toJSON=Wn,Vn.locale=en,Vn.localeData=nn,Vn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Vn.lang=tn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.23.0",t=jt,i.fn=fn,i.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return jt(1e3*e)},i.months=function(e,t){return vn(e,t,"months")},i.isDate=u,i.locale=lt,i.invalid=v,i.duration=Yt,i.isMoment=w,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return jt.apply(null,arguments).parseZone()},i.localeData=ft,i.isDuration=Dt,i.monthsShort=function(e,t){return vn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=dt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ot;null!=(r=ut(e))&&(i=r._config),t=N(i,t),(n=new M(t)).parentLocale=at[e],at[e]=n,lt(e)}else null!=at[e]&&(null!=at[e].parentLocale?at[e]=at[e].parentLocale:null!=at[e]&&delete at[e]);return at[e]},i.locales=function(){return C(at)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=L,i.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==qn[e]&&(void 0===t?qn[e]:(qn[e]=t,"s"===e&&(qn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=fn,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:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(289)(e))},function(e,t,n){var r=n(2319),i=n(2324);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){e.exports=n(1711)},function(e,t,n){var r=n(237),i=n(61);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})},function(e,t,n){var r=n(20),i=n(865),o=n(321);e.exports=r(function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return Array.prototype.slice.call(t,0).sort(e)})},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(15),a=n(91),s=(n(2050),n(2)),c=n.n(s),u=n(29),l=n.n(u),d=n(0),f=n.n(d),h=function(e){var t;return c()("button",(t={},Object(o.a)(t,e.className,!l()(e.className)),Object(o.a)(t,"button--default",void 0===e.mode),Object(o.a)(t,"button--extraPadding",e.extraPadding),Object(o.a)(t,"button--menu",e.menu),Object(o.a)(t,"button--menu button--menuMobile",e.mobileMenu),Object(o.a)(t,"button--sidebar brand--ui",e.sidebar),Object(o.a)(t,"button--header",e.header),Object(o.a)(t,"button--header-done",e.headerDone),Object(o.a)(t,"button--outline",e.outline),Object(o.a)(t,"button--outline button--outline-transparent",e.outlineTransparent),Object(o.a)(t,"button--condensed",e.condensed),Object(o.a)(t,"button--inverted",e.inverted),Object(o.a)(t,"button--inline","inline"===e.mode),Object(o.a)(t,"button--next",e.next),Object(o.a)(t,"button--disabled",e.disabled),Object(o.a)(t,"button--controls",e.controls),Object(o.a)(t,"brand--ui",e.accent),Object(o.a)(t,"brand--background brand--border",e.branded),t))},p=function(e){return e?f.a.createElement("i",{className:"button__icon icon-".concat(e)}):null},m=function(e){var t,n=e.onlyIcon,r=e.children;return i()(t=f.a.Children).call(t,r,function(e){return n&&void 0===e.type?null:e})};t.a=function(e){var t=e.ariaControls,n=e.ariaExpanded,r=e.ariaHidden,i=e.ariaLabel,o=e.ariaPressed,s=e.onClick,c=e.tabIndex,u=Object(a.a)(e,["ariaControls","ariaExpanded","ariaHidden","ariaLabel","ariaPressed","onClick","tabIndex"]);return f.a.createElement("button",{"aria-expanded":n,"aria-hidden":r,"aria-label":i,"aria-controls":t,"aria-pressed":o,className:h(u),disabled:u.disabled,onClick:s,tabIndex:c,"data-ba":u["data-ba"]},p(u.icon),m(u))}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(2106),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){var r=n(2266)();r.helpers=n(87),n(2270)(r),r.Animation=n(1138),r.animationService=n(1139),r.defaults=n(114),r.Element=n(260),r.elements=n(324),r.Interaction=n(1140),r.layouts=n(465),r.platform=n(1141),r.plugins=n(1142),r.Scale=n(466),r.scaleService=n(323),r.Ticks=n(467),r.Tooltip=n(1143),n(2281)(r),n(2282)(r),n(2283)(r),n(2284)(r),n(2285)(r),n(2286)(r),n(2287)(r),n(2288)(r),n(2290)(r),n(2291)(r),n(2292)(r),n(2293)(r),n(2294)(r),n(2295)(r),n(2296)(r),n(2297)(r),n(2298)(r),n(2299)(r),n(2300)(r),n(2301)(r),n(2302)(r),n(2303)(r);var i=n(2304);for(var o in i)i.hasOwnProperty(o)&&r.plugins.register(i[o]);r.platform.initialize(),e.exports=r,"undefined"!=typeof window&&(window.Chart=r),r.Legend=i.legend._element,r.Title=i.title._element,r.pluginService=r.plugins,r.PluginBase=r.Element.extend({}),r.canvasHelpers=r.helpers.canvas,r.layoutService=r.layouts},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u});var r=n(127),i=n.n(r),o=n(154),a=960;function s(){return document.querySelector(".page-wrap")}var c=i()(o.b,function(e){return e.getBoundingClientRect().bottom-e.offsetHeight/4<=window.innerHeight});function u(){return window.innerWidth<a}},function(e,t,n){"use strict";n.d(t,"b",function(){return A}),n.d(t,"e",function(){return j}),n.d(t,"d",function(){return N}),n.d(t,"a",function(){return L}),n.d(t,"c",function(){return D});var r=n(26),i=n.n(r),o=n(7),a=n.n(o),s=n(47),c=n.n(s),u=n(29),l=n.n(u),d=n(77),f=n.n(d),h=n(90),p=n.n(h),m=n(30),v=n.n(m),g=n(96),y=n.n(g),b=n(73),_=n.n(b),w=n(49),x=n.n(w),k=n(14),E=n.n(k),S=n(42),T=n.n(S),C=n(74),O=n(57),A=function(e){var t=e.id;return function(e){return e(Object(O.g)({id:t,updateFn:M}))}},j=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(O.g)({id:n,updateFn:P(t)}))}},N=function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e(Object(O.g)({id:n,updateFn:I({activeIndex:t,itemId:r})}))}},M=_()(["activeIndex","direction"]),P=function(e){return c()(v.a)({activeIndex:e,direction:"backwards"})},I=function(e){var t=e.activeIndex,n=e.itemId;return a()(T()(E()("percentComplete",100),i()("isComplete",!0)),O.f,T()(function(){return y()(l()(n))},x()(f()(["items",n]),i()("isComplete",!0))),i()("activeIndex",t),_()(["direction"]))},L=a()(c()(v.a)({isComplete:!0,percentComplete:100}),M,x()(p()("items"),Object(C.e)(i()("isComplete",!0)))),D=a()(_()(["activeIndex","direction","isComplete","percentComplete"]),x()(p()("items"),Object(C.e)(_()(["isComplete"]))))},function(e,t,n){e.exports=n(2124)},function(e,t,n){"use strict";n.d(t,"f",function(){return G}),n.d(t,"a",function(){return K}),n.d(t,"c",function(){return $}),n.d(t,"e",function(){return X}),n.d(t,"b",function(){return Q}),n.d(t,"d",function(){return ee});var r=n(18),i=n.n(r),o=n(142),a=n.n(o),s=n(157),c=n.n(s),u=n(23),l=n(46),d=n(3),f=n.n(d),h=n(4),p=n.n(h),m=n(9),v=n(6),g=n(10),y=n(8),b=n(5),_=n(11),w=(n(2081),n(0)),x=n.n(w),k=n(2),E=n.n(k),S=n(81),T=n.n(S),C=n(365),O=n.n(C),A=n(1),j=n.n(A),N=n(40),M=n.n(N),P=n(52),I=n(66),L=n(93),D=n(17),R=n(25),F=n(211),B=n(107),U=n(55),q=n(59).b.blocks,z=function(e){var t=e.quote,n=e.name;return x.a.createElement("div",{className:"visually-hidden"},x.a.createElement(L.a,{value:t}),x.a.createElement(L.a,{value:n}))},H=function(e){var t=e.avatar,n=e.alt,r=('""'===n?"":n)||"";return x.a.createElement("div",{"aria-hidden":!r,"aria-label":r,className:"block-quote__avatar",role:"img",style:{backgroundImage:"url('".concat(t||"","')")}})},W=function(e){var t=e.type,n=e.animateBlockEntrance,r=e.avatar,i=e.children,o=e.backgroundColor,a=e.alt,s=e.isLearner,c=E()("block-quote__col",{"block-quote__col--no-avatar":!r}),u=E()("block-quote__figure",{"brand--beforeColor":"b"===t}),l=r?x.a.createElement("div",{className:"block-quote__image"},x.a.createElement("div",{className:"block-quote__avatar-wrap"},"c"===t?x.a.createElement(U.a,{animateBlockEntrance:n,animateIn:"fadeInLeftSmall",isLearner:s},x.a.createElement(H,{avatar:r,alt:a,title:a})):x.a.createElement(H,{avatar:r,alt:a,title:a}))):null;return x.a.createElement("div",{className:"block-quote__container"},x.a.createElement("div",{className:"block-quote__row"},x.a.createElement("div",{className:c},x.a.createElement("div",{className:u,style:{backgroundColor:Object(I.a)("",o)}},l,i))))},V=function(e){var t=e.avatar,n=e.children,r=e.alt;return x.a.createElement("div",{className:"block-quote__figure"},x.a.createElement("div",{className:"block-quote__container"},x.a.createElement("div",{className:"block-quote__row"},x.a.createElement("div",{className:"block-quote__col"},t?x.a.createElement(H,{avatar:t,alt:r}):null),x.a.createElement("div",{className:"block-quote__col"},n))))},Y=function(e){var t=e.background,n=e.avatar,r=e.children,i=e.alt;return x.a.createElement("div",{className:"block-quote__background",style:{backgroundImage:t?"url(".concat(t,")"):""}},x.a.createElement("div",{className:"block-quote__container"},x.a.createElement("div",{className:"block-quote__row"},x.a.createElement("div",{className:"block-quote__col"},x.a.createElement("div",{className:"block-quote__figure"},n?x.a.createElement(H,{avatar:n,alt:i}):null,r)))))},G=function(e){function t(){var e,n,r,i,o;Object(m.a)(this,t);for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];return(o=Object(g.a)(this,(e=Object(y.a)(t)).call.apply(e,p()(n=[this]).call(n,s)))).renderTextDelegate=f()(r=o.renderText).call(r,Object(b.a)(o)),o.renderCaptionDelegate=f()(i=o.renderCaption).call(i,Object(b.a)(o)),o}return Object(_.a)(t,e),Object(v.a)(t,[{key:"getQuoteEntranceAnimationType",value:function(){switch(this.props.type){case"a":case"b":case"background":return"fadeInUp";case"d":case"c":return"fadeInRight"}}},{key:"renderText",value:function(e,t){var n=e.type,r=t.paragraph||"",i=E()("block-quote__text brand--linkColor",{"brand--head":"b"===n,"brand--body":"b"!==n,"block-quote__text--blank":""===r});return x.a.createElement(L.a,{className:i,value:r})}},{key:"renderCaption",value:function(e,t){var n=e.type,r=t.name,i=E()("block-quote__caption brand--linkColor",{"brand--head":"b"!==n,"brand--body":"b"===n,"block-quote__caption--blank":""===r});return x.a.createElement(L.a,{className:i,value:r})}},{key:"render",value:function(){var e,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.labels,a=t.settings,s=t.type,c=t.renderText,u=void 0===c?this.renderTextDelegate:c,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,h=a.paddingTop,p=a.paddingBottom,m=a.backgroundColor,v=a.entranceAnimation,g=Object(l.a)(i,1)[0],y=g.paragraph,b=g.name,_=g.avatar,w=g.background,k=T()(_,"media.image"),S=Object(P.c)(k),C=T()(_,"media.image.alt"),O=Object(P.a)(T()(w,"media.image")),A=y||"",j=E()("block-quote block-quote--".concat(s),{"block-quote--no-animation":!v}),N={backgroundColor:Object(I.a)("",m),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")},M=x.a.createElement("div",{"aria-hidden":"true",className:"block-quote__wrap"},x.a.createElement(U.a,{animateBlockEntrance:n,animateIn:this.getQuoteEntranceAnimationType(),isLearner:r,siblingDelay:.15},u(this.props,g),f(this.props,g)));switch(s){case"d":e=x.a.createElement(V,{type:s,avatar:S,alt:C},M);break;case"background":e=x.a.createElement(Y,{type:s,avatar:S,alt:C,background:O},M);break;default:e=x.a.createElement(W,{type:s,animateBlockEntrance:n,avatar:S,alt:C,backgroundColor:m,isLearner:r},M)}var L=o.quoteGroup;return x.a.createElement("div",{"aria-label":L,className:j,"data-ba":q.blockQuote,role:B.b,style:N},e,x.a.createElement(z,{name:b,quote:A}))}}],[{key:"propTypes",get:function(){return{lessonId:j.a.any,blockId:j.a.any,items:j.a.array.isRequired,settings:j.a.object.isRequired,type:j.a.string,editable:j.a.bool}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],type:"a"}}}]),t}(x.a.Component),K=function(e){return x.a.createElement(G,Object(u.a)({type:"b"},e))},$=function(e){return x.a.createElement(G,Object(u.a)({type:"c"},e))},X=function(e){return x.a.createElement(G,Object(u.a)({type:"d"},e))},Q=function(e){return x.a.createElement(G,Object(u.a)({type:"background"},e))},Z=function(e){var t=e.onClick;return x.a.createElement("button",{"aria-label":"Next quote",className:"block-quote__arrow block-quote__arrow--next",onClick:t,type:"button"},x.a.createElement("div",{className:"block-quote__arrow-icon"}))},J=function(e){var t=e.onClick;return x.a.createElement("button",{"aria-label":"Previous quote",className:"block-quote__arrow block-quote__arrow--prev",onClick:t,type:"button"},x.a.createElement("div",{className:"block-quote__arrow-icon"}))},ee=function(e){function t(e){var n,r,i;return Object(m.a)(this,t),(i=Object(g.a)(this,Object(y.a)(t).call(this,e))).renderTextDelegate=f()(n=i.renderText).call(n,Object(b.a)(i)),i.renderCaptionDelegate=f()(r=i.renderCaption).call(r,Object(b.a)(i)),i.state={currentIndex:0,isDotKeyboardFocusDisabled:!1},i}return Object(_.a)(t,e),Object(v.a)(t,[{key:"disableFocusForClonedSlides",value:function(){var e=this.state.currentIndex,t=Object(F.b)(this.carousel.querySelectorAll(".slick-active.block-quote__slide"));c()(t).call(t,function(t){a()(t.getAttribute("data-index"))!==e&&Object(D.b)(t)})}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(Object(D.b)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t,n,r=this.slider;M()([[R.i,f()(t=r.slickNext).call(t,r)],[R.g,f()(n=r.slickPrev).call(n,r)]])(e)}},{key:"renderText",value:function(e,t,n){var r=t.paragraph,i=n.allowTabNavigation,o=r||"",a=E()("block-quote__text brand--body brand--linkColor",{"block-quote__text--blank":""===r});return x.a.createElement(L.a,{className:a,value:o,allowTabNavigation:i})}},{key:"renderCaption",value:function(e,t,n){var r=t.name,i=n.allowTabNavigation,o=E()("block-quote__caption brand--head brand--linkColor",{"block-quote__caption--blank":""===r});return x.a.createElement(L.a,{className:o,value:r,allowTabNavigation:i})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.animateBlockEntrance,o=n.isLearner,a=n.items,s=n.type,c=n.settings,l=n.editable,d=n.renderText,h=void 0===d?this.renderTextDelegate:d,p=n.renderCaption,m=void 0===p?this.renderCaptionDelegate:p,v=c.paddingTop,g=c.paddingBottom,y=c.backgroundColor,b=c.entranceAnimation,_=c.showBorder,w=void 0===_||_,k=E()("block-quote block-quote--".concat(s),{"block-quote--no-animation":!b,"block-quote--editable":l,"block-quote--show-border":w}),S={backgroundColor:Object(I.a)("",y),paddingTop:"".concat(10*v,"px"),paddingBottom:"".concat(10*g,"px")},C=this.state.currentIndex,A=i()(a).call(a,function(e,n){var i=n===C,a=T()(e.avatar,"media.image.alt"),s=T()(e.avatar,"media.image"),c=Object(P.c)(s),u=e.paragraph||"",l={allowTabNavigation:i};return x.a.createElement("div",{className:"block-quote__slide",key:e.id},x.a.createElement("div",{className:"block-quote__figure"},c?x.a.createElement(H,{avatar:c,alt:a}):null,x.a.createElement(U.a,{animateBlockEntrance:r,animateIn:"fadeInUp",siblingDelay:.25,isLearner:o},x.a.createElement(z,{name:name,quote:u}),x.a.createElement("div",{"aria-hidden":"true"},h(t.props,e,l),m(t.props,e,l)))))}),j={slidesToShow:1,slidesToScroll:1,arrows:A.length>1,nextArrow:x.a.createElement(Z,null),prevArrow:x.a.createElement(J,null),dots:A.length>1,dotsClass:"block-quote__dots-list brand--background-all brand--shadow-all",accessibility:!1,draggable:!l,beforeChange:function(e,n){var r=t.props,i=r.items;(0,r.onStep)(i[n]),t.setState({currentIndex:n})}};return x.a.createElement("div",{"aria-label":"Quote Carousel",className:"block-quote__slider-container",onKeyDown:f()(e=this.onKeyDown).call(e,this),ref:function(e){t.carousel=e},role:B.b,tabIndex:D.a},x.a.createElement("div",{className:k,"data-ba":q.blockQuote,style:S},x.a.createElement("div",{className:"block-quote__wrap"},x.a.createElement("div",{className:"block-quote__container"},x.a.createElement("div",{className:"block-quote__row"},x.a.createElement("div",{className:"block-quote__col"},x.a.createElement("div",{className:"block-quote__box",ref:function(e){t.sliderContainer=e}},x.a.createElement(O.a,Object(u.a)({className:"block-quote__wrapper",ref:function(e){t.slider=e}},j),A))))))))}}],[{key:"propTypes",get:function(){return{lessonId:j.a.any,blockId:j.a.any,items:j.a.array.isRequired,settings:j.a.object.isRequired,type:j.a.string,editable:j.a.bool,onStep:j.a.func}}},{key:"defaultProps",get:function(){return{type:"carousel",items:[],onStep:Function.prototype}}}]),t}(x.a.Component)},function(e,t,n){var r=n(811),i=n(659);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(823);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)},function(e,t,n){"use strict";var r=n(666),i=n(123),o=n(105),a=n(106)("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}})}},function(e,t,n){var r=n(186);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(213),i="["+n(516)+"]",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}},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(255),i=n(86),o=n(318),a=n(447),s=n(1585),c=n(1586);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)||c(e)?" "+e.toString():" "+e;var t}e.exports=u},function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var r=n(1602),i=n(1603),o=n(889);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(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 d(this,e)}return u(this,e,t,n)}function u(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);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(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(c.isBuffer(t)){var n=0|h(t.length);return 0===(e=s(e,n)).length?e:(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):f(e,t);if("Buffer"===t.type&&o(t.data))return f(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 d(e,t){if(l(t),e=s(e,t<0?0:0|h(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|h(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.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 U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(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=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,c=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,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var d=!0,f=0;f<c;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return-1}function y(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 b(e,t,n,r){return z(U(t,e.length-n),e,n,r)}function _(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 w(e,t,n,r){return _(e,t,n,r)}function x(e,t,n,r){return z(q(t),e,n,r)}function k(e,t,n,r){return z(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,u=e[i],l=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=d}return function(e){var t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.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(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return u(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.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)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.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},c.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}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.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},c.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},c.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},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):function(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 S(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.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+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.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),u=this.slice(r,i),l=e.slice(t,n),d=0;d<s;++d)if(u[d]!==l[d]){o=u[d],a=l[d];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.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 y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=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 O(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+=B(e[o]);return i}function j(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 N(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(!c.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 P(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 I(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 L(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 D(e,t,n,r,o){return o||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return o||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.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),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(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},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(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},c.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},c.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},c.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},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.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},c.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},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},c.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),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},c.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||!c.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},c.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&&!c.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=c.isBuffer(e)?e:U(new c(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(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 q(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).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}}).call(this,n(100))},function(e,t,n){var r=n(460),i=n(220),o=n(188),a=n(2e3),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,o,a,s,c){if(r(t),!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 l=[n,i,o,a,s,c],d=0;(u=new Error(t.replace(/%s/g,function(){return l[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){var r=n(560),i=n(2053),o=n(2054),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?i(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(2088),i=n(2091);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,a,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(o(n=this._events[e]))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(i(n))for(s=Array.prototype.slice.call(arguments,1),a=(u=n.slice()).length,c=0;c<a;c++)u[c].apply(this,s);return!0},n.prototype.addListener=function(e,t){var a;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(a=o(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},n.prototype.removeListener=function(e,t){var n,o,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){o=s;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return null!=t&&t.constructor===e||t instanceof e})},function(e,t,n){var r=n(50),i=n(588);e.exports=r(function(e){return i(function(){return Array.prototype.slice.call(arguments,0)},e)})},function(e,t,n){var r=n(254),i=n(20),o=n(187);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]})})},function(e,t,n){var r=n(237),i=n(20);e.exports=i(function(e,t){return r([e],t)})},function(e,t,n){e.exports=n(1694)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);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))})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(476),i=n.n(r);function o(e,t){return(o=i.a||function(e,t){return e.__proto__=t,e})(e,t)}},function(e,t,n){var r=n(53),i=n(413),o=n(163),a=n(157);
/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */
t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},c=t||{},u=e.split(/; */),l=c.decode||s;return a(u).call(u,function(e){var t,a,s=o(e).call(e,"=");if(!(s<0)){var c=i(t=e.substr(0,s)).call(t),u=i(a=e.substr(++s,e.length)).call(a);'"'==u[0]&&(u=r(u).call(u,1,-1)),null==n[c]&&(n[c]=function(e,t){try{return t(e)}catch(t){return e}}(u,l))}}),n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||c;if(!u.test(e))throw new TypeError("argument name is invalid");var o=i(t);if(o&&!u.test(o))throw new TypeError("argument val is invalid");var a=[e+"="+o];if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s))throw new Error("maxAge should be a Number");a.push("Max-Age="+s)}if(r.domain){if(!u.test(r.domain))throw new TypeError("option domain is invalid");a.push("Domain="+r.domain)}if(r.path){if(!u.test(r.path))throw new TypeError("option path is invalid");a.push("Path="+r.path)}r.expires&&a.push("Expires="+r.expires.toUTCString());r.httpOnly&&a.push("HttpOnly");r.secure&&a.push("Secure");return a.join("; ")};var s=decodeURIComponent,c=encodeURIComponent,u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},function(e,t,n){var r=n(261),i=n(115);e.exports=i(r,0)},function(e,t,n){var r=n(20);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})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(2035),o=n(86),a=n(175);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(218),o=n(449),a=n(175);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)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return $});var r=n(97),i=n.n(r),o=n(142),a=n.n(o),s=n(3),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(11),p=n(4),m=n.n(p),v=(n(2143),n(1209)),g=n.n(v),y=n(1),b=n.n(y),_=n(331),w=n.n(_),x=n(301),k=n.n(x),E=n(2),S=n.n(E),T=n(7),C=n.n(T),O=n(40),A=n.n(O),j=n(56),N=n.n(j),M=n(42),P=n.n(M),I=n(38),L=n(21),D=n(304),R=n(43),F=n(17),B=n(307),U=n(245),q=n(104),z=n(107),H=n(63),W=n(310),V=n(111),Y=n(25),G=function(e){var t,n=Object(L.c)("CDN_USER_CONTENT_URI"),r=new RegExp(Object(L.c)("CDN_URI"),"g");return Object(L.d)()?e:r.test(e)?m()(t="".concat(n)).call(t,w.a.parse(e).path):e},K=C()(P()(N.a,L.g),W.a),$=function(t){function n(e){var t;return Object(u.a)(this,n),(t=Object(d.a)(this,Object(f.a)(n).call(this,e))).state={isReady:!1,duration:0},t}return Object(h.a)(n,t),Object(l.a)(n,[{key:"componentDidMount",value:function(){var e=this.props.allowTabNavigation;this.iFrameContainer&&!e&&this.updateIframeFocusability({allowFocus:!1})}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&R.a.isPlaying&&(this.player.pause(),R.a.isPlaying=!1)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,n=e.data,r=t.originalUrl!==n.originalUrl,i=this.props.allowTabNavigation,o=e.allowTabNavigation,a=i!==o;r&&"video"===Object(U.b)(t)&&this.teardownPlayer(),this.iFrameContainer&&a&&this.updateIframeFocusability({allowFocus:o})}},{key:"componentWillUnmount",value:function(){"video"===Object(U.b)(this.props.data)&&this.teardownPlayer()}},{key:"setupPlayer",value:function(){var e=this;this.player=new g.a.Player(this.media),this.props.progressChanged&&this.player.on("ready",this.videoReady=function(){e.player.on("timeupdate",e.videoUpdate=function(t){e.props.progressChanged({done:t.seconds/t.duration*100})}),e.setState({isReady:!0})}),this.player.on("play",this.videoPlay=function(){var t=e.props.id;R.a.isPlaying&&R.a.playerId!==t&&(R.a.isPlaying=!1),R.a.playerId=t,R.a.isPlaying=!0}),R.a.addChangeListener(this.onChange=function(){var t=e.props.id;R.a.playerId===t&&(R.a.isPlaying?e.player.play():e.player.pause())})}},{key:"teardownPlayer",value:function(){R.a.isPlaying=!1,this.onChange&&R.a.removeChangeListener(this.onChange),this.player&&(this.player.off("play",this.videoPlay),this.player.off("ready",this.videoReady),this.player.off("timeupdate",this.videoUpdate))}},{key:"updateIframeFocusability",value:function(e){var t=e.allowFocus;Object(F.k)({element:this.iFrameContainer,selector:"iframe",tabIndex:Object(F.m)(t)})}},{key:"playerSupportsMethods",value:function(e){var t=this;return k()(function(e){return t.player.supports("method",e)})(e)}},{key:"togglePlay",value:function(){var e=this;this.playerSupportsMethods(["play","pause"])&&this.player.on("ready",function(){e.player.getPaused(function(t){t?e.player.play():e.player.pause()})})}},{key:"keySeek",value:function(e){var t=this;this.playerSupportsMethods(["getCurrentTime","setCurrentTime"])&&this.player.on("ready",function(){t.player.getCurrentTime(function(n){t.player.setCurrentTime(n+e)})})}},{key:"changeVolume",value:function(e){var t=this;this.playerSupportsMethods(["getVolume","setVolume"])&&this.player.getVolume(function(n){t.player.setVolume(n+e)})}},{key:"onKeyDown",value:function(e){var t,n=this,r=Object(q.b)(c()(t=this.togglePlay).call(t,this)),i=Object(q.b)(function(){return n.keySeek(5)}),o=Object(q.b)(function(){return n.keySeek(-5)}),a=Object(q.b)(function(){return n.changeVolume(10)}),s=Object(q.b)(function(){return n.changeVolume(-10)});A()([[Y.k,r],[Y.i,i],[Y.g,o],[Y.m,a],[Y.b,s]])(e)}},{key:"renderProvider",value:function(){var t=this.props,n=t.allowTabNavigation,r=t.showMetaData,i=t.data,o=i.providerUrl,a=i.provider,s=i.favicon;return r?e.createElement("h2",{className:"embed__provider"},e.createElement("a",{className:"brand--hoverColor",href:Object(W.a)(o),rel:"noopener noreferrer",tabIndex:Object(F.m)(n),target:"_blank"},e.createElement("img",{className:"embed__providerIcon",src:s,alt:s?a:null}),e.createElement("span",{className:"embed__providerName"},a))):null}},{key:"renderMetaData",value:function(){var t,n,r=this.props,i=r.allowTabNavigation,o=r.data,a=r.labels,s=r.showMetaData,c=o.src,u=o.title,l=o.description,d=o.provider,f=a.embedReadMore,h=a.embedViewOn,p=Object(U.b)(o);if(!s&&"link"!==p)return null;var v=Object(W.a)(c);return e.createElement("div",{className:"embed__meta__content"},e.createElement("h2",{className:"embed__title brand--head"},e.createElement("a",{className:"brand--hoverColor",href:v,rel:"noopener noreferrer",tabIndex:Object(F.m)(i),target:"_blank"},e.createElement(I.a,{value:u}))),e.createElement(I.a,{className:"embed__description brand--body brand--linkColor",value:l}),e.createElement("a",{className:"embed__readMore brand--hoverColor",href:v,rel:"noopener noreferrer",tabIndex:Object(F.m)(i),target:"_blank"},"link"===p?m()(t="".concat(f," ")).call(t,d):m()(n="".concat(h," ")).call(n,d),e.createElement("i",{className:"icon icon-chevron-right"})))}},{key:"render",value:function(){var t,n=this,r=this.props,o=r.allowTabNavigation,s=r.data,c=r.isLesson,u=r.labels,l=r.showMetaData,d=s.description,f=s.src,h=s.thumbnail,p=s.title,m=u.embedLinkGroup,v=u.embedPlayerGroup,g=u.embedReadMore,y=Object(U.b)(s);if("iframe"===y){var b=document.createElement("div");b.innerHTML=Object(V.b)(f);var _=b.firstChild,w=_&&_.tagName&&"iframe"===_.tagName.toLowerCase(),x=100,k=32,E=f;if(w){var S=_.width.match(/%/),T=a()(_.width);_.src=Object(W.a)(_.src),E=b.innerHTML,x=S?T/100*700:T||16,k=a()(_.height)}var C=w?"".concat(100*(k/x),"%"):"3rem",O=w?E:"<div>Error: Invalid iframe tag.  Please check the iframe source.</div>";return e.createElement("div",{"aria-hidden":!o,"aria-label":v,className:"embed",role:z.b},e.createElement("div",{className:"embed--iframe",dangerouslySetInnerHTML:{__html:O},style:{paddingBottom:C},ref:function(e){n.iFrameContainer=e}}))}return c?e.createElement("div",{"aria-hidden":!o,"aria-label":X(u,y),className:"embed embed--link embed--rich",role:z.b},this.renderProvider(),i()(t=["link","photo"]).call(t,y)?e.createElement("a",{href:Object(W.a)(f),rel:"noopener noreferrer",tabIndex:Object(F.m)(o),target:"_blank"},e.createElement("img",{alt:h?p:null,className:"embed__img",src:G(h)})):this.renderEmbedIframe({allowTabNavigation:o,labels:u,src:f,thumbnail:h,title:p,type:y}),this.renderMetaData()):"link"===y?e.createElement("div",{"aria-hidden":!o,"aria-label":m,className:"embed embed--link brand--head brand--linkColor",role:z.b},e.createElement(I.a,{className:"embed__title brand--head",value:p}),e.createElement(I.a,{className:"embed__description",value:d}),e.createElement("a",{className:"embed__readMore brand--hoverColor",href:Object(W.a)(f),rel:"noopener noreferrer",target:"_blank"},g)):e.createElement("div",{className:"embed embed--media brand--head"},l?e.createElement(I.a,{"aria-hidden":!o,className:"embed__title brand--head",value:p}):null,this.renderEmbedIframe({allowTabNavigation:o,labels:u,src:f,thumbnail:h,title:p,type:y}))}},{key:"renderEmbedIframe",value:function(t){var n=this,r=t.allowTabNavigation,i=t.labels.embedPlayerGroup,o=t.src,a=t.thumbnail,s=t.title;if("photo"===t.type)return e.createElement("figure",{className:"embed__media-wrap"},e.createElement(D.a,{src:G(a),title:s,allowTabNavigation:r}));var u,l,d=H.a.isIe11||H.a.isEdge,f=S()("embed__media-wrap",{"embed__media-wrap--ms_browser":d});return e.createElement("figure",{"aria-hidden":!r,"aria-label":i,className:f,onKeyDown:c()(u=this.onKeyDown).call(u,this),ref:function(e){n.iFrameContainer=e},tabIndex:Object(F.m)(r)},e.createElement("iframe",{ref:function(e){n.media=e},className:"embed__media",src:K(o),alt:s,frameBorder:"0",scrolling:"no",onLoad:c()(l=this.setupPlayer).call(l,this),allowFullScreen:!0,title:s}))}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{embedReadMore:B.a.embedReadMore,embedViewOn:"View on"},shouldPause:!1,showMetaData:!0}}},{key:"propTypes",get:function(){return{allowTabNavigation:b.a.bool,data:b.a.object.isRequired,progressChanged:b.a.func,isLesson:b.a.bool,shouldPause:b.a.bool,showMetaData:b.a.bool}}}]),n}(e.Component),X=function(e,t){var n=e.embedLinkGroup,r=e.embedPhotoGroup,i=e.embedVideoGroup;switch(t){case"photo":return r;case"video":return i;default:return n}}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Z});var r=n(97),i=n.n(r),o=n(18),a=n.n(o),s=n(4),c=n.n(s),u=n(62),l=n(27),d=n.n(l),f=n(157),h=n.n(f),p=n(3),m=n.n(p),v=n(9),g=n(6),y=n(10),b=n(8),_=n(5),w=n(11),x=(n(2158),n(2)),k=n.n(x),E=n(7),S=n.n(E),T=n(40),C=n.n(T),O=n(595),A=n.n(O),j=n(13),N=n.n(j),M=n(1),P=n.n(M),I=n(103),L=n.n(I),D=n(331),R=n.n(D),F=n(1216),B=n.n(F),U=n(63),q=n(307),z=n(107),H=n(43),W=n(211),V=n(34),Y=n(104),G=n(21),K=n(1224),$=n(17),X=n(25),Q=function(e){return Math.round(e.currentTime()/e.duration()*100)||0},Z=function(t){function n(e){var t,r,i,o,a;return Object(v.a)(this,n),(a=Object(y.a)(this,Object(b.a)(n).call(this,e))).state={isReady:!1,shouldLoadPlayheadPosition:!1,playbackStarted:!1,playheadPositionSaveThrottle:0,showRestrictSeekTooltip:!1},a.showRestrictSeekTooltip=m()(t=a.showRestrictSeekTooltip).call(t,Object(_.a)(a)),a.updateSeekTooltip=m()(r=a.updateSeekTooltip).call(r,Object(_.a)(a)),a.getMaxTime=m()(i=a.getMaxTime).call(i,Object(_.a)(a)),a.onMediaStoreChange=m()(o=a.onMediaStoreChange).call(o,Object(_.a)(a)),a}return Object(w.a)(n,t),Object(g.a)(n,[{key:"updateContentFocusability",value:function(){var e=this.props.allowTabNavigation,t=Object(W.b)(this.container.getElementsByTagName("button"));h()(t).call(t,function(t){Object($.j)(t,Object($.m)(e))}),Object($.k)({element:this.container,selector:".vjs-progress-holder",tabIndex:Object($.m)(e)}),Object($.k)({element:this.container,selector:".vjs-volume-bar",tabIndex:Object($.m)(e)}),Object($.k)({element:this.container,selector:".vjs-volume-menu-button",tabIndex:Object($.m)(e)})}},{key:"componentDidUpdate",value:function(e){this.updateContentFocusability(),!e.shouldPause&&this.props.shouldPause&&H.a.isPlaying&&(this.video.player.pause(),H.a.isPlaying=!1)}},{key:"componentDidMount",value:function(){var e=this,t=this.video.player,n=this.props,r=n.audioVideoPlayhead,i=n.canRestrictSeek,o=n.currentTime,a=n.id,s=n.onFullScreenChange,c=n.percentComplete,u=n.progressChanged,l=n.recordMediaPlayheadPosition,f=n.type;this.setState({shouldLoadPlayheadPosition:!0}),this.wasPaused=!1,this.seeking=!1,this.maxTime=o,this.updateContentFocusability(),i&&(this.configureVideoSeekBar(),this.configureSeekDiv()),t.ready(function(){t.el_&&(t.el_.removeAttribute("role"),t.el_.removeAttribute("aria-label")),c&&c<100&&"customVideo"!==f&&(t.play(),t.currentTime(o),t.pause()),t.on("timeupdate",e.videoUpdate=function(){Object(G.h)();var n=t.currentTime(),o=t.duration(),a=t.paused(),s=Math.floor(n),c=o*r/100||0;a&&!e.wasPaused&&n>e.maxTime&&(e.maxTime=n),i&&e.updateSeekTooltip();var d=t.ended()&&!e.seeking,f=!a&&!e.seeking;if(!i||d||f){n>e.maxTime&&(e.maxTime=n);var h=n/o*100;d&&(h=100),u&&u({currentTime:n,percentComplete:h}),s%5==0&&e.state.playheadPositionSaveThrottle!==s&&l&&(l(Q(t)),e.setState({playheadPositionSaveThrottle:s}))}else i&&!e.restrictingSeek&&n>e.maxTime&&c<e.maxTime&&(e.restrictingSeek=!0,a||t.pause(),t.currentTime(e.maxTime));e.wasPaused=a}),e.setState({isReady:!0})}),t.on("play",this.videoPlay=function(){e.seeking=!1,e.showRestrictSeekTooltip(!1)}),t.on("playing",this.videoPlaying=function(){H.a.isPlaying&&H.a.playerId!==a&&(H.a.isPlaying=!1),H.a.playerId=a,H.a.isPlaying=!0,!1===e.state.playbackStarted&&e.setState({playbackStarted:!0}),r&&e.state.shouldLoadPlayheadPosition&&t.currentTime(t.duration()*r/100||0),e.setState({shouldLoadPlayheadPosition:!1})}),t.on("pause",this.videoPaused=function(){H.a.playerId===a&&(H.a.isPlaying=!1),l&&l(Q(t))}),t.on("seeking",this.videoSeeking=function(){e.seeking=!0}),t.on("seeked",this.videoSeeked=function(){e.restrictingSeek=!1,e.seekTimeout&&clearTimeout(e.seekTimeout),l&&l(Q(t)),e.seekTimeout=d()(function(){e.seeking=!1},1e3)}),t.on("fullscreenchange",s),t.on("keyup",$.h),t.on("contextmenu",function(e){e.preventDefault()}),H.a.addChangeListener(this.onMediaStoreChange)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onFullScreenChange,n=e.recordMediaPlayheadPosition,r=this.video.player;n&&n(Q(r)),H.a.isPlaying=!1,H.a.removeChangeListener(this.onMediaStoreChange),r.off("timeupdate",this.videoUpdate),r.off("play",this.videoPlay),r.off("playing",this.videoPlaying),r.off("pause",this.videoPaused),r.off("seeking",this.videoSeeking),r.off("seeked",this.videoSeeked),r.off("fullscreenchange",t),r.dispose()}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.allowTabNavigation,o=r.labels.videoPlayerGroup,a=this.state,s=a.isReady,c=a.showRestrictSeekTooltip,u=a.playbackStarted,l=k()("video-a11y figure-video",{"figure-video--visible":s,"figure-video--restrict-seek":c,"video-playback-started":u});return e.createElement("div",{"aria-hidden":!i,"aria-label":o,className:"figure-container",onKeyDown:m()(t=this.onKeyDown).call(t,this),ref:function(e){n.container=e},role:z.b,tabIndex:Object($.m)(i)},e.createElement("figure",{className:l},this.renderPlayer()))}},{key:"renderCaptionTrack",value:function(t){var n=t.code,r=t.id,i=t.key,o=t.name,a=t.url||Object(G.g)(i);return e.createElement("track",{key:r,kind:"captions",label:o,src:a,srcLang:n})}},{key:"renderPlayer",value:function(){var t,n,r=this,i=this.props,o=i.canAdjustPlaybackSpeed,s=i.captionUID,l=i.captions,d=i.id,f=i.subtitle,h="customVideo"===i.type,p=S()(A()(1),N()("pathname"),R.a.parse),m=h?p(this.props.src):this.props.src,v=h?this.props.poster:Object(G.g)(this.props.poster),g=h?this.props.src:Object(G.g)(this.props.src),y=h?"application/x-mpegURL":void 0,b=o?[.25,.5,.75,1,1.25,1.5,1.75,2]:void 0,_=U.a.isSafariVersion13OrLower||U.a.isLocalFilesystem?{}:{crossOrigin:"anonymous"},w={controlBar:{remainingTimeDisplay:!0,volumeMenuButton:{inline:!1}},controls:!0,playbackRates:b,preload:"none",textTrackSettings:!1},x=Object(u.a)({className:"figure-video__video",key:c()(t=c()(n="".concat(d,"-")).call(n,m,"-")).call(t,s),options:w,poster:v,ref:function(e){return r.video=e}},_),k=e.createElement("track",{kind:"captions",label:"English",src:h?f:Object(G.g)(f),srcLang:"en"}),E="".concat(g,"?v=1");return e.createElement(B.a,x,e.createElement("source",{src:E,type:y}),!l&&f&&k,l&&a()(l).call(l,this.renderCaptionTrack))}},{key:"onKeyDown",value:function(e){var t,n,r=this;if(!J(e)){var i=Object(Y.b)(m()(t=this.togglePlay).call(t,this)),o=m()(n=this.toggleFullScreen).call(n,this),a=Object(Y.b)(function(){return r.keySeek(5)}),s=Object(Y.b)(function(){return r.keySeek(-5)});C()([[X.k,i],[X.d,o],[X.j,a],[X.h,s]])(e)}}},{key:"togglePlay",value:function(){var e=this.video.player;e.userActive(!0),e.paused()?e.play():e.pause()}},{key:"toggleFullScreen",value:function(){if(!U.a.isIe11){var e=this.video.player;e.isFullscreen()?e.exitFullscreen():e.requestFullscreen()}}},{key:"changeVolume",value:function(e){var t=this.video.player,n=t.volume();t.userActive(!0),t.volume(n+e)}},{key:"keySeek",value:function(e){var t=this.video.player,n=this.props.canRestrictSeek;t.userActive(!0);var r=t.currentTime(),i=t.duration();t.paused()&&!r&&!i&&t.play();var o=r+e;n&&(o>this.maxTime?(o=this.maxTime,this.showRestrictSeekTooltip(!0)):this.showRestrictSeekTooltip(!1));var a=e<0?Math.max(o,0):Math.min(o,i);a!==r&&t.currentTime(a)}},{key:"configureVideoSeekBar",value:function(){var e=this.video.player,t=e.controlBar.progressControl,n=t.seekBar;t.removeChild(n);var r={showRestrictSeekTooltip:this.showRestrictSeekTooltip,getMaxTime:this.getMaxTime};this.videoSeekBar=new K.a(e,r),t.addChild(this.videoSeekBar)}},{key:"configureSeekDiv",value:function(){var t,n=this.video.player.controlBar.el();this.progressBarElement=this.videoSeekBar.playProgressBar.el(),this.seekDiv=((t=document.createElement("div")).classList.add("seek-tooltip"),t.classList.add("seek-tooltip--hidden"),t),n.appendChild(this.seekDiv),L.a.render(e.createElement(V.A,null),this.seekDiv)}},{key:"showRestrictSeekTooltip",value:function(e){this.props.canRestrictSeek&&this.seekDiv&&e!==this.state.showRestrictSeekTooltip&&(e?this.seekDiv.classList.remove("seek-tooltip--hidden"):this.seekDiv.classList.add("seek-tooltip--hidden"),this.setState({showRestrictSeekTooltip:e}))}},{key:"updateSeekTooltip",value:function(){var e=this.video.player,t=this.progressBarElement.getBoundingClientRect(),n=e.el().getBoundingClientRect(),r=this.seekDiv.getBoundingClientRect().width/2,i=t.left-n.left+t.width-r;this.seekDiv.style.left="".concat(i,"px"),this.seekDiv.style.top="".concat(-5,"px")}},{key:"getMaxTime",value:function(){return this.maxTime}},{key:"onMediaStoreChange",value:function(){if(this.video){var e=this.props.id,t=this.video.player;H.a.playerId===e&&(H.a.isPlaying?t.play():t.pause())}}}],[{key:"propTypes",get:function(){return{allowTabNavigation:P.a.bool,id:P.a.string.isRequired,percentComplete:P.a.number,poster:P.a.string,progressChanged:P.a.func,shouldPause:P.a.bool,src:P.a.string.isRequired}}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,currentTime:0,labels:{videoPlayerGroup:q.a.videoPlayerGroup},onFullScreenChange:function(){},percentComplete:0,progressChanged:Function.prototype,shouldPause:!1}}}]),n}(e.Component),J=function(e){var t=e.target.className,n=Object(X.n)(e)&&i()(t).call(t,"vjs-volume-bar");return Object(X.e)(e)&&(i()(t).call(t,"vjs-control")||i()(t).call(t,"vjs-big-play-button"))||n}}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(86)},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(1133)),i=l(n(1134)),o=l(n(0)),a=l(n(103)),s=l(n(1135)),c=l(n(1136)),u=l(n(2239));function l(e){return e&&e.__esModule?e:{default:e}}function d(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(){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=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=d(this,e.call.apply(e,[this].concat(o))),r.setContainer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props;r._portalContainerNode=(0,s.default)(e.container,(0,c.default)(r).body)},r.getMountNode=function(){return r._portalContainerNode},d(r,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.prototype.componentDidMount=function(){this.setContainer(),this.forceUpdate(this.props.onRendered)},t.prototype.componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e)},t.prototype.componentWillUnmount=function(){this._portalContainerNode=null},t.prototype.render=function(){return this.props.children&&this._portalContainerNode?a.default.createPortal(this.props.children,this._portalContainerNode):null},t}(o.default.Component);f.displayName="Portal",f.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=a.default.createPortal?f:u.default,e.exports=t.default},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(66);t.a=function(e){var t=e.children,n=e.settings,r=e.type,a=n.backgroundColor,s=n.paddingTop,c=n.paddingBottom,u={backgroundColor:Object(o.a)("",a),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")};return i.a.createElement("div",{className:"block-".concat(r),style:u},t)}},function(e,t,n){"use strict";(function(e){n(2254);var r=n(17),i=n(141);t.a=function(t){var n=t.allowTabNavigation,o=void 0===n||n,a=t.onClick,s=t.onFocus,c=void 0===s?i.b:s,u=t.text;return e.createElement("button",{"aria-hidden":!o,className:"restart-button button brand--hoverColor",onClick:a,onFocus:c,tabIndex:Object(r.m)(o),type:"button"},e.createElement("div",{className:"restart-button__content"},e.createElement("span",{className:"restart-button__text brand--ui"},u),e.createElement("i",{"aria-hidden":"true",className:"restart-button__icon icon icon-reload"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(23),i=n(27),o=n.n(i),a=n(3),s=n.n(a),c=n(9),u=n(6),l=n(10),d=n(8),f=n(5),h=n(11),p=n(63),m=n(128),v=n.n(m),g=function(){for(var e=window;e.parent!=e;)e=e.parent;try{e.innerHeight}catch(e){return window}return e};t.a=function(t){return function(n){function i(e){var t,n;return Object(c.a)(this,i),(n=Object(l.a)(this,Object(d.a)(i).call(this,e))).state={orientation:{},navigationHidden:{}},n.applySafariLandscapeHack=s()(t=n.applySafariLandscapeHack).call(t,Object(f.a)(n)),n.root=g(),n}return Object(h.a)(i,n),Object(u.a)(i,[{key:"componentDidMount",value:function(){p.a.isIphoneSafari&&(this.applySafariLandscapeHack(),this.root.addEventListener("resize",this.resizeRef=v()(this.applySafariLandscapeHack,500)))}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef)}},{key:"applySafariLandscapeHack",value:function(){var e=this.root,t=window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape",n=("landscape"===t?screen.width:screen.height)-e.innerHeight;t==this.state.orientation&&n==this.state.difference||("landscape"===t&&0!==n&&o()(function(){e.document.body.scrollTop=0},0),this.setState({orientation:t,difference:n}))}},{key:"render",value:function(){return e.createElement(t,Object(r.a)({},this.props,{applySafariLandscapeHack:"landscape"===this.state.orientation&&0!==this.state.difference,safariLandscapeHackOffset:this.state.difference}))}}]),i}(e.Component)}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n(46),i=n(0),o=n.n(i),a=n(486),s=n(242),c=n.n(s),u=n(333),l=n.n(u),d=n(2),f=n.n(d),h=n(138),p=n(21),m=(n(2442),"".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg")),v="".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),g="".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/loading_spinner.svg"),y="ok",b=function(e){var t=e.type,n=Object(i.useState)(function(){return c()("certdownload-")}),s=Object(r.a)(n,1)[0],u=Object(i.useState)(y),d=Object(r.a)(u,2),p=d[0],b=d[1],_=l()(p),w=Object(i.useRef)(),x="".concat(s,"-live"),k=f()("certificateDownload",{certificateDownloadContained:"contained"===t}),E=Object(i.useCallback)(function(){b("downloading")},[]);return Object(i.useEffect)(function(){return"downloading"===p&&"downloading"!==_&&Object(h.b)().then(function(){b(y)}).catch(function(e){Object(a.isCancel)(e)?b(y):b("error")}),function(){Object(h.c)()}},[_,p]),Object(i.useEffect)(function(){w.current&&("error"===p&&"error"!==_||p===y&&("error"===_||"downloading"===_))&&w.current.focus()},[_,p]),o.a.createElement("div",{className:k},o.a.createElement("div",{"aria-live":"polite",id:x,role:"status"},"downloading"===p&&o.a.createElement("span",{className:"certificateDownload__downloading"},o.a.createElement("img",{alt:"",className:"animation-loading certificateDownload__downloadingImg",height:"15",src:g,width:"15"}),"Downloading..."),"error"===p&&o.a.createElement("span",{className:"certificateDownload__error"},o.a.createElement("img",{alt:"Error",className:"certificateDownload__errorImg",height:"15",src:v,width:"15"}),o.a.createElement("span",{className:"visually-hidden"},"Failed to download certificate"))),(p===y||"error"===p)&&o.a.createElement("button",{"aria-controls":x,className:"certificateDownload__btn",onClick:E,ref:w,type:"button"},p===y&&"contained"===t&&o.a.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:m,width:"15"}),p===y?"Download certificate":"Retry download"))},_=function(){return o.a.createElement(b,{type:"contained"})};t.b=Object(i.memo)(b)},function(e,t,n){"use strict";var r=n(1303),i=n.n(r);t.a=function(e){var t=e.authors,n=e.author,r=e.selectedAuthorId;return i()(t,{id:r||n})||{}}},function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r=n(4),i=n.n(r),o=n(500),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(11),f=n(0),h=n.n(f),p=n(16),m=n.n(p),v=n(2),g=n.n(v),y=n(40),b=n.n(y),_=n(35),w=n.n(_),x=n(1),k=n.n(x),E=n(72),S=n.n(E),T=n(34),C=n(337);h.a.Component;function O(e){switch(e.icon){case C.a.ARTICLE:return h.a.createElement(T.a,null);case C.a.INTERACTION:return h.a.createElement(T.F,null);case C.a.QUIZ:return h.a.createElement(T.D,null);case C.a.VIDEO:return h.a.createElement(T.G,null);default:return h.a.createElement("i",{className:"icon icon-Master-02"})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=n(0),u=n.n(c),l=n(1),d=n.n(l),f=function(e){function t(){return Object(r.a)(this,t),Object(o.a)(this,Object(a.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(i.a)(t,[{key:"getColor",value:function(){var e=this.props,t=e.alpha,n=e.isSidebar;return"rgba(0,0,0,".concat((n?t+10:t)/100,")")}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.isPreview?"preview-overview-sidebar__overlay":"overview__side-panel-overlay";return u.a.createElement("div",{className:t||n,style:{backgroundColor:this.getColor()}})}}],[{key:"propTypes",get:function(){return{alpha:d.a.number,classes:d.a.string,isPreview:d.a.bool,isSidebar:d.a.bool}}}]),t}(c.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(28),i=n.n(r),o=n(22),a=n.n(o),s=function(e,t){var n=i()(["lessons",t],e);return{percentComplete:a()(0,["percentComplete"],n),passedQuiz:i()(["passed"],n)}}},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return s});var r=n(774),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(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 s(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,l=[],d=l,f=!1;function h(){d===l&&(d=l.slice())}function p(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return h(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,h();var n=d.indexOf(e);d.splice(n,1),l=null}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,u=c(u,e)}finally{f=!1}for(var t=l=d,n=0;n<t.length;n++){(0,t[n])()}return e}return v({type:o.INIT}),(i={dispatch:v,subscribe:m,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,v({type:o.REPLACE})}})[r.a]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e},i}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(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 a,s=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},o=0;o<s.length;o++){var u=s[o],l=n[u],d=e[u],f=l(d,t);if(void 0===f){var h=c(u,t);throw new Error(h)}i[u]=f,r=r||f!==d}return(r=r||s.length!==Object.keys(e).length)?i:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=l(i,t))}return n}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 h(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function p(){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("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{dispatch:r=function(){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))}})}.apply(void 0,o)(n.dispatch)})}}}},function(e,t,n){var r=n(1560);"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 c={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=c),e.exports=c},function(e,t,n){e.exports=n(1687)},function(e,t,n){e.exports=n(1697)},function(e,t,n){"use strict";n.d(t,"a",function(){return W}),n.d(t,"b",function(){return V});var r=n(26),i=n.n(r),o=n(7),a=n.n(o),s=n(126),c=n.n(s),u=n(44),l=n.n(u),d=n(47),f=n.n(d),h=n(88),p=n.n(h),m=n(45),v=n.n(m),g=n(77),y=n.n(g),b=n(90),_=n.n(b),w=n(30),x=n.n(w),k=n(73),E=n.n(k),S=n(49),T=n.n(S),C=n(266),O=n.n(C),A=n(24),j=n.n(A),N=n(13),M=n.n(N),P=n(14),I=n.n(P),L=n(92),D=n.n(L),R=n(69),F=n.n(R),B=n(42),U=n.n(B),q=n(74),z=n(492),H=function(e){return i()("correctlyAnswered",j()(M()("items"),F.a,l()(I()("isCorrect",!0)),v.a)(e),e)},W=j()(T()(_()("items"),Object(q.e)(E()(["isViewed","isCorrect"]))),E()(["percentViewed","correctlyAnswered"]),T()(_()("retryAttempts"),a()(p.a,c()(0)))),V=function(e){var t=e.itemId,n=e.isCorrect;return j()(T()(y()(["items",t]),j()(f()(x.a)({isComplete:n,isViewed:n}),x()({isCorrect:n}))),U()(O()(["items",t,"isCorrect"],!1),i()("lastIncorrectCardId",t)),H,D()(I()("percentComplete",100),z.a),z.b,U()(I()("percentComplete",100),i()("isComplete",!0)))}},function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return w});var r=n(47),i=n.n(r),o=n(90),a=n.n(o),s=n(30),c=n.n(s),u=n(73),l=n.n(u),d=n(49),f=n.n(d),h=n(24),p=n.n(h),m=n(74),v=n(414),g=n(57),y=i()(c.a)({isComplete:!0,percentComplete:100,percentViewed:100}),b=function(e){return function(t){return t(Object(g.g)({id:e,updateFn:v.a}))}},_=p()(f()(a()("items"),Object(m.e)(l()(["isComplete","isCorrect","isViewed"]))),l()(["correctlyAnswered","percentComplete","isComplete","percentViewed"])),w=function(e){var t=e.id,n=e.itemId,r=e.isCorrect;return function(e){return e(Object(g.g)({id:t,updateFn:Object(v.b)({itemId:n,isCorrect:r})}))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(536).chain,i=n(119),o=n(255),a=n(2015),s=n(86),c=n(175);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[c.chain]||t.chain).call(t,e)})},function(e,t,n){"use strict";var r,i,o,a,s,c=n(741).toUnsigned,u=n(741).toHexString,l=n(596);r=function(e){return l.findBox(e,["moov","trak"]).reduce(function(e,t){var n,r,i,o,a;return(n=l.findBox(t,["tkhd"])[0])?(r=n[0],o=c(n[i=0===r?12:20]<<24|n[i+1]<<16|n[i+2]<<8|n[i+3]),(a=l.findBox(t,["mdia","mdhd"])[0])?(i=0===(r=a[0])?12:20,e[o]=c(a[i]<<24|a[i+1]<<16|a[i+2]<<8|a[i+3]),e):null):null},{})},i=function(e,t){var n,r,i;return n=l.findBox(t,["moof","traf"]),r=[].concat.apply([],n.map(function(t){return l.findBox(t,["tfhd"]).map(function(n){var r,i;return r=c(n[4]<<24|n[5]<<16|n[6]<<8|n[7]),i=e[r]||9e4,(l.findBox(t,["tfdt"]).map(function(e){var t,n;return t=e[0],n=c(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),1===t&&(n*=Math.pow(2,32),n+=c(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),n})[0]||1/0)/i})})),i=Math.min.apply(null,r),isFinite(i)?i:0},o=function(e,t){var n,r=l.findBox(t,["moof","traf"]),i=0,o=0;if(r&&r.length)for(var a=l.parseTraf(r[0]),s=0;s<a.boxes.length;s++)"tfhd"===a.boxes[s].type?n=a.boxes[s].trackId:"tfdt"===a.boxes[s].type?i=a.boxes[s].baseMediaDecodeTime:"trun"===a.boxes[s].type&&a.boxes[s].samples.length&&(o=a.boxes[s].samples[0].compositionTimeOffset||0);return(i+o)/(e[n]||9e4)},a=function(e){var t=l.findBox(e,["moov","trak"]),n=[];return t.forEach(function(e){var t=l.findBox(e,["mdia","hdlr"]),r=l.findBox(e,["tkhd"]);t.forEach(function(e,t){var i,o,a=l.parseType(e.subarray(8,12)),s=r[t];"vide"===a&&(o=0===(i=new DataView(s.buffer,s.byteOffset,s.byteLength)).getUint8(0)?i.getUint32(12):i.getUint32(20),n.push(o))})}),n},s=function(e){var t=l.findBox(e,["moov","trak"]),n=[];return t.forEach(function(e){var t,r,i={},o=l.findBox(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=l.findBox(e,["mdia","hdlr"])[0];if(a){var s=l.parseType(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var d=l.findBox(e,["mdia","minf","stbl","stsd"])[0];if(d){var f=d.subarray(8);i.codec=l.parseType(f.subarray(4,8));var h,p=l.findBox(f,[i.codec])[0];p&&(/^[a-z]vc[1-9]$/i.test(i.codec)?(h=p.subarray(78),"avcC"===l.parseType(h.subarray(4,8))&&h.length>11?(i.codec+=".",i.codec+=u(h[9]),i.codec+=u(h[10]),i.codec+=u(h[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)&&(h=p.subarray(28),"esds"===l.parseType(h.subarray(4,8))&&h.length>20&&0!==h[19]?(i.codec+="."+u(h[19]),i.codec+="."+u(h[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"))}var m=l.findBox(e,["mdia","mdhd"])[0];if(m&&o){var v=0===r?12:20;i.timescale=c(m[v]<<24|m[v+1]<<16|m[v+2]<<8|m[v+3])}n.push(i)}),n},e.exports={findBox:l.findBox,parseType:l.parseType,timescale:r,startTime:i,compositionStartTime:o,videoTrackIds:a,tracks:s}},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(4),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2553),n(0)),p=n(102),m=n(120),v=n(2),g=n.n(v),y=n(1),b=n.n(y),_=n(335),w=n.n(_),x=n(34),k=n(25),E=n(21),S=n(75),T=n(407),C=n(17),O=n(229),A=n(646),j=function(e){return"/lessons/".concat(encodeURIComponent(e))},N=function(t){var n=t.allowTabNavigation,r=t.canComplete,i=t.isDisabled,o=t.onClick,a=t.passedQuiz,s=t.percentComplete,c=t.title,u=t.type,l=e.createElement("span",{"aria-hidden":"true"},e.createElement(A.a,{passedQuiz:a,percentComplete:s})),d=Object(C.m)(n);if(!r||"quiz"===u)return l;var f=E.e?"".concat(c," is complete"):"Mark ".concat(c," as incomplete"),h=100===s?f:"Mark ".concat(c," as complete"),p=E.e&&100===s;return e.createElement("button",{"aria-label":h,className:"lesson-link__button",disabled:i||p,onClick:o,tabIndex:d,type:"button"},l)},M=function(t){function n(){var e,t,r,o,c,f,h,p,m;Object(s.a)(this,n);for(var v=arguments.length,g=new Array(v),y=0;y<v;y++)g[y]=arguments[y];return(m=Object(u.a)(this,(e=Object(l.a)(n)).call.apply(e,a()(t=[this]).call(t,g)))).onClick=i()(r=m.onClick).call(r,Object(d.a)(m)),m.onKeyBlur=i()(o=m.handleKeyboardFocus).call(o,Object(d.a)(m),!1),m.onKeyFocus=i()(c=m.handleKeyboardFocus).call(c,Object(d.a)(m),!0),m.onMouseEnter=i()(f=m.handleMouseHover).call(f,Object(d.a)(m),!0),m.onMouseLeave=i()(h=m.handleMouseHover).call(h,Object(d.a)(m),!1),m.onSectionClick=i()(p=m.onSectionClick).call(p,Object(d.a)(m)),m}return Object(f.a)(n,t),Object(c.a)(n,[{key:"isActive",value:function(){return this.props.match.url==="/lessons/".concat(this.props.id)}},{key:"shouldComponentUpdate",value:function(e,t){var n=this.props,r=n.allowTabNavigation,i=n.allowTooltip,o=n.id,a=n.isSectionActive,s=n.location,c=n.markComplete,u=n.percentComplete,l=n.restrictions,d=this.state,f=d.hasFocus,h=d.visited;return!!(r!==e.allowTabNavigation||o!==e.id||a!==e.isSectionActive||f!==t.hasFocus||s!==e.location||c!==e.markComplete||u!==e.percentComplete||l.isRestricted!==e.restrictions.isRestricted||l.currentLesson!==e.restrictions.currentLesson||h!==t.visited||f&&i!==e.allowTooltip)}},{key:"componentWillMount",value:function(){this.setState({visited:this.isActive()})}},{key:"handleKeyboardFocus",value:function(e){this.setState({hasFocus:e})}},{key:"handleMouseHover",value:function(e){this.props.onMouse(e)}},{key:"onClick",value:function(e){var t=this.props,n=t.focusLessonContent,r=t.id,i=t.lesson,o=t.onClick,a=t.onMobileActiveClick;if(this.isActive()){if(e.preventDefault(),!a)return n(),!1;a()}this.setState({visited:!0}),o({lesson:i,id:r})}},{key:"onSectionClick",value:function(){var e=this.props,t=e.id,n=e.lesson;(0,e.onClick)({id:t,lesson:n})}},{key:"renderLink",value:function(){var t,n=this.props,r=n.allowTabNavigation,i=n.allowTooltip,o=n.icon,s=n.id,c=n.labels,u=n.markComplete,l=n.onComplete,d=n.passedQuiz,f=n.percentComplete,m=n.restrictions,v=n.title,y=n.type,b=this.state,_=b.hasFocus,x=b.visited,k=m.isRestricted,E=k&&u,A=!m.isRestrictedCourse&&u,M=g()("lesson-link",{"lesson-link--visited":x,"lesson-link__restricted":k}),P=void 0===d||d?"".concat(f," Percent Complete"):"Quiz Failed",I=[e.createElement("div",{key:"icon-".concat(s),"aria-hidden":"true",className:"lesson-link__icon"},e.createElement(T.a,{icon:o})),e.createElement("div",{key:"name-".concat(s),className:"lesson-link__name brand--ui"},e.createElement("span",{"aria-hidden":"true"},w()(v,{length:60})),e.createElement("span",{className:"visually-hidden"},a()(t="".concat(v," ")).call(t,P)))],L=e.createElement("div",{key:"progress-".concat(s),className:"lesson-link__progress"},e.createElement(N,{allowTabNavigation:r,canComplete:A,isDisabled:E,onClick:l,passedQuiz:d,percentComplete:f,title:v,type:y})),D=Object(C.m)(r);if(k){var R,F=Object(S.a)({labels:c,restrictions:m}),B=g()("runtime-tooltip",{"runtime-tooltip--show":i&&_});return e.createElement(O.a,{className:B},e.createElement("span",{"aria-disabled":"true","aria-label":a()(R="The ".concat(v," lesson is currently unavailable: ")).call(R,F),className:M,onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:D},I),L,e.createElement(O.b,{"aria-hidden":"true",side:"top"},F))}return e.createElement(h.Fragment,null,e.createElement(p.b,{activeClassName:"lesson-link--active brand--beforeBackground",className:M,onClick:this.onClick,tabIndex:D,to:j(s)},I),L)}},{key:"renderSection",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.isSectionActive,o=n.sectionId,a=n.title,s=Object(C.m)(r),c=g()({"chevron__rotate-down":i});return e.createElement("div",{"aria-controls":o,"aria-expanded":i,"aria-label":"Toggle ".concat(a," Section"),className:"lesson-link--section brand--ui",onClick:this.onSectionClick,onKeyPress:function(e){Object(k.e)(e)&&t.onSectionClick()},role:"button",tabIndex:s},e.createElement("div",{className:"lesson-link--section-content"},e.createElement("div",{className:"lesson-link--section-icon"},e.createElement(x.u,{className:c})),e.createElement("div",{className:"lesson-link--section-title"},a)))}},{key:"render",value:function(){return"section"===this.props.type?this.renderSection():this.renderLink()}}],[{key:"propTypes",get:function(){return{id:b.a.any.isRequired,icon:b.a.string,isSectionActive:b.a.bool,type:b.a.string.isRequired,title:b.a.string.isRequired,onClick:b.a.func.isRequired,focusLessonContent:b.a.func.isRequired}}},{key:"defaultProps",get:function(){return{isSectionActive:!1,restrictions:{}}}}]),n}(h.Component);t.a=Object(m.f)(M)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(53),i=n.n(r),o=n(601),a=n(603),s=n(602);var c=n(18),u=n.n(c),l=n(3),d=n.n(l),f=n(46),h=n(135),p=n.n(h),m=(n(2560),n(0)),v=n.n(m),g=n(2),y=n.n(g),b=n(169),_=n(75),w=n(409),x=n(4),k=n.n(x),E=n(9),S=n(6),T=n(10),C=n(8),O=n(5),A=n(11),j=(n(2561),n(120)),N=n(33),M=n(141),P=n(153),I=n(407),L=n(646),D=n(129),R=n.n(D),F=n(229),B=function(e){function t(){var e,n,r,i,o,a,s,c;Object(E.a)(this,t);for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];return(c=Object(T.a)(this,(e=Object(C.a)(t)).call.apply(e,k()(n=[this]).call(n,l)))).handleClick=d()(r=c.handleClick).call(r,Object(O.a)(c)),c.handleBlur=d()(i=c.handleFocusChange).call(i,Object(O.a)(c),!1),c.handleFocus=d()(o=c.handleFocusChange).call(o,Object(O.a)(c),!0),c.handleMouseEnter=d()(a=c.handleMouseHover).call(a,Object(O.a)(c),!0),c.handleMouseLeave=d()(s=c.handleMouseHover).call(s,Object(O.a)(c),!1),c.state={hasRestrictedFocus:!1},c}return Object(A.a)(t,e),Object(S.a)(t,[{key:"handleClick",value:function(e){var t=this.props.history,n=e.currentTarget.hash;e.preventDefault(),R.a.Events.scrollEvent.register("end",function(){t.push(i()(n).call(n,1)),R.a.Events.scrollEvent.remove("end")}),R.a.animateScroll.scrollTo(0,{containerId:"overview"}),Object(N.a)(Object(P.d)(!0))}},{key:"handleFocusChange",value:function(e){this.setState({hasRestrictedFocus:e})}},{key:"handleMouseHover",value:function(e){e?this.props.onMouseEnter():this.props.onMouseLeave()}},{key:"render",value:function(){var e=this.props,t=e.allowTooltip,n=e.isRestricted,r=e.lesson,i=r.icon,o=r.id,a=r.title,s=e.passedQuiz,c=e.percentComplete,u=e.restrictedText,l=this.state.hasRestrictedFocus,d="#/lessons/".concat(o),f=v.a.createElement(m.Fragment,null,v.a.createElement("div",{className:"overview-list-item__icon","aria-hidden":"true"},v.a.createElement(I.a,{icon:i})),v.a.createElement("div",{className:"overview-list-item__title brand--ui"},a),v.a.createElement("div",{className:"overview-list-item__pie"},v.a.createElement(L.a,{percentComplete:c,passedQuiz:s})));if(n){var h,p=y()("runtime-tooltip",{"runtime-tooltip--show":t&&l});return v.a.createElement("li",{className:"overview-list-item overview-list-item--restricted",role:"listitem"},v.a.createElement(F.a,{className:p},v.a.createElement("span",{"aria-disabled":"true","aria-label":k()(h="The ".concat(a," lesson is currently unavailable: ")).call(h,u,"."),className:"overview-list-item__link",onBlur:this.handleBlur,onFocus:this.handleFocus,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"link",tabIndex:"0"},f,v.a.createElement(F.b,{"aria-hidden":"true",side:"top"},u))))}return v.a.createElement("li",{className:"overview-list-item",role:"listitem"},v.a.createElement("a",{className:"overview-list-item__link",href:d,onClick:this.handleClick},f))}}],[{key:"defaultProps",get:function(){return{allowTooltip:!0,onMouseEnter:M.b,onMouseLeave:M.b}}}]),t}(m.PureComponent),U=Object(j.f)(B),q=Object(b.a)("modernOverview");t.a=Object(m.memo)(function(e){var t=e.course,n=e.courseProgress,r=e.labels,c=e.lessons,l=e.restrictingQuiz,h=Object(m.useState)(!1),g=Object(f.a)(h,2),b=g[0],x=g[1],k=Object(m.useCallback)(d()(x).call(x,null,!0),[]),E=Object(m.useCallback)(d()(x).call(x,null,!1),[]),S=function(e){return p()(e).call(e,function(e,t){return"section"===t.type?e.push([t]):e[e.length-1].push(t),e},[[]])}(c),T=y()("overview-list",{"overview-list--modern":q});return v.a.createElement("nav",{className:T},u()(S).call(S,function(e,c){var d,f=(d=e,Object(o.a)(d)||Object(a.a)(d)||Object(s.a)()),h=f[0],p=void 0===h?{}:h,m=i()(f).call(f,1),g=p.title,y="section"===p.type,x=y?m:e;return v.a.createElement("section",{key:c},y&&g&&v.a.createElement("h3",{className:"overview-list__section-title brand--ui"},g),v.a.createElement("ol",{className:"overview-list__list",role:"list"},u()(x).call(x,function(e){var i=Object(_.b)({course:t,courseProgress:n,lesson:e,restrictingQuiz:l}),o=Object(_.a)({labels:r,restrictions:i}),a=Object(w.a)(n,e.id),s=a.percentComplete,c=a.passedQuiz;return v.a.createElement(U,{allowTooltip:!b,isRestricted:i.isRestricted,key:e.id,lesson:e,onMouseEnter:k,onMouseLeave:E,passedQuiz:c,percentComplete:s,restrictedText:o,failedQuizWithNoAttempts:void 0})})))}))})},function(e,t,n){"use strict";var r=n(26),i=n.n(r),o=n(47),a=n.n(o),s=n(90),c=n.n(s),u=n(30),l=n.n(u),d=n(73),f=n.n(d),h=n(49),p=n.n(h),m=n(24),v=n.n(m),g=n(74),y=n(222),b=n.n(y),_=n(77),w=n.n(_),x=n(14),k=n.n(x),E=n(42),S=n.n(E),T=n(492),C=(b()("activeIndex"),n(57));n.d(t,"a",function(){return O}),n.d(t,"b",function(){return A}),n.d(t,"c",function(){return j});var O=function(e){var t=e.id,n=e.payload;return function(e){return e(Object(C.g)({id:t,updateFn:(r=n,o=r.itemId,a=r.activeIndex,v()(i()("activeIndex",a),p()(w()(["items",o]),i()("isComplete",!0)),T.a,S()(k()("percentComplete",100),i()("isComplete",!0))))}));var r,o,a}},A=v()(p()(c()("items"),Object(g.e)(i()("isComplete",!0))),a()(l.a)({isComplete:!0,percentComplete:100})),j=v()(p()(c()("items"),Object(g.e)(f()(["isComplete"]))),f()(["isComplete","percentComplete","activeIndex"]))},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return T}),n.d(t,"a",function(){return C}),n.d(t,"b",function(){return O}),n.d(t,"c",function(){return A}),n.d(t,"d",function(){return j});var r=n(23),i=n(53),o=n.n(i),a=n(18),s=n.n(a),c=n(3),u=n.n(c),l=n(4),d=n.n(l),f=n(9),h=n(6),p=n(10),m=n(8),v=n(5),g=n(11),y=(n(2080),n(2)),b=n.n(y),_=n(1),w=n.n(_),x=n(66),k=n(93),E=n(55),S=n(59).b.blocks,T=function(t){function n(){var e,t,r,i;Object(f.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(p.a)(this,(e=Object(m.a)(n)).call.apply(e,d()(t=[this]).call(t,a)))).renderTextDelegate=u()(r=i.renderText).call(r,Object(v.a)(i)),i}return Object(g.a)(n,t),Object(h.a)(n,[{key:"getEntranceAnimationType",value:function(){switch(this.props.type){case"a":return"fadeIn";case"b":case"d":return"fadeInUp";case"c":return"fadeInRight";case"note":return"fadeInGrow"}}},{key:"getEntranceAnimationDuration",value:function(){switch(this.props.type){case"a":return 1;case"b":case"c":case"d":return.75;case"note":return.5}}},{key:"renderText",value:function(t,n){var r=t.type,i=n.paragraph,o="note"===r,a=b()("block-impact__quote brand--linkColor",{"brand--body":"a"===r,"brand--head brand--beforeBackground":"b"===r,"brand--head":"c"===r,"brand--body brand--beforeBackground":"d"===r,"brand--head brand--border brand--background-transparent":o});return e.createElement(k.a,{className:a,value:i})}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.animateBlockEntrance,a=r.isLearner,c=r.items,u=r.type,l=r.settings,d=r.renderText,f=void 0===d?this.renderTextDelegate:d,h=l.paddingTop,p=l.paddingBottom,m=l.backgroundColor,v=l.entranceAnimation,g=b()("block-impact block-impact--".concat(u),{"block-impact--no-animation":!v}),y={backgroundColor:Object(x.a)("",m),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")};return e.createElement("div",{className:g,"data-ba":S.blockImpact,style:y},e.createElement("div",{className:"block-impact__wrap"},e.createElement("div",{className:"block-impact__container"},e.createElement("div",{className:"block-impact__row"},s()(t=o()(c).call(c,0,1)).call(t,function(t){return e.createElement(E.a,{animateBlockEntrance:i,animateIn:n.getEntranceAnimationType(),duration:n.getEntranceAnimationDuration(),isLearner:a,key:t.id},e.createElement("div",{className:"block-impact__col"},e.createElement("div",{className:"block-impact__note-icon brand--color"},e.createElement("i",{className:"icon icon-info"})),f(n.props,t)))})))))}}],[{key:"propTypes",get:function(){return{lessonId:w.a.any,blockId:w.a.any,items:w.a.array.isRequired,settings:w.a.object.isRequired,type:w.a.string}}},{key:"defaultProps",get:function(){return{items:[],type:"a"}}}]),n}(e.Component),C=function(t){return e.createElement(T,Object(r.a)({type:"b"},t))},O=function(t){return e.createElement(T,Object(r.a)({type:"c"},t))},A=function(t){return e.createElement(T,Object(r.a)({type:"d"},t))},j=function(t){return e.createElement(T,Object(r.a)({type:"note"},t))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return G}),n.d(t,"d",function(){return K}),n.d(t,"c",function(){return $}),n.d(t,"a",function(){return X});var r=n(18),i=n.n(r),o=n(53),a=n.n(o),s=n(3),c=n.n(s),u=n(4),l=n.n(u),d=n(9),f=n(6),h=n(10),p=n(8),m=n(5),v=n(11),g=(n(2181),n(1)),y=n.n(g),b=n(2),_=n.n(b),w=n(1227),x=n.n(w),k=n(51),E=n.n(k),S=n(140),T=n.n(S),C=n(60),O=n.n(C),A=n(30),j=n.n(A),N=n(22),M=n.n(N),P=n(14),I=n.n(P),L=n(268),D=n(93),R=n(398),F=n(55),B=n(38),U=n(1228),q=n(399),z=n(245),H=n(21),W=n(66),V=n(34),Y=n(59).b.blocks,G=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).renderCaptionDelegate=c()(r=i.renderCaption).call(r,Object(m.a)(i)),i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(D.a,{className:"block-audio__caption brand--body brand--linkColor",value:n})}},{key:"renderItem",value:function(t){var n,r,i,o=this.props,a=o.blockId,s=o.labels,u=o.lessonId,d=o.loadMedia,f=o.progress,h=o.recordMediaPlayheadPosition,p=o.renderCaption,m=void 0===p?this.renderCaptionDelegate:p,v=t.id,g=t.media,y=void 0===g?{}:g,b=y.audio,_=y.tmp,w=((void 0===_?{}:_).audio||b).key,x=l()(n=l()(r="".concat(u,"-")).call(r,a,"-")).call(n,v),k=M()(0,["items",a,"items",v,"audioVideoPlayhead"],f);return e.createElement("div",{key:v,className:"block-audio__item"},d?e.createElement(L.b,{audioVideoPlayhead:k,key:x,id:x,labels:s,mediaSrc:w,onEnd:c()(i=this.handleOnEnd).call(i,this,v),recordMediaPlayheadPosition:h}):null,m(t))}},{key:"handleOnEnd",value:function(e){this.props.onStep({id:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.isLearner,s=n.items,c=n.settings,u=c.paddingTop,l=c.paddingBottom,d=c.backgroundColor,f=c.entranceAnimation,h=_()("block-audio",{"block-audio--no-animation":!f}),p={backgroundColor:Object(W.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},m=s.length>0?a()(s).call(s,0,1):[];return e.createElement("div",{className:h,"data-ba":Y.blockAudio,style:p},e.createElement(F.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:o,offset:150},e.createElement("div",{className:"block-audio__wrapper"},i()(m).call(m,function(e,n){return t.renderItem(e,n)}))))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:y.a.number,blockId:y.a.any,editable:y.a.bool,items:y.a.array,lessonId:y.a.any,loadMedia:y.a.bool.isRequired,onStep:y.a.func,recordMediaPlayheadPosition:y.a.func,settings:y.a.object.isRequired}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,blockId:"",editable:!1,items:[],lessonId:"",onStep:Function.prototype,recordMediaPlayheadPosition:Function.prototype}}}]),n}(e.Component),K=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).renderCaptionDelegate=c()(r=i.renderCaption).call(r,Object(m.a)(i)),i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"renderVideo",value:function(t){var n,r=this.props,i=r.blockId,o=r.editable,a=r.enableVideoPlaybackSpeed,s=r.labels,u=r.partnerContent,l=r.progress,d=r.recordMediaPlayheadPosition,f=r.settings,h=r.takingSnapshot,p=r.type,m=t.captions,v=t.captionUID,g=t.id,y=t.key,b=t.keyId,_=t.partnerContentId,w=t.poster,x=t.subtitle,k=y||t.src,S=M()(0,["items",i,"items",g,"audioVideoPlayhead"],l),T=E()(I()("id",_),u)||{},C=e.createElement("div",null,e.createElement("img",{className:"block-video__poster",src:w,alt:"Video Poster"})),O=e.createElement("div",null,e.createElement("div",{className:"block-video__placeholder"})),A=e.createElement("div",null,e.createElement(q.a,{audioVideoPlayhead:S,canAdjustPlaybackSpeed:a,canRestrictSeek:f.forwardSeekRestricted&&!o,captionUID:v,captions:m,id:b,key:b,labels:s,partnerContent:T,poster:w,progressChanged:c()(n=this.handleProgressChanged).call(n,this,g),recordMediaPlayheadPosition:d,src:k,subtitle:x,type:y?"video":p}));return h?C:k?A:O}},{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(D.a,{className:"block-audio__caption brand--body brand--linkColor",value:n})}},{key:"renderItem",value:function(t){var n,r,i=this.props,o=i.courseId,a=i.lessonId,s=i.blockId,c=i.loadMedia,u=i.partnerContent,d=i.publishedAt,f=i.settings,h=i.tenantId,p=i.renderCaption,m=void 0===p?this.renderCaptionDelegate:p,v=f.backgroundColor,g=f.mediaWidth,y=void 0===g?"1":g,b=t.id,w=t.media,x=t.partnerContentId,k=w.customVideo,S=void 0===k?{}:k,C=w.tmp,A=void 0===C?{}:C,N=w.video,M=void 0===N?{}:N,P=T()("poster",M)?M:j()(M,S),L=T()("poster",A.video||{})&&A.video,D=Object(H.d)()?P:L||P,R=D.captionUID,F=D.captions,B=D.key,q=D.poster,z=D.src,W=D.subtitle,V={captionUID:R,captions:F,id:b,key:B,keyId:l()(n=l()(r="".concat(a,"-")).call(r,s,"-")).call(n,b),partnerContentId:x,poster:q,src:z,subtitle:W},G=E()(I()("id",x),u)||{},K=G&&!O()(G),$=_()("block-video__item",{"block-video__item--small":"0"===y,"block-video__item--medium":"1"===y,"block-video__item--full":"2"===y});return e.createElement("div",{key:b,className:$,"data-ba":Y.blockVideo},c&&this.renderVideo(V),e.createElement("div",{className:"block-video__wrapper"},m(t)),K&&e.createElement(U.a,{backgroundColor:v,blockId:s,courseId:o,partnerContent:G,publishedAt:d,tenantId:h}))}},{key:"handleProgressChanged",value:function(e,t){t.percentComplete>=100&&this.props.onStep({id:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.isLearner,s=n.items,c=n.settings,u=c.paddingTop,l=c.paddingBottom,d=c.backgroundColor,f=c.entranceAnimation,h=_()("block-video",{"block-video--no-animation":!f}),p={backgroundColor:Object(W.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},m=s.length>0?a()(s).call(s,0,1):[];return e.createElement("div",{className:h,style:p},e.createElement(F.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:o,offset:250},i()(m).call(m,function(e,n){return t.renderItem(e,n)})))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:y.a.number,blockId:y.a.any,courseId:y.a.string,editable:y.a.bool,items:y.a.array,labels:y.a.object,lessonId:y.a.any,loadMedia:y.a.bool.isRequired,onStep:y.a.func,partnerContent:y.a.array,publishedAt:y.a.string,settings:y.a.object.isRequired,tenantId:y.a.string,type:y.a.string}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype,partnerContent:[]}}}]),n}(e.Component),$=function(t){function n(){return Object(d.a)(this,n),Object(h.a)(this,Object(p.a)(n).apply(this,arguments))}return Object(v.a)(n,t),Object(f.a)(n,[{key:"renderItem",value:function(t,n){var r,i=t.id,o=t.media.embed,a=t.settings,s=void 0===a?{}:a,c=this.props,u=c.loadMedia,d=c.labels,f=c.settings,h=s.showMetaData,p=f.showBorder,m=void 0===p||p,v=_()("block-embed__item",{"block-embed__item--border":m});return e.createElement("section",{key:i,className:v,"data-ba":Y.blockEmbed},u&&e.createElement(R.a,{id:l()(r="".concat(n,"-")).call(r,i),labels:d,isLesson:!0,data:o,showMetaData:h}))}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.blockId,s=n.isLearner,c=n.items,u=n.settings,l=u.paddingTop,d=u.paddingBottom,f=u.backgroundColor,h=u.entranceAnimation,p=u.mediaWidth,m=void 0===p?0:p,v="link"!==Object(z.a)(c),g=_()("block-embed",{"block-video--no-animation":!h}),y=_()("block-embed__wrapper",{"block-embed__wrapper--medium":v&&"1"===m,"block-embed__wrapper--full":v&&"2"===m}),b={backgroundColor:Object(W.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},w=c.length>0?a()(c).call(c,0,1):[];return e.createElement("div",{className:g,style:b},e.createElement(F.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:s,offset:300},e.createElement("div",{className:y},i()(w).call(w,function(e){return t.renderItem(e,o)}))))}}],[{key:"propTypes",get:function(){return{lessonId:y.a.any,blockId:y.a.any,items:y.a.array,settings:y.a.object.isRequired,editable:y.a.bool,loadMedia:y.a.bool.isRequired}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:""}}}]),n}(e.Component),X=function(t){function n(){return Object(d.a)(this,n),Object(h.a)(this,Object(p.a)(n).apply(this,arguments))}return Object(v.a)(n,t),Object(f.a)(n,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=i[0].media.attachment;return e.createElement("div",{style:this.styles(o)},e.createElement(F.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r},e.createElement("div",{className:"block-text--onecol"},e.createElement("div",{className:"block-text__container"},e.createElement("div",{className:"block-text__row"},e.createElement("div",{className:"block-text__col"},this.renderAttachment(a)))))))}},{key:"renderAttachment",value:function(e){return e.key?this.renderDownload(e):this.renderNoFile()}},{key:"renderDownload",value:function(t){var n=t.key,r=t.mimeType,i=t.originalUrl,o=t.size;return e.createElement("a",{className:"block-attachment brandHover",download:i,href:Object(H.g)(n),rel:"noopener noreferrer",target:"_blank"},e.createElement("div",{className:"block-attachment__main"},e.createElement("div",{className:"block-attachment__icon"},this.fileIcon(r)),e.createElement("div",{className:"block-attachment__info brand--head"},e.createElement(B.a,{className:"block-attachment__title",value:i}),e.createElement("div",{className:"block-attachment__size"},x()(o,{round:1})))),e.createElement("div",{className:"block-attachment__rest"},e.createElement(V.i,{className:"brandHover__target--fill"})))}},{key:"renderNoFile",value:function(){return e.createElement("div",{className:"block-attachment block-attachment--none","data-ba":Y.blockAttachment},e.createElement("div",{className:"block-attachment__main"},e.createElement("div",{className:"block-attachment__icon"},e.createElement(V.m,{"aria-label":"File"})),e.createElement("div",{className:"block-attachment__info brand--head"},e.createElement("div",{className:"block-attachment__title"},"File Attachment Block"),e.createElement("div",{className:"block-attachment__size"},"No file added"))))}},{key:"fileIcon",value:function(t){return/excel|spreadsheet/.test(t)?e.createElement(V.r,{"aria-label":"Microsoft Excel Spreadsheet"}):/pdf/.test(t)?e.createElement(V.o,{"aria-label":"PDF File"}):/word/.test(t)?e.createElement(V.n,{"aria-label":"Microsoft Word Document"}):/powerpoint|presentation/.test(t)?e.createElement(V.p,{"aria-label":"PowerPoint Presentation"}):/rtf|richtext/.test(t)?e.createElement(V.q,{"aria-label":"Rich Text File"}):/zip/.test(t)?e.createElement(V.s,{"aria-label":"ZIP File"}):e.createElement(V.m,{"aria-label":"File"})}},{key:"styles",value:function(e){return{backgroundColor:Object(W.a)("",e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}}],[{key:"propTypes",get:function(){return{blockId:y.a.string.isRequired,items:y.a.array.isRequired,lessonId:y.a.string,loadMedia:y.a.bool.isRequired,settings:y.a.object.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ye});var r=n(18),i=n.n(r),o=n(53),a=n.n(o),s=n(27),c=n.n(s),u=n(97),l=n.n(u),d=n(3),f=n.n(d),h=n(4),p=n.n(h),m=n(9),v=n(10),g=n(8),y=n(5),b=n(6),_=n(11),w=(n(2205),n(206)),x=n.n(w),k=n(7),E=n.n(k),S=n(26),T=n.n(S),C=n(35),O=n.n(C),A=n(60),j=n.n(A),N=n(29),M=n.n(N),P=n(45),I=n.n(P),L=n(96),D=n.n(L),R=n(22),F=n.n(R),B=n(125),U=n.n(B),q=n(308),z=n.n(q),H=n(330),W=n.n(H),V=n(2),Y=n.n(V),G=n(1),K=n.n(G),$=n(66),X=n(17),Q=n(154),Z=n(74),J=n(93),ee=n(55),te=n(38),ne=n(197),re=n(338),ie=n(166),oe=n(279),ae=n(249),se=n(791),ce=n(59).b.blocks,ue=ie.a.FILL_IN_THE_BLANK,le=ie.a.MATCHING,de=ie.a.MULTIPLE_CHOICE,fe=ie.a.MULTIPLE_RESPONSE,he=re.a.ANY,pe=re.a.CHOICE,me=re.a.CORRECT_INCORRECT,ve={FILL_IN_THE_BLANK:"Knowledge Check: Fill In The Blank",MATCHING:"Knowledge Check: Matching",MULTIPLE_CHOICE:"Knowledge Check: Multiple Choice",MULTIPLE_RESPONSE:"Knowledge Check: Multiple Response"},ge=F()(null,[0,"type"]),ye=function(t){function n(){var e,t,r,i,o,a,s,c,u,l,d;Object(m.a)(this,n);for(var h=arguments.length,b=new Array(h),_=0;_<h;_++)b[_]=arguments[_];return(d=Object(v.a)(this,(e=Object(g.a)(n)).call.apply(e,p()(t=[this]).call(t,b)))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillinValue:"",matches:{}},d.retakeAnimationStageOne=null,d.retakeAnimationStageTwo=null,d.handleFillIn=f()(r=d.handleFillIn).call(r,Object(y.a)(d)),d.handleChoiceSelect=f()(i=d.handleChoiceSelect).call(i,Object(y.a)(d)),d.handleMatch=f()(o=d.handleMatch).call(o,Object(y.a)(d)),d.handleMultipleResponseChange=f()(a=d.handleMultipleResponseChange).call(a,Object(y.a)(d)),d.handleRetake=f()(s=d.handleRetake).call(s,Object(y.a)(d)),d.renderQuestionTitle=f()(c=d.renderQuestionTitle).call(c,Object(y.a)(d)),d.renderMultipleResponseOptionText=f()(u=d.renderMultipleResponseOptionText).call(u,Object(y.a)(d)),d.renderMultipleChoiceOptionText=f()(l=d.renderMultipleChoiceOptionText).call(l,Object(y.a)(d)),d}return Object(_.a)(n,t),Object(b.a)(n,null,[{key:"propTypes",get:function(){return{lessonId:K.a.any,blockId:K.a.any,items:K.a.array,settings:K.a.object.isRequired,onStep:K.a.func}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",onStep:Function.prototype}}}]),Object(b.a)(n,[{key:"componentDidUpdate",value:function(e,t){t.answered&&!this.state.answered&&this.getType()!==ue&&Object(X.c)(this.wrapper)}},{key:"componentWillUnmount",value:function(){this.retakeAnimationStageOne&&(clearTimeout(this.retakeAnimationStageOne),this.retakeAnimationStageOne=null),this.retakeAnimationStageTwo&&(clearTimeout(this.retakeAnimationStageTwo),this.retakeAnimationStageTwo=null)}},{key:"handleMatch",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.state.matches,i=E()(T()(t,n),U()(O()(n)),Q.d)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=l()(n).call(n,t)?W()([t]):x()(t);this.setState({selectedIndices:r(n)})}},{key:"handleChoiceSelect",value:function(e){var t=e.selectedIndex;this.state.answered||this.setState({selectedAnswer:t,chosen:!0})}},{key:"onSubmit",value:function(e,t){var n=this;t&&this.setState({answered:!0,retake:!1},function(){return n.props.onStep({id:e})})}},{key:"handleFillIn",value:function(e){this.setState({fillinValue:e})}},{key:"handleRetake",value:function(){var e=this;this.setState({retake:!0}),this.retakeAnimationStageOne=c()(function(){e.setState({answered:!1,chosen:!1,matches:{}},function(){e.retakeAnimationStageOne=null})},400),this.retakeAnimationStageTwo=c()(function(){e.setState({fillinValue:"",selectedAnswer:null,selectedIndices:[]},function(){e.getType()===ue&&Object(X.c)(e.wrapper),e.retakeAnimationStageTwo=null})},950)}},{key:"renderQuestionTitle",value:function(t,n){var r=t.title;return e.createElement(J.a,{className:"quiz-card__title brand--body brand--linkColor",value:r,component:"div",id:n})}},{key:"renderQuestion",value:function(t){var n,r=this.state,i=r.answered,o=r.retake,a=r.selectedAnswer,s=this.props,c=s.blockId,u=s.enableVideoPlaybackSpeed,l=s.labels,d=s.renderQuestionTitle,h=void 0===d?this.renderQuestionTitle:d,p=l.quizCorrect,m=l.quizIncorrect,v=l.quizSubmit,g=l.quizTakeAgain,y=t.id,b=t.media,_=t.settings,w=t.type,x=this.state.answered,k=this.getIsCorrect({item:t}),E=this.getCanSubmit({item:t}),S=f()(n=this.onSubmit).call(n,this,y,E),T=this.getFeedback({item:t,isCorrect:k,selectedAnswer:a}),C="q-".concat(y),O=Y()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":i}),A=Y()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":i&&!o});return e.createElement(ne.b,{key:y},h(t,C),e.createElement(ne.e,{blockId:c,enableVideoPlaybackSpeed:u,labels:l,media:b,opts:_}),e.createElement(ne.d,{type:w},this.renderType({isCorrect:k,item:t,onSubmit:S,canSubmit:E,questionHtmlId:C})),e.createElement(ne.a,{allowTabNavigation:!i,canProceed:x,canSubmit:E,onSubmit:S,quizSubmit:v}),e.createElement(ne.c,{allowTabNavigation:x,canProceed:x,feedback:T,hasFeedback:!!T,isCorrect:k,labels:l,quizCorrect:p,quizIncorrect:m,renderText:function(){return e.createElement(te.a,{className:"quiz-card__feedback-text brand--body brand--linkColor",allowTabNavigation:i,value:T})}}),e.createElement("div",{className:O},e.createElement("button",{"aria-hidden":!i,className:A,onClick:this.handleRetake,tabIndex:Object(X.m)(i),type:"button"},e.createElement("div",{className:"block-knowledge__retake-content"},e.createElement("div",{className:"block-knowledge__retake-text brand--ui"},g),e.createElement("i",{className:"block-knowledge__retake-icon icon icon-reload"})))))}},{key:"getIsCorrect",value:function(e){var t=e.item,n=this.state,r=n.fillinValue,i=n.matches,o=n.selectedAnswer,a=n.selectedIndices,s=t.answers,c=t.type,u=t.isCaseSensitive;switch(c){case ue:return Object(ae.g)({answers:Object(ae.e)(s),fillinValue:r,isCaseSensitive:u});case le:return Object(Z.b)(i);case fe:return Object(ae.h)({answers:s,selectedIndices:a});case de:default:return o===Object(ae.b)(s)}}},{key:"getType",value:function(){var e=this.props.items;return ge(e)}},{key:"getCanSubmit",value:function(e){var t=e.item,n=t.answers,r=this.state,i=r.answered,o=r.fillinValue,a=r.matches,s=r.selectedAnswer,c=r.selectedIndices;switch(t.type){case ue:return D()(j()(o))&&D()(i);case le:return Object(ae.i)(a)===I()(n);case fe:return D()(j()(c))&&D()(i);case de:default:return D()(M()(s))&&D()(i)}}},{key:"getFeedback",value:function(e){var t=e.item,n=e.isCorrect,r=e.selectedAnswer,i=t.answers,o=t.feedback,a=t.feedbackCorrect,s=t.feedbackIncorrect;switch(t.feedbackType){case pe:return F()("",[r,"feedback"],i);case me:return n?a:s;case he:default:return o}}},{key:"getTypeLabel",value:function(){var e=this.getType();return e&&ve[e]||"Knowledge Check"}},{key:"renderMultipleResponseOptionText",value:function(t,n){var r=n.title;return e.createElement(J.a,{className:"cursorAuto",value:r,onClick:se.a,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(t,n){var r=n.title;return e.createElement(J.a,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:r,onClick:se.a,component:"div"})}},{key:"renderType",value:function(t){var n=t.isCorrect,r=t.item,i=t.onSubmit,o=t.canSubmit,a=t.questionHtmlId,s=this.props,c=s.isLearner,u=s.labels,l=s.prefersKeyboardNavigation,d=s.renderMultipleResponseOptionText,h=void 0===d?this.renderMultipleResponseOptionText:d,p=s.renderMultipleChoiceOptionText,m=void 0===p?this.renderMultipleChoiceOptionText:p,v=this.state,g=v.answered,y=v.fillinValue,b=v.matches,_=v.retake,w=v.selectedAnswer,x=v.selectedIndices,k=r.answers,E=void 0===k?[]:k,S=r.type,T=u.quizAcceptableResponses,C=u.quizAnswerPlaceholder,O=Object(Z.i)(E),A=O,j=z()(O);switch(S){case ue:return e.createElement(oe.a,{allowTabNavigation:!0,isComplete:g,isCorrect:n,onChange:this.handleFillIn,onEnterToSubmit:i,options:Object(ae.e)(E),revealAnswers:!0,questionHtmlId:a,quizAcceptableResponses:T,quizAnswerPlaceholder:C,value:y});case le:return e.createElement(oe.b,{allowTabNavigation:!0,answers:Object(ae.a)(S)(E),canSubmit:o,isActive:!0,isComplete:g,isLearner:c,matchIndices:A,matches:b,onEnterToSubmit:i,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:!0,titleIndices:j,isKnowledgeCheck:!0,isRetake:_});case fe:return e.createElement(oe.d,{allowTabNavigation:!0,correctIds:Object(ae.d)(E),isComplete:g,onChange:this.handleMultipleResponseChange,onEnterToSubmit:i,options:E,prefersKeyboardNavigation:l,renderOptionText:f()(h).call(h,this,r),revealAnswers:!0,selectedIndices:x});case de:default:return e.createElement(oe.c,{allowTabNavigation:!0,correctId:Object(ae.c)(E)||Object(ae.f)(E),isComplete:g,onChange:this.handleChoiceSelect,onEnterToSubmit:i,options:E,prefersKeyboardNavigation:l,questionHtmlId:a,renderOptionText:f()(m).call(m,this,r),revealAnswers:!0,selectedIndex:w})}}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.isLearner,s=n.items,c=n.settings,u=this.state,l=u.answered,d=u.retake,f=c.paddingTop,h=c.paddingBottom,p=c.backgroundColor,m=c.entranceAnimation,v=Y()("block-knowledge",{"block-knowledge--no-animation":!m,"block-knowledge--answered":l,"block-knowledge--retake":d}),g={backgroundColor:Object($.a)("",p),paddingTop:"".concat(10*f,"px"),paddingBottom:"".concat(10*h,"px")},y=s.length>0?a()(s).call(s,0,1):[];return e.createElement("div",{className:v,"data-ba":ce.blockKnowledge,style:g,ref:function(e){t.block=e}},e.createElement(ee.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:o},e.createElement("div",{className:"block-knowledge__container"},e.createElement("div",{className:"block-knowledge__row"},e.createElement("div",{className:"block-knowledge__col"},e.createElement("div",{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(e){t.wrapper=e}},i()(y).call(y,function(e){return t.renderQuestion(e)})))))))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(746);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r,i=n(221),o=n(258);
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=o(n);if("string"===r||"number"===r)e.push(n);else if(i(n)&&n.length){var c=s.apply(null,n);c&&e.push(c)}else if("object"===r)for(var u in n)a.call(n,u)&&n[u]&&e.push(u)}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):"object"===o(n(740))&&n(740)?void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r):window.classNames=s}()},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(58),i=n(231),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(65),i=n(657),o=r["__core-js_shared__"]||i("__core-js_shared__",{});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.1",mode:n(340)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports={}},function(e,t,n){var r=n(198),i=n(108),o=n(311);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(58),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(85),i=n(343),o=n(106)("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)}},function(e,t,n){var r=n(58),i=n(106)("species");e.exports=function(e){return!r(function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t){e.exports={}},function(e,t,n){var r=n(511),i=n(106)("iterator"),o=n(435);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){e.exports=!n(58)(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(94),i=n(663),o=n(108),a=n(314),s=n(436),c=n(820),u={};(e.exports=function(e,t,n,l,d){var f,h,p,m,v,g=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(p=0,m=o(e.length);m>p;p++)if((l?g(r(v=e[p])[0],v[1]):g(e[p]))===u)return u;return}f=h.call(e)}for(;!(v=f.next()).done;)if(c(f,g,v.value,l)===u)return u}).BREAK=u},function(e,t,n){"use strict";var r=n(283),i=n(678),o=n(347),a=n(285),s=n(681),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(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")},function(e,t){e.exports={}},function(e,t,n){var r=n(173),i=n(234),o=n(526),a=n(857),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(860),i=n(685);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(346);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(110),i=n(145),o=n(130)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";var r=n(145),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)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(236),i=n(696);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(447),i=n(236);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){var r=n(884),i=n(1597);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(885),ElementType:n(451),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(1599))},get Stream(){return o("Stream",n(1600))},get WritableStream(){return o("WritableStream",n(887))},get ProxyHandler(){return o("ProxyHandler",n(1615))},get DomUtils(){return o("DomUtils",n(1616))},get CollectingHandler(){return o("CollectingHandler",n(1630))},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}}},function(e,t){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}}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(378).Buffer)},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),c=n.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(a=c[l])?c.splice(l,1):".."===a?u++:u>0&&(""===a?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(n=c.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 c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=c,o(s)):c}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 c=!("__proto__"in Object.create(null));function u(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 d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?u:function(e){return l(e)?"$"+e:e},t.fromSetString=c?u:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)||n?r:0!=(r=e.generatedColumn-t.generatedColumn)?r:0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!=(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=d(e.source,t.source))?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=d(e.source,t.source))?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)?n:d(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 c=r.path.lastIndexOf("/");c>=0&&(r.path=r.path.substring(0,c+1))}t=s(o(r),t)}return a(t)}},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(321);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))}}},function(e,t,n){"use strict";var r=n(124);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(174),i=n(524),o=n(234),a=n(235),s=n(864),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d;return function(h,p,m,v){for(var g,y,b=o(h),_=i(b),w=r(p,m,3),x=a(_.length),k=0,E=v||s,S=t?E(h,x):n?E(h,0):void 0;x>k;k++)if((f||k in _)&&(y=w(g=_[k],k,b),e))if(t)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:c.call(S,g)}else if(l)return!1;return d?-1:u||l?l:S}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){var r=n(20),i=n(547),o=n(54),a=n(459);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+'"')})})},function(e,t,n){var r=n(50),i=n(1703);e.exports=r(function(e){return i(e,[])})},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t,n){var r=n(220),i=n(188),o=n(555);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)}}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t,n){"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}}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(203).proxy("Pred"),i=n(86),o=n(218);e.exports=function(e){return i(e)||o(r,e)}},function(e,t,n){"use strict";var r=n(87);function i(e,t){return r.where(e,function(e){return e.position===t})}function o(e,t){e.forEach(function(e,t){return e._tmpIndex_=t,e}),e.sort(function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r._tmpIndex_-i._tmpIndex_:r.weight-i.weight}),e.forEach(function(e){delete e._tmpIndex_})}e.exports={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],o=i.length,a=0;a<o;++a)r=i[a],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,t,n){if(e){var a=e.options.layout||{},s=r.options.toPadding(a.padding),c=s.left,u=s.right,l=s.top,d=s.bottom,f=i(e.boxes,"left"),h=i(e.boxes,"right"),p=i(e.boxes,"top"),m=i(e.boxes,"bottom"),v=i(e.boxes,"chartArea");o(f,!0),o(h,!1),o(p,!0),o(m,!1);var g=t-c-u,y=n-l-d,b=y/2,_=(t-g/2)/(f.length+h.length),w=(n-b)/(p.length+m.length),x=g,k=y,E=[];r.each(f.concat(h,p,m),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:x,w),k-=t.height):(t=e.update(_,k),x-=t.width),E.push({horizontal:n,minSize:t,box:e})});var S=0,T=0,C=0,O=0;r.each(p.concat(m),function(e){if(e.getPadding){var t=e.getPadding();S=Math.max(S,t.left),T=Math.max(T,t.right)}}),r.each(f.concat(h),function(e){if(e.getPadding){var t=e.getPadding();C=Math.max(C,t.top),O=Math.max(O,t.bottom)}});var A=c,j=u,N=l,M=d;r.each(f.concat(h),B),r.each(f,function(e){A+=e.width}),r.each(h,function(e){j+=e.width}),r.each(p.concat(m),B),r.each(p,function(e){N+=e.height}),r.each(m,function(e){M+=e.height}),r.each(f.concat(h),function(e){var t=r.findNextWhere(E,function(t){return t.box===e}),n={left:0,right:0,top:N,bottom:M};t&&e.update(t.minSize.width,k,n)}),A=c,j=u,N=l,M=d,r.each(f,function(e){A+=e.width}),r.each(h,function(e){j+=e.width}),r.each(p,function(e){N+=e.height}),r.each(m,function(e){M+=e.height});var P=Math.max(S-A,0);A+=P,j+=Math.max(T-j,0);var I=Math.max(C-N,0);N+=I,M+=Math.max(O-M,0);var L=n-N-M,D=t-A-j;D===x&&L===k||(r.each(f,function(e){e.height=L}),r.each(h,function(e){e.height=L}),r.each(p,function(e){e.fullWidth||(e.width=D)}),r.each(m,function(e){e.fullWidth||(e.width=D)}),k=L,x=D);var R=c+P,F=l+I;r.each(f.concat(p),U),R+=x,F+=k,r.each(h,U),r.each(m,U),e.chartArea={left:A,top:N,right:A+x,bottom:N+k},r.each(v,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(x,k)})}function B(e){var t=r.findNextWhere(E,function(t){return t.box===e});if(t)if(e.isHorizontal()){var n={left:Math.max(A,S),right:Math.max(j,T),top:0,bottom:0};e.update(e.fullWidth?g:x,y/2,n)}else e.update(t.minSize.width,k)}function U(e){e.isHorizontal()?(e.left=e.fullWidth?c:A,e.right=e.fullWidth?t-u:A+x,e.top=F,e.bottom=F+e.height,F=e.bottom):(e.left=R,e.right=R+e.width,e.top=N,e.bottom=N+k,R=e.right)}}}},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87),a=n(467);function s(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(e[t].label);return r}function c(e,t,n){var r=e.getPixelForTick(t);return n&&(r-=0===t?(e.getPixelForTick(1)-r)/2:(r-e.getPixelForTick(t-1))/2),r}function u(e,t,n){return o.isArray(t)?o.longestText(e,n,t):e.measureText(t).width}function l(e){var t=o.valueOrDefault,n=r.global,i=t(e.fontSize,n.defaultFontSize),a=t(e.fontStyle,n.defaultFontStyle),s=t(e.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:s,font:o.fontString(i,a,s)}}function d(e){return o.options.toLineHeight(o.valueOrDefault(e.lineHeight,1.2),o.valueOrDefault(e.fontSize,r.global.defaultFontSize))}r._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:a.formatters.values,minor:{},major:{}}}),e.exports=i.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var e=this.options.ticks;for(var t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){o.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,a,s,c,u,l=this;for(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=o.extend({left:0,right:0,top:0,bottom:0},n),l.longestTextCache=l.longestTextCache||{},l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),c=l.buildTicks()||[],l.afterBuildTicks(),l.beforeTickToLabelConversion(),a=l.convertTicksToLabels(c)||l.ticks,l.afterTickToLabelConversion(),l.ticks=a,r=0,i=a.length;r<i;++r)s=a[r],(u=c[r])?u.label=s:c.push(u={label:s,major:!1});return l._ticks=c,l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.minSize},afterUpdate:function(){o.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){o.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){o.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){o.callback(this.options.beforeDataLimits,[this])},determineDataLimits:o.noop,afterDataLimits:function(){o.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){o.callback(this.options.beforeBuildTicks,[this])},buildTicks:o.noop,afterBuildTicks:function(){o.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){o.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){o.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){o.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,n=e.options.ticks,r=s(e._ticks),i=l(n);t.font=i.font;var a=n.minRotation||0;if(r.length&&e.options.display&&e.isHorizontal())for(var c,u=o.longestText(t,i.font,r,e.longestTextCache),d=u,f=e.getPixelForTick(1)-e.getPixelForTick(0)-6;d>f&&a<n.maxRotation;){var h=o.toRadians(a);if(c=Math.cos(h),Math.sin(h)*u>e.maxHeight){a--;break}a++,d=c*u}e.labelRotation=a},afterCalculateTickRotation:function(){o.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){o.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=s(e._ticks),r=e.options,i=r.ticks,a=r.scaleLabel,c=r.gridLines,f=r.display,h=e.isHorizontal(),p=l(i),m=r.gridLines.tickMarkLength;if(t.width=h?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:f&&c.drawTicks?m:0,t.height=h?f&&c.drawTicks?m:0:e.maxHeight,a.display&&f){var v=d(a)+o.options.toPadding(a.padding).height;h?t.height+=v:t.width+=v}if(i.display&&f){var g=o.longestText(e.ctx,p.font,n,e.longestTextCache),y=o.numberOfLabelLines(n),b=.5*p.size,_=e.options.ticks.padding;if(h){e.longestLabelWidth=g;var w=o.toRadians(e.labelRotation),x=Math.cos(w),k=Math.sin(w)*g+p.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+k+_),e.ctx.font=p.font;var E=u(e.ctx,n[0],p.font),S=u(e.ctx,n[n.length-1],p.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?x*E+3:x*b+3,e.paddingRight="bottom"===r.position?x*b+3:x*S+3):(e.paddingLeft=E/2+3,e.paddingRight=S/2+3)}else i.mirror?g=0:g+=_+b,t.width=Math.min(e.maxWidth,t.width+g),e.paddingTop=p.size/2,e.paddingBottom=p.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(o.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var r=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),i=r*e+t.paddingLeft;n&&(i+=r/2);var o=t.left+Math.round(i);return o+=t.isFullWidth()?t.margins.left:0}var a=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(a/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,r=t.left+Math.round(n);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,i,a=this,s=a.isHorizontal(),c=a.options.ticks.minor,u=e.length,l=o.toRadians(a.labelRotation),d=Math.cos(l),f=a.longestLabelWidth*d,h=[];for(c.maxTicksLimit&&(i=c.maxTicksLimit),s&&(t=!1,(f+c.autoSkipPadding)*u>a.width-(a.paddingLeft+a.paddingRight)&&(t=1+Math.floor((f+c.autoSkipPadding)*u/(a.width-(a.paddingLeft+a.paddingRight)))),i&&u>i&&(t=Math.max(t,Math.floor(u/i)))),n=0;n<u;n++)r=e[n],(t>1&&n%t>0||n%t==0&&n+t>=u)&&n!==u-1&&delete r.label,h.push(r);return h},draw:function(e){var t=this,n=t.options;if(n.display){var i=t.ctx,a=r.global,s=n.ticks.minor,u=n.ticks.major||s,f=n.gridLines,h=n.scaleLabel,p=0!==t.labelRotation,m=t.isHorizontal(),v=s.autoSkip?t._autoSkip(t.getTicks()):t.getTicks(),g=o.valueOrDefault(s.fontColor,a.defaultFontColor),y=l(s),b=o.valueOrDefault(u.fontColor,a.defaultFontColor),_=l(u),w=f.drawTicks?f.tickMarkLength:0,x=o.valueOrDefault(h.fontColor,a.defaultFontColor),k=l(h),E=o.options.toPadding(h.padding),S=o.toRadians(t.labelRotation),T=[],C=t.options.gridLines.lineWidth,O="right"===n.position?t.left:t.right-C-w,A="right"===n.position?t.left+w:t.right,j="bottom"===n.position?t.top+C:t.bottom-w-C,N="bottom"===n.position?t.top+C+w:t.bottom+C;if(o.each(v,function(r,i){if(!o.isNullOrUndef(r.label)){var u,l,d,h,g,y,b,_,x,k,E,M,P,I,L=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(u=f.zeroLineWidth,l=f.zeroLineColor,d=f.zeroLineBorderDash,h=f.zeroLineBorderDashOffset):(u=o.valueAtIndexOrDefault(f.lineWidth,i),l=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),h=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var D="middle",R="middle",F=s.padding;if(m){var B=w+F;"bottom"===n.position?(R=p?"middle":"top",D=p?"right":"center",I=t.top+B):(R=p?"middle":"bottom",D=p?"left":"center",I=t.bottom-B);var U=c(t,i,f.offsetGridLines&&v.length>1);U<t.left&&(l="rgba(0,0,0,0)"),U+=o.aliasPixel(u),P=t.getPixelForTick(i)+s.labelOffset,g=b=x=E=U,y=j,_=N,k=e.top,M=e.bottom+C}else{var q,z="left"===n.position;s.mirror?(D=z?"left":"right",q=F):(D=z?"right":"left",q=w+F),P=z?t.right-q:t.left+q;var H=c(t,i,f.offsetGridLines&&v.length>1);H<t.top&&(l="rgba(0,0,0,0)"),H+=o.aliasPixel(u),I=t.getPixelForTick(i)+s.labelOffset,g=O,b=A,x=e.left,E=e.right+C,y=_=k=M=H}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:x,y1:k,x2:E,y2:M,labelX:P,labelY:I,glWidth:u,glColor:l,glBorderDash:d,glBorderDashOffset:h,rotation:-1*S,label:L,major:r.major,textBaseline:R,textAlign:D})}}),o.each(T,function(e){if(f.display&&(i.save(),i.lineWidth=e.glWidth,i.strokeStyle=e.glColor,i.setLineDash&&(i.setLineDash(e.glBorderDash),i.lineDashOffset=e.glBorderDashOffset),i.beginPath(),f.drawTicks&&(i.moveTo(e.tx1,e.ty1),i.lineTo(e.tx2,e.ty2)),f.drawOnChartArea&&(i.moveTo(e.x1,e.y1),i.lineTo(e.x2,e.y2)),i.stroke(),i.restore()),s.display){i.save(),i.translate(e.labelX,e.labelY),i.rotate(e.rotation),i.font=e.major?_.font:y.font,i.fillStyle=e.major?b:g,i.textBaseline=e.textBaseline,i.textAlign=e.textAlign;var n=e.label;if(o.isArray(n))for(var r=n.length,a=1.5*y.size,c=t.isHorizontal()?0:-a*(r-1)/2,u=0;u<r;++u)i.fillText(""+n[u],0,c),c+=a;else i.fillText(n,0,0);i.restore()}}),h.display){var M,P,I=0,L=d(h)/2;if(m)M=t.left+(t.right-t.left)/2,P="bottom"===n.position?t.bottom-L-E.bottom:t.top+L+E.top;else{var D="left"===n.position;M=D?t.left+L+E.top:t.right-L-E.top,P=t.top+(t.bottom-t.top)/2,I=D?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(M,P),i.rotate(I),i.textAlign="center",i.textBaseline="middle",i.fillStyle=x,i.font=k.font,i.fillText(h.labelString,0,0),i.restore()}if(f.drawBorder){i.lineWidth=o.valueAtIndexOrDefault(f.lineWidth,0),i.strokeStyle=o.valueAtIndexOrDefault(f.color,0);var R=t.left,F=t.right+C,B=t.top,U=t.bottom+C,q=o.aliasPixel(i.lineWidth);m?(B=U="top"===n.position?t.bottom:t.top,B+=q,U+=q):(R=F="left"===n.position?t.right:t.left,R+=q,F+=q),i.beginPath(),i.moveTo(R,B),i.lineTo(F,U),i.stroke()}}}})},function(e,t,n){"use strict";var r=n(87);e.exports={formatters:{values:function(e){return r.isArray(e)?e:""+e},linear:function(e,t,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var o=r.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var s=r.log10(Math.abs(e));a=e.toExponential(Math.floor(s)-Math.floor(o))}else{var c=-1*Math.floor(o);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(r.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}}},function(e,t,n){var r=n(576),i=n(2320),o=n(2321),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?i(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(455),i=n(50),o=n(189);e.exports=i(r("tail",o(1,1/0)))},function(e,t,n){var r=n(61),i=n(361),o=n(16);e.exports=r(function(e,t,n){return i(o(t),e,n)})},function(e,t,n){var r=n(56),i=n(937);e.exports=i(r)},function(e,t,n){e.exports=n(1680)},function(e,t,n){var r=n(20),i=n(919);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})},function(e,t,n){e.exports=n(1730)},function(e,t,n){e.exports=n(1757)},function(e,t,n){e.exports=n(1763)},function(e,t,n){var r=n(50),i=n(54),o=n(325),a=n(238),s=n(115);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})})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e>=t})},function(e,t,n){var r=n(50),i=n(1851);e.exports=r(i)},function(e,t,n){var r=n(61),i=n(28);e.exports=r(function(e,t,n){return t.length>0&&e(i(t,n))})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(219),i=n(910),o=n(54);e.exports=o(4,function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)})},function(e,t,n){var r,i=n(20);e.exports=(r=function(e){return{value:e,"fantasy-land/map":function(){return this}}},i(function(e,t){return e(r)(t).value}))},function(e,t,n){e.exports=n(1948)},function(e,t,n){"use strict";var r=n(2),i=n.n(r),o=n(0),a=n.n(o);t.a=function(e){var t=e.title,n=void 0===t?"Search":t,r=e.desc,o=void 0===r?"Magnifying glass":r,s=e.width,c=void 0===s?"16":s,u=e.height,l=void 0===u?"16":u,d=e.className,f=e.focusable,h=void 0===f?"false":f;return a.a.createElement("svg",{viewBox:"0 0 15.6 14.7",width:c,height:l,className:i()("i i-search",d),focusable:h},a.a.createElement("title",null,n),a.a.createElement("desc",null,o),a.a.createElement("path",{d:"M15.2,12.8l-2.9-2.9c0.5-1,0.9-2,0.9-3.2c0-3.6-2.9-6.5-6.5-6.5c-3.6,0-6.5,2.9-6.5,6.5s2.9,6.5,6.5,6.5c1.7,0,3.2-0.6,4.4-1.7l2.8,2.8c0.4,0.4,1,0.4,1.4,0C15.6,13.8,15.6,13.2,15.2,12.8z M6.7,11.2c-2.5,0-4.5-2-4.5-4.5s2-4.5,4.5-4.5s4.5,2,4.5,4.5S9.1,11.2,6.7,11.2z"}))}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(79),i=(n.n(r)()(function(e,t,n){return n>=e&&n<t}),function(e){return e<10?"0".concat(e):String(e)}),o=function(e){return Intl.NumberFormat(void 0,{style:"percent",maximumFractionDigits:2}).format(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(3),i=n.n(r),o=n(132),a=n.n(o),s=n(390),c=n.n(s),u=n(135),l=n.n(u),d=n(163),f=n.n(d),h=n(413),p=n.n(h),m=n(1188),v=n.n(m),g=n(228),y=n.n(g),b=n(490),_=n.n(b),w=n(1189),x=n.n(w),k=n(126),E=n.n(k),S=n(298),T=n.n(S),C=n(299),O=n.n(C),A=n(98);function j(e,t){return void 0===t?e:t}y()(x()(function(e,t){var n,r,i=t.split("=");return v()(p()(n=i[0]).call(n),p()(r=i[1]).call(r),e)},{}),T()(/; */));function N(e,t){var n,r,i=f()(t).call(t,":"),o=p()(n=t.substr(0,i)).call(n).toLowerCase(),a=p()(r=t.substr(i+1)).call(r);return o&&(e[o]=e[o]?e[o]+", "+a:a),e}function M(e){var t,n=e.data,r=j(_.a,e.deserialize),o=j({},e.headers),s=j(!1,e.json),u=j(!1,e.jwt),d=j(null,e.token),f=j("GET",e.method),h=e.onUploadProgress,p=j(_.a,e.serialize),m=e.url,v=j(!1,e.withCredentials),g=new XMLHttpRequest;if(g.withCredentials=v,s&&(r=JSON.parse,p=c.a,o["Content-Type"]="application/json"),u){var y=d||Object(A.d)();o.Authorization="Bearer "+y}"GET"===f&&n&&(m+="?"+function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(n));var b=new a.a(function(e,t){for(var i in g.addEventListener("abort",t),g.addEventListener("error",t),g.addEventListener("load",function(){var n,i;g.status>=400?t(r(g.response)):e({body:r(g.response),headers:(n=g.getAllResponseHeaders(),n?l()(i=n.split("\n")).call(i,N,{}):{}),status:g.status})}),g.upload&&"function"==typeof h&&g.upload.addEventListener("progress",h),g.open(f,m),o)g.setRequestHeader(i,o[i]);"GET"!==f&&n?g.send(p(n)):g.send()});return b.abort=i()(t=g.abort).call(t,g),b}y()(O.a,E()(""))},function(e,t){e.exports=function(e){return e}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(883)},function(e,t,n){"use strict";n.d(t,"a",function(){return W}),n.d(t,"b",function(){return V});var r=n(177),i=n.n(r),o=n(26),a=n.n(o),s=n(76),c=n.n(s),u=n(7),l=n.n(u),d=n(300),f=n.n(d),h=n(44),p=n.n(h),m=n(47),v=n.n(m),g=n(29),y=n.n(g),b=n(82),_=n.n(b),w=n(45),x=n.n(w),k=n(77),E=n.n(k),S=n(262),T=n.n(S),C=n(24),O=n.n(C),A=n(13),j=n.n(A),N=n(14),M=n.n(N),P=n(115),I=n.n(P),L=n(263),D=n.n(L),R=n(69),F=n.n(R),B=n(42),U=n.n(B),q=c()(y.a),z=i()(I.a),H=function(e){var t=e.key,n=e.percent;return function(e){return a()(n,O()(j()("items"),F.a,p()(M()(t,!0)),x.a,v()(f.a)(l()(x.a,_.a,j()("items"))(e)),T()(100),Math.round)(e),e)}},W=(z(function e(t,n,r){var i=n.id,o=n.items;return O()(a()(i,{index:r}),U()(function(){return q(o)},function(t){return D()(E()([i,"items"]),z(e,{},o))(t)}))(t)},{}),H({key:"isComplete",percent:"percentComplete"})),V=H({key:"isViewed",percent:"percentViewed"})},function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f});var r=n(47),i=n.n(r),o=n(30),a=n.n(o),s=n(73),c=n.n(s),u=n(57),l=function(e){return function(t){return t(Object(u.g)({id:e,updateFn:d}))}},d=i()(a.a)({isComplete:!0,percentComplete:100}),f=c()(["isComplete","percentComplete"])},function(e,t,n){"use strict";n.d(t,"a",function(){return S}),n.d(t,"b",function(){return T}),n.d(t,"c",function(){return C});var r=n(26),i=n.n(r),o=n(7),a=n.n(o),s=n(47),c=n.n(s),u=n(77),l=n.n(u),d=n(90),f=n.n(d),h=n(30),p=n.n(h),m=n(73),v=n.n(m),g=n(49),y=n.n(g),b=n(14),_=n.n(b),w=n(42),x=n.n(w),k=n(74),E=n(57),S=function(e){var t=e.id,n=e.itemId;return function(e){return e(Object(E.g)({id:t,updateFn:O(n)}))}},T=a()(c()(p.a)({isComplete:!0,percentComplete:100}),y()(f()("items"),Object(k.e)(i()("isComplete",!0)))),C=a()(v()(["isComplete","percentComplete"]),y()(f()("items"),Object(k.e)(v()(["isComplete"])))),O=function(e){return a()(x()(_()("percentComplete",100),i()("isComplete",!0)),E.f,y()(l()(["items",e]),i()("isComplete",!0)))}},function(e,t,n){"use strict";n.d(t,"c",function(){return O}),n.d(t,"a",function(){return A}),n.d(t,"b",function(){return j});var r=n(16),i=n.n(r),o=n(26),a=n.n(o),s=n(7),c=n.n(s),u=n(47),l=n.n(u),d=n(265),f=n.n(d),h=n(325),p=n.n(h),m=n(30),v=n.n(m),g=n(149),y=n.n(g),b=n(73),_=n.n(b),w=n(14),x=n.n(w),k=n(36),E=n.n(k),S=n(42),T=n.n(S),C=n(57),O=function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e(Object(C.g)({id:n,updateFn:M({currentTime:t,percentComplete:r})}))}},A=l()(v.a)({currentTime:0,isComplete:!0,percentComplete:100}),j=_()(["currentTime","isComplete","percentComplete"]),N=T()(x()("percentComplete",100),a()("isComplete",!0)),M=function(e){var t=e.currentTime,n=e.percentComplete;return c()(a()("currentTime",t),N,function(e){return function(t){return c()(v()(t),y()("percentComplete"),Math.round,T()(f()(90),i()(100)),p()(e),E()(0,"percentComplete"))(t)}}(n))}},function(e,t,n){e.exports=n(1893)},function(e,t,n){!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)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(102),a=n(2),s=n.n(a),c=(n(2202),n(59).b.common);t.a=function(e){var t=e.bgColor,n=void 0===t?"brand":t,r=e.href,a=e.onClick,u=e.text,l=s()("continue-btn",{"continue-btn--gray":"gray"===n,"continue-btn--black":"black"===n,"brand--background":"brand"===n});return r?i.a.createElement(o.a,{className:l,onClick:a,to:r},u):i.a.createElement("button",{className:l,"data-ba":c.continueBtn,onClick:a,type:"button"},u)}},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return _}),n.d(t,"b",function(){return w}),n.d(t,"a",function(){return x});var r=n(0),i=n.n(r),o=n(171),a=n.n(o),s=n(366),c=n.n(s),u=n(424),l=n.n(u),d=(n(2369),n(1259)),f=n.n(d),h=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};function p(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}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 y=void 0!==e&&Object({BUGSNAG_API_KEY:"f3fd51abf4bdabb1dd460597574d9972",CLIENT_VERSION:"89ff795c7b18e0e7c6f1dbf06bb178d06e53c9d7",NODE_ENV:"production"})&&"production",b=function(e){function t(){var n,r;m(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=v(this,e.call.apply(e,[this].concat(o))),r.handleOnClick=function(e){var t=r.chartInstance,n=r.props,i=n.getDatasetAtEvent,o=n.getElementAtEvent,a=n.getElementsAtEvent,s=n.onElementsClick;i&&i(t.getDatasetAtEvent(e),e),o&&o(t.getElementAtEvent(e),e),a&&a(t.getElementsAtEvent(e),e),s&&s(t.getElementsAtEvent(e),e)},r.ref=function(e){r.element=e},v(r,n)}return g(t,e),t.prototype.componentWillMount=function(){this.chartInstance=void 0},t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.chartInstance.destroy(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,i=t.plugins,o=t.legend,a=t.height,s=t.width;if(!0===e.redraw)return!0;if(a!==e.height||s!==e.width)return!0;if(n!==e.type)return!0;if(!l()(o,e.legend))return!0;if(!l()(r,e.options))return!0;var c=this.transformDataProp(e);return!l()(this.shadowDataProp,c)||!l()(i,e.plugins)},t.prototype.componentWillUnmount=function(){this.chartInstance.destroy()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=h({},e,{datasets:e.datasets&&e.datasets.map(function(e){return h({},e)})}),e}},t.prototype.checkDatasets=function(e){var n="production"!==y&&"prod"!==y,r=this.props.datasetKeyProvider!==t.getLabelAsKey,i=e.length>1;if(n&&i&&!r){var o=!1;e.forEach(function(e){e.label||(o=!0)}),o&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.updateChart=function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=c.a.helpers.configMerge(this.chartInstance.options,t));var r=this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[],i=n.datasets||[];this.checkDatasets(r);var o=f()(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=i.map(function(t){var n=o[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type){n.data.splice(t.data.length),t.data.forEach(function(e,r){n.data[r]=t.data[r]});t.data;var r=p(t,["data"]);return h({},n,r)}return t});n.datasets;var a=p(n,["datasets"]);this.chartInstance.config.data=h({},this.chartInstance.config.data,a),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,n=e.options,r=e.legend,i=e.type,o=(e.redraw,e.plugins),a=this.element,s=this.memoizeDataProps();void 0===r||l()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new c.a(a,{type:i,data:s,options:n,plugins:o})},t.prototype.render=function(){var e=this.props,t=e.height,n=e.width,r=(e.onElementsClick,e.id);return i.a.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(i.a.Component);b.getLabelAsKey=function(e){return e.label},b.propTypes={data:a.a.oneOfType([a.a.object,a.a.func]).isRequired,getDatasetAtEvent:a.a.func,getElementAtEvent:a.a.func,getElementsAtEvent:a.a.func,height:a.a.number,legend:a.a.object,onElementsClick:a.a.func,options:a.a.object,plugins:a.a.arrayOf(a.a.object),redraw:a.a.bool,type:function(e,t,n){if(!c.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:a.a.number,datasetKeyProvider:a.a.func},b.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:b.getLabelAsKey};!function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}(i.a.Component);var _=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))},t}(i.a.Component),w=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(i.a.Component),x=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(i.a.Component);(function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}})(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(i.a.Component),c.a.defaults}).call(this,n(320))},function(e,t,n){e.exports=n(2498)},function(e,t,n){"use strict";var r=n(473),i=n.n(r),o=n(775),a=n.n(o),s=n(8);function c(e,t,n){return(c="undefined"!=typeof Reflect&&a.a?a.a:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(s.a)(e)););return e}(e,t);if(r){var o=i()(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}n.d(t,"a",function(){return c})},function(e,t,n){e.exports=n(1783)},function(e,t,n){"use strict";(function(e){n.d(t,"d",function(){return A}),n.d(t,"c",function(){return j}),n.d(t,"a",function(){return N}),n.d(t,"b",function(){return M});var r=n(23),i=n(3),o=n.n(i),a=n(4),s=n.n(a),c=n(9),u=n(6),l=n(10),d=n(8),f=n(5),h=n(11),p=(n(2122),n(2)),m=n.n(p),v=n(81),g=n.n(v),y=n(1),b=n.n(y),_=n(66),w=n(304),x=n(93),k=n(55),E=n(52),S=n(107),T=n(305),C=n(159),O=n(59).b.blocks,A=function(t){function n(){var e,t,r,i;Object(c.a)(this,n);for(var a=arguments.length,u=new Array(a),h=0;h<a;h++)u[h]=arguments[h];return(i=Object(l.a)(this,(e=Object(d.a)(n)).call.apply(e,s()(t=[this]).call(t,u)))).renderCaptionDelegate=o()(r=i.renderCaption).call(r,Object(f.a)(i)),i}return Object(h.a)(n,t),Object(u.a)(n,[{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--body brand--linkColor",value:n})}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.editable,i=t.isLearner,o=t.items,a=t.type,s=t.settings,c=t.renderCaption,u=void 0===c?this.renderCaptionDelegate:c,l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,h=s.entranceAnimation,p=s.zoomOnClick,v=m()("block-image block-image--".concat(a),{"block-image--no-animation":!h,"block-image--dark":Object(C.a)(f)}),y={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},b=o[0],x=b.id,T=b.caption,A=g()(b,"media.image.alt"),j=g()(b,"media.image.key"),N=Object(E.a)(g()(b,"media.image")),M=Object(S.a)({caption:T,editable:r,id:x}),P=g()(b,"media.image.originalUrl");return e.createElement("div",{className:v,"data-ba":O.blockImage,style:y},e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},e.createElement(k.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:i,offset:300},e.createElement(M.tagName,{"aria-labelledby":M.figcaptionId,className:"block-image__figure",role:M.role},e.createElement("div",{className:"block-image__image"},e.createElement(w.a,{alt:A,caption:T,disableZoom:!p,fileName:P,imageKey:j,src:N})),(r||T)&&e.createElement("figcaption",{id:M.figcaptionId},u(x,T))))))))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string}}},{key:"defaultProps",get:function(){return{type:"hero",editable:!1,lessonId:"",blockId:"",items:[]}}}]),n}(e.Component),j=function(t){function n(){var e,t,r,i,a;Object(c.a)(this,n);for(var u=arguments.length,h=new Array(u),p=0;p<u;p++)h[p]=arguments[p];return(a=Object(l.a)(this,(e=Object(d.a)(n)).call.apply(e,s()(t=[this]).call(t,h)))).renderParagraphDelegate=o()(r=a.renderParagraph).call(r,Object(f.a)(a)),a.renderCaptionDelegate=o()(i=a.renderCaption).call(i,Object(f.a)(a)),a}return Object(h.a)(n,t),Object(u.a)(n,[{key:"renderParagraph",value:function(t,n){return e.createElement(x.a,{className:"block-image__text brand--body brand--linkColor",value:n})}},{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--body brand--linkColor",value:n})}},{key:"renderImage",value:function(t,n,r,i){var o=this.props,a=o.editable,s=o.renderCaption,c=void 0===s?this.renderCaptionDelegate:s,u=g()(r,"media.image.alt"),l=g()(r,"media.image.key"),d=Object(E.a)(g()(r,"media.image")),f=Object(S.a)({caption:n,editable:a,id:t}),h=g()(r,"media.image.originalUrl"),p=this.props,m=p.animateBlockEntrance,v=p.isLearner,y=p.settings.zoomOnClick;return e.createElement(k.a,{animateBlockEntrance:m,animateIn:"right"===i?"fadeInRight":"fadeInLeft",isLearner:v},e.createElement(f.tagName,{"aria-labelledby":f.figcaptionId,className:"block-image__figure",role:f.role},e.createElement("div",{className:"block-image__image"},e.createElement(w.a,{alt:u,caption:n,disableZoom:!y,fileName:h,imageKey:l,src:d})),(a||n)&&e.createElement("figcaption",{id:f.figcaptionId},c(t,n))))}},{key:"render",value:function(){var t=this.props,n=t.items,r=t.settings,i=t.type,o=t.renderParagraph,a=void 0===o?this.renderParagraphDelegate:o,s=r.paddingTop,c=r.paddingBottom,u=r.backgroundColor,l=r.entranceAnimation,d=r.imagePosition,f=r.imageSize,h="right"===d,p=m()("block-image block-image--".concat(i),{"block-image--small":"small"===f,"block-image--large":"large"===f,"block-image--reverse":h,"block-image--no-animation":!l,"block-image--dark":Object(C.a)(u)}),v={backgroundColor:Object(_.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},g=n[0],y=g.id,b=g.caption,w=g.paragraph;return e.createElement("div",{className:p,"data-ba":O.blockImage,style:v},e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},h?a(y,w):this.renderImage(y,b,g,"left")),e.createElement("div",{className:"block-image__col"},h?this.renderImage(y,b,g,"right"):a(y,w)))))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string,editable:b.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"text-aside"}}}]),n}(e.Component),N=function(t){function n(){var e,t,r,i,a;Object(c.a)(this,n);for(var u=arguments.length,h=new Array(u),p=0;p<u;p++)h[p]=arguments[p];return(a=Object(l.a)(this,(e=Object(d.a)(n)).call.apply(e,s()(t=[this]).call(t,h)))).renderCaptionDelegate=o()(r=a.renderCaption).call(r,Object(f.a)(a)),a.renderOverlayDelegate=o()(i=a.renderOverlay).call(i,Object(f.a)(a)),a}return Object(h.a)(n,t),Object(u.a)(n,[{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--head brand--linkColor",value:n})}},{key:"renderOverlay",value:function(t,n){return e.createElement(x.a,{className:"block-image__paragraph brand--head brand--linkColor",value:n})}},{key:"renderOverlayCaption",value:function(t,n){var r=this.props,i=r.animateBlockEntrance,o=r.isLearner,a=r.renderOverlay,s=void 0===a?this.renderOverlayDelegate:a;return e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},e.createElement(k.a,{animateBlockEntrance:i,animateIn:"fadeInUp",isLearner:o,duration:1},s(t,n)))))}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.editable,i=t.isLearner,o=t.items,a=t.settings,s=t.type,c=t.renderCaption,u=void 0===c?this.renderCaptionDelegate:c,l=a.paddingTop,d=a.paddingBottom,f=a.backgroundColor,h=a.entranceAnimation,p=a.opacity,v=a.opacityColor,y=m()("block-image block-image--".concat(s),{"block-image--no-animation":!h,"block-image--dark":Object(C.a)(f)}),b={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},w={opacity:p||.6,backgroundColor:v||"transparent"},x=o[0],A=x.id,j=x.caption,N=g()(x,"media.image.key"),M=Object(E.a)(g()(x,"media.image")),P=g()(x,"media.image.alt"),I=g()(x,"media.image.originalUrl"),L=Object(T.a)({alt:P,caption:j,fileName:I,key:N}),D="overlay"===s,R=Object(S.a)({caption:j,editable:r,id:A,isOverlayType:D});return e.createElement(R.tagName,{"aria-labelledby":R.figcaptionId,className:y,"data-ba":O.blockImage,role:R.role,style:b},function(t,n,r,i){return n?i:e.createElement(k.a,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:r,duration:1},i)}(n,D,i,e.createElement("div",{className:"block-image__figure"},N&&e.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(M,"')")}},e.createElement("img",{src:M,alt:L,role:"img"}),e.createElement("div",{className:"block-image__overlay",style:w})),D?this.renderOverlayCaption(A,j,s):null)),!D&&(r||j)&&e.createElement("figcaption",{className:"block-image__container brand--body",id:R.figcaptionId},u(A,j)))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string,editable:b.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"full"}}}]),n}(e.Component),M=function(t){return e.createElement(N,Object(r.a)({type:"overlay"},t))}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return $});var r=n(18),i=n.n(r),o=n(157),a=n.n(o),s=n(23),c=n(3),u=n.n(c),l=n(4),d=n.n(l),f=n(9),h=n(6),p=n(10),m=n(8),v=n(5),g=n(11),y=(n(2135),n(0)),b=n.n(y),_=n(365),w=n.n(_),x=n(2),k=n.n(x),E=n(81),S=n.n(E),T=n(1),C=n.n(T),O=n(40),A=n.n(O),j=n(304),N=n(66),M=n(17),P=n(25),I=n(211),L=n(93),D=n(55),R=n(52),F=n(107),B=n(305),U=n(642),q=n(616),z=n(59).b.blocks;function H(e){var t=function(t){function n(){var e,t,r,i;Object(f.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(p.a)(this,(e=Object(m.a)(n)).call.apply(e,d()(t=[this]).call(t,a)))).renderCaptionDelegate=u()(r=i.renderCaption).call(r,Object(v.a)(i)),i}return Object(g.a)(n,t),Object(h.a)(n,[{key:"renderCaption",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return b.a.createElement(L.a,{className:"block-gallery__caption brand--body brand--linkColor",value:t,allowTabNavigation:n})}},{key:"render",value:function(){var t=this.props.renderCaption,n=void 0===t?this.renderCaptionDelegate:t;return b.a.createElement(e,Object(s.a)({},this.props,{renderCaption:n}))}}]),n}(b.a.Component);return t.displayName="withCaption(".concat(e.displayName||e.name,")"),t}var W=function(e){function t(e){var n;return Object(f.a)(this,t),(n=Object(p.a)(this,Object(m.a)(t).call(this,e))).state={isDotKeyboardFocusDisabled:!1},n}return Object(g.a)(t,e),Object(h.a)(t,[{key:"componentDidUpdate",value:function(){var e=this.sliderContainer.querySelector(".block-gallery__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(Object(M.b)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"onKeyDown",value:function(e){var t,n,r=this.slider;A()([[P.i,u()(t=r.slickNext).call(t,r)],[P.g,u()(n=r.slickPrev).call(n,r)]])(e)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,i=n.className,o=n.beforeChange,a=n.menuOpen,c={adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:r.length>1,nextArrow:b.a.createElement(V,{menuOpen:a}),prevArrow:b.a.createElement(V,{menuOpen:a,previous:!0}),dots:r.length>1,dotsClass:"block-gallery__dots-list brand--background-all brand--shadow-all",beforeChange:o};return b.a.createElement("div",{className:"block-gallery__slider-container",tabIndex:M.a,onKeyDown:u()(e=this.onKeyDown).call(e,this),ref:function(e){t.sliderContainer=e}},b.a.createElement(w.a,Object(s.a)({className:i,ref:function(e){t.slider=e}},c),r))}}],[{key:"propTypes",get:function(){return{children:C.a.node.isRequired,className:C.a.string.isRequired,beforeChange:C.a.func.isRequired,menuOpen:C.a.bool}}}]),t}(b.a.Component),V=function(e){function t(){return Object(f.a)(this,t),Object(p.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(h.a)(t,[{key:"render",value:function(){var e=this.props,t=e.menuOpen,n=e.onClick,r=e.previous,i=k()("block-gallery__arrow",{"block-gallery__arrow--next":!r,"block-gallery__arrow--prev":r}),o=window.document.documentMode,a=k()("block-gallery__controls",{"block-gallery__controls--ie":o&&!t,"block-gallery__controls--ie-menu-open":o&&t});return b.a.createElement("div",{className:a},b.a.createElement("div",{className:i,onClick:n},b.a.createElement("div",{className:"block-gallery__arrow-icon"})))}}],[{key:"propTypes",get:function(){return{menuOpen:C.a.bool,onClick:C.a.func,previous:C.a.bool}}},{key:"defaultProps",get:function(){return{previous:!1}}}]),t}(b.a.Component),Y=function(e){function t(){return Object(f.a)(this,t),Object(p.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(h.a)(t,[{key:"slickGoTo",value:function(e){this.slider.slickGoTo(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className;return b.a.createElement(w.a,Object(s.a)({ref:function(t){e.slider=t},className:r},{adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,draggable:!1,swipe:!1,accessibility:!1}),n)}}],[{key:"propTypes",get:function(){return{children:C.a.node.isRequired,className:C.a.string}}}]),t}(b.a.Component),G=function(e){var t=e.children;return b.a.createElement("div",{className:"block-gallery__container"},b.a.createElement("div",{className:"block-gallery__row--slide-row"},b.a.createElement("div",{className:"block-gallery__col"},t)))},K=function(e){function t(e){var n;return Object(f.a)(this,t),(n=Object(p.a)(this,Object(m.a)(t).call(this,e))).state={currentIndex:0},n}return Object(g.a)(t,e),Object(h.a)(t,[{key:"componentDidUpdate",value:function(){var e=Object(I.b)(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=Object(I.b)(this.carousel.querySelectorAll(".slick-slide:not(.slick-active) button"));a()(e).call(e,function(e){var t=e.getAttribute("data-tabindex");t&&(e.tabIndex=t)}),a()(t).call(t,function(e){e.setAttribute("data-tabindex",e.tabIndex),e.tabIndex=M.i})}},{key:"handleSlideChangeBefore",value:function(e,t){this.captions.slickGoTo(t),this.props.onStep(this.props.items[t]),this.setState({currentIndex:t})}},{key:"renderImages",value:function(e,t){var n=this.state.currentIndex;return i()(e).call(e,function(e,r){var i=e.id,o=e.caption,a=r===n,s=S()(e,"media.image.alt"),c=S()(e,"media.image.originalUrl"),u=S()(e,"media.image.key"),l=Object(R.a)(S()(e,"media.image"));return b.a.createElement("div",{key:i,className:"block-gallery__slide"},b.a.createElement(G,null,b.a.createElement("div",{className:"block-gallery__figure"},b.a.createElement("div",{className:"block-gallery__image"},b.a.createElement(j.a,{allowTabNavigation:a,alt:s,caption:o,disableZoom:!t,fileName:c,imageKey:u,src:l})))))})}},{key:"renderCaptions",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.editable,o=n.renderCaption;return i()(e).call(e,function(e,n){var i=e.id,a=e.caption,s=n===t;return b.a.createElement("div",{key:i,className:"block-gallery__slide"},a||r?b.a.createElement(G,null,o(i,a,s)):null)})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.menuOpen,s=n.type,c=n.settings,l=c.paddingTop,d=c.paddingBottom,f=c.backgroundColor,h=c.entranceAnimation,p=c.zoomOnClick,m=k()("block-gallery block-gallery--".concat(s),{"block-gallery--no-animation":!h}),v={backgroundColor:Object(N.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")};return b.a.createElement("div",{style:v},b.a.createElement(D.a,{animateBlockEntrance:r,animateIn:"fadeIn",offset:200,isLearner:i},b.a.createElement("div",{className:m,"data-ba":z.blockGallery,ref:function(e){t.carousel=e}},b.a.createElement(W,{className:"block-gallery__images",beforeChange:u()(e=this.handleSlideChangeBefore).call(e,this),menuOpen:a},this.renderImages(o,p)),b.a.createElement(Y,{className:"block-gallery__captions",ref:function(e){t.captions=e}},this.renderCaptions(o)))))}}],[{key:"propTypes",get:function(){return{lessonId:C.a.any,blockId:C.a.any,items:C.a.array.isRequired,settings:C.a.object.isRequired,type:C.a.string,editable:C.a.bool,onStep:C.a.func,menuOpen:C.a.bool}}},{key:"defaultProps",get:function(){return{type:"carousel",lessonId:"",blockId:"",items:[],onStep:Function.prototype}}}]),t}(b.a.Component);t.b=H(K);var $=H(function(e){function t(){return Object(f.a)(this,t),Object(p.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(g.a)(t,e),Object(h.a)(t,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.isLearner,o=e.items,a=e.settings,s=e.width,c=e.renderCaption,u=a.paddingTop,l=a.paddingBottom,d=a.backgroundColor,f=a.entranceAnimation,h=a.zoomOnClick,p=k()("block-gallery block-gallery--".concat(function(e){switch(e){case 3:return"threecol";case 4:return"fourcol";default:return"twocol"}}(s)),{"block-gallery--no-animation":!f}),m={backgroundColor:Object(N.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")};return b.a.createElement("div",{className:p,"data-ba":z.blockGallery,style:m},b.a.createElement("div",{className:"block-gallery__container"},b.a.createElement("div",{className:"block-gallery__row"},b.a.createElement(D.a,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-gallery__col",isLearner:r,siblingDelay:.25},i()(o).call(o,function(e){var r=e.id,i=e.caption,o=S()(e,"media.image.alt"),a=S()(e,"media.image.key"),s=Object(R.a)(S()(e,"media.image")),u=Object(F.a)({caption:i,editable:n,id:r}),l=S()(e,"media.image.originalUrl");return b.a.createElement("div",{key:r,className:t?"":"block-gallery__col"},b.a.createElement(u.tagName,{"aria-labelledby":u.figcaptionId,className:"block-gallery__figure",role:u.role},a&&b.a.createElement(X,{alt:o,caption:i,disableZoom:!h,fileName:l,imageKey:a,src:s}),(n||i)&&b.a.createElement("figcaption",{id:u.figcaptionId},c(r,i))))})))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:C.a.bool.isRequired,lessonId:C.a.any,blockId:C.a.any,isLearner:C.a.bool.isRequired,items:C.a.array.isRequired,settings:C.a.object.isRequired,width:C.a.number,editable:C.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",items:[],lessonId:"",width:2}}}]),t}(b.a.Component)),X=function(e){var t=e.alt,n=e.caption,r=e.disableZoom,i=e.fileName,o=e.imageKey,a=e.src,s=Object(y.useRef)(),c=Object(y.useRef)(),u=Object(B.a)({alt:t,caption:n,fileName:i,key:o}),l=a?{backgroundImage:"url('".concat(a,"')")}:void 0,d=Object(y.useCallback)(function(e){c.current.zoom(s.current,e.currentTarget,{})},[]);Object(y.useEffect)(function(){var e=Object(U.a)();return c.current=e,function(){e.cleanup()}},[]);var f=k()("block-gallery__image",{"img-zoom":!r}),h=r?void 0:d;return b.a.createElement("div",{className:f,style:l},b.a.createElement("div",{className:"img"},b.a.createElement("img",{alt:u,onClick:h,ref:s,role:"img",src:a})),!r&&b.a.createElement("button",{"aria-label":"Zoom image",className:"img-btn img-zoom visually-hidden",onClick:d,type:"button"},b.a.createElement(q.a,{"aria-hidden":"true",className:"img-btn-symbol"})))}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(795),a=n(184),s=n.n(a);function c(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 u={above:"above",inside:"inside",below:"below",invisible:"invisible"};var l="<Waypoint> expected to receive a single React element child.\n\nSee https://goo.gl/LrBNgw for more info.";function d(e){if(e)try{i.a.Children.only(e)}catch(e){throw new Error(l)}}function f(e){return"string"==typeof e.type}var h="<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.";var p=void 0,m=[];function v(e){m.push(e),p||(p=setTimeout(function(){p=null;for(var e=void 0;e=m.shift();)e()},0));var t=!0;return function(){return function(){if(t){t=!1;var n=m.indexOf(e);-1!==n&&(m.splice(n,1),!m.length&&p&&(clearTimeout(p),p=null))}}}()}var g=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 y={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){return function(){}}(),onLeave:function(){return function(){}}(),onPositionChange:function(){return function(){}}(),fireOnRapidScroll:!0},b=void 0!==i.a.PureComponent?i.a.PureComponent:i.a.Component,_=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.refElement=function(e){return t._ref=e},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,b),g(n,[{key:"componentWillMount",value:function(){return function(){d(this.props.children)}}()},{key:"componentDidMount",value:function(){return function(){var e=this;n.getWindow()&&(this.cancelOnNextTick=v(function(){e.cancelOnNextTick=null,function(e,t){if(e&&!f(e)&&!t)throw new Error(h)}(e.props.children,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=Object(o.a)(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=Object(o.a)(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)}))}}()},{key:"componentWillReceiveProps",value:function(){return function(e){d(e.children)}}()},{key:"componentDidUpdate",value:function(){return function(){var e=this;n.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=v(function(){e.cancelOnNextTick=null,e._handleScroll(null)})))}}()},{key:"componentWillUnmount",value:function(){return function(){n.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}}()},{key:"_findScrollableAncestor",value:function(){return function(){var t=this.props,n=t.horizontal,r=t.scrollableAncestor;if(r)return function(t){return"window"===t?e.window:t}(r);for(var i=this._ref;i.parentNode;){if((i=i.parentNode)===document.body)return window;var o=window.getComputedStyle(i),a=(n?o.getPropertyValue("overflow-x"):o.getPropertyValue("overflow-y"))||o.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return i}return window}}()},{key:"_handleScroll",value:function(){return function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?u.invisible:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom?u.inside:e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom?u.inside:e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?u.inside:e.viewportBottom<e.waypointTop?u.below:e.waypointTop<e.viewportTop?u.above:u.invisible}(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===u.inside?this.props.onEnter.call(this,i):r===u.inside&&this.props.onLeave.call(this,i);var o=r===u.below&&n===u.above,a=r===u.above&&n===u.below;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:u.inside,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:u.inside,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}}()},{key:"_getBounds",value:function(){return 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,l=void 0;this.scrollableAncestor===window?(u=e?window.innerWidth:window.innerHeight,l=0):(u=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,l=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var d=this.props,f=d.bottomOffset;return{waypointTop:a,waypointBottom:s,viewportTop:l+c(d.topOffset,u),viewportBottom:l+u-c(f,u)}}}()},{key:"render",value:function(){return function(){var e=this,t=this.props.children;if(!t)return i.a.createElement("span",{ref:this.refElement,style:{fontSize:0}});if(f(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return i.a.cloneElement(t,{ref:n})}return i.a.cloneElement(t,{innerRef:this.refElement})}}()}]),n}();_.propTypes={children:s.a.node,debug:s.a.bool,onEnter:s.a.func,onLeave:s.a.func,onPositionChange:s.a.func,fireOnRapidScroll:s.a.bool,scrollableAncestor:s.a.any,horizontal:s.a.bool,topOffset:s.a.oneOfType([s.a.string,s.a.number]),bottomOffset:s.a.oneOfType([s.a.string,s.a.number])},_.above=u.above,_.below=u.below,_.inside=u.inside,_.invisible=u.invisible,_.getWindow=function(){if("undefined"!=typeof window)return window},_.defaultProps=y,_.displayName="Waypoint",t.a=_}).call(this,n(100))},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);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)})},,function(e,t,n){var r=n(428)("keys"),i=n(429);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(106)("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}},function(e,t,n){var r=n(231),i=n(106)("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}},function(e,t,n){"use strict";var r=n(198),i=n(313),o=n(435),a=n(214),s=n(664),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(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")},function(e,t,n){"use strict";var r=n(65),i=n(105),o=n(95).NATIVE_ARRAY_BUFFER,a=n(172),s=n(374),c=n(58),u=n(315),l=n(215),d=n(108),f=n(826),h=n(342).f,p=n(123).f,m=n(662),v=n(252),g=n(214),y=g.get,b=g.set,_=r.ArrayBuffer,w=_,x=r.DataView,k=r.Math,E=r.RangeError,S=k.abs,T=k.pow,C=k.floor,O=k.log,A=k.LN2,j=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?T(2,-24)-T(2,-77):0,d=e<0||0===e&&1/e<0?1:0,f=0;for((e=S(e))!=e||e===1/0?(i=e!=e?1:0,r=c):(r=C(O(e)/A),e*(o=T(2,-r))<1&&(r--,o*=2),(e+=r+u>=1?l/o:l*T(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(e*o-1)*T(2,t),r+=u):(i=e*T(2,u-1)*T(2,t),r=0));t>=8;a[f++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a},N=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;s>0;l=256*l+e[c],c--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:u?-1/0:1/0;n+=T(2,t),l-=a}return(u?-1:1)*n*T(2,l-t)},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},L=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},D=function(e){return j(e,23,4)},R=function(e){return j(e,52,8)},F=function(e,t){p(e.prototype,t,{get:function(){return y(this)[t]}})},B=function(e,t,n,r){var i=f(+n),o=y(e);if(i+t>o.byteLength)throw E("Wrong index");var a=y(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},U=function(e,t,n,r,i,o){var a=f(+n),s=y(e);if(a+t>s.byteLength)throw E("Wrong index");for(var c=y(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),d=0;d<t;d++)c[u+d]=l[o?d:t-d-1]};if(o){if(!c(function(){_(1)})||!c(function(){new _(-1)})||c(function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name})){for(var q,z=(w=function(e){return u(this,w),new _(f(e))}).prototype=_.prototype,H=h(_),W=0;H.length>W;)(q=H[W++])in w||a(w,q,_[q]);z.constructor=w}var V=new x(new w(2)),Y=x.prototype.setInt8;V.setInt8(0,2147483648),V.setInt8(1,2147483649),!V.getInt8(0)&&V.getInt8(1)||s(x.prototype,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},{unsafe:!0})}else w=function(e){u(this,w,"ArrayBuffer");var t=f(e);b(this,{bytes:m.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},x=function(e,t,n){u(this,x,"DataView"),u(e,w,"DataView");var r=y(e).byteLength,o=l(t);if(o<0||o>r)throw E("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw E("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(F(w,"byteLength"),F(x,"buffer"),F(x,"byteLength"),F(x,"byteOffset")),s(x.prototype,{getInt8:function(e){return B(this,1,e)[0]<<24>>24},getUint8:function(e){return B(this,1,e)[0]},getInt16:function(e){var t=B(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=B(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return M(B(this,4,e,arguments[1]))},getUint32:function(e){return M(B(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return N(B(this,4,e,arguments[1]),23)},getFloat64:function(e){return N(B(this,8,e,arguments[1]),52)},setInt8:function(e,t){U(this,1,e,P,t)},setUint8:function(e,t){U(this,1,e,P,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments[2])},setUint16:function(e,t){U(this,2,e,I,t,arguments[2])},setInt32:function(e,t){U(this,4,e,L,t,arguments[2])},setUint32:function(e,t){U(this,4,e,L,t,arguments[2])},setFloat32:function(e,t){U(this,4,e,D,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,R,t,arguments[2])}});v(w,"ArrayBuffer"),v(x,"DataView"),t.ArrayBuffer=w,t.DataView=x},function(e,t,n){"use strict";var r=n(65),i=n(432),o=n(19),a=n(186),s=n(345),c=n(438),u=n(315),l=n(85),d=n(58),f=n(510),h=n(252),p=n(667);e.exports=function(e,t,n,m,v){var g=r[e],y=g&&g.prototype,b=g,_=m?"set":"add",w={},x=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!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 g||!(v||y.forEach&&!d(function(){(new g).entries().next()}))))b=n.getConstructor(t,e,m,_),s.REQUIRED=!0;else if(i(e,!0)){var k=new b,E=k[_](v?{}:-0,1)!=k,S=d(function(){k.has(1)}),T=f(function(e){new g(e)}),C=!v&&d(function(){for(var e=new g,t=5;t--;)e[_](t,t);return!e.has(-0)});T||((b=t(function(t,n){u(t,b,e);var r=p(new g,t,b);return null!=n&&c(n,r[_],r,m),r})).prototype=y,y.constructor=b),(S||C)&&(x("delete"),x("has"),m&&x("get")),(C||E)&&x(_),v&&y.clear&&delete y.clear}return w[e]=b,o({global:!0,forced:b!=g},w),h(b,e),v||n.setStrong(b,e,m),b}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t,n){"use strict";e.exports=n(340)||!n(58)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(65)[e]})},function(e,t,n){var r=n(65).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(94);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}},function(e,t,n){"use strict";var r,i,o=n(519),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(e){var t,n,r,i,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),u&&(t=c.lastIndex),r=a.call(c,e),u&&r&&(c.lastIndex=c.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=c},function(e,t,n){var r=n(215),i=n(213);e.exports=function(e,t,n){var o,a,s=String(i(e)),c=r(t),u=s.length;return c<0||c>=u?n?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?n?s.charAt(c):o:n?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}},function(e,t,n){var r=n(231),i=n(520);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)}},function(e,t,n){"use strict";var r=n(172),i=n(186),o=n(58),a=n(106),s=n(520),c=a("species"),u=!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,d){var f=a(e),h=!o(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),p=h&&!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t});if(!h||!p||"replace"===e&&!u||"split"===e&&!l){var m=/./[f],v=n(f,""[e],function(e,t,n,r,i){return t.exec===s?h&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),g=v[0],y=v[1];i(String.prototype,e,g),i(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),d&&r(RegExp.prototype[f],"sham",!0)}}},function(e,t,n){var r=n(124),i=n(346),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(155);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")}},function(e,t,n){var r=n(680),i=n(527),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(287),i=n(347),o=n(130)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(124),i=n(130),o=n(693),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})}},function(e,t,n){var r=n(202);e.exports=r("navigator","userAgent")||""},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t,n){var r=n(254),i=n(533);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(448),i=n(255),o=n(697),a=n(86),s=n(218),c=n(449),u=n(881),l=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(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)?m(n,p(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var h=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},p=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!h(t))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:m,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(!c(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(!c(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)||!c(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=u(e);return t.reduceRight(f("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=u(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(218),i=n(1587),o=n(236),a=n(880),s=n(175),c=function(e,t){return e.valueOf()===t.valueOf()},u={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(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(u[a(e)]||c)(e,t))}e.exports=d},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(236);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports=function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick(function(){e.apply(null,o)})}}:e.exports=t.nextTick}).call(this,n(320))},function(e,t,n){var r=n(378),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)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(709);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},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(709)),o=a(n(909));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},function(e,t,n){var r=n(50),i=n(321),o=n(454);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)))))})},function(e,t,n){var r=n(50),i=n(454);e.exports=r(function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()})},function(e,t){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}},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(50),i=n(918);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){var r=n(20),i=n(32);e.exports=r(function(e,t){return function(n){return function(r){return i(function(e){return t(e,r)},n(e(r)))}}})},function(e,t,n){var r=n(20);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,c){return t.call(this,e,n,r,i,o,a,s,c)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.call(this,e,n,r,i,o,a,s,c,u)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.call(this,e,n,r,i,o,a,s,c,u,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},function(e,t,n){var r=n(534),i=n(148),o=n(187),a=n(219),s=n(1801);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)}))},function(e,t){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}},function(e,t,n){var r=n(61),i=n(713),o=n(724);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)})},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t,n){var r=n(188),i=n(1996),o=n(971),a=n(728),s=n(1998),c=n(379),u=n(972),l=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}));e.exports=l},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(732),i=n(462);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},function(e,t,n){var r=n(382),i=n(383),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(259).Symbol;e.exports=r},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(463)),o=s(n(986)),a=s(n(736));function s(e){return e&&e.__esModule?e:{default:e}}var c={},u=void 0;t.default={unmount:function(){c={}},register:function(e,t){c[e]=t},unregister:function(e){delete c[e]},get:function(e){return c[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,c=t.container,u=void 0;u=s?document.getElementById(s):c&&c.nodeType?c:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var l=i.default.scrollOffset(u,n)+(t.offset||0);if(!t.smooth)return u===document?window.scrollTo(0,l):u.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")}}},function(e,t,n){e.exports=n(2066)()},function(e,t,n){var r=n(384)(Object,"create");e.exports=r},function(e,t,n){var r=n(2096),i=n(2097),o=n(2098),a=n(2099),s=n(2100);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(993);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(2102);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(994);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(559),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},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(0)),o=a(n(103));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.getOnDemandLazySlides=function(e){for(var t=[],n=c(e),r=u(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},c=(t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),r=u(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-l(e)}),u=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},l=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},d=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},f=t.getWidth=function(e){return e&&e.offsetWidth||0},h=t.getHeight=function(e){return e&&e.offsetHeight||0},p=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"},m=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},v=(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(f(o.default.findDOMNode(e.listRef))),r=Math.ceil(f(o.default.findDOMNode(e.trackRef))),a=void 0;if(e.vertical)a=n;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=n/100),a=Math.ceil((n-c)/e.slidesToShow)}var u=o.default.findDOMNode(e.listRef)&&h(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=u*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=t-1-e.initialSlide);var p=e.lazyLoadedList||[],m=s({currentSlide:d,lazyLoadedList:p},e);p.concat(m);var v={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:d,slideHeight:u,listHeight:l,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(v.autoplaying="playing"),v},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,o=e.infinite,a=e.index,c=e.slideCount,u=e.lazyLoadedList,l=e.lazyLoad,d=e.currentSlide,f=e.centerMode,h=e.slidesToScroll,p=e.slidesToShow,v=e.useCSS;if(t&&n)return{};var g=a,y=void 0,b=void 0,k=void 0,E={},S={};if(i){if(!o&&(a<0||a>=c))return{};a<0?g=a+c:a>=c&&(g=a-c),l&&u.indexOf(g)<0&&u.push(g),E={animating:!0,currentSlide:g,lazyLoadedList:u},S={animating:!1}}else y=g,g<0?(y=g+c,o?c%h!=0&&(y=c-c%h):y=0):!m(e)&&g>d?g=y=d:f&&g>=c?(g=o?c:c-1,y=o?0:c-1):g>=c&&(y=g-c,o?c%h!=0&&(y=0):y=c-p),b=x(r({},e,{slideIndex:g})),k=x(r({},e,{slideIndex:y})),o||(b===k&&(g=y),b=k),l&&u.concat(s(r({},e,{currentSlide:g}))),v?(E={animating:!0,currentSlide:y,trackStyle:w(r({},e,{left:b})),lazyLoadedList:u},S={animating:!1,currentSlide:y,trackStyle:_(r({},e,{left:k})),swipeLeft:null}):E={currentSlide:y,trackStyle:_(r({},e,{left:k})),lazyLoadedList:u};return{state:E,nextState:S}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,l=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(n=u%s!=0?0:(u-l)%s,"previous"===t.message)a=l-(o=0===n?s:c-n),d&&!f&&(a=-1===(i=l-o)?u-1:i);else if("next"===t.message)a=l+(o=0===n?s:n),d&&!f&&(a=(l+s)%u+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(f){var h=T(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===h?a-=u:a<t.currentSlide&&"right"===h&&(a+=u)}}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,c=t.rtl,u=t.currentSlide,l=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,h=t.swiped,v=t.swiping,g=t.slideCount,y=t.slidesToScroll,b=t.infinite,w=t.touchObject,k=t.swipeEvent,E=t.listHeight,S=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var T=void 0,C={},O=x(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 A=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!v&&A>10)return{scrolling:!0};s&&(w.swipeLength=A);var j=(c?-1:1)*(w.curX>w.startX?1:-1);s&&(j=w.curY>w.startY?1:-1);var N=Math.ceil(g/y),M=p(t.touchObject,s),P=w.swipeLength;return b||(0===u&&"right"===M||u+1>=N&&"left"===M||!m(t)&&"left"===M)&&(P=w.swipeLength*l,!1===d&&f&&(f(M),C.edgeDragged=!0)),!h&&k&&(k(M),C.swiped=!0),T=o?O+P*(E/S)*j:c?O-P*j:O+P*j,s&&(T=O+P*j),C=r({},C,{touchObject:w,swipeLeft:T,trackStyle:_(r({},t,{left:T}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?C:(w.swipeLength>10&&(C.swiping=!0,e.preventDefault()),C)}},t.swipeEnd=function(e,t){var n=t.dragging,i=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,l=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,h=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var m=c?u/s:a/s,v=p(o,c),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return b;if(!o.swipeLength)return b;if(o.swipeLength>m){e.preventDefault(),h&&h(v);var _=void 0,k=void 0;switch(v){case"left":case"up":k=l+y(t),_=d?g(t,k):k,b.currentDirection=0;break;case"right":case"down":k=l-y(t),_=d?g(t,k):k,b.currentDirection=1;break;default:_=l}b.triggerSlideHandler=_}else{var E=x(t);b.trackStyle=w(r({},t,{left:E}))}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}),g=t.checkNavigable=function(e,t){var n=v(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},y=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+h(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+f(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=S(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)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:a,transform:s,msTransform:c})}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},x=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,c=e.slideCount,u=e.slidesToShow,l=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,h=e.variableWidth,p=e.slideHeight,m=e.fade,v=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-k(e),c%l!=0&&r+l>c&&(g=-(r>c?u-(r-c):c%l)),s&&(g+=parseInt(u/2))):(c%l!=0&&r+l>c&&(g=u-c%l),s&&(g=parseInt(u/2))),t=v?r*p*-1+g*p:r*d*-1+g*d,!0===h){var y,_=o.default.findDOMNode(i);if(y=r+k(e),t=(n=_&&_.childNodes[y])?-1*n.offsetLeft:0,!0===s){y=a?r+k(e):r,n=_&&_.children[y],t=0;for(var w=0;w<y;w++)t-=_&&_.children[w]&&_.children[w].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(f-n.offsetWidth)/2}}return t},k=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},E=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},S=t.getTotalSlides=function(e){return 1===e.slideCount?1:k(e)+e.slideCount+E(e)},T=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+C(e)?"left":"right":e.targetSlide<e.currentSlide-O(e)?"right":"left"},C=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},O=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)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(86);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(293);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},function(e,t,n){var r=n(2212),i=n(2217),o=n(1123);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){"use strict";var r,i={noop:function(){},uid:(r=0,function(){return r++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return i.valueOrDefault(i.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var o,a,s;if(i.isArray(e))if(a=e.length,r)for(o=a-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<a;o++)t.call(n,e[o],o);else if(i.isObject(e))for(a=(s=Object.keys(e)).length,o=0;o<a;o++)t.call(n,e[s[o]],s[o])},arrayEquals:function(e,t){var n,r,o,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],a=t[n],o instanceof Array&&a instanceof Array){if(!i.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},clone:function(e){if(i.isArray(e))return e.map(i.clone);if(i.isObject(e)){for(var t={},n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=i.clone(e[n[o]]);return t}return e},_merger:function(e,t,n,r){var o=t[e],a=n[e];i.isObject(o)&&i.isObject(a)?i.merge(o,a,r):t[e]=i.clone(a)},_mergerIf:function(e,t,n){var r=t[e],o=n[e];i.isObject(r)&&i.isObject(o)?i.mergeIf(r,o):t.hasOwnProperty(e)||(t[e]=i.clone(o))},merge:function(e,t,n){var r,o,a,s,c,u=i.isArray(t)?t:[t],l=u.length;if(!i.isObject(e))return e;for(r=(n=n||{}).merger||i._merger,o=0;o<l;++o)if(t=u[o],i.isObject(t))for(c=0,s=(a=Object.keys(t)).length;c<s;++c)r(a[c],e,t,n);return e},mergeIf:function(e,t){return i.merge(e,t,{merger:i._mergerIf})},extend:function(e){for(var t=function(t,n){e[n]=t},n=1,r=arguments.length;n<r;++n)i.each(arguments[n],t);return e},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=i.inherits,e&&i.extend(n.prototype,e),n.__super__=t.prototype,n}};e.exports=i,i.callCallback=i.callback,i.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},i.getValueOrDefault=i.valueOrDefault,i.getValueAtIndexOrDefault=i.valueAtIndexOrDefault},function(e,t,n){var r=n(2309),i=n(2310),o=n(2311),a=n(2312),s=n(2313);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(1151);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(294).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(359)(Object,"create");e.exports=r},function(e,t,n){var r=n(2333);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(2353),i=n(2360),o=n(750);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(468),i=n(469),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(581),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){var r=n(258);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(205),i=n(296),o=n(585),a=n(2456),s=!{toString:null}.propertyIsEnumerable("toString"),c=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=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},d=i("function"!=typeof r||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=u&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=c.length-1;n>=0;)o(t=c[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=d},function(e,t,n){"use strict";e.exports=n(1540)},function(e,t,n){var r=n(20),i=n(545),o=n(54),a=n(325),s=n(238),c=n(115);e.exports=r(function(e,t){return o(c(a,0,s("length",t)),function(){var n=arguments,r=this;return e.apply(r,i(function(e){return e.apply(r,n)},t))})})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e||t})},function(e,t,n){var r=n(20),i=n(148),o=n(924);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}))},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e.apply(this,t)})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r})},function(e,t,n){var r=n(254),i=n(1725),o=n(115),a=n(470);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)))}},function(e,t,n){var r=n(352),i=n(20);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})},function(e,t,n){var r=n(20),i=n(148),o=n(1804),a=n(189);e.exports=r(i(["drop"],o,function(e,t){return a(Math.max(0,e),1/0,t)}))},function(e,t,n){"use strict";var r,i,o=n(741).toUnsigned,a=function(e){return new Date(1e3*e-20828448e5)},s=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]}},c=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])},u=function(e,t){var n,r,i,a,s,l=[];if(!t.length)return null;for(n=0;n<e.byteLength;)r=o(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),i=c(e.subarray(n+4,n+8)),a=r>1?n+r:e.byteLength,i===t[0]&&(1===t.length?l.push(e.subarray(n+8,a)):(s=u(e.subarray(n+8,a),t.slice(1))).length&&(l=l.concat(s))),n=a;return l},l=function(e){var t,n,r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=[];for(t=0;t+4<e.length;t+=n)if(n=r.getUint32(t),t+=4,n<=0)i.push("<span style='color:red;'>MALFORMED DATA</span>");else switch(31&e[t]){case 1:i.push("slice_layer_without_partitioning_rbsp");break;case 5:i.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:i.push("sei_rbsp");break;case 7:i.push("seq_parameter_set_rbsp");break;case 8:i.push("pic_parameter_set_rbsp");break;case 9:i.push("access_unit_delimiter_rbsp");break;default:i.push("UNKNOWN NAL - "+e[t]&31)}return i},d={avc1:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{dataReferenceIndex:t.getUint16(6),width:t.getUint16(24),height:t.getUint16(26),horizresolution:t.getUint16(28)+t.getUint16(30)/16,vertresolution:t.getUint16(32)+t.getUint16(34)/16,frameCount:t.getUint16(40),depth:t.getUint16(74),config:r(e.subarray(78,e.byteLength))}},avcC:function(e){var t,n,r,i,o=new DataView(e.buffer,e.byteOffset,e.byteLength),a={configurationVersion:e[0],avcProfileIndication:e[1],profileCompatibility:e[2],avcLevelIndication:e[3],lengthSizeMinusOne:3&e[4],sps:[],pps:[]},s=31&e[5];for(r=6,i=0;i<s;i++)n=o.getUint16(r),r+=2,a.sps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;for(t=e[r],r++,i=0;i<t;i++)n=o.getUint16(r),r+=2,a.pps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;return a},btrt:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{bufferSizeDB:t.getUint32(0),maxBitrate:t.getUint32(4),avgBitrate:t.getUint32(8)}},esds:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),esId:e[6]<<8|e[7],streamPriority:31&e[8],decoderConfig:{objectProfileIndication:e[11],streamType:e[12]>>>2&63,bufferSize:e[13]<<16|e[14]<<8|e[15],maxBitrate:e[16]<<24|e[17]<<16|e[18]<<8|e[19],avgBitrate:e[20]<<24|e[21]<<16|e[22]<<8|e[23],decoderConfigDescriptor:{tag:e[24],length:e[25],audioObjectType:e[26]>>>3&31,samplingFrequencyIndex:(7&e[26])<<1|e[27]>>>7&1,channelConfiguration:e[27]>>>3&15}}}},ftyp:function(e){for(var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={majorBrand:c(e.subarray(0,4)),minorVersion:t.getUint32(4),compatibleBrands:[]},r=8;r<e.byteLength;)n.compatibleBrands.push(c(e.subarray(r,r+4))),r+=4;return n},dinf:function(e){return{boxes:r(e)}},dref:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),dataReferences:r(e.subarray(8))}},hdlr:function(e){var t={version:new DataView(e.buffer,e.byteOffset,e.byteLength).getUint8(0),flags:new Uint8Array(e.subarray(1,4)),handlerType:c(e.subarray(8,12)),name:""},n=8;for(n=24;n<e.byteLength;n++){if(0===e[n]){n++;break}t.name+=String.fromCharCode(e[n])}return t.name=decodeURIComponent(escape(t.name)),t},mdat:function(e){return{byteLength:e.byteLength,nals:l(e)}},mdhd:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=4,i={version:n.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),language:""};return 1===i.version?(r+=4,i.creationTime=a(n.getUint32(r)),r+=8,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=8,i.duration=n.getUint32(r)):(i.creationTime=a(n.getUint32(r)),r+=4,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=4,i.duration=n.getUint32(r)),r+=4,t=n.getUint16(r),i.language+=String.fromCharCode(96+(t>>10)),i.language+=String.fromCharCode(96+((992&t)>>5)),i.language+=String.fromCharCode(96+(31&t)),i},mdia:function(e){return{boxes:r(e)}},mfhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sequenceNumber:e[4]<<24|e[5]<<16|e[6]<<8|e[7]}},minf:function(e){return{boxes:r(e)}},mp4a:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={dataReferenceIndex:t.getUint16(6),channelcount:t.getUint16(16),samplesize:t.getUint16(18),samplerate:t.getUint16(24)+t.getUint16(26)/65536};return e.byteLength>28&&(n.streamDescriptor=r(e.subarray(28))[0]),n},moof:function(e){return{boxes:r(e)}},moov:function(e){return{boxes:r(e)}},mvex:function(e){return{boxes:r(e)}},mvhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=4,r.duration=t.getUint32(n)),n+=4,r.rate=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,n+=8,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,n+=24,r.nextTrackId=t.getUint32(n),r},pdin:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),rate:t.getUint32(4),initialDelay:t.getUint32(8)}},sdtp:function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]};for(t=4;t<e.byteLength;t++)n.samples.push({dependsOn:(48&e[t])>>4,isDependedOn:(12&e[t])>>2,hasRedundancy:3&e[t]});return n},sidx:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:n.getUint32(4),timescale:n.getUint32(8),earliestPresentationTime:n.getUint32(12),firstOffset:n.getUint32(16)},i=n.getUint16(22);for(t=24;i;t+=12,i--)r.references.push({referenceType:(128&e[t])>>>7,referencedSize:2147483647&n.getUint32(t),subsegmentDuration:n.getUint32(t+4),startsWithSap:!!(128&e[t+8]),sapType:(112&e[t+8])>>>4,sapDeltaTime:268435455&n.getUint32(t+8)});return r},smhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),balance:e[4]+e[5]/256}},stbl:function(e){return{boxes:r(e)}},stco:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),chunkOffsets:[]},i=n.getUint32(4);for(t=8;i;t+=4,i--)r.chunkOffsets.push(n.getUint32(t));return r},stsc:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=n.getUint32(4),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleToChunks:[]};for(t=8;r;t+=12,r--)i.sampleToChunks.push({firstChunk:n.getUint32(t),samplesPerChunk:n.getUint32(t+4),sampleDescriptionIndex:n.getUint32(t+8)});return i},stsd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleDescriptions:r(e.subarray(8))}},stsz:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleSize:n.getUint32(4),entries:[]};for(t=12;t<e.byteLength;t+=4)r.entries.push(n.getUint32(t));return r},stts:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),timeToSamples:[]},i=n.getUint32(4);for(t=8;i;t+=8,i--)r.timeToSamples.push({sampleCount:n.getUint32(t),sampleDelta:n.getUint32(t+4)});return r},styp:function(e){return d.ftyp(e)},tfdt:function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4)),baseMediaDecodeTime:o(e[4]<<24|e[5]<<16|e[6]<<8|e[7])};return 1===t.version&&(t.baseMediaDecodeTime*=Math.pow(2,32),t.baseMediaDecodeTime+=o(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),t},tfhd: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],c=32&r.flags[2],u=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),c&&(r.defaultSampleFlags=n.getUint32(t)),u&&(r.durationIsEmpty=!0),!i&&l&&(r.baseDataOffsetIsMoof=!0),r},tkhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=4,r.duration=t.getUint32(n)),n+=4,n+=8,r.layer=t.getUint16(n),n+=2,r.alternateGroup=t.getUint16(n),n+=2,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,r.width=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.height=t.getUint16(n)+t.getUint16(n+2)/16,r},traf:function(e){return{boxes:r(e)}},trak:function(e){return{boxes:r(e)}},trex:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:t.getUint32(4),defaultSampleDescriptionIndex:t.getUint32(8),defaultSampleDuration:t.getUint32(12),defaultSampleSize:t.getUint32(16),sampleDependsOn:3&e[20],sampleIsDependedOn:(192&e[21])>>6,sampleHasRedundancy:(48&e[21])>>4,samplePaddingValue:(14&e[21])>>1,sampleIsDifferenceSample:!!(1&e[21]),sampleDegradationPriority:t.getUint16(22)}},trun: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],c=2&n.flags[1],u=4&n.flags[1],l=8&n.flags[1],d=r.getUint32(4),f=8;for(i&&(n.dataOffset=r.getInt32(f),f+=4),o&&d&&(t={flags:s(e.subarray(f,f+4))},f+=4,a&&(t.duration=r.getUint32(f),f+=4),c&&(t.size=r.getUint32(f),f+=4),l&&(t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t),d--);d--;)t={},a&&(t.duration=r.getUint32(f),f+=4),c&&(t.size=r.getUint32(f),f+=4),u&&(t.flags=s(e.subarray(f,f+4)),f+=4),l&&(t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t);return n},"url ":function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4))}},vmhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),graphicsmode:t.getUint16(4),opcolor:new Uint16Array([t.getUint16(6),t.getUint16(8),t.getUint16(10)])}}};r=function(e){for(var t,n,r,i,o,a=0,s=[],u=new ArrayBuffer(e.length),l=new Uint8Array(u),f=0;f<e.length;++f)l[f]=e[f];for(t=new DataView(u);a<e.byteLength;)n=t.getUint32(a),r=c(e.subarray(a+4,a+8)),i=n>1?a+n:e.byteLength,(o=(d[r]||function(e){return{data:e}})(e.subarray(a+8,i))).size=n,o.type=r,s.push(o),a=i;return s},i=function(e,t){var n;return t=t||0,n=new Array(2*t+1).join(" "),e.map(function(e,r){return n+e.type+"\n"+Object.keys(e).filter(function(e){return"type"!==e&&"boxes"!==e}).map(function(t){var r=n+"  "+t+": ",i=e[t];if(i instanceof Uint8Array||i instanceof Uint32Array){var o=Array.prototype.slice.call(new Uint8Array(i.buffer,i.byteOffset,i.byteLength)).map(function(e){return" "+("00"+e.toString(16)).slice(-2)}).join("").match(/.{1,24}/g);return o?1===o.length?r+"<"+o.join("").slice(1)+">":r+"<\n"+o.map(function(e){return n+"  "+e}).join("\n")+"\n"+n+"  >":r+"<>"}return r+JSON.stringify(i,null,2).split("\n").map(function(e,t){return 0===t?e:n+"  "+e}).join("\n")}).join("\n")+(e.boxes?"\n"+i(e.boxes,t+1):"")}).join("\n")},e.exports={inspect:r,textify:i,parseType:c,findBox:u,parseTraf:d.traf,parseTfdt:d.tfdt,parseHdlr:d.hdlr,parseTfhd:d.tfhd,parseTrun:d.trun,parseSidx:d.sidx}},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Export":n,o=t.desc,a=void 0===o?"An arrow pointing right":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"8":u,d=t.className,f=t.focusable,h=void 0===f?"false":f,p=t.decorative;return e.createElement("svg",{viewBox:"0 0 16 8",width:c,height:l,className:i()("i",d),focusable:h,"aria-hidden":p?"true":"false"},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{fill:"#444",fillRule:"evenodd",d:"M1 5h11.6l-1.3 1.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4l-3-3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4L12.6 3H1c-.6 0-1 .4-1 1s.4 1 1 1"}))}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(2),i=n.n(r),o=n(0),a=n.n(o);t.a=function(e){var t=e.title,n=void 0===t?"Close":t,r=e.desc,o=void 0===r?"Image of an X":r,s=e.width,c=void 0===s?"14":s,u=e.height,l=void 0===u?"14":u,d=e.className,f=e.focusable,h=void 0===f?"false":f;return a.a.createElement("svg",{viewBox:"0 0 14 14",width:c,height:l,className:i()("i i-close",d),focusable:h},a.a.createElement("title",null,n),a.a.createElement("desc",null,o),a.a.createElement("g",{transform:"translate(-18 -659)"},a.a.createElement("path",{d:"M31.7,659.3 C31.3,658.9 30.7,658.9 30.3,659.3 L25,664.6 L19.7,659.3 C19.3,658.9 18.7,658.9 18.3,659.3 C17.9,659.7 17.9,660.3 18.3,660.7 L23.6,666 L18.3,671.3 C17.9,671.7 17.9,672.3 18.3,672.7 C18.5,672.9 18.7,673 19,673 C19.3,673 19.5,672.9 19.7,672.7 L25,667.4 L30.3,672.7 C30.5,672.9 30.8,673 31,673 C31.2,673 31.5,672.9 31.7,672.7 C32.1,672.3 32.1,671.7 31.7,671.3 L26.4,666 L31.7,660.7 C32.1,660.3 32.1,659.7 31.7,659.3"})))}},function(e,t,n){"use strict";var r=n(587),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 c(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 u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(221),i=n.n(r);function o(e){if(i()(e))return e}},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(360),i=n.n(r),o=n(1191),a=n.n(o);function s(e){if(a()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return i()(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(475),i=n.n(r),o=n(179),a=n.n(o);function s(e){return(s="function"==typeof a.a&&"symbol"==typeof i.a?function(e){return typeof e}:function(e){return e&&"function"==typeof a.a&&e.constructor===a.a&&e!==a.a.prototype?"symbol":typeof e})(e)}function c(e){return(c="function"==typeof a.a&&"symbol"===s(i.a)?function(e){return s(e)}:function(e){return e&&"function"==typeof a.a&&e.constructor===a.a&&e!==a.a.prototype?"symbol":s(e)})(e)}},function(e,t,n){e.exports=n(1754)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},u.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var c,u,l=this._events[s],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){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,n),!0;case 4:return l.fn.call(l.context,t,n,r),!0;case 5:return l.fn.call(l.context,t,n,r,o),!0;case 6:return l.fn.call(l.context,t,n,r,o,a),!0}for(u=1,c=new Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var f,h=l.length;for(u=0;u<h;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,n);break;case 4:l[u].fn.call(l[u].context,t,n,r);break;default:if(!c)for(f=1,c=new Array(d-1);f<d;f++)c[f-1]=arguments[f];l[u].fn.apply(l[u].context,c)}}return!0},u.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,u=[],l=a.length;s<l;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:c(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&c(this,t)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,e.exports=u},function(e,t,n){e.exports=n(1770)},function(e,t,n){var r=n(455),i=n(20);e.exports=i(r("forEach",function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t}))},function(e,t,n){var r=n(50),i=n(550);e.exports=r(function(e){return i(1,e)})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(48),i=n.n(r)()("rise/partnerContent/")("SET_ALL_PARTNER_CONTENT")},function(e,t,n){
/*! iNoBounce - v0.1.0
* https://github.com/lazd/iNoBounce/
* Copyright (c) 2013 Larry Davis <lazdnet@gmail.com>; Licensed BSD */
!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),c=t.scrollHeight>t.offsetHeight;if(s&&c){var u=e.touches?e.touches[0].screenY:e.screenY,l=n<=u&&0===t.scrollTop,d=n>=u&&t.scrollHeight-t.scrollTop===a;return void((l||d)&&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 c="getComputedStyle"in window&&"touch"===window.getComputedStyle(s)["-webkit-overflow-scrolling"];document.documentElement.removeChild(s),c&&a();var u={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=u),"function"==typeof t.define?(0,t.define)("iNoBounce",[],function(){return u}):t.iNoBounce=u}(this)},function(e,t,n){"use strict";(function(e){var r=n(18),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=n(222),d=n.n(l),f=n(120),h=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"componentWillEnter",value:function(e){this.child&&this.child.componentWillEnter?this.child.componentWillEnter(e):e()}},{key:"componentDidEnter",value:function(){this.child&&this.child.componentDidEnter&&this.child.componentDidEnter()}},{key:"componentWillExit",value:function(e){this.child&&this.child.componentWillExit?this.child.componentWillExit(e):e()}},{key:"componentDidExit",value:function(){this.child&&this.child.componentDidExit&&this.child.componentDidExit()}},{key:"render",value:function(){var t,n=this,r=this.props.children,o=d()("children",this.props);return e.createElement(f.c,o,r&&i()(t=e.Children).call(t,r,function(t){return null!==t&&e.cloneElement(t,{ref:function(e){return n.child=e}})}))}}]),n}(e.Component);t.a=h}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return d});var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2048),{authoring:/Android|webOS|iPhone|iPad|iPod|BlackBerry|MSIE|Trident/,runtime:/MSIE/}),d=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){return e=this.props.env,new RegExp(l[e],"i").test(window.navigator.userAgent)&&!window.sessionStorage.getItem("riseUnsupportedBrowser")?this.renderUnsupported():this.props.children;var e}},{key:"renderUnsupported",value:function(){var t;return e.createElement("div",null,this.props.children,e.createElement("div",{className:"browser-support"},e.createElement("div",{className:"browser-support__inner"},e.createElement("p",{className:"browser-support__text browser-support__text--full"},"You’re using an unsupported browser. For better results, use a modern browser. "),e.createElement("p",{className:"browser-support__text browser-support__text--mobile"},"Unsupported browser"),e.createElement("a",{href:"https://articulate.com/support/article/System-Requirements-for-Rise",rel:"noopener noreferrer",target:"_blank",className:"browser-support__link"},e.createElement("span",null,"Learn more"),e.createElement("i",{className:"icon icon-chevron-right"})),e.createElement("div",{className:"browser-support__dismiss",onClick:i()(t=this.handleDismiss).call(t,this)},e.createElement("span",{className:"browser-support__dismiss-icon"},"×")))))}},{key:"handleDismiss",value:function(){window.sessionStorage.setItem("riseUnsupportedBrowser","true"),this.forceUpdate()}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ie});var r=n(3),i=n.n(r),o=n(23),a=n(4),s=n.n(a),c=n(9),u=n(10),l=n(8),d=n(6),f=n(11),h=n(139),p=n.n(h),m=n(51),v=n.n(m),g=n(60),y=n.n(g),b=n(131),_=n.n(b),w=n(22),x=n.n(w),k=n(14),E=n.n(k),S=n(36),T=n.n(S),C=n(1),O=n.n(C),A=n(103),j=n.n(A),N=n(190),M=n.n(N),P=n(57),I=n(33),L=n(75),D=n(224),R=n(212),F=n(268),B=n(1205),U=n(1264),q=n(1266),z=n(1267),H=n(653),W=n(796),V=n(1269),Y=n(336),G=n(798),K=n(1291),$=n(406),X=n(1304),Q=n(1306),Z=n(802),J=n(1308),ee=n(21),te=n(192),ne=n(1310),re=n(39),ie=function(t){function n(e){var t;Object(c.a)(this,n),t=Object(u.a)(this,Object(l.a)(n).call(this,e));var r=e.course,i=e.isProgressSummary,o=e.lessonProgress,a=e.match.params,s=T()(null,"index",o),d=i?G.b:x()({},["lessons",s],r),f={course:r,lesson:d},h=i?_()(r.lessonsOnly):Object(L.j)(f),p=i?null:Object(L.i)(f);return t.state={color:r.color,hasTransitioned:!1,lessonNumber:i?0:Object(L.h)(f),mode:a.mode||"",model:d,next:p,nextNumber:Object(L.h)({course:r,lesson:p}),previous:h,previousNumber:Object(L.h)({course:r,lesson:h}),scrollPosition:0,totalLessons:Object(L.k)(r)},t}return Object(f.a)(n,t),Object(d.a)(n,null,[{key:"propTypes",get:function(){return{focusLessonContent:O.a.func,match:O.a.object.isRequired,navigateDirection:O.a.func,onNavigate:O.a.func,partnerContent:O.a.object,previewType:O.a.string,sidebarEnabled:O.a.bool}}}]),Object(d.a)(n,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||Object(re.t)(e),this.props.isProgressSummary||Object(I.a)(Object(P.a)(e))}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=T()(null,"index",n),i=x()(null,["lessons",r],t),o={course:t,lesson:i},a=Object(L.j)(o),s=Object(L.i)(o);i&&this.setState({model:i,next:s,previous:a})}}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){p()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=p()("[data-page]:first-child [data-previous-lesson]"),t=document.getElementsByClassName("page-wrap");if(this.setState({hasTransitioned:!0}),e.length>0){var n=e.height();e.hide(),this.displayFlex(e),p()(t).scrollTop(n),p()("[data-lesson-header]").css({top:n})}}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;p()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),p()(j.a.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=j.a.findDOMNode(this);if(!e)return!1;var t=e.classList;return t&&(t.contains("page-transition-complete")||t.contains("page-transition-back-complete")||1===t.length&&t.contains("page"))}},{key:"transition",value:function(e,t){var n,r=this.props,i=r.focusLessonContent,o=(0,r.navigateDirection)(),a=j.a.findDOMNode(this);if(a){var c=s()(n="page ".concat(o,"-")).call(n,e);a.className=c,Z.a.addEventListeners(a,function n(){"enter"===e?(a.className="page ".concat(o,"-complete"),i()):a.className="page",Z.a.removeEventListeners(a,n),t()})}else t()}},{key:"handleFinishQuiz",value:function(){var e=this.props,t=e.course,n=e.courseProgress;Object(ne.a)(t,n)}},{key:"handleNextClick",value:function(e){var t=this.props.course.lessonsOnly;Object(R.b)(e)(t)>=t.length-1?ee.e&&(this.props.onNavigate("progress-summary"),this.handleFinishQuiz()):this.props.onNavigate(this.state.next.id)}},{key:"handlePreviousClick",value:function(e){var t=this.props.course.lessonsOnly;Object(R.b)(e)(t)<=0&&!this.props.isProgressSummary||this.props.onNavigate(this.state.previous.id)}},{key:"renderLessonType",value:function(t){var n=t.type,r=t.props,i=t.course,a=t.model;if(this.props.isProgressSummary)return e.createElement(G.a,Object(o.a)({},this.props,r));switch(n){case"blocks":return e.createElement(B.a,Object(o.a)({},r,{animateBlockEntrance:i.animateBlockEntrance,isFirstLesson:Object(L.f)({course:i,lesson:a})}));case"map":return e.createElement(z.a,r);case"process":return e.createElement(V.a,r);case"timeline":return e.createElement(Q.a,r);case"quiz":return e.createElement(K.a,r);case"sorting":return e.createElement(X.a,r);case"screencast":case"slidecast":case"video":return e.createElement(J.a,r);case"embed":return e.createElement(U.a,r);default:return null}}},{key:"render",value:function(){var t,n,r=this,o=this.state,a=o.color,s=o.lessonNumber,c=o.mode,u=o.model,l=o.next,d=o.nextNumber,f=o.previous,h=o.previousNumber,p=o.scrollPosition,m=o.totalLessons,g=this.props,b=g.allowRestrictedTooltip,_=g.course,w=g.courseProgress,k=g.handleStorylineFullscreen,S=g.isProgressSummary,C=g.labels,O=g.lessonProgress,A=g.location,j=g.match,N=g.menuButtons,P=g.menuOpen,I=g.mobileMenuOpen,R=g.onNavMouse,B=g.onNavigate,U=g.previewType,z=g.sessionPreferences.prefersKeyboardNavigation,V=g.sidebarEnabled,G=u.author,K=u.selectedAuthorId,X=u.settings,Q=void 0===X?{}:X,Z=u.type,J=_.authors,ne=_.enableVideoPlaybackSpeed,ie=_.id,oe=_.publishedAt,ae=_.showLessonCount,se=_.showNavigationButtons,ce=_.tenantId,ue=C.courseFinish,le=void 0===ue?"Finish":ue,de=C.courseHome,fe=x()([],["partnerContent","content"],this.props),he=!y()(fe),pe=he?v()(E()("id",K),fe):{},me=he?x()(void 0,["data","authors"],pe):void 0,ve=Object($.a)({authors:J,author:G,selectedAuthorId:K}),ge=ve.avatar,ye=ve.authorName,be=u.items?u.items.length:0,_e=Object(D.a)({course:_,courseProgress:w}),we=S?{}:Object(L.b)({course:_,courseProgress:w,lesson:l,restrictingQuiz:_e}),xe="quiz"===Z&&"continue"===Q.continueType,ke=i()(t=this.handleNextClick).call(t,this,u.id),Ee=f&&"preview-lesson"!==c?e.createElement(W.b,{isLesson:Object(L.e)(f),key:"prev-".concat(u.id),labels:C,onPreviousClick:i()(n=this.handlePreviousClick).call(n,this,u.id),previous:f.id,previousNumber:h,previousTitle:f?f.title:"",ref:function(e){return r.previousLesson=e}}):"preview-lesson"!==c?e.createElement(W.a,{courseHomeLabel:de}):null,Se=l&&"preview-lesson"!==c&&!xe,Te=Se?e.createElement(H.b,{allowTooltip:b,id:u.id,isLesson:Object(L.e)(l),restrictions:we,key:"next-".concat(u.id),labels:C,next:l.id,nextNumber:d,nextTitle:l.title,onMouse:R,onNextClick:ke,ref:function(e){return r.nextLesson=e},type:Z}):!ee.e||"preview-lesson"===c||xe||Object(re.j)()?null:e.createElement(H.a,{courseFinishLabel:le,onNextClick:ke}),Ce=Se&&!se&&!V?e.createElement(H.b,{id:u.id,isContinue:!0,isLesson:Object(L.e)(l),restrictions:we,key:"next-".concat(u.id),labels:C,next:l.id,nextNumber:d,onNextClick:ke,ref:function(e){return r.nextLesson=e},type:Z}):null,Oe=e.createElement(q.a,{authorName:ye,avatar:ge,description:u.description,labels:C,length:u.length||"",lessonNumber:s,partnerContentAuthors:me,ref:"header",showLessonCount:ae,steps:be,title:u.title,totalLessons:m,type:u.type},"audio"===u.mediaType&&u.mediaSrc&&e.createElement(F.b,{id:"audio-".concat(u.cid),key:"audio-".concat(u.cid),labels:C,mediaSrc:u.mediaSrc}),!S&&e.createElement(Y.b,{id:u.id,items:u.items,lessonProgress:O,menuOpen:P,mobileMenuOpen:I,scrollPosition:p,type:u.type})),Ae={authorName:ye,avatar:ge,color:a,continueComponent:Ce,courseId:ie,courseTitle:_.title,data:u,enableVideoPlaybackSpeed:ne,handleNavigate:B,handleStorylineFullscreen:k,isLesson:Object(L.e)(u),labels:C,lessonHeader:Oe,lessonNumber:s,lessonProgress:O,loadMedia:this.state.hasTransitioned,location:A,match:j,menuButtons:N,menuOpen:P,mobileMenuOpen:I,mode:c,nextComponent:se&&Te,nextLesson:T()(null,"id",l),nextLessonRestrictions:we,onNextClick:ke,partnerContent:fe,publishedAt:oe,prefersKeyboardNavigation:z,previewType:U,previousComponent:se&&Ee,scrollPosition:p,showLessonCount:ae,showNavigationButtons:se,sidebarEnabled:V,tenantId:ce,totalLessons:m};return e.createElement(M.a,{title:Object(te.a)(_.title+" - "+u.title)},e.createElement("main",{"aria-label":"Lesson Content"},this.renderLessonType({type:Z,props:Ae,course:_,model:u})))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(49),i=n.n(r),o=n(77),a=n.n(o),s=n(26),c=n.n(s),u=n(57),l=function(e){return c()("audioVideoPlayhead",e)},d=function(e){var t=e.blockId,n=e.itemId,r=e.playheadPercentage;return t?i()(a()(["items",t,"items",n]),l(r)):l(r)},f=function(e){var t=e.blockId,n=e.lessonId,r=e.itemId,i=e.playheadPercentage;return Object(u.h)({id:n,updateFn:d({blockId:t,lessonId:n,itemId:r,playheadPercentage:i})})}},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,o=e.desc,a=e.height,s=e.role,c=void 0===s?"img":s,u=e.title,l=e.width;return i.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,focusable:"false",height:a,role:c,viewBox:"0 0 493 493",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&i.a.createElement("title",null,u),o&&i.a.createElement("desc",null,o),i.a.createElement("path",{d:"M72.1125 306.317L102.113 306.318L102.112 369.127L369.124 102.115L306.316 102.115L306.315 72.1142L420.31 72.1149L420.311 186.11L390.311 186.109L390.311 123.355L123.352 390.313L186.107 390.312L186.108 420.313L72.1125 420.313V306.317Z"}))}},function(e,t,n){e.exports=n(2131)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2134))&&r.__esModule?r:{default:r};var o=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},a=function(e){var t=(0,i.default)(e),n=t.slice(0,6),r=t.slice(6),a=parseInt(n,16);return[a>>16&255,a>>8&255,a>>0&255,o(r)]};t.default=a},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(361),i=n.n(r),o=n(7),a=n.n(o),s=n(207),c=n.n(s),u=(n(45),n(189),n(298)),l=n.n(u),d=n(769),f=n.n(d);n(42);function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",r=e?e.toString():"";return r.length>t?r.substr(0,t-1)+n:r}new RegExp(/^[0-9]+$/),a()(c()(""),i()(f.a,0),l()(""))},function(e,t,n){"use strict";var r=n(15),i=n(53),o=n.n(i),a=n(158),s=n.n(a),c=n(0),u=n.n(c),l=n(2),d=n.n(l),f=n(136),h=n(48),p=n.n(h),m=n(60),v=n.n(m),g=n(207),y=n.n(g),b=n(32),_=n.n(b),w=n(30),x=n.n(w),k=n(52),E=n(159),S=n(21),T=n(643),C=(n(2198),p()("partner-content-book-info__")),O={track:T.a};t.a=Object(f.b)(null,O)(function(e){var t=e.authors,n=e.backgroundColor,i=e.bookImage,a=e.bookTitle,l=e.buyLink,f=e.block,h=e.publishedAt,p=e.track,m=e.trackingInfo,g=s()(t).call(t,function(e){return!v()(e.name)}),b=_()(function(e){return e.name},g),w=b.length>1?y()(" & ",b):b[0],T="s"===o()(w).call(w,-1)?"":"s",O=Object(E.a)(n),A=d()(Object(r.a)({},C("book-image-block"),f&&!O),Object(r.a)({},C("book-image-block")&&C("dark-theme-book-image"),f&&O),Object(r.a)({},C("book-image-course"),!f)),j=C(f?"flex-block":"flex-course"),N=C(f?"image-container-block":"image-container-course"),M=d()(C("small-text"),Object(r.a)({},C("dark-theme"),O)),P=d()(C("black-text"),Object(r.a)({},C("dark-theme"),O)),I=d()(C("button"),Object(r.a)({},C("dark-theme-button"),O)),L=Object(k.f)({height:"210",width:"140",imageKey:i}),D=Object(c.useCallback)(function(){S.e&&h&&p({event:"Click Tracked",payload:x()(m,{type:"Buy Link"})})},[h,p,m]);return u.a.createElement("section",{className:j},u.a.createElement("h2",{className:"visually-hidden"},"Book Info"),u.a.createElement("div",{"aria-hidden":"true",className:N},i?u.a.createElement("img",{src:L,alt:"",className:A}):u.a.createElement("div",{className:A})),u.a.createElement("div",{className:C("text-container")},u.a.createElement("p",{className:M},"From ",w,"'",T),u.a.createElement("p",{className:P},a),u.a.createElement("a",{className:I,href:l,onClick:D,target:"_blank",rel:"noopener noreferrer"},"Buy the book")))})},function(e,t,n){"use strict";var r=n(15),i=n(0),o=n.n(i),a=n(2),s=n.n(a),c=n(48),u=n.n(c),l=n(30),d=n.n(l),f=n(136),h=n(52),p=n(159),m=n(21),v=n(643),g=(n(2199),u()("partner-content-partner-info__")),y={track:v.a};t.a=Object(f.b)(null,y)(function(e){var t=e.backgroundColor,n=e.block,a=e.link,c=e.publishedAt,u=e.track,l=e.trackingInfo,f=n?Object(h.d)():Object(h.e)(),v=g(n?"nbic-logo-light-bulb":"nbic-logo"),y=g(n?"block-logo-container":"logo-container"),b=Object(p.a)(t),_=s()(g("small-text"),Object(r.a)({},g("dark-theme"),b)),w=s()(g("black-text"),Object(r.a)({},g("dark-theme"),b)),x=s()(g("button"),Object(r.a)({},g("dark-theme-button"),b)),k=Object(i.useCallback)(function(){m.e&&c&&u({event:"Click Tracked",payload:d()(l,{type:"Partner Link"})})},[c,u,l]);return o.a.createElement("section",{className:g("flex")},o.a.createElement("h2",{className:"visually-hidden"},"Partner Info"),o.a.createElement("div",{"aria-hidden":"true",className:y},o.a.createElement("img",{src:f,alt:"",className:v})),o.a.createElement("div",{className:g("text-container")},o.a.createElement("p",{className:_},"In partnership with"),o.a.createElement("p",{className:w},"Next Big Idea Club"),o.a.createElement("a",{className:x,href:a,onClick:k,rel:"noopener noreferrer",target:"_blank"},"Learn more")))})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=n(34);n(2203);t.a=function(e){var t=e.bgType,n=e.text,r=e.iconType,o=void 0===r?"locked":r,c=a()("continue-hint",{"continue-hint--bg-transparent":"transparent"===t});return i.a.createElement("div",{className:c},i.a.createElement("div",{className:"continue-hint__content"},n),"locked"===o&&i.a.createElement(s.w,{"aria-label":"Closed padlock",className:"continue-hint__icon"}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(27),i=n.n(r),o=n(23),a=n(3),s=n.n(a),c=n(9),u=n(10),l=n(8),d=n(5),f=n(6),h=n(11),p=(n(2232),n(2)),m=n.n(p),v=n(7),g=n.n(v),y=n(193),b=n.n(y),_=n(51),w=n.n(_),x=n(88),k=n.n(x),E=n(45),S=n.n(E),T=n(13),C=n.n(T),O=n(52),A=n(1315),j=function(t){function n(e){var t,r,i,o,a,f,h,p;return Object(c.a)(this,n),(p=Object(u.a)(this,Object(l.a)(n).call(this,e))).state={imageLoaded:!1},p.closeOpenedBubble=s()(t=p.closeOpenedBubble).call(t,Object(d.a)(p)),p.handleDocumentClick=s()(r=p.handleDocumentClick).call(r,Object(d.a)(p)),p.handleMarkerClick=s()(i=p.handleMarkerClick).call(i,Object(d.a)(p)),p.onItemSelected=s()(o=p.onItemSelected).call(o,Object(d.a)(p)),p.onNextClick=s()(a=p.onNextClick).call(a,Object(d.a)(p)),p.onPreviousClick=s()(f=p.onPreviousClick).call(f,Object(d.a)(p)),p.setImageLoaded=s()(h=p.setImageLoaded).call(h,Object(d.a)(p)),p}return Object(h.a)(n,t),Object(f.a)(n,null,[{key:"defaultProps",get:function(){return{onItemSelected:Function.prototype,onStep:Function.prototype}}}]),Object(f.a)(n,[{key:"componentDidMount",value:function(){this.loadImage(),this.props.readOnly||(document.addEventListener("click",this.handleDocumentClick),document.addEventListener("labeledGraphicMarkerClick",this.handleMarkerClick))}},{key:"componentWillUnmount",value:function(){this.props.readOnly||(document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("labeledGraphicMarkerClick",this.handleMarkerClick))}},{key:"render",value:function(){var t=this.state.imageLoaded,n=this.props,r=n.isPreview,i=n.items,a=n.parentId,s=n.settings,c=(void 0===s?{}:s).mediaWidth,u=void 0===c?"2":c,l=r?i[0].id:this.state.selectedItemId,d=m()("view-labeled-graphic",{"view-labeled-graphic--small":"0"===u,"view-labeled-graphic--medium":"1"===u,"view-labeled-graphic--full":"2"===u});return e.createElement("div",{"aria-label":"Labeled Graphic",className:d,role:"group"},e.createElement(A.a,Object(o.a)({},this.props,{canvasClassNames:this.getCanvasClassNames(),editable:!1,imageLoaded:t,markerDelay:1e3,onClose:this.closeOpenedBubble,onItemSelected:this.onItemSelected,onNextClick:this.onNextClick,onPreviousClick:this.onPreviousClick,parentId:a,selected:l})))}},{key:"setImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"loadImage",value:function(){var e=this,t=this.props.media.image,n=t.key,r=t.src,o=i()(this.setImageLoaded,1e3),a=new Image,s=n?Object(O.a)(t):r;a.src=s,a.onload=function(){clearTimeout(o),e.setImageLoaded()}}},{key:"getCanvasClassNames",value:function(){return m()("labeled-graphic-canvas",{"labeled-graphic-canvas--visible":this.state.imageLoaded})}},{key:"onNextClick",value:function(e){var t=this.props.items,n=C()("id",t[k()(e)]||t[0]);this.onItemSelected(n)}},{key:"onPreviousClick",value:function(e){var t=this.props.items,n=C()("id",t[b()(e)]||t[b()(S()(t))]);this.onItemSelected(n)}},{key:"onItemSelected",value:function(e){var t=this.props,n=t.editBlock,r=t.items,i=t.onItemSelected,o=t.onStep,a=this.state.selectedItemId;n&&window.matchMedia("(max-width: 768px)").matches||(a===e?this.closeOpenedBubble():(this.openBubble(e),g()(o,w()(function(t){return t.id===e}))(r)),i(e))}},{key:"handleDocumentClick",value:function(){document.querySelector("[data-iz-overlay]")||this.closeOpenedBubble()}},{key:"handleMarkerClick",value:function(e){var t=e.detail,n=t.itemId,r=t.parentId,i=this.state.selectedItemId;r===this.props.parentId&&i===n||this.closeOpenedBubble()}},{key:"openBubble",value:function(e){if(window.matchMedia("(max-width: 767px)").matches){var t=document.querySelector(".page-wrap");t&&t.classList.add("page-wrap--noscroll")}this.setState({selectedItemId:e})}},{key:"closeOpenedBubble",value:function(){if(window.matchMedia("(max-width: 767px)").matches){var e=document.querySelector(".page-wrap");e&&e.classList.remove("page-wrap--noscroll")}this.setState({selectedItemId:void 0})}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return F});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=(n(2251),n(177)),u=n.n(c),l=n(2),d=n.n(l),f=n(44),h=n.n(f),p=n(51),m=n.n(p),v=n(32),g=n.n(v),y=n(30),b=n.n(y),_=n(96),w=n.n(_),x=n(22),k=n.n(x),E=n(24),S=n.n(E),T=n(13),C=n.n(T),O=n(14),A=n.n(O),j=n(308),N=n.n(j),M=n(1254),P=n(1255),I=n(17),L=n(59).b.blocks,D=u()(g.a),R=function(e){var t=e.items,n=e.progress;return h()(function(e){return function(t){return w()(k()(!1,["items",t.id,"isViewed"],e))}}(n),t)},F=function(t){function n(e){var t;return Object(r.a)(this,n),(t=Object(o.a)(this,Object(a.a)(n).call(this,e))).state={items:N()(e.items)},t.pileRefs=[],t}return Object(s.a)(n,t),Object(i.a)(n,[{key:"componentWillReceiveProps",value:function(e){if(C()("retryAttempts",this.props.progress)!==C()("retryAttempts",e.progress))this.setState({items:N()(e.items)});else{var t=g()(function(e){return function(t){return S()(m()(A()("id",t.id)),b()(t))(e)}}(e.items),this.state.items);this.setState({items:t})}}},{key:"render",value:function(){var t,n=this,r=this.state.items,i=this.props,o=i.hasDarkBackground,a=i.id,s=i.labels,c=i.progress,u=i.onCardDrop,l=i.onReplay,f=i.piles,h=s.sortingLandmark,p=R({items:r,progress:c});return e.createElement("div",{"aria-label":h,className:(t=o,d()("sorting",{"sorting-dark-theme":t})),"data-ba":L.blockSortingActivity,role:"group"},e.createElement("div",{className:"sorting__row"},e.createElement(M.a,{count:r.length,id:a,items:p,labels:s,onReplay:l,progress:c,ref:function(e){n.deck=e}})),e.createElement("div",{className:"sorting__row"},D(function(t,r){return e.createElement(P.a,{deckTopCard:p&&p[0],id:t.id,key:t.id,lessonId:a,onCardDrop:u,onNavigateToNext:function(){return Object(I.f)({list:n.pileRefs,currentIndex:r})},onNavigateToPrevious:function(){return Object(I.g)({list:n.pileRefs,currentIndex:r})},ref:function(e){n.pileRefs[r]=e},title:t.title,onKeyDropStart:function(){n.deck.startKeyDrop()},onKeyDropEnd:function(){n.deck.endKeyDrop()}})},f)))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return _});var r=n(4),i=n.n(r),o=n(3),a=n.n(o),s=n(27),c=n.n(s),u=n(9),l=n(10),d=n(8),f=n(6),h=n(11),p=(n(2253),n(2)),m=n.n(p),v=n(1),g=n.n(v),y=n(38),b=n(246),_=function(t){function n(e){var t;return Object(u.a)(this,n),(t=Object(l.a)(this,Object(d.a)(n).call(this,e))).state={isMoving:!1,failed:!1,position:{x:0,y:0},reset:!0},t}return Object(h.a)(n,t),Object(f.a)(n,null,[{key:"propTypes",get:function(){return{id:g.a.any.isRequired,isIncorrect:g.a.bool,title:g.a.string}}}]),Object(f.a)(n,[{key:"componentDidMount",value:function(){var e,t,n,r=this;c()(function(){r.setState({reset:!1})},300),Object(b.a)(this.card).draggable({inertia:!0,autoScroll:!1,snap:{targets:[function(e,t){return{x:e,y:t}}],range:1/0,endOnly:!0,relativePoints:[{x:.5,y:.5}]}}).on("dragstart",this.onDragStartRef=a()(e=this.onStartSortAttempt).call(e,this)).on("dragmove",this.onDragMoveRef=a()(t=this.onDragMove).call(t,this)).on("dragend",this.onDragEndRef=a()(n=this.onEndSortAttempt).call(n,this))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.resetTimeout),Object(b.a)(this.card).off("dragstart",this.onDragStartRef).off("dragmove",this.onDragMoveRef).off("dragend",this.onDragEndRef)}},{key:"componentDidUpdate",value:function(e,t){var n=this;t.isMoving&&!this.state.isMoving&&(this.setState({failed:!0}),this.resetTimeout=c()(function(){n.setState({position:{x:0,y:0},failed:!1}),delete n.resetTimeout},300))}},{key:"cardStyle",value:function(){var e,t=this.state.position,n=t.x,r=t.y,o=i()(e="translate3d(".concat(n,"px, ")).call(e,r,"px, 0)");return{WebkitTransform:o,transform:o}}},{key:"render",value:function(){var t=this,n=this.state,r=n.isMoving,i=n.failed,o=n.reset,a=this.props,s=a.id,c=a.isDeckTopCard,u=a.title,l=m()("playing-card playing-card--draggable",{"playing-card--moving":r,"playing-card--fail":i,reset:o});return e.createElement("div",{"aria-hidden":!c,className:l,id:s,key:"card-".concat(s),ref:function(e){return t.card=e},style:this.cardStyle(),onMouseDown:function(e){e.preventDefault()}},e.createElement("div",{className:"playing-card__content brand--border"},e.createElement(y.a,{className:"playing-card__title brand--head",value:u}),e.createElement("div",{className:"playing-card__handle"}),e.createElement("div",{className:"playing-card__status brand--background"},e.createElement("i",{className:"icon icon-check"}))))}},{key:"onStartSortAttempt",value:function(){this.setState({isMoving:!0,failed:!1})}},{key:"onDragMove",value:function(e){var t=e.dx,n=e.dy,r=this.state.position,i=r.x+t,o=r.y+n;this.setState({position:{x:i,y:o}})}},{key:"onEndSortAttempt",value:function(){this.setState({isMoving:!1})}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return C});var r=n(18),i=n.n(r),o=n(3),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2257),n(2)),p=n.n(h),m=n(35),v=n.n(m),g=n(297),y=n.n(g),b=n(13),_=n.n(b),w=n(1),x=n.n(w),k=n(505),E=n(1257),S=n(55),T=n(59).b.blocks,C=function(t){function n(e){var t,r;return Object(s.a)(this,n),(r=Object(u.a)(this,Object(l.a)(n).call(this,e))).renderCard=a()(t=r.renderCard).call(t,Object(d.a)(r)),r}return Object(f.a)(n,t),Object(c.a)(n,[{key:"onEnterMarker",value:function(e,t,n){var r=n.previousPosition,i=this.props,o=i.id,a=i.onEnter;r===k.a.below&&a({id:o,payload:{activeIndex:e,itemId:t}})}},{key:"onMarkerLeave",value:function(e,t){var n=t.currentPosition,r=t.previousPosition,i=this.props,o=i.id,a=i.items,s=i.onLeave,c=e-1;if(n===k.a.below&&r===k.a.inside&&c>-1){var u=y()(c,a);u&&s({id:o,payload:{activeIndex:c,itemId:u.id}})}}},{key:"onFocus",value:function(e,t){var n=this.props,r=n.id;(0,n.onEnter)({id:r,payload:{activeIndex:e,itemId:t}})}},{key:"isActive",value:function(e){var t=this.props,n=t.progress;return!!t.isBlock||v()(_()("activeIndex",n),e)}},{key:"renderCard",value:function(t,n){var r,i,o,s=this.props,c=s.enableVideoPlaybackSpeed,u=s.id,l=s.isBlock,d=s.isLearner,f=s.labels,h=a()(r=this.onFocus).call(r,this,n,t.id),p=e.createElement(E.a,{enableVideoPlaybackSpeed:c,isActive:this.isActive(n),item:t,key:n,labels:f,loadMedia:!0,onFocus:h,lessonNumber:u});return l&&d?e.createElement(S.a,{animateBlockEntrance:!0,animateIn:"fadeIn",className:"timeline__animate",key:n,isLearner:!0},p):l&&!d?p:e.createElement(k.a,{bottomOffset:"60%",key:n,onEnter:a()(i=this.onEnterMarker).call(i,this,n,t.id),onLeave:a()(o=this.onMarkerLeave).call(o,this,n),topOffset:"30%"},p)}},{key:"render",value:function(){var t=this.props,n=t.hasDarkBackground,r=t.isBlock,o=t.items,a=t.labels.timelineLandmark,s=p()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return e.createElement("div",{"aria-label":a,className:s,"data-ba":T.blockTimeline,role:"group"},e.createElement("div",{className:"timeline__wrapper"},e.createElement("div",{className:"timeline"},e.createElement("div",{className:"timeline__container"},i()(o).call(o,this.renderCard)))))}}],[{key:"defaultProps",get:function(){return{onEnter:Function.prototype,onLeave:Function.prototype,progress:{}}}},{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:x.a.bool,id:x.a.any.isRequired,isBlock:x.a.bool,isLearner:x.a.bool,items:x.a.array.isRequired,labels:x.a.object.isRequired,onEnter:x.a.func.isRequired,onLeave:x.a.func.isRequired,progress:x.a.object.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var n=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}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2;var s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=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 s(){n&&(n=!1,e()),r&&u()}function c(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return u}(this.refresh.bind(this),s)}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(){r&&!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(){r&&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;c.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}(),d=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||i},h=b(0,0,0,0);function p(e){return parseFloat(e)||0}function m(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 v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;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),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(c+a)!==n&&(c-=m(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var u=Math.round(s+o)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return b(i.left,i.top,s,c)}var g="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 r?g(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):v(e):h}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var _=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(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}(),w=function(){return function(e,t){var n,r,i,o,a,s,c,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),d(c,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),c);d(this,{target:e,contentRect:u})}}(),x=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}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 _(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 w(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}(),k="undefined"!=typeof WeakMap?new WeakMap:new n,E=function(){return 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=l.getInstance(),r=new x(t,n,this);k.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}});var S=void 0!==i.ResizeObserver?i.ResizeObserver:E;t.a=S}).call(this,n(100))},function(e,t,n){"use strict";e.exports=n(2262)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2406)),i=s(n(2407)),o=s(n(618)),a=s(n(2408));function s(e){return e&&e.__esModule?e:{default:e}}function c(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")}()}var u=function(e,t,n){var s=c((0,o.default)(e),4),u=s[0],l=s[1],d=s[2],f=s[3],h=c((0,o.default)(t),4),p=h[0],m=h[1],v=h[2],g=h[3],y=(0,a.default)([(0,r.default)(u,p,n),(0,r.default)(l,m,n),(0,r.default)(d,v,n),(0,i.default)(f,g,n)]);return 1===f&&1===g?y.slice(0,7):y};t.default=u},function(e,t,n){e.exports=n(2409)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(137),i=n(1316);function o(t){var n=function(n){return e.createElement(i.a,n,e.createElement(t,null))};return n.displayName="ChartWrap(".concat(Object(r.b)(t),")"),n}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n(27),i=n.n(r),o=n(3),a=n.n(o),s=n(4),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(5),p=n(11),m=n(0),v=n.n(m),g=n(128),y=n.n(g),b=n(367),_=function(e){function t(){var e,n,r,i;Object(u.a)(this,t);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return(i=Object(d.a)(this,(e=Object(f.a)(t)).call.apply(e,c()(n=[this]).call(n,s)))).wrapRef=Object(m.createRef)(),i.check=a()(r=i.check).call(r,Object(h.a)(i)),i.onScroll=y()(i.check,100),i}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.scrollableContainer=Object(b.a)(),this.scrollableContainer&&this.scrollableContainer.addEventListener("scroll",this.onScroll),this.props.isFirstLesson&&(this.checkTimeout=i()(this.check,1e3))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.checkTimeout),this.rmScrollListener()}},{key:"render",value:function(){return v.a.createElement("div",{ref:this.wrapRef},this.props.children)}},{key:"rmScrollListener",value:function(){this.scrollableContainer&&this.scrollableContainer.removeEventListener("scroll",this.onScroll)}},{key:"check",value:function(){var e=this.wrapRef;e&&Object(b.b)(e.current)&&(this.rmScrollListener(),this.props.onViewed())}}]),t}(m.Component)},function(e,t,n){"use strict";(function(e){var r=n(23),i=n(18),o=n.n(i),a=(n(2551),n(64)),s=n(2),c=n.n(s),u=function(t){var n=t.childElements,r=t.labels,i=t.search,s=i.activeLessons,u=i.term,l=r.noResults;return e.createElement(a.CSSTransition,{classNames:"lesson-lists__list",key:"results",timeout:600},e.createElement(a.TransitionGroup,{className:"lesson-lists__list lesson-lists__list--results",component:"ol",role:"list",key:"results"},0===s.length?function(t){var n=t.noResults,r=t.searchTerm,i=c()("lesson-lists__item",{"visually-hidden":!(r&&r.length)});return e.createElement(a.CSSTransition,{classNames:"lesson-lists__item",exit:!1,key:"no-results",timeout:400},e.createElement("li",{className:i},e.createElement("span",{className:"lesson-lists__no-results"},n,' "',r,'"')))}({noResults:l,searchTerm:u}):function(t){var n=t.activeLessons,r=t.childElements;return o()(r).call(r,function(t){return e.createElement(a.CSSTransition,{classNames:"lesson-lists__item",exit:!1,key:t.key,timeout:100*n.length+300},t)})}({activeLessons:s,childElements:n})))},l=function(t){var n=t.children,i=t.index,o=t.isSearch?{role:"listitem"}:{};return e.createElement("li",Object(r.a)({className:"lesson-lists__item",style:{transitionDelay:"".concat(.1*i,"s")}},o),n)};t.a=function(t){var n,r=t.children,i=t.labels,s=t.search,c=s.active,d=o()(n=e.Children).call(n,r,function(t,n){return e.createElement(l,{index:n,isSearch:c},t)}),f=c?"Search Results":"Course Outline";return e.createElement(a.TransitionGroup,{"aria-label":f,className:"lesson-lists",component:"nav"},c?u({childElements:d,labels:i,search:s}):function(t){return e.createElement(a.CSSTransition,{classNames:"lesson-lists__list",key:"list",timeout:600},e.createElement("ol",{className:"lesson-lists__list",key:"list"},t))}(d))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(5),l=n(11),d=(n(2552),n(102)),f=n(120),h=n(2),p=n.n(h),m=n(1),v=n.n(m),g=n(335),y=n.n(g),b=n(38),_=n(407),w=n(17),x=function(t){function n(e){var t,r;return Object(o.a)(this,n),(r=Object(s.a)(this,Object(c.a)(n).call(this,e))).onClick=i()(t=r.onClick).call(t,Object(u.a)(r)),r}return Object(l.a)(n,t),Object(a.a)(n,[{key:"isActive",value:function(){return this.props.match.url==="/lessons/".concat(this.props.id)}},{key:"componentWillMount",value:function(){var e=this.isActive();this.setState({visited:e})}},{key:"onClick",value:function(e){var t=this.props,n=t.focusLessonContent,r=t.id,i=t.onClick,o=t.onMobileActiveClick;if(this.isActive()){if(e.preventDefault(),!o)return n(),!1;o()}this.setState({visited:!0}),i(r)}},{key:"render",value:function(){var t=this.props,n=t.id,r=t.icon,i=t.labels,o=t.resultsCount,a=t.title,s=i.result,c=i.results,u=p()("lesson-link","lesson-search-link",{"lesson-link--visited lesson-search-link--visited":this.state.visited}),l=1===o?s:c,f=[e.createElement("div",{"aria-hidden":"true",className:"lesson-link__icon lesson-search-link__icon",key:"icon-".concat(n)},e.createElement(_.a,{icon:r})),e.createElement("div",{className:"lesson-link__name lesson-search-link__name brand--ui",key:"name-".concat(n)},e.createElement(b.a,{value:y()(a,{length:60})}),e.createElement("span",{className:"lesson-search-link__results"},o," ",l))],h=this.props.allowTabNavigation,m=Object(w.m)(h);return e.createElement(d.b,{activeClassName:"lesson-link--active lesson-search-link--active brand--beforeBackground","aria-hidden":!h,className:u,onClick:this.onClick,tabIndex:m,to:"/lessons/"+encodeURIComponent(n)},f)}}],[{key:"propTypes",get:function(){return{focusLessonContent:v.a.func.isRequired,icon:v.a.string.isRequired,id:v.a.any.isRequired,onClick:v.a.func.isRequired,resultsCount:v.a.number.isRequired,title:v.a.string.isRequired,type:v.a.string.isRequired}}}]),n}(e.Component);t.a=Object(f.f)(x)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(18),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2557),n(2)),d=n.n(l),f=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t,n=this,r=this.props,o=r.children,a=r.isActive,s=r.sectionId,c=r.sectionLabel,u=d()("section-lists",{"section-lists__closed":!a}),l=this.ol?this.ol.offsetHeight:null;return e.createElement("div",{"aria-hidden":!a,"aria-label":c,className:u,id:s,style:{maxHeight:l}},e.createElement("ol",{ref:function(e){return n.ol=e}},i()(t=e.Children).call(t,o,function(t){return e.createElement("li",{className:"lesson-lists__item"},t)})))}}]),n}(e.Component);t.a=f}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2558);var r=n(190),i=n.n(r),o=n(192);t.a=function(){return e.createElement(i.a,{title:Object(o.a)()},e.createElement("div",null,e.createElement("div",{className:"not-found"},e.createElement("div",{className:"not-found__copy"},e.createElement("h1",{className:"not-found__copy--heading"},"Hmm..."),e.createElement("div",null,"We can't seem to find the page you're looking for.")))))}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(15),a=n(158),s=n.n(a),c=n(0),u=n.n(c),l=n(48),d=n.n(l),f=n(51),h=n.n(f),p=n(28),m=n.n(p),v=n(14),g=n.n(v),y=n(2),b=n.n(y),_=n(52),w=(n(2559),d()("partner-content-course-author__"));t.a=function(e){var t=e.partnerContentAuthors,n=e.darkText,r=e.learn,a=e.lesson,c=e.selectedContentId,l=h()(g()("id",c),t),d=m()(["data","authors"],l),f=a?d:t,p=s()(f).call(f,function(e){return e.name}),v=b()(w("author-container"),Object(o.a)({},w("author-container-padding-top"),n)),y=b()(Object(o.a)({},w("gray-text"),!r)),x=function(e){return"url(".concat(Object(_.f)({width:"76",height:"76",imageKey:e.image}),")")};return u.a.createElement("section",null,u.a.createElement("h2",{className:"visually-hidden"},"Authors"),u.a.createElement("ol",{className:v,role:"list"},i()(p).call(p,function(e){return u.a.createElement("li",{key:e.name,className:w("author"),role:"listitem"},u.a.createElement("div",{"aria-hidden":"true",className:w("author-image"),style:{backgroundImage:x(e)}}),u.a.createElement("span",{className:y},e.name))})))}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(158),a=n.n(o),s=n(0),c=n.n(s),u=n(48),l=n.n(u),d=n(2),f=n.n(d),h=n(620),p=n(621),m=n(52),v=(n(2563),l()("partner-content-author-card__"));t.a=function(e){var t=e.courseId,n=e.partnerContent,r=e.publishedAt,o=e.tenantId,s=n.data,u=n.type,l=s.authors,d=s.bookImage,g=s.bookTitle,y=s.buyLink,b=s.internalId,_=s.nbicLink,w=a()(l).call(l,function(e){return e.name}),x={courseId:t,partnerContentId:n.id,partnerContentInternalId:b,tenantId:o,contentSubtype:u},k=f()(v("flex"),v("author-container")),E=function(e){return Object(m.f)({width:"122",height:"122",imageKey:e})};return c.a.createElement("ol",{className:"partner-content-author-card",role:"list"},c.a.createElement("li",{role:"listitem"},c.a.createElement("section",null,c.a.createElement("h2",{className:"visually-hidden"},"Authors"),i()(w).call(w,function(e){return c.a.createElement("li",{key:e.name,className:k},(t=e.image,n=e.name,c.a.createElement("div",{"aria-hidden":"true",className:v("image-container")},t?c.a.createElement("img",{src:E(t),alt:n,className:v("author-image")}):c.a.createElement("div",{className:v("author-image")}))),c.a.createElement("p",{className:v("author-name-text")},e.name));var t,n}))),c.a.createElement("li",{role:"listitem"},c.a.createElement(h.a,{authors:l,bookImage:d,bookTitle:g,buyLink:y,publishedAt:r,trackingInfo:x})),c.a.createElement("li",{role:"listitem"},c.a.createElement(p.a,{link:_,publishedAt:r,trackingInfo:x})))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2564),n(2)),d=n.n(l),f=n(1),h=n.n(f),p=function(t){function n(e){var t;return Object(o.a)(this,n),(t=Object(s.a)(this,Object(c.a)(n).call(this,e))).state={failAttempt:!1,shouldShake:!1},t}return Object(u.a)(n,t),Object(a.a)(n,[{key:"componentDidMount",value:function(){var e;this.dialog.addEventListener("animationend",i()(e=this.handleRemoveAnimationEnd).call(e,this))}},{key:"componentWillReceiveProps",value:function(e){var t=e.failAttempt,n=this.state.shouldShake;this.setState({failAttempt:t&&n})}},{key:"componentWillUnmount",value:function(){var e;this.dialog.removeEventListener("animationend",i()(e=this.handleRemoveAnimationEnd).call(e,this))}},{key:"handleRemoveAnimationEnd",value:function(){this.setState({failAttempt:!1,shouldShake:!1})}},{key:"onSubmitPassword",value:function(e){var t=this;e.preventDefault();var n=this.props.onSubmit;this.setState({shouldShake:!0},function(){n(t.refs.password)})}},{key:"render",value:function(){var t,n=this,r=this.state.failAttempt,o=d()("brand--border","share-password-dialog",{"fail-password":r});return e.createElement("div",{className:o,ref:function(e){n.dialog=e}},e.createElement("h1",{className:"heading"},"Enter Password"),e.createElement("p",{className:"instructions"},"You need a password to view this course. If you don’t know it, ask the person who shared this with you."),e.createElement("form",{onSubmit:i()(t=this.onSubmitPassword).call(t,this)},e.createElement("label",{htmlFor:"share-password",className:"label"},"password"),e.createElement("input",{id:"share-password",ref:"password",type:"password",className:"input"}),e.createElement("div",{className:"dialog__toolbar"},e.createElement("input",{type:"submit",className:"button brand--background",value:"View"}))))}}],[{key:"propTypes",get:function(){return{onSubmit:h.a.func.isRequired,failAttempt:h.a.bool.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";e.exports=n(2565)},function(e,t,n){t.hot=function(e){return e}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(46),a=n(157),s=n.n(a),c=n(4),u=n.n(c),l=function(){return window.innerWidth},d=function(){return window.innerHeight},f=function(e,t,n){return n.setAttribute(e,t)},h=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)}},p=function(e,t){t.removeAttribute(e)},m=function(e,t,n,r){r.style.setProperty(t,n,e)},v=function(e){return document.createElement(e)},g=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)},y=function(e,t){return t.appendChild(e)},b=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)},_=function(e,t,n){var r=l()/(e+n),i=d()/(t+n);return Math.min(r,i)},w=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)};n.d(t,"a",function(){return x});var x=function(){var e,t,n,r,i,a,c,_,w,x,O={closeText:"Unzoom image",modalText:"Zoomed item",openText:"Zoom image",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},A=[],j="UNLOADED",N=O.transitionDuration,M=function(e){var t,n,i=e?0:N,o=(t=r)?t.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},s=o.height,c=o.left,h=o.top,p=o.width,m=r,v=m.naturalHeight,g=m.naturalWidth,y=function(e,t){return function(e){return e.style}(t)[e]}("transform",r),b=S.test(r.currentSrc);if("LOADED"!==j)n="scale(1) translate(0,0)"+(y?" ".concat(y):"");else{var _,w,x=k(p,g,s,v,b,O.zoomMargin),E=(l()/2-(c+p/2))/x,T=(d()/2-(h+s/2))/x;n=u()(_=u()(w="scale(".concat(x,") translate(")).call(w,E,"px,")).call(_,T,"px)")+(y?" ".concat(y):"")}f("style","position:absolute;"+"width:".concat(p,"px;")+"height:".concat(s,"px;")+"left:".concat(c,"px;")+"top:".concat(h,"px;")+"transition:transform ".concat(i,"ms ease;")+"-webkit-transform:".concat(n,";")+"-ms-transform:".concat(n,";")+"transform:".concat(n,";"),a)},P=function(){m("","visibility","",r),j="UNLOADED",M(!0),z(),C(w),w=void 0},I=function(){C(n)},L=function(e){E(e)&&(e.stopPropagation(),W())},D=function(){"LOADED"===j?W():"UNLOADING"===j&&M(!1)},R=function(){M(!0)},F=function(){C(n)},B=function(){W()},U=function(){W()},q=function(){c=function(){var r=v("div");f("data-iz-overlay","",r),f("style","position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;"+"z-index:".concat(O.zoomZindex,";"),r),g("click",U,r),x=v("div");var o=v("div");return f("aria-label",O.modalText,o),f("aria-modal","true",o),f("role","dialog",o),e=v("div"),f("tabindex","0",e),g("focus",F,e),t=v("div"),f("tabindex","0",t),g("focus",F,t),n=v("button"),f("aria-label",O.closeText,n),f("style","position:absolute;touch-action:manipulation;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;margin:0;padding: 0;top:0;right:0;bottom:0;left:0;height:100%;width:100%;cursor:pointer;cursor:-webkit-zoom-out;cursor:zoom-out;z-index:1;",n),f("type","button",n),g("click",B,n),y(n,o),a=v("div"),y(i,a),y(a,o),y(x,r),y(e,r),y(o,r),y(t,r),r}(),y(c,document.body),g("keydown",L,document),g("scroll",D,window),g("resize",R,window),m("","visibility","hidden",r),g("transitionend",I,a),j="LOADED",M(!1),c&&h(function(e){if(!T(e)){var t=function(e,t){return t.getAttribute(e)}("aria-hidden",e);t&&A.push([e,t]),f("aria-hidden","true",e)}},c),f("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(O.overlayBgColor,";")+"transition:opacity ".concat(N,"ms ease;")+"opacity:0;",x),m("","opacity",O.overlayOpacity,x)},z=function(){var o,s;b("resize",R,window),b("scroll",D,window),b("keydown",L,document),i&&b("load",q,i),a&&(b("transitionend",P,a),b("transitionend",I,a)),n&&b("click",B,n),e&&b("focus",F,e),t&&b("focus",F,t),c&&(b("click",U,c),o=c,(s=document.body).contains(o)&&s.removeChild(o)),_&&_.removeListener(H),A=[],e=void 0,t=void 0,n=void 0,r=void 0,i=void 0,a=void 0,c=void 0,_=void 0,x=void 0,j="UNLOADED"},H=function(){N=0},W=function(){var e;"LOADED"===j?(null==(e=n)||e.blur(),c&&h(function(e){T(e)||p("aria-hidden",e)},c),s()(A).call(A,function(e){var t=Object(o.a)(e,2),n=t[0],r=t[1];n&&f("aria-hidden",r,n)}),A=[],g("transitionend",P,a),j="UNLOADING",M(!1),m("","opacity","0",x)):M(!1)};return(_=window.matchMedia("(prefers-reduced-motion:reduce)")).addListener(H),{cleanup:function(){z()},zoom:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("UNLOADED"===j){for(var o in r=e,w=t,n)O[o]=n[o];i=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)}(!0,e),p("id",i),f("data-iz-zoomed","",i),m("","max-width","100%",i),m("","max-height","100%",i),m("","width","100%",i),m("","height","auto",i),g("load",q,i)}}}},k=function(e,t,n,r,i,o){return!i&&r&&t?function(e,t,n,r,i){var o=_(t,r,i),a=t>r?t/e:r/n;return o>1?a:o*a}(e,t,n,r,o):_(e,n,o)},E=function(e){return"Escape"===e.key||27===e.keyCode},S=/\.svg$/i,T=function(e){var t=e.tagName;return"SCRIPT"===t||"NOSCRIPT"===t||"STYLE"===t},C=i()(w).call(w,null,{preventScroll:!0})},function(e,t,n){"use strict";var r=n(16),i=n.n(r),o=n(26),a=n.n(o),s=n(140),c=n.n(s),u=n(24),l=n.n(u),d=n(92),f=n.n(d),h=n(42),p=n.n(h),m=n(390),v=n.n(m),g=n(62),y=n(4),b=n.n(y),_=n(243),w=n.n(_),x=n(1229),k=n.n(x),E=n(1230),S=n.n(E),T=n(1231),C=n.n(T),O=n(267),A=n.n(O),j=n(396),N=n.n(j),M=n(416),P=n.n(M),I=n(48),L=n.n(I),D=n(47),R=n.n(D),F=n(83),B=n.n(F),U=n(29),q=n.n(U),z=n(149),H=n.n(z),W=n(22),V=n.n(W),Y=n(84),G=n.n(Y),K=n(13),$=n.n(K),X=n(194),Q=n.n(X),Z=n(196),J=n(141),ee=n(339),te=n(21),ne=R()(L.a),re=function(e){return function(t){var n;return b()(n="".concat(e,"/")).call(n,t.id)}},ie=function(e){return function(t,n){return S()(t,re(n),ue(e,n))}},oe=function(){return!te.e&&q()(Object(ee.a)())},ae=function(e){var t=new Error("Nil token detected");return k.a.notify(t,function(e){return function(t){t.severity="info",t.addMetadata("payload",e)}}(e)),w.a.Rejected(t)},se=function(e){return function(t){return function(n){return function(r){return Object(J.c)(r,function(e,t){return A()(Object(g.a)({data:Object(Z.action)(t),method:"POST",url:Object(J.a)(ne("/".concat(t)),$()("url"),e)},G()(["headers","withCredentials"],e)))}(t,n),B()(oe,ae,e),N()(function(e){return l()(V()({},["response","data"]),f()($()("type"),Object(Z.error)(e)))}(n),p()(c()("data"),$()("data"))),P()(B()($()("error"),w.a.Rejected,w.a.of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},ce=w.a.fromPromise(function(e){var t=e.url,n=e.method,r=e.data;return fetch(t,{method:n,credentials:"include",headers:{"Content-Type":"application/json"},body:v()(r),keepalive:!0}).then(function(e){return e.json()}).then(H()("data"))}),ue=Q()(3,se(ee.b)),le=Q()(3,se(ce)),de=function(e){return function(t,n){return C()(t,re(n),ue(e,n))}},fe=function(e){return{debounce:ie(e),send:ue(e),fetchWithKeepAlive:le(e),throttle:de(e)}}({headers:function(){return{"x-rise-authoring-client":"89ff795c7b18e0e7c6f1dbf06bb178d06e53c9d7"}},postRequest:function(e,t){return t},url:"".concat(Object(te.c)("RISE_RUNTIME_URI"),"/ducks"),withCredentials:!0}),he=n(764),pe=n.n(he),me=n(98),ve=pe()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:Object(me.h)(),userRole:Object(me.c)(),subId:Object(me.g)(),subPlan:Object(me.e)(),subStatus:Object(me.f)()}}),ge=L()("rise/track/")("TRACK");n.d(t,"a",function(){return ye});var ye=l()(f()(c()("userId"),a()("userId",Object(me.a)())),p()(i()(te.e),ve),fe.send(ge))},function(e,t,n){"use strict";var r,i=n(15),o=n(243),a=n.n(o),s=n(16),c=n.n(s),u=n(267),l=n.n(u),d=n(26),f=n.n(d),h=n(76),p=n.n(h),m=n(48),v=n.n(m),g=n(47),y=n.n(g),b=n(140),_=n.n(b),w=n(387),x=n.n(w),k=n(24),E=n.n(k),S=n(13),T=n.n(S),C=n(42),O=n.n(C),A=n(196),j=n(194),N=n.n(j),M=n(396),P=n.n(M),I=N()(2,function(e){return P()(Object(A.error)(e),Object(A.action)(e))}),L=n(138);n.d(t,"b",function(){return z});var D=v()("rise/learningPathUpNext/"),R=D("FETCH_LP_UP_NEXT"),F=D("FETCH_LP_UP_NEXT_PENDING"),B=p()(_()("id")),U=y()(l()({nextCourse:O()(B,c()({})),learningPathComplete:B,lpHasFailedQuiz:T()("lpHasFailedQuiz"),isPending:!1,isSuccess:!0})),q=f()("isPending",!0),z=(t.a=Object(A.handle)({nextCourse:{},learningPathComplete:!1,isPending:!1,isSuccess:!1},(r={},Object(i.a)(r,R,Object(A.onSuccess)(U)),Object(i.a)(r,F,q),r)),x()([Object(A.action)(F),E()(a.a.fromPromise(L.e),I(R))]))},function(e,t,n){"use strict";var r=n(91),i=n(0),o=n.n(i),a=n(28),s=n.n(a),c=n(34),u=n(126),l=n.n(u),d=n(207),f=n.n(d),h=n(24),p=n.n(h),m=n(483),v=n.n(m),g=n(241),y=n.n(g),b=p()(l()({}),v()(["first_name","last_name"]),f()(" "),y.a);n(2562),t.a=function(e){var t=e.className,n=e.decorative,i=e.size,a=Object(r.a)(e,["className","decorative","size"]),u=s()(["avatars","medium"],a),l=n?"":b(a)||"Unknown User";return u?o.a.createElement("img",{alt:l,className:t||"user-avatar",src:u,style:{height:i,width:i}}):o.a.createElement(c.B,{decorative:n,height:i,title:l,width:i})}},function(e,t,n){"use strict";var r=n(23),i=n(91),o=n(0),a=n.n(o),s=n(2),c=n.n(s),u=n(62),l=n(4),d=n.n(l),f=n(46),h=n(150),p=n.n(h),m=function(e){var t,n,r,i,s,c,l,h,m,g,y=e.borderWidth,b=e.checkClassName,_=e.className,w=e.desc,x=e.diameter,k=e.percentComplete,E=e.progressClassName,S=e.progressColor,T=e.title,C=e.trackClassName,O=e.trackColor,A=e.transitionTiming,j=Number(y),N=Number(x),M=Number(k),P=Number(A),I=N/2,L=I-j,D=(Math.PI*L*2).toFixed(3),R=D*(100-M)/100,F=v/N,B=function(e){return e/F},U=Object(o.useState)(p()()),q=Object(f.a)(U,1)[0],z="pc-t-".concat(q),H="pc-d-".concat(q),W={opacity:"0",visibility:"hidden"},V=d()(t="opacity ".concat(P,"s ")).call(t,P,"s"),Y={transition:"none"},G=Object(u.a)({},{stroke:O,transition:V},0===M?Y:{},100===M?W:{}),K=Object(u.a)({},{stroke:S,transition:d()(n=d()(r="stroke-dashoffset ".concat(P+.1,"s ease-out, fill ")).call(r,P,"s ")).call(n,P,"s")},0===M?Y:{},100===M?{fill:S}:{}),$=Object(u.a)({},{transition:V},100!==M?W:{},0===M?Y:{}),X=T||"".concat(M,"% complete");return a.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-labelledby":z,"aria-describedby":H,className:_,focusable:"false",height:N,role:"img",style:{display:"inline-block",verticalAlign:"middle"},width:N},a.a.createElement("title",{id:z},X),a.a.createElement("desc",{id:H},w),a.a.createElement("circle",{className:C,cx:I,cy:I,fill:"transparent",r:L,strokeWidth:j,style:G,transform:d()(i="rotate(-89.9 ".concat(I," ")).call(i,I,")")}),a.a.createElement("circle",{className:E,cx:I,cy:I,fill:"transparent",r:L,strokeDasharray:D,strokeDashoffset:R,strokeWidth:j,style:K,transform:d()(s="rotate(-89.9 ".concat(I," ")).call(s,I,")")}),a.a.createElement("path",{className:b,d:["M".concat(B(8.64)),"0L".concat(B(9.9)),d()(c="".concat(B(1.17),"L")).call(c,B(3.51)),"".concat(B(7.2),"L0"),d()(l="".concat(B(3.87),"L")).call(l,B(1.26)),d()(h="".concat(B(2.7),"l")).call(h,B(2.34)),d()(m="".concat(B(2.16),"L")).call(m,B(8.64)),"0z"].join(","),fill:"#fff",style:$,transform:d()(g="translate(".concat(B(5.5)," ")).call(g,B(7),")")}))};m.displayName="ProgressCircle";var v=21;m.defaultProps={borderWidth:2,desc:"A circle with a colored border representing one's progress.",diameter:v,percentComplete:0,progressColor:"#50abf1",trackColor:"rgba(49, 53, 55, 0.1)",transitionTiming:.3};var g=Object(o.memo)(m),y=n(34),b=function(e){var t=e.percentComplete,n=e.passedQuiz,o=Object(i.a)(e,["percentComplete","passedQuiz"]);if(void 0!==n&&!n)return a.a.createElement(y.H,{"aria-label":"Quiz failed"});var s=c()("brand--stroke brand--fill-opacity",{"brand--fill":100===t});return a.a.createElement(g,Object(r.a)({},o,{desc:"A circle with a colored border representing one's progress through a lesson.",progressClassName:s,percentComplete:t}))};a.a.createElement(b,null).type,t.a=Object(o.memo)(b)},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return H}),n.d(t,"b",function(){return V}),n.d(t,"a",function(){return Y});var r=n(23),i=n(62),o=n(18),a=n.n(o),s=n(142),c=n.n(s),u=n(3),l=n.n(u),d=n(4),f=n.n(d),h=n(9),p=n(6),m=n(10),v=n(8),g=n(5),y=n(11),b=(n(2121),n(16)),_=n.n(b),w=n(2),x=n.n(w),k=n(48),E=n.n(k),S=n(40),T=n.n(S),C=n(497),O=n.n(C),A=n(35),j=n.n(A),N=n(89),M=n.n(N),P=n(1),I=n.n(P),L=n(72),D=n.n(L),R=n(17),F=n(25),B=n(66),U=n(93),q=n(55),z=n(59).b.blocks,H=function(t){function n(){var e,t,r,i;Object(h.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(m.a)(this,(e=Object(v.a)(n)).call.apply(e,f()(t=[this]).call(t,a)))).renderItemDelegate=l()(r=i.renderItem).call(r,Object(g.a)(i)),i}return Object(y.a)(n,t),Object(p.a)(n,[{key:"nextNumber",value:function(e){var t,n=this.props.items,r=n.length>0?n[e].number:null;return isNaN(r)||""===r||(t=c()(r,10)+1),(t<1||t>99)&&(t=null),t}},{key:"renderItem",value:function(t){return e.createElement(W,t)}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.lessonId,s=n.blockId,c=n.isLearner,u=n.items,d=n.type,f=n.settings,h=n.editable,p=n.onStep,m=n.renderItem,v=void 0===m?this.renderItemDelegate:m,g=f.paddingTop,y=f.paddingBottom,b=f.backgroundColor,_=f.entranceAnimation,w=x()("block-list block-list--".concat(d),{"block-list--no-animation":!_}),k={backgroundColor:Object(B.a)("",b),paddingTop:"".concat(10*g,"px"),paddingBottom:"".concat(10*y,"px")};return e.createElement("div",{className:w,"data-ba":z.blockList,style:k},e.createElement("div",{className:"block-list__container"},e.createElement("div",{className:"block-list__row"},e.createElement("div",{className:"block-list__col"},e.createElement(q.a,{animateBlockEntrance:r,animateIn:"fadeInRight",className:"block-list__animated-item",isLearner:c,keepStructure:!0,siblingDelay:.25},e.createElement("ul",{className:"block-list__list",role:"list"},a()(u).call(u,function(e,n){var r;return v(Object(i.a)({key:e.id,index:n,lessonId:o,blockId:s,isDone:e.isDonw,type:d,editable:h,nextNumber:l()(r=t.nextNumber).call(r,t),onStep:p},e))})))))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:I.a.bool.isRequired,lessonId:I.a.any,blockId:I.a.any,isLearner:I.a.bool.isRequired,items:I.a.array.isRequired,settings:I.a.object.isRequired,type:I.a.string,editable:I.a.bool,onStep:I.a.func}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],onStep:Function.prototype,type:"numbered"}}}]),n}(e.Component),W=function(t){function n(e){var t,r;Object(h.a)(this,n),(r=Object(m.a)(this,Object(v.a)(n).call(this,e))).renderTextDelegate=l()(t=r.renderText).call(t,Object(g.a)(r));var i="checkboxes"===e.type?O()():null;return r.state={labelId:i,isChecked:!1},r}return Object(y.a)(n,t),Object(p.a)(n,null,[{key:"propTypes",get:function(){return{id:I.a.any.isRequired,lessonId:I.a.any,blockId:I.a.any.isRequired,isDone:I.a.bool,index:I.a.number.isRequired,type:I.a.string.isRequired,number:I.a.oneOfType([I.a.string,I.a.number]),paragraph:I.a.string,isNewlyInserted:I.a.bool,editable:I.a.bool,nextNumber:I.a.func.isRequired,onStep:I.a.func}}},{key:"defaultProps",get:function(){return{className:""}}}]),Object(p.a)(n,[{key:"checkBox",value:function(e){e.preventDefault(),this.setState({isChecked:!this.state.isChecked}),this.props.onStep(this.props)}},{key:"renderText",value:function(t){return e.createElement(U.a,t)}},{key:"renderItemText",value:function(t){var n=t.paragraphProps,r=this.props.renderText,i=void 0===r?this.renderTextDelegate:r,o=this.state.labelId;return o?e.createElement("div",{id:o},i(n)):i(n)}},{key:"renderIdentifier",value:function(t){return"checkboxes"===this.props.type?null:e.createElement("div",{className:"visually-hidden"},t)}},{key:"render",value:function(){var t,n,r=this,i=this.props,o=i.type,a=i.index,s=i.number,c=i.paragraph,u=i.editable,d=i.className,f=i.style,h=this.state,p=h.isChecked,m=h.labelId,v={allowTabNavigation:!0,className:"block-list__content brand--body brand--linkColor",editable:u,value:c},g=s||a+1,y="numbered"===o?g:"bullet",b=E()("hidden "),w=M()({allowTabNavigation:_()(!1),className:b},v),k=e.createElement("div",{"aria-hidden":!0,className:"block-list__number brand--background"},g),S=e.createElement("div",{className:"block-list__bullet brand--background"}),C=x()("block-list__checkbox","brand--border",{"block-list__checkbox--checked":p,"brand--background":p}),O=e.createElement("div",{className:C},e.createElement("i",{className:"block-list__checkbox__icon icon icon-checkmark-valid"}),e.createElement("div",{"aria-checked":p,"aria-labelledby":m,className:"block-list__checkbox__hitarea",onClick:l()(t=this.checkBox).call(t,this),onKeyDown:Object(F.a)(l()(n=this.checkBox).call(n,this)),role:"checkbox",tabIndex:R.a})),A=T()([[j()("numbered"),_()(k)],[j()("bulleted"),_()(S)],[j()("checkboxes"),_()(O)],[D.a,_()(k)]]);return e.createElement("li",{role:"listitem",ref:function(e){return r.animateRef=e},className:"block-list__item ".concat(d),style:f},e.createElement("div",{className:"block-list__content__left"},A(o),this.renderText(w)),this.renderIdentifier(y),this.renderItemText({paragraphProps:v}))}}]),n}(e.Component),V=function(t){return e.createElement(H,Object(r.a)({type:"checkboxes"},t))},Y=function(t){return e.createElement(H,Object(r.a)({type:"bulleted"},t))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return m}),n.d(t,"a",function(){return v}),n.d(t,"b",function(){return g});var r=n(23),i=n(9),o=n(6),a=n(10),s=n(8),c=n(11),u=(n(2136),n(2)),l=n.n(u),d=n(1),f=n.n(d),h=n(66),p=n(59).b.blocks,m=function(t){function n(){return Object(i.a)(this,n),Object(a.a)(this,Object(s.a)(n).apply(this,arguments))}return Object(c.a)(n,t),Object(o.a)(n,[{key:"render",value:function(){var t=this.props,n=t.labels.numberedDividerGroup,r=t.number,i=t.settings,o=t.type,a=i.paddingTop,s=i.paddingBottom,c=i.backgroundColor,u=i.entranceAnimation,d=l()("block-divider block-divider--".concat(o," brand--afterHead"),{"block-divider--no-animation":!u}),f="numbered"===o,m=l()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":f}),v={backgroundColor:Object(h.a)("",c),paddingTop:"".concat(10*a,"px"),paddingBottom:"".concat(10*s,"px")},g=f?e.createElement("span",{className:"visually-hidden"},n," ",r):null;return e.createElement("div",{className:d,"data-ba":p.blockDivider,style:v},e.createElement("div",{"aria-hidden":"true",className:m,"data-number":r}),g)}}],[{key:"propTypes",get:function(){return{settings:f.a.object.isRequired,number:f.a.number,type:f.a.string}}},{key:"defaultProps",get:function(){return{type:"divider"}}}]),n}(e.Component),v=function(t){return e.createElement(m,Object(r.a)({type:"numbered"},t))},g=function(t){return e.createElement(m,Object(r.a)({type:"spacing"},t))}}).call(this,n(0))},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";
/*! @name @videojs/vhs-utils @version 1.3.0 @license MIT */function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=r(n(2171)),o=r(n(326));e.exports=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=i.buildAbsoluteURL(o.location&&o.location.href||"",e)),i.buildAbsoluteURL(e,t))}},function(e,t,n){"use strict";n.d(t,"a",function(){return D}),n.d(t,"b",function(){return R});var r=n(244),i=n.n(r),o=n(76),a=n.n(o),s=n(7),c=n.n(s),u=n(40),l=n.n(u),d=n(79),f=n.n(d),h=n(117),p=n.n(h),m=n(29),v=n.n(m),g=n(481),y=n.n(g),b=n(84),_=n.n(b),w=n(24),x=n.n(w),k=n(389),E=n.n(k),S=n(36),T=n.n(S),C=n(14),O=n.n(C),A=n(164),j=n.n(A),N=n(72),M=n.n(N),P=a()(v.a),I=function(e){var t=L(e)[0],n=(t||{}).feedback,r=x()(_()(["action","emotion","goTo","nextSlide"]),i()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},L=function(e){return[e.responses[e.response]]},D=function(e){var t=j()(P,"response"),n=O()("hasFeedback",!0),r=function(t){return c()(E()(e),t)};return l()([[n,r(I)],[t,r(L)],[M.a,y.a]])(e)},R=f()(function(e,t){if(t){var n=t.scene,r=t.slide,i=p()(O()("id",n),e),o=T()([],"slides",e[i]);return{scene:i,slide:p()(O()("id",r),o)}}})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return S}),n.d(t,"b",function(){return T});var r=n(3),i=n.n(r),o=n(4),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2434),n(102)),p=n(2),m=n.n(p),v=n(1),g=n.n(v),y=n(59),b=n(75),_=n(34),w=n(38),x=n(229),k=n(141),E=y.a.learn.course.lesson,S=function(t){var n=t.courseFinishLabel,r=t.onNextClick;return e.createElement("div",{className:"next-lesson brand--linkColorHover"},e.createElement(h.a,{className:"next-lesson__link",onClick:r,to:"/lessons/progress-summary"},e.createElement("div",{className:"next-lesson__name brand--ui"},n),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null))))},T=function(t){function n(){var e,t,r,o,c,f,h;Object(s.a)(this,n);for(var p=arguments.length,m=new Array(p),v=0;v<p;v++)m[v]=arguments[v];return(h=Object(u.a)(this,(e=Object(l.a)(n)).call.apply(e,a()(t=[this]).call(t,m)))).onKeyBlur=i()(r=h.handleKeyboardFocus).call(r,Object(d.a)(h),!1),h.onKeyFocus=i()(o=h.handleKeyboardFocus).call(o,Object(d.a)(h),!0),h.onMouseEnter=i()(c=h.handleMouseHover).call(c,Object(d.a)(h),!0),h.onMouseLeave=i()(f=h.handleMouseHover).call(f,Object(d.a)(h),!1),h.state={hasFocus:!1},h}return Object(f.a)(n,t),Object(c.a)(n,[{key:"handleRestrictedClick",value:function(e){e.preventDefault()}},{key:"handleKeyboardFocus",value:function(e){this.setState({hasFocus:e})}},{key:"handleMouseHover",value:function(e){this.props.onMouse(e)}},{key:"render",value:function(){var t=this.props,n=t.allowTooltip,r=t.next,i=t.nextTitle,o=t.nextNumber,s=t.onNextClick,c=t.restrictions,u=t.isContinue,l=t.isLesson,d=t.labels,f=t.type,p=c.isRestricted,v=d.lessonName,g=d.quizContinue,y=this.state.hasFocus,k=m()("next-lesson","brand--linkColorHover",{"next-lesson--restricted":p,"next-lesson--map":"map"===f}),S=e.createElement(w.a,{className:"next-lesson__name--inline",value:i});if(p){var T,C,O=Object(b.a)({labels:d,restrictions:c}),A=l&&!u,j=u?g:S,N=m()("runtime-tooltip",{"runtime-tooltip--show":n&&y});return e.createElement(x.a,{className:N},e.createElement("div",{className:k},e.createElement("span",{"aria-disabled":"true","aria-label":a()(T="The ".concat(i," lesson is currently unavailable: ")).call(T,O),className:"next-lesson__link",onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:"0"},e.createElement("div",{className:"next-lesson__name brand--ui"},A?a()(C="".concat(v," ")).call(C,o," - "):""," ",j),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null)))),e.createElement(x.b,{"aria-hidden":"true",side:"top"},O))}if(i||u){var M,P=l&&!u,I=u?g:S;return e.createElement("div",{className:k,"data-ba":E.nextLessonLink},e.createElement(h.a,{className:"next-lesson__link",to:"/lessons/"+encodeURIComponent(r),onClick:s},e.createElement("div",{className:"next-lesson__name brand--ui"},P?a()(M="".concat(v," ")).call(M,o," - "):""," ",I),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null))))}return e.createElement("div",null)}}],[{key:"defaultProps",get:function(){return{onMouse:k.b}}},{key:"propTypes",get:function(){return{isContinue:g.a.bool,next:g.a.any.isRequired,nextTitle:g.a.string}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){e.exports=n(2505)},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return m}),n.d(t,"b",function(){return v}),n.d(t,"a",function(){return g});var r=n(23),i=n(15),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(1181),n(2)),d=n.n(l),f=n(59),h=n(63),p=f.a.learn.course.lesson,m=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t=this.props,n=t.className,r=t.children;return e.createElement("div",{className:n,"data-ba":p.container,"data-lesson":!0,ref:this.props.contentRef},r)}}]),n}(e.Component),v=function(t){var n=t.children,o=t.hidden,a=t.id,s=t.label,c="".concat("lesson__sidebar","--safari"),u={className:d()("lesson__sidebar",Object(i.a)({},c,h.a.isSafari)),id:a};return e.createElement("section",Object(r.a)({"aria-hidden":o,"aria-label":s,"data-lesson-side":!0},u),n)},g=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t=this.props.onMobileMenuActiveClick;return e.createElement("div",{className:"lesson__content",onClick:t},this.props.children)}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(85),i=n(65).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(65),i=n(172);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(342),i=n(509),o=n(94),a=n(65).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){e.exports=n(65)},function(e,t,n){var r=n(105),i=n(123),o=n(94),a=n(371);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,c=0;s>c;)i.f(e,n=r[c++],t[n]);return e}},function(e,t,n){"use strict";var r=n(133),i=n(311),o=n(108);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),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){var r=n(435),i=n(106)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(19),i=n(821),o=n(253),a=n(372),s=n(252),c=n(172),u=n(186),l=n(340),d=n(106)("iterator"),f=n(435),h=n(822),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=function(){return this};e.exports=function(e,t,n,h,g,y,b){i(n,t,h);var _,w,x,k=function(e){if(e===g&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",S=!1,T=e.prototype,C=T[d]||T["@@iterator"]||g&&T[g],O=!m&&C||k(g),A="Array"==t&&T.entries||C;if(A&&(_=o(A.call(new e)),p!==Object.prototype&&_.next&&(l||o(_)===p||(a?a(_,p):"function"!=typeof _[d]&&c(_,d,v)),s(_,E,!0,!0),l&&(f[E]=v))),"values"==g&&C&&"values"!==C.name&&(S=!0,O=function(){return C.call(this)}),l&&!b||T[d]===O||c(T,d,O),f[t]=O,g)if(w={values:k("values"),keys:y?O:k("keys"),entries:k("entries")},b)for(x in w)!m&&!S&&x in T||u(T,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){e.exports=!n(58)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(660),i=n(65),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]}},function(e,t,n){var r=n(85),i=n(372);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}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var r=n(215),i=n(213);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}},function(e,t,n){var r,i,o,a=n(65),s=n(231),c=n(314),u=n(814),l=n(656),d=a.setImmediate,f=a.clearImmediate,h=a.process,p=a.MessageChannel,m=a.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(v),v},f=function(e){delete g[e]},"process"==s(h)?r=function(e){h.nextTick(c(y,e,1))}:m&&m.now?r=function(e){m.now(c(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(e){a.postMessage(e+"","*")},a.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(c(y,e,1),0)}),e.exports={set:d,clear:f}},function(e,t,n){var r=n(85),i=n(231),o=n(106)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(671),i=n(213);e.exports=function(e,t,n){if(r(t))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(i(e))}},function(e,t,n){var r=n(106)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(521);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},function(e,t,n){var r=n(58),i=n(516);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(65),i=n(58),o=n(510),a=n(95).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!i(function(){c(1)})||!i(function(){new c(-1)})||!o(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||i(function(){return 1!==new c(new s(2),1,void 0).length})},function(e,t,n){"use strict";n(439);var r=n(41),i=n(202),o=n(862),a=n(351),s=n(688),c=n(286),u=n(855),l=n(285),d=n(443),f=n(173),h=n(174),p=n(287),m=n(110),v=n(155),g=n(350),y=n(348),b=n(689),_=n(530),w=n(130),x=i("fetch"),k=i("Headers"),E=w("iterator"),S=l.set,T=l.getterFor("URLSearchParams"),C=l.getterFor("URLSearchParamsIterator"),O=/\+/g,A=Array(4),j=function(e){return A[e-1]||(A[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},N=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(j(n--),N);return t}},P=/[!'()~]|%20/g,I={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return I[e]},D=function(e){return encodeURIComponent(e).replace(P,L)},R=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:M(r.shift()),value:M(r.join("="))}))},F=function(e){this.entries.length=0,R(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=u(function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:b(T(e).entries),kind:t})},"Iterator",function(){var e=C(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}),q=function(){d(this,q,"URLSearchParams");var e,t,n,r,i,o,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=[];if(S(this,{type:"URLSearchParams",entries:l,updateURL:function(){},updateSearchParams:F}),void 0!==u)if(v(u))if("function"==typeof(e=_(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).done;){if((a=(o=(i=b(m(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:s.value+""})}else for(c in u)f(u,c)&&l.push({key:c,value:u[c]+""});else R(l,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},z=q.prototype;s(z,{append:function(e,t){B(arguments.length,2);var n=T(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){B(arguments.length,1);for(var t=T(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){B(arguments.length,1);for(var t=T(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){B(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var n,r=T(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=T(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=T(this).entries,r=h(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 U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(z,E,z.entries),a(z,"toString",function(){for(var e,t=T(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(D(e.key)+"="+D(e.value));return n.join("&")},{enumerable:!0}),c(q,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:q}),o||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,"URLSearchParams"===p(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),i.push(t)),x.apply(this,i)}}),e.exports={URLSearchParams:q,getState:T}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(134),i=n(155),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(118),i=n(852);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var r=n(41),i=n(855),o=n(441),a=n(687),s=n(286),c=n(233),u=n(351),l=n(130),d=n(118),f=n(347),h=n(856),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=l("iterator"),g=function(){return this};e.exports=function(e,t,n,l,h,y,b){i(n,t,l);var _,w,x,k=function(e){if(e===h&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",S=!1,T=e.prototype,C=T[v]||T["@@iterator"]||h&&T[h],O=!m&&C||k(h),A="Array"==t&&T.entries||C;if(A&&(_=o(A.call(new e)),p!==Object.prototype&&_.next&&(d||o(_)===p||(a?a(_,p):"function"!=typeof _[v]&&c(_,v,g)),s(_,E,!0,!0),d&&(f[E]=g))),"values"==h&&C&&"values"!==C.name&&(S=!0,O=function(){return C.call(this)}),d&&!b||T[v]===O||c(T,v,O),f[t]=O,h)if(w={values:k("values"),keys:y?O:k("keys"),entries:k("entries")},b)for(x in w)!m&&!S&&x in T||u(T,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){var r=n(124);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(283),i=n(235),o=n(684),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(529),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)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r={};r[n(130)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(110),i=n(1549);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,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(351);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}},function(e,t,n){var r=n(110),i=n(530);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){var r=n(1556);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(130)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(525),i=n(217),o=n(348);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r,i,o=n(134),a=n(532),s=o.process,c=s&&s.versions,u=c&&c.v8;u?i=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){var r=n(50);e.exports=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)})},function(e,t){},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(236);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(318),i=n(879),o=n(537),a=n(175);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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(236),i=n(448);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){(t=e.exports=n(888)).Stream=t,t.Readable=t,t.Writable=n(701),t.Duplex=n(354),t.Transform=n(892),t.PassThrough=n(1609)},function(e,t,n){"use strict";(function(t,r,i){var o=n(539);function a(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?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o;y.WritableState=g;var u=n(452);u.inherits=n(256);var l={deprecate:n(1608)},d=n(890),f=n(540).Buffer,h=i.Uint8Array||function(){};var p,m=n(891);function v(){}function g(e,t){s=s||n(354),e=e||{},this.objectMode=!!e.objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,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(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?(o(i,r),o(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),E(e,t))}(e,n,r,t,i);else{var a=x(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?c(_,e,n,a,i):_(e,n,a,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.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(s=s||n(354),!(p.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),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)),d.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),E(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t)}else{for(;n;){var u=n.chunk,l=n.encoding,d=n.callback;if(b(e,t,!1,t.objectMode?1:u.length,u,l,d),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var n=x(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}u.inherits(y,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.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]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||e&&e._writableState instanceof g}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=(r=e,(f.isBuffer(r)||r instanceof h)&&!i.objectMode);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=v),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,r,i,o);return c}(this,i,s,e,t,n)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.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 TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"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||r.finished||function(e,t,n){t.ending=!0,E(e,t),n&&(t.finished?o(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(320),n(1606).setImmediate,n(100))},function(e,t,n){"use strict";var r=n(540).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=c,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=f,void(this.end=h)}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:-1}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}(this,e,t);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 c(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 u(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 d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=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+"�".repeat(this.lastTotal-this.lastNeed):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)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n)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}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(704);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},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=c(n(897)),o=c(n(905)),a=c(n(706)),s=c(n(906));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=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}(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=u,e.exports=t.default},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return(r?"/":"")+(t=n(o(t.split("/"),function(e){return!!e}),!r).join("/"))||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return(e=n(o(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return i(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(320))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(905),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},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(1652)),i=o(n(900));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(704);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},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(703)),o=a(n(708));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,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,c=this.normalize(s,this.last),u=Array.isArray(c),l=0;for(c=u?c:c[Symbol.iterator]();;){var d;if(u){if(l>=c.length)break;d=c[l++]}else{if((l=c.next()).done)break;d=l.value}var f=d;this.nodes.push(f)}}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,c=this.normalize(s,this.first,"prepend").reverse(),u=c,l=Array.isArray(u),d=0;for(u=l?u:u[Symbol.iterator]();;){var f;if(l){if(d>=u.length)break;f=u[d++]}else{if((d=u.next()).done)break;f=d.value}var h=f;this.nodes.unshift(h)}for(var p in this.indexes)this.indexes[p]=this.indexes[p]+c.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 c=s;this.nodes.splice(e,0,c)}var u=void 0;for(var l in this.indexes)e<=(u=this.indexes[l])&&(this.indexes[l]=u+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 c=void 0;for(var u in this.indexes)e<(c=this.indexes[u])&&(this.indexes[u]=c+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=function e(t){return t.map(function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t})}(n(707)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),s=Array.isArray(a),c=0;for(a=s?a:a[Symbol.iterator]();;){var u;if(s){if(c>=a.length)break;u=a[c++]}else{if((c=a.next()).done)break;u=c.value}var l=u;l.parent&&l.parent.removeChild(l,"ignore")}}else if("root"===e.type){var d=e=e.nodes.slice(0),f=Array.isArray(d),h=0;for(d=f?d:d[Symbol.iterator]();;){var p;if(f){if(h>=d.length)break;p=d[h++]}else{if((h=d.next()).done)break;p=h.value}var m=p;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(542))(e)]}else if(e.name){e=[new(n(541))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new o.default(e)]}return 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})},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var s=n(710);a=new s}else if("atrule"===e.type){var c=n(541);a=new c}else if("rule"===e.type){var u=n(542);a=new u}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(704)).default);t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(709);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 c;if(a){if(s>=o.length)break;c=o[s++]}else{if((s=o.next()).done)break;c=s.value}c.raws.before=n.raws.before}}return i},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new(n(908))(new(n(907)),this,e).stringify()},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},function(e,t){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},function(e,t){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}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(41),i=n(134),o=n(202),a=n(118),s=n(162),c=n(682),u=n(858),l=n(124),d=n(173),f=n(444),h=n(155),p=n(110),m=n(234),v=n(283),g=n(525),y=n(348),b=n(350),_=n(442),w=n(916),x=n(1689),k=n(914),E=n(349),S=n(217),T=n(528),C=n(233),O=n(351),A=n(680),j=n(526),N=n(440),M=n(527),P=n(130),I=n(715),L=n(151),D=n(286),R=n(285),F=n(457).forEach,B=j("hidden"),U=P("toPrimitive"),q=R.set,z=R.getterFor("Symbol"),H=Object.prototype,W=i.Symbol,V=o("JSON","stringify"),Y=E.f,G=S.f,K=x.f,$=T.f,X=A("symbols"),Q=A("op-symbols"),Z=A("string-to-symbol-registry"),J=A("symbol-to-string-registry"),ee=A("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&l(function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Y(H,t);r&&delete H[t],G(e,t,n),r&&e!==H&&G(H,t,r)}:G,ie=function(e,t){var n=X[e]=b(W.prototype);return q(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(Q,t,n),p(e);var r=g(t,!0);return p(n),d(X,r)?(n.enumerable?(d(e,B)&&e[B][r]&&(e[B][r]=!1),n=b(n,{enumerable:y(0,!1)})):(d(e,B)||G(e,B,y(1,{})),e[B][r]=!0),re(e,r,n)):G(e,r,n)},se=function(e,t){p(e);var n=v(t),r=_(n).concat(de(n));return F(r,function(t){s&&!ce.call(n,t)||ae(e,t,n[t])}),e},ce=function(e){var t=g(e,!0),n=$.call(this,t);return!(this===H&&d(X,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(X,t)||d(this,B)&&this[B][t])||n)},ue=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!d(X,r)||d(Q,r)){var i=Y(n,r);return!i||!d(X,r)||d(n,B)&&n[B][r]||(i.enumerable=!0),i}},le=function(e){var t=K(v(e)),n=[];return F(t,function(e){d(X,e)||d(N,e)||n.push(e)}),n},de=function(e){var t=e===H,n=K(t?Q:v(e)),r=[];return F(n,function(e){!d(X,e)||t&&!d(H,e)||r.push(X[e])}),r};(c||(O((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),n=function(e){this===H&&n.call(Q,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",function(){return z(this).tag}),O(W,"withoutSetter",function(e){return ie(M(e),e)}),T.f=ce,S.f=ae,E.f=ue,w.f=x.f=le,k.f=de,I.f=function(e){return ie(P(e),e)},s&&(G(W.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||O(H,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),F(_(ee),function(e){L(e)}),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=W(t);return Z[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:le,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:l(function(){k.f(1)})},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),V)&&r({target:"JSON",stat:!0,forced:!c||l(function(){var e=W();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(h(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,V.apply(null,i)}});W.prototype[U]||C(W.prototype,U,W.prototype.valueOf),D(W,"Symbol"),N[B]=!0},function(e,t,n){var r=n(130);t.f=r},function(e,t,n){var r=n(284),i="["+n(546)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
function n(e){return function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}}function r(e,t){var r=Object.keys(t).reduce(n(t),{});return Object.keys(e).reduce(n(e),r)}e.exports={assign:r,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,n){var i;return r(((i={})[e]=t,i),n)},unset:function(e,t){return Object.keys(t).reduce(function(n,r){return void 0!==t[r]&&r!==e&&(n[r]=t[r]),n},{})}}},function(e,t,n){var r=n(1706);e.exports="function"==typeof Object.assign?Object.assign:r},function(e,t,n){var r=n(237),i=n(20),o=n(219),a=n(32);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)})},function(e,t){e.exports=Number.isInteger||function(e){return e<<0===e}},function(e,t,n){var r=n(20),i=n(148),o=n(1723),a=n(189);e.exports=r(i(["take"],o,function(e,t){return a(0,e<0?1/0:e,t)}))},function(e,t,n){var r=n(20),i=n(148),o=n(912),a=n(1793),s=n(32);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))}))},function(e,t,n){var r=n(552),i=n(20);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})},function(e,t,n){var r=n(61),i=n(187);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})},function(e,t,n){var r=n(221);
/** @license ISC License (c) copyright 2016 original and current authors */e.exports=function(e){return r(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1936),i=n(290),o=n(952);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})},function(e,t,n){var r=n(461)(n(728));e.exports=r},function(e,t,n){var r=n(1967),i=n(963),o=n(961);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 c="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[c])return a(e,t,n[c]());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")}},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1983),i=n(291),o=n(970);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})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2017),i=n(462);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}}},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(0)),a=(l(n(103)),l(n(463)),l(n(734))),s=l(n(561)),c=l(n(562)),u=l(n(987));function l(e){return e&&e.__esModule?e:{default:e}}var d={to:c.default.string.isRequired,containerId:c.default.string,container:c.default.object,activeClass:c.default.string,spy:c.default.bool,smooth:c.default.oneOfType([c.default.bool,c.default.string]),offset:c.default.number,delay:c.default.number,isDynamic:c.default.bool,onClick:c.default.func,duration:c.default.oneOfType([c.default.number,c.default.func]),absolute:c.default.bool,onSetActive:c.default.func,onSetInactive:c.default.func,ignoreCancelEvents:c.default.bool,hashSpy:c.default.bool};t.default=function(e,t){var n=t||s.default,c=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,o.default.PureComponent),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&&(u.default.isMounted()||u.default.mount(n),u.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 d)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,o.default.createElement(e,n)}}]),s}(),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(!u.default.isMounted()||u.default.isInitialized()){var i=e.props.to,o=null,a=0,s=0,c=0;if(r.getBoundingClientRect)c=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-c+t)+l.height}var d=t-e.props.offset,f=d>=Math.floor(a)&&d<Math.floor(s),h=d<Math.floor(a)||d>=Math.floor(s),p=n.getActiveLink();h&&(i===p&&n.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===i&&u.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,o))),!f||p===i&&!1!==e.state.active||(n.setActiveLink(i),e.props.hashSpy&&u.default.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,o)))}}};return c.propTypes=d,c.defaultProps={offset:0},c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(985),o=(r=i)&&r.__esModule?r:{default:r},a=n(735);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},function(e,t,n){"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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={registered:{},scrollEvent:{register:function(e,t){r.registered[e]=t},remove:function(e){r.registered[e]=null}}};t.default=r},function(e,t,n){var r=n(292),i=n(559),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)}},function(e,t,n){var r=n(2085),i=n(2101),o=n(2103),a=n(2104),s=n(2105);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(384)(n(259),"Map");e.exports=r},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t){e.exports={toUnsigned:function(e){return e>>>0},toHexString:function(e){return("00"+e.toString(16)).slice(-2)}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){var r=n(744);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(2308),i=n(469);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))}},function(e,t,n){var r=n(359)(n(294),"Map");e.exports=r},function(e,t,n){var r=n(2325),i=n(2332),o=n(2334),a=n(2335),s=n(2336);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(1152),i=n(749);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(2371),i=n(2374),o=n(2385),a=n(295),s=n(2386);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)}},function(e,t,n){var r=n(295),i=n(581),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)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(584),i=n(296),o=n(176),a=n(2445),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){var r=n(296),i=n(176),o=n(583);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)}}}},function(e,t,n){var r=n(135),i=n(475),o=n(179),a=n(2448),s=n(2450),c=n(2451);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 l(e,t,n,r){return e["@@transducer/result"](n[r](c(e["@@transducer/step"],e),t))}var d=void 0!==o?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=s(e)),a(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 l(e,t,n,"fantasy-land/reduce");if(null!=n[d])return u(e,t,n[d]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof r(n))return l(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},function(e,t,n){var r=n(221);e.exports=r||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(61);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})},function(e,t,n){var r=n(20),i=n(148),o=n(1722),a=n(1724);e.exports=r(i([],a,o))},function(e,t,n){var r=n(50),i=n(54),o=n(325),a=n(238),s=n(115);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})})},function(e,t,n){var r=n(593),i=n(544);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(61),i=n(35);e.exports=r(function(e,t,n){return i(t[e],n[e])})},function(e,t,n){var r=n(20),i=n(148),o=n(1814);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}}))},function(e,t,n){var r=n(20),i=n(553);e.exports=r(function(e,t){return i(function(e,t,n){return n},e,t)})},function(e,t,n){var r=n(50);e.exports=r(function(e){return-e})},function(e,t,n){var r=n(20);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})})},function(e,t,n){var r=n(20),i=n(35),o=n(721);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(20),i=n(48),o=n(594);e.exports=r(function(e,t){return i(o(e,t),o(t,e))})},function(e,t,n){var r=n(458);e.exports=r(0,"toUpperCase")},function(e,t,n){var r=n(20),i=n(35),o=n(32),a=n(944);e.exports=r(function(e,t){return a(o(i,e),t)})},function(e,t,n){e.exports=n(2057)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2222),i=r.Nothing,o=r.Just,a=n(570),s=n(119),c=n(464);e.exports=s(function(e,t){if(!c(e))throw new TypeError("safe: Pred or predicate function required for first argument");return a(e,t)?o(t):i()})},function(e,t,n){"use strict";n.r(t);var r=n(12),i=n.n(r),o=n(31),a=n.n(o),s=n(650),c=n.n(s),u=n(71),l=n.n(u),d=(n(2160),n(2162),n(37)),f=n.n(d),h=n(1217),p=n.n(h),m=n(68),v=n.n(m),g=n(781),y=n.n(g),b=n(782),_=n.n(b),w=n(1218),x=n.n(w),k=n(1219),E=n.n(k),S=n(783),T=n.n(S),C=n(326),O=n.n(C);
/*! @name m3u8-parser @version 4.4.0 @license Apache-2.0 */
function A(){return(A=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 j(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var N=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].splice(n,1),n>-1},t.trigger=function(e){var t,n,r,i=this.listeners[e];if(i)if(2===arguments.length)for(n=i.length,t=0;t<n;++t)i[t].call(this,arguments[1]);else for(r=Array.prototype.slice.call(arguments,1),n=i.length,t=0;t<n;++t)i[t].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",function(t){e.push(t)})},e}(),M=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return j(t,e),t.prototype.push=function(e){var 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)},t}(N),P=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},I=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}j(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce(function(t,n){var r=n(e);return r===e?t:t.concat([r])},[e]).forEach(function(e){for(var i=0;i<r.customParsers.length;i++)if(r.customParsers[i].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"totalduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"byterange"},t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var o=P(t[1]);if(o.URI&&(n.uri=o.URI),o.BYTERANGE){var a=o.BYTERANGE.split("@"),s=a[0],c=a[1];n.byterange={},s&&(n.byterange.length=parseInt(s,10)),c&&(n.byterange.offset=parseInt(c,10))}}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=P(t[1]),n.attributes.RESOLUTION){var u=n.attributes.RESOLUTION.split("x"),l={};u[0]&&(l.width=parseInt(u[0],10)),u[1]&&(l.height=parseInt(u[1],10)),n.attributes.RESOLUTION=l}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}r.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=P(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=P(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 r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=P(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})}):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,i=e.dataParser,o=e.segment;"function"!=typeof i&&(i=function(e){return e}),this.customParsers.push(function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:i(e),customType:r,segment:o}),!0})},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push(function(e){return t.test(e)?n(e):e})},t}(N);function L(e){for(var t=O.a.atob(e||""),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}var D=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new M,t.parseStream=new I,t.lineStream.pipe(t.parseStream);var n,r,i=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),o=[],a={},s={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},c=0;return t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]},t.parseStream.on("data",function(e){var t,u;({tag:function(){({"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(a.byterange=t,t.length=e.length,"offset"in e||(this.trigger("info",{message:"defaulting offset to zero"}),e.offset=0)),"offset"in e&&(a.byterange=t,t.offset=e.offset)},endlist:function(){this.manifest.endList=!0},inf:function(){"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"})),e.duration>0&&(a.duration=e.duration),0===e.duration&&(a.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=o},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?void(this.manifest.contentProtection={"com.widevine.alpha":{attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:L(e.attributes.URI.split(",")[1])}}):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.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":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,c=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange)},"stream-inf":function(){this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||s,e.attributes?(a.attributes||(a.attributes={}),A(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||s,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(u={default:/yes/i.test(e.attributes.DEFAULT)}).default?u.autoselect=!0:u.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(u.language=e.attributes.LANGUAGE),e.attributes.URI&&(u.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(u.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(u.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(u.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=u}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){c+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),a.dateTimeString=e.dateTimeString,a.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):this.manifest.targetDuration=e.duration},totalduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid total duration: "+e.duration}):this.manifest.totalDuration=e.duration},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){a.cueOut=e.data},"cue-out-cont":function(){a.cueOutCont=e.data},"cue-in":function(){a.cueIn=e.data}}[e.tagType]||function(){}).call(i)},uri:function(){a.uri=e.uri,o.push(a),!this.manifest.targetDuration||"duration"in a||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),a.duration=this.manifest.targetDuration),r&&(a.key=r),a.timeline=c,n&&(a.map=n),a={}},comment:function(){},custom:function(){e.segment?(a.custom=a.custom||{},a.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(i)}),t}j(t,e);var n=t.prototype;return n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(N),R=n(651),F=n.n(R),B=n(1220),U=n.n(B),q=n(1221),z=function(e){return!!e&&"object"==typeof e},H=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(function(t,n){return Object.keys(n).forEach(function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):z(t[r])&&z(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]}),t},{})},W=function(e){return e.reduce(function(e,t){return e.concat(t)},[])},V=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},Y="INVALID_NUMBER_OF_PERIOD",G="DASH_EMPTY_MANIFEST",K="DASH_INVALID_XML",$="NO_BASE_URL",X="SEGMENT_TIME_UNSPECIFIED",Q="UNSUPPORTED_UTC_TIMING_SCHEME",Z=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,i=void 0===r?"":r,o=e.range,a=void 0===o?"":o,s=e.indexRange,c=void 0===s?"":s,u={uri:i,resolvedUri:F()(n||"",i)};if(a||c){var l=(a||c).split("-"),d=parseInt(l[0],10),f=parseInt(l[1],10);u.byterange={length:f-d+1,offset:d}}return u},J={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,i=e.sourceDuration;return{start:0,end:Math.ceil(i/(t/r))}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,i=e.timescale,o=void 0===i?1:i,a=e.duration,s=e.start,c=void 0===s?0:s,u=e.minimumUpdatePeriod,l=void 0===u?0:u,d=e.timeShiftBufferDepth,f=void 0===d?1/0:d,h=(t+n)/1e3,p=r+c,m=h+l-p,v=Math.ceil(m*o/a),g=Math.floor((h-p-f)*o/a),y=Math.floor((h-p)*o/a);return{start:Math.max(0,g),end:Math.min(v,y)}}},ee=function(e){var t=e.type,n=void 0===t?"static":t,r=e.duration,i=e.timescale,o=void 0===i?1:i,a=e.sourceDuration,s=J[n](e),c=function(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}(s.start,s.end).map(function(e){return function(t,n){var r=e.duration,i=e.timescale,o=void 0===i?1:i,a=e.periodIndex,s=e.startNumber;return{number:(void 0===s?1:s)+t,duration:r/o,timeline:a,time:n*r}}}(e));if("static"===n){var u=c.length-1;c[u].duration=a-r/o*u}return c},te=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,i=e.sourceDuration,o=e.timescale,a=void 0===o?1:o,s=e.indexRange,c=void 0===s?"":s,u=e.duration;if(!t)throw new Error($);var l=Z({baseUrl:t,source:r.sourceURL,range:r.range}),d=Z({baseUrl:t,source:t,indexRange:c});if(d.map=l,u){var f=ee(e);f.length&&(d.duration=f[0].duration,d.timeline=f[0].timeline)}else i&&(d.duration=i/a,d.timeline=0);return d.number=0,[d]},ne=function(e,t,n){for(var r=e.sidx.map?e.sidx.map:null,i=e.sidx.duration,o=e.timeline||0,a=e.sidx.byterange,s=a.offset+a.length,c=t.timescale,u=t.references.filter(function(e){return 1!==e.referenceType}),l=[],d=s+t.firstOffset,f=0;f<u.length;f++){var h=t.references[f],p=h.referencedSize,m=h.subsegmentDuration,v=te({baseUrl:n,timescale:c,timeline:o,periodIndex:o,duration:m,sourceDuration:i,indexRange:d+"-"+(d+p-1)})[0];r&&(v.map=r),l.push(v),d+=p}return e.segments=l,e},re=function(e){var t;return(t=e.reduce(function(e,t){var n,r=t.attributes.id+(t.attributes.lang||"");e[r]?(t.segments[0]&&(t.segments[0].discontinuity=!0),(n=e[r].segments).push.apply(n,t.segments),t.attributes.contentProtection&&(e[r].attributes.contentProtection=t.attributes.contentProtection)):e[r]=t;return e},{}),Object.keys(t).map(function(e){return t[e]})).map(function(e){var t,n;return e.discontinuityStarts=(t=e.segments,n="discontinuity",t.reduce(function(e,t,r){return t[n]&&e.push(r),e},[])),e})},ie=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e){var r=e[n];if(r.sidx){var i=r.sidx.uri+"-"+(a=r.sidx.byterange,s=void 0,s=a.offset+a.length-1,a.offset+"-"+s),o=t[i]&&t[i].sidx;r.sidx&&o&&ne(r,o,r.sidx.resolvedUri)}}var a,s;return e},oe=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,o={attributes:(t={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===(n.type||"static"),timeline:n.periodIndex,resolvedUri:"",targetDuration:n.duration,segments:r,mediaSequence:r.length?r[0].number:1};return n.contentProtection&&(o.contentProtection=n.contentProtection),i&&(o.sidx=i),o},ae=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,o={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===(n.type||"static"),timeline:n.periodIndex,resolvedUri:"",targetDuration:n.duration,segments:r,mediaSequence:r.length?r[0].number:1};return n.contentProtection&&(o.contentProtection=n.contentProtection),i&&(o.sidx=i),o},se=function(e,t){var n;if(void 0===t&&(t={}),!e.length)return{};var r=e[0].attributes,i=r.sourceDuration,o=r.type,a=void 0===o?"static":o,s=r.suggestedPresentationDelay,c=r.minimumUpdatePeriod,u=void 0===c?0:c,l=re(e.filter(function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video"===t.contentType})).map(ae),d=re(e.filter(function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio"===t.contentType})),f=e.filter(function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType}),h={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(n={AUDIO:{},VIDEO:{}},n["CLOSED-CAPTIONS"]={},n.SUBTITLES={},n),uri:"",duration:i,playlists:ie(l,t),minimumUpdatePeriod:1e3*u};return"dynamic"===a&&(h.suggestedPresentationDelay=s),d.length&&(h.mediaGroups.AUDIO.audio=function(e,t){var n;void 0===t&&(t={});var r=e.reduce(function(e,r){var i=r.attributes.role&&r.attributes.role.value||"",o=r.attributes.lang||"",a="main";if(o){var s=i?" ("+i+")":"";a=""+r.attributes.lang+s}return e[a]&&e[a].playlists[0].attributes.BANDWIDTH>r.attributes.bandwidth?e:(e[a]={language:o,autoselect:!0,default:"main"===i,playlists:ie([oe(r)],t),uri:""},void 0===n&&"main"===i&&((n=r).default=!0),e)},{});n||(r[Object.keys(r)[0]].default=!0);return r}(d,t)),f.length&&(h.mediaGroups.SUBTITLES.subs=function(e,t){return void 0===t&&(t={}),e.reduce(function(e,n){var r,i,o,a,s=n.attributes.lang||"text";return e[s]?e:(e[s]={language:s,default:!1,autoselect:!1,playlists:ie([(r=n,o=r.attributes,a=r.segments,void 0===a&&(a=[{uri:o.baseUrl,timeline:o.periodIndex,resolvedUri:o.baseUrl||"",duration:o.sourceDuration,number:0}],o.duration=o.sourceDuration),{attributes:(i={NAME:o.id,BANDWIDTH:o.bandwidth},i["PROGRAM-ID"]=1,i),uri:"",endList:"static"===(o.type||"static"),timeline:o.periodIndex,resolvedUri:o.baseUrl||"",targetDuration:o.duration,segments:a,mediaSequence:a.length?a[0].number:1})],t),uri:""},e)},{})}(f,t)),h},ce=function(e,t,n){var r=e.NOW,i=e.clientOffset,o=e.availabilityStartTime,a=e.timescale,s=void 0===a?1:a,c=e.start,u=void 0===c?0:c,l=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===l?0:l)-(o+u);return Math.ceil((d*s-t)/n)},ue=function(e,t){for(var n=e.type,r=void 0===n?"static":n,i=e.minimumUpdatePeriod,o=void 0===i?0:i,a=e.media,s=void 0===a?"":a,c=e.sourceDuration,u=e.timescale,l=void 0===u?1:u,d=e.startNumber,f=void 0===d?1:d,h=e.periodIndex,p=[],m=-1,v=0;v<t.length;v++){var g=t[v],y=g.d,b=g.r||0,_=g.t||0;m<0&&(m=_),_&&_>m&&(m=_);var w=void 0;if(b<0){var x=v+1;w=x===t.length?"dynamic"===r&&o>0&&s.indexOf("$Number$")>0?ce(e,m,y):(c*l-m)/y:(t[x].t-m)/y}else w=b+1;for(var k=f+p.length+w,E=f+p.length;E<k;)p.push({number:E,duration:y/l,time:m,timeline:h}),m+=y,E++}return p},le=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,de=function(e,t){return e.replace(le,function(e){return function(t,n,r,i){if("$$"===t)return"$";if(void 0===e[n])return t;var 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))},fe=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,o=Z({baseUrl:e.baseUrl,source:de(i.sourceURL,n),range:i.range});return function(e,t){return e.duration||t?e.duration?ee(e):ue(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodIndex}]}(e,t).map(function(t){n.Number=t.number,n.Time=t.time;var r=de(e.media||"",n);return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:F()(e.baseUrl||"",r),map:o,number:t.number}})},he=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r;if(!n&&!t||n&&t)throw new Error(X);var o,a=i.map(function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,o=Z({baseUrl:n,source:i.sourceURL,range:i.range}),a=Z({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=o,a}(e,t)});return n&&(o=ee(e)),t&&(o=ue(e,t)),o.map(function(e,t){if(a[t]){var n=a[t];return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n}}).filter(function(e){return e})},pe=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=fe,t=H(r,i.template)):i.base?(n=te,t=H(r,i.base)):i.list&&(n=he,t=H(r,i.list));var o={attributes:r};if(!n)return o;var a=n(t,i.timeline);if(t.duration){var s=t,c=s.duration,u=s.timescale,l=void 0===u?1:u;t.duration=c/l}else a.length?t.duration=a.reduce(function(e,t){return Math.max(e,Math.ceil(t.duration))},0):t.duration=0;return o.attributes=t,o.segments=a,i.base&&t.indexRange&&(o.sidx=a[0],o.segments=[]),o},me=function(e,t){return V(e.childNodes).filter(function(e){return e.tagName===t})},ve=function(e){return e.textContent.trim()},ge=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(i||0)+86400*parseFloat(o||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(c||0)},ye={mediaPresentationDuration:function(e){return ge(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return ge(e)},suggestedPresentationDelay:function(e){return ge(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return ge(e)},start:function(e){return ge(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?ge(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},be=function(e){return e&&e.attributes?V(e.attributes).reduce(function(e,t){var n=ye[t.name]||ye.DEFAULT;return e[t.name]=n(t.value),e},{}):{}},_e={"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"},we=function(e,t){return t.length?W(e.map(function(e){return t.map(function(t){return F()(e,ve(t))})})):e},xe=function(e){var t=me(e,"SegmentTemplate")[0],n=me(e,"SegmentList")[0],r=n&&me(n,"SegmentURL").map(function(e){return H({tag:"SegmentURL"},be(e))}),i=me(e,"SegmentBase")[0],o=n||t,a=o&&me(o,"SegmentTimeline")[0],s=n||i||t,c=s&&me(s,"Initialization")[0],u=t&&be(t);u&&c?u.initialization=c&&be(c):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});var l={template:u,timeline:a&&me(a,"S").map(function(e){return be(e)}),list:n&&H(be(n),{segmentUrls:r,initialization:be(c)}),base:i&&H(be(i),{initialization:be(c)})};return Object.keys(l).forEach(function(e){l[e]||delete l[e]}),l},ke=function(e,t,n){return function(r){var i=be(r),o=we(t,me(r,"BaseURL")),a=me(r,"Role")[0],s={role:be(a)},c=H(e,i,s),u=me(r,"ContentProtection").reduce(function(e,t){var n=be(t),r=_e[n.schemeIdUri];if(r){e[r]={attributes:n};var i=me(t,"cenc:pssh")[0];if(i){var o=ve(i),a=o&&U()(o);e[r].pssh=a}}return e},{});Object.keys(u).length&&(c=H(c,{contentProtection:u}));var l=xe(r),d=me(r,"Representation"),f=H(n,l);return W(d.map(function(e,t,n){return function(r){var i=me(r,"BaseURL"),o=we(t,i),a=H(e,be(r)),s=xe(r);return o.map(function(e){return{segmentInfo:H(n,s),attributes:H(a,{baseUrl:e})}})}}(c,o,f)))}},Ee=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,i=void 0===r?"":r,o=n.NOW,a=void 0===o?Date.now():o,s=n.clientOffset,c=void 0===s?0:s,u=me(e,"Period");if(!u.length)throw new Error(Y);var l=be(e),d=we([i],me(e,"BaseURL"));return l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=a,l.clientOffset=c,W(u.map(function(e,t){return function(n,r){var i=we(t,me(n,"BaseURL")),o=be(n),a=parseInt(o.id,10),s=O.a.isNaN(a)?r:a,c=H(e,{periodIndex:s}),u=me(n,"AdaptationSet"),l=xe(n);return W(u.map(ke(c,i,l)))}}(l,d)))},Se=function(e){if(""===e)throw new Error(G);var t=(new q.DOMParser).parseFromString(e,"application/xml"),n=t&&"MPD"===t.documentElement.tagName?t.documentElement:null;if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(K);return n},Te=function(e,t){return void 0===t&&(t={}),se(Ee(Se(e),t).map(pe),t.sidxMapping)},Ce=function(e){return function(e){var t=me(e,"UTCTiming")[0];if(!t)return null;var n=be(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;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(Q)}return n}(Se(e))},Oe=n(596),Ae=n.n(Oe),je=n(417),Ne=n.n(je),Me=n(1222),Pe=n.n(Me),Ie=n(1223),Le=n.n(Ie);var De=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Re=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}}(),Fe=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},Be=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,c=[],u=[],l=void 0,d=void 0,f=void 0,h=void 0,p=void 0;for(o=0;o<256;o++)u[(c[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=u[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,p=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,h=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][f]=p=p<<24^p>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},Ue=null,qe=function(){function e(t){De(this,e),Ue||(Ue=Be()),this._tables=[[Ue[0][0].slice(),Ue[0][1].slice(),Ue[0][2].slice(),Ue[0][3].slice(),Ue[0][4].slice()],[Ue[1][0].slice(),Ue[1][1].slice(),Ue[1][2].slice(),Ue[1][3].slice(),Ue[1][4].slice()]];var n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=this._tables[0][4],c=this._tables[1],u=t.length,l=1;if(4!==u&&6!==u&&8!==u)throw new Error("Invalid aes key size");for(o=t.slice(0),a=[],this._key=[o,a],n=u;n<4*u+28;n++)i=o[n-1],(n%u==0||8===u&&n%u==4)&&(i=s[i>>>24]<<24^s[i>>16&255]<<16^s[i>>8&255]<<8^s[255&i],n%u==0&&(i=i<<8^i>>>24^l<<24,l=l<<1^283*(l>>7))),o[n]=o[n-u]^i;for(r=0;n;r++,n--)i=o[3&r?n:n-4],a[r]=n<=4||r<4?i:c[0][s[i>>>24]]^c[1][s[i>>16&255]]^c[2][s[i>>8&255]]^c[3][s[255&i]]}return e.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],c=r^a[1],u=n^a[2],l=t^a[3],d=void 0,f=void 0,h=void 0,p=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],x=g[4];for(m=0;m<p;m++)d=y[s>>>24]^b[c>>16&255]^_[u>>8&255]^w[255&l]^a[v],f=y[c>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],h=y[u>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&c]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[c>>8&255]^w[255&u]^a[v+3],v+=4,s=d,c=f,u=h;for(m=0;m<4;m++)i[(3&-m)+o]=x[s>>>24]<<24^x[c>>16&255]<<16^x[u>>8&255]<<8^x[255&l]^a[v++],d=s,s=c,c=u,u=l,l=d},e}(),ze=function(){function e(){De(this,e),this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e].splice(n,1),n>-1},e.prototype.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)},e.prototype.dispose=function(){this.listeners={}},e.prototype.pipe=function(e){this.on("data",function(t){e.push(t)})},e}(),He=function(e){function t(){De(this,t);var n=Fe(this,e.call(this,ze));return n.jobs=[],n.delay=1,n.timeout_=null,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.prototype.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},t.prototype.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(ze),We=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},Ve=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),i=new qe(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),a=new Int32Array(o.buffer),s=void 0,c=void 0,u=void 0,l=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0;for(s=n[0],c=n[1],u=n[2],l=n[3],m=0;m<r.length;m+=4)d=We(r[m]),f=We(r[m+1]),h=We(r[m+2]),p=We(r[m+3]),i.decrypt(d,f,h,p,a,m),a[m]=We(a[m]^s),a[m+1]=We(a[m+1]^c),a[m+2]=We(a[m+2]^u),a[m+3]=We(a[m+3]^l),s=d,c=f,u=h,l=p;return o},Ye=function(){function e(t,n,r,i){De(this,e);var o=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),c=0;for(this.asyncStream_=new He,this.asyncStream_.push(this.decryptChunk_(a.subarray(c,c+o),n,r,s)),c=o;c<a.length;c+=o)r=new Uint32Array([We(a[c-4]),We(a[c-3]),We(a[c-2]),We(a[c-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(c,c+o),n,r,s));this.asyncStream_.push(function(){var e;i(null,(e=s).subarray(0,e.byteLength-e[e.byteLength-1]))})}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var i=Ve(e,t,n);r.set(i,e.byteOffset)}},Re(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}(),Ge="7.8.4",Ke=[],$e=function(e,t){return function(n,r,o){var a=t.levels[r],s=new RegExp("^("+a+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),Ke){Ke.push([].concat(o));var c=Ke.length-1e3;Ke.splice(0,c>0?c:0)}if(i.a.console){var u=i.a.console[n];u||"debug"!==n||(u=i.a.console.info||i.a.console.log),u&&a&&s.test(n)&&u[Array.isArray(o)?"apply":"call"](i.a.console,o)}}};var Xe=function e(t){var n,r="info",i=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n("log",r,t)};return n=$e(t,i),i.createLogger=function(n){return e(t+": "+n)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},i.level=function(e){if("string"==typeof e){if(!i.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(i.history=function(){return Ke?[].concat(Ke):[]}).filter=function(e){return(Ke||[]).filter(function(t){return new RegExp(".*"+e+".*").test(t[0])})},i.history.clear=function(){Ke&&(Ke.length=0)},i.history.disable=function(){null!==Ke&&(Ke.length=0,Ke=null)},i.history.enable=function(){null===Ke&&(Ke=[])},i.error=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("error",r,t)},i.warn=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("warn",r,t)},i.debug=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("debug",r,t)},i}("VIDEOJS"),Qe=Xe.createLogger,Ze=Object.prototype.toString,Je=function(e){return nt(e)?Object.keys(e):[]};function et(e,t){Je(e).forEach(function(n){return t(e[n],n)})}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?c.a.apply(void 0,[e].concat(n)):(n.forEach(function(t){t&&et(t,function(t,n){e[n]=t})}),e)}function nt(e){return!!e&&"object"==typeof e}function rt(e){return nt(e)&&"[object Object]"===Ze.call(e)&&e.constructor===Object}function it(e,t){if(!e||!t)return"";if("function"==typeof i.a.getComputedStyle){var n=i.a.getComputedStyle(e);return n?n.getPropertyValue(t)||n[t]:""}return""}function ot(e){return"string"==typeof e&&Boolean(e.trim())}function at(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function st(){return a.a===i.a.document}function ct(e){return nt(e)&&1===e.nodeType}function ut(){try{return i.a.parent!==i.a.self}catch(e){return!0}}function lt(e){return function(t,n){if(!ot(t))return a.a[e](null);ot(n)&&(n=a.a.querySelector(n));var r=ct(n)?n:a.a;return r[e]&&r[e](t)}}function dt(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var i=a.a.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(Xe.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),i.setAttribute(e,n)):"textContent"===e?ft(i,n):i[e]!==n&&(i[e]=n)}),Object.getOwnPropertyNames(n).forEach(function(e){i.setAttribute(e,n[e])}),r&&Nt(i,r),i}function ft(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function ht(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function pt(e,t){return at(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function mt(e,t){return e.classList?e.classList.add(t):pt(e,t)||(e.className=(e.className+" "+t).trim()),e}function vt(e,t){return e.classList?e.classList.remove(t):(at(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function gt(e,t,n){var r=pt(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?mt(e,t):vt(e,t),e}function yt(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)})}function bt(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,a=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}return t}function _t(e,t){return e.getAttribute(t)}function wt(e,t,n){e.setAttribute(t,n)}function xt(e,t){e.removeAttribute(t)}function kt(){a.a.body.focus(),a.a.onselectstart=function(){return!1}}function Et(){a.a.onselectstart=function(){return!0}}function St(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),n.height||(n.height=parseFloat(it(e,"height"))),n.width||(n.width=parseFloat(it(e,"width"))),n}}function Tt(e){var t;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=a.a.documentElement,r=a.a.body,o=n.clientLeft||r.clientLeft||0,s=i.a.pageXOffset||r.scrollLeft,c=t.left+s-o,u=n.clientTop||r.clientTop||0,l=i.a.pageYOffset||r.scrollTop,d=t.top+l-u;return{left:Math.round(c),top:Math.round(d)}}function Ct(e,t){var n={},r=Tt(e),i=e.offsetWidth,o=e.offsetHeight,a=r.top,s=r.left,c=t.pageY,u=t.pageX;return t.changedTouches&&(u=t.changedTouches[0].pageX,c=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-c+o)/o)),n.x=Math.max(0,Math.min(1,(u-s)/i)),n}function Ot(e){return nt(e)&&3===e.nodeType}function At(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function jt(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),ct(e)||Ot(e)?e:"string"==typeof e&&/\S/.test(e)?a.a.createTextNode(e):void 0}).filter(function(e){return e})}function Nt(e,t){return jt(t).forEach(function(t){return e.appendChild(t)}),e}function Mt(e,t){return Nt(At(e),t)}function Pt(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))}var It,Lt=lt("querySelector"),Dt=lt("querySelectorAll"),Rt=Object.freeze({__proto__:null,isReal:st,isEl:ct,isInFrame:ut,createEl:dt,textContent:ft,prependTo:ht,hasClass:pt,addClass:mt,removeClass:vt,toggleClass:gt,setAttributes:yt,getAttributes:bt,getAttribute:_t,setAttribute:wt,removeAttribute:xt,blockTextSelection:kt,unblockTextSelection:Et,getBoundingClientRect:St,findPosition:Tt,getPointerPosition:Ct,isTextNode:Ot,emptyEl:At,normalizeContent:jt,appendContent:Nt,insertContent:Mt,isSingleLeftClick:Pt,$:Lt,$$:Dt}),Ft=!1,Bt=function(){if(st()&&!1!==It.options.autoSetup){var e=Array.prototype.slice.call(a.a.getElementsByTagName("video")),t=Array.prototype.slice.call(a.a.getElementsByTagName("audio")),n=Array.prototype.slice.call(a.a.getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var i=0,o=r.length;i<o;i++){var s=r[i];if(!s||!s.getAttribute){Ut(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&It(s)}else Ft||Ut(1)}};function Ut(e,t){t&&(It=t),i.a.setTimeout(Bt,e)}function qt(){Ft=!0,i.a.removeEventListener("load",qt)}st()&&("complete"===a.a.readyState?qt():i.a.addEventListener("load",qt));var zt,Ht=function(e){var t=a.a.createElement("style");return t.className=e,t},Wt=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},Vt=3;function Yt(){return Vt++}i.a.WeakMap||(zt=function(){function e(){this.vdata="vdata"+Math.floor(i.a.performance&&i.a.performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||Yt();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];Xe("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var Gt,Kt=i.a.WeakMap?new WeakMap:new zt;function $t(e,t){if(Kt.has(e)){var n=Kt.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&&Kt.delete(e)}}function Xt(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function Qt(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||i.a.event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||a.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){var s=a.a.documentElement,c=a.a.body;e.pageX=e.clientX+(s&&s.scrollLeft||c&&c.scrollLeft||0)-(s&&s.clientLeft||c&&c.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||c&&c.scrollTop||0)-(s&&s.clientTop||c&&c.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}var Zt=function(){if("boolean"!=typeof Gt){Gt=!1;try{var e=Object.defineProperty({},"passive",{get:function(){Gt=!0}});i.a.addEventListener("test",null,e),i.a.removeEventListener("test",null,e)}catch(e){}}return Gt},Jt=["touchstart","touchmove"];function en(e,t,n){if(Array.isArray(t))return Xt(en,e,t,n);Kt.has(e)||Kt.set(e,{});var r=Kt.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=Yt()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=Qt(t);var i=r.handlers[t.type];if(i)for(var o=i.slice(0),a=0,s=o.length;a<s&&!t.isImmediatePropagationStopped();a++)try{o[a].call(e,t,n)}catch(e){Xe.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var i=!1;Zt()&&Jt.indexOf(t)>-1&&(i={passive:!0}),e.addEventListener(t,r.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function tn(e,t,n){if(Kt.has(e)){var r=Kt.get(e);if(r.handlers){if(Array.isArray(t))return Xt(tn,e,t,n);var i=function(e,t){r.handlers[t]=[],$t(e,t)};if(void 0!==t){var o=r.handlers[t];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);$t(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function nn(e,t,n){var r=Kt.has(e)?Kt.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=Qt(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)nn.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){Kt.has(t.target)||Kt.set(t.target,{});var o=Kt.get(t.target);t.target[t.type]&&(o.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),o.disabled=!1)}return!t.defaultPrevented}function rn(e,t,n){if(Array.isArray(t))return Xt(rn,e,t,n);var r=function r(){tn(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Yt(),en(e,t,r)}function on(e,t,n){var r=function r(){tn(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Yt(),en(e,t,r)}var an,sn=Object.freeze({__proto__:null,fixEvent:Qt,on:en,off:tn,trigger:nn,one:rn,any:on}),cn=30,un=function(e,t,n){t.guid||(t.guid=Yt());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},ln=function(e,t){var n=i.a.performance.now();return function(){var r=i.a.performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},dn=function(e,t,n,r){var o;void 0===r&&(r=i.a);var a=function(){var i=this,a=arguments,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=function(){r.clearTimeout(o),o=null},a},fn=function(){};fn.prototype.allowedEvents_={},fn.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},en(this,e,t),this.addEventListener=n},fn.prototype.addEventListener=fn.prototype.on,fn.prototype.off=function(e,t){tn(this,e,t)},fn.prototype.removeEventListener=fn.prototype.off,fn.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},rn(this,e,t),this.addEventListener=n},fn.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},on(this,e,t),this.addEventListener=n},fn.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=Qt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),nn(this,e)},fn.prototype.dispatchEvent=fn.prototype.trigger,fn.prototype.queueTrigger=function(e){var t=this;an||(an=new Map);var n=e.type||e,r=an.get(this);r||(r=new Map,an.set(this,r));var o=r.get(n);r.delete(n),i.a.clearTimeout(o);var a=i.a.setTimeout(function(){0===r.size&&(r=null,an.delete(t)),t.trigger(e)},0);r.set(n,a)};var hn=function(e){return e instanceof fn||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},pn=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},mn=function(e){if(!e.nodeName&&!hn(e))throw new Error("Invalid target; must be a DOM node or evented object.")},vn=function(e){if(!pn(e))throw new Error("Invalid event type; must be a non-empty string or array.")},gn=function(e){if("function"!=typeof e)throw new Error("Invalid listener; must be a function.")},yn=function(e,t){var n,r,i,o=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return o?(n=e.eventBusEl_,t.length>=3&&t.shift(),r=t[0],i=t[1]):(n=t[0],r=t[1],i=t[2]),mn(n),vn(r),gn(i),{isTargetingSelf:o,target:n,type:r,listener:i=un(e,i)}},bn=function(e,t,n,r){mn(e),e.nodeName?sn[t](e,n,r):e[t](n,r)},_n={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(bn(a,"on",s,c),!o){var u=function(){return e.off(a,s,c)};u.guid=c.guid;var l=function(){return e.off("dispose",u)};l.guid=c.guid,bn(this,"on","dispose",u),bn(a,"on","dispose",l)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(o)bn(a,"one",s,c);else{var u=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];c.apply(null,r)};u.guid=c.guid,bn(a,"one",s,u)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(o)bn(a,"any",s,c);else{var u=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];c.apply(null,r)};u.guid=c.guid,bn(a,"any",s,u)}},off:function(e,t,n){if(!e||pn(e))tn(this.eventBusEl_,e,t);else{var r=e,i=t;mn(r),vn(i),gn(n),n=un(this,n),this.off("dispose",n),r.nodeName?(tn(r,i,n),tn(r,"dispose",n)):hn(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){return nn(this.eventBusEl_,e,t)}};function wn(e,t){void 0===t&&(t={});var n=t.eventBusKey;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_=dt("span",{className:"vjs-event-bus"});return tt(e,_n),e.eventedCallbacks&&e.eventedCallbacks.forEach(function(e){e()}),e.on("dispose",function(){e.off(),i.a.setTimeout(function(){e.eventBusEl_=null},0)}),e}var xn={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),et(e,function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e}),t&&hn(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function kn(e,t){return tt(e,xn),e.state=tt({},e.state,t),"function"==typeof e.handleStateChanged&&hn(e)&&e.on("statechanged",e.handleStateChanged),e}var En=function(e){return"string"!=typeof e?e:e.replace(/./,function(e){return e.toLowerCase()})},Sn=function(e){return"string"!=typeof e?e:e.replace(/./,function(e){return e.toUpperCase()})};function Tn(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){t&&et(t,function(t,n){rt(t)?(rt(e[n])||(e[n]={}),e[n]=Tn(e[n],t)):e[n]=t})}),e}var Cn=function(){function e(e,t,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Tn({},this.options_),t=this.options_=Tn(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+Yt()}var o;this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),!1!==t.evented&&wn(this,{eventBusKey:this.el_?"el_":null}),kn(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},i.a.Set||(o=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}()),this.setTimeoutIds_=i.a.Set?new Set:new o,this.setIntervalIds_=i.a.Set?new Set:new o,this.rafIds_=i.a.Set?new Set:new o,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(){if(!this.isDisposed_){if(this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var 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&&this.el_.parentNode.removeChild(this.el_),Kt.has(this.el_)&&Kt.delete(this.el_),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=Tn(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return dt(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var 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],c=n;return o&&o[e]?c=o[e]:s&&s[e]&&(c=s[e]),t&&(c=c.replace(/\{(\d+)\}/g,function(e,n){var r=t[n-1],i=r;return void 0===r&&(i=e),i})),c},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce(function(e,t){return e.concat(t)},[]);for(var r=this,i=0;i<t.length;i++)if(!(r=r.getChild(t[i]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var i,o;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"==typeof t){o=Sn(t);var a=n.componentClass||o;n.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;i=new s(this.player_||this,n)}else i=t;if(i.parentComponent_&&i.parentComponent_.removeChild(i),this.children_.splice(r,0,i),i.parentComponent_=this,"function"==typeof i.id&&(this.childIndex_[i.id()]=i),(o=o||i.name&&Sn(i.name()))&&(this.childNameIndex_[o]=i,this.childNameIndex_[En(o)]=i),"function"==typeof i.el&&i.el()){var c=null;this.children_[r+1]&&(this.children_[r+1].el_?c=this.children_[r+1].el_:ct(this.children_[r+1])&&(c=this.children_[r+1])),this.contentEl().insertBefore(i.el(),c)}return i},t.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Sn(e.name())]=null,this.childNameIndex_[En(e.name())]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,i=this.options_,o=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter(function(e){return!r.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r,i;return"string"==typeof e?i=n[r=e]||t.options_[r]||{}:(r=e.name,i=e),{name:r,opts:i}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||Sn(t.name));return n&&!o.isTech(n)}).forEach(function(e){var n=e.name,r=e.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var o=t.addChild(n,r);o&&(t[n]=o)}})}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},t.$=function(e,t){return Lt(e,t||this.contentEl())},t.$$=function(e,t){return Dt(e,t||this.contentEl())},t.hasClass=function(e){return pt(this.el_,e)},t.addClass=function(e){mt(this.el_,e)},t.removeClass=function(e){vt(this.el_,e)},t.toggleClass=function(e,t){gt(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return _t(this.el_,e)},t.setAttribute=function(e,t){wt(this.el_,e,t)},t.removeAttribute=function(e){xt(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(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;var r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+Sn(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=it(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+Sn(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=i.a.performance.now(),e=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,i=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+i*i)>10&&(e=!1)}});var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",function(r){(n=null,!0===e)&&(i.a.performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))})},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=un(this.player(),this.player().reportUserActivity);this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=un(this,e),this.clearTimersOnDispose_(),n=i.a.setTimeout(function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()},t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),i.a.clearTimeout(e)),e},t.setInterval=function(e,t){e=un(this,e),this.clearTimersOnDispose_();var n=i.a.setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i.a.clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=un(this,e),t=i.a.requestAnimationFrame(function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()}),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),i.a.cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",function(){[["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(function(t){var n=t[0],r=t[1];e[n].forEach(e[r],e)}),e.clearingTimersOnDispose_=!1}))},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,i=e.getComponent("Tech"),o=i&&i.isTech(n),a=e===n||e.prototype.isPrototypeOf(n.prototype);if(o||!a)throw r=o?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=Sn(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var c=s.players,u=Object.keys(c);if(c&&u.length>0&&u.map(function(e){return c[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[En(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();Cn.prototype.supportsRaf_="function"==typeof i.a.requestAnimationFrame&&"function"==typeof i.a.cancelAnimationFrame,Cn.registerComponent("Component",Cn);var On,An=i.a.navigator&&i.a.navigator.userAgent||"",jn=/AppleWebKit\/([\d.]+)/i.exec(An),Nn=jn?parseFloat(jn.pop()):null,Mn=/iPod/i.test(An),Pn=(On=An.match(/OS (\d+)_/i))&&On[1]?On[1]:null,In=/Android/i.test(An),Ln=function(){var e=An.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),Dn=In&&Ln<5&&Nn<537,Rn=/Firefox/i.test(An),Fn=/Edg/i.test(An),Bn=!Fn&&(/Chrome/i.test(An)||/CriOS/i.test(An)),Un=function(){var e=An.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),qn=function(){var e=/MSIE\s(\d+)\.\d/.exec(An),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(An)&&/rv:11.0/.test(An)&&(t=11),t}(),zn=/Safari/i.test(An)&&!Bn&&!In&&!Fn,Hn=/Windows/i.test(An),Wn=st()&&("ontouchstart"in i.a||i.a.navigator.maxTouchPoints||i.a.DocumentTouch&&i.a.document instanceof i.a.DocumentTouch),Vn=/iPad/i.test(An)||zn&&Wn&&!/iPhone/i.test(An),Yn=/iPhone/i.test(An)&&!Vn,Gn=Yn||Vn||Mn,Kn=(zn||Gn)&&!Bn,$n=Object.freeze({__proto__:null,IS_IPOD:Mn,IOS_VERSION:Pn,IS_ANDROID:In,ANDROID_VERSION:Ln,IS_NATIVE_ANDROID:Dn,IS_FIREFOX:Rn,IS_EDGE:Fn,IS_CHROME:Bn,CHROME_VERSION:Un,IE_VERSION:qn,IS_SAFARI:zn,IS_WINDOWS:Hn,TOUCH_ENABLED:Wn,IS_IPAD:Vn,IS_IPHONE:Yn,IS_IOS:Gn,IS_ANY_SAFARI:Kn});function Xn(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 Qn(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Xn.bind(null,"start",0,e),end:Xn.bind(null,"end",1,e)}}function Zn(e,t){return Array.isArray(e)?Qn(e):void 0===e||void 0===t?Qn():Qn([[e,t]])}function Jn(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=Zn(0,0));for(var o=0;o<e.length;o++)n=e.start(o),(r=e.end(o))>t&&(r=t),i+=r-n;return i/t}for(var er,tr={prefixed:!0},nr=[["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"]],rr=nr[0],ir=0;ir<nr.length;ir++)if(nr[ir][1]in a.a){er=nr[ir];break}if(er){for(var or=0;or<er.length;or++)tr[rr[or]]=er[or];tr.prefixed=er[0]!==rr[0]}function ar(e){if(e instanceof ar)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:nt(e)&&("number"==typeof e.code&&(this.code=e.code),tt(this,e)),this.message||(this.message=ar.defaultMessages[this.code]||"")}ar.prototype.code=0,ar.prototype.message="",ar.prototype.status=null,ar.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ar.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(var sr=0;sr<ar.errorTypes.length;sr++)ar[ar.errorTypes[sr]]=sr,ar.prototype[ar.errorTypes[sr]]=sr;function cr(e){return null!=e&&"function"==typeof e.then}function ur(e){cr(e)&&e.then(null,function(e){})}var lr=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return 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}})})},dr=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,function(e){return e.track});return Array.prototype.map.call(t,function(e){var t=lr(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(lr))},fr=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()},hr="vjs-modal-dialog",pr=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=dt("div",{className:hr+"-content"},{role:"document"}),r.descEl_=dt("p",{className:hr+"-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),ft(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return hr+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var 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},n.open=function(){if(!this.opened_){var 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}},n.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var 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()}},n.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!t&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Mt(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},n.empty=function(){this.trigger("beforemodalempty"),At(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=a.a.activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),v.a.isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(v.a.isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),i=0;i<n.length;i++)if(r===n[i]){t=i;break}a.a.activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,function(e){return(e instanceof i.a.HTMLAnchorElement||e instanceof i.a.HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i.a.HTMLInputElement||e instanceof i.a.HTMLSelectElement||e instanceof i.a.HTMLTextAreaElement||e instanceof i.a.HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i.a.HTMLIFrameElement||e instanceof i.a.HTMLObjectElement||e instanceof i.a.HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")})},t}(Cn);pr.prototype.options_={pauseOnOpen:!0,temporary:!0},Cn.registerComponent("ModalDialog",pr);var mr=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(l()(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}f()(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this}))},n.removeTrack=function(e){for(var t,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},t}(fn);for(var vr in mr.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},mr.prototype.allowedEvents_)mr.prototype["on"+vr]=null;var gr=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},yr=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){gr(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&gr(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,gr(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(mr),br=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},_r=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){br(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(l()(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&br(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,br(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(mr),wr=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(mr),xr=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},t.removeTrackElement_=function(e){for(var 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}},e}(),kr=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var i=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)},t.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},e}(),Er={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Sr={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Tr={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Cr={disabled:"disabled",hidden:"hidden",showing:"showing"},Or=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+Yt(),kind:t.kind||"",label:t.label||"",language:t.language||""},i=function(e){Object.defineProperty(l()(n),e,{get:function(){return r[e]},set:function(){}})};for(var o in r)i(o);return n}return f()(t,e),t}(fn),Ar=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=a.a.createElement("a");n.href=e;var r,o=""===n.host&&"file:"!==n.protocol;o&&((r=a.a.createElement("div")).innerHTML='<a href="'+e+'"></a>',n=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),a.a.body.appendChild(r));for(var s={},c=0;c<t.length;c++)s[t[c]]=n[t[c]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=i.a.location.protocol),o&&a.a.body.removeChild(r),s},jr=function(e){if(!e.match(/^https?:\/\//)){var t=a.a.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},Nr=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Mr=function(e,t){void 0===t&&(t=i.a.location);var n=Ar(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},Pr=Object.freeze({__proto__:null,parseUrl:Ar,getAbsoluteURL:jr,getFileExtension:Nr,isCrossOrigin:Mr}),Ir=function(e,t){var n=new i.a.WebVTT.Parser(i.a,i.a.vttjs,i.a.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.a.console&&i.a.console.groupCollapsed&&i.a.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return Xe.error(e)}),i.a.console&&i.a.console.groupEnd&&i.a.console.groupEnd()),n.flush()},Lr=function(e,t){var n={uri:e},r=Mr(e);r&&(n.cors=r),y()(n,un(this,function(e,n,r){if(e)return Xe.error(e,n);t.loaded_=!0,"function"!=typeof i.a.WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],function(e){if("vttjserror"!==e.type)return Ir(r,t);Xe.error("vttjs failed to load, stopping trying to process "+t.src)}):Ir(r,t)}))},Dr=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=Tn(t,{kind:Tr[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=Cr[r.mode]||"disabled",o=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(i="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var a=new kr(n.cues_),s=new kr(n.activeCues_),c=!1,u=un(l()(n),function(){this.activeCues=this.activeCues,c&&(this.trigger("cuechange"),c=!1)});return"disabled"!==i&&n.tech_.ready(function(){n.tech_.on("timeupdate",u)},!0),Object.defineProperties(l()(n),{default:{get:function(){return o},set:function(){}},mode:{get:function(){return i},set:function(e){var t=this;Cr[e]&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||Lr(this.src,this),"disabled"!==i?this.tech_.ready(function(){t.tech_.on("timeupdate",u)},!0):this.tech_.off("timeupdate",u),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?a:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];i.startTime<=e&&i.endTime>=e?t.push(i):i.startTime===i.endTime&&i.startTime<=e&&i.startTime+.5>=e&&t.push(i)}if(c=!1,t.length!==this.activeCues_.length)c=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(c=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||o||"subtitles"!==r.kind&&"captions"!==r.kind)&&Lr(n.src,l()(n))):n.loaded_=!0,n}f()(t,e);var n=t.prototype;return n.addCue=function(e){var t=e;if(i.a.vttjs&&!(e instanceof i.a.vttjs.VTTCue)){for(var n in t=new i.a.vttjs.VTTCue(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(Or);Dr.prototype.allowedEvents_={cuechange:"cuechange"};var Rr=function(e){function t(t){var n;void 0===t&&(t={});var r=Tn(t,{kind:Sr[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(l()(n),"enabled",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return f()(t,e),t}(Or),Fr=function(e){function t(t){var n;void 0===t&&(t={});var r=Tn(t,{kind:Er[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(l()(n),"selected",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return f()(t,e),t}(Or),Br=0,Ur=2,qr=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var i=new Dr(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperties(l()(n),{readyState:{get:function(){return r}},track:{get:function(){return i}}}),r=Br,i.addEventListener("loadeddata",function(){r=Ur,n.trigger({type:"load",target:l()(n)})}),n}return f()(t,e),t}(fn);qr.prototype.allowedEvents_={load:"load"},qr.NONE=Br,qr.LOADING=1,qr.LOADED=Ur,qr.ERROR=3;var zr={audio:{ListClass:yr,TrackClass:Rr,capitalName:"Audio"},video:{ListClass:_r,TrackClass:Fr,capitalName:"Video"},text:{ListClass:wr,TrackClass:Dr,capitalName:"Text"}};Object.keys(zr).forEach(function(e){zr[e].getterName=e+"Tracks",zr[e].privateName=e+"Tracks_"});var Hr={remoteText:{ListClass:wr,TrackClass:Dr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:xr,TrackClass:qr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Wr=c()({},zr,Hr);Hr.names=Object.keys(Hr),zr.names=Object.keys(zr),Wr.names=[].concat(Hr.names).concat(zr.names);var Vr=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).hasStarted_=!1,r.on("playing",function(){this.hasStarted_=!0}),r.on("loadstart",function(){this.hasStarted_=!1}),Wr.names.forEach(function(e){var n=Wr[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])}),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){!1===t["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)}),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Wr.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}f()(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",function(){return t.setTimeout(function(){return t.triggerSourceset(e)},1)}),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(un(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return Zn(0,0)},n.bufferedPercent=function(){return Jn(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks(zr.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===e&&t.removeRemoteTextTrack(i),n.removeTrack(i)}})},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},n.reset=function(){},n.error=function(e){return void 0!==e&&(this.error_=new ar(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Zn(0,0):Zn()},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;zr.names.forEach(function(t){var n=zr[t],r=function(){e.trigger(t+"trackchange")},i=e[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),e.on("dispose",function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)})})},n.addWebVttScript_=function(){var e=this;if(!i.a.WebVTT)if(a.a.body.contains(this.el())){if(!this.options_["vtt.js"]&&rt(_.a)&&Object.keys(_.a).length>0)return void this.trigger("vttjsloaded");var t=a.a.createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){t.onload=null,t.onerror=null}),i.a.WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},i=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return e.trigger("texttrackchange")},a=function(){o();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",i),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",o)}})},n.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,i){void 0===i&&(i={});var o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;var a=new Wr.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=Tn(e,{tech:this});return new Hr.remoteTextEl.TrackClass(t)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(Xe.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready(function(){return n.autoRemoteTextTracks_.addTrack(r.track)}),r},n.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||i.a.Promise;if(e)return e.reject()},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Sn(e),t.techs_[e]=n,t.techs_[En(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=Sn(e),i.a&&i.a.videojs&&i.a.videojs[e]?(Xe.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i.a.videojs[e]):void 0)},t}(Cn);Wr.names.forEach(function(e){var t=Wr[e];Vr.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),Vr.prototype.featuresVolumeControl=!0,Vr.prototype.featuresMuteControl=!0,Vr.prototype.featuresFullscreenResize=!1,Vr.prototype.featuresPlaybackRate=!1,Vr.prototype.featuresProgressEvents=!1,Vr.prototype.featuresSourceset=!1,Vr.prototype.featuresTimeupdateEvents=!1,Vr.prototype.featuresNativeTextTracks=!1,Vr.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],i=0;i<r.length;i++)if(n=r[i].canPlayType(t))return n;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach(function(e){var 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){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:Xe.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)}},Cn.registerComponent("Tech",Vr),Vr.registerTech("Tech",Vr),Vr.defaultTechOrder_=[];var Yr={},Gr={},Kr={};function $r(e,t,n){e.setTimeout(function(){return function e(t,n,r,i,o,a){void 0===t&&(t={});void 0===n&&(n=[]);void 0===o&&(o=[]);void 0===a&&(a=!1);var s=n,c=s[0],u=s.slice(1);if("string"==typeof c)e(t,Yr[c],r,i,o,a);else if(c){var l=function(e,t){var n=Gr[e.id()],r=null;if(null==n)return r=t(e),Gr[e.id()]=[[t,r]],r;for(var i=0;i<n.length;i++){var o=n[i],a=o[0],s=o[1];a===t&&(r=s)}null===r&&(r=t(e),n.push([t,r]));return r}(i,c);if(!l.setSource)return o.push(l),e(t,u,r,i,o,a);l.setSource(tt({},t),function(n,s){if(n)return e(t,u,r,i,o,a);o.push(l),e(s,t.type===s.type?u:Yr[s.type],r,i,o,a)})}else u.length?e(t,u,r,i,o,a):a?r(t,o):e(t,Yr["*"],r,i,o,!0)}(t,Yr[t.type],n,e)},1)}function Xr(e,t,n,r){void 0===r&&(r=null);var i="call"+Sn(n),o=e.reduce(ei(i),r),a=o===Kr,s=a?null:t[n](o);return function(e,t,n,r){for(var i=e.length-1;i>=0;i--){var o=e[i];o[t]&&o[t](r,n)}}(e,n,s,a),s}var Qr={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1},Zr={setCurrentTime:1,setMuted:1,setVolume:1},Jr={play:1,pause:1};function ei(e){return function(t,n){return t===Kr?Kr:n[e]?n[e](t):t}}var ti={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",oga:"audio/ogg",m3u8:"application/x-mpegURL",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},ni=function(e){void 0===e&&(e="");var t=Nr(e);return ti[t.toLowerCase()]||""};function ri(e){if(!e.type){var t=ni(e.src);t&&(e.type=t)}return e}var ii=function(e){function t(t,n,r){var i,o=Tn({createEl:!1},n);if(i=e.call(this,t,o,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var a=0,s=n.playerOptions.techOrder;a<s.length;a++){var c=Sn(s[a]),u=Vr.getTech(c);if(c||(u=Cn.getComponent(c)),u&&u.isSupported()){t.loadTech_(c);break}}return i}return f()(t,e),t}(Cn);Cn.registerComponent("MediaLoader",ii);var oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).emitTapEvents(),r.enable(),r}f()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n=tt({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&Xe.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=tt({role:"button"},r),this.tabIndex_=n.tabIndex;var i=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(i),i},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=dt("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,ft(this.controlTextEl_,n),this.nonIconControl||t.setAttribute("title",n)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){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))},n.disable=function(){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)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Cn);Cn.registerComponent("ClickableComponent",oi);var ai=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),t.on("posterchange",un(l()(r),r.update)),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},n.createEl=function(){return dt("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(qn||Fn)&&t||this.player_.tech(!0).focus(),this.player_.paused()?ur(this.player_.play()):this.player_.pause()}},t}(oi);Cn.registerComponent("PosterImage",ai);var si={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 ci(e,t){var 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 ui(e,t,n){try{e.style[t]=n}catch(e){return}}var li=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var a=un(l()(o),o.updateDisplay);return t.on("loadstart",un(l()(o),o.toggleDisplay)),t.on("texttrackchange",a),t.on("loadedmetadata",un(l()(o),o.preselectTrack)),t.ready(un(l()(o),function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",a),t.on("playerresize",a),i.a.addEventListener("orientationchange",a),t.on("dispose",function(){return i.a.removeEventListener("orientationchange",a)});for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}})),o}f()(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},i=this.player_.textTracks(),o=this.player_.cache_.selectedLanguage,a=0;a<i.length;a++){var s=i[a];o&&o.enabled&&o.language&&o.language===s.language&&s.kind in r?s.kind===o.kind?n=s:n||(n=s):o&&!o.enabled?(n=null,e=null,t=null):s.default&&("descriptions"!==s.kind||e?s.kind in r&&!t&&(t=s):e=s)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof i.a.WebVTT&&i.a.WebVTT.processCues(i.a,[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var i=e[r];"showing"===i.mode&&n.push(i)}this.updateForTrack(n)}else{for(var o=null,a=null,s=e.length;s--;){var c=e[s];"showing"===c.mode&&("descriptions"===c.kind?o=c:a=c)}a?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(a)):o&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(o))}},n.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),n=e.activeCues,r=n.length;r--;){var o=n[r];if(o){var a=o.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&ui(a.firstChild,"color",ci(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&ui(a.firstChild,"backgroundColor",ci(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?ui(a,"backgroundColor",ci(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){var s=i.a.parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=si[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof i.a.WebVTT&&!e.every(function(e){return!e.activeCues})){for(var t=[],n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.activeCues.length;++o)t.push(r.activeCues[o]);i.a.WebVTT.processCues(i.a,t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],c=0;c<s.activeCues.length;++c){var u=s.activeCues[c].displayState;mt(u,"vjs-text-track-cue"),mt(u,"vjs-text-track-cue-"+(s.language?s.language:a))}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(Cn);Cn.registerComponent("TextTrackDisplay",li);var di=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=dt("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),i=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},t}(Cn);Cn.registerComponent("LoadingSpinner",di);var fi=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={}),t=tt({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},t),n=tt({type:"button"},n);var r=Cn.prototype.createEl.call(this,"button",t,n);return this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return Xe.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),Cn.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(oi);Cn.registerComponent("Button",fi);var hi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return ur(t),void(!this.player_.tech(!0)||(qn||Fn)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),i=r&&r.getChild("playToggle");if(i){var o=function(){return i.focus()};cr(t)?t.then(o,function(){}):this.setTimeout(o,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(fi);hi.prototype.controlText_="Play Video",Cn.registerComponent("BigPlayButton",hi);var pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){v.a.isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(fi);Cn.registerComponent("CloseButton",pi);var mi=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",r.handlePlay),r.on(t,"pause",r.handlePause),n.replay&&r.on(t,"ended",r.handleEnded),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(fi);mi.prototype.controlText_="Play",Cn.registerComponent("PlayToggle",mi);var vi=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600),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)},gi=vi;function yi(e,t){return void 0===t&&(t=e),gi(e,t)}var bi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],r.updateContent),r.updateTextNode_(),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text" role="presentation">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=dt("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=yi(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestAnimationFrame(function(){if(t.contentEl_){var e=t.textNode_;t.textNode_=a.a.createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}}))},n.updateContent=function(e){},t}(Cn);bi.prototype.labelText_="Time",bi.prototype.controlText_="Time",Cn.registerComponent("TimeDisplay",bi);var _i=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(bi);_i.prototype.labelText_="Current Time",_i.prototype.controlText_="Current Time",Cn.registerComponent("CurrentTimeDisplay",_i);var wi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",r.updateContent),r.on(t,"loadstart",r.updateContent),r.on(t,"loadedmetadata",r.updateContent),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(bi);wi.prototype.labelText_="Duration",wi.prototype.controlText_="Duration",Cn.registerComponent("DurationDisplay",wi);var xi=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"},{"aria-hidden":!0})},t}(Cn);Cn.registerComponent("TimeDivider",xi);var ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",r.updateContent),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return t.insertBefore(dt("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var t;"number"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(bi);ki.prototype.labelText_="Remaining Time",ki.prototype.controlText_="Remaining Time",Cn.registerComponent("RemainingTimeDisplay",ki);var Ei=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=dt("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(Cn);Cn.registerComponent("LiveDisplay",Ei);var Si=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatus),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=dt("span",{className:"vjs-seek-to-live-text",innerHTML:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!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"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatus),this.textEl_=null,e.prototype.dispose.call(this)},t}(fi);Si.prototype.controlText_="Seek to live, currently playing live",Cn.registerComponent("SeekToLive",Si);var Ti=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},Ci=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}f()(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){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)},n.disable=function(){if(this.enabled()){var 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}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=tt({tabIndex:0},n),r=tt({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||Bn||e.preventDefault(),kt(),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)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;Et(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),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.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_?t:(this.progress_=t,this.requestAnimationFrame(function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}),t)}},n.getProgress=function(){return Number(Ti(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=Ct(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){v.a.isEventKey(t,"Left")||v.a.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):v.a.isEventKey(t,"Right")||v.a.isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(Cn);Cn.registerComponent("Slider",Ci);var Oi=function(e,t){return Ti(e/t*100,0,100).toFixed(2)+"%"},Ai=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",r.update),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=dt("span",{className:"vjs-control-text"}),r=dt("span",{textContent:this.localize("Loaded")}),i=a.a.createTextNode(": ");return this.percentageEl_=dt("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(i),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestAnimationFrame(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),i=t.player_.bufferedEnd(),o=t.partEls_,a=Oi(i,r);t.percent_!==a&&(t.el_.style.width=a,ft(t.percentageEl_,a),t.percent_=a);for(var s=0;s<n.length;s++){var c=n.start(s),u=n.end(s),l=o[s];l||(l=t.el_.appendChild(dt()),o[s]=l),l.dataset.start===c&&l.dataset.end===u||(l.dataset.start=c,l.dataset.end=u,l.style.left=Oi(c,i),l.style.width=Oi(u-c,i))}for(var d=o.length;d>n.length;d--)t.el_.removeChild(o[d-1]);o.length=n.length})},t}(Cn);Cn.registerComponent("LoadProgressBar",Ai);var ji=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=St(this.el_),i=St(this.player_.el()),o=e.width*t;if(i&&r){var a=e.left-i.left+o,s=e.width-o+(i.right-e.right),c=r.width/2;a<c?c+=c-a:s<c&&(c=s),c<0?c=0:c>r.width&&(c=r.width),this.el_.style.right="-"+c+"px",this.write(n)}},n.write=function(e){ft(this.el_,e)},n.updateTime=function(e,t,n,r){var i=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var o,a=i.player_.duration();if(i.player_.liveTracker&&i.player_.liveTracker.isLive()){var s=i.player_.liveTracker.liveWindow(),c=s-t*s;o=(c<1?"":"-")+yi(c,s)}else o=yi(n,a);i.update(e,t,o),r&&r()})},t}(Cn);Cn.registerComponent("TimeTooltip",ji);var Ni=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(Cn);Ni.prototype.options_={children:[]},Gn||In||Ni.prototype.options_.children.push("timeTooltip"),Cn.registerComponent("PlayProgressBar",Ni);var Mi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,function(){n.el_.style.left=e.width*t+"px"})},t}(Cn);Mi.prototype.options_={children:["timeTooltip"]},Cn.registerComponent("MouseTimeDisplay",Mi);var Pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}f()(t,e);var n=t.prototype;return n.setEventHandlers_=function(){this.update_=un(this,this.update),this.update=ln(this.update_,cn),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.on(this.player_,["playing"],this.enableInterval_),this.on(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in a.a&&"visibilityState"in a.a&&this.on(a.a,"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){a.a.hidden?this.disableInterval_(e):(this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,cn))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this,r=e.prototype.update.call(this);return this.requestAnimationFrame(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,i=n.player_.duration();t&&t.isLive()&&(i=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===i||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[yi(e,i),yi(i,i)],"{1} of {2}")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(St(n.el()),n.getProgress())}),r},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){Pt(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e){if(Pt(e)){var t,n=this.calculateDistance(e),r=this.player_.liveTracker;if(r&&r.isLive()){if(n>=.99)return void r.seekToLiveEdge();var i=r.seekableStart(),o=r.liveCurrentTime();if((t=i+n*r.liveWindow())>=o&&(t=o),t<=i&&(t=i+.1),t===1/0)return}else(t=n*this.player_.duration())===this.player_.duration()&&(t-=.1);this.player_.currentTime(t)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?ur(this.player_.play()):this.update_()},n.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},n.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){if(v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(v.a.isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(0);else if(v.a.isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.duration());else if(/^[0-9]$/.test(v()(t))){t.preventDefault(),t.stopPropagation();var n=10*(v.a.codes[v()(t)]-v.a.codes[0])/100;this.player_.currentTime(this.player_.duration()*n)}else v.a.isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()-60)):v.a.isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableInterval_),this.off(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in a.a&&"visibilityState"in a.a&&this.off(a.a,"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(Ci);Pi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Gn||In||Pi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Cn.registerComponent("SeekBar",Pi);var Ii=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=ln(un(l()(r),r.handleMouseMove),cn),r.throttledHandleMouseSeek=ln(un(l()(r),r.handleMouseSeek),cn),r.enable(),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var i=t.el(),o=St(i),a=Ct(i,e).x;a=Ti(0,1,a),r&&r.update(o,a),n&&n.update(o,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){this.children().forEach(function(e){return e.disable&&e.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},n.enable=function(){this.children().forEach(function(e){return e.enable&&e.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.handleMouseDown=function(e){var 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.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t}(Cn);Ii.prototype.options_={children:["seekBar"]},Cn.registerComponent("ProgressControl",Ii);var Li=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],r.handlePictureInPictureChange),a.a.pictureInPictureEnabled||r.disable(),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture")},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(fi);Li.prototype.controlText_="Picture-in-Picture",Cn.registerComponent("PictureInPictureToggle",Li);var Di=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",r.handleFullscreenChange),!1===a.a[t.fsApi_.fullscreenEnabled]&&r.disable(),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(fi);Di.prototype.controlText_="Fullscreen",Cn.registerComponent("FullscreenToggle",Di);var Ri=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")})},Fi=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(Cn);Cn.registerComponent("VolumeLevel",Fi);var Bi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",r.updateLastVolume_),r.on(t,"volumechange",r.updateARIAAttributes),t.ready(function(){return r.updateARIAAttributes()}),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){Pt(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){Pt(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",function(){0===e.player_.volume()&&e.player_.lastVolume_(t)})},t}(Ci);Bi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Bi.prototype.playerEvent="volumechange",Cn.registerComponent("VolumeBar",Bi);var Ui=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||rt(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),r=e.call(this,t,n)||this,Ri(l()(r),t),r.throttledHandleMouseMove=ln(un(l()(r),r.handleMouseMove),cn),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),r.on(r.volumeBar,["focus","slideractive"],function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")}),r.on(r.volumeBar,["blur","sliderinactive"],function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")}),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(Cn);Ui.prototype.options_={children:["volumeBar"]},Cn.registerComponent("VolumeControl",Ui);var qi=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")})},zi=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,qi(l()(r),t),r.on(t,["loadstart","volumechange"],r.update),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;Gn&&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);for(var n=0;n<4;n++)vt(this.el_,"vjs-vol-"+n);mt(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(fi);zi.prototype.controlText_="Mute",Cn.registerComponent("MuteToggle",zi);var Hi=function(e){function t(t,n){var r;return void 0===n&&(n={}),void 0!==n.inline?n.inline=n.inline:n.inline=!0,(void 0===n.volumeControl||rt(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).on(t,["loadstart"],r.volumePanelState_),r.on(r.muteToggle,"keyup",r.handleKeyPress),r.on(r.volumeControl,"keyup",r.handleVolumeControlKeyUp),r.on("keydown",r.handleKeyPress),r.on("mouseover",r.handleMouseOver),r.on("mouseout",r.handleMouseOut),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}f()(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){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")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){v.a.isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),en(a.a,"keyup",un(this,this.handleKeyPress))},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),tn(a.a,"keyup",un(this,this.handleKeyPress))},n.handleKeyPress=function(e){v.a.isEventKey(e,"Esc")&&this.handleMouseOut()},t}(Cn);Hi.prototype.options_={children:["muteToggle","volumeControl"]},Cn.registerComponent("VolumePanel",Hi);var Wi=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",r.handleKeyDown),r.boundHandleBlur_=un(l()(r),r.handleBlur),r.boundHandleTapClick_=un(l()(r),r.handleTapClick),r}f()(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof Cn&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof Cn&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},n.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=dt(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),en(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||a.a.activeElement;if(!this.children().some(function(e){return e.el()===t})){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter(function(t){return t.el()===e.target})[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){v.a.isEventKey(e,"Left")||v.a.isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(v.a.isEventKey(e,"Right")||v.a.isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className)&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(Cn);Cn.registerComponent("Menu",Wi);var Vi=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new fi(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var i=fi.prototype.buildCSSClass();return r.menuButton_.el_.className=r.buildCSSClass()+" "+i,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0,r.on(r.menuButton_,"tap",r.handleClick),r.on(r.menuButton_,"click",r.handleClick),r.on(r.menuButton_,"keydown",r.handleKeyDown),r.on(r.menuButton_,"mouseenter",function(){r.addClass("vjs-hover"),r.menu.show(),en(a.a,"keyup",un(l()(r),r.handleMenuKeyUp))}),r.on("mouseleave",r.handleMouseLeave),r.on("keydown",r.handleSubmenuKeyDown),r}f()(t,e);var n=t.prototype;return n.update=function(){var 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.show()},n.createMenu=function(){var e=new Wi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=dt("li",{className:"vjs-menu-title",innerHTML:Sn(this.options_.title),tabIndex:-1});this.hideThreshold_+=1;var n=new Cn(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)e.addItem(this.items[r]);return e},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+fi.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),tn(a.a,"keyup",un(this,this.handleMenuKeyUp))},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(v.a.isEventKey(e,"Up")||v.a.isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Gn&&ut())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(Cn);Cn.registerComponent("MenuButton",Vi);var Yi=function(e){function t(t,n){var r,i=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!i)return l()(r);var o=un(l()(r),r.update);return i.addEventListener("removetrack",o),i.addEventListener("addtrack",o),r.player_.on("ready",o),r.player_.on("dispose",function(){i.removeEventListener("removetrack",o),i.removeEventListener("addtrack",o)}),r}return f()(t,e),t}(Vi);Cn.registerComponent("TrackButton",Yi);var Gi=["Tab","Esc","Up","Down","Right","Left"],Ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}f()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",tt({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),r)},n.handleKeyDown=function(t){Gi.some(function(e){return v.a.isEventKey(t,e)})||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(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))},t}(oi);Cn.registerComponent("MenuItem",Ki);var $i=function(e){function t(t,n){var r,o=n.track,s=t.textTracks();n.label=o.label||o.language||"Unknown",n.selected="showing"===o.mode,(r=e.call(this,t,n)||this).track=o,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var c,u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(l()(r),t)},d=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(l()(r),t)};(t.on(["loadstart","texttrackchange"],u),s.addEventListener("change",u),s.addEventListener("selectedlanguagechange",d),r.on("dispose",function(){t.off(["loadstart","texttrackchange"],u),s.removeEventListener("change",u),s.removeEventListener("selectedlanguagechange",d)}),void 0===s.onchange)&&r.on(["tap","click"],function(){if("object"!=typeof i.a.Event)try{c=new i.a.Event("change")}catch(e){}c||(c=a.a.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(c)});return r.handleTracksChange(),r}f()(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var i=0;i<r.length;i++){var o=r[i];-1!==this.kinds.indexOf(o.kind)&&(o===n?"showing"!==o.mode&&(o.mode="showing"):"disabled"!==o.mode&&(o.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Ki);Cn.registerComponent("TextTrackMenuItem",$i);var Xi=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}f()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}($i);Cn.registerComponent("OffTextTrackMenuItem",Xi);var Qi=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return f()(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=$i),this.label_&&(n=this.label_+" off"),e.push(new Xi(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var a=new t(this.player_,{track:o,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),e.push(a)}}return e},t}(Yi);Cn.registerComponent("TextTrackButton",Qi);var Zi=function(e){function t(t,n){var r,i=n.track,o=n.cue,a=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=o.text,n.selected=o.startTime<=a&&a<o.endTime,(r=e.call(this,t,n)||this).track=i,r.cue=o,i.addEventListener("cuechange",un(l()(r),r.update)),r}f()(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},n.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(Ki);Cn.registerComponent("ChaptersTrackMenuItem",Zi);var Ji=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},n.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Sn(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var i=t[n],o=new Zi(this.player_,{track:this.track_,cue:i});e.push(o)}return e},t}(Qi);Ji.prototype.kind_="chapters",Ji.prototype.controlText_="Chapters",Cn.registerComponent("ChaptersButton",Ji);var eo=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=t.textTracks(),a=un(l()(i),i.handleTracksChange);return o.addEventListener("change",a),i.on("dispose",function(){o.removeEventListener("change",a)}),i}f()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,i=t.length;r<i;r++){var o=t[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Qi);eo.prototype.kind_="descriptions",eo.prototype.controlText_="Descriptions",Cn.registerComponent("DescriptionsButton",eo);var to=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Qi);to.prototype.kind_="subtitles",to.prototype.controlText_="Subtitles",Cn.registerComponent("SubtitlesButton",to);var no=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return f()(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}($i);Cn.registerComponent("CaptionSettingsMenuItem",no);var ro=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new no(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Qi);ro.prototype.kind_="captions",ro.prototype.controlText_="Captions",Cn.registerComponent("CaptionsButton",ro);var io=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(i+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n      "),i+="</span>",e.prototype.createEl.call(this,t,tt({innerHTML:i},n),r)},t}($i);Cn.registerComponent("SubsCapsMenuItem",io);var oo=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(Sn(r.label_)),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new no(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,io)},t}(Qi);oo.prototype.kinds_=["captions","subtitles"],oo.prototype.controlText_="Subtitles",Cn.registerComponent("SubsCapsButton",oo);var ao=function(e){function t(t,n){var r,i=n.track,o=t.audioTracks();n.label=i.label||i.language||"Unknown",n.selected=i.enabled,(r=e.call(this,t,n)||this).track=i,r.addClass("vjs-"+i.kind+"-menu-item");var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(l()(r),t)};return o.addEventListener("change",a),r.on("dispose",function(){o.removeEventListener("change",a)}),r}f()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(i+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n      "),i+="</span>",e.prototype.createEl.call(this,t,tt({innerHTML:i},n),r)},n.handleClick=function(t){var n=this.player_.audioTracks();e.prototype.handleClick.call(this,t);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(Ki);Cn.registerComponent("AudioTrackMenuItem",ao);var so=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new ao(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Yi);so.prototype.controlText_="Audio Track",Cn.registerComponent("AudioTrackButton",so);var co=function(e){function t(t,n){var r,i=n.rate,o=parseFloat(i,10);return n.label=i,n.selected=1===o,n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=i,r.rate=o,r.on(t,"ratechange",r.update),r}f()(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(Ki);co.prototype.contentElType="button",Cn.registerComponent("PlaybackRateMenuItem",co);var uo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateVisibility(),r.updateLabel(),r.on(t,"loadstart",r.updateVisibility),r.on(t,"ratechange",r.updateLabel),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=dt("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createMenu=function(){var e=new Wi(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new co(this.player(),{rate:t[n]+"x"}));return e},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>t){r=n[i];break}this.player().playbackRate(r)},n.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(Vi);uo.prototype.controlText_="Playback Rate",Cn.registerComponent("PlaybackRateMenuButton",uo);var lo=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(Cn);Cn.registerComponent("Spacer",lo);var fo=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},t}(lo);Cn.registerComponent("CustomControlSpacer",fo);var ho=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(Cn);ho.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a.a&&ho.prototype.options_.children.splice(ho.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Cn.registerComponent("ControlBar",ho);var po=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",r.open),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(pr);po.prototype.options_=c()({},pr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Cn.registerComponent("ErrorDisplay",po);var mo=["#000","Black"],vo=["#00F","Blue"],go=["#0FF","Cyan"],yo=["#0F0","Green"],bo=["#F0F","Magenta"],_o=["#F00","Red"],wo=["#FFF","White"],xo=["#FF0","Yellow"],ko=["1","Opaque"],Eo=["0.5","Semi-Transparent"],So=["0","Transparent"],To={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[mo,wo,_o,yo,vo,xo,bo,go]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[ko,Eo,So]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[wo,mo,_o,yo,vo,xo,bo,go]},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:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[ko,Eo]},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:"Transparency",options:[So,Eo,ko]}};function Co(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}To.windowColor.options=To.backgroundColor.options;var Oo=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=un(l()(r),r.updateDisplay),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=dt("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",function(){r.saveSettings(),r.close()}),r.on(r.$(".vjs-default-button"),"click",function(){r.setDefaults(),r.updateDisplay()}),et(To,function(e){r.on(r.$(e.selector),"change",r.updateDisplay)}),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var i=To[e],o=i.id.replace("%s",this.id_),a=[t,o].join(" ").trim();return["<"+n+' id="'+o+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(i.label),"</"+n+">",'<select aria-labelledby="'+a+'">'].concat(i.options.map(function(e){var t=o+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+a+" "+t+'">',r.localize(e[1]),"</option>"].join("")})).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return dt("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return dt("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("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return dt("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("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var e,t,n,r=this;return t=function(e,t,n){var i,o,a=(i=r.$(t.selector),o=t.parser,Co(i.options[i.options.selectedIndex].value,o));return void 0!==a&&(e[n]=a),e},void 0===(n={})&&(n=0),Je(e=To).reduce(function(n,r){return t(n,e[r],r)},n)},n.setValues=function(e){var t=this;et(To,function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(Co(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)})},n.setDefaults=function(){var e=this;et(To,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},n.restoreSettings=function(){var e;try{e=JSON.parse(i.a.localStorage.getItem("vjs-text-track-settings"))}catch(e){Xe.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?i.a.localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):i.a.localStorage.removeItem("vjs-text-track-settings")}catch(e){Xe.warn(e)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(pr);Cn.registerComponent("TextTrackSettings",Oo);var Ao=function(e){function t(t,n){var r,o=n.ResizeObserver||i.a.ResizeObserver;null===n.ResizeObserver&&(o=!1);var a=Tn({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,a)||this).ResizeObserver=n.ResizeObserver||i.a.ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=dn(function(){r.resizeHandler()},100,!1,l()(r)),o?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){tn(this,"resize",e),tn(this,"unload",t),t=null};en(r.el_.contentWindow,"unload",t),en(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){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,e.prototype.dispose.call(this)},t}(Cn);Cn.registerComponent("ResizeManager",Ao);var jo={trackingThreshold:30,liveTolerance:15},No=function(e){function t(t,n){var r,i=Tn(jo,n,{createEl:!1});return(r=e.call(this,t,i)||this).reset_(),r.on(r.player_,"durationchange",r.handleDurationchange),qn&&"hidden"in a.a&&"visibilityState"in a.a&&r.on(a.a,"visibilitychange",r.handleVisibilityChange),r}f()(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(a.a.hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(i.a.performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),o=this.player_.currentTime(),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"))}},n.handleDurationchange=function(){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())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLive_,cn),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLive_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked):(this.one(this.player_,"play",this.handlePlay),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=!this.skipNextSeeked_&&e>2,this.skipNextSeeked_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.skipNextSeeked_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLive_),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)},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?1/0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"==typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.skipNextSeeked_=!0,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(a.a,"visibilitychange",this.handleVisibilityChange),this.stopTracking(),e.prototype.dispose.call(this)},t}(Cn);Cn.registerComponent("LiveTracker",No);var Mo,Po=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],i="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var a=n[o].src;a&&-1===r.indexOf(a)&&r.push(a)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},Io=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=a.a.createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=a.a.createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i.a.Element.prototype.appendChild.call(this,n),this.innerHTML}}),Lo=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},Do=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Lo([e.el(),i.a.HTMLMediaElement.prototype,i.a.Element.prototype,Io],"innerHTML")}(e),o=function(n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=n.apply(t,i);return Po(e),a}};["append","appendChild","insertAdjacentHTML"].forEach(function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))}),Object.defineProperty(t,"innerHTML",Tn(r,{set:o(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},Ro=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?jr(i.a.Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return i.a.Element.prototype.setAttribute.call(this,"src",e),e}}),Fo=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Lo([e.el(),i.a.HTMLMediaElement.prototype,Ro],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Tn(n,{set:function(r){var i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=function(n,i){var o=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),o},t.load=function(){var n=o.call(t);return Po(e)||(e.triggerSourceset(""),Do(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Po(e)||Do(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Bo=function(e,t,n,r){void 0===r&&(r=!0);var i=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},o={configurable:!0,enumerable:!0,get:function(){var e=n();return i(e),e}};return r&&(o.set=i),Object.defineProperty(e,t,o)},Uo=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i=t.source,o=!1;if(i&&(r.el_.currentSrc!==i.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(i):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.el_.hasChildNodes()){for(var a=r.el_.childNodes,s=a.length,c=[];s--;){var u=a[s];"track"===u.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(u),r.remoteTextTracks().addTrack(u.track),r.textTracks().addTrack(u.track),o||r.el_.hasAttribute("crossorigin")||!Mr(u.src)||(o=!0)):c.push(u))}for(var l=0;l<c.length;l++)r.el_.removeChild(c[l])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&o&&Xe.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(Wn||Yn||Dn)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){Fo(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",function(){return t.removeEventListener("change",n)});var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)})},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach(function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])}),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=zr[e],r=this.el()[n.getterName],i=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(n){var r={type:"change",target:i,currentTarget:i,srcElement:i};i.trigger(r),"text"===e&&t[Hr.remoteText.getterName]().trigger(r)},addtrack:function(e){i.addTrack(e.track)},removetrack:function(e){i.removeTrack(e.track)}},a=function(){for(var e=[],t=0;t<i.length;t++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[t]){n=!0;break}n||e.push(i[t])}for(;e.length;)i.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=o,Object.keys(o).forEach(function(e){var n=o[e];r.addEventListener(e,n),t.on("dispose",function(t){return r.removeEventListener(e,n)})}),this.on("loadstart",a),this.on("dispose",function(e){return t.off("loadstart",a)})}},n.proxyNativeTracks_=function(){var e=this;zr.names.forEach(function(t){e.proxyNativeTracksForType_(t)})},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=a.a.createElement("video");var r=Tn({},this.options_.tag&&bt(this.options_.tag));Wn&&!0===this.options_.nativeControlsForTouch||delete r.controls,yt(e,tt(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&wt(e,"preload",this.options_.preload);for(var i=["loop","muted","playsinline","autoplay"],o=0;o<i.length;o++){var s=i[o],c=this.options_[s];void 0!==c&&(c?wt(e,s,s):xt(e,s),e[s]=c)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var i=["loadstart"];i.push("loadedmetadata"),e.readyState>=2&&i.push("loadeddata"),e.readyState>=3&&i.push("canplay"),e.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(e){this.trigger(e)},this)})}},n.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){Xe(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&In&&Bn&&0===this.el_.currentTime){return this.on("timeupdate",function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))}),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},n.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=i.a.navigator&&i.a.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)ur(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)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=a.a.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},n.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),i.a.performance&&"function"==typeof i.a.performance.now?e.creationTime=i.a.performance.now():i.a.performance&&i.a.performance.timing&&"number"==typeof i.a.performance.timing.navigationStart&&(e.creationTime=i.a.Date.now()-i.a.performance.timing.navigationStart),e},t}(Vr);Bo(Uo,"TEST_VID",function(){if(st()){var e=a.a.createElement("video"),t=a.a.createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}}),Uo.isSupported=function(){try{Uo.TEST_VID.volume=.5}catch(e){return!1}return!(!Uo.TEST_VID||!Uo.TEST_VID.canPlayType)},Uo.canPlayType=function(e){return Uo.TEST_VID.canPlayType(e)},Uo.canPlaySource=function(e,t){return Uo.canPlayType(e.type)},Uo.canControlVolume=function(){try{var e=Uo.TEST_VID.volume;return Uo.TEST_VID.volume=e/2+.1,e!==Uo.TEST_VID.volume}catch(e){return!1}},Uo.canMuteVolume=function(){try{var e=Uo.TEST_VID.muted;return Uo.TEST_VID.muted=!e,Uo.TEST_VID.muted?wt(Uo.TEST_VID,"muted","muted"):xt(Uo.TEST_VID,"muted"),e!==Uo.TEST_VID.muted}catch(e){return!1}},Uo.canControlPlaybackRate=function(){if(In&&Bn&&Un<58)return!1;try{var e=Uo.TEST_VID.playbackRate;return Uo.TEST_VID.playbackRate=e/2+.1,e!==Uo.TEST_VID.playbackRate}catch(e){return!1}},Uo.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(a.a.createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a.a.createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a.a.createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a.a.createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},Uo.supportsNativeTextTracks=function(){return Kn||Gn&&Bn},Uo.supportsNativeVideoTracks=function(){return!(!Uo.TEST_VID||!Uo.TEST_VID.videoTracks)},Uo.supportsNativeAudioTracks=function(){return!(!Uo.TEST_VID||!Uo.TEST_VID.audioTracks)},Uo.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresVolumeControl","canControlVolume"],["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function(e){var t=e[0],n=e[1];Bo(Uo.prototype,t,function(){return Uo[n]()},!0)}),Uo.prototype.movingMediaElementInDOM=!Gn,Uo.prototype.featuresFullscreenResize=!0,Uo.prototype.featuresProgressEvents=!0,Uo.prototype.featuresTimeupdateEvents=!0,Uo.patchCanPlayType=function(){Ln>=4&&!Rn&&!Bn&&(Mo=Uo.TEST_VID&&Uo.TEST_VID.constructor.prototype.canPlayType,Uo.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":Mo.call(this,e)})},Uo.unpatchCanPlayType=function(){var e=Uo.TEST_VID.constructor.prototype.canPlayType;return Mo&&(Uo.TEST_VID.constructor.prototype.canPlayType=Mo),e},Uo.patchCanPlayType(),Uo.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){}}()}},Uo.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;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){Uo.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){Uo.prototype["set"+Sn(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","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(e){Uo.prototype[e]=function(){return this.el_[e]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","crossOrigin"].forEach(function(e){Uo.prototype["set"+Sn(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(e){Uo.prototype[e]=function(){return this.el_[e]()}}),Vr.withSourceHandlers(Uo),Uo.nativeSourceHandler={},Uo.nativeSourceHandler.canPlayType=function(e){try{return Uo.TEST_VID.canPlayType(e)}catch(e){return""}},Uo.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Uo.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=Nr(e.src);return Uo.nativeSourceHandler.canPlayType("video/"+n)}return""},Uo.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Uo.nativeSourceHandler.dispose=function(){},Uo.registerSourceHandler(Uo.nativeSourceHandler),Vr.registerTech("Html5",Uo);var qo=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],zo={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ho=["tiny","xsmall","small","medium","large","xlarge","huge"],Wo={};Ho.forEach(function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Wo[e]="vjs-layout-"+t});var Vo={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Yo=function(e){function t(n,r,i){var o;if(n.id=n.id||r.id||"vjs_video_"+Yt(),(r=tt(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&s.getAttribute&&(r.language=s.getAttribute("lang"))}else for(var c=n;c&&1===c.nodeType;){if(bt(c).hasOwnProperty("lang")){r.language=c.getAttribute("lang");break}c=c.parentNode}if((o=e.call(this,null,r,i)||this).boundDocumentFullscreenChange_=un(l()(o),o.documentFullscreenChange_),o.boundFullWindowOnEscKey_=un(l()(o),o.fullWindowOnEscKey),o.isFullscreen_=!1,o.log=Qe(o.id_),o.fsApi_=tr,o.isPosterFromTech_=!1,o.queuedCallbacks_=[],o.isReady_=!1,o.hasStarted_=!1,o.userActive_=!1,!o.options_||!o.options_.techOrder||!o.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(o.tag=n,o.tagAttributes=n&&bt(n),o.language(o.options_.language),r.languages){var u={};Object.getOwnPropertyNames(r.languages).forEach(function(e){u[e.toLowerCase()]=r.languages[e]}),o.languages_=u}else o.languages_=t.prototype.options_.languages;o.resetCache_(),o.poster_=r.poster||"",o.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),o.changingSrc_=!1,o.playCallbacks_=[],o.playTerminatedQueue_=[],n.hasAttribute("autoplay")?o.autoplay(!0):o.autoplay(o.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach(function(e){if("function"!=typeof o[e])throw new Error('plugin "'+e+'" does not exist')}),o.scrubbing_=!1,o.el_=o.createEl(),wn(l()(o),{eventBusKey:"el_"}),o.fsApi_.requestFullscreen&&(en(a.a,o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_),o.on(o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_)),o.fluid_&&o.on("playerreset",o.updateStyleEl_);var d=Tn(o.options_);r.plugins&&Object.keys(r.plugins).forEach(function(e){o[e](r.plugins[e])}),o.options_.playerOptions=d,o.middleware_=[],o.initChildren(),o.isAudio("audio"===n.nodeName.toLowerCase()),o.controls()?o.addClass("vjs-controls-enabled"):o.addClass("vjs-controls-disabled"),o.el_.setAttribute("role","region"),o.isAudio()?o.el_.setAttribute("aria-label",o.localize("Audio Player")):o.el_.setAttribute("aria-label",o.localize("Video Player")),o.isAudio()&&o.addClass("vjs-audio"),o.flexNotSupported_()&&o.addClass("vjs-no-flex"),Wn&&o.addClass("vjs-touch-enabled"),Gn||o.addClass("vjs-workinghover"),t.players[o.id_]=l()(o);var f=Ge.split(".")[0];return o.addClass("vjs-v"+f),o.userActive(!0),o.reportUserActivity(),o.one("play",o.listenForUserActivity_),o.on("stageclick",o.handleStageClick_),o.on("keydown",o.handleKeyDown),o.breakpoints(o.options_.breakpoints),o.responsive(o.options_.responsive),o}f()(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),tn(a.a,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),tn(a.a,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.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),Gr[this.id()]=null,Wr.names.forEach(function(e){var t=Wr[e],r=n[t.getterName]();r&&r.off&&r.off()}),e.prototype.dispose.call(this)},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:o||(t=this.el_=e.prototype.createEl.call(this,"div"));var s=bt(n);if(o){for(t=this.el_=n,n=this.tag=a.a.createElement("video");t.children.length;)n.appendChild(t.firstChild);pt(t,"video-js")||mt(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach(function(e){try{n[e]=t[e]}catch(e){}})}if(n.setAttribute("tabindex","-1"),s.tabindex="-1",(qn||Bn&&Hn)&&(n.setAttribute("role","application"),s.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach(function(e){o&&"class"===e||t.setAttribute(e,s[e]),o&&n.setAttribute(e,s[e])}),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==i.a.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Ht("vjs-styles-dimensions");var c=Lt(".vjs-styles-defaults"),u=Lt("head");u.insertBefore(this.styleEl_,c?c.nextSibling:u.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);for(var l=n.getElementsByTagName("a"),d=0;d<l.length;d++){var f=l.item(d);mt(f,"vjs-hidden"),f.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),ht(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):Xe.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?Xe.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){if(void 0===e)return!!this.fluid_;var t,n;this.fluid_=!!e,hn(this)&&this.off("playerreset",this.updateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),hn(t=function(){this.on("playerreset",this.updateStyleEl_)})?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(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_()},n.updateStyleEl_=function(){if(!0!==i.a.VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),Wt(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var a="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,c=this.tech_&&this.tech_.el();c&&(a>=0&&(c.width=a),s>=0&&(c.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=Sn(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(Vr.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o={source:t,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,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,Promise:this.options_.Promise};Wr.names.forEach(function(e){var t=Wr[e];o[t.getterName]=n[t.privateName]}),tt(o,this.options_[r]),tt(o,this.options_[i]),tt(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);var a=Vr.getTech(e);if(!a)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new a(o),this.tech_.ready(un(this,this.handleTechReady_),!0),fr(this.textTracksJson_||[],this.tech_),qo.forEach(function(e){n.on(n.tech_,e,n["handleTech"+Sn(e)+"_"])}),Object.keys(zo).forEach(function(e){n.on(n.tech_,e,function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+zo[e]+"_"].bind(n),event:t}):n["handleTech"+zo[e]+"_"](t)})}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"fullscreenerror",this.handleTechFullscreenError_),this.on(this.tech_,"enterpictureinpicture",this.handleTechEnterPictureInPicture_),this.on(this.tech_,"leavepictureinpicture",this.handleTechLeavePictureInPicture_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||ht(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Wr.names.forEach(function(t){var n=Wr[t];e[n.privateName]=e[n.getterName]()}),this.textTracksJson_=dr(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&Xe.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_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mouseup",this.handleTechClick_),this.on(this.tech_,"dblclick",this.handleTechDoubleClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mouseup",this.handleTechClick_),this.off(this.tech_,"dblclick",this.handleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if(cr(r))return r.catch(n)};if("any"===e&&!0!==this.muted()?cr(n=this.play())&&(n=n.catch(r)):n="muted"===e&&!0!==this.muted()?r():this.play(),cr(n))return n.then(function(){t.trigger({type:"autoplay-success",autoplay:e})}).catch(function(n){t.trigger({type:"autoplay-failure",autoplay:e})})}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var 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=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter(function(e){return e.src===t});if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i<r.length;i++){var o=r[i];if(o.type&&o.src&&o.src===t)return o.type}return ni(t)}(this,t)),this.cache_.source=Tn({},e,{src:t,type:n});for(var r=this.cache_.sources.filter(function(e){return e.src&&e.src===t}),i=[],o=this.$$("source"),a=[],s=0;s<o.length;s++){var c=bt(o[s]);i.push(c),c.src&&c.src===t&&a.push(c.src)}a.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,i=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(i)&&(!this.lastSource_||this.lastSource_.tech!==i&&this.lastSource_.player!==r)&&(n=function(){}),n(i),e.src||this.tech_.any(["sourceset","loadstart"],function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}})}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(e){return e.callback(e.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))})},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(Xe.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){Pt(e)&&this.controls_&&(this.paused()?ur(this.play()):this.pause())},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),function(t){return 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()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=a.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)}},n.handleTechFullscreenChange_=function(e,t){t&&(t.nativeIOSFullscreen&&this.toggleClass("vjs-ios-native-fs"),this.isFullscreen(t.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],volume:1}},n.techCall_=function(e,t){this.ready(function(){if(e in Zr)return function(e,t,n,r){return t[n](e.reduce(ei(n),r))}(this.middleware_,this.tech_,e,t);if(e in Jr)return Xr(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw Xe(e),e}},!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Qr)return function(e,t,n){return e.reduceRight(ei(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Jr)return Xr(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw Xe("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw Xe("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw Xe(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||i.a.Promise;return t?new t(function(t){e.play_(t)}):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=ur),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(n||!Kn&&!Gn||this.load());var r=this.techGet_("play");null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach(function(e){e()})},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach(function(t){t(e)})},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||Zn(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(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.applyInitTime_),void this.one("canplay",this.applyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(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"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=Zn(0,0)),e},n.bufferedPercent=function(){return Jn(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var 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)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||i.a.Promise;if(t){var n=this;return new t(function(t,r){function i(){n.off("fullscreenerror",a),n.off("fullscreenchange",o)}function o(){i(),t()}function a(e,t){i(),r(t)}n.one("fullscreenchange",o),n.one("fullscreenerror",a);var s=n.requestFullscreenHelper_(e);if(s)return s.then(i,i),s})}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then(function(){return n.isFullscreen(!0)},function(){return n.isFullscreen(!1)}),r}this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||i.a.Promise;if(e){var t=this;return new e(function(e,n){function r(){t.off("fullscreenerror",o),t.off("fullscreenchange",i)}function i(){r(),e()}function o(e,t){r(),n(t)}t.one("fullscreenchange",i),t.one("fullscreenerror",o);var a=t.exitFullscreenHelper_();if(a)return a.then(r,r),a})}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=a.a[this.fsApi_.exitFullscreen]();return t&&t.then(function(){return e.isFullscreen(!1)}),t}this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a.a.documentElement.style.overflow,en(a.a,"keydown",this.boundFullWindowOnEscKey_),a.a.documentElement.style.overflow="hidden",mt(a.a.body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){v.a.isEventKey(e,"Esc")&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,tn(a.a,"keydown",this.boundFullWindowOnEscKey_),a.a.documentElement.style.overflow=this.docOrigOverflow,vt(a.a.body,"vjs-full-window"),this.trigger("exitFullWindow")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in a.a)return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in a.a)return a.a.exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var 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))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return v.a.isEventKey(e,"f")}:n,i=t.muteKey,o=void 0===i?function(e){return v.a.isEventKey(e,"m")}:i,s=t.playPauseKey,c=void 0===s?function(e){return v.a.isEventKey(e,"k")||v.a.isEventKey(e,"Space")}:s;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var u=Cn.getComponent("FullscreenToggle");!1!==a.a[this.fsApi_.fullscreenEnabled]&&u.prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),Cn.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(c.call(this,e)){e.preventDefault(),e.stopPropagation(),Cn.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=Vr.getTech(i);if(o||(o=Cn.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else Xe.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map(function(e){return[e,Vr.getTech(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(Xe.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(e,t,n){var r;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?i(e,r,(t=o,function(e,n){return t(n,e)})):i(r,e,o))||!1},n.src=function(e){var t=this;if(void 0===e)return this.cache_.src||"";var n=function e(t){if(Array.isArray(t)){var n=[];t.forEach(function(t){t=e(t),Array.isArray(t)?n=n.concat(t):nt(t)&&n.push(t)}),t=n}else t="string"==typeof t&&t.trim()?[ri({src:t})]:nt(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[ri(t)]:[];return t}(e);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),$r(this,n[0],function(e,r){var i,o;if(t.middleware_=r,t.cache_.sources=n,t.updateSourceCaches_(e),t.src_(e))return n.length>1?t.src(n.slice(1)):(t.changingSrc_=!1,t.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void t.triggerReady());i=r,o=t.tech_,i.forEach(function(e){return e.setTech&&e.setTech(o)})})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},n.src_=function(e){var t,n,r=this,i=this.selectSource([e]);return!i||(t=i.tech,n=this.techName_,Sn(t)!==Sn(n)?(this.changingSrc_=!0,this.loadTech_(i.tech,i.source),this.tech_.ready(function(){r.changingSrc_=!1}),!1):(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1},!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||i.a.Promise;this.paused()||!t?this.doReset_():ur(this.play().then(function(){return e.doReset_()}))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),hn(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar,t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"==typeof e&&/(any|play|muted)/.test(e)?(this.options_.autoplay=e,this.manualAutoplay_(e),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(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"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(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_()))},n.usingNativeControls=function(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")))},n.error=function(e){if(void 0===e)return this.error_||null;if(this.options_.suppressNotSupportedError&&e&&4===e.code){var 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 ar(e),this.addClass("vjs-error"),Xe.error("(CODE:"+this.error_.code+" "+ar.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error")},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(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")}},n.listenForUserActivity_=function(){var e,t,n,r=un(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);var o,a=this.getChild("controlBar");!a||Gn||In||(a.on("mouseenter",function(e){this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout,this.player().options_.inactivityTimeout=0}),a.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_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(o);var e=this.options_.inactivityTimeout;e<=0||(o=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(e){if(void 0===e)return this.language_;this.language_=String(e).toLowerCase()},n.languages=function(){return Tn(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=Tn(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=Tn(r)).player=void 0,e.tracks[n]=r}return e},n.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new pr(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open(),r},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<Ho.length;n++){var r=Ho[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Wo[e]),this.addClass(Wo[r]),this.breakpoint_=r;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e?tt(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=tt({},Vo,e),this.updateCurrentBreakpoint_(),tt(this.breakpoints_))},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Wo[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"==typeof e){this.reset(),this.cache_.media=Tn(e);var r=this.cache_.media,i=r.artwork,o=r.poster,a=r.src,s=r.textTracks;!i&&o&&(this.cache_.media.artwork=[{src:o,type:ni(o)}]),a&&this.src(a),o&&this.poster(o),Array.isArray(s)&&s.forEach(function(e){return n.addRemoteTextTrack(e,!1)}),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}})};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:ni(t.poster)}]),t}return Tn(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=bt(e),r=n["data-setup"];if(pt(e,"vjs-fill")&&(n.fill=!0),pt(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=p()(r||"{}"),o=i[0],a=i[1];o&&Xe.error(o),tt(n,a)}if(tt(t,n),e.hasChildNodes())for(var s=e.childNodes,c=0,u=s.length;c<u;c++){var l=s[c],d=l.nodeName.toLowerCase();"source"===d?t.sources.push(bt(l)):"track"===d&&t.tracks.push(bt(l))}return t},n.flexNotSupported_=function(){var e=a.a.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(Cn);Wr.names.forEach(function(e){var t=Wr[e];Yo.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),Yo.prototype.crossorigin=Yo.prototype.crossOrigin,Yo.players={};var Go=i.a.navigator;Yo.prototype.options_={techOrder:Vr.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Go&&(Go.languages&&Go.languages[0]||Go.userLanguage||Go.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1},["ended","seeking","seekable","networkState","readyState"].forEach(function(e){Yo.prototype[e]=function(){return this.techGet_(e)}}),qo.forEach(function(e){Yo.prototype["handleTech"+Sn(e)+"_"]=function(){return this.trigger(e)}}),Cn.registerComponent("Player",Yo);var Ko={},$o=function(e){return Ko.hasOwnProperty(e)},Xo=function(e){return $o(e)?Ko[e]:void 0},Qo=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},Zo=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},Jo=function(e,t){return t.prototype.name=e,function(){Zo(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=x()(t,[this].concat(r));return this[e]=function(){return o},Zo(this,o.getEventHash()),o}},ea=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,wn(this),delete this.trigger,kn(this,this.constructor.defaultState),Qo(t,this.name),this.dispose=un(this,this.dispose),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),nn(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=Jo(e,Ko[e])},e.isBasic=function(t){var n="string"==typeof t?Xo(t):t;return"function"==typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+typeof t+".");if($o(t))Xe.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Yo.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+typeof n+".");return Ko[t]=n,"plugin"!==t&&(e.isBasic(n)?Yo.prototype[t]=function(e,t){var n=function(){Zo(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return Qo(this,e),Zo(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach(function(e){n[e]=t[e]}),n}(t,n):Yo.prototype[t]=Jo(t,n)),n},e.deregisterPlugin=function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin.");$o(e)&&(delete Ko[e],delete Yo.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(Ko)),e.forEach(function(e){var n=Xo(e);n&&((t=t||{})[e]=n)}),t},e.getPluginVersion=function(e){var t=Xo(e);return t&&t.VERSION||""},e}();ea.getPlugin=Xo,ea.BASE_PLUGIN_NAME="plugin",ea.registerPlugin("plugin",ea),Yo.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Yo.prototype.hasPlugin=function(e){return!!$o(e)};var ta=function(e){return 0===e.indexOf("#")?e.slice(1):e};function na(e,t,n){var r=na.getPlayer(e);if(r)return t&&Xe.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?Lt("#"+ta(e)):e;if(!ct(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||Xe.warn("The element supplied is not included in the DOM"),t=t||{},na.hooks("beforesetup").forEach(function(e){var n=e(i,Tn(t));nt(n)&&!Array.isArray(n)?t=Tn(t,n):Xe.error("please return an object in beforesetup hooks")});var o=Cn.getComponent("Player");return r=new o(i,t,n),na.hooks("setup").forEach(function(e){return e(r)}),r}if(na.hooks_={},na.hooks=function(e,t){return na.hooks_[e]=na.hooks_[e]||[],t&&(na.hooks_[e]=na.hooks_[e].concat(t)),na.hooks_[e]},na.hook=function(e,t){na.hooks(e,t)},na.hookOnce=function(e,t){na.hooks(e,[].concat(t).map(function(t){return function n(){return na.removeHook(e,n),t.apply(void 0,arguments)}}))},na.removeHook=function(e,t){var n=na.hooks(e).indexOf(t);return!(n<=-1)&&(na.hooks_[e]=na.hooks_[e].slice(),na.hooks_[e].splice(n,1),!0)},!0!==i.a.VIDEOJS_NO_DYNAMIC_STYLE&&st()){var ra=Lt(".vjs-styles-defaults");if(!ra){ra=Ht("vjs-styles-defaults");var ia=Lt("head");ia&&ia.insertBefore(ra,ia.firstChild),Wt(ra,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}Ut(1,na),na.VERSION=Ge,na.options=Yo.prototype.options_,na.getPlayers=function(){return Yo.players},na.getPlayer=function(e){var t,n=Yo.players;if("string"==typeof e){var r=ta(e),i=n[r];if(i)return i;t=Lt("#"+r)}else t=e;if(ct(t)){var o=t,a=o.player,s=o.playerId;if(a||n[s])return a||n[s]}},na.getAllPlayers=function(){return Object.keys(Yo.players).map(function(e){return Yo.players[e]}).filter(Boolean)},na.players=Yo.players,na.getComponent=Cn.getComponent,na.registerComponent=function(e,t){Vr.isTech(t)&&Xe.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Cn.registerComponent.call(Cn,e,t)},na.getTech=Vr.getTech,na.registerTech=Vr.registerTech,na.use=function(e,t){Yr[e]=Yr[e]||[],Yr[e].push(t)},Object.defineProperty(na,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(na.middleware,"TERMINATOR",{value:Kr,writeable:!1,enumerable:!0}),na.browser=$n,na.TOUCH_ENABLED=Wn,na.extend=function(e,t){void 0===t&&(t={});var n=function(){e.apply(this,arguments)},r={};for(var i in"object"==typeof t?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),E()(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},na.mergeOptions=Tn,na.bind=un,na.registerPlugin=ea.registerPlugin,na.deregisterPlugin=ea.deregisterPlugin,na.plugin=function(e,t){return Xe.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ea.registerPlugin(e,t)},na.getPlugins=ea.getPlugins,na.getPlugin=ea.getPlugin,na.getPluginVersion=ea.getPluginVersion,na.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),na.options.languages=Tn(na.options.languages,((n={})[e]=t,n)),na.options.languages[e]},na.log=Xe,na.createLogger=Qe,na.createTimeRange=na.createTimeRanges=Zn,na.formatTime=yi,na.setFormatTime=function(e){gi=e},na.resetFormatTime=function(){gi=vi},na.parseUrl=Ar,na.isCrossOrigin=Mr,na.EventTarget=fn,na.on=en,na.one=rn,na.off=tn,na.trigger=nn,na.xhr=y.a,na.TextTrack=Dr,na.AudioTrack=Rr,na.VideoTrack=Fr,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(e){na[e]=function(){return Xe.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Rt[e].apply(null,arguments)}}),na.computedStyle=it,na.dom=Rt,na.url=Pr,na.defineLazyProperty=Bo;
/**
 * @videojs/http-streaming
 * @version 1.13.2
 * @copyright 2020 Brightcove, Inc
 * @license Apache-2.0
 */
var oa=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=T.a.buildAbsoluteURL(i.a.location.href,e)),T.a.buildAbsoluteURL(e,t))},aa=function(e,t,n){return e&&n.responseURL&&t!==n.responseURL?n.responseURL:t},sa=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ca=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}}(),ua=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)},la=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},da=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),fa=na.mergeOptions,ha=na.EventTarget,pa=na.log,ma=function(e,t){["AUDIO","SUBTITLES"].forEach(function(n){for(var r in e.mediaGroups[n])for(var i in e.mediaGroups[n][r]){var o=e.mediaGroups[n][r][i];t(o,n,r,i)}})},va=function(e,t){var n=fa(e,{}),r=n.playlists[t.id];if(!r)return null;if(r.segments&&t.segments&&r.segments.length===t.segments.length&&r.endList===t.endList&&r.mediaSequence===t.mediaSequence)return null;var i=fa(r,t);r.segments&&(i.segments=function(e,t,n){var r=t.slice();n=n||0;for(var i=Math.min(e.length,t.length+n),o=n;o<i;o++)r[o-n]=fa(e[o],r[o-n]);return r}(r.segments,t.segments,t.mediaSequence-r.mediaSequence)),i.segments.forEach(function(e){!function(e,t){e.resolvedUri||(e.resolvedUri=oa(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=oa(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=oa(t,e.map.uri))}(e,i.resolvedUri)});for(var o=0;o<n.playlists.length;o++)n.playlists[o].id===t.id&&(n.playlists[o]=i);return n.playlists[t.id]=i,n.playlists[t.uri]=i,n},ga=function(e,t){return e+"-"+t},ya=function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];n.resolvedUri=oa(e.uri,n.uri),n.id=ga(t,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes||(n.attributes={},pa.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute."))}},ba=function(e){ma(e,function(t){t.uri&&(t.resolvedUri=oa(e.uri,t.uri))})},_a=function(e,t){var n=e.segments[e.segments.length-1];return t&&n&&n.duration?1e3*n.duration:500*(e.targetDuration||10)},wa=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};sa(this,t);var i=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),o=r.withCredentials,a=void 0!==o&&o,s=r.handleManifestRedirects,c=void 0!==s&&s;i.srcUrl=e,i.hls_=n,i.withCredentials=a,i.handleManifestRedirects=c;var u=n.options_;if(i.customTagParsers=u&&u.customTagParsers||[],i.customTagMappers=u&&u.customTagMappers||[],!i.srcUrl)throw new Error("A non-empty playlist URL is required");return i.state="HAVE_NOTHING",i.on("mediaupdatetimeout",function(){"HAVE_METADATA"===i.state&&(i.state="HAVE_CURRENT_METADATA",i.request=i.hls_.xhr({uri:oa(i.master.uri,i.media().uri),withCredentials:i.withCredentials},function(e,t){if(i.request)return e?i.playlistRequestError(i.request,i.media(),"HAVE_METADATA"):void i.haveMetadata(i.request,i.media().uri,i.media().id)}))}),i}return ua(t,ha),ca(t,[{key:"playlistRequestError",value:function(e,t,n){var r=t.uri,i=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.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")}},{key:"haveMetadata",value:function(e,t,n){var r=this;this.request=null,this.state="HAVE_METADATA";var o=new D;this.customTagParsers.forEach(function(e){return o.addParser(e)}),this.customTagMappers.forEach(function(e){return o.addTagMapper(e)}),o.push(e.responseText),o.end(),o.manifest.uri=t,o.manifest.id=n,o.manifest.attributes=o.manifest.attributes||{};var a=va(this.master,o.manifest);this.targetDuration=o.manifest.targetDuration,a?(this.master=a,this.media_=this.master.playlists[n]):this.trigger("playlistunchanged"),this.media().endList||(i.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=i.a.setTimeout(function(){r.trigger("mediaupdatetimeout")},_a(this.media(),!!a))),this.trigger("loadedplaylist")}},{key:"dispose",value:function(){this.trigger("dispose"),this.stopRequest(),i.a.clearTimeout(this.mediaUpdateTimeout),i.a.clearTimeout(this.finalRenditionTimeout),this.off()}},{key:"stopRequest",value:function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}},{key:"media",value:function(e,t){var n=this;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.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(i.a.clearTimeout(this.finalRenditionTimeout),t){var r=e.targetDuration/2*1e3||5e3;this.finalRenditionTimeout=i.a.setTimeout(this.media.bind(this,e,!1),r)}else{var o=this.state,a=!this.media_||e.id!==this.media_.id;if(this.master.playlists[e.id].endList)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(a&&(this.trigger("mediachanging"),this.trigger("mediachange")));if(a){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.request=this.hls_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},function(t,r){if(n.request){if(e.resolvedUri=aa(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata(r,e.uri,e.id),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}})}}}},{key:"pause",value:function(){this.stopRequest(),i.a.clearTimeout(this.mediaUpdateTimeout),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")}},{key:"load",value:function(e){var t=this;i.a.clearTimeout(this.mediaUpdateTimeout);var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i.a.setTimeout(function(){return t.load()},r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}},{key:"start",value:function(){var e=this;this.started=!0,this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.srcUrl+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");var r=new D;if(e.customTagParsers.forEach(function(e){return r.addParser(e)}),e.customTagMappers.forEach(function(e){return r.addTagMapper(e)}),r.push(n.responseText),r.end(),e.state="HAVE_MASTER",e.srcUrl=aa(e.handleManifestRedirects,e.srcUrl,n),r.manifest.uri=e.srcUrl,r.manifest.playlists)return e.master=r.manifest,ya(e.master),ba(e.master),e.trigger("loadedplaylist"),void(e.request||e.media(r.manifest.playlists[0]));var o=ga(0,e.srcUrl);return e.master={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i.a.location.href,playlists:[{uri:e.srcUrl,id:o,resolvedUri:e.srcUrl,attributes:{}}]},e.master.playlists[o]=e.master.playlists[0],e.master.playlists[e.srcUrl]=e.master.playlists[0],e.haveMetadata(n,e.srcUrl,o),e.trigger("loadedmetadata")}})}}]),t}(),xa=na.createTimeRange,ka=function(e,t,n){var r,i;return void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence?0:(r=function(e,t){var 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(void 0!==(i=e.segments[r]).end)return{result:n+i.end,precise:!0};if(n+=i.duration,void 0!==i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t)).precise?r.result:(i=function(e,t){for(var n=0,r=void 0,i=t-e.mediaSequence;i<e.segments.length;i++){if(void 0!==(r=e.segments[i]).start)return{result:r.start-n,precise:!0};if(n+=r.duration,void 0!==r.end)return{result:r.end-n,precise:!0}}return{result:-1,precise:!1}}(e,t)).precise?i.result:r.result+n},Ea=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.a.Infinity}return ka(e,t,n)},Sa=function(e,t,n){var r=0;if(t>n){var i=[n,t];t=i[0],n=i[1]}if(t<0){for(var o=t;o<Math.min(0,n);o++)r+=e.targetDuration;t=0}for(var a=t;a<n;a++)r+=e.segments[a].duration;return r},Ta=function(e,t){if(!e.segments.length)return 0;var n=e.segments.length,r=e.segments[n-1].duration||e.targetDuration,i="number"==typeof t?t:r+2*e.targetDuration;if(0===i)return n;for(var o=0;n--&&!((o+=e.segments[n].duration)>=i););return Math.max(0,n)},Ca=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return Ea(e);if(null===t)return null;t=t||0;var i=n?Ta(e,r):e.segments.length;return ka(e,e.mediaSequence+i,t)},Oa=function(e){return e-Math.floor(e)==0},Aa=function(e,t){if(Oa(t))return t+.1*e;for(var n=t.toString().split(".")[1].length,r=1;r<=n;r++){var i=Math.pow(10,r),o=t*i;if(Oa(o)||r===n)return(o+e)/i}},ja=Aa.bind(null,1),Na=Aa.bind(null,-1),Ma=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Pa=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Ia=function(e){var t=Ma(e);return!e.disabled&&!t},La=function(e,t){return t.attributes&&t.attributes[e]},Da=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter(function(e){return!!Ia(e)&&(e.attributes.BANDWIDTH||0)<n}).length},Ra={duration:Ea,seekable:function(e,t,n){var r=t||0,i=Ca(e,t,!0,n);return null===i?xa():xa(r,i)},safeLiveIndex:Ta,getMediaInfoForTime:function(e,t,n,r){var i=void 0,o=void 0,a=e.segments.length,s=t-r;if(s<0){if(n>0)for(i=n-1;i>=0;i--)if(o=e.segments[i],(s+=Na(o.duration))>0)return{mediaIndex:i,startTime:r-Sa(e,n,i)};return{mediaIndex:0,startTime:t}}if(n<0){for(i=n;i<0;i++)if((s-=e.targetDuration)<0)return{mediaIndex:0,startTime:t};n=0}for(i=n;i<a;i++)if(o=e.segments[i],(s-=ja(o.duration))<0)return{mediaIndex:i,startTime:r+Sa(e,n,i)};return{mediaIndex:a-1,startTime:t}},isEnabled:Ia,isDisabled:function(e){return e.disabled},isBlacklisted:Ma,isIncompatible:Pa,playlistEnd:Ca,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},isFmp4:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].map)return!0;return!1},hasAttribute:La,estimateSegmentRequestTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return La("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:Da},Fa=na.xhr,Ba=na.mergeOptions,Ua=function(){return function e(t,n){t=Ba({timeout:45e3},t);var r=e.beforeRequest||na.Hls.xhr.beforeRequest;if(r&&"function"==typeof r){var i=r(t);i&&(t=i)}var o=Fa(t,function(e,t){var r=o.response;!e&&r&&(o.responseTime=Date.now(),o.roundTripTime=o.responseTime-o.requestTime,o.bytesReceived=r.byteLength||r.length,o.bandwidth||(o.bandwidth=Math.floor(o.bytesReceived/o.roundTripTime*8*1e3))),t.headers&&(o.responseHeaders=t.headers),e&&"ETIMEDOUT"===e.code&&(o.timedout=!0),e||o.aborted||200===t.statusCode||206===t.statusCode||0===t.statusCode||(e=new Error("XHR Failed with a response of: "+(o&&(r||o.responseText)))),n(e,o)}),a=o.abort;return o.abort=function(){return o.aborted=!0,a.apply(o,arguments)},o.uri=t.uri,o.requestTime=Date.now(),o}},qa=function(e){var t,n,r={};return e.byterange&&(r.Range=(t=e.byterange,n=t.offset+t.length-1,"bytes="+t.offset+"-"+n)),r},za=function(e,t){return e.start(t)+"-"+e.end(t)},Ha=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Wa=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Va=function(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n];ArrayBuffer.isView(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r}),t},Ya=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ga=function(e){return e.resolvedUri},Ka=function(e){for(var t=Array.prototype.slice.call(e),n="",r=0;r<t.length/16;r++)n+=t.slice(16*r,16*r+16).map(Ha).join("")+" "+t.slice(16*r,16*r+16).map(Wa).join("")+"\n";return n},$a=Object.freeze({createTransferableMessage:Va,initSegmentId:Ya,segmentKeyId:Ga,hexDump:Ka,tagDump:function(e){var t=e.bytes;return Ka(t)},textRanges:function(e){var t="",n=void 0;for(n=0;n<e.length;n++)t+=za(e,n)+" ";return t}}),Xa=function(e){var t=e.playlist,n=e.time,r=void 0===n?void 0:n,i=e.callback;if(!i)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===r)return i({message:"getProgramTime: playlist and time must be provided"});var o=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var n=0,r=void 0,i=0;i<t.segments.length&&!(e<=(n=(r=t.segments[i]).videoTimingInfo?r.videoTimingInfo.transmuxedPresentationEnd:n+r.duration));i++);var o=t.segments[t.segments.length-1];if(o.videoTimingInfo&&o.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>n){if(e>n+.25*o.duration)return null;r=o}return{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:n-r.duration,type:r.videoTimingInfo?"accurate":"estimate"}}(r,t);if(!o)return i({message:"valid programTime was not found"});if("estimate"===o.type)return i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:o.estimatedStart});var a={mediaSeconds:r},s=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(r,o.segment);return s&&(a.programDateTime=s.toISOString()),i(null,a)},Qa=function e(t){var n=t.programTime,r=t.playlist,i=t.retryCount,o=void 0===i?2:i,a=t.seekTo,s=t.pauseAfterSeek,c=void 0===s||s,u=t.tech,l=t.callback;if(!l)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!a)return l({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!u.hasStarted_)return l({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0}(r))return l({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var d=function(e,t){var n=void 0;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var i=0;i<t.segments.length-1&&(r=t.segments[i],!(n<t.segments[i+1].dateTimeObject));i++);var o,a=t.segments[t.segments.length-1],s=a.dateTimeObject,c=a.videoTimingInfo?(o=a.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:a.duration+.25*a.duration;return n>new Date(s.getTime()+1e3*c)?null:(n>s&&(r=a),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Ra.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return l({message:n+" was not found in the stream"});var f=d.segment,h=function(e,t){var n=void 0,r=void 0;try{n=new Date(e),r=new Date(t)}catch(e){}var i=n.getTime();return(r.getTime()-i)/1e3}(f.dateTimeObject,n);if("estimate"===d.type)return 0===o?l({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+h),void u.one("seeked",function(){e({programTime:n,playlist:r,retryCount:o-1,seekTo:a,pauseAfterSeek:c,tech:u,callback:l})}));var p=f.start+h;u.one("seeked",function(){return l(null,u.currentTime())}),c&&u.pause(),a(p)},Za=function(e,t){var n=[],r=void 0;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 na.createTimeRanges(n)},Ja=function(e,t){return Za(e,function(e,n){return e-.1<=t&&n+.1>=t})},es=function(e,t){return Za(e,function(e){return e-1/30>=t})},ts=function(e){var t=[];if(!e||!e.length)return"";for(var n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},ns=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},rs=function(e,t,n){var r=void 0,i=void 0;if(n&&n.cues)for(r=n.cues.length;r--;)(i=n.cues[r]).startTime<=t&&i.endTime>=e&&n.removeCue(i)},is=function(e){return isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e},os=function(e,t,n){var r=i.a.WebKitDataCue||i.a.VTTCue;if(t&&t.forEach(function(e){var t=e.stream;this.inbandTextTracks_[t].addCue(new r(e.startTime+this.timestampOffset,e.endTime+this.timestampOffset,e.text))},e),n){var o=is(e.mediaSource_.duration);if(n.forEach(function(e){var t=e.cueTime+this.timestampOffset;!("number"!=typeof t||i.a.isNaN(t)||t<0)&&t<1/0&&e.frames.forEach(function(e){var n=new r(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return na.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return na.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return na.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),this.metadataTrack_.addCue(n)},this)},e),e.metadataTrack_&&e.metadataTrack_.cues&&e.metadataTrack_.cues.length){for(var a=e.metadataTrack_.cues,s=[],c=0;c<a.length;c++)a[c]&&s.push(a[c]);var u=s.reduce(function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e},{}),l=Object.keys(u).sort(function(e,t){return Number(e)-Number(t)});l.forEach(function(e,t){var n=u[e],r=Number(l[t+1])||o;n.forEach(function(e){e.endTime=r})})}}},as="undefined"!=typeof window?window:{},ss="undefined"==typeof Symbol?"__target":Symbol(),cs="application/javascript",us=as.BlobBuilder||as.WebKitBlobBuilder||as.MozBlobBuilder||as.MSBlobBuilder,ls=as.URL||as.webkitURL||ls&&ls.msURL,ds=as.Worker;function fs(e,t){return function(n){var r=this;if(!t)return new ds(e);if(ds&&!n){var i=vs(t.toString().replace(/^function.+?{/,"").slice(0,-1));return this[ss]=new ds(i),function(e,t){if(!e||!t)return;var n=e.terminate;e.objURL=t,e.terminate=function(){e.objURL&&ls.revokeObjectURL(e.objURL),n.call(e)}}(this[ss],i),this[ss]}var o={postMessage:function(e){r.onmessage&&setTimeout(function(){r.onmessage({data:e,target:o})})}};t.call(o),this.postMessage=function(e){setTimeout(function(){o.onmessage({data:e,target:r})})},this.isThisThread=!0}}if(ds){var hs,ps=vs("self.onmessage = function () {}"),ms=new Uint8Array(1);try{(hs=new ds(ps)).postMessage(ms,[ms.buffer])}catch(e){ds=null}finally{ls.revokeObjectURL(ps),hs&&hs.terminate()}}function vs(e){try{return ls.createObjectURL(new Blob([e],{type:cs}))}catch(n){var t=new us;return t.append(e),ls.createObjectURL(t.getBlob(type))}}var gs=new fs("./transmuxer-worker.worker.js",function(e,t){var n=this;!function(){var e=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={}}}};e.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},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t,r,i,o,a,s,c,u,l,d,f,h,p,m,v,g,y,b,_,w,x,k,E,S,T,C,O,A,j,N,M,P,I,L,D,R,F,B,U,q,z=e,H=Math.pow(2,32)-1;!function(){var e;if(k={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 k)k.hasOwnProperty(e)&&(k[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);E=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),T=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),S=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]),O=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:O},M=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),N=new Uint8Array([0,0,0,0,0,0,0,0]),P=new Uint8Array([0,0,0,0,0,0,0,0]),I=P,L=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),D=P,j=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),t=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},r=function(){return t(k.dinf,t(k.dref,M))},i=function(e){return t(k.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]))},v=function(e){return t(k.hdlr,A[e])},m=function(e){var n=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&&(n[12]=e.samplerate>>>24&255,n[13]=e.samplerate>>>16&255,n[14]=e.samplerate>>>8&255,n[15]=255&e.samplerate),t(k.mdhd,n)},p=function(e){return t(k.mdia,m(e),v(e.type),s(e))},a=function(e){return t(k.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(k.minf,"video"===e.type?t(k.vmhd,j):t(k.smhd,N),r(),y(e))},c=function(e,n){for(var r=[],i=n.length;i--;)r[i]=_(n[i]);return t.apply(null,[k.moof,a(e)].concat(r))},u=function(e){for(var n=e.length,r=[];n--;)r[n]=f(e[n]);return t.apply(null,[k.moov,d(4294967295)].concat(r).concat(l(e)))},l=function(e){for(var n=e.length,r=[];n--;)r[n]=w(e[n]);return t.apply(null,[k.mvex].concat(r))},d=function(e){var n=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 t(k.mvhd,n)},g=function(e){var n,r,i=e.samples||[],o=new Uint8Array(4+i.length);for(r=0;r<i.length;r++)n=i[r].flags,o[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t(k.sdtp,o)},y=function(e){return t(k.stbl,b(e),t(k.stts,D),t(k.stsc,I),t(k.stsz,L),t(k.stco,P))},b=function(e){return t(k.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?R(e):F(e))},R=function(e){var n,r,i=e.sps||[],o=e.pps||[],a=[],s=[];for(n=0;n<i.length;n++)a.push((65280&i[n].byteLength)>>>8),a.push(255&i[n].byteLength),a=a.concat(Array.prototype.slice.call(i[n]));for(n=0;n<o.length;n++)s.push((65280&o[n].byteLength)>>>8),s.push(255&o[n].byteLength),s=s.concat(Array.prototype.slice.call(o[n]));if(r=[k.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]),t(k.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],a,[o.length],s))),t(k.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var c=e.sarRatio[0],u=e.sarRatio[1];r.push(t(k.pasp,new Uint8Array([(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c,(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u])))}return t.apply(null,r)},F=function(e){return t(k.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]),i(e))},h=function(e){var n=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 t(k.tkhd,n)},_=function(e){var n,r,i,o,a,s;return n=t(k.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/(H+1)),s=Math.floor(e.baseMediaDecodeTime%(H+1)),r=t(k.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),t(k.traf,n,r,i)):(o=g(e),i=x(e,o.length+92),t(k.traf,n,r,i,o))},f=function(e){return e.duration=e.duration||4294967295,t(k.trak,h(e),p(e))},w=function(e){var n=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&&(n[n.length-1]=0),t(k.trex,n)},q=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]},U=function(e,n){var r,i,o,a;for(n+=20+16*(i=e.samples||[]).length,r=q(i,n),a=0;a<i.length;a++)o=i[a],r=r.concat([(4278190080&o.duration)>>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size,o.flags.isLeading<<2|o.flags.dependsOn,o.flags.isDependedOn<<6|o.flags.hasRedundancy<<4|o.flags.paddingValue<<1|o.flags.isNonSyncSample,61440&o.flags.degradationPriority,15&o.flags.degradationPriority,(4278190080&o.compositionTimeOffset)>>>24,(16711680&o.compositionTimeOffset)>>>16,(65280&o.compositionTimeOffset)>>>8,255&o.compositionTimeOffset]);return t(k.trun,new Uint8Array(r))},B=function(e,n){var r,i,o,a;for(n+=20+8*(i=e.samples||[]).length,r=q(i,n),a=0;a<i.length;a++)o=i[a],r=r.concat([(4278190080&o.duration)>>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size]);return t(k.trun,new Uint8Array(r))},x=function(e,t){return"audio"===e.type?B(e,t):U(e,t)};o=function(){return t(k.ftyp,E,S,E,T)};var W,V,Y,G,K,$,X,Q,Z=function(e){return t(k.mdat,e)},J=c,ee=function(e){var t,n=o(),r=u(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},te=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},ne=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},re=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},ie=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},oe=function(e,t){var n,r,i,o,a,s=t||0,c=[];for(n=0;n<e.length;n++)for(o=e[n],r=0;r<o.length;r++)a=o[r],s+=(i=te(a,s)).size,c.push(i);return c},ae=function(e){var t,n,r,i,o,a,s=0,c=e.byteLength,u=e.nalCount,l=new Uint8Array(c+4*u),d=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],d.setUint32(s,a.data.byteLength),s+=4,l.set(a.data,s),s+=a.data.byteLength;return l},se=[33,16,5,32,164,27],ce=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ue=function(e){for(var t=[];e--;)t.push(0);return t},le={96000:[se,[227,64],ue(154),[56]],88200:[se,[231],ue(170),[56]],64000:[se,[248,192],ue(240),[56]],48000:[se,[255,192],ue(268),[55,148,128],ue(54),[112]],44100:[se,[255,192],ue(268),[55,163,128],ue(84),[112]],32000:[se,[255,192],ue(268),[55,234],ue(226),[112]],24000:[se,[255,192],ue(268),[55,255,128],ue(268),[111,112],ue(126),[224]],16000:[se,[255,192],ue(268),[55,255,128],ue(268),[111,255],ue(269),[223,108],ue(195),[1,192]],12000:[ce,ue(268),[3,127,248],ue(268),[6,255,240],ue(268),[13,255,224],ue(268),[27,253,128],ue(259),[56]],11025:[ce,ue(268),[3,127,248],ue(268),[6,255,240],ue(268),[13,255,224],ue(268),[27,255,192],ue(268),[55,175,128],ue(108),[112]],8000:[ce,ue(268),[3,121,16],ue(47),[7]]},de=(W=le,Object.keys(W).reduce(function(e,t){return e[t]=new Uint8Array(W[t].reduce(function(e,t){return e.concat(t)},[])),e},{}));$=function(e,t){return V(K(e,t))},X=function(e,t){return Y(G(e),t)},Q=function(e,t,n){return G(n?e:e-t)};var fe=9e4,he=(V=function(e){return 9e4*e},Y=function(e,t){return e*t},G=function(e){return e/9e4},K=function(e,t){return e/t},$),pe=X,me=Q,ve=function(e,t,n,r){var i,o,a,s,c,u=0,l=0,d=0;if(t.length&&(i=he(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(fe/(e.samplerate/1024)),n&&r&&(u=i-Math.max(n,r),d=(l=Math.floor(u/o))*o),!(l<1||d>fe/2))){for((a=de[e.samplerate])||(a=t[0].data),s=0;s<l;s++)c=t[0],t.splice(0,0,{data:a,dts:c.dts-o,pts:c.pts-o});e.baseMediaDecodeTime-=Math.floor(pe(d,e.samplerate))}},ge=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)}))},ye=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},be=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},_e=fe,we=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},xe=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/_e,n=Math.floor(n)),n},ke=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))},Ee=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){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}t+=i,r=0,i=0}return n},Se=function(e){return 181!==e.payload[0]?null:49!=(e.payload[1]<<8|e.payload[2])?null:"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])?null:3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Te=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[2+(i=3*n)],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},Ce=4,Oe=function e(){e.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Pe(0,0),new Pe(0,1),new Pe(1,0),new Pe(1,1)],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)};(Oe.prototype=new z).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Ee(e.escapedRBSP)).payloadType===Ce&&(n=Se(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=Te(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Oe.prototype.flushCCStreams=function(e){this.ccStreams_.forEach(function(t){return"flush"===e?t.flush():t.partialFlush()},this)},Oe.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),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Oe.prototype.flush=function(){return this.flushStream("flush")},Oe.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Oe.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(e){e.reset()})},Oe.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)},Oe.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Oe.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Oe.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)};var Ae={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},je=function(e){return null===e?"":(e=Ae[e]||e,String.fromCharCode(e))},Ne=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Me=function(){for(var e=[],t=15;t--;)e.push("");return e},Pe=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||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_=Me();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Me();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Me()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=je((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=je((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=Ne.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=je(r),o+=je(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};Pe.prototype=new z,Pe.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}}).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Pe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Me(),this.nonDisplayed_=Me(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Pe.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_},Pe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Pe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Pe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Pe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Pe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Pe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Pe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Pe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Me(),this.displayed_=Me()),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},Pe.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)},Pe.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)}},Pe.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Pe.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Pe.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_]=""},Pe.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Ie={CaptionStream:Oe,Cea608Stream:Pe},Le={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},De=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Re=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=De(e.dts,r),e.pts=De(e.pts,r),n=e.dts,this.trigger("data",e))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Re.prototype=new z;var Fe,Be=Re,Ue=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},qe=function(e,t,n){return decodeURIComponent(Ue(e,t,n))},ze=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},He={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=qe(e.data,1,t),e.value=qe(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=qe(e.data,1,t),e.url=qe(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape(Ue(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};(Fe=function(e){var t,n={debug:!(!e||!e.debug),descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Fe.prototype.init.call(this),this.dispatchType=Le.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,a,s,c,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)))n.debug&&console.log("Skipping unrecognized metadata packet");else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=ze(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();a=10,64&t.data[5]&&(a+=4,a+=ze(t.data.subarray(10,14)),r-=ze(t.data.subarray(16,20)));do{if((s=ze(t.data.subarray(a+4,a+8)))<1)return console.log("Malformed ID3 frame encountered. Skipping metadata parsing.");if((c={id:String.fromCharCode(t.data[a],t.data[a+1],t.data[a+2],t.data[a+3]),data:t.data.subarray(a+10,a+s+10)}).key=c.id,He[c.id]&&(He[c.id](c),"com.apple.streaming.transportStreamTimestamp"===c.owner)){var l=c.data,d=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;d*=4,d+=3&l[7],c.timeStamp=d,void 0===t.pts&&void 0===t.dts&&(t.pts=c.timeStamp,t.dts=c.timeStamp),this.trigger("timestamp",c)}t.frames.push(c),a+=10,a+=s}while(a<r);this.trigger("data",t)}}}).prototype=new z;var We,Ve,Ye,Ge=Fe,Ke=Be;(We=function(){var e=new Uint8Array(188),t=0;We.prototype.init.call(this),this.push=function(n){var r,i=0,o=188;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+=188,o+=188);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){188===t&&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 z,(Ve=function(){var e,t,n,r;Ve.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===Le.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===Le.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===Le.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=Le.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Le.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}}).prototype=new z,Ve.STREAM_TYPES={h264:27,adts:15},(Ye=function(){var e,t=this,n={data:[],size:0},r={data:[],size:0},i={data:[],size:0},o=function(e,n,r){var i,o,a=new Uint8Array(e.size),s={type:n},c=0,u=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,c=0;c<e.data.length;c++)o=e.data[c],a.set(o.data,u),u+=o.data.byteLength;var l,d,f;l=a,(d=s).packetLength=6+(l[4]<<8|l[5]),d.dataAlignmentIndicator=0!=(4&l[6]),192&(f=l[7])&&(d.pts=(14&l[9])<<27|(255&l[10])<<20|(254&l[11])<<12|(255&l[12])<<5|(254&l[13])>>>3,d.pts*=4,d.pts+=(6&l[13])>>>1,d.dts=d.pts,64&f&&(d.dts=(14&l[14])<<27|(255&l[15])<<20|(254&l[16])<<12|(255&l[17])<<5|(254&l[18])>>>3,d.dts*=4,d.dts+=(6&l[18])>>>1)),d.data=l.subarray(9+l[8]),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(a){({pat:function(){},pes:function(){var e,t;switch(a.streamType){case Le.H264_STREAM_TYPE:case Le.H264_STREAM_TYPE:e=n,t="video";break;case Le.ADTS_STREAM_TYPE:e=r,t="audio";break;case Le.METADATA_STREAM_TYPE:e=i,t="timed-metadata";break;default:return}a.payloadUnitStartIndicator&&o(e,t,!0),e.data.push(a),e.size+=a.data.byteLength},pmt:function(){var n={type:"metadata",tracks:[]};null!==(e=a.programMapTable).video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",n)}})[a.type]()},this.reset=function(){n.size=0,n.data.length=0,r.size=0,r.data.length=0,this.trigger("reset")},this.flushStreams_=function(){o(n,"video"),o(r,"audio"),o(i,"timed-metadata")},this.flush=function(){this.flushStreams_(),this.trigger("done")}}).prototype=new z;var $e={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:We,TransportParseStream:Ve,ElementaryStream:Ye,TimestampRolloverStream:Ke,CaptionStream:Ie.CaptionStream,Cea608Stream:Ie.Cea608Stream,MetadataStream:Ge};for(var Xe in Le)Le.hasOwnProperty(Xe)&&($e[Xe]=Le[Xe]);var Qe,Ze=$e,Je=fe,et=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(Qe=function(e){var t,n=0;Qe.prototype.init.call(this),this.push=function(r){var i,o,a,s,c,u,l=0;if(e||(n=0),"audio"===r.type)for(t?(s=t,(t=new Uint8Array(s.byteLength+r.data.byteLength)).set(s),t.set(r.data,s.byteLength)):t=r.data;l+5<t.length;)if(255===t[l]&&240==(246&t[l+1])){if(o=2*(1&~t[l+1]),i=(3&t[l+3])<<11|t[l+4]<<3|(224&t[l+5])>>5,u=(c=1024*(1+(3&t[l+6])))*Je/et[(60&t[l+2])>>>2],a=l+i,t.byteLength<a)return;if(this.trigger("data",{pts:r.pts+n*u,dts:r.dts+n*u,sampleCount:c,audioobjecttype:1+(t[l+2]>>>6&3),channelcount:(1&t[l+2])<<2|(192&t[l+3])>>>6,samplerate:et[(60&t[l+2])>>>2],samplingfrequencyindex:(60&t[l+2])>>>2,samplesize:16,data:t.subarray(l+7+o,a)}),n++,t.byteLength===a)return void(t=void 0);t=t.subarray(a)}else l++},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 tt,nt,rt,it=Qe,ot=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()};(nt=function(){var e,t,n=0;nt.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 z,rt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(tt=function(){var e,t,n,r,i,o,a,s=new nt;tt.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};switch(31&a[0]){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,c,u,l,d,f,h,p,m=0,v=0,g=0,y=0,b=1;if(n=(t=new ot(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),rt[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(f=3!==o?8:12,p=0;p<f;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(),c=t.readUnsignedExpGolomb(),p=0;p<c;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),u=t.readUnsignedExpGolomb(),l=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(m=t.readUnsignedExpGolomb(),v=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:h=[1,1];break;case 2:h=[12,11];break;case 3:h=[10,11];break;case 4:h=[16,11];break;case 5:h=[40,33];break;case 6:h=[24,11];break;case 7:h=[20,11];break;case 8:h=[32,11];break;case 9:h=[80,33];break;case 10:h=[18,11];break;case 11:h=[15,11];break;case 12:h=[64,33];break;case 13:h=[160,99];break;case 14:h=[4,3];break;case 15:h=[3,2];break;case 16:h=[2,1];break;case 255:h=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}h&&(b=h[0]/h[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:Math.ceil((16*(u+1)-2*m-2*v)*b),height:(2-d)*(l+1)*16-2*g-2*y,sarRatio:h}}}).prototype=new z;var at,st={H264Stream:tt,NalByteStream:nt},ct=function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},ut=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},lt=function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n};(at=function(){var e=new Uint8Array,t=0;at.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,o,a,s=0,c=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-c>=3;)if(e[c]!=="I".charCodeAt(0)||e[c+1]!=="D".charCodeAt(0)||e[c+2]!=="3".charCodeAt(0))if(255!=(255&e[c])||240!=(240&e[c+1]))c++;else{if(e.length-c<7)break;if(c+(s=lt(e,c))>e.length)break;o={type:"audio",data:e.subarray(c,c+s),pts:t,dts:t},this.trigger("data",o),c+=s}else{if(e.length-c<10)break;if(c+(s=ut(e,c))>e.length)break;i={type:"timed-metadata",data:e.subarray(c,c+s)},this.trigger("data",i),c+=s}r=e.length-c,e=r>0?e.subarray(c):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new z;var dt,ft,ht,pt,mt=at,vt=st.H264Stream,gt=ct,yt=fe,bt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],_t=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],wt=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},xt=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}};(ft=function(e,t){var n=[],r=0,i=0,o=0,a=1/0;t=t||{},ft.prototype.init.call(this),this.push=function(t){ke(e,t),e&&bt.forEach(function(n){e[n]=t[n]}),n.push(t)},this.setEarliestDts=function(t){i=t-e.timelineStartInfo.baseMediaDecodeTime},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var s,c,u,l,d;0!==n.length?(s=ge(n,e,i),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),ve(e,s,o,a),e.samples=ye(s),u=Z(be(s)),n=[],c=J(r,[e]),l=new Uint8Array(c.byteLength+u.byteLength),r++,l.set(c),l.set(u,c.byteLength),we(e),d=Math.ceil(1024*yt/e.samplerate),s.length&&this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+s.length*d}),this.trigger("data",{track:e,boxes:l}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){we(e),n=[],this.trigger("reset")}}).prototype=new z,(dt=function(e,t){var n,r,i=0,o=[],a=[];t=t||{},dt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){ke(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.config,e.sps=[t.data],_t.forEach(function(t){e[t]=n[t]},this)),"pic_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.data,e.pps=[t.data]),o.push(t)},this.flush=function(){for(var n,r,s,c,u,l,d,f,h=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(n=ne(o),(s=re(n))[0][0].keyFrame||((r=this.getGopForFusion_(o[0],e))?(h=r.duration,s.unshift(r),s.byteLength+=r.byteLength,s.nalCount+=r.nalCount,s.pts=r.pts,s.dts=r.dts,s.duration+=r.duration):s=ie(s)),a.length){var p;if(!(p=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");we(e),s=p}ke(e,s),e.samples=oe(s),u=Z(ae(s)),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map(function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}})),d=s[0],f=s[s.length-1],this.trigger("segmentTimingInfo",xt(e.baseMediaDecodeTime,d.dts,d.pts,f.dts+f.duration,f.pts+f.duration,h)),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),c=J(i,[e]),l=new Uint8Array(c.byteLength+u.byteLength),i++,l.set(c),l.set(u,c.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(){we(e),n=void 0,r=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&&wt(e.pps[0],o.pps[0])&&e.sps&&wt(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,c,u;for(o=e.byteLength,s=e.nalCount,c=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,c-=i.duration);return 0===n?e:n===e.length?null:((u=e.slice(n)).byteLength=o,u.duration=c,u.nalCount=s,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,s,c;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===(c=s?n:o))return e;var u=e.slice(c),l=u.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 u.byteLength=l.byteLength,u.duration=l.duration,u.nalCount=l.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){a=e}}).prototype=new z,(pt=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,pt.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))))}}).prototype=new z,pt.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,_t.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=ee(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=me(t.startPts,s,this.keepOriginalTimestamps),t.endTime=me(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=me(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)},pt.prototype.setRemux=function(e){this.remuxTracks=e},(ht=function(e){var t,n,r=this,i=!0;ht.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 Ze.MetadataStream,i.aacStream=new mt,i.audioTimestampRolloverStream=new Ze.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new Ze.TimestampRolloverStream("timed-metadata"),i.adtsStream=new it,i.coalesceStream=new pt(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||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new ft(n,e),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"))},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new Ze.MetadataStream,i.packetStream=new Ze.TransportPacketStream,i.parseStream=new Ze.TransportParseStream,i.elementaryStream=new Ze.ElementaryStream,i.timestampRolloverStream=new Ze.TimestampRolloverStream,i.adtsStream=new it,i.h264Stream=new vt,i.captionStream=new Ze.CaptionStream,i.coalesceStream=new pt(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 dt(t,e),i.videoSegmentStream.on("timelineStartInfo",function(e){n&&(n.timelineStartInfo=e,i.audioSegmentStream.setEarliestDts(e.dts))}),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 ft(n,e),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("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"))},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,we(n),e.keepOriginalTimestamps||(n.timelineStartInfo.baseMediaDecodeTime=r),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,we(t),i.captionStream.reset(),e.keepOriginalTimestamps||(t.timelineStartInfo.baseMediaDecodeTime=r)),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.push=function(e){if(i){var t=gt(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 z;var kt={Transmuxer:ht,VideoSegmentStream:dt,AudioSegmentStream:ft,AUDIO_PROPERTIES:bt,VIDEO_PROPERTIES:_t,generateVideoSegmentTimingInfo:xt},Et=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},St=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}}(),Tt=function(){function e(t,n){Et(this,e),this.options=n||{},this.self=t,this.init()}return St(e,[{key:"init",value:function(){var e,t;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new kt.Transmuxer(this.options),e=this.self,(t=this.transmuxer).on("data",function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])}),t.captionStream&&t.captionStream.on("data",function(t){e.postMessage({action:"caption",data:t})}),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){e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:t})})}},{key:"push",value:function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)}},{key:"reset",value:function(){this.init()}},{key:"setTimestampOffset",value:function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(9e4*t))}},{key:"setAudioAppendStart",value:function(e){this.transmuxer.setAudioAppendStart(Math.ceil(9e4*e.appendStart))}},{key:"flush",value:function(e){this.transmuxer.flush()}},{key:"resetCaptions",value:function(){this.transmuxer.resetCaptions()}},{key:"alignGopsWith",value:function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())}}]),e}();new function(e){e.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new Tt(e,t.data.options):(this.messageHandlers||(this.messageHandlers=new Tt(e)),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}(n)}()}),ys={videoCodec:"avc1",videoObjectTypeIndicator:".4d400d",audioProfile:"2"},bs=function(e){return e.map(function(e){return 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)})})},_s=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n={codecCount:0};return n.codecCount=t.split(",").length,n.codecCount=n.codecCount||2,(e=/(^|\s|,)+(avc[13])([^ ,]*)/i.exec(t))&&(n.videoCodec=e[2],n.videoObjectTypeIndicator=e[3]),n.audioProfile=/(^|\s|,)+mp4a.[0-9A-Fa-f]+\.([0-9A-Fa-f]+)/i.exec(t),n.audioProfile=n.audioProfile&&n.audioProfile[2],n},ws=function(e,t,n){return e+"/"+t+'; codecs="'+n.filter(function(e){return!!e}).join(", ")+'"'},xs=function(e,t){var n=function(e){return e.segments&&e.segments.length&&e.segments[0].map?"mp4":"mp2t"}(t),r=function(e){var t=e.attributes||{};return t.CODECS?_s(t.CODECS):ys}(t),i=t.attributes||{},o=!0,a=!1;if(!t)return[];if(e.mediaGroups.AUDIO&&i.AUDIO){var s=e.mediaGroups.AUDIO[i.AUDIO];if(s)for(var c in a=!0,o=!1,s)if(!s[c].uri&&!s[c].playlists){o=!0;break}}a&&!r.audioProfile&&(o||(r.audioProfile=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 _s(i.playlists[0].attributes.CODECS).audioProfile}return null}(e,i.AUDIO)),r.audioProfile||(na.log.warn("Multiple audio tracks present but no audio codec string is specified. Attempting to use the default audio codec (mp4a.40.2)"),r.audioProfile=ys.audioProfile));var u={};r.videoCodec&&(u.video=""+r.videoCodec+r.videoObjectTypeIndicator),r.audioProfile&&(u.audio="mp4a.40."+r.audioProfile);var l=ws("audio",n,[u.audio]),d=ws("video",n,[u.video]),f=ws("video",n,[u.video,u.audio]);return a?!o&&u.video?[d,l]:o||u.video?[f,l]:[l,l]:u.video?[f]:[l]},ks=function(e){var t={type:"",parameters:{}},n=e.trim().split(";");return t.type=n.shift().trim(),n.forEach(function(e){var n=e.trim().split("=");if(n.length>1){var r=n[0].replace(/"/g,"").trim(),i=n[1].replace(/"/g,"").trim();t.parameters[r]=i}}),t},Es=function(e){return/mp4a\.\d+.\d+/i.test(e)},Ss=function(e){return/avc1\.[\da-f]+/i.test(e)},Ts=function(e,t,n){if(null==t||!e.length)return[];var r=Math.ceil(9e4*(t-n+3)),i=void 0;for(i=0;i<e.length&&!(e[i].pts>r);i++);return e.slice(i)},Cs=function(e,t,n){var r=null,i=null,o=0,a=[],s=[];if(!e&&!t)return na.createTimeRange();if(!e)return t.buffered;if(!t)return e.buffered;if(n)return e.buffered;if(0===e.buffered.length&&0===t.buffered.length)return na.createTimeRange();for(var c=e.buffered,u=t.buffered,l=c.length;l--;)a.push({time:c.start(l),type:"start"}),a.push({time:c.end(l),type:"end"});for(l=u.length;l--;)a.push({time:u.start(l),type:"start"}),a.push({time:u.end(l),type:"end"});for(a.sort(function(e,t){return e.time-t.time}),l=0;l<a.length;l++)"start"===a[l].type?2===++o&&(r=a[l].time):"end"===a[l].type&&1===--o&&(i=a[l].time),null!==r&&null!==i&&(s.push([r,i]),r=null,i=null);return na.createTimeRanges(s)},Os=function(e){function t(e,n){sa(this,t);var r=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,na.EventTarget));r.timestampOffset_=0,r.pendingBuffers_=[],r.bufferUpdating_=!1,r.mediaSource_=e,r.codecs_=n,r.audioCodec_=null,r.videoCodec_=null,r.audioDisabled_=!1,r.appendAudioInitSegment_=!0,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=na.browser.IE_VERSION>=11;var i={remux:!1,alignGopsAtEnd:r.safeAppend_};return r.codecs_.forEach(function(e){Es(e)?r.audioCodec_=e:Ss(e)&&(r.videoCodec_=e)}),r.transmuxer_=new gs,r.transmuxer_.postMessage({action:"init",options:i}),r.transmuxer_.onmessage=function(e){return"data"===e.data.action?r.data_(e):"done"===e.data.action?r.done_(e):"gopInfo"===e.data.action?r.appendGopInfo_(e):"videoSegmentTimingInfo"===e.data.action?r.videoSegmentTimingInfo_(e.data.videoSegmentTimingInfo):void 0},Object.defineProperty(r,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(e){"number"==typeof e&&e>=0&&(this.timestampOffset_=e,this.appendAudioInitSegment_=!0,this.gopBuffer_.length=0,this.timeMapping_=0,this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e}))}}),Object.defineProperty(r,"appendWindowStart",{get:function(){return(this.videoBuffer_||this.audioBuffer_).appendWindowStart},set:function(e){this.videoBuffer_&&(this.videoBuffer_.appendWindowStart=e),this.audioBuffer_&&(this.audioBuffer_.appendWindowStart=e)}}),Object.defineProperty(r,"updating",{get:function(){return!!(this.bufferUpdating_||!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.updating||this.videoBuffer_&&this.videoBuffer_.updating)}}),Object.defineProperty(r,"buffered",{get:function(){return Cs(this.videoBuffer_,this.audioBuffer_,this.audioDisabled_)}}),r}return ua(t,e),ca(t,[{key:"data_",value:function(e){var t=e.data.segment;t.data=new Uint8Array(t.data,e.data.byteOffset,e.data.byteLength),t.initSegment=new Uint8Array(t.initSegment.data,t.initSegment.byteOffset,t.initSegment.byteLength),function(e,t,n){var r=t.player_;if(n.captions&&n.captions.length)for(var i in e.inbandTextTracks_||(e.inbandTextTracks_={}),n.captionStreams)if(!e.inbandTextTracks_[i]){r.tech_.trigger({type:"usage",name:"hls-608"});var o=r.textTracks().getTrackById(i);e.inbandTextTracks_[i]=o||r.addRemoteTextTrack({kind:"captions",id:i,label:i},!1).track}n.metadata&&n.metadata.length&&!e.metadataTrack_&&(e.metadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=n.metadata.dispatchType)}(this,this.mediaSource_,t),this.pendingBuffers_.push(t)}},{key:"done_",value:function(e){"closed"!==this.mediaSource_.readyState?this.processPendingSegments_():this.pendingBuffers_.length=0}},{key:"videoSegmentTimingInfo_",value:function(e){var t={start:{decode:e.start.dts/9e4,presentation:e.start.pts/9e4},end:{decode:e.end.dts/9e4,presentation:e.end.pts/9e4},baseMediaDecodeTime:e.baseMediaDecodeTime/9e4};e.prependedContentDuration&&(t.prependedContentDuration=e.prependedContentDuration/9e4),this.trigger({type:"videoSegmentTimingInfo",videoSegmentTimingInfo:t})}},{key:"createRealSourceBuffers_",value:function(){var e=this,t=["audio","video"];t.forEach(function(n){if(e[n+"Codec_"]&&!e[n+"Buffer_"]){var r=null;if(e.mediaSource_[n+"Buffer_"])(r=e.mediaSource_[n+"Buffer_"]).updating=!1;else{var i=n+'/mp4;codecs="'+e[n+"Codec_"]+'"';r=function(e,t){var n=e.addSourceBuffer(t),r=Object.create(null);r.updating=!1,r.realBuffer_=n;var i=function(e){"function"==typeof n[e]?r[e]=function(){return n[e].apply(n,arguments)}:void 0===r[e]&&Object.defineProperty(r,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})};for(var o in n)i(o);return r}(e.mediaSource_.nativeMediaSource_,i),e.mediaSource_[n+"Buffer_"]=r}e[n+"Buffer_"]=r,["update","updatestart","updateend"].forEach(function(i){r.addEventListener(i,function(){if("audio"!==n||!e.audioDisabled_)return"updateend"===i&&(e[n+"Buffer_"].updating=!1),t.every(function(t){return!("audio"!==t||!e.audioDisabled_)||(n===t||!e[t+"Buffer_"]||!e[t+"Buffer_"].updating)})?e.trigger(i):void 0})})}})}},{key:"appendBuffer",value:function(e){if(this.bufferUpdating_=!0,this.audioBuffer_&&this.audioBuffer_.buffered.length){var t=this.audioBuffer_.buffered;this.transmuxer_.postMessage({action:"setAudioAppendStart",appendStart:t.end(t.length-1)})}this.videoBuffer_&&this.transmuxer_.postMessage({action:"alignGopsWith",gopsToAlignWith:Ts(this.gopBuffer_,this.mediaSource_.player_?this.mediaSource_.player_.currentTime():null,this.timeMapping_)}),this.transmuxer_.postMessage({action:"push",data:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength},[e.buffer]),this.transmuxer_.postMessage({action:"flush"})}},{key:"appendGopInfo_",value:function(e){this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,i=0;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)}(this.gopBuffer_,e.data.gopInfo,this.safeAppend_)}},{key:"remove",value:function(e,t){if(this.videoBuffer_&&(this.videoBuffer_.updating=!0,this.videoBuffer_.remove(e,t),this.gopBuffer_=function(e,t,n,r){for(var i=Math.ceil(9e4*(t-r)),o=Math.ceil(9e4*(n-r)),a=e.slice(),s=e.length;s--&&!(e[s].pts<=o););if(-1===s)return a;for(var c=s+1;c--&&!(e[c].pts<=i););return c=Math.max(c,0),a.splice(c,s-c+1),a}(this.gopBuffer_,e,t,this.timeMapping_)),!this.audioDisabled_&&this.audioBuffer_&&(this.audioBuffer_.updating=!0,this.audioBuffer_.remove(e,t)),rs(e,t,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)rs(e,t,this.inbandTextTracks_[n])}},{key:"processPendingSegments_",value:function(){var e={video:{segments:[],bytes:0},audio:{segments:[],bytes:0},captions:[],metadata:[]};if(!this.pendingBuffers_.length)return this.trigger("updateend"),void(this.bufferUpdating_=!1);e=this.pendingBuffers_.reduce(function(e,t){var n=t.type,r=t.data,i=t.initSegment;return e[n].segments.push(r),e[n].bytes+=r.byteLength,e[n].initSegment=i,t.captions&&(e.captions=e.captions.concat(t.captions)),t.info&&(e[n].info=t.info),t.metadata&&(e.metadata=e.metadata.concat(t.metadata)),e},e),this.videoBuffer_||this.audioBuffer_||(0===e.video.bytes&&(this.videoCodec_=null),0===e.audio.bytes&&(this.audioCodec_=null),this.createRealSourceBuffers_()),e.audio.info&&this.mediaSource_.trigger({type:"audioinfo",info:e.audio.info}),e.video.info&&this.mediaSource_.trigger({type:"videoinfo",info:e.video.info}),this.appendAudioInitSegment_&&(!this.audioDisabled_&&this.audioBuffer_&&(e.audio.segments.unshift(e.audio.initSegment),e.audio.bytes+=e.audio.initSegment.byteLength),this.appendAudioInitSegment_=!1);var t=!1;this.videoBuffer_&&e.video.bytes?(e.video.segments.unshift(e.video.initSegment),e.video.bytes+=e.video.initSegment.byteLength,this.concatAndAppendSegments_(e.video,this.videoBuffer_)):!this.videoBuffer_||!this.audioDisabled_&&this.audioBuffer_||(t=!0),os(this,e.captions,e.metadata),!this.audioDisabled_&&this.audioBuffer_&&this.concatAndAppendSegments_(e.audio,this.audioBuffer_),this.pendingBuffers_.length=0,t&&this.trigger("updateend"),this.bufferUpdating_=!1}},{key:"concatAndAppendSegments_",value:function(e,t){var n=0,r=void 0;if(e.bytes){r=new Uint8Array(e.bytes),e.segments.forEach(function(e){r.set(e,n),n+=e.byteLength});try{t.updating=!0,t.appendBuffer(r)}catch(e){this.mediaSource_.player_&&this.mediaSource_.player_.error({code:-3,type:"APPEND_BUFFER_ERR",message:e.message,originalError:e})}}}},{key:"abort",value:function(){this.videoBuffer_&&this.videoBuffer_.abort(),!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"reset"}),this.pendingBuffers_.length=0,this.bufferUpdating_=!1}},{key:"dispose",value:function(){this.transmuxer_&&this.transmuxer_.terminate(),this.trigger("dispose"),this.off()}}]),t}(na.EventTarget),As=function(e){function t(){sa(this,t);var e=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),n=void 0;for(n in e.nativeMediaSource_=new i.a.MediaSource,e.nativeMediaSource_)n in t.prototype||"function"!=typeof e.nativeMediaSource_[n]||(e[n]=e.nativeMediaSource_[n].bind(e.nativeMediaSource_));return e.duration_=NaN,Object.defineProperty(e,"duration",{get:function(){return this.duration_===1/0?this.duration_:this.nativeMediaSource_.duration},set:function(e){this.duration_=e,e===1/0||(this.nativeMediaSource_.duration=e)}}),Object.defineProperty(e,"seekable",{get:function(){return this.duration_===1/0?na.createTimeRanges([[0,this.nativeMediaSource_.duration]]):this.nativeMediaSource_.seekable}}),Object.defineProperty(e,"readyState",{get:function(){return this.nativeMediaSource_.readyState}}),Object.defineProperty(e,"activeSourceBuffers",{get:function(){return this.activeSourceBuffers_}}),e.sourceBuffers=[],e.activeSourceBuffers_=[],e.updateActiveSourceBuffers_=function(){if(e.activeSourceBuffers_.length=0,1===e.sourceBuffers.length){var t=e.sourceBuffers[0];return t.appendAudioInitSegment_=!0,t.audioDisabled_=!t.audioCodec_,void e.activeSourceBuffers_.push(t)}for(var n=!1,r=!0,i=0;i<e.player_.audioTracks().length;i++){var o=e.player_.audioTracks()[i];if(o.enabled&&"main"!==o.kind){n=!0,r=!1;break}}e.sourceBuffers.forEach(function(t,i){if(t.appendAudioInitSegment_=!0,t.videoCodec_&&t.audioCodec_)t.audioDisabled_=n;else if(t.videoCodec_&&!t.audioCodec_)t.audioDisabled_=!0,r=!1;else if(!t.videoCodec_&&t.audioCodec_&&(t.audioDisabled_=i?r:!r,t.audioDisabled_))return;e.activeSourceBuffers_.push(t)})},e.onPlayerMediachange_=function(){e.sourceBuffers.forEach(function(e){e.appendAudioInitSegment_=!0})},e.onHlsReset_=function(){e.sourceBuffers.forEach(function(e){e.transmuxer_&&e.transmuxer_.postMessage({action:"resetCaptions"})})},e.onHlsSegmentTimeMapping_=function(t){e.sourceBuffers.forEach(function(e){return e.timeMapping_=t.mapping})},["sourceopen","sourceclose","sourceended"].forEach(function(e){this.nativeMediaSource_.addEventListener(e,this.trigger.bind(this))},e),e.on("sourceopen",function(t){var n=a.a.querySelector('[src="'+e.url_+'"]');n&&(e.player_=na(n.parentNode),e.player_&&(e.player_.tech_.on("hls-reset",e.onHlsReset_),e.player_.tech_.on("hls-segment-time-mapping",e.onHlsSegmentTimeMapping_),e.player_.audioTracks&&e.player_.audioTracks()&&(e.player_.audioTracks().on("change",e.updateActiveSourceBuffers_),e.player_.audioTracks().on("addtrack",e.updateActiveSourceBuffers_),e.player_.audioTracks().on("removetrack",e.updateActiveSourceBuffers_)),e.player_.on("mediachange",e.onPlayerMediachange_)))}),e.on("sourceended",function(t){for(var n=is(e.duration),r=0;r<e.sourceBuffers.length;r++){var i=e.sourceBuffers[r],o=i.metadataTrack_&&i.metadataTrack_.cues;o&&o.length&&(o[o.length-1].endTime=n)}}),e.on("sourceclose",function(e){this.sourceBuffers.forEach(function(e){e.transmuxer_&&e.transmuxer_.terminate()}),this.sourceBuffers.length=0,this.player_&&(this.player_.audioTracks&&this.player_.audioTracks()&&(this.player_.audioTracks().off("change",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("addtrack",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("removetrack",this.updateActiveSourceBuffers_)),this.player_.el_&&this.player_.off("mediachange",this.onPlayerMediachange_),this.player_.tech_&&this.player_.tech_.el_&&(this.player_.tech_.off("hls-reset",this.onHlsReset_),this.player_.tech_.off("hls-segment-time-mapping",this.onHlsSegmentTimeMapping_)))}),e}return ua(t,e),ca(t,[{key:"addSeekableRange_",value:function(e,t){var n=void 0;if(this.duration!==1/0)throw(n=new Error("MediaSource.addSeekableRange() can only be invoked when the duration is Infinity")).name="InvalidStateError",n.code=11,n;(t>this.nativeMediaSource_.duration||isNaN(this.nativeMediaSource_.duration))&&(this.nativeMediaSource_.duration=t)}},{key:"addSourceBuffer",value:function(e){var t=void 0,n=ks(e);if(/^(video|audio)\/mp2t$/i.test(n.type)){var r=[];n.parameters&&n.parameters.codecs&&(r=n.parameters.codecs.split(","),r=(r=bs(r)).filter(function(e){return Es(e)||Ss(e)})),0===r.length&&(r=["avc1.4d400d","mp4a.40.2"]),t=new Os(this,r),0!==this.sourceBuffers.length&&(this.sourceBuffers[0].createRealSourceBuffers_(),t.createRealSourceBuffers_(),this.sourceBuffers[0].audioDisabled_=!0)}else t=this.nativeMediaSource_.addSourceBuffer(e);return this.sourceBuffers.push(t),t}},{key:"dispose",value:function(){this.trigger("dispose"),this.off(),this.sourceBuffers.forEach(function(e){e.dispose&&e.dispose()}),this.sourceBuffers.length=0}}]),t}(na.EventTarget),js=0;na.mediaSources={};var Ns=function(e,t){var n=na.mediaSources[e];if(!n)throw new Error("Media Source not found (Video.js)");n.trigger({type:"sourceopen",swfId:t})},Ms=function(){return!!i.a.MediaSource&&!!i.a.MediaSource.isTypeSupported&&i.a.MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')},Ps=function(){if(this.MediaSource={open:Ns,supportsNativeMediaSources:Ms},Ms())return new As;throw new Error("Cannot use create a virtual MediaSource for this video")};Ps.open=Ns,Ps.supportsNativeMediaSources=Ms;var Is={createObjectURL:function(e){var t=void 0;return e instanceof As?(t=i.a.URL.createObjectURL(e.nativeMediaSource_),e.url_=t,t):e instanceof As?(t="blob:vjs-media-source/"+js,js++,na.mediaSources[t]=e,t):(t=i.a.URL.createObjectURL(e),e.url_=t,t)}};na.MediaSource=Ps,na.URL=Is;var Ls=na.EventTarget,Ds=na.mergeOptions,Rs=function(e,t){for(var n=void 0,r=Ds(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod}),i=0;i<t.playlists.length;i++){var o=va(r,t.playlists[i]);o?r=o:n=!0}return ma(t,function(e,t,i,o){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=va(r,e.playlists[0]);s&&((r=s).mediaGroups[t][i][o].playlists[0]=r.playlists[a],n=!1)}}),n?null:r},Fs=function(e){var t=e.byterange.offset+e.byterange.length-1;return e.uri+"-"+e.byterange.offset+"-"+t},Bs=function(e,t){var n,r,i={};for(var o in e){var a=e[o].sidx;if(a){var s=Fs(a);if(!t[s])break;var c=t[s].sidxInfo;n=c,r=a,(Boolean(!n.map&&!r.map)||Boolean(n.map&&r.map&&n.map.byterange.offset===r.map.byterange.offset&&n.map.byterange.length===r.map.byterange.length))&&n.uri===r.uri&&n.byterange.offset===r.byterange.offset&&n.byterange.length===r.byterange.length&&(i[s]=t[s])}}return i},Us=function(e,t,n,r,i){var o={uri:aa(r.handleManifestRedirects,e.resolvedUri),byterange:e.byterange,playlist:t};return n(na.mergeOptions(o,{responseType:"arraybuffer",headers:qa(o)}),i)},qs=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3];sa(this,t);var o=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),a=r.withCredentials,s=void 0!==a&&a,c=r.handleManifestRedirects,u=void 0!==c&&c;if(o.hls_=n,o.withCredentials=s,o.handleManifestRedirects=u,!e)throw new Error("A non-empty playlist URL or playlist is required");return o.on("minimumUpdatePeriod",function(){o.refreshXml_()}),o.on("mediaupdatetimeout",function(){o.refreshMedia_(o.media().id)}),o.state="HAVE_NOTHING",o.loadedPlaylists_={},"string"==typeof e?(o.srcUrl=e,o.sidxMapping_={},la(o)):(o.setupChildLoader(i,e),o)}return ua(t,Ls),ca(t,[{key:"setupChildLoader",value:function(e,t){this.masterPlaylistLoader_=e,this.childPlaylist_=t}},{key:"dispose",value:function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i.a.clearTimeout(this.minimumUpdatePeriodTimeout_),i.a.clearTimeout(this.mediaRequest_),i.a.clearTimeout(this.mediaUpdateTimeout),this.off()}},{key:"hasPendingRequest",value:function(){return this.request||this.mediaRequest_}},{key:"stopRequest",value:function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}},{key:"sidxRequestFinished_",value:function(e,t,n,r){var i=this;return function(o,a){if(i.request){if(i.request=null,o)return i.error={status:a.status,message:"DASH playlist request error at URL: "+e.uri,response:a.response,code:2},n&&(i.state=n),i.trigger("error"),r(t,null);var s=new Uint8Array(a.response),c=Ae.a.parseSidx(s.subarray(8));return r(t,c)}}}},{key:"media",value:function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));if(r)if(this.media_&&this.trigger("mediachanging"),e.sidx){var o=void 0,a=void 0;this.masterPlaylistLoader_?(o=this.masterPlaylistLoader_.master,a=this.masterPlaylistLoader_.sidxMapping_):(o=this.master,a=this.sidxMapping_);var s=Fs(e.sidx);a[s]={sidxInfo:e.sidx},this.request=Us(e.sidx,e,this.hls_.xhr,{handleManifestRedirects:this.handleManifestRedirects},this.sidxRequestFinished_(e,o,n,function(r,i){if(!r||!i)throw new Error("failed to request sidx");a[s].sidx=i,t.haveMetadata({startingState:n,playlist:r.playlists[e.id]})}))}else this.mediaRequest_=i.a.setTimeout(this.haveMetadata.bind(this,{startingState:n,playlist:e}),0)}},{key:"haveMetadata",value:function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")}},{key:"pause",value:function(){this.stopRequest(),i.a.clearTimeout(this.mediaUpdateTimeout),i.a.clearTimeout(this.minimumUpdatePeriodTimeout_),"HAVE_NOTHING"===this.state&&(this.started=!1)}},{key:"load",value:function(e){var t=this;i.a.clearTimeout(this.mediaUpdateTimeout),i.a.clearTimeout(this.minimumUpdatePeriodTimeout_);var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i.a.setTimeout(function(){return t.load()},r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}},{key:"parseMasterXml",value:function(){var e=Te(this.masterXml_,{manifestUri:this.srcUrl,clientOffset:this.clientOffset_,sidxMapping:this.sidxMapping_});e.uri=this.srcUrl;for(var t=0;t<e.playlists.length;t++){var n="placeholder-uri-"+t;e.playlists[t].uri=n}return ma(e,function(t,n,r,i){if(t.playlists&&t.playlists.length){var o="placeholder-uri-"+n+"-"+r+"-"+i,a=ga(0,o);t.playlists[0].uri=o,t.playlists[0].id=a,e.playlists[a]=t.playlists[0],e.playlists[o]=t.playlists[0]}}),ya(e),ba(e),e}},{key:"start",value:function(){var e=this;this.started=!0,this.masterPlaylistLoader_?this.mediaRequest_=i.a.setTimeout(this.haveMaster_.bind(this),0):this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"DASH playlist request error at URL: "+e.srcUrl,responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.masterXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?e.masterLoaded_=Date.parse(n.responseHeaders.date):e.masterLoaded_=Date.now(),e.srcUrl=aa(e.handleManifestRedirects,e.srcUrl,n),e.syncClientServerClock_(e.onClientServerClockSync_.bind(e))}})}},{key:"syncClientServerClock_",value:function(e){var t=this,n=Ce(this.masterXml_);return null===n?(this.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.clientOffset_=n.value-Date.now(),e()):void(this.request=this.hls_.xhr({uri:oa(this.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},function(r,i){if(t.request){if(r)return t.clientOffset_=t.masterLoaded_-Date.now(),e();var o=void 0;o="HEAD"===n.method?i.responseHeaders&&i.responseHeaders.date?Date.parse(i.responseHeaders.date):t.masterLoaded_:Date.parse(i.responseText),t.clientOffset_=o-Date.now(),e()}}))}},{key:"haveMaster_",value:function(){this.state="HAVE_MASTER",this.mediaRequest_=null,this.masterPlaylistLoader_?this.media_||this.media(this.childPlaylist_):(this.master=this.parseMasterXml(),this.trigger("loadedplaylist"))}},{key:"onClientServerClockSync_",value:function(){var e=this;this.haveMaster_(),this.hasPendingRequest()||this.media_||this.media(this.master.playlists[0]),this.master&&this.master.minimumUpdatePeriod&&(this.minimumUpdatePeriodTimeout_=i.a.setTimeout(function(){e.trigger("minimumUpdatePeriod")},this.master.minimumUpdatePeriod))}},{key:"refreshXml_",value:function(){var e=this;this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"DASH playlist request error at URL: "+e.srcUrl,responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.masterXml_=n.responseText,e.sidxMapping_=function(e,t,n,r){var i=Te(e,{manifestUri:t,clientOffset:n}),o=Bs(i.playlists,r);return ma(i,function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists;o=Ds(o,Bs(a,r))}}),o}(e.masterXml_,e.srcUrl,e.clientOffset_,e.sidxMapping_);var r=e.parseMasterXml(),o=Rs(e.master,r),a=e.media().sidx;if(o)if(a){var s=Fs(a);if(!e.sidxMapping_[s]){var c=e.media();e.request=Us(c.sidx,c,e.hls_.xhr,{handleManifestRedirects:e.handleManifestRedirects},e.sidxRequestFinished_(c,r,e.state,function(t,n){if(!t||!n)throw new Error("failed to request sidx on minimumUpdatePeriod");e.sidxMapping_[s].sidx=n,e.minimumUpdatePeriodTimeout_=i.a.setTimeout(function(){e.trigger("minimumUpdatePeriod")},e.master.minimumUpdatePeriod),e.refreshMedia_(e.media().id)}))}}else e.master=o;e.minimumUpdatePeriodTimeout_=i.a.setTimeout(function(){e.trigger("minimumUpdatePeriod")},e.master.minimumUpdatePeriod)}})}},{key:"refreshMedia_",value:function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");var n=void 0,r=void 0;this.masterPlaylistLoader_?(n=this.masterPlaylistLoader_.master,r=this.masterPlaylistLoader_.parseMasterXml()):(n=this.master,r=this.parseMasterXml());var o=Rs(n,r);o?(this.masterPlaylistLoader_?this.masterPlaylistLoader_.master=o:this.master=o,this.media_=o.playlists[e]):(this.media_=r.playlists[e],this.trigger("playlistunchanged")),this.media().endList||(this.mediaUpdateTimeout=i.a.setTimeout(function(){t.trigger("mediaupdatetimeout")},_a(this.media(),!!o))),this.trigger("loadedplaylist")}}]),t}(),zs=function(e){return na.log.debug?na.log.debug.bind(na,"VHS:",e+" >"):function(){}};function Hs(){}var Ws=function(){function e(t,n,r,i){sa(this,e),this.callbacks_=[],this.pendingCallback_=null,this.timestampOffset_=0,this.mediaSource=t,this.processedAppend_=!1,this.type_=r,this.mimeType_=n,this.logger_=zs("SourceUpdater["+r+"]["+n+"]"),"closed"===t.readyState?t.addEventListener("sourceopen",this.createSourceBuffer_.bind(this,n,i)):this.createSourceBuffer_(n,i)}return ca(e,[{key:"createSourceBuffer_",value:function(e,t){var n=this;this.sourceBuffer_=this.mediaSource.addSourceBuffer(e),this.logger_("created SourceBuffer"),t&&(t.trigger("sourcebufferadded"),this.mediaSource.sourceBuffers.length<2)?t.on("sourcebufferadded",function(){n.start_()}):this.start_()}},{key:"start_",value:function(){var e=this;this.started_=!0,this.onUpdateendCallback_=function(){var t=e.pendingCallback_;e.pendingCallback_=null,e.sourceBuffer_.removing=!1,e.logger_("buffered ["+ts(e.buffered())+"]"),t&&t(),e.runCallback_()},this.sourceBuffer_.addEventListener("updateend",this.onUpdateendCallback_),this.runCallback_()}},{key:"abort",value:function(e){var t=this;this.processedAppend_&&this.queueCallback_(function(){t.sourceBuffer_.abort()},e)}},{key:"appendBuffer",value:function(e,t){var n=this;this.processedAppend_=!0,this.queueCallback_(function(){e.videoSegmentTimingInfoCallback&&n.sourceBuffer_.addEventListener("videoSegmentTimingInfo",e.videoSegmentTimingInfoCallback),n.sourceBuffer_.appendBuffer(e.bytes)},function(){e.videoSegmentTimingInfoCallback&&n.sourceBuffer_.removeEventListener("videoSegmentTimingInfo",e.videoSegmentTimingInfoCallback),t()})}},{key:"buffered",value:function(){return this.sourceBuffer_?this.sourceBuffer_.buffered:na.createTimeRanges()}},{key:"remove",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Hs;this.processedAppend_&&this.queueCallback_(function(){n.logger_("remove ["+e+" => "+t+"]"),n.sourceBuffer_.removing=!0,n.sourceBuffer_.remove(e,t)},r)}},{key:"updating",value:function(){return!this.sourceBuffer_||this.sourceBuffer_.updating||!!this.pendingCallback_&&this.pendingCallback_!==Hs}},{key:"timestampOffset",value:function(e){var t=this;return void 0!==e&&(this.queueCallback_(function(){t.sourceBuffer_.timestampOffset=e,t.runCallback_()}),this.timestampOffset_=e),this.timestampOffset_}},{key:"queueCallback_",value:function(e,t){this.callbacks_.push([e.bind(this),t]),this.runCallback_()}},{key:"runCallback_",value:function(){var e=void 0;!this.updating()&&this.callbacks_.length&&this.started_&&(e=this.callbacks_.shift(),this.pendingCallback_=e[1],e[0]())}},{key:"dispose",value:function(){var e=this,t=function t(){e.sourceBuffer_&&"open"===e.mediaSource.readyState&&e.sourceBuffer_.abort(),e.sourceBuffer_.removeEventListener("updateend",t)};this.sourceBuffer_.removeEventListener("updateend",this.onUpdateendCallback_),this.sourceBuffer_.removing?this.sourceBuffer_.addEventListener("updateend",t):t()}}]),e}(),Vs={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,BUFFER_LOW_WATER_LINE_RATE:1},Ys=2,Gs=-101,Ks=-102,$s=function(e){e.forEach(function(e){e.abort()})},Xs=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Gs,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Ks,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Ys,xhr:t}:null},Qs=function(e,t,n){var r=0,i=!1;return function(o,a){if(!i)return o?(i=!0,$s(e),n(o,a)):(r+=1)===e.length?(a.endOfAllRequests=Date.now(),a.encryptedBytes?function(e,t,n){e.addEventListener("message",function r(i){if(i.data.source===t.requestId){e.removeEventListener("message",r);var o=i.data.decrypted;return t.bytes=new Uint8Array(o.bytes,o.byteOffset,o.byteLength),n(null,t)}});var r=void 0;r=t.key.bytes.slice?t.key.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.key.bytes)),e.postMessage(Va({source:t.requestId,encrypted:t.encryptedBytes,key:r,iv:t.key.iv}),[t.encryptedBytes.buffer,r.buffer])}(t,a,n):n(null,a)):void 0}},Zs=function(e,t){return function(n){var r,i,o;return e.stats=na.mergeOptions(e.stats,(i=(r=n).target,(o={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-i.requestTime||0}).bytesReceived=r.loaded,o.bandwidth=Math.floor(o.bytesReceived/o.roundTripTime*8*1e3),o)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(n,e)}},Js=function(e,t,n,r,i,o,a){var s=[],c=Qs(s,n,a);if(i.key&&!i.key.bytes){var u=e(na.mergeOptions(t,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),function(e,t){return function(n,r){var i=r.response,o=Xs(n,r);if(o)return t(o,e);if(16!==i.byteLength)return t({status:r.status,message:"Invalid HLS key at URL: "+r.uri,code:Ys,xhr:r},e);var a=new DataView(i);return e.key.bytes=new Uint32Array([a.getUint32(0),a.getUint32(4),a.getUint32(8),a.getUint32(12)]),t(null,e)}}(i,c));s.push(u)}if(i.map&&!i.map.bytes){var l=e(na.mergeOptions(t,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:qa(i.map)}),function(e,t,n){return function(r,i){var o=i.response,a=Xs(r,i);return a?n(a,e):0===o.byteLength?n({status:i.status,message:"Empty HLS segment content at URL: "+i.uri,code:Ys,xhr:i},e):(e.map.bytes=new Uint8Array(i.response),t&&!t.isInitialized()&&t.init(),e.map.timescales=Ne.a.timescale(e.map.bytes),e.map.videoTrackIds=Ne.a.videoTrackIds(e.map.bytes),n(null,e))}}(i,r,c));s.push(l)}var d=e(na.mergeOptions(t,{uri:i.resolvedUri,responseType:"arraybuffer",headers:qa(i)}),function(e,t,n){return function(r,i){var o=i.response,a=Xs(r,i),s=void 0;return a?n(a,e):0===o.byteLength?n({status:i.status,message:"Empty HLS segment content at URL: "+i.uri,code:Ys,xhr:i},e):(e.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(i),e.key?e.encryptedBytes=new Uint8Array(i.response):e.bytes=new Uint8Array(i.response),t&&e.map&&e.map.bytes&&(t.isInitialized()||t.init(),(s=t.parse(e.bytes,e.map.videoTrackIds,e.map.timescales))&&s.captions&&(e.captionStreams=s.captionStreams,e.fmp4Captions=s.captions)),n(null,e))}}(i,r,c));return d.addEventListener("progress",Zs(i,o)),s.push(d),function(){return $s(s)}},ec=function(e,t){var n;return e&&(n=i.a.getComputedStyle(e))?n[t]:""},tc=function(e,t){var n=e.slice();e.sort(function(e,r){var i=t(e,r);return 0===i?n.indexOf(e)-n.indexOf(r):i})},nc=function(e,t){var n=void 0,r=void 0;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i.a.Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||i.a.Number.MAX_VALUE)},rc=function(e){return"number"==typeof e&&isFinite(e)},ic=function(e){function t(e){sa(this,t);var n=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(!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");return n.bandwidth=e.bandwidth,n.throughput={rate:0,count:0},n.roundTrip=NaN,n.resetStats_(),n.mediaIndex=null,n.hasPlayed_=e.hasPlayed,n.currentTime_=e.currentTime,n.seekable_=e.seekable,n.seeking_=e.seeking,n.duration_=e.duration,n.mediaSource_=e.mediaSource,n.hls_=e.hls,n.loaderType_=e.loaderType,n.startingMedia_=void 0,n.segmentMetadataTrack_=e.segmentMetadataTrack,n.goalBufferLength_=e.goalBufferLength,n.sourceType_=e.sourceType,n.inbandTextTracks_=e.inbandTextTracks,n.state_="INIT",n.checkBufferTimeout_=null,n.error_=void 0,n.currentTimeline_=-1,n.pendingSegment_=null,n.mimeType_=null,n.sourceUpdater_=null,n.xhrOptions_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=e.cacheEncryptionKeys,n.keyCache_={},"main"===n.loaderType_?n.captionParser_=new Pe.a:n.captionParser_=null,n.decrypter_=e.decrypter,n.syncController_=e.syncController,n.syncPoint_={segmentIndex:0,time:0},n.triggerSyncInfoUpdate_=function(){return n.trigger("syncinfoupdate")},n.syncController_.on("syncinfoupdate",n.triggerSyncInfoUpdate_),n.mediaSource_.addEventListener("sourceopen",function(){return n.ended_=!1}),n.fetchAtBuffer_=!1,n.logger_=zs("SegmentLoader["+n.loaderType_+"]"),Object.defineProperty(n,"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e)}}),n}return ua(t,e),ca(t,[{key:"resetStats_",value:function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0}},{key:"dispose",value:function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.sourceUpdater_&&this.sourceUpdater_.dispose(),this.resetStats_(),this.captionParser_&&this.captionParser_.reset(),this.checkBufferTimeout_&&i.a.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}},{key:"abort",value:function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}},{key:"abort_",value:function(){this.pendingSegment_&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null}},{key:"error",value:function(e){return void 0!==e&&(this.error_=e),this.pendingSegment_=null,this.error_}},{key:"endOfStream",value:function(){this.ended_=!0,this.pause(),this.trigger("ended")}},{key:"buffered_",value:function(){return this.sourceUpdater_?this.sourceUpdater_.buffered():na.createTimeRanges()}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Ya(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,timescales:e.timescales,videoTrackIds:e.videoTrackIds}),r||e}},{key:"segmentKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Ga(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var i={resolvedUri:(r||e).resolvedUri};return r&&(i.bytes=r.bytes),i}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&(this.sourceUpdater_||this.mimeType_&&"INIT"===this.state)&&!this.paused()}},{key:"load",value:function(){if(this.monitorBuffer_(),this.playlist_){if(this.syncController_.setDateTimeMapping(this.playlist_),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY")}}},{key:"init_",value:function(){return this.state="READY",this.sourceUpdater_=new Ws(this.mediaSource_,this.mimeType_,this.loaderType_,this.sourceBufferEmitter_),this.resetEverything(),this.monitorBuffer_()}},{key:"playlist",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0});var 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){var o=e.mediaSequence-n.mediaSequence;this.logger_("live window shift ["+o+"]"),null!==this.mediaIndex&&(this.mediaIndex-=o),r&&(r.mediaIndex-=o,r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex])),this.syncController_.saveExpiredSegmentInfo(n,e)}else null!==this.mediaIndex&&this.resyncLoader()}}},{key:"pause",value:function(){this.checkBufferTimeout_&&(i.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}},{key:"paused",value:function(){return null===this.checkBufferTimeout_}},{key:"mimeType",value:function(e,t){this.mimeType_||(this.mimeType_=e,this.sourceBufferEmitter_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_())}},{key:"resetEverything",value:function(e){this.ended_=!1,this.resetLoader(),this.remove(0,1/0,e),this.captionParser_&&this.captionParser_.clearAllCaptions(),this.trigger("reseteverything")}},{key:"resetLoader",value:function(){this.fetchAtBuffer_=!1,this.resyncLoader()}},{key:"resyncLoader",value:function(){this.mediaIndex=null,this.syncPoint_=null,this.abort()}},{key:"remove",value:function(e,t,n){if(t===1/0&&(t=this.duration_()),this.sourceUpdater_&&this.sourceUpdater_.remove(e,t,n),rs(e,t,this.segmentMetadataTrack_),this.inbandTextTracks_)for(var r in this.inbandTextTracks_)rs(e,t,this.inbandTextTracks_[r])}},{key:"monitorBuffer_",value:function(){this.checkBufferTimeout_&&i.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i.a.setTimeout(this.monitorBufferTick_.bind(this),1)}},{key:"monitorBufferTick_",value:function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i.a.setTimeout(this.monitorBufferTick_.bind(this),500)}},{key:"fillBuffer_",value:function(){if(!this.sourceUpdater_.updating()){this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var e=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);e&&(this.isEndOfStream_(e.mediaIndex)?this.endOfStream():(e.mediaIndex!==this.playlist_.segments.length-1||"ended"!==this.mediaSource_.readyState||this.seeking_())&&(e.timeline!==this.currentTimeline_&&(this.syncController_.reset(),e.timestampOffset=e.startOfSegment,this.captionParser_&&this.captionParser_.clearAllCaptions()),this.loadSegment_(e)))}}},{key:"isEndOfStream_",value:function(e){return function(e,t,n){if(!e||!t)return!1;var r=n===e.segments.length;return e.endList&&"open"===t.readyState&&r}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.playlist_,this.mediaSource_,e)&&!this.sourceUpdater_.updating()}},{key:"checkBuffer_",value:function(e,t,n,r,i,o){var a=0,s=void 0;e.length&&(a=e.end(e.length-1));var c=Math.max(0,a-i);if(!t.segments.length)return null;if(c>=this.goalBufferLength_())return null;if(!r&&c>=1)return null;if(null===o)return n=this.getSyncSegmentCandidate_(t),this.generateSegmentInfo_(t,n,null,!0);if(null!==n){t.segments[n];return s=a,this.generateSegmentInfo_(t,n+1,s,!1)}if(this.fetchAtBuffer_){var u=Ra.getMediaInfoForTime(t,a,o.segmentIndex,o.time);n=u.mediaIndex,s=u.startTime}else{var l=Ra.getMediaInfoForTime(t,i,o.segmentIndex,o.time);n=l.mediaIndex,s=l.startTime}return this.generateSegmentInfo_(t,n,s,!1)}},{key:"getSyncSegmentCandidate_",value:function(e){var t=this;if(-1===this.currentTimeline_)return 0;var n=e.segments.map(function(e,t){return{timeline:e.timeline,segmentIndex:t}}).filter(function(e){return e.timeline===t.currentTimeline_});return n.length?n[Math.min(n.length-1,1)].segmentIndex:Math.max(e.segments.length-1,0)}},{key:"generateSegmentInfo_",value:function(e,t,n,r){if(t<0||t>=e.segments.length)return null;var i=e.segments[t];return{requestId:"segment-loader-"+Math.random(),uri:i.resolvedUri,mediaIndex:t,isSyncRequest:r,startOfSegment:n,playlist:e,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:i.timeline,duration:i.duration,segment:i}}},{key:"abortRequestEarly_",value:function(e){if(this.hls_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return!1;if(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return!1;var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=Ra.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.hls_.tech_.playbackRate())-1;if(i<=o)return!1;var a=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,i=e.duration,o=e.segmentDuration,a=e.timeUntilRebuffer,s=e.currentTimeline,c=e.syncController,u=t.playlists.filter(function(e){return!Ra.isIncompatible(e)}),l=u.filter(Ra.isEnabled);l.length||(l=u.filter(function(e){return!Ra.isDisabled(e)}));var d=l.filter(Ra.hasAttribute.bind(null,"BANDWIDTH")).map(function(e){var t=c.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:Ra.estimateSegmentRequestTime(o,r,e)*t-a}}),f=d.filter(function(e){return e.rebufferingImpact<=0});return tc(f,function(e,t){return nc(t.playlist,e.playlist)}),f.length?f[0]:(tc(d,function(e,t){return e.rebufferingImpact-t.rebufferingImpact}),d[0]||null)}({master:this.hls_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(a){var s=i-o-a.rebufferingImpact,c=.5;return o<=1/30&&(c=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<c?!1:(this.bandwidth=a.playlist.attributes.BANDWIDTH*Vs.BANDWIDTH_VARIANCE+1,this.abort(),this.trigger("earlyabort"),!0)}}},{key:"handleProgress_",value:function(e,t){this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId&&!this.abortRequestEarly_(t.stats)&&this.trigger("progress")}},{key:"loadSegment_",value:function(e){this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),e.abortRequests=Js(this.hls_.xhr,this.xhrOptions_,this.decrypter_,this.captionParser_,this.createSimplifiedSegmentObj_(e),this.handleProgress_.bind(this),this.segmentRequestFinished_.bind(this))}},{key:"trimBackBuffer_",value:function(e){var t=function(e,t,n){var r=t-30;e.length&&(r=Math.max(r,e.start(0)));var i=t-n;return Math.min(i,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)}},{key:"createSimplifiedSegmentObj_",value:function(e){var t=e.segment,n={resolvedUri:t.resolvedUri,byterange:t.byterange,requestId:e.requestId};if(t.key){var r=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);n.key=this.segmentKey(t.key),n.key.iv=r}return t.map&&(n.map=this.initSegment(t.map)),n}},{key:"segmentRequestFinished_",value:function(e,t){if(this.mediaRequests+=1,t.stats&&(this.mediaBytesTransferred+=t.stats.bytesReceived,this.mediaTransferDuration+=t.stats.roundTripTime),this.pendingSegment_){if(t.requestId===this.pendingSegment_.requestId){if(e)return this.pendingSegment_=null,this.state="READY",e.code===Ks?void(this.mediaRequestsAborted+=1):(this.pause(),e.code===Gs?(this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,void this.trigger("bandwidthupdate")):(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error")));this.bandwidth=t.stats.bandwidth,this.roundTrip=t.stats.roundTripTime,t.map&&(t.map=this.initSegment(t.map,!0)),t.key&&this.segmentKey(t.key,!0),this.processSegmentResponse_(t)}}else this.mediaRequestsAborted+=1}},{key:"processSegmentResponse_",value:function(e){var t=this.pendingSegment_;t.bytes=e.bytes,e.map&&(t.segment.map.bytes=e.map.bytes),t.endOfAllRequests=e.endOfAllRequests,e.fmp4Captions&&(!function(e,t,n){for(var r in n)if(!e[r]){t.trigger({type:"usage",name:"hls-608"});var i=t.textTracks().getTrackById(r);e[r]=i||t.addRemoteTextTrack({kind:"captions",id:r,label:r},!1).track}}(this.inbandTextTracks_,this.hls_.tech_,e.captionStreams),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var i=window.WebKitDataCue||window.VTTCue;n.forEach(function(e){var n=e.stream,o=e.startTime,a=e.endTime;t[n]&&(o+=r,a+=r,t[n].addCue(new i(o,a,e.text)))})}}({inbandTextTracks:this.inbandTextTracks_,captionArray:e.fmp4Captions,timestampOffset:0}),this.captionParser_&&this.captionParser_.clearParsedCaptions()),this.handleSegment_()}},{key:"handleSegment_",value:function(){var e=this;if(this.pendingSegment_){var t=this.pendingSegment_,n=t.segment,r=this.syncController_.probeSegmentInfo(t);void 0===this.startingMedia_&&r&&(r.containsAudio||r.containsVideo)&&(this.startingMedia_={containsAudio:r.containsAudio,containsVideo:r.containsVideo});var i,o,a,s=(i=this.loaderType_,o=this.startingMedia_,a=r,"main"===i&&o&&a?a.containsAudio||a.containsVideo?o.containsVideo&&!a.containsVideo?"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.":!o.containsVideo&&a.containsVideo?"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);if(s)return this.error({message:s,blacklistDuration:1/0}),void this.trigger("error");if(t.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");if(null!==t.timestampOffset&&t.timestampOffset!==this.sourceUpdater_.timestampOffset()){if(r&&r.segmentTimestampInfo){var c=r.segmentTimestampInfo[0].ptsTime,u=r.segmentTimestampInfo[0].dtsTime;t.timestampOffset-=c-u}this.sourceUpdater_.timestampOffset(t.timestampOffset),this.trigger("timestampoffset")}var l=this.syncController_.mappingForTimeline(t.timeline);if(null!==l&&this.trigger({type:"segmenttimemapping",mapping:l}),this.state="APPENDING",n.map){var d=Ya(n.map);if(!this.activeInitSegmentId_||this.activeInitSegmentId_!==d){var f=this.initSegment(n.map);this.sourceUpdater_.appendBuffer({bytes:f.bytes},function(){e.activeInitSegmentId_=d})}}t.byteLength=t.bytes.byteLength,"number"==typeof n.start&&"number"==typeof n.end?this.mediaSecondsLoaded+=n.end-n.start:this.mediaSecondsLoaded+=n.duration,this.logger_(function(e){var t=e.segment,n=t.start,r=t.end,i=e.playlist,o=i.mediaSequence,a=i.id,s=i.segments,c=void 0===s?[]:s,u=e.mediaIndex,l=e.timeline;return["appending ["+u+"] of ["+o+", "+(o+c.length)+"] from playlist ["+a+"]","["+n+" => "+r+"] in timeline ["+l+"]"].join(" ")}(t)),this.sourceUpdater_.appendBuffer({bytes:t.bytes,videoSegmentTimingInfoCallback:this.handleVideoSegmentTimingInfo_.bind(this,t.requestId)},this.handleUpdateEnd_.bind(this))}else this.state="READY"}},{key:"handleVideoSegmentTimingInfo_",value:function(e,t){if(this.pendingSegment_&&e===this.pendingSegment_.requestId){var n=this.pendingSegment_.segment;n.videoTimingInfo||(n.videoTimingInfo={}),n.videoTimingInfo.transmuxerPrependedSeconds=t.videoSegmentTimingInfo.prependedContentDuration||0,n.videoTimingInfo.transmuxedPresentationStart=t.videoSegmentTimingInfo.start.presentation,n.videoTimingInfo.transmuxedPresentationEnd=t.videoSegmentTimingInfo.end.presentation,n.videoTimingInfo.baseMediaDecodeTime=t.videoSegmentTimingInfo.baseMediaDecodeTime}}},{key:"handleUpdateEnd_",value:function(){if(!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_,t=e.segment,n=null!==this.mediaIndex;this.pendingSegment_=null,this.recordThroughput_(e),this.addSegmentMetadataCue_(e),this.state="READY",this.mediaIndex=e.mediaIndex,this.fetchAtBuffer_=!0,this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate"),t.end&&this.currentTime_()-t.end>3*e.playlist.targetDuration?this.resetEverything():(n&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.isEndOfStream_(e.mediaIndex+1,e.playlist)&&this.endOfStream(),this.paused()||this.monitorBuffer_())}},{key:"recordThroughput_",value:function(e){var 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}},{key:"addSegmentMetadataCue_",value:function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(rc(n)&&rc(r)){rs(n,r,this.segmentMetadataTrack_);var o=i.a.WebKitDataCue||i.a.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)}}}}]),t}(na.EventTarget),oc=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},ac=new Uint8Array("\n\n".split("").map(function(e){return e.charCodeAt(0)})),sc=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};sa(this,t);var r=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.mediaSource_=null,r.subtitlesTrack_=null,r.featuresNativeTextTracks_=e.featuresNativeTextTracks,r}return ua(t,ic),ca(t,[{key:"buffered_",value:function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return na.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return na.createTimeRanges([[t,n]])}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Ya(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var i=ac.byteLength+e.bytes.byteLength,o=new Uint8Array(i);o.set(e.bytes),o.set(ac,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:o}}return r||e}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}},{key:"init_",value:function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}},{key:"track",value:function(e){return void 0===e?this.subtitlesTrack_:(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}},{key:"remove",value:function(e,t){rs(e,t,this.subtitlesTrack_)}},{key:"fillBuffer_",value:function(){var e=this;this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var t=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);if(t=this.skipEmptySegments_(t)){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",function(){e.state="READY",e.paused()||e.monitorBuffer_()}),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}}},{key:"skipEmptySegments_",value:function(e){for(;e&&e.segment.empty;)e=this.generateSegmentInfo_(e.playlist,e.mediaIndex+1,e.startOfSegment+e.duration,e.isSyncRequest);return e}},{key:"handleSegment_",value:function(){var e=this;if(this.pendingSegment_&&this.subtitlesTrack_){this.state="APPENDING";var t=this.pendingSegment_,n=t.segment;if("function"!=typeof i.a.WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var r=void 0,o=function(){e.subtitlesTrack_.tech_.off("vttjsloaded",r),e.error({message:"Error loading vtt.js"}),e.state="READY",e.pause(),e.trigger("error")};return r=function(){e.subtitlesTrack_.tech_.off("vttjserror",o),e.handleSegment_()},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",r),void this.subtitlesTrack_.tech_.one("vttjserror",o)}n.requested=!0;try{this.parseVTTCues_(t)}catch(e){return this.error({message:e.message}),this.state="READY",this.pause(),this.trigger("error")}if(this.updateTimeMapping_(t,this.syncController_.timelines[t.timeline],this.playlist_),t.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");t.byteLength=t.bytes.byteLength,this.mediaSecondsLoaded+=n.duration,t.cues.length&&this.remove(t.cues[0].endTime,t.cues[t.cues.length-1].endTime),t.cues.forEach(function(t){e.subtitlesTrack_.addCue(e.featuresNativeTextTracks_?new i.a.VTTCue(t.startTime,t.endTime,t.text):t)}),this.handleUpdateEnd_()}else this.state="READY"}},{key:"parseVTTCues_",value:function(e){var t=void 0,n=!1;"function"==typeof i.a.TextDecoder?t=new i.a.TextDecoder("utf8"):(t=i.a.WebVTT.StringDecoder(),n=!0);var r=new i.a.WebVTT.Parser(i.a,i.a.vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(t){return e.timestampmap=t},r.onparsingerror=function(e){na.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=oc(o)),r.parse(o)}var a=e.bytes;n&&(a=oc(a)),r.parse(a),r.flush()}},{key:"updateTimeMapping_",value:function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var i=e.timestampmap,o=i.MPEGTS/9e4-i.LOCAL+t.mapping;if(e.cues.forEach(function(e){e.startTime+=o,e.endTime+=o}),!n.syncInfo){var a=e.cues[0].startTime,s=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(a,s-r.duration)}}}else r.empty=!0}}]),t}(),cc=function(e,t){for(var n=e.cues,r=0;r<n.length;r++){var i=n[r];if(t>=i.adStartTime&&t<=i.adEndTime)return i}return null},uc=Le.a.inspect,lc=[{name:"VOD",run:function(e,t,n,r,i){if(n!==1/0){return{time:0,segmentIndex:0}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,i){if(!e.datetimeToDisplayTime)return null;var o=t.segments||[],a=null,s=null;i=i||0;for(var c=0;c<o.length;c++){var u=o[c];if(u.dateTimeObject){var l=u.dateTimeObject.getTime()/1e3+e.datetimeToDisplayTime,d=Math.abs(i-l);if(null!==s&&(0===d||s<d))break;s=d,a={time:l,segmentIndex:c}}}return a}},{name:"Segment",run:function(e,t,n,r,i){var o=t.segments||[],a=null,s=null;i=i||0;for(var c=0;c<o.length;c++){var u=o[c];if(u.timeline===r&&void 0!==u.start){var l=Math.abs(i-u.start);if(null!==s&&s<l)break;(!a||null===s||s>=l)&&(s=l,a={time:u.start,segmentIndex:c})}}return a}},{name:"Discontinuity",run:function(e,t,n,r,i){var o=null;if(i=i||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var a=null,s=0;s<t.discontinuityStarts.length;s++){var c=t.discontinuityStarts[s],u=t.discontinuitySequence+s+1,l=e.discontinuities[u];if(l){var d=Math.abs(i-l.time);if(null!==a&&a<d)break;(!o||null===a||a>=d)&&(a=d,o={time:l.time,segmentIndex:c})}}return o}},{name:"Playlist",run:function(e,t,n,r,i){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence}:null}}],dc=function(e){function t(){sa(this,t);var e=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.inspectCache_=void 0,e.timelines=[],e.discontinuities=[],e.datetimeToDisplayTime=null,e.logger_=zs("SyncController"),e}return ua(t,e),ca(t,[{key:"getSyncPoint",value:function(e,t,n,r){var i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null}},{key:"getExpiredTime",value:function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+Sa(e,r.segmentIndex,0))}},{key:"runStrategies_",value:function(e,t,n,r){for(var i=[],o=0;o<lc.length;o++){var a=lc[o],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,i.push({strategy:a.name,syncPoint:s}))}return i}},{key:"selectSyncPoint_",value:function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),i=e[0].strategy,o=1;o<e.length;o++){var 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+"]"),n}},{key:"saveExpiredSegmentInfo",value:function(e,t){for(var n=t.mediaSequence-e.mediaSequence-1;n>=0;n--){var r=e.segments[n];if(r&&void 0!==r.start){t.syncInfo={mediaSequence:e.mediaSequence+n,time:r.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}}},{key:"setDateTimeMapping",value:function(e){if(!this.datetimeToDisplayTime&&e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0].dateTimeObject.getTime()/1e3;this.datetimeToDisplayTime=-t}}},{key:"reset",value:function(){this.inspectCache_=void 0}},{key:"probeSegmentInfo",value:function(e){var t=e.segment,n=e.playlist,r=void 0;return(r=t.map?this.probeMp4Segment_(e):this.probeTsSegment_(e))&&this.calculateSegmentTimeMapping_(e,r)&&(this.saveDiscontinuitySyncInfo_(e),n.syncInfo||(n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:t.start})),r}},{key:"probeMp4Segment_",value:function(e){var t=e.segment,n=Ne.a.timescale(t.map.bytes),r=Ne.a.compositionStartTime(n,e.bytes);return null!==e.timestampOffset&&(e.timestampOffset-=r),{start:r,end:r+t.duration}}},{key:"probeTsSegment_",value:function(e){var t=uc(e.bytes,this.inspectCache_),n=void 0,r=void 0,i=void 0;return t?(t.video&&2===t.video.length?(this.inspectCache_=t.video[1].dts,n=t.video[0].dtsTime,r=t.video[1].dtsTime,i=t.video):t.audio&&2===t.audio.length&&(this.inspectCache_=t.audio[1].dts,n=t.audio[0].dtsTime,r=t.audio[1].dtsTime,i=t.audio),{segmentTimestampInfo:i,start:n,end:r,containsVideo:t.video&&2===t.video.length,containsAudio:t.audio&&2===t.audio.length}):null}},{key:"timestampOffsetForTimeline",value:function(e){return void 0===this.timelines[e]?null:this.timelines[e].time}},{key:"mappingForTimeline",value:function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping}},{key:"calculateSegmentTimeMapping_",value:function(e,t){var n=e.segment,r=this.timelines[e.timeline];if(null!==e.timestampOffset)r={time:e.startOfSegment,mapping:e.startOfSegment-t.start},this.timelines[e.timeline]=r,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+r.time+"] [mapping: "+r.mapping+"]"),n.start=e.startOfSegment,n.end=t.end+r.mapping;else{if(!r)return!1;n.start=t.start+r.mapping,n.end=t.end+r.mapping}return!0}},{key:"saveDiscontinuitySyncInfo_",value:function(e){var 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(var r=0;r<t.discontinuityStarts.length;r++){var 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){var c=void 0;c=a<0?n.start-Sa(t,e.mediaIndex,i):n.end+Sa(t,e.mediaIndex+1,i),this.discontinuities[o]={time:c,accuracy:s}}}}},{key:"dispose",value:function(){this.trigger("dispose"),this.off()}}]),t}(na.EventTarget),fc=new fs("./decrypter-worker.worker.js",function(e,t){var n=this;!function(){var e=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t=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}}(),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},i=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,c=[],u=[],l=void 0,d=void 0,f=void 0,h=void 0,p=void 0;for(o=0;o<256;o++)u[(c[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=u[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,p=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,h=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][f]=p=p<<24^p>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},o=null,a=function(){function t(n){e(this,t),o||(o=i()),this._tables=[[o[0][0].slice(),o[0][1].slice(),o[0][2].slice(),o[0][3].slice(),o[0][4].slice()],[o[1][0].slice(),o[1][1].slice(),o[1][2].slice(),o[1][3].slice(),o[1][4].slice()]];var r=void 0,a=void 0,s=void 0,c=void 0,u=void 0,l=this._tables[0][4],d=this._tables[1],f=n.length,h=1;if(4!==f&&6!==f&&8!==f)throw new Error("Invalid aes key size");for(c=n.slice(0),u=[],this._key=[c,u],r=f;r<4*f+28;r++)s=c[r-1],(r%f==0||8===f&&r%f==4)&&(s=l[s>>>24]<<24^l[s>>16&255]<<16^l[s>>8&255]<<8^l[255&s],r%f==0&&(s=s<<8^s>>>24^h<<24,h=h<<1^283*(h>>7))),c[r]=c[r-f]^s;for(a=0;r;a++,r--)s=c[3&a?r:r-4],u[a]=r<=4||a<4?s:d[0][l[s>>>24]]^d[1][l[s>>16&255]]^d[2][l[s>>8&255]]^d[3][l[255&s]]}return t.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],c=r^a[1],u=n^a[2],l=t^a[3],d=void 0,f=void 0,h=void 0,p=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],x=g[4];for(m=0;m<p;m++)d=y[s>>>24]^b[c>>16&255]^_[u>>8&255]^w[255&l]^a[v],f=y[c>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],h=y[u>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&c]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[c>>8&255]^w[255&u]^a[v+3],v+=4,s=d,c=f,u=h;for(m=0;m<4;m++)i[(3&-m)+o]=x[s>>>24]<<24^x[c>>16&255]<<16^x[u>>8&255]<<8^x[255&l]^a[v++],d=s,s=c,c=u,u=l,l=d},t}(),s=function(){function t(){e(this,t),this.listeners={}}return t.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.prototype.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e].splice(n,1),n>-1},t.prototype.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.prototype.dispose=function(){this.listeners={}},t.prototype.pipe=function(e){this.on("data",function(t){e.push(t)})},t}(),c=function(t){function n(){e(this,n);var i=r(this,t.call(this,s));return i.jobs=[],i.delay=1,i.timeout_=null,i}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),n.prototype.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.prototype.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},n}(s),u=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},l=function(){function n(t,r,i,o){e(this,n);var a=n.STEP,s=new Int32Array(t.buffer),l=new Uint8Array(t.byteLength),d=0;for(this.asyncStream_=new c,this.asyncStream_.push(this.decryptChunk_(s.subarray(d,d+a),r,i,l)),d=a;d<s.length;d+=a)i=new Uint32Array([u(s[d-4]),u(s[d-3]),u(s[d-2]),u(s[d-1])]),this.asyncStream_.push(this.decryptChunk_(s.subarray(d,d+a),r,i,l));this.asyncStream_.push(function(){var e;o(null,(e=l).subarray(0,e.byteLength-e[e.byteLength-1]))})}return n.prototype.decryptChunk_=function(e,t,n,r){return function(){var i=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),i=new a(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),s=new Int32Array(o.buffer),c=void 0,l=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,v=void 0,g=void 0;for(c=n[0],l=n[1],d=n[2],f=n[3],g=0;g<r.length;g+=4)h=u(r[g]),p=u(r[g+1]),m=u(r[g+2]),v=u(r[g+3]),i.decrypt(h,p,m,v,s,g),s[g]=u(s[g]^c),s[g+1]=u(s[g+1]^l),s[g+2]=u(s[g+2]^d),s[g+3]=u(s[g+3]^f),c=h,l=p,d=m,f=v;return o}(e,t,n);r.set(i,e.byteOffset)}},t(n,null,[{key:"STEP",get:function(){return 32e3}}]),n}();new function(e){e.onmessage=function(t){var n=t.data,r=new Uint8Array(n.encrypted.bytes,n.encrypted.byteOffset,n.encrypted.byteLength),i=new Uint32Array(n.key.bytes,n.key.byteOffset,n.key.byteLength/4),o=new Uint32Array(n.iv.bytes,n.iv.byteOffset,n.iv.byteLength/4);new l(r,i,o,function(t,r){var i,o;e.postMessage((i={source:n.source,decrypted:r},o={},Object.keys(i).forEach(function(e){var t=i[e];ArrayBuffer.isView(t)?o[e]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:o[e]=t}),o),[r.buffer])})}}(n)}()}),hc=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},pc=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},mc=function(e,t){t.activePlaylistLoader=e,e.load()},vc={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],i=t.blacklistCurrentPlaylist;pc(n,r);var o=r.activeTrack(),a=r.activeGroup(),s=(a.filter(function(e){return e.default})[0]||a[0]).id,c=r.tracks[s];if(o!==c){for(var u in na.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[u].enabled=r.tracks[u]===c;r.onTrackChanged()}else i({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];na.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),pc(n,r);var i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}}},gc={AUDIO:function(e,t,n){if(t){var r=n.tech,i=n.requestOptions,o=n.segmentLoaders[e];t.on("loadedmetadata",function(){var e=t.media();o.playlist(e,i),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()}),t.on("loadedplaylist",function(){o.playlist(t.media(),i),r.paused()||o.load()}),t.on("error",vc[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,i=n.requestOptions,o=n.segmentLoaders[e],a=n.mediaTypes[e];t.on("loadedmetadata",function(){var e=t.media();o.playlist(e,i),o.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()}),t.on("loadedplaylist",function(){o.playlist(t.media(),i),r.paused()||o.load()}),t.on("error",vc[e](e,n))}},yc={AUDIO:function(e,t){var n=t.hls,r=t.sourceType,i=t.segmentLoaders[e],o=t.requestOptions,a=t.master.mediaGroups,s=t.mediaTypes[e],c=s.groups,u=s.tracks,l=t.masterPlaylistLoader;for(var d in a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}}),a[e])for(var f in c[d]||(c[d]=[]),a[e][d]){var h=a[e][d][f],p=void 0;if(p=h.resolvedUri?new wa(h.resolvedUri,n,o):h.playlists&&"dash"===r?new qs(h.playlists[0],n,o,l):null,h=na.mergeOptions({id:f,playlistLoader:p},h),gc[e](e,h.playlistLoader,t),c[d].push(h),void 0===u[f]){var m=new na.AudioTrack({id:f,kind:hc(h),enabled:!1,language:h.language,default:h.default,label:f});u[f]=m}}i.on("error",vc[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.hls,i=t.sourceType,o=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,c=t.mediaTypes[e],u=c.groups,l=c.tracks,d=t.masterPlaylistLoader;for(var f in s[e])for(var h in u[f]||(u[f]=[]),s[e][f])if(!s[e][f][h].forced){var p=s[e][f][h],m=void 0;if("hls"===i?m=new wa(p.resolvedUri,r,a):"dash"===i&&(m=new qs(p.playlists[0],r,a,d)),p=na.mergeOptions({id:h,playlistLoader:m},p),gc[e](e,p.playlistLoader,t),u[f].push(p),void 0===l[h]){var v=n.addRemoteTextTrack({id:h,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:h},!1).track;l[h]=v}}o.on("error",vc[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,i=t.mediaTypes[e],o=i.groups,a=i.tracks;for(var s in r[e])for(var c in o[s]||(o[s]=[]),r[e][s]){var u=r[e][s][c];if(u.instreamId.match(/CC\d/)&&(o[s].push(na.mergeOptions({id:c},u)),void 0===a[c])){var l=n.addRemoteTextTrack({id:u.instreamId,kind:"captions",default:u.default&&u.autoselect,language:u.language,label:c},!1).track;a[c]=l}}}},bc={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},_c=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){yc[t](t,e)});var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,i=e.hls;["AUDIO","SUBTITLES"].forEach(function(n){t[n].activeGroup=function(e,t){return function(n){var r=t.masterPlaylistLoader,i=t.mediaTypes[e].groups,o=r.media();if(!o)return null;var a=null;return o.attributes[e]&&(a=i[o.attributes[e]]),a=a||i.main,void 0===n?a:null===n?null:a.filter(function(e){return e.id===n.id})[0]||null}}(n,e),t[n].activeTrack=bc[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],i=n.main,o=t.mediaTypes[e],a=o.activeTrack(),s=o.activeGroup(a),c=o.activePlaylistLoader;pc(r,o),s&&(s.playlistLoader?(r.resyncLoader(),mc(s.playlistLoader,o)):c&&i.resetEverything())}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],i=n.main,o=t.mediaTypes[e],a=o.activeTrack(),s=o.activeGroup(a),c=o.activePlaylistLoader;pc(r,o),s&&(s.playlistLoader?c!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),mc(s.playlistLoader,o)):mc(s.playlistLoader,o):i.resetEverything())}}(n,e)});var o=t.AUDIO.activeGroup(),a=(o.filter(function(e){return e.default})[0]||o[0]).id;t.AUDIO.tracks[a].enabled=!0,t.AUDIO.onTrackChanged(),n.on("mediachange",function(){["AUDIO","SUBTITLES"].forEach(function(e){return t[e].onGroupChanged()})});var s=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"hls-audio-change"})};for(var c in r.audioTracks().addEventListener("change",s),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",function(){r.audioTracks().removeEventListener("change",s),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)}),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[c])},wc=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Hs,activeTrack:Hs,onGroupChanged:Hs,onTrackChanged:Hs}}),e},xc=void 0,kc=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],Ec=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},Sc=function(e){function t(e){sa(this,t);var n=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),r=e.url,i=e.handleManifestRedirects,o=e.withCredentials,a=e.tech,s=e.bandwidth,c=e.externHls,u=e.useCueTags,l=e.blacklistDuration,d=e.enableLowInitialPlaylist,f=e.cacheEncryptionKeys,h=e.sourceType;if(!r)throw new Error("A non-empty playlist URL is required");xc=c,n.withCredentials=o,n.tech_=a,n.hls_=a.hls,n.sourceType_=h,n.useCueTags_=u,n.blacklistDuration=l,n.enableLowInitialPlaylist=d,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:o,handleManifestRedirects:i,timeout:null},n.mediaTypes_=wc(),n.mediaSource=new na.MediaSource,n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_.bind(n)),n.seekable_=na.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new dc(e),n.segmentMetadataTrack_=a.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new fc,n.inbandTextTracks_={};var p={hls:n.hls_,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.mediaSource.duration},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:s,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:f};return n.masterPlaylistLoader_="dash"===n.sourceType_?new qs(r,n.hls_,n.requestOptions_):new wa(r,n.hls_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new ic(na.mergeOptions(p,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),e),n.audioSegmentLoader_=new ic(na.mergeOptions(p,{loaderType:"audio"}),e),n.subtitleSegmentLoader_=new sc(na.mergeOptions(p,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),e),n.setupSegmentLoaderListeners_(),kc.forEach(function(e){n[e+"_"]=Ec.bind(n,e)}),n.logger_=zs("MPC"),n.masterPlaylistLoader_.load(),n}return ua(t,e),ca(t,[{key:"setupMasterPlaylistLoaderListeners_",value:function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Da(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),_c({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,hls:e.hls_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t);try{e.setupSourceBuffers_()}catch(t){return na.log.warn("Failed to create SourceBuffers",t),e.mediaSource.endOfStream("decode")}e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",function(){e.trigger("selectedinitialmedia")})}),this.masterPlaylistLoader_.on("loadedplaylist",function(){var t=e.masterPlaylistLoader_.media();if(!t){e.excludeUnsupportedVariants_();var n=void 0;return e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),e.initialMedia_=n,void e.masterPlaylistLoader_.media(e.initialMedia_)}if(e.useCueTags_&&e.updateAdCues_(t),e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.updateDuration(),e.tech_.paused()||(e.mainSegmentLoader_.load(),e.audioSegmentLoader_&&e.audioSegmentLoader_.load()),!t.endList){var r=function(){var t=e.seekable();0!==t.length&&e.mediaSource.addSeekableRange_(t.start(0),t.end(0))};if(e.duration()!==1/0){e.tech_.one("durationchange",function t(){e.duration()===1/0?r():e.tech_.one("durationchange",t)})}else r()}}),this.masterPlaylistLoader_.on("error",function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)}),this.masterPlaylistLoader_.on("mediachanging",function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()}),this.masterPlaylistLoader_.on("mediachange",function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Da(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})}),this.masterPlaylistLoader_.on("playlistunchanged",function(){var t=e.masterPlaylistLoader_.media();e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating."}),e.tech_.trigger("playliststuck"))}),this.masterPlaylistLoader_.on("renditiondisabled",function(){e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})}),this.masterPlaylistLoader_.on("renditionenabled",function(){e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})})}},{key:"triggerPresenceUsage_",value:function(e,t){var n=e.mediaGroups||{},r=!0,i=Object.keys(n.AUDIO);for(var o in n.AUDIO)for(var a in n.AUDIO[o]){n.AUDIO[o][a].uri||(r=!1)}r&&this.tech_.trigger({type:"usage",name:"hls-demuxed"}),Object.keys(n.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"hls-webvtt"}),xc.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"hls-aes"}),xc.Playlist.isFmp4(t)&&this.tech_.trigger({type:"usage",name:"hls-fmp4"}),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&this.tech_.trigger({type:"usage",name:"hls-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"})}},{key:"setupSegmentLoaderListeners_",value:function(){var e=this;this.mainSegmentLoader_.on("bandwidthupdate",function(){var t=e.selectPlaylist(),n=e.masterPlaylistLoader_.media(),r=e.tech_.buffered();(function(e){var t=e.currentPlaylist,n=e.nextPlaylist,r=e.forwardBuffer,i=e.bufferLowWaterLine,o=e.duration;e.log;return n?!t.endList||o<Vs.MAX_BUFFER_LOW_WATER_LINE||n.attributes.BANDWIDTH<t.attributes.BANDWIDTH||r>=i:(na.log.warn("We received no playlist to switch to. Please check your stream."),!1)})({currentPlaylist:n,nextPlaylist:t,forwardBuffer:r.length?r.end(r.length-1)-e.tech_.currentTime():0,bufferLowWaterLine:e.bufferLowWaterLine(),duration:e.duration(),log:e.logger_})&&e.masterPlaylistLoader_.media(t),e.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("progress",function(){e.trigger("progress")}),this.mainSegmentLoader_.on("error",function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())}),this.mainSegmentLoader_.on("syncinfoupdate",function(){e.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",function(){e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",function(){e.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("ended",function(){e.onEndOfStream()}),this.mainSegmentLoader_.on("earlyabort",function(){e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120)}),this.mainSegmentLoader_.on("reseteverything",function(){e.tech_.trigger("hls-reset")}),this.mainSegmentLoader_.on("segmenttimemapping",function(t){e.tech_.trigger({type:"hls-segment-time-mapping",mapping:t.mapping})}),this.audioSegmentLoader_.on("ended",function(){e.onEndOfStream()})}},{key:"mediaSecondsLoaded_",value:function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}},{key:"load",value:function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}},{key:"smoothQualityChange_",value:function(){var e=this.selectPlaylist();e!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(e),this.mainSegmentLoader_.resetLoader())}},{key:"fastQualityChange_",value:function(){var e=this,t=this.selectPlaylist();t!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(t),this.mainSegmentLoader_.resetEverything(function(){na.browser.IE_VERSION||na.browser.IS_EDGE?e.tech_.setCurrentTime(e.tech_.currentTime()+.04):e.tech_.setCurrentTime(e.tech_.currentTime())}))}},{key:"play",value:function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var 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}}},{key:"setupFirstPlay",value:function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(na.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0}),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0}},{key:"handleSourceOpen_",value:function(){try{this.setupSourceBuffers_()}catch(e){return na.log.warn("Failed to create Source Buffers",e),this.mediaSource.endOfStream("decode")}if(this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,function(e){})}this.trigger("sourceopen")}},{key:"onEndOfStream",value:function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(e=!this.mainSegmentLoader_.startingMedia_||this.mainSegmentLoader_.startingMedia_.containsVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_),e){this.logger_("calling mediaSource.endOfStream()");try{this.mediaSource.endOfStream()}catch(e){na.log.warn("Failed to call media source endOfStream",e)}}}},{key:"stuckAtPlaylistEnd_",value:function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.mediaSource.duration);if(null===t)return!1;var n=xc.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=.1;var o=i.end(i.length-1);return o-r<=.1&&n-o<=.1}},{key:"blacklistCurrentPlaylist",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=void 0;if(r=t.playlist||this.masterPlaylistLoader_.media(),n=n||t.blacklistDuration||this.blacklistDuration,!r){this.error=t;try{return this.mediaSource.endOfStream("network")}catch(e){return this.trigger("error")}}var i=1===this.masterPlaylistLoader_.master.playlists.filter(Ia).length,o=this.masterPlaylistLoader_.master.playlists;return 1===o.length?(na.log.warn("Problem encountered with the current HLS playlist. Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(i)):(i&&(na.log.warn("Removing all playlists from the blacklist because the last rendition is about to be blacklisted."),o.forEach(function(e){e.excludeUntil!==1/0&&delete e.excludeUntil}),this.tech_.trigger("retryplaylist")),r.excludeUntil=Date.now()+1e3*n,this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"}),e=this.selectPlaylist(),na.log.warn("Problem encountered with the current HLS playlist."+(t.message?" "+t.message:"")+" Switching to another playlist."),this.masterPlaylistLoader_.media(e,i))}},{key:"pauseLoading",value:function(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}},{key:"setCurrentTime",value:function(e){var t=Ja(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.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}},{key:"duration",value:function(){return this.masterPlaylistLoader_?this.mediaSource?this.mediaSource.duration:xc.Playlist.duration(this.masterPlaylistLoader_.media()):0}},{key:"seekable",value:function(){return this.seekable_}},{key:"onSyncInfoUpdate_",value:function(){var e=void 0;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.mediaSource.duration);if(null!==n){var r=this.masterPlaylistLoader_.master.suggestedPresentationDelay,i=xc.Playlist.seekable(t,n,r);if(0!==i.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.mediaSource.duration)))return;if(0===(e=xc.Playlist.seekable(t,n,r)).length)return}var o=void 0,a=void 0;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_=na.createTimeRanges([[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 ["+ts(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}}},{key:"updateDuration",value:function(){var e=this,t=this.mediaSource.duration,n=xc.Playlist.duration(this.masterPlaylistLoader_.media()),r=this.tech_.buffered(),i=function t(){e.logger_("Setting duration from "+e.mediaSource.duration+" => "+n);try{e.mediaSource.duration=n}catch(e){na.log.warn("Failed to set media source duration",e)}e.tech_.trigger("durationchange"),e.mediaSource.removeEventListener("sourceopen",t)};r.length>0&&(n=Math.max(n,r.end(r.length-1))),t!==n&&("open"!==this.mediaSource.readyState?this.mediaSource.addEventListener("sourceopen",i):i())}},{key:"dispose",value:function(){var e=this;this.trigger("dispose"),this.decrypter_&&this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),["AUDIO","SUBTITLES"].forEach(function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach(function(e){e.playlistLoader&&e.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.off(),this.mediaSource.dispose&&this.mediaSource.dispose()}},{key:"master",value:function(){return this.masterPlaylistLoader_.master}},{key:"media",value:function(){return this.masterPlaylistLoader_.media()||this.initialMedia_}},{key:"setupSourceBuffers_",value:function(){var e,t=this.masterPlaylistLoader_.media();if(t&&"open"===this.mediaSource.readyState){if((e=xs(this.masterPlaylistLoader_.master,t)).length<1)return this.error="No compatible SourceBuffer configuration for the variant stream:"+t.resolvedUri,this.mediaSource.endOfStream("decode");this.configureLoaderMimeTypes_(e),this.excludeIncompatibleVariants_(t)}}},{key:"configureLoaderMimeTypes_",value:function(e){var t=e.length>1&&-1===e[0].indexOf(",")&&e[0]!==e[1]?new na.EventTarget:null;this.mainSegmentLoader_.mimeType(e[0],t),e[1]&&this.audioSegmentLoader_.mimeType(e[1],t)}},{key:"excludeUnsupportedVariants_",value:function(){this.master().playlists.forEach(function(e){var t;e.attributes.CODECS&&i.a.MediaSource&&i.a.MediaSource.isTypeSupported&&!i.a.MediaSource.isTypeSupported('video/mp4; codecs="'+(t=e.attributes.CODECS,t.replace(/avc1\.(\d+)\.(\d+)/i,function(e){return bs([e])[0]}))+'"')&&(e.excludeUntil=1/0)})}},{key:"excludeIncompatibleVariants_",value:function(e){var t=2,n=null,r=void 0;e.attributes.CODECS&&(r=_s(e.attributes.CODECS),n=r.videoCodec,t=r.codecCount),this.master().playlists.forEach(function(e){var r={codecCount:2,videoCodec:null};e.attributes.CODECS&&(r=_s(e.attributes.CODECS)),r.codecCount!==t&&(e.excludeUntil=1/0),r.videoCodec!==n&&(e.excludeUntil=1/0)})}},{key:"updateAdCues_",value:function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e.segments)for(var r=n,o=void 0,a=0;a<e.segments.length;a++){var s=e.segments[a];if(o||(o=cc(t,r+s.duration/2)),o){if("cueIn"in s){o.endTime=r,o.adEndTime=r,r+=s.duration,o=null;continue}if(r<o.endTime){r+=s.duration;continue}o.endTime+=s.duration}else if("cueOut"in s&&((o=new i.a.VTTCue(r,r+s.duration,s.cueOut)).adStartTime=r,o.adEndTime=r+parseFloat(s.cueOut),t.addCue(o)),"cueOutCont"in s){var c,u,l=s.cueOutCont.split("/").map(parseFloat),d=da(l,2);c=d[0],u=d[1],(o=new i.a.VTTCue(r,r+s.duration,"")).adStartTime=r-c,o.adEndTime=o.adStartTime+u,t.addCue(o)}r+=s.duration}}(e,this.cueTagsTrack_,t)}},{key:"goalBufferLength",value:function(){var e=this.tech_.currentTime(),t=Vs.GOAL_BUFFER_LENGTH,n=Vs.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,Vs.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)}},{key:"bufferLowWaterLine",value:function(){var e=this.tech_.currentTime(),t=Vs.BUFFER_LOW_WATER_LINE,n=Vs.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,Vs.MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,r)}}]),t}(na.EventTarget),Tc=function e(t,n,r){sa(this,e);var i,o,a,s=t.masterPlaylistController_,c=s[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(s);if(n.attributes.RESOLUTION){var u=n.attributes.RESOLUTION;this.width=u.width,this.height=u.height}this.bandwidth=n.attributes.BANDWIDTH,this.id=r,this.enabled=(i=t.playlists,o=n.id,a=c,function(e){var t=i.master.playlists[o],n=Pa(t),r=Ia(t);return void 0===e?r:(e?delete t.disabled:t.disabled=!0,e===r||n||(a(),e?i.trigger("renditionenabled"):i.trigger("renditiondisabled")),e)})},Cc=["seeking","seeked","pause","playing","error"],Oc=function(){function e(t){var n=this;sa(this,e),this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.media=t.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=zs("PlaybackWatcher"),this.logger_("initialize");var r=function(){return n.monitorCurrentTime_()},o=function(){return n.techWaiting_()},a=function(){return n.cancelTimer_()},s=function(){return n.fixesBadSeeks_()};this.tech_.on("seekablechanged",s),this.tech_.on("waiting",o),this.tech_.on(Cc,a),this.tech_.on("canplay",r),this.dispose=function(){n.logger_("dispose"),n.tech_.off("seekablechanged",s),n.tech_.off("waiting",o),n.tech_.off(Cc,a),n.tech_.off("canplay",r),n.checkCurrentTimeTimeout_&&i.a.clearTimeout(n.checkCurrentTimeTimeout_),n.cancelTimer_()}}return ca(e,[{key:"monitorCurrentTime_",value:function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i.a.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i.a.setTimeout(this.monitorCurrentTime_.bind(this),250)}},{key:"checkCurrentTime_",value:function(){if(this.tech_.seeking()&&this.fixesBadSeeks_())return this.consecutiveUpdates=0,void(this.lastRecordedTime=this.tech_.currentTime());if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+.1>=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)}}},{key:"cancelTimer_",value:function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null}},{key:"fixesBadSeeks_",value:function(){if(!this.tech_.seeking())return!1;var e=this.seekable(),t=this.tech_.currentTime(),n=void 0;this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(n=e.end(e.length-1));this.beforeSeekableWindow_(e,t)&&(n=e.start(0)+.1);return void 0!==n&&(this.logger_("Trying to seek outside of seekable at time "+t+" with seekable range "+ts(e)+". Seeking to "+n+"."),this.tech_.setCurrentTime(n),!0)}},{key:"waiting_",value:function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Ja(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),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:"hls-unknown-waiting"})):void 0}}},{key:"techWaiting_",value:function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var 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.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.buffered(),i=es(r,t);if(this.videoUnderflow_(i,r,t))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;if(i.length>0){var o=i.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+o+", seeking to "+i.start(0)),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*o,t),!0}return!1}},{key:"afterSeekableWindow_",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e.length)return!1;var i=e.end(e.length-1)+.1;return!n.endList&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i}},{key:"beforeSeekableWindow_",value:function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-.1)}},{key:"videoUnderflow_",value:function(e,t,n){if(0===e.length){var r=this.gapFromVideoUnderflow_(t,n);if(r)return this.logger_("Encountered a gap in video from "+r.start+" to "+r.end+". Seeking to current time "+n),!0}return!1}},{key:"skipTheGap_",value:function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=es(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+1/30),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))}},{key:"gapFromVideoUnderflow_",value:function(e,t){for(var n=function(e){if(e.length<2)return na.createTimeRanges();for(var t=[],n=1;n<e.length;n++){var r=e.end(n-1),i=e.start(n);t.push([r,i])}return na.createTimeRanges(t)}(e),r=0;r<n.length;r++){var i=n.start(r),o=n.end(r);if(t-i<4&&t-i>2)return{start:i,end:o}}return null}}]),e}(),Ac={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_)}},jc=function(e){!function e(t,n){var r=0,i=0,o=na.mergeOptions(Ac,n);t.ready(function(){t.trigger({type:"usage",name:"hls-error-reload-initialized"})});var a=function(){i&&t.currentTime(i)},s=function(e){null!=e&&(i=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",a),t.src(e),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},c=function(){if(Date.now()-r<1e3*o.errorInterval)t.trigger({type:"usage",name:"hls-error-reload-canceled"});else{if(o.getSource&&"function"==typeof o.getSource)return r=Date.now(),o.getSource.call(t,s);na.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},u=function e(){t.off("loadedmetadata",a),t.off("error",c),t.off("dispose",e)};t.on("error",c),t.on("dispose",u),t.reloadSourceOnError=function(n){u(),e(t,n)}}(this,e)},Nc={PlaylistLoader:wa,Playlist:Ra,Decrypter:Ye,AsyncStream:He,decrypt:Ve,utils:$a,STANDARD_PLAYLIST_SELECTOR:function(){var e=this.useDevicePixelRatio&&i.a.devicePixelRatio||1;return function(e,t,n,r,o){var a=e.playlists.map(function(e){var t,n;return t=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height,{bandwidth:e.attributes.BANDWIDTH||i.a.Number.MAX_VALUE,width:t,height:n,playlist:e}});tc(a,function(e,t){return e.bandwidth-t.bandwidth});var s=(a=a.filter(function(e){return!Ra.isIncompatible(e.playlist)})).filter(function(e){return Ra.isEnabled(e.playlist)});s.length||(s=a.filter(function(e){return!Ra.isDisabled(e.playlist)}));var c=s.filter(function(e){return e.bandwidth*Vs.BANDWIDTH_VARIANCE<t}),u=c[c.length-1],l=c.filter(function(e){return e.bandwidth===u.bandwidth})[0];if(!1===o){var d=l||s[0]||a[0];return d?d.playlist:null}var f=c.filter(function(e){return e.width&&e.height});tc(f,function(e,t){return e.width-t.width});var h=f.filter(function(e){return e.width===n&&e.height===r});u=h[h.length-1];var p=h.filter(function(e){return e.bandwidth===u.bandwidth})[0],m=void 0,v=void 0,g=void 0;p||(v=(m=f.filter(function(e){return e.width>n||e.height>r})).filter(function(e){return e.width===m[0].width&&e.height===m[0].height}),u=v[v.length-1],g=v.filter(function(e){return e.bandwidth===u.bandwidth})[0]);var y=g||p||l||s[0]||a[0];return y?y.playlist:null}(this.playlists.master,this.systemBandwidth,parseInt(ec(this.tech_.el(),"width"),10)*e,parseInt(ec(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var e=this.playlists.master.playlists.filter(Ra.isEnabled);return tc(e,function(e,t){return nc(e,t)}),e.filter(function(e){return _s(e.attributes.CODECS).videoCodec})[0]||null},comparePlaylistBandwidth:nc,comparePlaylistResolution:function(e,t){var n=void 0,r=void 0;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||i.a.Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||i.a.Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Ua()};["GOAL_BUFFER_LENGTH","MAX_GOAL_BUFFER_LENGTH","GOAL_BUFFER_LENGTH_RATE","BUFFER_LOW_WATER_LINE","MAX_BUFFER_LOW_WATER_LINE","BUFFER_LOW_WATER_LINE_RATE","BANDWIDTH_VARIANCE"].forEach(function(e){Object.defineProperty(Nc,e,{get:function(){return na.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),Vs[e]},set:function(t){na.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?na.log.warn("value of Hls."+e+" must be greater than or equal to 0"):Vs[e]=t}})});var Mc=function(e){if(/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(e))return"hls";return/^application\/dash\+xml/i.test(e)?"dash":null},Pc=function(e,t){for(var n=t.media(),r=-1,i=0;i<e.length;i++)if(e[i].id===n.id){r=i;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};Nc.canPlaySource=function(){return na.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Ic=function(e){var t=e.masterPlaylistController_.mainSegmentLoader_,n=e.masterPlaylistController_.audioSegmentLoader_,r=na.players[e.tech_.options_.playerId];if(r.eme){var i=function(e,t,n){if(!e)return e;var r=void 0,i=void 0;if(n.mimeType_)r=t.mimeType_,i=n.mimeType_;else{var o=ks(t.mimeType_),a=o.parameters.codecs.split(","),s=void 0,c=void 0;a.forEach(function(e){e=e.trim(),Es(e)?s=e:Ss(e)&&(c=e)}),r=o.type+'; codecs="'+c+'"',i=o.type.replace("video","audio")+'; codecs="'+s+'"'}var u={},l=t.playlist_;for(var d in e)u[d]={audioContentType:i,videoContentType:r},l.contentProtection&&l.contentProtection[d]&&l.contentProtection[d].pssh&&(u[d].pssh=l.contentProtection[d].pssh),"string"==typeof e[d]&&(u[d].url=e[d]);return na.mergeOptions(e,u)}(e.source_.keySystems,t,n);i&&(r.currentSource().keySystems=i,11!==na.browser.IE_VERSION&&r.eme.initializeMediaKeys&&r.eme.initializeMediaKeys())}},Lc=function(){if(!window.localStorage)return null;var e=window.localStorage.getItem("videojs-vhs");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Nc.supportsNativeHls=function(){var e=a.a.createElement("video");if(!na.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))})}(),Nc.supportsNativeDash=!!na.getTech("Html5").isSupported()&&/maybe|probably/i.test(a.a.createElement("video").canPlayType("application/dash+xml")),Nc.supportsTypeNatively=function(e){return"hls"===e?Nc.supportsNativeHls:"dash"===e&&Nc.supportsNativeDash},Nc.isSupported=function(){return na.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Dc=na.getComponent("Component"),Rc=function(e){function t(e,n,r){sa(this,t);var i=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r.hls));if(n.options_&&n.options_.playerId){var o=na(n.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return na.log.warn("player.hls is deprecated. Use player.tech().hls instead."),n.trigger({type:"usage",name:"hls-player-access"}),i},configurable:!0}),o.vhs=i,o.dash=i,i.player_=o}if(i.tech_=n,i.source_=e,i.stats={},i.ignoreNextSeekingEvent_=!1,i.setOptions_(),i.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(i.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return i.on(a.a,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(e){var t=a.a.fullscreenElement||a.a.webkitFullscreenElement||a.a.mozFullScreenElement||a.a.msFullscreenElement;t&&t.contains(i.tech_.el())&&i.masterPlaylistController_.smoothQualityChange_()}),i.on(i.tech_,"seeking",function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())}),i.on(i.tech_,"error",function(){this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()}),i.on(i.tech_,"play",i.play),i}return ua(t,Dc),ca(t,[{key:"setOptions_",value:function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=this.options_.handleManifestRedirects||!1,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=Lc();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Vs.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Vs.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys"].forEach(function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio}},{key:"src",value:function(e,t){var n=this;e&&(this.setOptions_(),this.options_.url=this.source_.src,this.options_.tech=this.tech_,this.options_.externHls=Nc,this.options_.sourceType=Mc(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.masterPlaylistController_=new Sc(this.options_),this.playbackWatcher_=new Oc(na.mergeOptions(this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()}})),this.masterPlaylistController_.on("error",function(){na.players[n.tech_.options_.playerId].error(n.masterPlaylistController_.error)}),this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):Nc.STANDARD_PLAYLIST_SELECTOR.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Nc.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.bandwidth},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e=1/(this.bandwidth||1),t=void 0;return t=this.throughput>0?1/this.throughput:0,Math.floor(1/(e+t))},set:function(){na.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:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},buffered:{get:function(){return ns(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return ns(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!window.localStorage)return!1;var t=Lc();t=t?na.mergeOptions(t,e):e;try{window.localStorage.setItem("videojs-vhs",JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})}),this.masterPlaylistController_.on("selectedinitialmedia",function(){var e,t;t=(e=n).playlists,e.representations=function(){return t&&t.master&&t.master.playlists?t.master.playlists.filter(function(e){return!Pa(e)}).map(function(t,n){return new Tc(e,t,t.id)}):[]},Ic(n)}),this.on(this.masterPlaylistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.masterPlaylistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&this.tech_.src(na.URL.createObjectURL(this.masterPlaylistController_.mediaSource)))}},{key:"setupQualityLevels_",value:function(){var e=this,t=na.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach(function(e){t.addQualityLevel(e)}),Pc(t,n.playlists)}),this.playlists.on("mediachange",function(){Pc(e.qualityLevels_,e.playlists)}))}},{key:"play",value:function(){this.masterPlaylistController_.play()}},{key:"setCurrentTime",value:function(e){this.masterPlaylistController_.setCurrentTime(e)}},{key:"duration",value:function(){return this.masterPlaylistController_.duration()}},{key:"seekable",value:function(){return this.masterPlaylistController_.seekable()}},{key:"dispose",value:function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.hls&&delete this.tech_.hls,function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"dispose",this).call(this)}},{key:"convertToProgramTime",value:function(e,t){return Xa({playlist:this.masterPlaylistController_.media(),time:e,callback:t})}},{key:"seekToProgramTime",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return Qa({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}]),t}(),Fc={name:"videojs-http-streaming",VERSION:"1.13.2",canHandleSource:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=na.mergeOptions(na.options,t);return Fc.canPlayType(e.type,n)},handleSource:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=na.mergeOptions(na.options,n);return t.hls=new Rc(e,t,r),t.hls.xhr=Ua(),t.hls.src(e.src,e.type),t.hls},canPlayType:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=na.mergeOptions(na.options,t).hls.overrideNative,r=Mc(e);return r&&(!Nc.supportsTypeNatively(r)||n)?"maybe":""}};void 0!==na.MediaSource&&void 0!==na.URL||(na.MediaSource=Ps,na.URL=Is),Ps.supportsNativeMediaSources()&&na.getTech("Html5").registerSourceHandler(Fc,0),na.HlsHandler=Rc,na.HlsSourceHandler=Fc,na.Hls=Nc,na.use||na.registerComponent("Hls",Nc),na.options.hls=na.options.hls||{},na.registerPlugin?na.registerPlugin("reloadSourceOnError",jc):na.plugin("reloadSourceOnError",jc);t.default=na},function(e,t,n){"use strict";(function(e,r){var i,o=n(1185);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(100),n(1541)(e))},function(e,t,n){e.exports=n(1760)},function(e,t,n){var r,i,o;
/** @license
 * eventsource.js
 * Available under MIT License (MIT)
 * https://github.com/Yaffle/EventSource/
 */
/** @license
 * eventsource.js
 * Available under MIT License (MIT)
 * https://github.com/Yaffle/EventSource/
 */
!function(n){"use strict";var a=n.setTimeout,s=n.clearTimeout,c=n.XMLHttpRequest,u=n.XDomainRequest,l=n.ActiveXObject,d=n.EventSource,f=n.document,h=n.Promise,p=n.fetch,m=n.Response,v=n.TextDecoder,g=n.TextEncoder,y=n.AbortController;if("undefined"==typeof window||"readyState"in f||null!=f.body||(f.readyState="loading",window.addEventListener("load",function(e){f.readyState="complete"},!1)),null==c&&(c=function(){return new l("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),null==y){var b=p;p=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}}}})},y=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="",i=this.bitsNeeded,o=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==i&&(s<128||s>191||!t(o<<6|63&s,i-6,n(i,o)))&&(i=0,o=65533,r+=String.fromCharCode(o)),0===i?(s>=0&&s<=127?(i=0,o=s):s>=192&&s<=223?(i=6,o=31&s):s>=224&&s<=239?(i=12,o=15&s):s>=240&&s<=247?(i=18,o=7&s):(i=0,o=65533),0===i||t(o,i,n(i,o))||(i=0,o=65533)):(i-=6,o=o<<6|63&s),0===i&&(o<=65535?r+=String.fromCharCode(o):(r+=String.fromCharCode(55296+(o-65535-1>>10)),r+=String.fromCharCode(56320+(o-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=o,r};null!=v&&null!=g&&function(){try{return"test"===(new v).decode((new g).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(v=_);var w=function(){};function x(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 k(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function E(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[k(o)]=a}this._map=t}function S(){}function T(e){this._headers=e}function C(){}function O(){this._listeners=Object.create(null)}function A(e){a(function(){throw e},0)}function j(e){this.type=e,this.target=void 0}function N(e,t){j.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function M(e,t){j.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function P(e,t){j.call(this,e),this.error=t.error}x.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 u=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(u(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(e){}n.readyState=3,n.responseText=e,n.onprogress()}},d=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()}},f=function(){o=a(function(){f()},500),3===r.readyState&&l()};"onload"in r&&(r.onload=function(e){d("load",e)}),"onerror"in r&&(r.onerror=function(e){d("error",e)}),"onabort"in r&&(r.onabort=function(e){d("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||d(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||l():2===r.readyState&&u())}(e)}),!("contentType"in r)&&"ontimeout"in c.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a(function(){f()},0))},x.prototype.abort=function(){this._abort(!1)},x.prototype.getResponseHeader=function(e){return this._contentType},x.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},x.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},x.prototype.send=function(){if("ontimeout"in c.prototype&&("sendAsBinary"in c.prototype||"mozAnon"in c.prototype)||null==f||null==f.readyState||"complete"===f.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)}},E.prototype.get=function(e){return this._map[k(e)]},null!=c&&null==c.HEADERS_RECEIVED&&(c.HEADERS_RECEIVED=2),S.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var u 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===c.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new E(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,u)&&e.setRequestHeader(u,a[u]);return e.send(),e},T.prototype.get=function(e){return this._headers.get(e)},C.prototype.open=function(e,t,n,r,i,o,a){var s=null,c=new y,u=c.signal,l=new v;return p(i,{headers:a,credentials:o?"include":"same-origin",signal:u,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new T(e.headers)),new h(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(),c.abort()}}},O.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){A(e)}}},O.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)},O.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}},N.prototype=Object.create(j.prototype),M.prototype=Object.create(j.prototype),P.prototype=Object.create(j.prototype);var I=-1,L=0,D=1,R=2,F=-1,B=0,U=1,q=2,z=3,H=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,W=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),V(n)},V=function(e){return Math.min(Math.max(e,1e3),18e6)},Y=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){A(e)}};function G(e,t){O.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=V(1e3),o=W(n.heartbeatTimeout,45e3),l="",d=i,f=!1,h=0,p=n.headers||{},m=n.Transport,v=K&&null==m?void 0:new x(null!=m?new m:null!=c&&"withCredentials"in c.prototype||null==u?new c:new u),g=null!=m&&"string"!=typeof m?new m:null==v?new C:new S,y=void 0,b=0,_=I,w="",k="",E="",T="",O=B,A=0,j=0,G=function(t,n,r,o){if(_===L)if(200===t&&null!=r&&H.test(r)){_=D,f=!0,d=i,e.readyState=D;var a=new M("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),Y(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();var a=new M("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),Y(e,e.onerror,a),console.error(s)}},$=function(t){if(_===D){for(var n=-1,r=0;r<t.length;r+=1){var c=t.charCodeAt(r);c!=="\n".charCodeAt(0)&&c!=="\r".charCodeAt(0)||(n=r)}var u=(-1!==n?T:"")+t.slice(0,n+1);T=(-1===n?T:"")+t.slice(n+1),""!==t&&(f=!0,h+=t.length);for(var p=0;p<u.length;p+=1){var c=u.charCodeAt(p);if(O===F&&c==="\n".charCodeAt(0))O=B;else if(O===F&&(O=B),c==="\r".charCodeAt(0)||c==="\n".charCodeAt(0)){if(O!==B){O===U&&(j=p+1);var m=u.slice(A,j-1),v=u.slice(j+(j<p&&u.charCodeAt(j)===" ".charCodeAt(0)?1:0),p);"data"===m?(w+="\n",w+=v):"id"===m?k=v:"event"===m?E=v:"retry"===m?(i=W(v,i),d=i):"heartbeatTimeout"===m&&(o=W(v,o),0!==b&&(s(b),b=a(function(){Z()},o)))}if(O===B){if(""!==w){l=k,""===E&&(E="message");var g=new N(E,{data:w.slice(1),lastEventId:k});if(e.dispatchEvent(g),"open"===E?Y(e,e.onopen,g):"message"===E?Y(e,e.onmessage,g):"error"===E&&Y(e,e.onerror,g),_===R)return}w="",E=""}O=c==="\r".charCodeAt(0)?F:B}else O===B&&(A=p,O=U),O===U?c===":".charCodeAt(0)&&(j=p+1,O=q):O===q&&(O=z)}}},X=function(t){if(_===D||_===L){_=I,0!==b&&(s(b),b=0),b=a(function(){Z()},d),d=V(Math.min(16*i,2*d)),e.readyState=L;var n=new P("error",{error:t});e.dispatchEvent(n),Y(e,e.onerror,n)}},Q=function(){_=R,null!=y&&(y.abort(),y=void 0),0!==b&&(s(b),b=0),e.readyState=R},Z=function(){if(b=0,_===I){f=!1,h=0,b=a(function(){Z()},o),_=L,w="",E="",k=l,T="",A=0,j=0,O=B;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 c in s)Object.prototype.hasOwnProperty.call(s,c)&&(i[c]=s[c]);try{y=g.open(v,G,$,X,n,r,i)}catch(e){throw Q(),e}}else f||null==y?(f=!1,b=a(function(){Z()},o)):(X(new Error("No activity within "+o+" milliseconds. "+(_===L?"No response received.":h+" chars received.")+" Reconnecting.")),null!=y&&(y.abort(),y=void 0))};e.url=t,e.readyState=L,e.withCredentials=r,e.headers=p,e._close=Q,Z()}(this,e,t)}var K=null!=p&&null!=m&&"body"in m.prototype;G.prototype=Object.create(O.prototype),G.prototype.CONNECTING=L,G.prototype.OPEN=D,G.prototype.CLOSED=R,G.prototype.close=function(){this._close()},G.CONNECTING=L,G.OPEN=D,G.CLOSED=R,G.prototype.withCredentials=void 0;var $=d;null==c||null!=d&&"withCredentials"in d.prototype||($=G),function(n){if("object"==typeof e.exports){var a=n(t);void 0!==a&&(e.exports=a)}else i=[t],void 0===(o="function"==typeof(r=n)?r.apply(t,i):r)||(e.exports=o)}(function(e){e.EventSourcePolyfill=G,e.NativeEventSource=d,e.EventSource=$})}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){var r=n(1973),i=n(1995),o=n(486);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)})}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(165),a=n(1),s=n.n(a),c=1073741823,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};var l=i.a.createContext||function(e,t){var n,i,a,l="__create-react-context-"+(u[a="__global_unique_id__"]=(u[a]||0)+1)+"__",d=function(e){function n(){var t,n,r;return(t=e.apply(this,arguments)||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}}),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},r.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):c,0!=(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[l]=s.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},r.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},r.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},r.getValue=function(){return this.context[l]?this.context[l].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((i={})[l]=s.a.object,i),{Provider:d,Consumer:f}};t.a=l}).call(this,n(100))},function(e,t,n){var r=n(2010);e.exports=h,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;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 d=n[0],f=n[1],h=n.index;if(s+=e.slice(a,h),a=h+d.length,f)s+=f[1];else{var p=e[a],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=m&&null!=p&&p!==m,x="+"===b||"*"===b,k="?"===b||"*"===b,E=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:E,optional:k,repeat:x,partial:w,asterisk:!!_,pattern:S?u(S):_?".*":"[^"+c(E)+"]+?"})}}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+")$",d(t)));return function(t,i){for(var o="",s=t||{},c=(i||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var d,f=s[l.name];if(null==f){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(d=c(f[h]),!n[u].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===h?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):c(f),!n[u].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');o+=l.prefix+d}}else o+=l}return o}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(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 u=e[s];if("string"==typeof u)a+=c(u);else{var f=c(u.prefix),h="(?:"+u.pattern+")";t.push(u),u.repeat&&(h+="(?:"+f+h+")*"),a+=h=u.optional?u.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var p=c(n.delimiter||"/"),m=a.slice(-p.length)===p;return i||(a=(m?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&m?"":"(?="+p+"|$)",l(new RegExp("^"+a,d(n)),t)}function h(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(h(e[i],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return pe}),n.d(t,"a",function(){return _e});var r=n(53),i=n.n(r),o=n(1208),a=n.n(o),s=n(97),c=n.n(s),u=n(5),l=n(3),d=n.n(l),f=n(62),h=n(18),p=n.n(h),m=n(4),v=n.n(m),g=n(135),y=n.n(g),b=n(15),_=n(152),w=n.n(_),x=n(9),k=n(6),E=n(10),S=n(8),T=n(11),C=(n(2141),n(1)),O=n.n(C),A=n(261),j=n.n(A),N=n(45),M=n.n(N),P=n(303),I=n.n(P),L=n(116),D=n.n(L),R=n(262),F=n.n(R),B=n(763),U=n.n(B),q=n(40),z=n.n(q),H=n(79),W=n.n(H),V=n(47),Y=n.n(V),G=n(24),K=n.n(G),$=n(209),X=n(43),Q=n(2),Z=n.n(Q),J=n(111),ee=n(619),te=n(66),ne=n(1225),re=n.n(ne),ie=n(128),oe=n.n(ie),ae=n(93),se=n(55),ce=n(38),ue=n(25),le=n(17),de=n(107),fe=n(104),he=n(59).b.blocks,pe=function(t){function n(){return Object(x.a)(this,n),Object(E.a)(this,Object(S.a)(n).apply(this,arguments))}return Object(T.a)(n,t),Object(k.a)(n,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.blockId,i=t.editable,o=t.isLearner,a=t.items,s=t.lessonId,c=t.onStep,u=t.settings,l=t.enableVideoPlaybackSpeed,d=u.paddingTop,f=u.paddingBottom,h=u.backgroundColor,p=u.entranceAnimation,m=u.accordionBehavior,v=void 0===m?"keepOpen":m,g=Z()("blocks-accordion",{"blocks-accordion--no-animation":!p}),y={backgroundColor:Object(te.a)("",h),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")};return e.createElement("div",{className:g,"data-ba":he.blockAccordion,style:y},e.createElement(se.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,duration:.75},e.createElement("div",{className:"blocks-accordion__container"},e.createElement("div",{className:"blocks-accordion__row"},e.createElement("div",{className:"blocks-accordion__col"},e.createElement(ge,{keepOpen:"keepOpen"===v,lessonId:s,blockId:r,items:a,editable:i,settings:u,onStep:c,enableVideoPlaybackSpeed:l}))))))}}],[{key:"propTypes",get:function(){return{lessonId:O.a.any,blockId:O.a.any,items:O.a.array,settings:O.a.object.isRequired,editable:O.a.bool,onStep:O.a.func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(e.Component),me={isOpen:!1,isActive:!1},ve=function(e,t){return y()(t).call(t,function(e){return function(t,n){var r=n.id;return w()({},t,Object(b.a)({},r,e[r]||me))}}(e),{})},ge=function(t){function n(){var e,t,r;Object(x.a)(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=(r=Object(E.a)(this,(e=Object(S.a)(n)).call.apply(e,v()(t=[this]).call(t,o)))).props.items;return r.state={itemStatusMap:ve({},s)},r}return Object(T.a)(n,t),Object(k.a)(n,null,[{key:"propTypes",get:function(){return{lessonId:O.a.any,blockId:O.a.any,items:O.a.array,settings:O.a.object.isRequired,editable:O.a.bool,keepOpen:O.a.bool,onStep:O.a.func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",keepOpen:!1,onStep:Function.prototype}}}]),Object(k.a)(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.items,n=M()(t)!==M()(this.props.items);!e.keepOpen&&this.props.keepOpen?this.updateMapForOneAtATimePreference(t):n&&this.rebuildItemStatusMap(t)}},{key:"updateMapForOneAtATimePreference",value:function(){var e=this.state.itemStatusMap,t=this.props.items,n=U()(function(t){return e[t.id].isOpen},t);if(n){var r,i=(r=n.id,function(e,t){return{isOpen:t==r,isActive:e.isActive}});this.setState({itemStatusMap:D()(i,e)})}}},{key:"rebuildItemStatusMap",value:function(e){var t=this.state.itemStatusMap;this.setState({itemStatusMap:ve(t,e)})}},{key:"handleItemClick",value:function(e){var t=this.props,n=t.items,r=t.keepOpen,i=t.onStep,o=this.state.itemStatusMap,a=function(e,t){return function(n,r){var i=e==r,o=i?!n.isOpen:n.isOpen,a=i&&!n.isOpen;return{isOpen:t?o:a,isActive:i}}}(n[e].id,r);this.setState({itemStatusMap:D()(a,o)}),open&&i(n[e])}},{key:"render",value:function(){var t=this,n=this.props,r=n.items,i=n.settings,o=n.editable,a=n.labels,s=n.lessonId,c=n.blockId,u=n.enableVideoPlaybackSpeed,l=this.state.itemStatusMap,h=i.zoomOnClick;return e.createElement("div",{className:"blocks-accordion__wrapper"},p()(r).call(r,function(n,r){var i;return e.createElement(ye,{blockId:c,disableZoom:!h,editable:o,focused:l[n.id].isActive,index:r,item:Object(f.a)({},n,{enableVideoPlaybackSpeed:u}),key:n.id,labels:a,lessonId:s,onClick:d()(i=t.handleItemClick).call(i,t,r),open:l[n.id].isOpen})}))}}]),n}(e.Component),ye=function(t){function n(){var e,t,r,i,o,a;Object(x.a)(this,n);for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];return(a=Object(E.a)(this,(e=Object(S.a)(n)).call.apply(e,v()(t=[this]).call(t,c)))).toggle=d()(r=a.toggle).call(r,Object(u.a)(a)),a.renderDescription=d()(i=a.renderDescription).call(i,Object(u.a)(a)),a.renderTitle=d()(o=a.renderTitle).call(o,Object(u.a)(a)),a}return Object(T.a)(n,t),Object(k.a)(n,null,[{key:"propTypes",get:function(){return{lessonId:O.a.any,blockId:O.a.any,index:O.a.number.isRequired,item:O.a.object.isRequired,editable:O.a.bool,open:O.a.bool,focused:O.a.bool,disableZoom:O.a.bool,onClick:O.a.func,labels:O.a.object}}},{key:"defaultProps",get:function(){return{editable:!1,onClick:function(){},lessonId:"",blockId:"",open:null}}}]),Object(k.a)(n,[{key:"componentDidUpdate",value:function(){if(this.props.open){var e=this.content;e&&(e.offsetHeight,e.classList.add("blocks-accordion__content--visible"))}}},{key:"toggle",value:function(e){var t=this.props,n=t.blockId,r=t.index,i=X.a.playerId;open&&i&&c()(i).call(i,n)&&a()(i).call(i,r)&&X.a.pause(),this.props.onClick(),e.preventDefault()}},{key:"renderTitle",value:function(t){var n=this.props.item.title;return e.createElement(ce.a,{id:t,className:"blocks-accordion__title brand--head brand--linkColor",value:n})}},{key:"renderDescription",value:function(){var t=this.props.item.description,n=void 0===t?"":t;return e.createElement(ae.a,{className:"blocks-accordion__description brand--body brand--linkColor",value:n||"",component:"div"})}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.blockId,o=r.editable,a=r.disableZoom,s=r.index,c=r.item,u=r.focused,l=r.labels,d=r.open,f=r.renderDescription,h=void 0===f?this.renderDescription:f,p=r.renderTitle,m=void 0===p?this.renderTitle:p,g=c.settings,y=void 0===g?{}:g,b=c.media,_=void 0===b?{}:b,x=c.id,k=c.enableVideoPlaybackSpeed,E=w()({},y,{disableZoom:a,fullEmbed:!0}),S=Z()("blocks-accordion__item",{"blocks-accordion__item--closed":!d}),T=Z()("blocks-accordion__header",{"brand--border":d&&u}),C=Z()("blocks-accordion__content",{"blocks-accordion__content--will-enter":d,"brand--border":d&&u}),O=Z()("blocks-accordion__media","blocks-accordion__".concat(be(_))),A="title-".concat(x),j="panel-".concat(x);return e.createElement("section",{className:S},e.createElement("div",{role:de.c,"aria-level":"2"},e.createElement("div",{"aria-controls":j,"aria-expanded":d,"aria-labelledby":A,className:T,onClick:this.toggle,onKeyDown:!o&&Object(ue.a)(this.toggle)||null,role:"button",tabIndex:le.a},m(A),e.createElement("span",{className:"blocks-accordion__toggler"},d?"–":"+"))),e.createElement("section",{"aria-labelledby":A,className:C,id:j,ref:function(e){n.content=e}},h(),e.createElement("div",{className:O},e.createElement($.a,{className:"blocks-accordion__img",index:v()(t="".concat(i,"-")).call(t,s),labels:l,media:_,opts:E,enableVideoPlaybackSpeed:k}))))}}]),n}(e.Component),be=function(e){var t=e.image,n=e.embed,r=e.video,i=e.audio;return t?"image":n?"embed":r?"video":i?"audio":"image"},_e=function(t){function n(){var e,t,r,i;Object(x.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];(i=Object(E.a)(this,(e=Object(S.a)(n)).call.apply(e,v()(t=[this]).call(t,a)))).renderDescription=d()(r=i.renderDescription).call(r,Object(u.a)(i));var c=i.props.activeIndex;return i.state={activeIndex:c,activeTouch:!1,activeMouse:!1},i.tabs=[],i.tabPanels=[],i}return Object(T.a)(n,t),Object(k.a)(n,null,[{key:"propTypes",get:function(){return{lessonId:O.a.any,blockId:O.a.any,items:O.a.array,settings:O.a.object.isRequired,activeIndex:O.a.number,editable:O.a.bool,onStep:O.a.func}}},{key:"defaultProps",get:function(){return{items:[],activeIndex:0,lessonId:"",blockId:"",onStep:Function.prototype}}}]),Object(k.a)(n,[{key:"componentDidMount",value:function(){var e,t;this.setContentActive(),this.handleControls(),this.tabsHeaderEl.addEventListener("scroll",this.tabScroll=oe()(d()(e=this.handleControls).call(e,this),50)),window.addEventListener("resize",this.tabResize=oe()(d()(t=this.handleControls).call(t,this),100))}},{key:"componentDidUpdate",value:function(){this.setContentActive(),this.handleControls()}},{key:"componentWillUnmount",value:function(){this.sweetScroll&&this.sweetScroll.destroy(),this.tabsHeaderEl.removeEventListener("scroll",this.tabScroll),window.removeEventListener("resize",this.tabResize)}},{key:"setContentActive",value:function(){var e=this.container.querySelector(".blocks-tabs__content-item--will-enter");e&&(e.offsetHeight,e.classList.add("blocks-tabs__content-item--active"))}},{key:"setActive",value:function(e,t){t.preventDefault(),this.setState({activeIndex:e});var n=this.props.blockId,r=X.a.playerId;this.state.activeIndex!=e&&r&&c()(r).call(r,n)&&X.a.pause(),this.props.onStep(this.props.items[e])}},{key:"handleControls",value:function(){this.tabsHeaderEl.offsetWidth===this.tabsHeaderEl.scrollWidth?(this.arrowPrevEl.classList.add("hidden"),this.arrowNextEl.classList.add("hidden"),this.tabControls.classList.add("start"),this.tabControls.classList.add("end")):(0===this.tabsHeaderEl.scrollLeft?(this.arrowPrevEl.classList.add("hidden"),this.tabControls.classList.add("start")):(this.arrowPrevEl.classList.remove("hidden"),this.tabControls.classList.remove("start")),this.tabsHeaderEl.scrollLeft===this.tabsHeaderEl.scrollWidth-this.tabsHeaderEl.offsetWidth?(this.arrowNextEl.classList.add("hidden"),this.tabControls.classList.add("end")):(this.arrowNextEl.classList.remove("hidden"),this.tabControls.classList.remove("end")))}},{key:"handleMouseEnter",value:function(){this.state.activeTouch||this.setState({activeMouse:!0})}},{key:"handleMouseLeave",value:function(){this.setState({activeMouse:!1})}},{key:"handleTouchStart",value:function(){this.setState({activeTouch:!0})}},{key:"scrollTabs",value:function(e){var t=this.tabsHeaderEl.offsetWidth,n=this.tabsHeaderEl.scrollLeft,r={};this.sweetScroll||(this.sweetScroll=new re.a({duration:600,verticalScroll:!1,horizontalScroll:!0},this.tabsHeaderEl)),r="next"===e?{left:n+.8*t}:{left:n-.8*t},this.sweetScroll.to(r)}},{key:"arrowPrevInset",value:function(e){var t=this.arrowPrevEl.getBoundingClientRect();return t.right-e+(t.left-e)}},{key:"focusTab",value:function(e){var t=e.target,n=document.querySelector(".blocks-tabs__header"),r=n.getBoundingClientRect(),i=r.left,o=r.right,a=t.getBoundingClientRect(),s=a.left;if(a.right>o||s<i){var c=this.arrowPrevInset(i);n.scrollLeft=s+n.scrollLeft-i-c}}},{key:"handleTabKeyDown",value:function(e,t){var n=this,r=Object(fe.a)(function(){var r=Object(le.g)({list:n.tabs,currentIndex:e});n.setActive(r,t)}),i=Object(fe.a)(function(){var r=Object(le.f)({list:n.tabs,currentIndex:e});n.setActive(r,t)});z()([[ue.g,r],[ue.i,i]])(t)}},{key:"renderHeader",value:function(t){var n,r,i,o,a,s=this,c=this.state,u=c.activeIndex,l=c.activeTouch,f=c.activeMouse,h=Z()("blocks-tabs__header-wrap",{touch:l,mouse:f});return e.createElement("div",{className:h,onMouseEnter:d()(n=this.handleMouseEnter).call(n,this),onMouseLeave:d()(r=this.handleMouseLeave).call(r,this),onTouchStart:d()(i=this.handleTouchStart).call(i,this)},e.createElement("div",{className:"blocks-tabs__header",id:"tabsheader",ref:function(e){s.tabsHeaderEl=e},role:de.e},p()(t).call(t,function(n,r){var i,o,a,c=n.title,l=1===t.length||r===u,f=Z()("blocks-tabs__header-item brand--head",{"brand--color":l,"blocks-tabs__header-item--active":l}),h=K()(I()(/<mark>/),M.a,F()(13),j()(30))(c),p=K()(J.c,Y()(W()(ee.a))(h),function(e){return"<span>".concat(e,"</span>")})(c),m="item-header-".concat(r),v=s.tabPanels[r];return e.createElement("a",{"aria-controls":v?v.id:null,"aria-selected":l,className:f,dangerouslySetInnerHTML:{__html:p},href:"#",id:m,key:m,onClick:d()(i=s.setActive).call(i,s,r),onKeyDown:d()(o=s.handleTabKeyDown).call(o,s,r),onFocus:d()(a=s.focusTab).call(a,s),ref:function(e){s.tabs[r]=e},role:de.g,tabIndex:Object(le.m)(l)})})),e.createElement("div",{className:"blocks-tabs__controls",ref:function(e){s.tabControls=e}},e.createElement("div",{className:"blocks-tabs__arrow blocks-tabs__arrow--prev brand--background",ref:function(e){s.arrowPrevEl=e},onClick:d()(o=this.scrollTabs).call(o,this,"previous")},e.createElement("i",{className:"icon icon-chevron-left"})),e.createElement("div",{className:"blocks-tabs__arrow blocks-tabs__arrow--next brand--background",ref:function(e){s.arrowNextEl=e},onClick:d()(a=this.scrollTabs).call(a,this,"next")},e.createElement("i",{className:"icon icon-chevron-right"}))))}},{key:"renderDescription",value:function(t){var n=t.description;return e.createElement(ae.a,{className:"blocks-tabs__description brand--body brand--linkColor",value:n,component:"div"})}},{key:"renderItem",value:function(t,n,r){var i,o=this,a=this.props,s=a.blockId,c=a.renderDescription,u=void 0===c?this.renderDescription:c,l=this.state.activeIndex===n,d=t.id,f=t.media,h=void 0===f?{}:f,p=t.settings,m=void 0===p?{}:p,g=t.enableVideoPlaybackSpeed,y=Z()("blocks-tabs__content-item",{"blocks-tabs__content-item--will-enter":l}),b=w()({},m,{disableZoom:r,fullEmbed:!0}),_=this.tabs[n],x="item-".concat(d);return e.createElement("div",{"aria-labelledby":_?_.id:null,className:y,id:x,key:x,ref:function(e){o.tabPanels[n]=e},role:de.f},u(t),e.createElement("div",{className:"blocks-tabs__".concat(be(h))},e.createElement($.a,{className:"blocks-tabs__img",index:v()(i="".concat(s,"-")).call(i,n),media:h,opts:b,enableVideoPlaybackSpeed:g})))}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.isLearner,a=n.items,s=n.settings,c=n.enableVideoPlaybackSpeed,u=s.paddingTop,l=s.paddingBottom,d=s.backgroundColor,h=s.entranceAnimation,m=s.zoomOnClick,v=Z()("blocks-tabs",{"blocks-tabs--no-animation":!h}),g={backgroundColor:Object(te.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},y=a.length>0?i()(a).call(a,0,30):[],b=Z()("blocks-tabs__container",{"blocks-tabs--single":1===y.length});return e.createElement("div",{className:v,"data-ba":he.blockTabs,style:g},e.createElement(se.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:o,offset:350},e.createElement("div",{className:b},e.createElement("div",{className:"blocks-tabs__row"},e.createElement("div",{className:"blocks-tabs__col"},e.createElement("div",{className:"blocks-tabs__wrapper",ref:function(e){t.container=e}},this.renderHeader(y),e.createElement("div",{className:"blocks-tabs__content"},p()(y).call(y,function(e,n){return t.renderItem(Object(f.a)({},e,{enableVideoPlaybackSpeed:c}),n,!m)}))))))))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(326),i=n(2163),o=n(2164),a=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};function s(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 c(e,t,n){return u(t=s(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=l.response?l.response:l.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}(l),g)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(d),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function o(){if(!u){var t;clearTimeout(d),t=e.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var i=y,o=null;return 0!==t?(i={body:r(),statusCode:t,method:h,headers:{},url:f,rawRequest:l},l.getAllResponseHeaders&&(i.headers=a(l.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var s,u,l=e.xhr||null;l||(l=e.cors||e.useXDR?new c.XDomainRequest:new c.XMLHttpRequest);var d,f=l.url=e.uri||e.url,h=l.method=e.method||"GET",p=e.body||e.data,m=l.headers=e.headers||{},v=!!e.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:h,url:f,rawRequest:l};if("json"in e&&!1!==e.json&&(g=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(o,0)},l.onload=o,l.onerror=i,l.onprogress=function(){},l.onabort=function(){u=!0},l.ontimeout=i,l.open(h,f,!v,e.username,e.password),v||(l.withCredentials=!!e.withCredentials),!v&&e.timeout>0&&(d=setTimeout(function(){if(!u){u=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}},e.timeout)),l.setRequestHeader)for(s in m)m.hasOwnProperty(s)&&l.setRequestHeader(s,m[s]);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&&(l.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(l),l.send(p||null),l}e.exports=c,e.exports.default=c,c.XMLHttpRequest=r.XMLHttpRequest||function(){},c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.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){c["delete"===e?"del":e]=function(t,n,r){return(n=s(t,n,r)).method=e.toUpperCase(),u(n)}})},function(e,t,n){var r=n(326),i=e.exports={WebVTT:n(2165),VTTCue:n(2168),VTTRegion:n(2169)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,c=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=c},r.VTTCue||i.shim()},function(e,t,n){var r,i,o,a,s;r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,i=/^([^\/?#]*)(.*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=s.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=s.normalizePath(o.path),s.buildURLFromParts(o)):t;var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var c=i.exec(a.path);a.netLoc=c[1],a.path=c[2]}a.netLoc&&!a.path&&(a.path="/");var u={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var l=a.path,d=l.substring(0,l.lastIndexOf("/")+1)+o.path;u.path=s.normalizePath(d)}else u.path=a.path,o.params||(u.params=a.params,o.query||(u.query=a.query));return null===u.path&&(u.path=n.alwaysNormalize?s.normalizePath(o.path):o.path),s.buildURLFromParts(u)},parseURL:function(e){var t=r.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(o,"");e.length!==(e=e.replace(a,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return H}),n.d(t,"a",function(){return W});var r=n(18),i=n.n(r),o=n(53),a=n.n(o),s=n(3),c=n.n(s),u=n(4),l=n.n(u),d=n(9),f=n(6),h=n(10),p=n(8),m=n(5),v=n(11),g=(n(2180),n(2)),y=n.n(g),b=n(0),_=n(21),w=n(102),x=n(111),k=n(619),E=n(66),S=n(25),T=n(38),C=n(17),O=n(1),A=n.n(O),j=n(55),N=n(63),M=n(310),P=n(16),I=n.n(P),L=n(35),D=n.n(L),R=n(83),F=n.n(R),B=n(59).b.blocks,U=I()(N.a.isIphoneSafari?"_top":"_self"),q=I()("_blank"),z=F()(D()("email"),U,q),H=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).renderDescriptionDelegate=c()(r=i.renderDescription).call(r,Object(m.a)(i)),i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"getButtonStyles",value:function(e,t){return{backgroundColor:"inverted"!==e?t:null,color:"inverted"===e?t:null,borderColor:"inverted"===e?t:null}}},{key:"renderDescription",value:function(t,n){var r=n||"";return e.createElement(T.a,{className:"blocks-button__description brand--head  brand--linkColor",value:r})}},{key:"getButton",value:function(t,n,r,i){return e.createElement("span",{className:n,dangerouslySetInnerHTML:{__html:i},onClick:t,onKeyDown:Object(S.a)(t),role:"button",style:r,tabIndex:C.a})}},{key:"renderButton",value:function(t){var n=t.editable,r=t.buttonStyle,i=t.color,o=t.courseTitle,a=t.text,s=t.type,c=t.destination,u=t.editBlock,d=this.getButtonStyles(r,i),f=y()("blocks-button__button brand--ui",{"brand--background":void 0===i});if(n)return this.getButton(u,f,d,a);if("lesson"===s){var h=this.props,p=h.handleNavigate,m=h.match,v="/lessons/".concat(c);m&&m.params.mode&&(v+="/".concat(m.params.mode));var g=""===c?"#":v;return e.createElement(w.a,{className:f,dangerouslySetInnerHTML:{__html:a},onClick:function(){return p(c)},role:"button",style:d,to:g})}if("exit-course"===s)return this.getButton(_.b,f,d,a);var b,x=Object(M.b)(I()("email"!==s),c),k=l()(b="mailto:".concat(x,"?subject=")).call(b,o),E="email"===s?k:x,S=""===E?"#":E,T=""===c?null:z(s);return e.createElement("a",{className:f,dangerouslySetInnerHTML:{__html:a},href:S,role:"button",style:d,tabIndex:C.a,target:T})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,o=n.courseTitle,s=n.editable,c=n.editBlock,u=n.isLearner,l=n.items,d=n.settings,f=n.renderDescription,h=void 0===f?this.renderDescriptionDelegate:f,p=l.length>0?a()(l).call(l,0,1):[],m=d.paddingTop,v=d.paddingBottom,g=d.backgroundColor,b=d.entranceAnimation,_=d.buttonColor||this.props.color,w=y()("blocks-button",{"blocks-button--no-animation":!b,"blocks-button--left":!1,"blocks-button--center":!1,"blocks-button--right":!0,"blocks-button--rounded":!0}),S={backgroundColor:Object(E.a)("",g),paddingTop:"".concat(10*m,"px"),paddingBottom:"".concat(10*v,"px")};return e.createElement("div",{className:w,"data-ba":B.blockButton,style:S},e.createElement(j.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:u,offset:100},i()(p).call(p,function(n){var r=n.id,i=n.label,a=n.type,u=n.destination,l=n.description,d=Object(k.a)(Object(x.d)(i),18);return e.createElement("section",{key:r,className:"blocks-button__container"},h(r,l),t.renderButton({editable:s,buttonStyle:"rounded",color:_,courseTitle:o,text:d,type:a,destination:u,editBlock:c}))})))}}],[{key:"propTypes",get:function(){return{lessonId:A.a.any,blockId:A.a.any,items:A.a.array,settings:A.a.object.isRequired,editable:A.a.bool,editBlock:A.a.func,courseTitle:A.a.string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(e.Component),W=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).renderButtonDelegate=c()(r=i.renderButton).call(r,Object(m.a)(i)),i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"renderButton",value:function(t,n){var r=this.props,i=r.blockId,o=r.courseTitle,a=r.editable,s=r.editBlock,c=r.handleNavigate,u=r.isLearner,l=r.labels,d=r.lessonId;return e.createElement(H,{animateBlockEntrance:!1,blockId:i,courseTitle:o,editable:a,editBlock:s,isLearner:u,items:[t],labels:l,lessonId:d,settings:n,type:"right",handleNavigate:c})}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,o=t.items,a=t.settings,s=t.renderButton,c=void 0===s?this.renderButtonDelegate:s,u=a.paddingTop,l=a.paddingBottom,d=a.backgroundColor,f=a.entranceAnimation,h=y()("blocks-buttonstack",{"blocks-buttonstack--no-animation":!f}),p={backgroundColor:Object(E.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},m={buttonColor:a.buttonColor||this.props.color,buttonStyle:a.buttonStyle};return e.createElement("div",{className:h,style:p},e.createElement(j.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r},i()(o).call(o,function(t){return e.createElement(b.Fragment,{key:t.id},c(t,m))})))}}],[{key:"propTypes",get:function(){return{lessonId:A.a.any,blockId:A.a.any,items:A.a.array,settings:A.a.object.isRequired,editable:A.a.bool,editBlock:A.a.func,courseTitle:A.a.string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return J});var r=n(23),i=n(27),o=n.n(i),a=n(18),s=n.n(a),c=n(4),u=n.n(c),l=n(3),d=n.n(l),f=n(9),h=n(10),p=n(8),m=n(5),v=n(6),g=n(11),y=(n(2204),n(1)),b=n.n(y),_=n(2),w=n.n(_),x=n(63),k=n(7),E=n.n(k),S=n(40),T=n.n(S),C=n(88),O=n.n(C),A=n(45),j=n.n(A),N=n(302),M=n.n(N),P=n(239),I=n.n(P),L=n(81),D=n.n(L),R=n(128),F=n.n(R),B=n(66),U=n(365),q=n.n(U),z=n(38),H=n(111),W=n(17),V=n(25),Y=n(55),G=n(1233),K=n(52),$=n(59).b.blocks,X={small:{longMin:51,totalMax:150},medium:{longMin:208,totalMax:390},large:{longMin:258,totalMax:707}},Q=function(t){function n(e){var t,r,i,o,a;return Object(f.a)(this,n),(a=Object(h.a)(this,Object(p.a)(n).call(this,e))).state={flipped:e.flipped,hasFlippedOnce:e.hasFlippedOnce},a.flip=d()(t=a.flip).call(t,Object(m.a)(a)),a.scrollDownIfNecessary=d()(r=a.scrollDownIfNecessary).call(r,Object(m.a)(a)),a.scrollUpIfNecessary=d()(i=a.scrollUpIfNecessary).call(i,Object(m.a)(a)),a.onKeyDown=d()(o=a.onKeyDown).call(o,Object(m.a)(a)),a}return Object(g.a)(n,t),Object(v.a)(n,null,[{key:"propTypes",get:function(){return{allowTabNavigation:b.a.bool,card:b.a.object.isRequired,index:b.a.number,onStep:b.a.func,showHint:b.a.bool,size:b.a.oneOf(["large","medium","small"])}}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,flipped:!1,hasFlippedOnce:!1,index:0,onStep:Function.prototype,showHint:!0,size:"large"}}}]),Object(v.a)(n,[{key:"anchorClicked",value:function(e){return"a"===e.tagName.toLowerCase()||e!==this.container&&this.anchorClicked(e.parentElement)}},{key:"flip",value:function(e){var t=e.target;if(!this.anchorClicked(t)){var n=this.state.flipped;this.setState({flipped:!n,hasFlippedOnce:!0}),n?(this.frontSide.scrollToTop(),this.cardFront.focus()):(this.props.onStep(this.props.card),this.backSide.scrollToTop(),this.cardBack.focus()),e&&e.preventDefault()}}},{key:"showFront",value:function(){this.setState({flipped:!1}),this.frontSide.scrollToTop()}},{key:"focus",value:function(){this.cardFront.focus()}},{key:"scrollUpIfNecessary",value:function(e){e.target===this.cardFront?this.frontSide.scrollUp(e):this.backSide.scrollUp(e)}},{key:"scrollDownIfNecessary",value:function(e){e.target===this.cardFront?this.frontSide.scrollDown(e):this.backSide.scrollDown(e)}},{key:"onKeyDown",value:function(e){T()([[V.e,this.flip],[V.m,this.scrollUpIfNecessary],[V.b,this.scrollDownIfNecessary]])(e)}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.card,o=n.index,a=n.labels,s=void 0===a?{}:a,c=n.showHint,u=n.size,l=s.blocksClickToFlip,d=this.state,f=d.flipped,h=d.hasFlippedOnce,p=i.front,m=void 0===p?{}:p,v=i.back,g=void 0===v?{}:v,y=D()(m,"type")||"description",b=D()(g,"type")||"description",_=Object(K.a)(D()(m,"media.image")),k=Object(K.a)(D()(g,"media.image")),E=D()(m,"media.image.alt"),S=D()(g,"media.image.alt"),T=m.description||"",C=g.description||"",O=w()("block-flashcard",{"block-flashcard--large":"large"===u,"block-flashcard--medium":"medium"===u,"block-flashcard--small":"small"===u,"block-flashcard--first":0===o,"block-flashcard--flipped":f,"block-flashcard--in-edge":x.a.isEdge,"block-flashcard--in-ie":x.a.isIe11}),A=w()("block-flashcard__front",{"block-flashcard__front--description":"description"===y,"block-flashcard__front--image":"image"===y,"block-flashcard__front--fullimage":"fullimage"===y}),j=w()("block-flashcard__back",{"block-flashcard__back--description":"description"===b,"block-flashcard__back--image":"image"===b,"block-flashcard__back--fullimage":"fullimage"===b}),N=w()("block-flashcard__content",{"brand--border":"fullimage"!==y}),M=w()("block-flashcard__flip brand--ui",{"block-flashcard__flip--detailed":!h}),P="fullimage"===y?{backgroundImage:"url('".concat(_,"')")}:{},I="fullimage"===b?{backgroundImage:"url('".concat(k,"')")}:{},L=r&&!f,R=r&&f,F=0===o&&!h&&l,B=e.createElement("button",{className:M,onClick:this.flip,ref:function(e){t.flipLink=e},tabIndex:W.i,type:"button"},e.createElement("span",{className:"flip-text"},F),e.createElement("span",{className:"flip-icon"},e.createElement(G.a,null)));return e.createElement("section",{className:O,onTouchEnd:function(e){e.stopPropagation()},ref:function(e){t.container=e}},e.createElement("div",{className:"block-flashcard__wrapper"},e.createElement("div",{"aria-hidden":!L,className:A,onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(e){t.cardFront=e},role:"button",tabIndex:Object(W.m)(L)},e.createElement("div",{className:N,style:P},e.createElement(Z,{allowTabNavigation:L,alt:E,description:T,image:_,labels:s,ref:function(e){t.frontSide=e},side:"front",size:u,type:y})),c&&B),e.createElement("div",{"aria-hidden":!R,className:j,onBlur:function(){t.container.style.zIndex--},onFocus:function(){t.container.style.zIndex++},onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(e){t.cardBack=e},role:"button",tabIndex:Object(W.m)(R)},e.createElement("div",{className:"block-flashcard__content",style:I},e.createElement(Z,{allowTabNavigation:R,alt:S,description:C,image:k,labels:s,ref:function(e){t.backSide=e},side:"back",size:u,type:b})),c&&B)))}}]),n}(e.Component),Z=function(t){function n(e){var t,r,i;return Object(f.a)(this,n),(i=Object(h.a)(this,Object(p.a)(n).call(this,e))).state={hasOverflow:!1,isLong:!1},i.handleScroll=d()(t=i.handleScroll).call(t,Object(m.a)(i)),i.overflowMask=d()(r=i.overflowMask).call(r,Object(m.a)(i)),i}return Object(g.a)(n,t),Object(v.a)(n,null,[{key:"propTypes",get:function(){return{size:b.a.string,type:b.a.string,description:b.a.string,image:b.a.string}}}]),Object(v.a)(n,[{key:"componentDidMount",value:function(){this.scrollContent.addEventListener("scroll",this.scrollRef=F()(this.handleScroll,50)),window.addEventListener("resize",this.maskRef=F()(this.overflowMask,50)),this.overflowMask()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.maskRef),this.scrollContent.removeEventListener("scroll",this.scrollRef)}},{key:"scrollToTop",value:function(){this.scrollContent.scrollTop=0}},{key:"scrollUp",value:function(e){Object(V.q)(this.scrollContent,e)}},{key:"scrollDown",value:function(e){Object(V.p)(this.scrollContent,this.state.hasOverflow,e)}},{key:"handleScroll",value:function(){var e=this.state.hasOverflow,t=this.scrollContent,n=t.scrollTop,r=t.scrollHeight;n+t.offsetHeight+10>=r?this.setState({hasOverflow:!1}):e||this.setState({hasOverflow:!0})}},{key:"overflowMask",value:function(){var e=this.scrollContent,t=e.offsetHeight<e.scrollHeight-10;this.setState({hasOverflow:t,isLong:t})}},{key:"ariaLabel",value:function(){var e,t,n=this.props,r=n.alt,i=n.description,o=n.labels,a=n.side,s=n.type,c=o.flashcardBackLabel,l=o.flashcardFrontLabel,d="front"===a?l:c;return"image"===s||"fullimage"===s?r?u()(t="".concat(d," - ")).call(t,r):d:i?u()(e="".concat(d," - ")).call(e,Object(H.d)(i)):d}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.alt,o=n.size,a=n.type,s=n.description,c=n.image,u=n.side,l=this.state,d=l.hasOverflow,f=l.isLong,h=X[o],p=s,m=!!E()(M()(h.longMin),j.a,H.d,I()("&nbsp;"," "))(s)||f,v=w()("block-flashcard__center brand--linkColor",{"block-flashcard__center--long":m,"block-flashcard__center--long--front":m&&"front"===u,"block-flashcard__center--long--back":m&&"back"===u,"block-flashcard__center--overflow":d,"block-flashcard__center--column":"image"===a}),g='""'===i?"":i,y="fullimage"===a?g:null;return e.createElement("div",{ref:function(e){t.scrollContent=e},className:v,alt:y,title:y,"aria-label":this.ariaLabel()},"image"===a&&c&&e.createElement("figure",{className:"block-flashcard__image",style:{backgroundImage:"url(".concat(c,")")},title:g},e.createElement("img",{alt:g,src:c})),"description"===a&&e.createElement(z.a,{allowTabNavigation:r,className:"block-flashcard__description brand--head",value:p}))}}]),n}(e.Component),J=function(t){function n(){return Object(f.a)(this,n),Object(h.a)(this,Object(p.a)(n).apply(this,arguments))}return Object(g.a)(n,t),Object(v.a)(n,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=t.stack,c=t.labels,u=t.onStep,l=o.backgroundColor,d=o.entranceAnimation,f=o.paddingBottom,h=o.paddingTop,p=o.showHint,m=w()("block-flashcards",{"blocks-flashcard--column":!a,"blocks-flashcard--stack":a,"block-flashcards--no-animation":!d}),v={backgroundColor:Object(B.a)("",l),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*f,"px")},g=i.length,y=1===g?"large":2===g?"medium":"small",b=c.flashcardGridGroup,_=c.flashcardStackGroup,x=a?_:b;return e.createElement("div",{"aria-label":x,className:m,"data-ba":$.blockFlashcards,style:v},a?e.createElement(Y.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r,offset:400},e.createElement(ee,{items:i,labels:c,onStep:u,showHint:p})):e.createElement(Y.a,{animateBlockEntrance:n,animateIn:"fadeIn",className:"block-flashcards__animation",isLearner:r,siblingDelay:.25},e.createElement("div",{className:"block-flashcards__wrapper"},s()(i).call(i,function(t,n){return e.createElement(Q,{card:t,index:n,key:t.id,labels:c,onStep:u,showHint:p,size:y})}))))}}],[{key:"propTypes",get:function(){return{items:b.a.array,settings:b.a.object.isRequired,stack:b.a.bool,onStep:b.a.func}}},{key:"defaultProps",get:function(){return{items:[],stack:!1,editable:!1,onStep:Function.prototype}}}]),n}(e.Component),ee=function(t){function n(){var e,t,r;Object(f.a)(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,u()(t=[this]).call(t,o)))).state={current:1},r}return Object(g.a)(n,t),Object(v.a)(n,null,[{key:"propTypes",get:function(){return{items:b.a.array,onStep:b.a.func,showHint:b.a.bool}}},{key:"defaultProps",get:function(){return{items:[],onStep:Function.prototype}}}]),Object(v.a)(n,[{key:"handleBeforeChange",value:function(e,t){for(var n=this,r=this.props.items.length,i=0;i<r;i++){var a=this["flashcard-".concat(i)];a&&a.showFront()}this.sliderInfo.setCurrent(t+1),this["flashcard-".concat(t)].focus(),o()(function(){n.setState({current:t+1})},500)}},{key:"render",value:function(){var t,n=this,i=this.props,o=i.items,a=i.labels,c=i.onStep,u=i.showHint,l=this.state.current,f=o.length,h={dots:!1,draggable:!1,swipe:!1,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,infinite:!1,arrows:!0,beforeChange:d()(t=this.handleBeforeChange).call(t,this),nextArrow:e.createElement(ne,{current:l,labels:a,length:f}),prevArrow:e.createElement(ne,{previous:!0,current:l,labels:a,length:f})};return e.createElement("section",{className:"block-flashcards-slider block-flashcards-slider--full-carousel"},e.createElement("div",{className:"block-flashcards-slider__wrap"},e.createElement(q.a,Object(r.a)({className:"block-flashcards-slider__slides"},h),s()(o).call(o,function(t,r){return e.createElement("div",{className:"block-flashcards-slider__slide",key:"flashcard-".concat(r)},e.createElement(Q,{allowTabNavigation:l===O()(r),card:t,index:r,labels:a,onStep:c,ref:function(e){n["flashcard-".concat(r)]=e},showHint:u}))})),e.createElement(te,{ref:function(e){n.sliderInfo=e},labels:a,current:l,itemCount:o.length})))}}]),n}(e.Component),te=function(t){function n(e){var t;return Object(f.a)(this,n),(t=Object(h.a)(this,Object(p.a)(n).call(this,e))).state={current:e.current},t}return Object(g.a)(n,t),Object(v.a)(n,null,[{key:"propTypes",get:function(){return{current:b.a.number.isRequired,itemCount:b.a.number.isRequired}}}]),Object(v.a)(n,[{key:"setCurrent",value:function(e){this.setState({current:e})}},{key:"render",value:function(){var t,n,r=this.props,i=r.itemCount,o=r.labels,a=void 0===o?{}:o,s=this.state.current,c=100*(s/i).toFixed(2),l={width:"".concat(c,"%")},d=a.blocksPreposition,f=void 0===d?"of":d;return e.createElement("div",{className:"block-flashcards-slider__info"},e.createElement("div",{className:"block-flashcards-slider__progress"},e.createElement("p",{className:"block-flashcards-slider__progress-text brand--body brand--linkColor"},u()(t=u()(n="".concat(s," ")).call(n,f," ")).call(t,i)),e.createElement("div",{className:"block-flashcards-slider__progress-line brand--background",style:l})))}}]),n}(e.Component),ne=function(t){function n(){return Object(f.a)(this,n),Object(h.a)(this,Object(p.a)(n).apply(this,arguments))}return Object(g.a)(n,t),Object(v.a)(n,[{key:"render",value:function(){var t=this.props,n=t.current,r=t.labels,i=t.length,o=t.onClick,a=t.previous,s=r.nextFlashCardLabel,c=r.previousFlashCardLabel,u=1===n,l=n===i,d=w()("block-flashcards-slider__controls",{"block-flashcards-slider__controls--beginning":u,"block-flashcards-slider__controls--end":l}),f=w()("brand--background block-flashcards-slider__arrow",{"block-flashcards-slider__arrow--next":!a,"block-flashcards-slider__arrow--prev":a}),h=w()("icon",{"icon-chevron-right":!a,"icon-chevron-left":a}),p=a&&u||!a&&l;return e.createElement("div",{className:d},e.createElement("div",{"aria-disabled":p,"aria-label":a?c:s,className:f,onClick:o,onKeyDown:Object(V.a)(o),role:"button",tabIndex:Object(W.m)(!p)},e.createElement("i",{className:h})))}}],[{key:"propTypes",get:function(){return{onClick:b.a.func,previous:b.a.bool,current:b.a.number,length:b.a.number}}},{key:"defaultProps",get:function(){return{previous:!1,onClick:function(){},current:0,length:-1}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
e.exports=n(2221)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(998)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(464),o=n(570);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)})},function(e,t,n){"use strict";var r=n(1131);n.d(t,"a",function(){return r.a});var i=n(1132);n.d(t,"b",function(){return i.a})},function(e,t,n){var r;e.exports=function e(t,n,i){function o(s,c){if(!n[s]){if(!t[s]){var u="function"==typeof r&&r;if(!c&&u)return r(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return o(n||e)},d,d.exports,e,t,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}({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";var r=e("./utils/extend.js");function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=r({},t||{})}return e.prototype.fire=function(e){var t=void 0,n="on"+e.type,r=this.global;(t=this[e.type])&&i(e,t),this[n]&&this[n](e),!e.propagationStopped&&r&&(t=r[e.type])&&i(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=o},{"./utils/extend.js":41}],3:[function(e,t,n){"use strict";var r=e("./utils/extend"),i=e("./utils/getOriginXY"),o=e("./defaultOptions"),a=e("./utils/Signals").new(),s=function(){function e(t,n,s,c,u,l){var d=arguments.length>6&&void 0!==arguments[6]&&arguments[6];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var f=t.target,h=(f&&f.options||o).deltaSource,p=i(f,u,s),m="start"===c,v="end"===c,g=m?t.startCoords:t.curCoords,y=t.prevEvent;u=u||t.element;var b=r({},g.page),_=r({},g.client);b.x-=p.x,b.y-=p.y,_.x-=p.x,_.y-=p.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=u,this.currentTarget=u,this.relatedTarget=l||null,this.preEnd=d,this.type=s+(c||""),this.interaction=t,this.interactable=f,this.t0=m?t.downTimes[t.downTimes.length-1]:y.t0;var w={interaction:t,event:n,action:s,phase:c,element:u,related:l,page:b,client:_,coords:g,starting:m,ending:v,deltaSource:h,iEvent:this};a.fire("set-xy",w),v?(this.pageX=y.pageX,this.pageY=y.pageY,this.clientX=y.clientX,this.clientY=y.clientY):(this.pageX=b.x,this.pageY=b.y,this.clientX=_.x,this.clientY=_.y),this.x0=t.startCoords.page.x-p.x,this.y0=t.startCoords.page.y-p.y,this.clientX0=t.startCoords.client.x-p.x,this.clientY0=t.startCoords.client.y-p.y,a.fire("set-delta",w),this.timeStamp=g.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=v||"inertiastart"===c?this.getSwipe():null,a.fire("new",w)}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;t<0&&(t+=360);var n=112.5<=t&&t<247.5,r=202.5<=t&&t<337.5,i=!n&&(292.5<=t||t<67.5),o=!r&&22.5<=t&&t<157.5;return{up:r,down:o,left:n,right:i,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}();a.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)}),s.signals=a,t.exports=s},{"./defaultOptions":18,"./utils/Signals":34,"./utils/extend":41,"./utils/getOriginXY":42}],4:[function(e,t,n){"use strict";var r=e("./utils/clone"),i=e("./utils/is"),o=e("./utils/events"),a=e("./utils/extend"),s=e("./actions/base"),c=e("./scope"),u=e("./Eventable"),l=e("./defaultOptions"),d=e("./utils/Signals").new(),f=e("./utils/domUtils"),h=f.getElementRect,p=f.nodeContains,m=f.trySelector,v=f.matchesSelector,g=e("./utils/window"),y=g.getWindow,b=e("./utils/arr"),_=b.contains,w=e("./utils/browser"),x=w.wheelEvent;c.interactables=[];var k=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=n||{},this.target=t,this.events=new u,this._context=n.context||c.document,this._win=y(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 i.function(t.onstart)&&(this.events[n+"start"]=t.onstart),i.function(t.onmove)&&(this.events[n+"move"]=t.onmove),i.function(t.onend)&&(this.events[n+"end"]=t.onend),i.function(t.oninertiastart)&&(this.events[n+"inertiastart"]=t.oninertiastart),this},e.prototype.setPerAction=function(e,t){for(var n in t)n in l[e]&&(i.object(t[n])?(this.options[e][n]=r(this.options[e][n]||{}),a(this.options[e][n],t[n]),i.object(l.perAction[n])&&"enabled"in l.perAction[n]&&(this.options[e][n].enabled=!1!==t[n].enabled)):i.bool(t[n])&&i.object(l.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,i.string(this.target)&&!i.element(e)&&(e=this._context.querySelector(this.target)),h(e)},e.prototype.rectChecker=function(e){return i.function(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},e.prototype._backCompatOption=function(e,t){if(m(t)||i.object(t)){this.options[e]=t;for(var n=0;n<s.names.length;n++){var r=s.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||p(this._context,e)},e.prototype.fire=function(e){return this.events.fire(e),this},e.prototype._onOffMultiple=function(e,t,n,r){if(i.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),i.array(t)){for(var o=0;o<t.length;o++){var a=t[o];this[e](a,n,r)}return!0}if(i.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)?this:("wheel"===t&&(t=x),_(e.eventTypes,t)?this.events.on(t,n):i.string(this.target)?o.addDelegate(this.target,this._context,t,n,r):o.add(this.target,t,n,r),this)},e.prototype.off=function(t,n,r){return this._onOffMultiple("off",t,n,r)?this:("wheel"===t&&(t=x),_(e.eventTypes,t)?this.events.off(t,n):i.string(this.target)?o.removeDelegate(this.target,this._context,t,n,r):o.remove(this.target,t,n,r),this)},e.prototype.set=function(t){i.object(t)||(t={}),this.options=r(l.base);var n=r(l.perAction);for(var o in s.methodDict){var a=s.methodDict[o];this.options[o]=r(l[o]),this.setPerAction(o,n),this[a](t[o])}for(var c=0;c<e.settingsMethods.length;c++){var u=e.settingsMethods[c];this.options[u]=l.base[u],u in t&&this[u](t[u])}return d.fire("set",{options:t,interactable:this}),this},e.prototype.unset=function(){if(o.remove(this.target,"all"),i.string(this.target))for(var e in o.delegatedEvents){var t=o.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)),o.remove(this._context,e,o.delegateListener),o.remove(this._context,e,o.delegateUseCapture,!0)}else o.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&&(i.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],o=void 0;if((i.string(r.target)?i.element(e)&&v(e,r.target):e===r.target)&&r.inContext(e)&&(o=t(r)),void 0!==o)return o}},k.eventTypes=c.eventTypes=[],k.signals=d,k.settingsMethods=["deltaSource","origin","preventDefault","rectChecker"],t.exports=k},{"./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";var r=e("./scope"),i=e("./utils"),o=e("./utils/events"),a=e("./utils/browser"),s=e("./utils/domObjects"),c=e("./utils/interactionFinder"),u=e("./utils/Signals").new(),l={},d=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer"],f=0;r.interactions=[];for(var h=function(){function e(t){var n=t.pointerType;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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,u.fire("new",this),r.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);u.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===r.interactions.indexOf(this)&&r.interactions.push(this),i.copyAction(this.prepared,e),this.target=t,this.element=n,u.fire("action-start",{interaction:this,event:this.downEvent}))},e.prototype.pointerMove=function(t,n,r){this.simulation||(this.updatePointer(t),i.setCoords(this.curCoords,this.pointers));var o=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=i.hypot(a,s)>e.pointerMoveTolerance);var c={pointer:t,pointerIndex:this.getPointerIndex(t),event:n,eventTarget:r,dx:a,dy:s,duplicate:o,interaction:this,interactingBeforeMove:this.interacting()};o||i.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords),u.fire("move",c),o||(this.interacting()&&this.doMove(c),this.pointerWasMoved&&i.copyCoords(this.prevCoords,this.curCoords))},e.prototype.doMove=function(e){e=i.extend({pointer:this.pointers[0],event:this.prevEvent,eventTarget:this._eventTarget,interaction:this},e||{}),u.fire("before-action-move",e),this._dontFireMove||u.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);u.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()&&u.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(){u.fire("stop",{interaction:this}),this._interacting&&(u.fire("stop-active",{interaction:this}),u.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(i.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=i.getPointerId(e),o=this.getPointerIndex(e);return-1===o&&(o=this.pointerIds.length,this.pointerIds[o]=r),n&&u.fire("update-pointer-down",{pointer:e,event:t,down:n,pointerId:r,pointerIndex:o,interaction:this}),this.pointers[o]=e,o},e.prototype.removePointer=function(e,t){var n=this.getPointerIndex(e);-1!==n&&(u.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}(),p=0;p<d.length;p++){var m=d[p];l[m]=v(m)}function v(e){return function(t){var n=i.getPointerType(t),o=i.getEventTargets(t),s=o[0],u=o[1],l=[];if(a.supportsTouch&&/touch/.test(t.type)){f=(new Date).getTime();for(var d=0;d<t.changedTouches.length;d++){var p=t.changedTouches[d],m=p,v=c.search(m,t.type,s);l.push([m,v||new h({pointerType:n})])}}else{var g=!1;if(!a.supportsPointerEvent&&/mouse/.test(t.type)){for(var y=0;y<r.interactions.length&&!g;y++)g="mouse"!==r.interactions[y].pointerType&&r.interactions[y].pointerIsDown;g=g||(new Date).getTime()-f<500||0===t.timeStamp}if(!g){var b=c.search(t,t.type,s);b||(b=new h({pointerType:n})),l.push([t,b])}}for(var _=0;_<l.length;_++){var w=l[_],x=w[0],k=w[1];k._updateEventTargets(s,u),k[e](x,t,s,u)}}}function g(e){for(var t=0;t<r.interactions.length;t++){var n=r.interactions[t];n.end(e),u.fire("endall",{event:e,interaction:n})}}var y={},b=a.pEventTypes;function _(e,t){var n=e.doc,i=0===t.indexOf("add")?o.add:o.remove;for(var s in r.delegatedEvents)i(n,s,o.delegateListener),i(n,s,o.delegateUseCapture,!0);for(var c in y)i(n,c,y[c],a.isIOS?{passive:!1}:void 0)}s.PointerEvent?(y[b.down]=l.pointerDown,y[b.move]=l.pointerMove,y[b.up]=l.pointerUp,y[b.cancel]=l.pointerUp):(y.mousedown=l.pointerDown,y.mousemove=l.pointerMove,y.mouseup=l.pointerUp,y.touchstart=l.pointerDown,y.touchmove=l.pointerMove,y.touchend=l.pointerUp,y.touchcancel=l.pointerUp),y.blur=g,u.on("update-pointer-down",function(e){var t=e.interaction,n=e.pointer,r=e.pointerId,o=e.pointerIndex,a=e.event,s=e.eventTarget,c=e.down;t.pointerIds[o]=r,t.pointers[o]=n,c&&(t.pointerIsDown=!0),t.interacting()||(i.setCoords(t.startCoords,t.pointers),i.copyCoords(t.curCoords,t.startCoords),i.copyCoords(t.prevCoords,t.startCoords),t.downEvent=a,t.downTimes[o]=t.curCoords.timeStamp,t.downTargets[o]=s||a&&i.getEventTargets(a)[0],t.pointerWasMoved=!1,i.pointerExtend(t.downPointer,n))}),r.signals.on("add-document",_),r.signals.on("remove-document",_),h.pointerMoveTolerance=1,h.doOnInteractions=v,h.endAll=g,h.signals=u,h.docEvents=y,r.endAllInteractions=g,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,n=e.event,r=e.preEnd;if(a(t,n,"move",r),!t.interacting())return!1}),r.signals.on("action-end",function(e){var t=e.interaction,n=e.event;a(t,n,"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"),c=e("../defaultOptions"),u={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=u,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",c.drag=u.defaults,t.exports=u},{"../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"),c=e("../Interactable"),u=e("../Interaction"),l=e("../defaultOptions"),d={defaults:{enabled:!1,accept:null,overlap:"pointer"}},f=!1;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 p(e,t){var n=function(e,t){for(var n=[],r=[],a=0;a<o.interactables.length;a++){var s=o.interactables[a];if(s.options.drop.enabled){var c=s.options.drop.accept;if(!(i.is.element(c)&&c!==t||i.is.string(c)&&!i.matchesSelector(t,c)))for(var u=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],l=0;l<u.length;l++){var d=u[l];d!==t&&(n.push(s),r.push(d))}}}return{elements:r,dropzones:n}}(0,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={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}u.signals.on("action-start",function(e){var t=e.interaction;e.event;if("drag"===t.prepared.name){t.activeDrops.dropzones=[],t.activeDrops.elements=[],t.activeDrops.rects=[],t.dropEvents=null,t.dynamicDrop||p(t.activeDrops,t.element);var n=t.prevEvent,r=m(t,0,n);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 o=t.element,a=n,s=function(e,t,n){var r=e.interaction,o=[];f&&p(r.activeDrops,n);for(var a=0;a<r.activeDrops.dropzones.length;a++){var s=r.activeDrops.dropzones[a],c=r.activeDrops.elements[a],u=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,c,u)?c:null)}var l=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[l]||null,element:r.activeDrops.elements[l]||null}}(a,r,o);t.dropTarget=s.dropzone,t.dropElement=s.element,t.dropEvents=m(t,0,a)}}),u.signals.on("action-move",function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)}),u.signals.on("action-end",function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)}),u.signals.on("stop-drag",function(e){var t=e.interaction;t.activeDrops={dropzones:null,elements:null,rects:null},t.dropEvents=null}),c.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},c.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 c=this.options.drop.overlap;if("pointer"===c){var u=i.getOriginXY(n,r,"drag"),l=i.getPageXY(e);l.x+=u.x,l.y+=u.y;var d=l.x>a.left&&l.x<a.right,f=l.y>a.top&&l.y<a.bottom;s=d&&f}var h=n.getRect(r);if(h&&"center"===c){var p=h.left+h.width/2,m=h.top+h.height/2;s=p>=a.left&&p<=a.right&&m>=a.top&&m<=a.bottom}if(h&&i.is.number(c)){var v=Math.max(0,Math.min(a.right,h.right)-Math.max(a.left,h.left))*Math.max(0,Math.min(a.bottom,h.bottom)-Math.max(a.top,h.top)),g=v/(h.width*h.height);s=g>=c}return this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,o,n,r)),s},c.signals.on("unset",function(e){var t=e.interactable;t.dropzone(!1)}),c.settingsMethods.push("dropChecker"),u.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:[]}}),u.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)?(f=e,a):f},i.merge(c.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),r.methodDict.drop="dropzone",l.drop=d.defaults,t.exports=d},{"../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"),c=e("../defaultOptions"),u={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,c=e.ending,u=e.deltaSource;if("gesture"===r){var l=t.pointers;n.touches=[l[0],l[1]],s?(n.distance=i.touchDistance(l,u),n.box=i.touchBBox(l),n.scale=1,n.ds=0,n.angle=i.touchAngle(l,void 0,u),n.da=0):c||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,u),n.box=i.touchBBox(l),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(l,t.gesture.prevAngle,u),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=u,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",c.gesture=u.defaults,t.exports=u},{"../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"),c=e("../Interaction"),u=e("../defaultOptions"),l=o.supportsTouch||o.supportsPointerEvent?20:10,d={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),c=n.options;if(c.resize.enabled){var u=c.resize,d={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(u.edges)){for(var h in d)d[h]=f(h,u.edges[h],s,o._eventTarget,r,a,u.margin||l);if(d.left=d.left&&!d.right,d.top=d.top&&!d.bottom,d.left||d.right||d.top||d.bottom)return{name:"resize",edges:d}}else{var p="y"!==c.resize.axis&&s.x>a.right-l,m="x"!==c.resize.axis&&s.y>a.bottom-l;if(p||m)return{name:"resize",axes:(p?"x":"")+(m?"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 d.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 d.cursors[t]}}};function f(e,t,n,r,o,a,s){if(!t)return!1;if(!0===t){var c=i.is.number(a.width)?a.width:a.right-a.left,u=i.is.number(a.height)?a.height:a.bottom-a.top;if(c<0&&("left"===e?e="right":"right"===e&&(e="left")),u<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(c>=0?a.left:a.right)+s;if("top"===e)return n.y<(u>=0?a.top:a.bottom)+s;if("right"===e)return n.x>(c>=0?a.right:a.left)-s;if("bottom"===e)return n.y>(u>=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,c=r.prepared.edges,u=r.resizeRects.start,l=r.resizeRects.current,d=r.resizeRects.inverted,f=r.resizeRects.delta,h=i.extend(r.resizeRects.previous,d),p=c,m=t.dx,v=t.dy;if(o.preserveAspectRatio||o.square){var g=o.preserveAspectRatio?r.resizeStartAspectRatio:1;c=r.prepared._linkedEdges,p.left&&p.bottom||p.right&&p.top?v=-m/g:p.left||p.right?v=m/g:(p.top||p.bottom)&&(m=v*g)}if(c.top&&(l.top+=v),c.bottom&&(l.bottom+=v),c.left&&(l.left+=m),c.right&&(l.right+=m),s){if(i.extend(d,l),"reposition"===a){var y=void 0;d.top>d.bottom&&(y=d.top,d.top=d.bottom,d.bottom=y),d.left>d.right&&(y=d.left,d.left=d.right,d.right=y)}}else d.top=Math.min(l.top,u.bottom),d.bottom=Math.max(l.bottom,u.top),d.left=Math.min(l.left,u.right),d.right=Math.max(l.right,u.left);for(var b in d.width=d.right-d.left,d.height=d.bottom-d.top,d)f[b]=d[b]-h[b];t.edges=r.prepared.edges,t.rect=d,t.deltaRect=f}}),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=u.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},c.signals.on("new",function(e){e.resizeAxes="xy"}),a.signals.on("set-delta",function(e){var t=e.interaction,n=e.iEvent,r=e.action;if("resize"===r&&t.resizeAxes){var i=t.target.options;i.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=d,r.names.push("resize"),i.merge(s.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeinertiaresume","resizeend"]),r.methodDict.resize="resizable",u.resize=d.defaults,t.exports=d},{"../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"),c=e("./defaultOptions"),u={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){u.isScrolling=!0,r.cancel(u.i),u.interaction=e,u.prevTime=(new Date).getTime(),u.i=r.request(u.scroll)},stop:function(){u.isScrolling=!1,r.cancel(u.i)},scroll:function(){var e=u.interaction.target.options[u.interaction.prepared.name].autoScroll,t=e.container||i(u.interaction.element),n=(new Date).getTime(),a=(n-u.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(u.x*s,u.y*s):t&&(t.scrollLeft+=u.x*s,t.scrollTop+=u.y*s),u.prevTime=n),u.isScrolling&&(r.cancel(u.i),u.i=r.request(u.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()&&u.check(t.target,t.prepared.name))if(t.simulation)u.x=u.y=0;else{var r=void 0,s=void 0,c=void 0,l=void 0,d=t.target.options[t.prepared.name].autoScroll,f=d.container||i(t.element);if(o.window(f))l=n.clientX<u.margin,r=n.clientY<u.margin,s=n.clientX>f.innerWidth-u.margin,c=n.clientY>f.innerHeight-u.margin;else{var h=a.getElementClientRect(f);l=n.clientX<h.left+u.margin,r=n.clientY<h.top+u.margin,s=n.clientX>h.right-u.margin,c=n.clientY>h.bottom-u.margin}u.x=s?1:l?-1:0,u.y=c?1:r?-1:0,u.isScrolling||(u.margin=d.margin,u.speed=d.speed,u.start(t))}}};s.signals.on("stop-active",function(){u.stop()}),s.signals.on("action-move",u.onInteractionMove),c.perAction.autoScroll=u.defaults,t.exports=u},{"./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"),c=s.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=c(function(e){return this._backCompatOption("ignoreFrom",e)},"Interactable.ignoreForm() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),r.prototype.allowFrom=c(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,c=0;c<i.names.length;c++){var u=i.names[c];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[u].mouseButtons))&&(s=i[u].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"),c=e("../scope"),u=e("../utils"),l=e("../utils/Signals").new();e("./InteractableMethods");var d={signals:l,withinInteractionLimit:v,maxInteractions:1/0,defaults:{perAction:{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}},setActionDefaults:function(e){u.extend(e.defaults,d.defaults.perAction)},validateAction:f};function f(e,t,n,r){return u.is.object(e)&&t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&v(t,n,e)?e:null}function h(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var c=r[a],u=i[a],l=f(c.getAction(t,n,e,u),c,u,o);if(l)return{action:l,target:c,element:u}}return{}}function p(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;u.is.element(a);){i=[],o=[],c.interactables.forEachMatch(a,s);var l=h(e,t,n,i,o,r);if(l.action&&!l.target.options[l.action.name].manualStart)return l;a=u.parentNode(a)}return{}}function m(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,u.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 v(e,t,n){var r=e.options,i=r[n.name].max,o=r[n.name].maxPerElement,a=0,s=0,u=0;if(i&&o&&d.maxInteractions){for(var l=0;l<c.interactions.length;l++){var f=c.interactions[l],h=f.prepared.name;if(f.interacting()){if(++a>=d.maxInteractions)return!1;if(f.target===e){if((s+=h===n.name|0)>=i)return!1;if(f.element===t&&(u++,h!==n.name||u>=o))return!1}}}return d.maxInteractions>0}}o.signals.on("down",function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;if(!t.interacting()){var o=p(t,n,r,i);m(t,o)}}),o.signals.on("move",function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;if("mouse"===t.pointerType&&!t.pointerIsDown&&!t.interacting()){var o=p(t,n,r,i);m(t,o)}}),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||!v(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,n=t.target;n&&n.options.styleCursor&&(n._doc.documentElement.style.cursor="")}),r.maxInteractions=function(e){return u.is.number(e)?(d.maxInteractions=e,r):d.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,u.extend(s.perAction,d.defaults.perAction),t.exports=d},{"../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"),s=a.parentNode;r.setActionDefaults(e("../actions/drag")),r.signals.on("before-start",function(e){var t=e.interaction,n=e.eventTarget,a=e.dx,c=e.dy;if("drag"===t.prepared.name){var u=Math.abs(a),l=Math.abs(c),d=t.target.options.drag,f=d.startAxis,h=u>l?"x":u<l?"y":"xy";if(t.prepared.axis="start"===d.lockAxis?h[0]:d.lockAxis,"xy"!==h&&"xy"!==f&&f!==h){t.prepared.name=null;for(var p=n,m=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,p,n)){var o=e.getAction(t.downPointer,t.downEvent,t,p);if(o&&"drag"===o.name&&function(e,t){if(!t)return!1;var n=t.options.drag.startAxis;return"xy"===e||"xy"===n||n===e}(h,e)&&r.validateAction(o,e,p,n))return e}}};o.element(p);){var v=i.interactables.forEachMatch(p,m);if(v){t.prepared.name="drag",t.target=v,t.element=p;break}p=s(p)}}}})},{"../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,n=o(t);n>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 c(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 function(){c(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)}.apply(e)},e.boundSmoothEndFrame=function(){return function(){c(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)}.apply(e)}}),i.signals.on("down",function(e){var t=e.interaction,n=e.event,c=e.pointer,u=e.eventTarget,l=t.inertiaStatus;if(l.active)for(var d=u;a.is.element(d);){if(d===t.element){s.cancel(l.i),l.active=!1,t.simulation=null,t.updatePointer(c),a.setCoords(t.curCoords,t.pointers);var f={interaction:t};i.signals.fire("before-action-move",f),i.signals.fire("action-resume",f);var h=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(h),t.prevEvent=h,o.resetStatuses(t.modifierStatuses),a.copyCoords(t.prevCoords,t.curCoords);break}d=a.parentNode(d)}}),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,u=c&&c.options,l=u&&t.prepared.name&&u[t.prepared.name].inertia,d=(new Date).getTime(),f={},h=a.extend({},t.curCoords.page),p=t.pointerDelta.client.speed,m=!1,v=void 0,g=l&&l.enabled&&"gesture"!==t.prepared.name&&n!==i.startEvent,y=g&&d-t.curCoords.timeStamp<50&&p>l.minSpeed&&p>l.endSpeed,b={interaction:t,pageCoords:h,statuses:f,preEnd:!0,requireEndOnly:!0};g&&!y&&(o.resetStatuses(f),(v=o.setAll(b)).shouldMove&&v.locked&&(m=!0)),(y||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=l.allowResume,t.simulation=i,c.fire(i.startEvent),y?(i.vx0=t.pointerDelta.client.vx,i.vy0=t.pointerDelta.client.vy,i.v0=p,function(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}(t,i),a.extend(h,t.curCoords.page),h.x+=i.xe,h.y+=i.ye,o.resetStatuses(f),v=o.setAll(b),i.modifiedXe+=v.dx,i.modifiedYe+=v.dy,i.i=s.request(t.boundInertiaFrame)):(i.smoothEnd=!0,i.xe=v.dx,i.ye=v.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"),c=e("./Interaction"),u={};function l(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=u),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 c=e[r];l.on(c,t,n)}return l}if(o.is.object(e)){for(var d in e)l.on(d,e[d],t);return l}return o.contains(s.eventTypes,e)?u[e]?u[e].push(t):u[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 c=e[r];l.off(c,t,n)}return l}if(o.is.object(e)){for(var d in e)l.off(d,e[d],t);return l}if(o.contains(s.eventTypes,e)){var f=void 0;e in u&&-1!==(f=u[e].indexOf(t))&&u[e].splice(f,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)?(c.pointerMoveTolerance=e,l):c.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"),c=e("./utils/browser"),u=e("./utils/domUtils"),l=u.nodeContains,d=u.matchesSelector;function f(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)&&!c.isIOS||/^(mouse|pointer|touch)*(down|start)/i.test(e.type)||a.element(e.target)&&d(e.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *"))||e.preventDefault())};for(var h=["down","move","up","cancel"],p=0;p<h.length;p++){var m=h[p];i.signals.on(m,f)}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 c=0;c<a.names.length;c++){var u=a.names[c];e.options=r.options[t.prepared.name][u],e.options&&(t.modifierOffsets[u]=a[u].setOffset(e))}},setAll:function(e){var t=e.interaction,n=e.statuses,r=e.preEnd,i=e.requireEndOnly,c={dx:0,dy:0,changed:!1,locked:!1,shouldMove:!0};e.modifiedCoords=o({},e.pageCoords);for(var u=0;u<a.names.length;u++){var l=a.names[u],d=a[l],f=t.target.options[t.prepared.name][l];s(f,r,i)&&(e.status=e.status=n[l],e.options=f,e.offset=e.interaction.modifierOffsets[l],d.set(e),e.status.locked&&(e.modifiedCoords.x+=e.status.dx,e.modifiedCoords.y+=e.status.dy,c.dx+=e.status.dx,c.dy+=e.status.dy,c.locked=!0))}return c.shouldMove=!e.status||!c.locked||e.status.changed,c},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],o=t.target.options[t.prepared.name][i];if(s(o,!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 c=a[s];r.status=n.modifierStatuses[s],t[s]=c.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),c=s(o.restriction,n,a);if(!c)return r;r.dx=0,r.dy=0,r.locked=!1;var u=c,l=a.x,d=a.y,f=n.modifierOffsets.restrict;"x"in c&&"y"in c?(l=Math.max(Math.min(u.x+u.width-f.right,a.x),u.x+f.left),d=Math.max(Math.min(u.y+u.height-f.bottom,a.y),u.y+f.top)):(l=Math.max(Math.min(u.right-f.right,a.x),u.left+f.left),d=Math.max(Math.min(u.bottom-f.bottom,a.y),u.top+f.top)),r.dx=l-a.x,r.dy=d-a.y,r.changed=r.modifiedX!==l||r.modifiedY!==d,r.locked=!(!r.dx&&!r.dy),r.modifiedX=l,r.modifiedY=d},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"),c=e("./restrict"),u=c.getRestrictionRect,l={top:1/0,left:1/0,bottom:-1/0,right:-1/0},d={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,c=n.prepared.linkedEdges||n.prepared.edges;if(n.interacting()&&c){var f=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),h=o.xywhToTlbr(u(s.inner,n,f))||l,p=o.xywhToTlbr(u(s.outer,n,f))||d,m=f.x,v=f.y;r.dx=0,r.dy=0,r.locked=!1,c.top?v=Math.min(Math.max(p.top+a.top,f.y),h.top+a.top):c.bottom&&(v=Math.max(Math.min(p.bottom-a.bottom,f.y),h.bottom-a.bottom)),c.left?m=Math.min(Math.max(p.left+a.left,f.x),h.left+a.left):c.right&&(m=Math.max(Math.min(p.right-a.right,f.x),h.right-a.right)),r.dx=m-f.x,r.dy=v-f.y,r.changed=r.modifiedX!==m||r.modifiedY!==v,r.locked=!(!r.dx&&!r.dy),r.modifiedX=m,r.modifiedY=v}},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:l,noOuter:d,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"),c=e("../actions/resize"),u={width:-1/0,height:-1/0},l={width:1/0,height:1/0},d={defaults:{enabled:!1,endOnly:!1,min:null,max:null},setOffset:function(e){var t=e.interaction;return t.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),c=a.tlbrToXywh(i.getRestrictionRect(n.min,t))||u,d=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-c.height,e.options.outer.top=s.bottom-d.height):r.bottom&&(e.options.inner.bottom=s.top+c.height,e.options.outer.bottom=s.top+d.height),r.left?(e.options.inner.left=s.right-c.width,e.options.outer.left=s.right-d.width):r.right&&(e.options.inner.right=s.left+c.width,e.options.outer.right=s.left+d.width),i.set(e)}},modifyCoords:i.modifyCoords};r.restrictSize=d,r.names.push("restrictSize"),s.perAction.restrictSize=d.defaults,c.defaults.restrictSize=d.defaults,t.exports=d},{"../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,c=[],u=o.rectToXY(o.resolveRectLike(s.origin)),l=u||o.getOriginXY(n,r,t.prepared.name);s=s||n.options[t.prepared.name].snap||{};var d=void 0;if("startCoords"===s.offset)d={x:t.startCoords.page.x-l.x,y:t.startCoords.page.y-l.y};else{var f=o.resolveRectLike(s.offset,n,r,[t]);d=o.rectToXY(f)||{x:0,y:0}}if(i&&s.relativePoints&&s.relativePoints.length)for(var h=0;h<s.relativePoints.length;h++){var p=s.relativePoints[h],m=p.x,v=p.y;c.push({x:a.left-i.width*m+d.x,y:a.top-i.height*v+d.y})}else c.push(d);return c},set:function(e){var t=e.interaction,n=e.modifiedCoords,r=e.status,i=e.options,a=e.offset,s=[],c=void 0,u=void 0,l=void 0;if(r.useStatusXY)u={x:r.x,y:r.y};else{var d=o.getOriginXY(t.target,t.element,t.prepared.name);(u=o.extend({},n)).x-=d.x,u.y-=d.y}r.realX=u.x,r.realY=u.y;for(var f=i.targets?i.targets.length:0,h=0;h<a.length;h++)for(var p=a[h],m=p.x,v=p.y,g=u.x-m,y=u.y-v,b=0;b<(i.targets||[]).length;b++){var _=(i.targets||[])[b];(c=o.is.function(_)?_(g,y,t):_)&&s.push({x:o.is.number(c.x)?c.x+m:g,y:o.is.number(c.y)?c.y+v:y,range:o.is.number(c.range)?c.range:i.range})}var w={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0};for(l=0,f=s.length;l<f;l++){var x=(c=s[l]).range,k=c.x-u.x,E=c.y-u.y,S=o.hypot(k,E),T=S<=x;x===1/0&&w.inRange&&w.range!==1/0&&(T=!1),w.target&&!(T?w.inRange&&x!==1/0?S/x<w.distance/w.range:x===1/0&&w.range!==1/0||S<w.distance:!w.inRange&&S<w.distance)||(w.target=c,w.distance=S,w.range=x,w.inRange=T,w.dx=k,w.dy=E,r.range=x)}var C=void 0;w.target?(C=r.modifiedX!==w.target.x||r.modifiedY!==w.target.y,r.modifiedX=w.target.x,r.modifiedY=w.target.y):(C=!0,r.modifiedX=NaN,r.modifiedY=NaN),r.dx=w.dx,r.dy=w.dy,r.changed=C||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),c=Math.round((n-a)/e.y),u=Math.max(r.left,Math.min(r.right,s*e.x+i)),l=Math.max(r.top,Math.min(r.bottom,c*e.y+a));return{x:u,y:l,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/"),c={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),c=a.x-r[0].x,u=a.y-r[0].y;e.options=s.extend({},n),e.options.targets=[];for(var l=0;l<(n.targets||[]).length;l++){var d=(n.targets||[])[l],f=void 0;(f=s.is.function(d)?d(c,u,t):d)&&("width"in f&&"height"in f&&(f.x=f.width,f.y=f.height),e.options.targets.push(f))}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=c,r.names.push("snapSize"),o.perAction.snapSize=c.defaults,a.defaults.snapSize=c.defaults,t.exports=c},{"../actions/resize":10,"../defaultOptions":18,"../utils/":44,"./base":23,"./snap":27}],29:[function(e,t,n){"use strict";var r=e("../utils/pointerUtils");t.exports=function(){function e(t,n,i,o,a){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.pointerExtend(this,i),i!==n&&r.pointerExtend(this,n),this.interaction=a,this.timeStamp=(new Date).getTime(),this.originalEvent=i,this.type=t,this.pointerId=r.getPointerId(n),this.pointerType=r.getPointerType(n),this.target=o,this.currentTarget=null,"tap"===t){var s=a.getPointerIndex(n);this.dt=this.timeStamp-a.downTimes[s];var c=this.timeStamp-a.tapTime;this.double=!!(a.prevTap&&"doubletap"!==a.prevTap.type&&a.prevTap.target===this.target&&c<500)}else"doubletap"===t&&(this.dt=n.timeStamp-a.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(),c=["down","up","cancel"],u=["down","up","cancel"],l={PointerEvent:r,fire:d,collectEventTargets:f,signals:s,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:["down","move","up","cancel","tap","doubletap","hold"]};function d(e){for(var t=e.interaction,n=e.pointer,i=e.event,a=e.eventTarget,c=e.type,u=void 0===c?e.pointerEvent.type:c,l=e.targets,h=void 0===l?f(e):l,p=e.pointerEvent,m=void 0===p?new r(u,n,i,a,t):p,v={interaction:t,pointer:n,event:i,eventTarget:a,targets:h,type:u,pointerEvent:m},g=0;g<h.length;g++){var y=h[g];for(var b in y.props||{})m[b]=y.props[b];var _=o.getOriginXY(y.eventable,y.element);if(m.subtractOrigin(_),m.eventable=y.eventable,m.currentTarget=y.element,y.eventable.fire(m),m.addOrigin(_),m.immediatePropagationStopped||m.propagationStopped&&g+1<h.length&&h[g+1].element!==m.currentTarget)break}if(s.fire("fired",v),"tap"===u){var w=m.double?d({interaction:t,pointer:n,event:i,eventTarget:a,type:"doubletap"}):m;t.prevTap=w,t.tapTime=w.timeStamp}return m}function f(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.type,c=t.getPointerIndex(n);if("tap"===a&&(t.pointerWasMoved||!t.downTargets[c]||t.downTargets[c]!==i))return[];for(var u=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:u,targets:[],element:null},d=0;d<u.length;d++){var f=u[d];l.element=f,s.fire("collect-targets",l)}return"hold"===a&&(l.targets=l.targets.filter(function(e){return e.eventable.options.holdDuration===t.holdTimers[c].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),d({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,c=t.holdTimers[a],u=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:u,element:null},f=0;f<u.length;f++){var h=u[f];l.element=h,s.fire("collect-targets",l)}if(l.targets.length){for(var p=1/0,m=0;m<l.targets.length;m++){var v=l.targets[m],g=v.eventable.options.holdDuration;g<p&&(p=g)}c.duration=p,c.timeout=setTimeout(function(){d({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})},p)}}),i.signals.on("up",function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.pointerWasMoved||d({interaction:t,eventTarget:i,pointer:n,event:r,type:"tap"})});for(var h=["up","cancel"],p=0;p<h.length;p++){var m=h[p];i.signals.on(m,function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]&&clearTimeout(t.holdTimers[n].timeout)})}function v(e){return function(t){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;d({interaction:n,eventTarget:o,pointer:r,event:i,type:e})}}for(var g=0;g<c.length;g++)i.signals.on(c[g],v(u[g]));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",c),r.signals.on("fired",u);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,l)}function c(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function u(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:c,onFired:u,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"),c=e("../utils/arr"),u=c.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 l=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=l.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"),s=a.getWindow,c={signals:o,events:i,utils:r,document:e("./utils/domObjects").document,documents:[],addDocument:function(e,t){if(r.contains(c.documents,e))return!1;t=t||s(e),c.documents.push(e),i.documents.push(e),e!==c.document&&i.add(t,"unload",c.onWindowUnload),o.fire("add-document",{doc:e,win:t})},removeDocument:function(e,t){var n=c.documents.indexOf(e);t=t||s(e),i.remove(t,"unload",c.onWindowUnload),c.documents.splice(n,1),i.documents.splice(n,1),o.fire("remove-document",{win:t,doc:e})},onWindowUnload:function(){c.removeDocument(this.document,this)}};t.exports=c},{"./utils":44,"./utils/Signals":34,"./utils/domObjects":38,"./utils/events":40,"./utils/window":52}],34:[function(e,t,n){"use strict";var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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++){var i=n[r];if(!1===i(t,e))return}},e}();r.new=function(){return new r},t.exports=r},{}],35:[function(e,t,n){"use strict";t.exports={contains:function(e,t){return-1!==e.indexOf(t)},merge:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}}},{}],36:[function(e,t,n){"use strict";var r=e("./window"),i=r.window,o=e("./is"),a=e("./domObjects"),s=a.Element,c=i.navigator,u={supportsTouch:!!("ontouchstart"in i||o.function(i.DocumentTouch)&&a.document instanceof i.DocumentTouch),supportsPointerEvent:!!a.PointerEvent,isIOS:/iP(hone|od|ad)/.test(c.platform),isIOS7:/iP(hone|od|ad)/.test(c.platform)&&/OS 7[^\d]/.test(c.appVersion),isIe9:/MSIE 9/.test(c.userAgent),prefixedMatchesSelector:"matches"in s.prototype?"matches":"webkitMatchesSelector"in s.prototype?"webkitMatchesSelector":"mozMatchesSelector"in s.prototype?"mozMatchesSelector":"oMatchesSelector"in s.prototype?"oMatchesSelector":"msMatchesSelector",pEventTypes:a.PointerEvent?a.PointerEvent===i.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 a.document?"mousewheel":"wheel"};u.isOperaMobile="Opera"===c.appName&&u.supportsTouch&&c.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,c=void 0,u=void 0,l=void 0;for(u=1;u<e.length;u++)if((r=e[u])&&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 d=[n[l-1],n[l],t[l]];for(c=d[0].lastChild;c;){if(c===d[1]){i=r,o=u,t=[];break}if(c===d[2])break;c=c.previousSibling}}else i=r,o=u}else i=r,o=u;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"),c=e("./window"),u=c.window,l=e("./arr"),d=l.contains,f=[],h=[],p={},m=[],v=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function g(e,t,n,r){var i=x(r),o=f.indexOf(e),a=h[o];a||(a={events:{},typeCount:0},o=f.push(e)-1,h.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),d(a.events[t],n)||(e.addEventListener(t,n,v?i:!!i.capture),a.events[t].push(n))}function y(e,t,n,r){var i=x(r),o=f.indexOf(e),a=h[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var c=0;c<s;c++)y(e,t,a.events[t][c],i);return}for(var u=0;u<s;u++)if(a.events[t][u]===n){e.removeEventListener("on"+t,n,v?i:!!i.capture),a.events[t].splice(u,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(h.splice(o,1),f.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&y(e,t,"all")}function b(e,t){var n=x(t),r={},c=p[e.type],u=a.getEventTargets(e),l=u[0],d=l;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(d);){for(var f=0;f<c.selectors.length;f++){var h=c.selectors[f],m=c.contexts[f];if(o.matchesSelector(d,h)&&o.nodeContains(m,l)&&o.nodeContains(m,d)){var v=c.listeners[f];r.currentTarget=d;for(var g=0;g<v.length;g++){var y=v[g],b=y[0],_=y[1],k=y[2];_===!!n.capture&&k===n.passive&&b(r)}}}d=o.parentNode(d)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function x(e){return i.object(e)?e:{capture:e}}t.exports={add:g,remove:y,addDelegate:function(e,t,n,r,i){var o=x(i);if(!p[n]){p[n]={selectors:[],contexts:[],listeners:[]};for(var a=0;a<m.length;a++){var s=m[a];g(s,n,b),g(s,n,_,!0)}}var c=p[n],u=void 0;for(u=c.selectors.length-1;u>=0&&(c.selectors[u]!==e||c.contexts[u]!==t);u--);-1===u&&(u=c.selectors.length,c.selectors.push(e),c.contexts.push(t),c.listeners.push([])),c.listeners[u].push([r,!!o.capture,o.passive])},removeDelegate:function(e,t,n,r,i){var o=x(i),a=p[n],s=!1,c=void 0;if(a)for(c=a.selectors.length-1;c>=0;c--)if(a.selectors[c]===e&&a.contexts[c]===t){for(var u=a.listeners[c],l=u.length-1;l>=0;l--){var d=u[l],f=d[0],h=d[1],m=d[2];if(f===r&&h===!!o.capture&&m===o.passive){u.splice(l,1),u.length||(a.selectors.splice(c,1),a.contexts.splice(c,1),a.listeners.splice(c,1),y(t,n,b),y(t,n,_,!0),a.selectors.length||(p[n]=null)),s=!0;break}}if(s)break}},delegateListener:b,delegateUseCapture:_,delegatedEvents:p,documents:m,supportsOptions:v,_elements:f,_targets:h}},{"./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,s=a||e.options.origin,c=i(s,e,t,[e&&t]);return o(c)||{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=i.getPointerId(e),s={pointer:e,pointerId:a,pointerType:r,eventType:t,eventTarget:n},c=0;c<o.methodOrder.length;c++){var u=o.methodOrder[c],l=o[u](s);if(l)return l}},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],c=o;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)for(;c;){if(c===s.element)return s;c=i.parentNode(c)}}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 c=r.interactions[s];if(c.pointerType===n){if(c.simulation&&!i.contains(c.pointerIds,t))continue;if(c.interacting())return c;a||(a=c)}}if(a)return a;for(var u=0;u<r.interactions.length;u++){var l=r.interactions[u];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"),c=e("./is"),u=e("./pointerExtend"),l={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&&l.isNativePointer(e)?(l.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):l.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&l.isNativePointer(e)?l.getXY("screen",e,t):l.getXY("client",e,t),t},getPointerId:function(e){return c.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var r=t.length>1?l.pointerAverage(t):t[0],i={};l.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,l.getClientXY(r,i),e.client.x=i.x,e.client.y=i.y,e.timeStamp=c.number(n)?n:(new Date).getTime()},pointerExtend:u,getTouchPair:function(e){var t=[];return c.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=l.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY),i=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,width:i-n,height:o-r}}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",o=l.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=l.getTouchPair(e),a=o[1][r]-o[0][r],s=o[1][i]-o[0][i],c=180*Math.atan2(s,a)/Math.PI;return c},getPointerType:function(e){return c.string(e.pointerType)?e.pointerType:c.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=c.function(e.composedPath)?e.composedPath():e.path;return[a.getActualElement(t?t[0]:e.target),a.getActualElement(e.currentTarget)]}};t.exports=l},{"./browser":36,"./domObjects":38,"./domUtils":39,"./hypot":43,"./is":46,"./pointerExtend":48}],50:[function(e,t,n){"use strict";for(var r=e("./window"),i=r.window,o=["ms","moz","webkit","o"],a=0,s=void 0,c=void 0,u=0;u<o.length&&!i.requestAnimationFrame;u++)s=i[o[u]+"RequestAnimationFrame"],c=i[o[u]+"CancelAnimationFrame"]||i[o[u]+"CancelRequestAnimationFrame"];s||(s=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-a)),r=setTimeout(function(){e(t+n)},n);return a=t+n,r}),c||(c=function(e){clearTimeout(e)}),t.exports={request:s,cancel:c}},{"./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,c=o.getElementRect,u={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=u.getStringOptionResult(e,t,n)||e,i.function(e)&&(e=e.apply(null,r)),i.element(e)&&(e=c(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=u},{"./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)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(7),i=n.n(r),o=n(28),a=n.n(o),s=n(121),c=n.n(s),u=c()(function(e){return e.preventDefault()}),l=c()(function(e){return e.stopPropagation()}),d=i()(l,u);a()(["target","value"])},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ie}),n.d(t,"b",function(){return oe});var r=n(62),i=n(18),o=n.n(i),a=n(27),s=n.n(a),c=n(3),u=n.n(c),l=n(9),d=n(6),f=n(10),h=n(8),p=n(5),m=n(11),v=(n(2244),n(103)),g=n(139),y=n.n(g),b=n(16),_=n.n(b),w=n(206),x=n.n(w),k=n(2),E=n.n(k),S=n(40),T=n.n(S),C=n(35),O=n.n(C),A=n(44),j=n.n(A),N=n(51),M=n.n(N),P=n(47),I=n.n(P),L=n(29),D=n.n(L),R=n(302),F=n.n(R),B=n(30),U=n.n(B),q=n(389),z=n.n(q),H=n(14),W=n.n(H),V=n(1),Y=n.n(V),G=n(189),K=n.n(G),$=n(72),X=n.n($),Q=n(128),Z=n.n(Q),J=n(793),ee=n(1249),te=n(63),ne=n(794),re=n(334),ie=function(t){function n(e){var t,r,i,o,a,s,c,d,m;return Object(l.a)(this,n),(m=Object(f.a)(this,Object(h.a)(n).call(this,e))).state={arrow:{absolute:null,bottom:null,fixed:null,hidden:"prev",opacity:null,top:null},initiating:!0,scroll:{active:!1,auto:!1,end:!1},position:{next:null,prev:null},sidebar:null,slide:{active:!1,current:0,fade:!1,previous:null},style:null,width:{card:null,wrapper:null}},m.handleRestart=u()(t=m.handleRestart).call(t,Object(p.a)(m)),m.handleScroll=u()(r=m.handleScroll).call(r,Object(p.a)(m)),m.renderStep=u()(i=m.renderStep).call(i,Object(p.a)(m)),m.setArrows=u()(o=m.setArrows).call(o,Object(p.a)(m)),m.setHeight=u()(a=m.setHeight).call(a,Object(p.a)(m)),m.setPosition=u()(s=m.setPosition).call(s,Object(p.a)(m)),m.setWidth=u()(c=m.setWidth).call(c,Object(p.a)(m)),m.slideTo=u()(d=m.slideTo).call(d,Object(p.a)(m)),m}return Object(m.a)(n,t),Object(d.a)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.isPreview,n=document.getElementsByClassName("page-wrap")[0];this.container=t?n:window,this.initRef=s()(function(){return e.setState({initiating:!1})},1e3),this.scrollRef=Z()(this.handleScroll,10),window.addEventListener("resize",this.setPosition),this.container.addEventListener("scroll",this.scrollRef),s()(this.setPosition,0),s()(this.handleScroll,0)}},{key:"componentDidUpdate",value:function(e){this.props.menuOpen!==e.menuOpen&&(this.resizeRef=s()(this.setPosition,300))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.initRef),clearTimeout(this.resizeRef),clearTimeout(this.slideRef),clearTimeout(this.afterSlideRef),clearTimeout(this.arrowAnimRef),window.removeEventListener("resize",this.setPosition),this.container.removeEventListener("scroll",this.scrollRef)}},{key:"handleRestart",value:function(){var e=this,t=this.props,n=t.getScrollTop,r=t.steps,i=n(),o=Object(v.findDOMNode)(this.refs["slide-0"]).offsetHeight,a=this.container===window?"body, html":this.container,c=U()(this.state.arrow,{hidden:"prev"}),u=U()(this.state.scroll),l={active:!1,auto:!1,end:!1},d=U()(this.state.slide,{fade:!0}),f={active:!1,current:0,fade:!0,previous:r.length-1},h=U()(f,{fade:!1}),p=function(){e.setState({scroll:l,slide:f}),e.afterSlideRef=s()(e.setArrows,300)};this.setState({scroll:u({auto:!0}),slide:d,style:{height:o}},function(){y()(a).stop().animate({scrollTop:i},300,p)}),this.slideRef=s()(function(){return e.setState({slide:h})},700),this.arrowAnimRef=s()(function(){return e.setState({arrow:c})},300)}},{key:"handleScroll",value:function(){var e=this.state,t=e.arrow,n=e.scroll,r=e.slide.current,i="prev"===t.hidden?"next":"prev",o=Object(v.findDOMNode)(this.refs["slide-".concat(r)]),a=Object(v.findDOMNode)(this.refs["arrow-".concat(i)]),s=a&&a.firstChild||null;if(!n.auto&&o&&s){var c=o.getBoundingClientRect(),u=c.height,l=c.top,d=s.getBoundingClientRect().top,f=460-u,h=.005*(l-f+200),p=U()(n),m=U()(t);l<80&&l>f?this.setState({scroll:p({active:!0,end:!1})}):l<=f?this.setState({scroll:p({active:!1,end:!0}),arrow:m({opacity:h,top:d})}):this.setState({scroll:p({active:!1,end:!1}),arrow:m({opacity:h,top:d})})}}},{key:"handleSlide",value:function(e){var t=this.props.steps,n=this.state.slide.current,r="next"===e?n+1:n-1;r<=-1||r>=t.length||this.slideTo(r,n)}},{key:"render",value:function(){var t=this,n=this.props,r=n.menuOpen,i=n.steps,a=this.state,s=a.initiating,c=a.sidebar,u=a.slide,l=a.style,d=u.current,f=u.fade,h=i.length,p=d===h-1,m=0===d,v=Math.min(h-22,d-11),g=Math.max(24-d,d+12,23),y=m?0:Math.max(0,v),b=p?h:Math.min(h,g),_=K()(y,b,i),w=h<23?_:z()(i[0],_),x=E()("process-block",{"process-block--with-sidebar":r&&c>0}),k={className:E()("process-block__inner",{"process-block__inner--fade":f||s}),ref:function(e){return t.inner=e},style:l};return e.createElement("div",{className:x},e.createElement("div",k,this.renderArrow("prev"),p?o()(w).call(w,this.renderStep):o()(_).call(_,this.renderStep),this.renderArrow("next")))}},{key:"renderArrow",value:function(t){var n,i=this.state,o=i.arrow,a=i.scroll,s=i.sidebar,c=i.slide,l=this.props,d=l.menuOpen,f=l.steps,h=this.container&&this.container!==window,p=f.length>1?o.hidden:"both",m=Object(r.a)({},o,{hidden:p,isSliding:c.active,offset:h?this.container.offsetWidth-this.container.clientWidth:0,onClick:u()(n=this.handleSlide).call(n,this,t),opacity:o.opacity>=0?o.opacity:0,ref:"arrow-".concat(t),scroll:a,sidebar:d?s:0,type:t});return e.createElement(ee.a,m)}},{key:"renderStep",value:function(t){var n,r=t.description,i=t.id,o=t.index,a=t.media,s=t.title,c=t.type,l=this.props,d=l.blockId,f=l.enableVideoPlaybackSpeed,h=l.entered,p=l.labels,m=l.settings,v=l.steps,g=this.state,y=g.initiating,b=g.position,_=g.slide,w=g.width,x=_.current,k=_.fade,E=_.previous,S=w.card,T=w.wrapper,C=function(e){return!D()(M()(W()("type",e),v))},O=C("intro"),A=C("summary"),N=O?o:o+1,P=j()(W()("type","step"),v).length+1,I={blockId:d,current:x,description:r,enableVideoPlaybackSpeed:f,entered:h,fade:k,hasNavigation:v.length>1,id:i,index:o,initiating:y,key:o,labels:p,media:a,onMediaLoad:this.setHeight,onNextClick:u()(n=this.handleSlide).call(n,this,"next"),onRestartClick:this.handleRestart,number:N,position:b,previous:E,ref:"slide-".concat(o),settings:m,title:s,type:c,width:S,wrapperWidth:T},L={current:x,hasSummary:A,isFirst:!O,length:P,slideTo:this.slideTo};return e.createElement(J.a,I,e.createElement(ne.a,L))}},{key:"setArrows",value:function(){var e=this.state,t=e.arrow,n=t.hidden,r=t.opacity,i=e.sidebar,o=e.slide.current,a=this.props.menuOpen,s="prev"===n?"next":"prev",c=Object(v.findDOMNode)(this.refs["slide-".concat(o)]),u=Object(v.findDOMNode)(this.refs["arrow-".concat(s)]),l=u&&u.firstChild||null,d=I()(F.a),f=a?i:0,h=window.innerWidth;if(c&&l){var p=c.getBoundingClientRect(),m=p.height,g=p.left,y=p.width,b=l.getBoundingClientRect(),w=b.top,x=(h-y-g)/2-b.width,k=T()([[d(1280+f),_()(x+20)],[d(1350+f),_()(x)],[X.a,_()(g-f-170)]])(h),E=T()([[d(1280+f),_()(x+20)],[d(1350+f),_()(x+40)],[X.a,_()(g-f-130)]])(h);this.setState({arrow:{absolute:k,bottom:m-220,fixed:E,hidden:n,opacity:r,top:w}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=Object(v.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:_.a;n&&this.setState({style:{height:n.offsetHeight}},r)}},{key:"setPosition",value:function(){this.setWidth(),this.setHeight(),this.setArrows()}},{key:"setWidth",value:function(){var e=this.state.slide.current,t=this.inner,n=Object(v.findDOMNode)(this.refs["slide-".concat(e)]),r=this.container&&this.container!==window?this.container.getBoundingClientRect().left:0,i=n&&n.offsetWidth||0,o=t&&t.offsetWidth||0,a=t&&n,s=a&&(o-i)/2+i/2,c=a&&(o-i)/2+1.5*i,u={card:n&&n.offsetWidth,wrapper:t&&t.offsetWidth},l={prev:c,next:s};t&&n&&this.setState({position:l,sidebar:r,width:u})}},{key:"slideTo",value:function(e,t){var n=this;if(!this.state.slide.active){var r=this.props,i=r.getScrollTop,o=r.onStep,a=r.steps,c=i(),u=Object(v.findDOMNode)(this.refs["slide-".concat(e)]).offsetHeight,l=this.container===window?"body, html":this.container,d=U()(this.state.scroll),f={active:!1,auto:!1,end:!1},h=U()(this.state.arrow),p=U()({current:e,previous:t,fade:!1}),m=a[e],g=T()([[O()(0),_()({hidden:"prev"})],[O()(a.length-1),_()({hidden:"next"})],[X.a,_()({hidden:null})]])(e),b=function(){n.setState({scroll:f}),n.afterSlideRef=s()(n.setArrows,400)};this.setState({scroll:d({auto:!0}),slide:p({active:!0}),style:{height:u}},function(){y()(l).stop().animate({scrollTop:c},300,b)}),this.slideRef=s()(function(){return n.setState({slide:p({active:!1})})},600),this.arrowAnimRef=s()(function(){return n.setState({arrow:h(g)})},300),o&&o(m)}}}],[{key:"propTypes",get:function(){return{blockId:Y.a.string.isRequired,entered:Y.a.bool,getScrollTop:Y.a.func.isRequired,isPreview:Y.a.bool,labels:Y.a.object.isRequired,menuOpen:Y.a.bool,onStep:Y.a.func,settings:Y.a.object.isRequired,steps:Y.a.array.isRequired,visible:Y.a.bool}}}]),n}(e.Component),oe=function(t){function n(e){var t,r,i,o,a,s,c;return Object(l.a)(this,n),(c=Object(f.a)(this,Object(h.a)(n).call(this,e))).state={current:0,fade:!1,height:null,help:!1,helped:!1,initiating:!0,width:null,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},c.handleRestart=u()(t=c.handleRestart).call(t,Object(p.a)(c)),c.preventScroll=u()(r=c.preventScroll).call(r,Object(p.a)(c)),c.renderStep=u()(i=c.renderStep).call(i,Object(p.a)(c)),c.setHeight=u()(o=c.setHeight).call(o,Object(p.a)(c)),c.setPosition=u()(a=c.setPosition).call(a,Object(p.a)(c)),c.setWidth=u()(s=c.setWidth).call(s,Object(p.a)(c)),c}return Object(m.a)(n,t),Object(d.a)(n,[{key:"componentDidMount",value:function(){var e,t,n=this,r=this.props.isPreview,i=document.getElementsByClassName("page-wrap")[0],o=u()(e=this.handleSlide).call(e,this,"prev"),a=u()(t=this.handleSlide).call(t,this,"next"),c=function(){return n.setState({initiating:!1})};this.container=r?i:window,this.swipeEvents=Object(re.a)(this.inner,this,a,o,60),this.initRef=s()(function(){return n.setPosition(c)},500),this.swipeEvents.addListeners(),window.addEventListener("resize",this.setPosition),this.setPosition(),this.showHelp()}},{key:"componentDidUpdate",value:function(e){this.props.menuOpen!==e.menuOpen&&(this.resizeRef=s()(this.setPosition,300))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.initRef),clearTimeout(this.afterSlideRef),clearTimeout(this.slideRef),clearTimeout(this.resizeRef),this.swipeEvents.removeListeners(),window.removeEventListener("resize",this.setPosition)}},{key:"handleRestart",value:function(){var e=this,t=(0,this.props.getScrollTop)(),n=this.container===window?"body, html":this.container,r=this.refs["slide-0"],i=r&&r.firstChild.offsetHeight||null,o=function(){e.preventScroll("end")};this.setState({fade:!0},function(){e.preventScroll("start"),y()(n).stop().animate({scrollTop:t},300,o)}),this.slideRef=s()(function(){return e.setState({current:0,height:i})},300),this.afterSlideRef=s()(function(){return e.setState({fade:!1})},700)}},{key:"handleSlide",value:function(e){var t=this,n=this.props,r=n.getScrollTop,i=n.onStep,o=n.steps,a=this.state.current,s=r(),c="next"===e?a+1:a-1;if(!(c<=-1||c>=o.length)){var u=o[c],l=this.container===window?"body, html":this.container,d=this.refs["slide-".concat(c)],f=d&&d.firstChild.offsetHeight||null,h=function(){t.preventScroll("end"),t.showHelp()};this.setState({current:c,height:f},function(){t.preventScroll("start"),y()(l).stop().animate({scrollTop:s},300,h)}),i&&i(u)}}},{key:"preventScroll",value:function(e){this.container!==window&&("start"===e&&te.a.isMobile?this.container.style.overflowY="hidden":this.container.style.overflowY="")}},{key:"render",value:function(){var t=this,n=this.props.steps,r=this.state,i=r.current,a=r.fade,s=r.height,c=r.initiating,u=n.length,l=i===u-1,d=0===i?0:i-1,f=l?u:i+2,h=K()(d,f,n),p=u<3?h:x()(n[0],h),m={className:E()("process-block-mobile__inner",{"process-block-mobile__inner--fade":a,"process-block-mobile__inner--initiating":c}),ref:function(e){return t.inner=e},style:s?{height:s}:null};return e.createElement("div",{className:"process-block-mobile"},e.createElement("div",m,l?o()(p).call(p,this.renderStep):o()(h).call(h,this.renderStep)))}},{key:"renderStep",value:function(t){var n,r=t.description,i=t.id,o=t.index,a=t.media,s=t.title,c=t.type,l=this.props,d=l.blockId,f=l.enableVideoPlaybackSpeed,h=l.entered,p=l.labels,m=l.settings,v=l.steps,g=l.visible,y=this.state,b=y.current,_=y.help,w=y.helped,x=y.initiating,k=function(e){return!D()(M()(W()("type",e),v))},E=k("intro"),S=k("summary"),T=E?o:o+1,C=j()(W()("type","step"),v).length+1,O={blockId:d,current:b,description:r,enableVideoPlaybackSpeed:f,entered:g&&h,hasNavigation:v.length>1,id:i,index:o,initiating:x,labels:p,media:a,onMediaLoad:this.setHeight,onNextClick:u()(n=this.handleSlide).call(n,this,"next"),onRestartClick:this.handleRestart,number:T,settings:m,showHelp:_&&w,title:s,type:c,width:this.inner&&this.inner.offsetWidth},A={current:b,hasSummary:S,isFirst:!E,length:C};return e.createElement("div",{key:o,ref:"slide-".concat(o)},e.createElement(J.b,O,e.createElement(ne.a,A)))}},{key:"setHeight",value:function(e){var t=this.state.current,n=this.refs["slide-".concat(t)],r=n&&n.firstChild||null,i="function"==typeof e?e:_.a;r&&this.setState({height:r.offsetHeight},i)}},{key:"setPosition",value:function(e){this.setWidth(),this.setHeight(e)}},{key:"setWidth",value:function(){this.setState({width:this.inner.offsetWidth})}},{key:"showHelp",value:function(){var e=this.props.steps,t=this.state,n=t.current,r=t.help,i=t.helped;n!==(!D()(M()(W()("type","intro"),e))?1:0)||r||i?this.setState({help:!1}):this.setState({help:!0,helped:!0})}},{key:"shouldComponentUpdate",value:function(e,t){return e.entered!==this.props.entered||e.menuOpen!==this.props.menuOpen||e.visible!==this.props.visible||t.current!==this.state.current||t.fade!==this.state.fade||t.height!==this.state.height||t.help!==this.state.help||t.helped!==this.state.helped||t.initiating!==this.state.initiating||t.width!==this.state.width||t.xTouchDown!==this.state.xTouchDown||t.xTouchMove!==this.state.xTouchMove||t.yTouchDown!==this.state.yTouchDown||t.yTouchMove!==this.state.yTouchMove}}],[{key:"propTypes",get:function(){return{blockId:Y.a.string.isRequired,entered:Y.a.bool,getScrollTop:Y.a.func.isRequired,isPreview:Y.a.bool,menuOpen:Y.a.bool,onStep:Y.a.func,settings:Y.a.object.isRequired,steps:Y.a.array.isRequired,visible:Y.a.bool}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return B}),n.d(t,"b",function(){return U});var r=n(23),i=n(4),o=n.n(i),a=n(15),s=n(9),c=n(6),u=n(10),l=n(8),d=n(11),f=(n(2245),n(16)),h=n.n(f),p=n(26),m=n.n(p),v=n(2),g=n.n(v),y=n(48),b=n.n(y),_=n(40),w=n.n(_),x=n(223),k=n.n(x),E=n(29),S=n.n(E),T=n(265),C=n.n(T),O=n(116),A=n.n(O),j=n(1),N=n.n(j),M=n(72),P=n.n(M),I=n(34),L=n(17),D=n(38),R=n(25),F=n(209),B=function(t){function n(){return Object(s.a)(this,n),Object(u.a)(this,Object(l.a)(n).apply(this,arguments))}return Object(d.a)(n,t),Object(c.a)(n,[{key:"render",value:function(){var t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.fade,s=t.hasNavigation,c=t.index,u=t.initiating,l=t.media,d=t.position,f=d.next,p=d.prev,m=t.previous,v=t.title,y=t.type,_=!S()(p)&&!S()(f),x=b()("process-card__"),E=g()("process-card",{"process-card--initiating":u,"process-card--entered":o,"process-card--intro":"intro"===y,"process-card--summary":"summary"===y,"process-card--active":r===c,"process-card--prev-active":m===c,"process-card--next":r+1===c,"process-card--prev":r-1===c,"process-card--slide-fade":a}),T=w()([[k()(c),h()({transform:"translate3d(".concat(f,"px, 0px, 0px)")})],[C()(c),h()({transform:"translate3d(-".concat(p,"px, 0px, 0px)")})],[P.a,h()(null)]])(r),O={className:E,style:_?T:null};return e.createElement("div",O,e.createElement("div",{className:"process-card__inner"},e.createElement("div",null,"step"===y&&Y(this.props,x),v&&G(this.props,x),l&&H(this.props,x),i&&q(this.props,x),s&&"intro"===y&&V(this.props,x),"intro"!==y&&n,s&&"summary"===y&&W(this.props,x))))}},{key:"shouldComponentUpdate",value:function(e){if(e.current!==this.props.current||e.fade!==this.props.fade||e.initiating!==this.props.initiating||e.position!==this.props.position||e.previous!==this.props.previous||e.settings!==this.props.settings)return!0;var t=e.current,n=e.index,r=e.entered!==this.props.entered;return t===n&&r}}],[{key:"propTypes",get:function(){return{blockId:N.a.string.isRequired,children:N.a.node,current:N.a.number.isRequired,description:N.a.string,enableVideoPlaybackSpeed:N.a.bool,entered:N.a.bool,fade:N.a.bool,hasNavigation:N.a.bool,index:N.a.any.isRequired,initiating:N.a.bool,media:N.a.object,onMediaLoad:N.a.func,onNextClick:N.a.func.isRequired,onRestartClick:N.a.func.isRequired,number:N.a.number,position:N.a.object.isRequired,previous:N.a.number,settings:N.a.object.isRequired,title:N.a.string,type:N.a.oneOf(["intro","step","summary"])}}}]),n}(e.Component),U=function(t){function n(){return Object(s.a)(this,n),Object(u.a)(this,Object(l.a)(n).apply(this,arguments))}return Object(d.a)(n,t),Object(c.a)(n,[{key:"render",value:function(){var t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.hasNavigation,s=t.index,c=t.initiating,u=t.media,l=t.title,d=t.type,f=t.width,p=w()([[k()(s),h()({transform:"translate3d(".concat(f,"px, 0px, 0px)")})],[C()(s),h()({transform:"translate3d(-".concat(f,"px, 0px, 0px)")})],[P.a,h()(null)]])(r),m=g()("process-card-mobile",{"process-card-mobile--entered":o,"process-card-mobile--intro":"intro"===d,"process-card-mobile--summary":"summary"===d,"process-card-mobile--active":r===s,"process-card-mobile--initiating":c}),v=b()("process-card-mobile__");return e.createElement("div",{className:m,style:p},e.createElement("div",{className:"process-card-mobile__inner"},e.createElement("div",null,"step"===d&&Y(this.props,v),l&&G(this.props,v),u&&H(this.props,v),i&&q(this.props,v),a&&"intro"===d&&V(this.props,v),"intro"!==d&&n,a&&"summary"===d&&W(this.props,v),z(this.props,v))))}},{key:"shouldComponentUpdate",value:function(e){if(e.current!==this.props.current||e.initiating!==this.props.initiating||e.width!==this.props.width)return!0;var t=e.current,n=e.index,r=e.entered!==this.props.entered||e.showHelp!==this.props.showHelp;return t===n&&r}}],[{key:"propTypes",get:function(){return{blockId:N.a.string.isRequired,children:N.a.node,current:N.a.number.isRequired,description:N.a.string,enableVideoPlaybackSpeed:N.a.bool,entered:N.a.bool,hasNavigation:N.a.bool,id:N.a.string.isRequired,index:N.a.any.isRequired,initiating:N.a.bool.isRequired,labels:N.a.object.isRequired,media:N.a.object,onMediaLoad:N.a.func,onNextClick:N.a.func.isRequired,onRestartClick:N.a.func.isRequired,number:N.a.number,settings:N.a.object.isRequired,showHelp:N.a.bool,title:N.a.string,type:N.a.oneOf(["intro","step","summary"]),width:N.a.number}}}]),n}(e.Component),q=function(t,n){var r=t.current,i=t.description,o=t.index;return e.createElement(D.a,{allowTabNavigation:r===o,className:"".concat(n("description")," brand--body"),value:i})},z=function(t,n){var r=t.current,i=t.index,o=t.labels,s=t.showHelp,c=o.processSwipe,u=g()(n("help"),Object(a.a)({},"".concat(n("help"),"--show"),r===i&&s));return e.createElement("div",{className:u},e.createElement("span",null,c," ",e.createElement(I.f,null)))},H=function(t,n){var r,i,a=t.blockId,s=t.current,c=t.enableVideoPlaybackSpeed,u=t.id,l=t.index,d=t.media,f=t.onMediaLoad,p=t.settings.zoomOnClick,v=s===l,g=A()(m()("pause",!0),d);return e.createElement("div",{className:n("media")},e.createElement(F.a,{allowTabNavigation:v,enableVideoPlaybackSpeed:c,hasPadding:!1,index:o()(r=o()(i="".concat(a,"-")).call(i,u,"-")).call(r,l),media:v?d:g,onLoad:v&&f?f:h.a,opts:{disableZoom:!p}}))},W=function(t,n){var r=t.current,i=t.index,o=t.labels,a=t.onRestartClick,s=o.processStartAgain,c=r===i?L.a:L.i,u={className:"".concat(n("restart")," brand--color"),onClick:a,onKeyDown:Object(R.a)(a),role:"button",tabIndex:c};return e.createElement("div",u,e.createElement("span",null,s),e.createElement("i",{className:"icon icon-reload"}))},V=function(t,n){var i=t.current,o=t.index,a=t.labels,s=t.onNextClick,c=a.processStart,u=i===o?L.a:L.i,l={className:"".concat(n("button")," brand--background"),onClick:s,onKeyDown:Object(R.a)(s),role:"button",tabIndex:u};return e.createElement("button",Object(r.a)({},l,{type:"button"}),e.createElement("span",null,c," ",e.createElement(I.f,null)))},Y=function(t,n){var r,i=t.labels,a=t.number,s=t.settings,c=i.processStepName,u=s.stepLabel||c;return e.createElement("div",{className:"".concat(n("number")," brand--background brand--head")},e.createElement("p",null,o()(r="".concat(u," ")).call(r,a)))},G=function(t,n){return e.createElement("div",{className:"".concat(n("title")," brand--head")},e.createElement("h2",null,t.title))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return M});var r=n(3),i=n.n(r),o=n(18),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(11),f=(n(2247),n(16)),h=n.n(f),p=n(2),m=n.n(p),v=n(40),g=n.n(v),y=n(480),b=n.n(y),_=n(29),w=n.n(_),x=n(302),k=n.n(x),E=n(1),S=n.n(E),T=n(474),C=n.n(T),O=n(72),A=n.n(O),j=n(34),N=n(63),M=function(t){function n(){return Object(s.a)(this,n),Object(u.a)(this,Object(l.a)(n).apply(this,arguments))}return Object(d.a)(n,t),Object(c.a)(n,[{key:"getCounterPosition",value:function(){var e=this.props,t=e.current,n=e.isFirst,r=e.length,i=n?t+1:t,o=this.refs["item-".concat(i)],a=this.refs["item-".concat(r)];if(!this.counter||!o||!a)return{lastItemPosition:null,position:null,width:null};var s=this.getItemPosition(),c=a.offsetLeft+5,u=o.offsetWidth,l=this.counter.offsetWidth,d=s-l/2+u/2,f=c-l+u/2;return{lastItemPosition:c,position:g()([[b()(l/2),h()(0)],[k()(c-l/2),h()(f)],[A.a,h()(d)]])(s),width:l}}},{key:"getItemPosition",value:function(){var e=this.props,t=e.current,n=e.isFirst?t+1:t,r=this.refs["item-".concat(n)];return r?n>=10?r.offsetLeft+3:r.offsetLeft:null}},{key:"handleSlide",value:function(e){var t=this.props,n=t.current,r=t.isFirst;(0,t.slideTo)(r?e-1:e,n)}},{key:"render",value:function(){var t,n,r=this,o=this.props,s=o.hasSummary,c=o.length,u=this.getCounterPosition(),l=u.lastItemPosition,d=u.position,f=u.width,h=this.getItemPosition(),p=s?c+1:c,v=m()("process-counter",{"process-counter--overflow-before":d>0,"process-counter--overflow-after":l>d+f}),g={transform:"translate3d(-".concat(d,"px, 0px, 0px)")},y={opacity:1,transform:"translate3d(".concat(h,"px, 0px, 0px)")},b={className:"process-counter__inner",style:!w()(d)&&d>0?g:{transform:"translate3d(0px, 0px, 0px)"},ref:function(e){return r.counter=e}},_={className:"process-counter__active brand--border",style:w()(h)?null:y};return e.createElement("div",{className:v},e.createElement("div",b,e.createElement("div",_),a()(t=C()(1,p)).call(t,i()(n=this.renderItem).call(n,this))))}},{key:"renderItem",value:function(t){var n,r=this.props,o=r.current,a=r.hasSummary,s=r.length,c=a&&t===s,u=r.isFirst?o+1:o,l=N.a.isMobile,d={className:m()("process-counter__item",{"process-counter__item--active":t===u,"process-counter__item--double":t>=10,"process-counter__item--disabled":l}),onClick:!l&&i()(n=this.handleSlide).call(n,this,t),key:t,ref:"item-".concat(t)};return e.createElement("div",d,e.createElement("span",null,c?e.createElement(j.d,null):t))}}],[{key:"propTypes",get:function(){return{current:S.a.number.isRequired,hasSummary:S.a.bool,isFirst:S.a.bool,length:S.a.number.isRequired,slideTo:S.a.func}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var i=void 0;function o(){return void 0===i&&(i=function(){if(!r)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}()),i}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(){return 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]}}(),s.prototype.handleEvent=function(){return function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach(function(e){e&&e(n)})}}(),s.prototype.add=function(){return function(e,t,n){var r=this,i=this.getEventHandlers(e,n);a(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,a(i);var s=i.nextHandlers.indexOf(t);i.nextHandlers.splice(s,1),0===i.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,i.handleEvent,n),i.handleEvent=void 0)}}}}();var c="__consolidated_events_handlers__";function u(e,t,n,r){e[c]||(e[c]=new s(e));var i=function(e){if(e)return o()?e:!!e.capture}(r);return e[c].add(t,n,i)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f}),n.d(t,"b",function(){return h});var r=n(4),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2435),n(102)),d=n(38),f=function(t){var n=t.courseHomeLabel;return e.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},e.createElement(l.a,{className:"previous-lesson__link",to:"/"},e.createElement("i",{className:"icon icon-chevron-up"}),e.createElement("div",{className:"previous-lesson__title brand--ui"},n)))},h=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t,n=this.props,r=n.previous,o=n.previousNumber,a=n.previousTitle,s=n.onPreviousClick,c=n.isLesson,u=n.labels.lessonName,f=e.createElement(d.a,{className:"previous-lesson__title--inline",value:a});return e.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},e.createElement(l.a,{className:"previous-lesson__link",to:"/lessons/"+encodeURIComponent(r),onClick:s},e.createElement("i",{className:"icon icon-chevron-up"}),e.createElement("div",{className:"previous-lesson__title brand--ui"},c?i()(t="".concat(u," ")).call(t,o," - "):""," ",f)))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=n(2),u=n.n(c),l=n(1),d=n.n(l),f=n(25),h=n(17),p=function(t){function n(e){var t;return Object(r.a)(this,n),(t=Object(o.a)(this,Object(a.a)(n).call(this,e))).state={hide:!1},t}return Object(s.a)(n,t),Object(i.a)(n,[{key:"focus",value:function(){this.controlDiv.focus()}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.atStart,o=n.isTransitioning,a=n.labels.processNextStep,s=n.onClick,c=n.type,l=this.state.hide,d="next"===c,p=d&&!o&&!i,m=u()("process__"+c,"brand--min768--background",{"brand--max768--color":i,"process__controls--hide":l,"process__controls--animating":o,"process__controls--clip":p}),v=d?"icon-chevron-right":"icon-chevron-left";return e.createElement("div",{"aria-hidden":!r,className:m,onClick:s,onKeyDown:Object(f.a)(s),ref:function(e){t.controlDiv=e},role:"button",tabIndex:Object(h.m)(r)},e.createElement("div",{className:"process__control-content","data-next-step":a},e.createElement("div",{className:"process__control-animation"},e.createElement("i",{className:v}))))}}],[{key:"propTypes",get:function(){return{type:d.a.string.isRequired,onClick:d.a.func.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return a});var r=n(91),i=n(80),o=n(1274);t.a=function(t){var n=t.menuButtons,s=t.previousComponent,c=Object(r.a)(t,["menuButtons","previousComponent"]);return e.createElement(i.c,{type:a.type},s,e.createElement(i.b,{type:a.type},n,e.createElement(i.a,{type:a.type},e.createElement(o.a,c))))};var a={type:"progress-summary",title:"Progress Summary",description:"Summary of course progress"}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var r=n(102),i=n(29),o=n.n(i),a=(n(2443),n(1275)),s=function(t){var n=t.percentComplete,r=t.trackingCompletionPercentage;return o()(r)?null:e.createElement("div",{className:"progress-summary__requirement"},e.createElement("div",{className:"progress-summary__requirement-stats-wrap"},e.createElement("h2",{className:"progress-summary__requirement-title"},"Completion Requirement"),e.createElement("div",{className:"progress-summary__requirement-stats"},e.createElement("div",null,r,"% Completion"),e.createElement("div",null,"You completed: ",e.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},n,"%")))),e.createElement(u,{requirementMet:r<=n}))},c=function(t){var n=t.outOfAttempts,i=t.quizPassed,a=t.quizPassingScore,s=t.quizScore,c=t.quizTitle,l=t.trackingQuizId;return l?e.createElement("div",{className:"progress-summary__requirement"},e.createElement("div",{className:"progress-summary__requirement-stats-wrap"},e.createElement("h2",{className:"progress-summary__requirement-title"},"Quiz Requirement"),e.createElement("div",{className:"progress-summary__requirement-stats"},e.createElement("div",null,"Score of ",a,"% on ",c),o()(s)?e.createElement("div",null,e.createElement(r.a,{className:"progress-summary__requirement-stats-link brand--color",to:"/lessons/".concat(l)},"View quiz")):e.createElement("div",null,"You scored ",e.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},s,"%"))),n&&e.createElement("span",{className:"progress-summary__requirement-no-attempts"},"No attempts remaining.")),e.createElement(u,{requirementMet:i})):null},u=function(t){return t.requirementMet?e.createElement(a.a,{"aria-label":"Requirement completed, check mark",className:"progress-summary__requirement-checkbox-checked"}):e.createElement("div",{"aria-label":"Requirement not completed, empty square",className:"progress-summary__requirement-checkbox-empty",role:"img"})}}).call(this,n(0))},function(e,t,n){var r=n(2457)(1,"join");e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(2494),i=n(119),o=n(1128),a=n(86),s=n(218),c=n(2495),u=function(e,t){return s(e,t)&&c(e)&&o(e)&&a(e.first)&&a(e.second)};e.exports=i(function(e,t){if(a(e)&&a(t))return function(n){return r(e(n),t(n))};if(u(e,t))return e.first().compose(t.second()).contramap(function(e){return r(e,e)});throw new TypeError("fanout: Arrows, Functions or Stars of the same type required for both arguments")})},function(e,t,n){"use strict";t.a={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return je});var r=n(3),i=n.n(r),o=n(4),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=n(72),p=n.n(h),m=n(16),v=n.n(m),g=n(127),y=n.n(g),b=n(76),_=n.n(b),w=n(7),x=n.n(w),k=n(40),E=n.n(k),S=n(126),T=n.n(S),C=n(44),O=n.n(C),A=n(51),j=n.n(A),N=n(117),M=n.n(N),P=n(70),I=n.n(P),L=n(29),D=n.n(L),R=n(45),F=n.n(R),B=n(28),U=n.n(B),q=n(22),z=n.n(q),H=n(24),W=n.n(H),V=n(13),Y=n.n(V),G=n(14),K=n.n(G),$=n(36),X=n.n($),Q=n(164),Z=n.n(Q),J=n(42),ee=n.n(J),te=n(0),ne=n(129),re=n.n(ne),ie=n(190),oe=n.n(ie),ae=n(2),se=n.n(ae),ce=(n(1182),n(33)),ue=n(75),le=n(224),de=n(52),fe=n(25),he=n(21),pe=n(39),me=n(180),ve=n(153),ge=n(273),ye=n(195),be=n(227),_e=n(406),we=n(192),xe=n(169),ke=n(34),Ee=n(637),Se=n(183),Te=n(250),Ce=W()(T()([]),O()(_()(K()("type","section"))),F.a),Oe=Object(xe.a)("modernOverview")||Object(pe.k)(),Ae=E()([[K()("hasNextLesson",!0),Y()("nextLessonTitle")],[Z()(_()(D.a),"trackingQuizId"),Y()("quizTitle")],[p.a,v()("Nothing here")]]),je=function(t){function n(){var e,t,r,o,c,f;Object(s.a)(this,n);for(var h=arguments.length,p=new Array(h),m=0;m<h;m++)p[m]=arguments[m];return(f=Object(u.a)(this,(e=Object(l.a)(n)).call.apply(e,a()(t=[this]).call(t,p)))).addFavorite=i()(r=f.addFavorite).call(r,Object(d.a)(f)),f.removeFavorite=i()(o=f.removeFavorite).call(o,Object(d.a)(f)),f.handleStartButtonKeyDown=i()(c=f.handleStartButtonKeyDown).call(c,Object(d.a)(f)),f}return Object(f.a)(n,t),Object(c.a)(n,[{key:"componentDidMount",value:function(){re.a.Events.scrollEvent.register("end",function(e,t){t&&t.focus()})}},{key:"componentWillUnmount",value:function(){re.a.Events.scrollEvent.remove("end")}},{key:"componentWillEnter",value:function(e){this.courseOverview.animate(!0).then(e)}},{key:"componentWillExit",value:function(e){this.courseOverview.animate().then(e)}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.course,o=r.courseProgress,a=r.lessons,s=r.labels,c=r.search,u=z()([],["partnerContent","content"],this.props),l=U()(["lmsOptions","enableExitCourse"],i),d=z()({},["media","image"],i),f=d.key,h=d.width,p=d.height,m=f?Object(de.a)(d):null,g=s.courseStart,b=s.courseResume,_=s.courseDetails,w=s.courseExit,k=s.overviewPageTitleSuffix,E=i.author,S=i.authors,T=i.categories,C=i.certificateDownload,A=i.completedAt,N=i.dueAt,P=i.enrolled,L=i.favoritedAt,R=i.riseComCurrentUser,F=i.riseComEnrollmentType,B=i.selectedAuthorId,q=i.showTimeToComplete,H=i.timeToComplete,W=i.trackingCompletionPercentage,V=i.trackingQuizId,G=Object(Se.c)({course:i,search:c})&&Object(Se.d)(i),$=Object(Se.a)(i),Q=U()(["lessonsOnly",0,"id"],i),Z=x()(X()("","title"),I.a,O()(K()("id",V)),Y()("lessons"))(i),J=Object(pe.k)()?100===o.percentComplete:Object(pe.i)(),ne=Oe&&"preview"!==window.viewType&&o.percentComplete&&!J?ee()(y()(D.a,v()(V)),v()(V))(Object(ue.c)(o.lessons,V)):Q,re=!D()(ne),ie=Oe&&(J||!re&&D()(V)),ae=(t=b,ie?"Start Again":t),ce=o.percentComplete?ae:g,fe=re?M()(K()("id",ne))(i.lessonsOnly):-1,me=re?z()("",["lessonsOnly",fe,"title"],i):"",ve=Ae({hasNextLesson:re,nextLessonTitle:me,trackingQuizId:V,quizTitle:Z}),xe=se()("overview__continueMessage",{"overview__continueMessage-hide":!P&&!L}),je=Object(_e.a)({authors:S,author:E,selectedAuthorId:B}),Ne=je.avatar,Me=je.authorName,Pe=je.title,Ie=Object(le.a)({course:i,courseProgress:o}),Le=Ce(a),De=!V||z()(!1,["lessons",V,"passed"],o),Re=j()(function(e){return e.id===B},u),Fe=Re&&Re.data.authors,Be=Fe?e.createElement(Ee.a,{partnerContentAuthors:Fe,learn:!0}):e.createElement(Te.a,{avatar:Ne,authorName:Me});return e.createElement(oe.a,{title:Object(we.a)(i.title+" - "+k)},e.createElement(Te.j,{ref:function(e){return n.courseOverview=e},navigationAvailable:$,sidebarOpen:G},e.createElement(ge.a,{enableExitCourse:l,className:"courseExit courseExit--overview",text:w}),e.createElement("header",null,e.createElement(Te.e,{coverImage:i.coverImage},e.createElement(ye.b,{courseTitle:i.title,coverImage:i.coverImage},e.createElement(be.b,{lessonComplete:s.lessonComplete,value:o.percentComplete})),Be,e.createElement(Te.i,null,i.title),Oe&&0!==o.percentComplete&&e.createElement(te.Fragment,null,e.createElement("div",{className:"overview__progressBar"},e.createElement(be.b,{lg:!0,rounded:!0,lessonComplete:s.lessonComplete,value:o.percentComplete})),!!o.percentComplete&&!ie&&e.createElement("div",{className:xe},e.createElement(ke.b,{className:"overview__continueIcon",decorative:!0}),e.createElement("span",{"aria-hidden":"true",className:"overview__nextLessonText"},ve),e.createElement("span",{className:"visually-hidden"},"Next lesson: ",ve))),e.createElement("div",null,he.e&&Oe||Object(pe.k)()?e.createElement(Te.h,{certificateDownload:C,completedQuizRequirement:De,courseBtnText:ce,courseProgress:o,coverImage:i.coverImage,currentUser:R,enrolled:P,enrollmentType:F,favoritedAt:L,handleAddFavoriteClick:this.addFavorite,handleRemoveFavoriteClick:this.removeFavorite,handleKeyDown:this.handleStartButtonKeyDown,nextLessonId:ne,nextLessonText:ve,percentComplete:o.percentComplete,startAgain:ie}):e.createElement(Te.b,{to:"/lessons/".concat(re?ne:Q),coverImage:i.coverImage,onKeyDown:this.handleStartButtonKeyDown},ce),$&&!he.e&&!Oe&&e.createElement(Te.c,{text:_})))),e.createElement("main",{"aria-label":"Course Details"},e.createElement(Te.d,null,e.createElement(Te.f,{src:m,width:h,height:p}),e.createElement(Te.g,{authorName:Me,authorTitle:Pe,avatar:Ne,categories:T,completedAt:A,course:i,courseProgress:o,dueAt:N,labels:s,lessons:a,numLessons:Le,restrictingQuiz:Ie,showTimeToComplete:q,navigationAvailable:$,timeToComplete:H,trackingCompletionPercentage:W,trackingQuizId:V})))))}},{key:"handleStartButtonKeyDown",value:function(e){Object(fe.e)(e)&&Object(ce.a)(Object(ve.c)(!0))}},{key:"addFavorite",value:function(){Object(ce.a)(Object(me.c)())}},{key:"removeFavorite",value:function(){Object(ce.a)(Object(me.f)())}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return g});var r=n(27),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=n(139),d=n.n(l),f=n(1311),h=n(191),p=n(404),m=n(64),v=Object(p.a)(f.a),g=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentDidMount",value:function(){var e=this;d()(".page__content").addClass("page__content--appear");var t=d()("[data-page]:first-child [data-previous-lesson]"),n=document.getElementsByClassName("page-wrap");t.length>0?i()(function(){var r=t.height();e.displayFlex(t),d()(n).scrollTop(r),d()("[data-lesson-header]").css({top:r})},50):d()(n).scrollTop(0)}},{key:"componentWillEnter",value:function(e){var t=document.querySelector("[data-overview-sidebar-content]"),n="overview-sidebar__content--will-enter",r="overview-sidebar__content--will-enter-active";t.classList.add(n),i()(function(){t.classList.add(r)},10),i()(function(){t.classList.remove(n,r),e()},2e3)}},{key:"render",value:function(){return e.createElement(m.TransitionGroup,{className:"transition-group"},e.createElement(h.a,null,e.createElement(v,this.props)))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return je});var r=n(3),i=n.n(r),o=n(4),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=n(72),p=n.n(h),m=n(16),v=n.n(m),g=n(127),y=n.n(g),b=n(76),_=n.n(b),w=n(7),x=n.n(w),k=n(40),E=n.n(k),S=n(126),T=n.n(S),C=n(44),O=n.n(C),A=n(51),j=n.n(A),N=n(117),M=n.n(N),P=n(70),I=n.n(P),L=n(29),D=n.n(L),R=n(45),F=n.n(R),B=n(28),U=n.n(B),q=n(22),z=n.n(q),H=n(24),W=n.n(H),V=n(13),Y=n.n(V),G=n(14),K=n.n(G),$=n(36),X=n.n($),Q=n(164),Z=n.n(Q),J=n(42),ee=n.n(J),te=n(0),ne=n(129),re=n.n(ne),ie=n(190),oe=n.n(ie),ae=n(2),se=n.n(ae),ce=(n(1182),n(33)),ue=n(75),le=n(224),de=n(52),fe=n(25),he=n(21),pe=n(39),me=n(275),ve=n(180),ge=n(153),ye=n(273),be=n(195),_e=n(227),we=n(406),xe=n(192),ke=n(169),Ee=n(34),Se=n(637),Te=n(251),Ce=W()(T()([]),O()(_()(K()("type","section"))),F.a),Oe=Object(ke.a)("modernOverview")||Object(pe.k)(),Ae=E()([[K()("hasNextLesson",!0),Y()("nextLessonTitle")],[Z()(_()(D.a),"trackingQuizId"),Y()("quizTitle")],[p.a,v()("Nothing here")]]),je=function(t){function n(){var e,t,r,o,c,f;Object(s.a)(this,n);for(var h=arguments.length,p=new Array(h),m=0;m<h;m++)p[m]=arguments[m];return(f=Object(u.a)(this,(e=Object(l.a)(n)).call.apply(e,a()(t=[this]).call(t,p)))).addFavorite=i()(r=f.addFavorite).call(r,Object(d.a)(f)),f.removeFavorite=i()(o=f.removeFavorite).call(o,Object(d.a)(f)),f.handleStartButtonKeyDown=i()(c=f.handleStartButtonKeyDown).call(c,Object(d.a)(f)),f}return Object(f.a)(n,t),Object(c.a)(n,[{key:"componentDidMount",value:function(){re.a.Events.scrollEvent.register("end",function(e,t){t&&t.focus()})}},{key:"componentWillUnmount",value:function(){re.a.Events.scrollEvent.remove("end")}},{key:"componentWillEnter",value:function(e){this.courseOverview.animate(!0).then(e)}},{key:"componentWillExit",value:function(e){this.courseOverview.animate().then(e)}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.course,o=r.courseProgress,a=r.lessons,s=r.labels,c=z()([],["partnerContent","content"],this.props),u=U()(["lmsOptions","enableExitCourse"],i),l=z()({},["media","image"],i),d=l.key,f=l.width,h=l.height,p=d?Object(de.a)(l):null,m=s.courseStart,g=s.courseResume,b=s.courseDetails,_=s.courseExit,w=s.overviewPageTitleSuffix,k=i.author,E=i.authors,S=i.categories,T=i.certificateDownload,C=i.completedAt,A=i.dueAt,N=i.enrolled,P=i.favoritedAt,L=i.riseComCurrentUser,R=i.riseComEnrollmentType,F=i.selectedAuthorId,B=i.showTimeToComplete,q=i.timeToComplete,H=i.trackingCompletionPercentage,W=i.trackingQuizId,V=Object(me.b)(i),G=Object(me.c)(i),$=U()(["lessonsOnly",0,"id"],i),Q=x()(X()("","title"),I.a,O()(K()("id",W)),Y()("lessons"))(i),Z=Object(pe.k)()?100===o.percentComplete:Object(pe.i)(),J=Oe&&"preview"!==window.viewType&&o.percentComplete&&!Z?ee()(y()(D.a,v()(W)),v()(W))(Object(ue.c)(o.lessons,W)):$,ne=!D()(J),re=Oe&&(Z||!ne&&D()(W)),ie=(t=g,re?"Start Again":t),ae=o.percentComplete?ie:m,ce=ne?M()(K()("id",J))(i.lessonsOnly):-1,fe=ne?z()("",["lessonsOnly",ce,"title"],i):"",ve=Ae({hasNextLesson:ne,nextLessonTitle:fe,trackingQuizId:W,quizTitle:Q}),ge=se()("overview__continueMessage",{"overview__continueMessage-hide":!N&&!P}),ke=Object(we.a)({authors:E,author:k,selectedAuthorId:F}),je=ke.avatar,Ne=ke.authorName,Me=ke.title,Pe=Object(le.a)({course:i,courseProgress:o}),Ie=Ce(a),Le=!W||z()(!1,["lessons",W,"passed"],o),De=j()(function(e){return e.id===F},c),Re=De&&De.data.authors,Fe=Re?e.createElement(Se.a,{partnerContentAuthors:Re,learn:!0}):e.createElement(Te.a,{avatar:je,authorName:Ne});return e.createElement(oe.a,{title:Object(xe.a)(i.title+" - "+w)},e.createElement(Te.j,{ref:function(e){return n.courseOverview=e},sidebarEnabled:V,sidebarOpen:G},e.createElement(ye.a,{enableExitCourse:u,className:"courseExit courseExit--overview",text:_}),e.createElement("header",null,e.createElement(Te.e,{coverImage:i.coverImage},e.createElement(be.b,{courseTitle:i.title,coverImage:i.coverImage},e.createElement(_e.b,{lessonComplete:s.lessonComplete,value:o.percentComplete})),Fe,e.createElement(Te.i,null,i.title),Oe&&0!==o.percentComplete&&e.createElement(te.Fragment,null,e.createElement("div",{className:"overview__progressBar"},e.createElement(_e.b,{lg:!0,rounded:!0,lessonComplete:s.lessonComplete,value:o.percentComplete})),!!o.percentComplete&&!re&&e.createElement("div",{className:ge},e.createElement(Ee.b,{className:"overview__continueIcon",decorative:!0}),e.createElement("span",{"aria-hidden":"true",className:"overview__nextLessonText"},ve),e.createElement("span",{className:"visually-hidden"},"Next lesson: ",ve))),e.createElement("div",null,he.e&&Oe||Object(pe.k)()?e.createElement(Te.h,{certificateDownload:T,completedQuizRequirement:Le,courseBtnText:ae,courseProgress:o,coverImage:i.coverImage,currentUser:L,enrolled:N,enrollmentType:R,favoritedAt:P,handleAddFavoriteClick:this.addFavorite,handleRemoveFavoriteClick:this.removeFavorite,handleKeyDown:this.handleStartButtonKeyDown,nextLessonId:J,nextLessonText:ve,percentComplete:o.percentComplete,startAgain:re}):e.createElement(Te.b,{to:"/lessons/".concat(ne?J:$),coverImage:i.coverImage,onKeyDown:this.handleStartButtonKeyDown},ae),V&&!he.e&&!Oe&&e.createElement(Te.c,{text:b})))),e.createElement("main",{"aria-label":"Course Details"},e.createElement(Te.d,null,e.createElement(Te.f,{src:p,width:f,height:h}),e.createElement(Te.g,{authorName:Ne,authorTitle:Me,avatar:je,categories:S,completedAt:C,course:i,courseProgress:o,dueAt:A,labels:s,lessons:a,numLessons:Ie,restrictingQuiz:Pe,showTimeToComplete:B,sidebarEnabled:V,timeToComplete:q,trackingCompletionPercentage:H,trackingQuizId:W})))))}},{key:"handleStartButtonKeyDown",value:function(e){Object(fe.e)(e)&&Object(ce.a)(Object(ge.c)(!0))}},{key:"addFavorite",value:function(){Object(ce.a)(Object(ve.c)())}},{key:"removeFavorite",value:function(){Object(ce.a)(Object(ve.f)())}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(168),i=n.n(r),o=n(53),a=n.n(o),s=n(3),c=n.n(s),u=n(4),l=n.n(u),d=n(9),f=n(6),h=n(10),p=n(8),m=n(5),v=n(11),g=(n(2261),n(0)),y=n.n(g),b=n(627),_=n(267),w=n.n(_),x=n(7),k=n.n(x),E=n(491),S=n.n(E),T=n(22),C=n.n(T),O=n(628),A=n.n(O),j=n(276),N=n.n(j),M=n(499),P=n(136),I=n(46),L=n(18),D=n.n(L),R=(n(2404),n(60)),F=n.n(R),B=n(395),U=n.n(B),q=(n(2405),n(2)),z=n.n(q),H=n(29),W=n.n(H),V=function(e){function t(){var e,n,r,i,o;Object(d.a)(this,t);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return(o=Object(h.a)(this,(e=Object(p.a)(t)).call.apply(e,l()(n=[this]).call(n,s)))).handleMouseEnter=c()(r=o.handleMouseEnter).call(r,Object(m.a)(o)),o.handleMouseLeave=c()(i=o.handleMouseLeave).call(i,Object(m.a)(o)),o}return Object(v.a)(t,e),Object(f.a)(t,[{key:"handleMouseEnter",value:function(){var e=this.props,t=e.index;(0,e.onEvent)(t)}},{key:"handleMouseLeave",value:function(){(0,this.props.onEvent)(null)}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.identifier,r=e.index,i=e.label,o=e.value,a=!W()(t)&&t!==r,s=z()("block-chart__cartesianLegendItem",{"block-chart__cartesianLegendItem--unfocused":a});return y.a.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},y.a.createElement("dt",{className:"block-chart__cartesianLegendTerm"},n,"."),y.a.createElement("dd",{className:"block-chart__cartesianLegendDefn"},i,y.a.createElement("span",{className:"block-chart__cartesianLegendDefnPipe"},"|"),y.a.createElement("span",{className:"block-chart__cartesianLegendDefnVal"},o)))}}]),t}(g.PureComponent),Y=Object(g.memo)(function(e){var t=e.activeIndex,n=e.labels,r=e.letters,o=e.onEvent,a=i()(e),s=U()(r,U()(n,a));return F()(s)?null:y.a.createElement("dl",{className:"block-chart__cartesianLegend"},D()(s).call(s,function(e,n){var r=Object(I.a)(e,2),i=r[0],a=Object(I.a)(r[1],2),s=a[0],c=a[1];return y.a.createElement(V,{activeIndex:t,identifier:i,index:n,key:i,label:s,onEvent:o,value:c})}))}),G=n(629),K=n.n(G),$=n(74),X=function(e){var t=e.activeIndex,n=e.settings,r=n.backgroundColor,o=n.chartColor,a=n.lineCurve,s=i()(e),c=e.variant,u=o,l=o;if(!W()(t)){var d=K()(o,r||"#fff",.7);u=d,l=Object($.h)(d,o,s.length,t)}return"bar"===c?{backgroundColor:l,borderColor:u,data:s,hoverBackgroundColor:l,hoverBorderColor:l}:{borderColor:u,cubicInterpolationMode:"linear"===a?"default":"monotone",data:s,lineTension:"linear"===a?0:void 0,pointBackgroundColor:l,pointBorderColor:l,pointBorderWidth:0,pointHitRadius:20,pointHoverBackgroundColor:o,pointHoverBorderColor:o,pointHoverBorderWidth:0,pointRadius:4}},Q=n(1260),Z=n.n(Q),J=n(207),ee=n.n(J),te=n(42),ne=n.n(te),re=n(303),ie=n.n(re)()(/([^\s].{0,14}(?![.{3}])(?=[\s\W]|$))/gm),oe=n(137),ae=function(e){var t,n=e[0],r=n.xLabel,i=n.yLabel,o=ne()(Z.a,ee()(" "),r);return l()(t="".concat(o,": ")).call(t,i)},se=function(e){var t=e.hasDarkBgColor,n=e.isDesktop,r=e.onEvent,o=e.shouldAnimate,a=i()(e);return{animation:{duration:o?1e3:0},defaultFontColor:t?"#fff":"#313537",defaultFontFamily:'"lato", sans-serif',elements:{line:{borderWidth:2,fill:!1}},layout:{padding:{bottom:0,left:0,right:0,top:50}},legend:{display:!1},onClick:r,onHover:r,plugins:{datalabels:{display:!1}},responsive:!1,scales:{xAxes:[{barPercentage:.6,gridLines:{color:t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)",display:!1,drawBorder:!1,offsetGridLines:!0},maxBarThickness:60,offset:!0,scaleLabel:{display:!1},ticks:{autoSkip:!1,callback:ie,minor:{fontColor:t?"#fff":"#313537"},padding:10}}],yAxes:[{gridLines:{color:t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)",drawBorder:!1,drawTicks:!1,zeroLineColor:Object(oe.a)(a)?t?"rgba(255, 255, 255, 0.4)":"rgba(0,0,0,0.25)":t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)"},scaleLabel:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:8,minor:{fontColor:t?"#fff":"#313537"},padding:n?15:4}}]},tooltips:{backgroundColor:t?"#fff":"#000",callbacks:{label:function(){return null},title:ae},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontColor:t?"#313537":"#fff",titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}}},ce=n(630),ue=n.n(ce),le=n(126),de=n.n(le),fe=n(13),he=n.n(fe),pe=n(239),me=n.n(pe),ve=n(335),ge=n.n(ve),ye=me()(/<mark>|<\/mark>/gm,""),be=k()(function(e){return ge()(e,{length:30})},ye,he()("type")),_e=k()(de()(0),ue.a,he()("value")),we=function(e){return{labels:D()(e).call(e,be),values:D()(e).call(e,_e)}},xe=n(79),ke=n.n(xe)()(function(e,t,n){var r=ge()(t,{length:e});return n?Object(oe.d)(r,n):r}),Ee=n(23),Se=function(e){var t=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).handleEvent=c()(r=i.handleEvent).call(r,Object(m.a)(i)),i.state={activeIndex:null},i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"handleEvent",value:function(e){this.setState({activeIndex:e})}},{key:"render",value:function(){return y.a.createElement(e,Object(Ee.a)({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),n}(g.PureComponent);return t.displayName="ChartEvents(".concat(Object(oe.b)(e),")"),t},Te=function(e){var t=function(t){function n(){var e,t,r,i;Object(d.a)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(n)).call.apply(e,l()(t=[this]).call(t,a)))).chartRef=Object(g.createRef)(),i.handleResize=c()(r=i.handleResize).call(r,Object(m.a)(i)),i}return Object(v.a)(n,t),Object(f.a)(n,[{key:"componentDidMount",value:function(){this.resize(),this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"handleResize",value:function(){this.resize(),this.update()}},{key:"resize",value:function(){var e=this.chartRef.current.chartInstance;e&&e.resize()}},{key:"update",value:function(){var e=this.chartRef.current.chartInstance;e&&e.update()}},{key:"render",value:function(){return y.a.createElement(e,Object(Ee.a)({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),n}(g.PureComponent);return t.displayName="ChartUpdater(".concat(Object(oe.b)(e),")"),t},Ce=n(631),Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Ae=function(e){function t(){var e,n,r,i,o;Object(d.a)(this,t);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return(o=Object(h.a)(this,(e=Object(p.a)(t)).call.apply(e,l()(n=[this]).call(n,s)))).handleEvent=c()(r=o.handleEvent).call(r,Object(m.a)(o)),o.handleResize=c()(i=o.handleResize).call(i,Object(m.a)(o)),o.wrapRef=Object(g.createRef)(),o.state={labelYTop:"50%"},o}return Object(v.a)(t,e),Object(f.a)(t,[{key:"componentDidMount",value:function(){this.resizeObserver=new b.a(this.handleResize),this.resizeObserver.observe(this.wrapRef.current)}},{key:"componentWillUnmount",value:function(){this.resizeObserver.unobserve(this.wrapRef.current)}},{key:"buildDataset",value:function(e){var t=this.props,n=t.activeIndex,r=t.settings,i=t.variant;return X({activeIndex:n,settings:r,values:e,variant:i})}},{key:"buildOptions",value:function(e){var t=this.props,n=t.hasDarkBgColor,r=t.isDesktop,i=t.shouldAnimate;return se({hasDarkBgColor:n,isDesktop:r,onEvent:this.handleEvent,shouldAnimate:i,values:e})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(C()(null,[0,"_index"],t))}},{key:"handleResize",value:function(){this.props.onResize(),this.setLabelYTop()}},{key:"setLabelYTop",value:function(){var e=this.props.forwardedRef.current.chartInstance;if(e){var t=C()({},["scales","y-axis-0"],e),n=t.bottom,r=t.top;S()(n)&&S()(r)&&this.setState({labelYTop:"".concat((n+r)/2,"px")})}}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.forwardedRef,r=e.isDesktop,o=e.isVisible,s=e.items,c=e.itemsLabel,u=e.onEvent,l=e.search,d=e.valuesLabel,f=e.variant,h=this.state.labelYTop,p=ke(80,c,l),m=ke(30,d,l),v=we(s),g=r?[]:a()(Oe).call(Oe,0,s.length),b=r?v.labels:g,_=o?i()(v):Object(oe.e)(0,s.length),w=this.buildOptions(_),x=this.buildDataset(_),k="line"===f?M.b:M.a;return y.a.createElement("div",{className:"block-chart__cartesian"},y.a.createElement("div",{className:"block-chart__cartesianChart",ref:this.wrapRef},y.a.createElement(k,{data:{labels:b,datasets:[x]},options:w,ref:n}),m&&Object(oe.f)(m)&&y.a.createElement("div",{className:"block-chart__cartesianLabelY",style:{top:h}},m)),p&&Object(oe.f)(p)&&y.a.createElement("div",{className:"block-chart__cartesianLabelX"},p),!r&&y.a.createElement(Y,{activeIndex:t,labels:v.labels,letters:g,onEvent:u,values:_}))}}]),t}(g.PureComponent),je=w()({search:C()("",["search","term"])}),Ne=k()(Ce.a,Se,N()("(min-width: 960px)","isDesktop","Desktop"),Te,A.a,Object(P.b)(je))(Ae),Me=(n(2425),n(2426),n(2427),function(e){function t(){var e,n,r,i,o;Object(d.a)(this,t);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return(o=Object(h.a)(this,(e=Object(p.a)(t)).call.apply(e,l()(n=[this]).call(n,s)))).handleMouseEnter=c()(r=o.handleMouseEnter).call(r,Object(m.a)(o)),o.handleMouseLeave=c()(i=o.handleMouseLeave).call(i,Object(m.a)(o)),o}return Object(v.a)(t,e),Object(f.a)(t,[{key:"handleMouseEnter",value:function(){var e=this.props,t=e.index;(0,e.onEvent)(t)}},{key:"handleMouseLeave",value:function(){(0,this.props.onEvent)(null)}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.backgroundColor,r=e.index,i=e.text,o=!W()(t)&&t!==r,a=z()("block-chart__circleLegendItem",{"block-chart__circleLegendItem--unfocused":o});return y.a.createElement("div",{className:a,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},y.a.createElement("span",{className:"block-chart__circleLegendSymbol",style:{backgroundColor:n}}),y.a.createElement("span",{className:"block-chart__circleLegendText"},i))}}]),t}(g.PureComponent)),Pe=Object(g.memo)(function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=U()(r,n);return F()(o)?null:y.a.createElement("div",{className:"block-chart__circleLegend"},D()(o).call(o,function(e,n){var r=Object(I.a)(e,2),o=r[0],a=r[1];return y.a.createElement(Me,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})}))}),Ie=n(62),Le=n(158),De=n.n(Le),Re=n(178),Fe=n.n(Re),Be=n(480),Ue=n.n(Be),qe=n(164),ze=n.n(qe)()(Ue()(Fe.a,0),"value"),He=function(e){var t=De()(e).call(e,ze),n=we(t),r=D()(t).call(t,he()("color"));return Object(Ie.a)({},n,{colors:r})},We=(n(2428),n(394)),Ve=n.n(We),Ye=function(e){var t=C()(0,["dataIndex"],e),n=C()({},["dataset"],e),r=C()("#000",["backgroundColor",t],n);return Object(oe.c)(r)?"#fff":"#313537"},Ge=function(e,t,n){return"numeric"===e?String(t):Object(oe.g)(t/Ve()(n.dataset.data))},Ke=function(e,t,n){var r,i=C()(0,[0,"index"],t),o=C()("",["labels",i],n),a=C()([1],["datasets",0,"data"],n),s=a[i],c="numeric"===e?String(s):Object(oe.g)(s/Ve()(a));return l()(r="".concat(o,": ")).call(r,c)},$e=function(e,t){var n=C()(0,["dataIndex"],t),r=C()([1],["dataset","data"],t),i=r[n],o=W()(e)&&i/Ve()(r)>=.06;return e===n||o},Xe=function(e){var t=e.activeIndex,n=e.onEvent,r=e.settings.valueType,i=e.shouldAnimate;return{animation:{animateRotate:i,duration:i?1e3:0},legend:!1,onClick:n,onHover:n,maintainAspectRatio:!1,plugins:{datalabels:{color:Ye,display:c()($e).call($e,null,t),font:{size:12,style:"bold"},formatter:c()(Ge).call(Ge,null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:c()(Ke).call(Ke,null,r)},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontColor:"#fff",titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}}},Qe=function(e){var t=e.activeIndex,n=e.colors,r=e.settings.backgroundColor,o=i()(e),a=W()(t)?n:D()(n).call(n,function(e,n){return n===t?e:K()(e,r||"#fff",.5)});return{backgroundColor:a,hoverBackgroundColor:a,borderWidth:0,data:o}},Ze=function(e){function t(){var e,n,r,i;Object(d.a)(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(i=Object(h.a)(this,(e=Object(p.a)(t)).call.apply(e,l()(n=[this]).call(n,a)))).handleEvent=c()(r=i.handleEvent).call(r,Object(m.a)(i)),i.wrapRef=Object(g.createRef)(),i}return Object(v.a)(t,e),Object(f.a)(t,[{key:"componentDidMount",value:function(){this.resizeObserver=new b.a(this.props.onResize),this.resizeObserver.observe(this.wrapRef.current)}},{key:"componentWillUnmount",value:function(){this.resizeObserver.unobserve(this.wrapRef.current)}},{key:"buildDataset",value:function(e){var t=e.colors,n=i()(e),r=this.props,o=r.activeIndex,a=r.settings;return Qe({activeIndex:o,colors:t,settings:a,values:n})}},{key:"buildOptions",value:function(){var e=this.props,t=e.activeIndex,n=e.settings,r=e.shouldAnimate;return Xe({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(C()(null,[0,"_index"],t))}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.forwardedRef,r=e.isVisible,o=e.items,a=e.onEvent,s=He(o),c=s.colors,u=s.labels,l=i()(s),d=r?l:Object(oe.e)(0,o.length),f=this.buildOptions(),h=this.buildDataset({colors:c,values:d});return y.a.createElement("div",{className:"block-chart__circle"},y.a.createElement("div",{className:"block-chart__circleChart",ref:this.wrapRef},y.a.createElement(M.c,{data:{labels:u,datasets:[h]},options:f,ref:n})),y.a.createElement(Pe,{activeIndex:t,colors:c,labels:u,onEvent:a}))}}]),t}(g.PureComponent),Je=k()(Ce.a,Se,Te,A.a)(Ze);n.d(t,"a",function(){return Ne}),n.d(t,"b",function(){return Je})},function(e,t,n){e.exports=!n(105)&&!n(58)(function(){return 7!=Object.defineProperty(n(656)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=n(428)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(808),i=n(65).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},function(e,t,n){var r=n(144),i=n(658),o=n(185),a=n(123);e.exports=function(e,t){for(var n=i(t),s=a.f,c=o.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||s(e,l,c(t,l))}}},function(e,t,n){var r=n(144),i=n(198),o=n(431)(!1),a=n(430);e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){e.exports=!n(58)(function(){return!String(Symbol())})},function(e,t,n){t.f=n(106)},function(e,t,n){var r=n(65).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(198),i=n(342).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))}},function(e,t,n){"use strict";var r=n(133),i=n(311),o=n(108);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),c=i(t,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:i(u,a))-c,a-s),d=1;for(c<s&&s<c+l&&(d=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=d,c+=d;return n}},function(e,t,n){"use strict";var r=n(343),i=n(108),o=n(314),a=function(e,t,n,s,c,u,l,d){for(var f,h=c,p=0,m=!!l&&o(l,d,3);p<s;){if(p in n){if(f=m?m(n[p],p,t):n[p],u>0&&r(f))h=a(e,t,f,i(f.length),h,u-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=f}h++}p++}return h};e.exports=a},function(e,t,n){"use strict";var r=[].forEach,i=n(167)(0),o=n(281)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},function(e,t,n){"use strict";var r=n(314),i=n(133),o=n(820),a=n(663),s=n(108),c=n(344),u=n(436);e.exports=function(e){var t,n,l,d,f=i(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,y=u(f);if(v&&(m=r(m,p>2?arguments[2]:void 0,2)),null==y||h==Array&&a(y))for(n=new h(t=s(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=y.call(f),n=new h;!(l=d.next()).done;g++)c(n,g,v?o(d,m,[l.value,g],!0):l.value);return n.length=g,n}},function(e,t,n){var r=n(94);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}}},function(e,t,n){"use strict";var r=n(822).IteratorPrototype,i=n(312),o=n(341),a=n(252),s=n(435),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),s[u]=c,e}},function(e,t,n){"use strict";var r,i,o,a=n(253),s=n(172),c=n(144),u=n(340),l=n(106)("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),u||c(r,l)||s(r,l,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(85),i=n(94);e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},function(e,t,n){"use strict";var r=n(198),i=n(215),o=n(108),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,c=n(281)("lastIndexOf");e.exports=s||c?function(e){if(s)return a.apply(this,arguments)||0;var t=r(this),n=o(t.length),c=n-1;for(arguments.length>1&&(c=Math.min(c,i(arguments[1]))),c<0&&(c=n+c);c>=0;c--)if(c in t&&t[c]===e)return c||0;return-1}:a},function(e,t,n){var r=n(216),i=n(133),o=n(427),a=n(108);e.exports=function(e,t,n,s,c){r(t);var u=i(e),l=o(u),d=a(u.length),f=c?d-1:0,h=c?-1:1;if(n<2)for(;;){if(f in l){s=l[f],f+=h;break}if(f+=h,c?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:d>f;f+=h)f in l&&(s=t(s,l[f],f,u));return s}},function(e,t,n){var r=n(215),i=n(108);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}},function(e,t,n){"use strict";var r=n(216),i=n(85),o=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof 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)}(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";var r=n(123).f,i=n(312),o=n(374),a=n(314),s=n(315),c=n(438),u=n(664),l=n(373),d=n(105),f=n(345).fastKey,h=n(214),p=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],e,n)}),h=m(t),v=function(e,t,n){var r,i,o=h(e),a=g(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var n,r=h(e),i=f(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=h(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,d?e.size=0:this.size=0},delete:function(e){var t=h(this),n=g(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(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!!g(this,e)}}),o(l.prototype,n?{get:function(e){var t=g(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)}}),d&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){p(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)}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(85),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){var r=n(65).parseFloat,i=n(375),o=n(516),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},function(e,t,n){var r=n(65).parseInt,i=n(375),o=n(516),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},function(e,t,n){var r=n(231);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(371),i=n(509),o=n(426),a=n(133),s=n(427),c=Object.assign;e.exports=!c||n(58)(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=r(c({},t)).join("")})?function(e,t){for(var n=a(e),c=arguments.length,u=1,l=i.f,d=o.f;c>u;)for(var f,h=s(arguments[u++]),p=l?r(h).concat(l(h)):r(h),m=p.length,v=0;m>v;)d.call(h,f=p[v++])&&(n[f]=h[f]);return n}:c},function(e,t,n){var r=n(371),i=n(198),o=n(426).f;e.exports=function(e,t){for(var n,a=i(e),s=r(a),c=s.length,u=0,l=[];c>u;)o.call(a,n=s[u++])&&l.push(t?[n,a[n]]:a[n]);return l}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r,i,o,a,s,c,u,l=n(65),d=n(185).f,f=n(231),h=n(670).set,p=n(518),m=l.MutationObserver||l.WebKitMutationObserver,v=l.process,g=l.Promise,y="process"==f(v),b=d(l,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(y&&(e=v.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()},y?a=function(){v.nextTick(r)}:m&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(p)?(s=!0,c=document.createTextNode(""),new m(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):g&&g.resolve?(u=g.resolve(void 0),a=function(){u.then(r)}):a=function(){h.call(l,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(94),i=n(85),o=n(839);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}},function(e,t,n){"use strict";var r=n(216),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)}},function(e,t,n){"use strict";var r=n(521),i=n(214),o=n(664),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(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})})},function(e,t,n){var r=n(108),i=n(669),o=n(213);e.exports=function(e,t,n,a){var s,c,u=String(o(e)),l=u.length,d=void 0===n?" ":String(n),f=r(t);return f<=l||""==d?u:(s=f-l,(c=i.call(d,Math.ceil(s/d.length))).length>s&&(c=c.slice(0,s)),a?c+u:u+c)}},function(e,t,n){var r=n(518);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(215);e.exports=function(e,t){var n=r(e);if(n<0||n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(133),i=n(108),o=n(436),a=n(663),s=n(314),c=n(95).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f=r(e),h=arguments.length,p=h>1?arguments[1]:void 0,m=void 0!==p,v=o(f);if(null!=v&&!a(v))for(d=v.call(f),f=[];!(l=d.next()).done;)f.push(l.value);for(m&&h>2&&(p=s(p,arguments[2],2)),n=i(f.length),u=new(c(this))(n),t=0;n>t;t++)u[t]=m?p(f[t],t):f[t];return u}},function(e,t,n){"use strict";var r=n(374),i=n(345).getWeakData,o=n(94),a=n(85),s=n(315),c=n(438),u=n(167),l=n(144),d=n(214),f=d.set,h=d.getterFor,p=u(5),m=u(6),v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(e.entries,function(e){return e[0]===t})};y.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=m(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var d=e(function(e,r){s(e,d,t),f(e,{type:t,id:v++,frozen:void 0}),null!=r&&c(r,e[u],e,n)}),p=h(t),m=function(e,t,n){var r=p(e),a=i(o(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&l(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=p(this);if(a(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},function(e,t){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}},function(e,t,n){var r=n(340),i=n(106)("iterator");e.exports=!n(58)(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})},function(e,t,n){"use strict";n(512);var r=n(847),i=n(186),o=n(374),a=n(821),s=n(214),c=n(315),u=n(144),l=n(314),d=n(94),f=n(85),h=n(1530),p=n(436),m=n(106)("iterator"),v=s.set,g=s.getterFor("URLSearchParams"),y=s.getterFor("URLSearchParamsIterator"),b=/\+/g,_=Array(4),w=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},x=function(e){try{return decodeURIComponent(e)}catch(t){return e}},k=function(e){for(var t=e.replace(b," "),n=4;n;)t=t.replace(w(n--),x);return t},E=/[!'()~]|%20/g,S={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},T=function(e){return S[e]},C=function(e){return encodeURIComponent(e).replace(E,T)},O=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},A=function(e){this.entries.length=0,O(this.entries,e)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=a(function(e,t){v(this,{type:"URLSearchParamsIterator",iterator:h(g(e).entries),kind:t})},"Iterator",function(){var e=y(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}),M=function(){c(this,M,"URLSearchParams");var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,l=[];if(v(this,{type:"URLSearchParams",entries:l,updateURL:null,updateSearchParams:A}),void 0!==s)if(f(s))if("function"==typeof(e=p(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=h(d(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");l.push({key:i.value+"",value:o.value+""})}else for(a in s)u(s,a)&&l.push({key:a,value:s[a]+""});else O(l,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},P=M.prototype;o(P,{append:function(e,t){j(arguments.length,2);var n=g(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){j(arguments.length,1);for(var t=g(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){j(arguments.length,1);for(var t=g(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){j(arguments.length,1);for(var t=g(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){j(arguments.length,1);for(var t=g(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){j(arguments.length,1);for(var n,r=g(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL&&r.updateURL()},sort:function(){var e,t,n,r=g(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=g(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 N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),i(P,m,P.entries),i(P,"toString",function(){for(var e,t=g(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(C(e.key)+"="+C(e.value));return n.join("&")},{enumerable:!0}),n(252)(M,"URLSearchParams"),n(19)({global:!0,forced:!r},{URLSearchParams:M}),e.exports={URLSearchParams:M,getState:g}},function(e,t,n){var r=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 c(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=l;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(O([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e){var t;this._invoke=function(n,i){function o(){return new Promise(function(t,o){!function t(n,i,o,a){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,l=c.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){c.value=e,o(c)},function(e){return t("throw",e,o,a)})}a(s.arg)}(n,i,t,o)})}return t=t?t.then(o,o):o()}}function E(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,E(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;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,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function O(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:A}}function A(){return{value:t,done:!0}}return v.prototype=w.constructor=g,g.constructor=v,g[s]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i){var o=new k(c(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(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=O,C.prototype={constructor:C,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(T),!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 c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)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,p):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),p},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),T(n),p}},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;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)o.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){var r=n(852),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(134),i=n(1547),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(162),i=n(124),o=n(679);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(124),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r=n(856).IteratorPrototype,i=n(350),o=n(348),a=n(286),s=n(347),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),s[u]=c,e}},function(e,t,n){"use strict";var r,i,o,a=n(441),s=n(233),c=n(173),u=n(130),l=n(118),d=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0),null==r&&(r={}),l||c(r,d)||s(r,d,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){var r=n(124);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(682);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(162),i=n(217),o=n(110),a=n(442);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,c=0;s>c;)i.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r=n(173),i=n(283),o=n(683).indexOf,a=n(440);e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(202);e.exports=r("document","documentElement")},function(e,t,n){var r=n(124),i=n(130),o=n(118),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})},function(e,t,n){"use strict";var r=n(41),i=n(124),o=n(444),a=n(155),s=n(234),c=n(235),u=n(692),l=n(864),d=n(531),f=n(130),h=n(693),p=f("isConcatSpreadable"),m=h>=51||!i(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),v=d("concat"),g=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,i,o,a=s(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],g(o)){if(f+(i=c(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,f++)n in o&&u(d,f,o[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,f++,o)}return d.length=f,d}})},function(e,t,n){var r=n(155),i=n(444),o=n(130)("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)}},function(e,t,n){var r=n(35);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}},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t})},function(e,t,n){var r=n(187);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)}}()},function(e,t,n){"use strict";var r=n(145),i=n(155),o=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof 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)}(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){var r=n(529),i=n(284),o=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(134);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(202),i=n(217),o=n(130),a=n(162),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}})}},function(e,t,n){var r=n(130),i=n(347),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(110);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}}},function(e,t,n){var r=n(130)("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}},function(e,t,n){var r,i,o,a=n(134),s=n(124),c=n(346),u=n(174),l=n(861),d=n(679),f=n(876),h=a.location,p=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){w(e)}},k=function(e){w(e.data)},E=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},"process"==c(v)?r=function(e){v.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:g&&!f?(o=(i=new g).port2,i.port1.onmessage=k,r=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(E)||"file:"===h.protocol?r="onreadystatechange"in d("script")?function(e){l.appendChild(d("script")).onreadystatechange=function(){l.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}:(r=E,a.addEventListener("message",k,!1))),e.exports={set:p,clear:m}},function(e,t,n){var r=n(532);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(110),i=n(155),o=n(446);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}},function(e,t,n){"use strict";var r=n(41),i=n(145),o=n(446),a=n(535),s=n(147);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,c=n.reject,u=a(function(){var n=i(t.resolve),o=[],a=0,c=1;s(e,function(e){var i=a++,s=!1;o.push(void 0),c++,n.call(t,e).then(function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--c||r(o))},function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--c||r(o))})}),--c||r(o)});return u.error&&c(u.value),n.promise}})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(236),i=n(449);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(86);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(698),i=n(1588);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(883);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){var r=n(885),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 c(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(256)(c,n(385).EventEmitter),c.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()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.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={})},c.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=""},c.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())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},c.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())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.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=""},c.prototype._getInstructionName=function(e){var t=e.search(s),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.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+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.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()},c.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)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},function(e,t,n){e.exports=ye;var r,i,o=n(1592),a=n(1594),s=n(1595),c=n(1596),u=0,l=u++,d=u++,f=u++,h=u++,p=u++,m=u++,v=u++,g=u++,y=u++,b=u++,_=u++,w=u++,x=u++,k=u++,E=u++,S=u++,T=u++,C=u++,O=u++,A=u++,j=u++,N=u++,M=u++,P=u++,I=u++,L=u++,D=u++,R=u++,F=u++,B=u++,U=u++,q=u++,z=u++,H=u++,W=u++,V=u++,Y=u++,G=u++,K=u++,$=u++,X=u++,Q=u++,Z=u++,J=u++,ee=u++,te=u++,ne=u++,re=u++,ie=u++,oe=u++,ae=u++,se=u++,ce=u++,ue=u++,le=u++,de=0,fe=de++,he=de++,pe=de++;function me(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function ve(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 ge(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=f,this._index--)}}function ye(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=fe,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ye.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=d,this._sectionStart=this._index):this._decodeEntities&&this._special===fe&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeTagName=function(e){"/"===e?this._state=p:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==fe||me(e)?this._state=l:"!"===e?(this._state=E,this._sectionStart=this._index+1):"?"===e?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?f:U,this._sectionStart=this._index)},ye.prototype._stateInTagName=function(e){("/"===e||">"===e||me(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},ye.prototype._stateBeforeCloseingTagName=function(e){me(e)||(">"===e?this._state=l:this._special!==fe?"s"===e||"S"===e?this._state=q:(this._state=l,this._index--):(this._state=m,this._sectionStart=this._index))},ye.prototype._stateInCloseingTagName=function(e){(">"===e||me(e))&&(this._emitToken("onclosetag"),this._state=v,this._index--)},ye.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ye.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=h:me(e)||(this._state=y,this._sectionStart=this._index)},ye.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):me(e)||(this._state=g,this._index--)},ye.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||me(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},ye.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):me(e)||(this._cbs.onattribend(),this._state=y,this._sectionStart=this._index)},ye.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=x,this._sectionStart=this._index+1):me(e)||(this._state=k,this._sectionStart=this._index,this._index--)},ye.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueNoQuotes=function(e){me(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeDeclaration=function(e){this._state="["===e?N:"-"===e?C:S},ye.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ye.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ye.prototype._stateBeforeComment=function(e){"-"===e?(this._state=O,this._sectionStart=this._index+1):this._state=S},ye.prototype._stateInComment=function(e){"-"===e&&(this._state=A)},ye.prototype._stateAfterComment1=function(e){this._state="-"===e?j:O},ye.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=O)},ye.prototype._stateBeforeCdata1=ve("C",M,S),ye.prototype._stateBeforeCdata2=ve("D",P,S),ye.prototype._stateBeforeCdata3=ve("A",I,S),ye.prototype._stateBeforeCdata4=ve("T",L,S),ye.prototype._stateBeforeCdata5=ve("A",D,S),ye.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=R,this._sectionStart=this._index+1):(this._state=S,this._index--)},ye.prototype._stateInCdata=function(e){"]"===e&&(this._state=F)},ye.prototype._stateAfterCdata1=(r="]",i=B,function(e){e===r&&(this._state=i)}),ye.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=R)},ye.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=z:"t"===e||"T"===e?this._state=Z:(this._state=f,this._index--)},ye.prototype._stateBeforeSpecialEnd=function(e){this._special!==he||"c"!==e&&"C"!==e?this._special!==pe||"t"!==e&&"T"!==e?this._state=l:this._state=ne:this._state=G},ye.prototype._stateBeforeScript1=ge("R",H),ye.prototype._stateBeforeScript2=ge("I",W),ye.prototype._stateBeforeScript3=ge("P",V),ye.prototype._stateBeforeScript4=ge("T",Y),ye.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||me(e))&&(this._special=he),this._state=f,this._index--},ye.prototype._stateAfterScript1=ve("R",K,l),ye.prototype._stateAfterScript2=ve("I",$,l),ye.prototype._stateAfterScript3=ve("P",X,l),ye.prototype._stateAfterScript4=ve("T",Q,l),ye.prototype._stateAfterScript5=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-6,this._index--):this._state=l},ye.prototype._stateBeforeStyle1=ge("Y",J),ye.prototype._stateBeforeStyle2=ge("L",ee),ye.prototype._stateBeforeStyle3=ge("E",te),ye.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||me(e))&&(this._special=pe),this._state=f,this._index--},ye.prototype._stateAfterStyle1=ve("Y",re,l),ye.prototype._stateAfterStyle2=ve("L",ie,l),ye.prototype._stateAfterStyle3=ve("E",oe,l),ye.prototype._stateAfterStyle4=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-5,this._index--):this._state=l},ye.prototype._stateBeforeEntity=ve("#",se,ce),ye.prototype._stateBeforeNumericEntity=ve("X",le,ue),ye.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?c:a;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ye.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--}},ye.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--)},ye.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},ye.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--)},ye.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--)},ye.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)},ye.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ye.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===d?this._stateBeforeTagName(e):this._state===f?this._stateInTagName(e):this._state===p?this._stateBeforeCloseingTagName(e):this._state===m?this._stateInCloseingTagName(e):this._state===v?this._stateAfterCloseingTagName(e):this._state===h?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===y?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===w?this._stateInAttributeValueDoubleQuotes(e):this._state===x?this._stateInAttributeValueSingleQuotes(e):this._state===k?this._stateInAttributeValueNoQuotes(e):this._state===E?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===T?this._stateInProcessingInstruction(e):this._state===C?this._stateBeforeComment(e):this._state===O?this._stateInComment(e):this._state===A?this._stateAfterComment1(e):this._state===j?this._stateAfterComment2(e):this._state===N?this._stateBeforeCdata1(e):this._state===M?this._stateBeforeCdata2(e):this._state===P?this._stateBeforeCdata3(e):this._state===I?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===R?this._stateInCdata(e):this._state===F?this._stateAfterCdata1(e):this._state===B?this._stateAfterCdata2(e):this._state===U?this._stateBeforeSpecial(e):this._state===q?this._stateBeforeSpecialEnd(e):this._state===z?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===W?this._stateBeforeScript3(e):this._state===V?this._stateBeforeScript4(e):this._state===Y?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===K?this._stateAfterScript2(e):this._state===$?this._stateAfterScript3(e):this._state===X?this._stateAfterScript4(e):this._state===Q?this._stateAfterScript5(e):this._state===Z?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===ce?this._stateInNamedEntity(e):this._state===ue?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ye.prototype.pause=function(){this._running=!1},ye.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ye.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ye.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ye.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===R||this._state===F||this._state===B?this._cbs.oncdata(e):this._state===O||this._state===A||this._state===j?this._cbs.oncomment(e):this._state!==ce||this._xmlMode?this._state!==ue||this._xmlMode?this._state!==le||this._xmlMode?this._state!==f&&this._state!==g&&this._state!==_&&this._state!==b&&this._state!==y&&this._state!==x&&this._state!==w&&this._state!==k&&this._state!==m&&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()))},ye.prototype.reset=function(){ye.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ye.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ye.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ye.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ye.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},function(e,t){var n=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 i[this.type]||i.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach(function(e){var t=r[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){e.exports=s;var r=n(884),i=n(1601).Writable||n(1614).Writable,o=n(702).StringDecoder,a=n(378).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(256)(s,i),i.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},function(e,t,n){"use strict";(function(t,r){var i=n(539);e.exports=b;var o,a=n(889);b.ReadableState=y;n(385).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n(890),u=n(540).Buffer,l=t.Uint8Array||function(){};var d=n(452);d.inherits=n(256);var f=n(1604),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=n(1605),v=n(891);d.inherits(b,c);var g=["error","close","destroy","pause","resume"];function y(e,t){o=o||n(354),e=e||{},this.objectMode=!!e.objectMode,t instanceof o&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(702).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(o=o||n(354),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function _(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(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,E(e)}(e,a)):(i||(o=function(e,t){var n;r=t,u.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):T(e,a)):w(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),T(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.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=u.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=n(702).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};var x=8388608;function k(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>=x?e=x:(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 E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),j(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function O(e){h("readable nexttick read 0"),e.read(0)}function A(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(h("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.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=u.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}b.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):E(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&M(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:b;function u(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",b),n.removeListener("data",m),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){h("onend"),e.end()}o.endEmitted?i(c):n.once("end",c),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,j(e))}}(n);e.on("drain",d);var f=!1;var p=!1;function m(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!f&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function v(t){h("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){h("onfinish"),e.removeListener("close",g),b()}function b(){h("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},b.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?this:(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,n);return this}var a=I(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},b.prototype.on=function(e,t){var n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&E(this):i(O,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i(A,e,t))}(this,e)),this},b.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",function(){if(h("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){(h("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!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<g.length;o++)e.on(g[o],r.emit.bind(r,g[o]));return r._read=function(t){h("wrapped _read",t),n&&(n=!1,e.resume())},r},b._fromList=N}).call(this,n(100),n(320))},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=n(385).EventEmitter},function(e,t,n){"use strict";var r=n(539);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;o||a?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r(i,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}))},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.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";e.exports=a;var r=n(354),i=n(452);function o(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=n&&e.push(n);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState=new o(this);var t=this;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.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){s(t,e,n)}):s(t)})}function s(e,t,n){if(t)return e.emit("error",t);null!=n&&e.push(n);var r=e._writableState,i=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n(256),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.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)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},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(894)),o=r(n(1621)),a=r(n(895)),s=r(n(1622));function c(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=c(a.default),t.decodeHTMLStrict=c(i.default);var u=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(u),t=Object.keys(i.default).sort(u),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 c(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,c)}}()},function(e){e.exports={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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"Ĳ",ijlig:"ĳ",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:"ŉ",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:"‌"}},function(e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},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=c(r(n(895)).default),o=u(i);t.encodeXML=p(i,o);var a=c(r(n(894)).default),s=u(a);function c(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]="&"+n+";",t},{})}function u(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=p(a,s);var l=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function h(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function p(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(d,h).replace(l,f)}}var m=u(i);t.escape=function(e){return e.replace(m,f).replace(d,h).replace(l,f)}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(1639)),i=a(n(898)),o=a(n(1640));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),c=Math.min(this.line+2,a.length),u=String(c).length;function l(t){return e&&i.default.red?i.default.red.bold(t):t}function d(t){return e&&i.default.gray?i.default.gray(t):t}return a.slice(s,c).map(function(e,n){var r=s+1+n,i=" "+(" "+r).slice(-u)+" | ";if(r===t.line){var o=d(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+d(i)+e+"\n "+o+l("^")}return" "+d(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},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.css.valueOf(),T=t.ignoreErrors,C=void 0,O=void 0,A=void 0,j=void 0,N=void 0,M=void 0,P=void 0,I=void 0,L=void 0,D=void 0,R=void 0,F=void 0,B=void 0,U=void 0,q=n.length,z=-1,H=1,W=0,V=[],Y=[];function G(t){throw e.error("Unclosed "+t,H,W-z)}return{back:function(e){Y.push(e)},nextToken:function(){if(Y.length)return Y.pop();if(W>=q)return;((C=n.charCodeAt(W))===s||C===u||C===d&&n.charCodeAt(W+1)!==s)&&(z=W,H+=1);switch(C){case s:case c:case l:case d:case u:O=W;do{O+=1,(C=n.charCodeAt(O))===s&&(z=O,H+=1)}while(C===c||C===s||C===l||C===d||C===u);U=["space",n.slice(W,O)],W=O-1;break;case f:U=["[","[",H,W-z];break;case h:U=["]","]",H,W-z];break;case v:U=["{","{",H,W-z];break;case g:U=["}","}",H,W-z];break;case _:U=[":",":",H,W-z];break;case y:U=[";",";",H,W-z];break;case p:if(F=V.length?V.pop()[1]:"",B=n.charCodeAt(W+1),"url"===F&&B!==r&&B!==i&&B!==c&&B!==s&&B!==l&&B!==u&&B!==d){O=W;do{if(D=!1,-1===(O=n.indexOf(")",O+1))){if(T){O=W;break}G("bracket")}for(R=O;n.charCodeAt(R-1)===o;)R-=1,D=!D}while(D);U=["brackets",n.slice(W,O+1),H,W-z,H,O-z],W=O}else O=n.indexOf(")",W+1),M=n.slice(W,O+1),-1===O||E.test(M)?U=["(","(",H,W-z]:(U=["brackets",M,H,W-z,H,O-z],W=O);break;case m:U=[")",")",H,W-z];break;case r:case i:A=C===r?"'":'"',O=W;do{if(D=!1,-1===(O=n.indexOf(A,O+1))){if(T){O=W+1;break}G("string")}for(R=O;n.charCodeAt(R-1)===o;)R-=1,D=!D}while(D);M=n.slice(W,O+1),j=M.split("\n"),(N=j.length-1)>0?(I=H+N,L=O-j[N].length):(I=H,L=z),U=["string",n.slice(W,O+1),H,W-z,I,O-L],z=L,H=I,W=O;break;case w:x.lastIndex=W+1,x.test(n),O=0===x.lastIndex?n.length-1:x.lastIndex-2,U=["at-word",n.slice(W,O+1),H,W-z,H,O-z],W=O;break;case o:for(O=W,P=!0;n.charCodeAt(O+1)===o;)O+=1,P=!P;if(C=n.charCodeAt(O+1),P&&C!==a&&C!==c&&C!==s&&C!==l&&C!==d&&C!==u&&(O+=1,S.test(n.charAt(O)))){for(;S.test(n.charAt(O+1));)O+=1;n.charCodeAt(O+1)===c&&(O+=1)}U=["word",n.slice(W,O+1),H,W-z,H,O-z],W=O;break;default:C===a&&n.charCodeAt(W+1)===b?(0===(O=n.indexOf("*/",W+2)+1)&&(T?O=n.length:G("comment")),M=n.slice(W,O+1),j=M.split("\n"),(N=j.length-1)>0?(I=H+N,L=O-j[N].length):(I=H,L=z),U=["comment",M,H,W-z,I,O-L],z=L,H=I,W=O):(k.lastIndex=W+1,k.test(n),O=0===k.lastIndex?n.length-1:k.lastIndex-2,U=["word",n.slice(W,O+1),H,W-z,H,O-z],V.push(U),W=O)}return W++,U},endOfFile:function(){return 0===Y.length&&W>=q}}};var r=39,i=34,o=92,a=47,s=10,c=32,u=12,l=9,d=13,f=91,h=93,p=40,m=41,v=123,g=125,y=59,b=42,_=58,w=64,x=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,k=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,E=/.[\\\/\("'\n]/,S=/[a-f0-9]/i;e.exports=t.default},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(897)),o=s(n(1641)),a=s(n(705));function s(e){return e&&e.__esModule?e:{default:e}}var c=0,u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=u,e.exports=t.default},function(e,t,n){t.SourceMapGenerator=n(902).SourceMapGenerator,t.SourceMapConsumer=n(1644).SourceMapConsumer,t.SourceNode=n(1647).SourceNode},function(e,t,n){var r=n(903),i=n(453),o=n(904).ArraySet,a=n(1643).MappingList;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,c=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 u=t.source;null==u||s.has(u)||s.add(u);var l=t.name;null==l||c.has(l)||c.add(l)},this),this._sources=s,this._names=c,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,c=0,u=0,l=0,d=0,f="",h=this._mappings.toArray(),p=0,m=h.length;p<m;p++){if(e="",(t=h[p]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(p>0){if(!i.compareByGeneratedPositionsInflated(t,h[p-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-d),d=o,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),f+=e}return f},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},function(e,t,n){var r=n(1642);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,c=e.length,u=0,l=0;do{if(t>=c)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),u+=(o&=31)<<l,l+=5}while(i);n.value=(s=(a=u)>>1,1==(1&a)?-s:s),n.rest=t}},function(e,t,n){var r=n(453),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.ArraySet=a},function(e,t,n){"use strict";t.__esModule=!0;var r={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var i=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,n){var i=void 0;if(n||(n=t),t&&void 0!==(i=e.raws[t]))return i;var o=e.parent;if("before"===n&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return r[n];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var s,c="raw"+((s=n)[0].toUpperCase()+s.slice(1));return this[c]?i=this[c](a,e):a.walk(function(e){if(void 0!==(i=e.raws[t]))return!1}),void 0===i&&(i=r[n]),a.rawCache[n]=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=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(r[e])return;r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var r={};e.exports=t.default},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(908),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=s,e.exports=t.default},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(1649)),a=l(n(706)),s=l(n(906)),c=l(n(1650)),u=l(n(707));function l(e){return e&&e.__esModule?e:{default:e}}function d(e){return"object"===(void 0===e?"undefined":i(e))&&"function"==typeof e.then}var f=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 c.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=u.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 c.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,d(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:(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(d(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=f,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r={split:function(e,t,n){for(var r=[],i="",o=!1,a=0,s=!1,c=!1,u=0;u<e.length;u++){var l=e[u];s?c?c=!1:"\\"===l?c=!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 r.split(e,[" ","\n","\t"])},comma:function(e){return r.split(e,[","],!0)}};t.default=r,e.exports=t.default},function(e,t){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)}}()},function(e,t,n){var r=n(254),i=n(20);e.exports=i(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})})},function(e,t,n){var r=n(543);e.exports=function(e){return function t(n){for(var i,o,a,s=[],c=0,u=n.length;c<u;){if(r(n[c]))for(a=0,o=(i=e?t(n[c]):n[c]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[c];c+=1}return s}}},function(e,t,n){"use strict";var r=n(162),i=n(124),o=n(442),a=n(914),s=n(528),c=n(234),u=n(524),l=Object.assign,d=Object.defineProperty;e.exports=!l||i(function(){if(r&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=o(l({},t)).join("")})?function(e,t){for(var n=c(e),i=arguments.length,l=1,d=a.f,f=s.f;i>l;)for(var h,p=u(arguments[l++]),m=d?o(p).concat(d(p)):o(p),v=m.length,g=0;v>g;)h=m[g++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(145),i=n(234),o=n(524),a=n(235),s=function(e){return function(t,n,s,c){r(n);var u=i(t),l=o(u),d=a(u.length),f=e?d-1:0,h=e?-1:1;if(s<2)for(;;){if(f in l){c=l[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in l&&(c=n(c,l[f],f,u));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){var r=n(860),i=n(685).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,n){var r=n(20),i=n(219),o=n(719),a=n(54),s=n(32);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))})})},function(e,t){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(61),i=n(187),o=n(321),a=n(720),s=n(26),c=n(29);e.exports=r(function e(t,n,r){if(0===t.length)return n;var u=t[0];if(t.length>1){var l=!c(r)&&i(u,r)?r[u]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,l)}if(a(u)&&o(r)){var d=[].concat(r);return d[u]=n,d}return s(u,n,r)})},function(e,t,n){var r=n(254),i=n(20);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))})})}},function(e,t,n){var r=n(50),i=n(867),o=n(321),a=n(713),s=n(454);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})},function(e,t,n){"use strict";var r=n(174),i=n(234),o=n(873),a=n(872),s=n(235),c=n(692),u=n(530);e.exports=function(e){var t,n,l,d,f,h,p=i(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(p),_=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=s(p.length));t>_;_++)h=y?g(p[_],_):p[_],c(n,_,h);else for(f=(d=b.call(p)).next,n=new m;!(l=f.call(d)).done;_++)h=y?o(d,g,[l.value,_],!0):l.value,c(n,_,h);return n.length=_,n}},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e&&t})},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=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:a,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 o=t[r],a=o.obj[o.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);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){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var i="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},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)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return i(t)&&!i(n)&&(s=a(t,o)),i(t)&&i(n)?(n.forEach(function(n,i){if(r.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,o):t.push(n)}else t[i]=n}),t):Object.keys(n).reduce(function(t,i){var a=n[i];return r.call(t,i)?t[i]=e(t[i],a,o):t[i]=a,t},s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){n(151)("iterator")},function(e,t,n){var r=n(930),i=n(694);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 c in n[s+1]=t,o[s+1]=r,t)r[c]=a?e(t[c],n,o,!0):t[c];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}}},function(e,t){e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},function(e,t,n){var r=n(722),i=n(7),o=n(32);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)}},function(e,t,n){var r=n(20),i=n(79),o=n(550);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,c,u,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,c);case 9:return new t(e,n,r,i,o,a,s,c,u);case 10:return new t(e,n,r,i,o,a,s,c,u,l)}}))})},function(e,t,n){var r=n(552),i=n(61);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})},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(148),o=n(934),a=n(131);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}))},function(e,t,n){var r=n(20),i=n(595);e.exports=r(function(e,t){return i(e>=0?t.length-e:0,t)})},function(e,t,n){var r=n(1826),i=n(20);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})},function(e,t,n){var r=n(50),i=n(394);e.exports=r(function(e){return i(e)/e.length})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(20),i=n(54);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)))})})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(20),i=n(719),o=n(32),a=n(389),s=n(941);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)})},function(e,t,n){var r=n(20),i=n(187);e.exports=r(function(e,t){for(var n in e)if(i(n,e)&&!e[n](t[n]))return!1;return!0})},function(e,t,n){var r=n(440),i=n(155),o=n(173),a=n(217).f,s=n(527),c=n(1897),u=s("meta"),l=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!o(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return c&&h.REQUIRED&&d(e)&&!o(e,u)&&f(e),e}};r[u]=!0},function(e,t,n){"use strict";var r=n(110);e.exports=function(e,t){var n,i=r(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof o)throw TypeError("At least one callback required");return i.has(e)?(n=i.get(e),"function"==typeof t&&(n=t(n),i.set(e,n))):"function"==typeof o&&(n=o(),i.set(e,n)),n}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(355),i=n(1932);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(948),i=n(355);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){var r=n(53),i=n(290);
/** @license ISC License (c) copyright 2017 original and current authors */e.exports=function(e){var t;return e&&i(e.type)?e.type():r(t={}.toString.call(e)).call(t,8,-1)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(204);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(204),i=n(1953),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,c={adapter:("undefined"!=typeof XMLHttpRequest?s=n(957):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(s=n(957)),s),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(o)}),e.exports=c}).call(this,n(320))},function(e,t,n){"use strict";var r=n(204),i=n(1954),o=n(954),a=n(1956),s=n(1959),c=n(1960),u=n(958);e.exports=function(e){return new Promise(function(t,l){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(p+":"+m)}var v=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(v,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,l,r),h=null}},h.onabort=function(){h&&(l(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){l(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(u(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=n(1961),y=(e.withCredentials||c(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),l(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(1955);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(204);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),c=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(c,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){var r=n(460),i=n(188)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t){var n=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 n(e)}},function(e,t,n){var r=n(729);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))}}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(356),i=n(1979);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(966),i=n(356);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(291);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t){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}},function(e,t,n){var r=n(220),i=n(973),o=n(2001),a=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),u=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||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],l=c&&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)&&!u(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=l},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(220)(function(e){return function(){return e}});e.exports=r},function(e,t,n){var r=n(188)(function(e,t){return t>e?t:e});e.exports=r},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(2011),o=(r=i)&&r.__esModule?r:{default:r},a=["type","payload","error","meta"];function s(e){return a.indexOf(e)>-1}},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=Object.prototype,s=a.hasOwnProperty,c=a.toString,u=a.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<=n}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return t==i||t==o}(e)}(e)}(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||c.call(e)==r)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=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(1)),i=s(n(0)),o=s(n(103)),a=n(980);n(981);function s(e){return e&&e.__esModule?e:{default:e}}var c="unmounted";t.UNMOUNTED=c;var u="exited";t.EXITED=u;var l="entering";t.ENTERING=l;var d="entered";t.ENTERED=d;t.EXITING="exiting";var f=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=u,r.appearStatus=l):i=d:i=t.unmountOnExit||t.mountOnEnter?c:u,r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:u}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==d&&(t=l):n!==l&&n!==d||(t="exiting")}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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=r.appear),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},a.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();t||r?(this.props.onEnter(e,i),this.safeSetState({status:l},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:d},function(){n.props.onEntered(e,i)})})})):this.safeSetState({status:d},function(){n.props.onEntered(e)})},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:u},function(){t.props.onExited(e)})})})):this.safeSetState({status:u},function(){t.props.onExited(e)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.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},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,r=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}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function h(){}f.contextTypes={transitionGroup:r.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var p=(0,a.polyfill)(f);t.default=p},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}},t.classNamesShape=t.timeoutsShape=void 0;var r,i=(r=n(1))&&r.__esModule?r:{default:r};var o=i.default.oneOfType([i.default.number,i.default.shape({enter:i.default.number,exit:i.default.number}).isRequired]);t.timeoutsShape=o;var a=i.default.oneOfType([i.default.string,i.default.shape({enter:i.default.string,exit:i.default.string,active:i.default.string}),i.default.shape({enter:i.default.string,enterDone:i.default.string,enterActive:i.default.string,exit:i.default.string,exitDone:i.default.string,exitActive:i.default.string})]);t.classNamesShape=a},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(1)),i=s(n(0)),o=n(980),a=n(2041);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=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 u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(e){var t,n;function r(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(u(u(r)));return r.state={handleExited:i,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},o.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=c({},t.children);return delete n[e.key],{children:n}}))},o.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=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,["component","childFactory"]),o=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);d.childContextTypes={transitionGroup:r.default.object.isRequired},d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};var f=(0,o.polyfill)(d);t.default=f,e.exports=t.default},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(100))},function(e,t,n){var r=n(357),i=n(559),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;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(a,"");var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?o:+e}},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};function g(e,t,r){var i,o,a,s,c,u,l=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function w(){var e=v();if(_(e))return x(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function x(e){return c=void 0,h&&i?g(e):(i=o=void 0,s)}function k(){var e=v(),n=_(e);if(i=arguments,o=this,u=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(w,t),d?g(e):s}(u);if(f)return c=setTimeout(w,t),g(u)}return void 0===c&&(c=setTimeout(w,t)),s}return t=b(t)||0,y(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(b(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:x(v())},k}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return r;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(o,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),g(e,t,{leading:i,maxWait:t,trailing:o})}}).call(this,n(100))},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(463)),s(n(2064))),o=s(n(2065)),a=s(n(736));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return i.default[e.smooth]||i.default.defaultEasing},u=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},d=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},f=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=c(t),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);u.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)}.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout(function(){u.call(window,f)},t.delay):u.call(window,f)}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:f,getAnimationType:c,scrollToTop:function(e){f(0,h(e))},scrollToBottom:function(e){e=h(e),d(e),f(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){f(e,h(t))},scrollMore:function(e,t){t=h(t),d(t),f(l(t)+e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(735);var r,i=n(463),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},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=c(n(0)),a=(c(n(103)),c(n(561))),s=c(n(562));function c(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,o.default.Component),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}();return t.propTypes={name:s.default.string,id:s.default.string},t}},function(e,t,n){var r=n(990),i=n(568);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}},function(e,t,n){var r=n(292),i=n(737),o=n(2082),a=n(567);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(382),i=n(357),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==c}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(560),i=n(995),o=n(292),a=n(559),s=1/0,c=r?r.prototype:void 0,u=c?c.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==-s?"-0":n}},function(e,t){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}},function(e,t){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++);}}},function(e,t,n){var r=n(188),i=n(2152),o=r(function(e,t){return i([e],t)});e.exports=o},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){return null==e||e!=e}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(Object.create){var i=Object.create(t.prototype);r.__proto__=i}if(!(r instanceof t)){function o(){}o.prototype=t.prototype,n(r,o=new o),e.prototype=r=o}r.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),r.constructor=e)}var i="http://www.w3.org/1999/xhtml",o={},a=o.ELEMENT_NODE=1,s=o.ATTRIBUTE_NODE=2,c=o.TEXT_NODE=3,u=o.CDATA_SECTION_NODE=4,l=o.ENTITY_REFERENCE_NODE=5,d=o.ENTITY_NODE=6,f=o.PROCESSING_INSTRUCTION_NODE=7,h=o.COMMENT_NODE=8,p=o.DOCUMENT_NODE=9,m=o.DOCUMENT_TYPE_NODE=10,v=o.DOCUMENT_FRAGMENT_NODE=11,g=o.NOTATION_NODE=12,y={},b={},_=(y.INDEX_SIZE_ERR=(b[1]="Index size error",1),y.DOMSTRING_SIZE_ERR=(b[2]="DOMString size error",2),y.HIERARCHY_REQUEST_ERR=(b[3]="Hierarchy request error",3)),w=(y.WRONG_DOCUMENT_ERR=(b[4]="Wrong document",4),y.INVALID_CHARACTER_ERR=(b[5]="Invalid character",5),y.NO_DATA_ALLOWED_ERR=(b[6]="No data allowed",6),y.NO_MODIFICATION_ALLOWED_ERR=(b[7]="No modification allowed",7),y.NOT_FOUND_ERR=(b[8]="Not found",8)),x=(y.NOT_SUPPORTED_ERR=(b[9]="Not supported",9),y.INUSE_ATTRIBUTE_ERR=(b[10]="Attribute in use",10));y.INVALID_STATE_ERR=(b[11]="Invalid state",11),y.SYNTAX_ERR=(b[12]="Syntax error",12),y.INVALID_MODIFICATION_ERR=(b[13]="Invalid modification",13),y.NAMESPACE_ERR=(b[14]="Invalid namespace",14),y.INVALID_ACCESS_ERR=(b[15]="Invalid access",15);function k(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,b[e]),this.message=b[e],Error.captureStackTrace&&Error.captureStackTrace(this,k);return n.code=e,t&&(this.message=this.message+": "+t),n}function E(){}function S(e,t){this._node=e,this._refresh=t,T(this)}function T(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);ne(e,"length",r.length),n(r,e),e._inc=t}}function C(){}function O(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function A(e,t,n,r){if(r?t[O(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&D(i,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function j(e,t,n){var r=O(t,n);if(!(r>=0))throw k(w,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&&(D(o,e,n),n.ownerElement=null)}}function N(e){if(this._features={},e)for(var t in e)this._features=e[t]}function M(){}function P(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function I(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(I(e,t))return!0}while(e=e.nextSibling)}function L(){}function D(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function R(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}}}function F(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,R(e.ownerDocument,e),t}function B(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===v){var i=t.firstChild;if(null==i)return t;var o=t.lastChild}else i=o=t;var a=n?n.previousSibling:e.lastChild;i.previousSibling=a,o.nextSibling=n,a?a.nextSibling=i:e.firstChild=i,null==n?e.lastChild=o:n.previousSibling=o;do{i.parentNode=e}while(i!==o&&(i=i.nextSibling));return R(e.ownerDocument||e,e),t.nodeType==v&&(t.firstChild=t.lastChild=null),t}function U(){this._nsMap={}}function q(){}function z(){}function H(){}function W(){}function V(){}function Y(){}function G(){}function K(){}function $(){}function X(){}function Q(){}function Z(){}function J(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 te(this,n,e,t,a),n.join("")}function ee(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!r&&!i)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===i||"http://www.w3.org/2000/xmlns/"==i)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix==r)return a.namespace!=i}return!0}function te(e,t,n,r,o){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case a:o||(o=[]);o.length;var d=e.attributes,g=d.length,y=e.firstChild,b=e.tagName;n=i===e.namespaceURI||n,t.push("<",b);for(var _=0;_<g;_++){"xmlns"==(w=d.item(_)).prefix?o.push({prefix:w.localName,namespace:w.value}):"xmlns"==w.nodeName&&o.push({prefix:"",namespace:w.value})}for(_=0;_<g;_++){var w;if(ee(w=d.item(_),0,o)){var x=w.prefix||"",k=w.namespaceURI,E=x?" xmlns:"+x:" xmlns";t.push(E,'="',k,'"'),o.push({prefix:x,namespace:k})}te(w,t,n,r,o)}if(ee(e,0,o)){x=e.prefix||"",k=e.namespaceURI,E=x?" xmlns:"+x:" xmlns";t.push(E,'="',k,'"'),o.push({prefix:x,namespace:k})}if(y||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(b)){if(t.push(">"),n&&/^script$/i.test(b))for(;y;)y.data?t.push(y.data):te(y,t,n,r,o),y=y.nextSibling;else for(;y;)te(y,t,n,r,o),y=y.nextSibling;t.push("</",b,">")}else t.push("/>");return;case p:case v:for(y=e.firstChild;y;)te(y,t,n,r,o),y=y.nextSibling;return;case s:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,P),'"');case c:return t.push(e.data.replace(/[<&]/g,P));case u:return t.push("<![CDATA[",e.data,"]]>");case h:return t.push("\x3c!--",e.data,"--\x3e");case m:var S=e.publicId,T=e.systemId;if(t.push("<!DOCTYPE ",e.name),S)t.push(' PUBLIC "',S),T&&"."!=T&&t.push('" "',T),t.push('">');else if(T&&"."!=T)t.push(' SYSTEM "',T,'">');else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">")}return;case f:return t.push("<?",e.target," ",e.data,"?>");case l:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ne(e,t,n){e[t]=n}k.prototype=Error.prototype,n(y,k),E.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)te(this[r],n,e,t);return n.join("")}},S.prototype.item=function(e){return T(this),this[e]},r(S,E),C.prototype={length:0,item:E.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 k(x);var n=this.getNamedItem(e.nodeName);return A(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new k(x);return t=this.getNamedItemNS(e.namespaceURI,e.localName),A(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return j(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return j(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){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new L;if(r.implementation=this,r.childNodes=new E,r.doctype=n,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Y;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},M.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 B(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return F(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var i=new n.constructor;for(var o in n){var c=n[o];"object"!=typeof c&&c!=i[o]&&(i[o]=c)}n.childNodes&&(i.childNodes=new E);i.ownerDocument=t;switch(i.nodeType){case a:var u=n.attributes,l=i.attributes=new C,d=u.length;l._ownerElement=i;for(var f=0;f<d;f++)i.setAttributeNode(e(t,u.item(f),!0));break;case s:r=!0}if(r)for(var h=n.firstChild;h;)i.appendChild(e(t,h,r)),h=h.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==c&&e.nodeType==c?(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(n[r]==e)return r;t=t.nodeType==s?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==s?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(o,M),n(o,M.prototype),L.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==v){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==a&&(this.documentElement=e),B(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),F(this,e)},importNode:function(e,t){return function e(t,n,r){var i;switch(n.nodeType){case a:(i=n.cloneNode(!1)).ownerDocument=t;case v:break;case s:r=!0}i||(i=n.cloneNode(!1));i.ownerDocument=t;i.parentNode=null;if(r)for(var o=n.firstChild;o;)i.appendChild(e(t,o,r)),o=o.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return I(this.documentElement,function(n){if(n.nodeType==a&&n.getAttribute("id")==e)return t=n,!0}),t},createElement:function(e){var t=new U;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new E,(t.attributes=new C)._ownerElement=t,t},createDocumentFragment:function(){var e=new X;return e.ownerDocument=this,e.childNodes=new E,e},createTextNode:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new V;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Q;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new q;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new $;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new U,r=t.split(":"),i=n.attributes=new C;return n.childNodes=new E,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 q,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}},r(L,M),U.prototype={nodeType:a,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===v?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t),r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,R(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 S(this,function(t){var n=[];return I(t,function(r){r===t||r.nodeType!=a||"*"!==e&&r.tagName!=e||n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new S(this,function(n){var r=[];return I(n,function(i){i===n||i.nodeType!==a||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)}),r})}},L.prototype.getElementsByTagName=U.prototype.getElementsByTagName,L.prototype.getElementsByTagNameNS=U.prototype.getElementsByTagNameNS,r(U,M),q.prototype.nodeType=s,r(q,M),z.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(b[_])},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}},r(z,M),H.prototype={nodeName:"#text",nodeType:c,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}},r(H,z),W.prototype={nodeName:"#comment",nodeType:h},r(W,z),V.prototype={nodeName:"#cdata-section",nodeType:u},r(V,z),Y.prototype.nodeType=m,r(Y,M),G.prototype.nodeType=g,r(G,M),K.prototype.nodeType=d,r(K,M),$.prototype.nodeType=l,r($,M),X.prototype.nodeName="#document-fragment",X.prototype.nodeType=v,r(X,M),Q.prototype.nodeType=f,r(Q,M),Z.prototype.serializeToString=function(e,t,n){return J.call(e,t,n)},M.prototype.toString=J;try{if(Object.defineProperty){Object.defineProperty(S.prototype,"length",{get:function(){return T(this),this.$$length}}),Object.defineProperty(M.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case a:case v:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case a:case v: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}}}),ne=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DOMImplementation=N,t.XMLSerializer=Z},function(e,t,n){"use strict";e.exports={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){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}t+=i,r=0,i=0}return n},parseUserData:function(e){return 181!==e.payload[0]?null:49!=(e.payload[1]<<8|e.payload[2])?null:"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])?null: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[2+(i=3*n)],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}},function(e,t,n){"use strict";var r=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={}}}};r.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},r.prototype.push=function(e){this.trigger("data",e)},r.prototype.flush=function(e){this.trigger("done",e)},r.prototype.partialFlush=function(e){this.trigger("partialdone",e)},r.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},r.prototype.reset=function(e){this.trigger("reset",e)},e.exports=r},function(e,t,n){"use strict";e.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Align left":n,o=t.desc,a=void 0===o?"Three vertical lines aligned to the left":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"12":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 12",width:c,height:l,className:i()("i",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M8.4148147,12 L1.05185184,12 C0.471229623,12 0,11.552 0,11 C0,10.448 0.471229623,10 1.05185184,10 L8.4148147,10 C8.99543692,10 9.46666654,10.448 9.46666654,11 C9.46666654,11.552 8.99543692,12 8.4148147,12"}),e.createElement("path",{d:"M12.2500002,2 L0.816666683,2 C0.365866674,2 0,1.552 0,1 C0,0.448 0.365866674,0 0.816666683,0 L12.2500002,0 C12.7008002,0 13.0666669,0.448 13.0666669,1 C13.0666669,1.552 12.7008002,2 12.2500002,2"}),e.createElement("path",{d:"M15,7 L1,7 C0.448,7 0,6.552 0,6 C0,5.448 0.448,5 1,5 L15,5 C15.552,5 16,5.448 16,6 C16,6.552 15.552,7 15,7"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){t.a=function(t){var n=t.width,r=void 0===n?"17":n,i=t.height,o=void 0===i?"15":i,a=t.title,s=void 0===a?"Book":a,c=t.desc,u=void 0===c?"Book":c,l=t.focusable,d=void 0===l?"false":l,f=t.className;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 17 15",focusable:d,className:f},e.createElement("title",null,s),e.createElement("desc",null,u),e.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M8.407 14.529a.68.68 0 0 1-.374 0L.506 12.553A.679.679 0 0 1 0 11.897V.679C0 .234.42-.09.851.023L8.22 1.957 15.589.023a.679.679 0 0 1 .851.656v11.218a.679.679 0 0 1-.506.656L8.407 14.53zM7.541 3.182L1.357 1.56v9.814l6.184 1.623V3.182zm1.358 0v9.814l6.184-1.623V1.56L8.899 3.182z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(4),n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"DestinationArrow":n,o=t.desc,a=void 0===o?"DestinationArrow":o,s=t.width,c=void 0===s?"13":s,u=t.height,l=void 0===u?"10":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 13 10",width:c,height:l,className:i()("i i-destinationArrow",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M0 5c0 .345.264.625.59.625h10.393L7.855 8.933a.65.65 0 0 0 0 .884.573.573 0 0 0 .418.183.573.573 0 0 0 .418-.183l4.136-4.374a.66.66 0 0 0 0-.885L8.691.183a.568.568 0 0 0-.836 0 .65.65 0 0 0 0 .884l3.128 3.308H.591C.264 4.375 0 4.655 0 5"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Download":n,o=t.desc,a=void 0===o?"Arrow down with horizontal line beneath it":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"19":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 19",width:c,height:l,className:i()("i i-download",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("rect",{y:"17",width:"16",height:"2",rx:"1"}),e.createElement("path",{d:"M4.464 8.293A1 1 0 1 0 3.05 9.707l4.24 4.24c.4.4 1.028.392 1.42 0l4.24-4.24a1 1 0 1 0-1.414-1.414L8 4.757 4.464 8.293zm0 0L8 4.757l3.536 3.536L8 11.828 4.464 8.293z"}),e.createElement("path",{d:"M7 0h2v12H7z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Draw":n,o=t.desc,a=void 0===o?"Arrow down with horizontal line beneath it":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-drawFromQuestionBank",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M8.15625 10.9688C7.96875 11.1562 7.78125 11.25 7.5 11.25C7.21875 11.25 7.03125 11.1562 6.84375 10.9688L1.5 5.625L2.8125 4.3125L6.5625 8.0625V0H8.4375V8.0625L12.1875 4.3125L13.5 5.625L8.15625 10.9688Z"}),e.createElement("path",{d:"M1.875 10.3125V13.125H13.125V10.3125H15V14.0625C15 14.625 14.625 15 14.0625 15H0.9375C0.375 15 0 14.625 0 14.0625V10.3125H1.875Z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Draggable":n,o=t.desc,a=void 0===o?"Three dots stacked on top of one another":o,s=t.width,c=void 0===s?"4":s,u=t.height,l=void 0===u?"14":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 4 14",width:c,height:l,className:i()("i i-ellipsis--vert",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{transform:"translate(.158 .445)"},e.createElement("circle",{cx:"1.5",cy:"11.5",r:"1.5"}),e.createElement("circle",{cx:"1.5",cy:"6.5",r:"1.5"}),e.createElement("circle",{cx:"1.5",cy:"1.5",r:"1.5"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Fill in the Blank":n,o=t.desc,a=void 0===o?"Pencil writing on a surface":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-fillInTheBlank",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M2.488 8.246l5.25-5.25 1.4 1.4-5.25 5.25h-1.4v-1.4zm-.875 3.15h2.625a.794.794 0 0 0 .613-.262l6.125-6.125a.846.846 0 0 0 0-1.225L8.35 1.159a.846.846 0 0 0-1.225 0L1 7.284a.794.794 0 0 0-.263.612v2.625c0 .525.35.875.875.875zM.739 13.146h14v1.75h-14z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"More":n,o=t.desc,a=void 0===o?"Filled caret pointing right":o,s=t.width,c=void 0===s?"7":s,u=t.height,l=void 0===u?"5":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 5 7",width:c,height:l,className:i()("i i-filledChevronRight",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 3.625L1 1v5.25z"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.className,r=t.decorative,o=void 0===r||r,a=t.desc,s=void 0===a?"Heart":a,c=t.focusable,u=void 0===c?"false":c,l=t.height,d=void 0===l?"16":l,f=t.isFilled,h=void 0===f||f,p=t.title,m=void 0===p?"Heart":p,v=t.width,g=void 0===v?"16":v;return e.createElement("svg",{"aria-hidden":o,viewBox:"0 0 16 16",width:g,height:d,className:i()("i i-heart".concat(h?"Filled":"Outline"),n),focusable:u},e.createElement("title",null,m),e.createElement("desc",null,s),e.createElement("path",{d:"M11.15 1C9.838 1 8.7 1.7 8 2.75 7.3 1.7 6.162 1 4.85 1 2.75 1 1 2.75 1 4.85c0 3.85 7 9.538 7 9.538S15 8.7 15 4.85C15 2.75 13.25 1 11.15 1"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){t.a=function(t){var n=t["aria-hidden"],r=t["aria-label"],i=t.className,o=t.desc,a=t.height,s=t.role,c=void 0===s?"img":s,u=t.title,l=t.width;return e.createElement("svg",{"aria-hidden":n,"aria-label":r,className:i,fill:"none",focusable:"false",height:a,role:c,viewBox:"0 0 40 40",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&e.createElement("title",null,u),o&&e.createElement("desc",null,o),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 23C24 24.5064 23.1673 25.8183 21.9371 26.5005C21.9782 26.6602 22 26.8275 22 27V30C22 31.1046 21.1046 32 20 32C18.8954 32 18 31.1046 18 30V27C18 26.8275 18.0218 26.6602 18.0629 26.5005C16.8327 25.8183 16 24.5064 16 23C16 20.7909 17.7909 19 20 19C22.2091 19 24 20.7909 24 23ZM20 25C21.1046 25 22 24.1046 22 23C22 21.8954 21.1046 21 20 21C18.8954 21 18 21.8954 18 23C18 24.1046 18.8954 25 20 25Z",fill:"#313537"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 10V13C8.68629 13 6 15.6863 6 19V32C6 35.3137 8.68629 38 12 38H28C31.3137 38 34 35.3137 34 32V19C34 15.6863 31.3137 13 28 13V10C28 5.58172 24.4183 2 20 2C15.5817 2 12 5.58172 12 10ZM20 4C16.6863 4 14 6.68629 14 10V13H26V10C26 6.68629 23.3137 4 20 4ZM8 19C8 16.7909 9.79086 15 12 15H28C30.2091 15 32 16.7909 32 19V32C32 34.2091 30.2091 36 28 36H12C9.79086 36 8 34.2091 8 32V19Z",fill:"#313537"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Matching":n,o=t.desc,a=void 0===o?"Two rows of stacked squares":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-matching",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M4.814 4.975H2.19V2.35h2.625v2.625zM5.69.6H1.314C.79.6.44.95.44 1.475V5.85c0 .525.35.875.875.875H5.69c.525 0 .875-.35.875-.875V1.475C6.564.95 6.214.6 5.69.6zM12.69 4.975h-2.626V2.35h2.625v2.625zM13.563.6H9.19c-.525 0-.875.35-.875.875V5.85c0 .525.35.875.875.875h4.375c.525 0 .875-.35.875-.875V1.475c0-.525-.35-.875-.875-.875zM4.814 12.85H2.19v-2.625h2.625v2.625zm.875-4.375H1.314c-.525 0-.875.35-.875.875v4.375c0 .525.35.875.875.875H5.69c.525 0 .875-.35.875-.875V9.35c0-.525-.35-.875-.875-.875zM12.69 12.85h-2.626v-2.625h2.625v2.625zm.874-4.375H9.19c-.525 0-.875.35-.875.875v4.375c0 .525.35.875.875.875h4.375c.525 0 .875-.35.875-.875V9.35c0-.525-.35-.875-.875-.875z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Multiple Choice":n,o=t.desc,a=void 0===o?"Stacked circles to the left of stacked lines":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i i-multipleChoice",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-2A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"}),e.createElement("circle",{cx:"7.904",cy:"7.904",r:"1.904"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Multiple Response":n,o=t.desc,a=void 0===o?"A box with a checkmark in it":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i i-multipleResponse",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M15.142.332c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-14c-.6 0-1-.4-1-1v-14c0-.6.4-1 1-1h14zm-1 14v-12h-12v12h12zm-7.978-3.308l-2-2-.707-.708L4.87 6.902l.707.707 1.3 1.3 3.317-3.33.707-.708 1.414 1.414-.707.707-4.03 4.032-.708.707-.707-.707z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Not Allowed":n,o=t.desc,a=void 0===o?"A circle with a slanted line through it":o,s=t.width,c=void 0===s?"12":s,u=t.height,l=void 0===u?"12":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 12 12",width:c,height:l,className:i()("i i-notAllowed",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M6 10.5c-.975 0-1.875-.3-2.625-.825l6.3-6.3c.525.75.825 1.65.825 2.625 0 2.475-2.025 4.5-4.5 4.5m0-9c.975 0 1.875.3 2.625.825l-6.3 6.3A4.546 4.546 0 0 1 1.5 6c0-2.475 2.025-4.5 4.5-4.5M6 0C2.7 0 0 2.7 0 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Pick One":n,o=t.desc,a=void 0===o?"Pick One":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"14":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:c,height:l,viewBox:"0 0 16 14",className:i()("i i-pickOne",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{fillRule:"evenodd"},e.createElement("path",{fillRule:"nonzero",d:"M5.039 10.865A1.284 1.284 0 1 1 3.754 9.58v-1.6a2.884 2.884 0 1 0-.001 5.768 2.884 2.884 0 0 0 0-5.768v1.6c.71 0 1.286.575 1.286 1.285zM5.039 3.851a1.284 1.284 0 1 1-1.285-1.285v-1.6a2.884 2.884 0 1 0-.001 5.769 2.884 2.884 0 0 0 0-5.769v1.6c.71 0 1.286.575 1.286 1.285z"}),e.createElement("path",{d:"M8.862 1.324h7v2h-7zM8.862 4.324h7v2h-7zM8.862 8.324h7v2h-7zM8.862 11.324h7v2h-7z"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Question box":n,o=t.desc,a=void 0===o?"Question mark inside of a square":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M14,14 L2,14 L2,2 L14,2 L14,14 Z M15,0 L1,0 C0.4,0 0,0.4 0,1 L0,15 C0,15.6 0.4,16 1,16 L15,16 C15.6,16 16,15.6 16,15 L16,1 C16,0.4 15.6,0 15,0 L15,0 Z"}),e.createElement("path",{d:"M7.9997,11 C8.5517,11 8.9997,11.448 8.9997,12 C8.9997,12.552 8.5517,13 7.9997,13 C7.4477,13 6.9997,12.552 6.9997,12 C6.9997,11.448 7.4477,11 7.9997,11"}),e.createElement("path",{d:"M7.0997,5.5 C7.2997,5.2 7.5997,5 7.9997,5 C8.5997,5 8.9997,5.4 8.9997,6 C8.9997,6.3 8.8997,6.4 8.3997,6.7 C7.7997,7.1 6.9997,7.7 6.9997,9 L6.9997,10 L8.9997,10 L8.9997,9 C8.9997,8.8 8.9997,8.7 9.4997,8.4 C10.0997,8 10.9997,7.4 10.9997,6 C10.9997,4.3 9.6997,3 7.9997,3 C6.8997,3 5.8997,3.6 5.3997,4.5 L4.8997,5.4 L6.5997,6.4 L7.0997,5.5 Z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Sortable":n,o=t.desc,a=void 0===o?"Three horizontal lines stacked on top of each other":o,s=t.width,c=void 0===s?"22":s,u=t.height,l=void 0===u?"7":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 22 7",width:c,height:l,className:i()("i i-sortable",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("rect",{x:"0",y:"0",width:"100%",height:"1",strokeWidth:"1"}),e.createElement("rect",{x:"0",y:"3",width:"100%",height:"1",strokeWidth:"1"}),e.createElement("rect",{x:"0",y:"6",width:"100%",height:"1",strokeWidth:"1"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Touch":n,o=t.desc,a=void 0===o?"Hand with a finger extended and a semi-circle around the finger":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 16",width:c,height:l,className:i()("i",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{d:"M8.69169169,1.65459164 C7.42998802,0.732912554 5.79691384,0.425404591 4.21164279,0.810071145 C2.01180284,1.34426767 0.429519485,3.32166778 0.449238273,5.51223961 C0.454317355,6.09008425 0.560978072,6.64511922 0.766531499,7.16185651 C0.884545458,7.45866364 1.19914976,7.66620336 1.53138146,7.66620336 C1.60756769,7.66620336 1.72289272,7.66620336 1.80027403,7.62903206 C2.21496611,7.48682371 2.41812939,7.05879065 2.26276924,6.65638325 C2.09725092,6.18836289 2.02345485,5.8315748 2.02345485,5.49928598 C2.02345485,4.55873965 2.44860388,3.66071502 3.19044858,3.03527987 C3.94334777,2.40027029 4.91763516,2.10993997 5.93524413,2.21694824 C6.90415367,2.31888769 7.79388929,2.81901053 8.37648985,3.58890684 C8.96058425,4.36077436 9.17300938,5.31962473 8.9590904,6.21962057 C8.94235931,6.29002074 8.92204298,6.35957612 8.89754388,6.42913149 C8.84436291,6.5969655 8.8709534,6.79042518 8.97074242,6.9599488 C9.07979329,7.14524206 9.26204269,7.2823816 9.47088259,7.33616734 C9.67285078,7.38770027 9.89573284,7.36517221 10.0812687,7.27308878 C10.2742738,7.17762614 10.4108115,7.01936655 10.4654863,6.83041248 C10.6062067,6.40012662 10.6773139,5.94111748 10.6773139,5.4666203 C10.6773139,3.96597018 9.95369412,2.57655233 8.69169169,1.65459164"}),e.createElement("path",{d:"M12.4033641,9.43002363 L7.46962051,8.60458861 L7.42312479,5.65704834 C7.42257778,4.87028142 6.91659487,4.17992696 6.16391111,3.93838024 C5.57177436,3.74839098 4.94490256,3.83320301 4.44493675,4.1709044 C3.94633846,4.50757465 3.64849231,5.04841246 3.64849231,5.61734909 L3.64849231,12.0692503 L3.27543248,11.4577787 C3.01177436,11.0154157 2.60233846,10.7096799 2.12288547,10.5967691 C1.65355214,10.4859205 1.14620171,10.5673813 0.72637265,10.8220752 C0.0398769231,11.2721719 -0.184396581,12.1996907 0.158577778,13.1957809 C0.165415385,13.210217 0.18237265,13.2532675 0.209176068,13.3208077 C0.319671795,13.5979291 0.578406838,14.2475532 0.952013675,15.0616455 L0.999603419,15.1523867 C1.20227009,15.608928 1.48534701,15.7290569 1.72739829,15.7290569 C1.84445812,15.7290569 1.95139829,15.7009581 2.03563761,15.6692503 C2.21204786,15.6022256 2.33922735,15.4880258 2.40322735,15.3387669 C2.47816752,15.1637293 2.46285128,14.9407433 2.36356923,14.7319356 C2.32992821,14.653826 1.5422359,12.8165757 1.50968889,12.7477465 C1.36828718,12.295072 1.41396239,11.9890784 1.49437265,11.9455124 C1.58845812,11.9011729 1.69403077,11.8869946 1.7730735,11.9009151 C1.9133812,11.9449968 1.98832137,12.0042879 2.05697094,12.1321504 L3.53963761,14.292666 C3.71905641,14.5633426 4.15146667,14.7654479 4.59946667,14.6061353 C4.93888547,14.4857487 5.12568889,14.2596692 5.12568889,13.9699162 L5.12568889,5.69416971 C5.12568889,5.5072739 5.23317607,5.33739205 5.39317607,5.27114071 C5.54469744,5.20927175 5.70797949,5.21984103 5.84117607,5.3018174 C5.97546667,5.38456713 6.05560342,5.52196778 6.05560342,5.66916434 L6.05560342,9.09129108 C6.05560342,9.4367261 6.34715897,9.7540623 6.69232137,9.78396563 L6.6942359,9.78396563 L12.1632274,10.6988528 C12.7868171,10.8042879 13.2397402,11.3141912 13.2397402,11.9112266 L13.2397402,15.0784017 C13.2397402,15.434406 13.5457915,15.72287 13.9235009,15.72287 C14.3009368,15.72287 14.6072615,15.434406 14.6072615,15.0784017 L14.6072615,11.9112266 C14.6072615,10.6893147 13.6809026,9.64579162 12.4033641,9.43002363"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Video camera":n,o=t.desc,a=void 0===o?"Video camera":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"12":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 12",width:c,height:l,className:i()("vgIcon",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{transform:"translate(-1 -2)"},e.createElement("path",{d:"M11,14 L2,14 C1.4,14 1,13.6 1,13 L1,3 C1,2.4 1.4,2 2,2 L11,2 C11.6,2 12,2.4 12,3 L12,4.5 L15.6,3 C16.3,2.8 17,3.3 17,4 L17,12 C17,12.7 16.3,13.2 15.6,12.9 L12,11.5 L12,13 C12,13.6 11.6,14 11,14 L11,14 L11,14 Z M3,12 L10,12 L10,10 C10,9.3 10.7,8.8 11.4,9.1 L15,10.6 L15,5.6 L11.4,7.1 C10.7,7.2 10,6.7 10,6 L10,4 L3,4 L3,12 L3,12 L3,12 Z"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1107),i=n(1108),o=n(1109).type("Async"),a=n(2185),s=n(1110),c=n(2189),u=n(2190),l=n(742),d=n(2191),f=n(293),h=n(2192),p=n(1111),m=function(e){return e.reduce(function(e,t){return e&&p(g,t)},!0)},v=function(e){return g(function(t,n){return n(e)})};function g(e,t){if(!f(e))throw new TypeError("Async: Function required");var n,r=s(function(){n=!0},f(t)?t:u);function a(t,i,o){if(!f(t)||!f(i))throw new TypeError("Async.fork: Reject and resolve functions required");var a=f(o)?o:u;return e(function(e){return n?u():t(e)},function(e){return n?u():i(e)}),c(s(a,r))}return{fork:a,toPromise:function(){return new Promise(function(e,t){a(t,e)})},inspect:function(){return"Async"+i(e)},type:o,swap:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.swap: Functions required for both arguments");return g(function(n,r){a(s(r,e),s(n,t))},r)},coalesce:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return g(function(n,r){a(s(r,e),s(r,t))},r)},map:function(e){if(!f(e))throw new TypeError("Async.map: Function required");return g(function(t,n){a(t,s(n,e))},r)},bimap:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.bimap: Functions required for both arguments");return g(function(n,r){a(s(n,e),s(r,t))},r)},alt:function(e){var t=u;if(!p(g,e))throw new TypeError("Async.alt: Async required");return g(function(n,r){a(function(){t=e.fork(n,r)},r)},c(function(){return t(r())}))},ap:function(e){var t,n,i=!1,o=!1,l=u;if(!p(g,e))throw new TypeError("Async.ap: Async required");return g(function(r,u){var d=c(r);function h(){i&&o&&s(u,t)(n)}a(d,function(e){if(!f(e))throw new TypeError("Async.ap: Wrapped value must be a function");i=!0,t=e,h()}),l=e.fork(d,function(e){o=!0,n=e,h()})},c(function(){l(r())}))},chain:function(e){var t=u;if(!f(e))throw new TypeError("Async.chain: Async returning function required");return g(function(n,r){a(n,function(i){var o=e(i);if(!p(g,o))throw new TypeError("Async.chain: Function must return another Async");t=o.fork(n,r)})},c(function(){t(r())}))},of:v,constructor:g}}g.type=o,g.of=v,g.Rejected=function(e){return g(function(t){return t(e)})},g.Resolved=v,g.fromPromise=function(e){if(!f(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return g(function(n,r){var i=e.apply(null,t);if(!h(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r).catch(n)})}},g.fromNode=function(e,t){if(!f(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return g(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},g.all=function(e){if(!d(e)||!m(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return l(e)?a.sequence(g.of,e):e.sequence(g.of)},g["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=g},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(742),i=n(293),o=n(2183),a=n(2184);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},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2193),i=n(293),o=n(2194);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})},function(e,t,n){var r=n(743),i=n(2195),o=r(function(e){return i(e.length,e)});e.exports=o},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t,n){var r=n(743),i=n(744);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)}}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1107),i=n(1108),o=n(1109).type("IO"),a=n(1110),s=n(293),c=n(1111),u=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(!c(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(!c(l,e))throw new TypeError("IO.ap: IO required");return t(function(t){return e.map(t)})},of:u,chain:t,constructor:l}}l.of=u,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},function(e,t,n){var r=n(2208);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}},function(e,t,n){var r=n(2214),i=n(383),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){(function(e){var r=n(259),i=n(2215),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c}).call(this,n(289)(e))},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(2216),i=n(1121),o=n(1122),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(983),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&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}).call(this,n(289)(e))},function(e,t,n){var r=n(991),i=n(745);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r),o=n(17),a=function(e){var t=e.canProceed;return i()("quiz-card__actions",{"quiz-card__actions--proceed":t})},s=function(e){var t=e.canSubmit;return i()("quiz-card__button",{"quiz-card__button--disabled":!t,"brand--background":t})};t.a=function(t){var n=t.allowTabNavigation,r=t.canProceed,i=t.canSubmit,c=t.onSubmit,u=t.quizSubmit,l=n&&i;return e.createElement("div",{className:a({canProceed:r})},e.createElement("div",{className:"quiz-card__submit brand--ui"},e.createElement("button",{"aria-disabled":!i,"aria-hidden":!n||r,className:s({canSubmit:i}),onClick:c,tabIndex:Object(o.m)(l),type:"button"},u)))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2225);var r=n(2),i=n.n(r),o=function(e){var t=e.isActive,n=e.isComplete;return i()("quiz-card",{"quiz-card--active":t,"quiz-card--done":n})};t.a=function(t){var n=t.children,r=t.isActive,i=t.isComplete;return e.createElement("div",{className:o({isActive:r,isComplete:i})},e.createElement("div",{className:"quiz-card__container"},e.createElement("div",{className:"quiz-card__row"},e.createElement("div",{className:"quiz-card__main"},n))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r),o=function(e){var t=e.hasNoBorder,n=e.type;return i()("quiz-card__interactive",{"quiz-card__interactive--no-border":t,"quiz-card__interactive--fill":"FILL_IN_THE_BLANK"===n})};t.a=function(t){var n=t.children,r=t.hasNoBorder,i=t.type;return e.createElement("div",{className:o({hasNoBorder:r,type:i})},n)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(228),i=n.n(r),o=n(397),a=n.n(o),s=n(1236),c=n.n(s),u=n(1237),l=n.n(u),d=n(22),f=n.n(d),h=n(1238),p=n(154),m=n(209),v=i()(l()(["tmp"]),f()({},["media"])),g=c()(v,p.a),y=a()(g,p.a),b=Object(h.a)(y,function(t){var n=t.allowTabNavigation,r=t.blockId,i=t.enableVideoPlaybackSpeed,o=t.index,a=t.labels,s=t.media,c=t.settings;return e.createElement("div",{className:"quiz-card__media"},e.createElement(m.a,{allowTabNavigation:n,blockId:r,enableVideoPlaybackSpeed:i,index:o,labels:a,media:s,opts:c}))});t.a=b}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(236);e.exports=function(e){return!!e&&r("contramap",e)}},function(e,t,n){"use strict";(function(e){var r=n(38);t.a=function(t){var n=t.allowTabNavigation,i=t.id,o=t.value;return e.createElement(r.a,{allowTabNavigation:n,className:"quiz-card__title brand--body brand--linkColor",id:i,value:o})}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return fe});var r=n(27),i=n.n(r),o=n(23),a=n(135),s=n.n(a),c=n(3),u=n.n(c),l=n(9),d=n(6),f=n(10),h=n(8),p=n(5),m=n(11),v=(n(2227),n(2228),n(177)),g=n.n(v),y=n(301),b=n.n(y),_=n(206),w=n.n(_),x=n(2),k=n.n(x),E=n(7),S=n.n(E),T=n(40),C=n.n(T),O=n(594),A=n.n(O),j=n(208),N=n.n(j),M=n(88),P=n.n(M),I=n(362),L=n.n(I),D=n(60),R=n.n(D),F=n(32),B=n.n(F),U=n(96),q=n.n(U),z=n(28),H=n.n(z),W=n(115),V=n.n(W),Y=n(240),G=n.n(Y),K=n(330),$=n.n(K),X=n(63),Q=n(789),Z=n(154),J=n(191),ee=n(74),te=n(104),ne=n(128),re=n.n(ne),ie=n(64),oe=n(17),ae=n(25),se=n(34),ce=g()(B.a),ue=S()(q.a,R.a),le=function(t){function n(e){var t,r;return Object(l.a)(this,n),(r=Object(f.a)(this,Object(h.a)(n).call(this,e))).state={isDragging:!1},r.setDrag=u()(t=r.setDrag).call(t,Object(p.a)(r)),r}return Object(m.a)(n,t),Object(d.a)(n,[{key:"focus",value:function(){this.listItem.focus()}},{key:"setDrag",value:function(e){this.setState({isDragging:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowMovableKeySelect,i=n.allowTabNavigation,o=n.id,a=n.isEnabled,s=n.isKeySelected,c=n.isMatched,u=n.height,l=n.nextIndex,d=n.onDragEnd,f=n.onDragStart,h=n.onKeyDown,p=n.prefersKeyboardNavigation,m=n.prevIndex,v=n.text,g=n.willBeReplaced,y=i&&r,b=ye({isMatched:c,prefersKeyboardNavigation:p,willBeReplaced:g});return e.createElement(ie.TransitionGroup,{className:this.state.isDragging?"".concat(b," dragging"):b,component:"li",onKeyDown:h,style:{height:u}},e.createElement(J.a,{key:o},e.createElement(Q.a,{childRef:function(e){t.listItem=e},isEnabled:a,key:o,nextIndex:l,onDragEnd:d,onDragStart:f,prevIndex:m,setDrag:this.setDrag},e.createElement("div",{className:"quiz-match__item-wrapper","aria-hidden":!y,tabIndex:Object(oe.m)(y)},e.createElement(he,{className:me({isKeySelected:s})}),e.createElement("div",{className:"quiz-match__item-content"},e.createElement(se.E,{className:"quiz-match__item-sortable"}),e.createElement(se.k,{className:"quiz-match__item-sortable--dots"}),e.createElement("span",{"data-match-content":!0},v))))))}}]),n}(e.Component),de=function(t){function n(){return Object(l.a)(this,n),Object(f.a)(this,Object(h.a)(n).apply(this,arguments))}return Object(m.a)(n,t),Object(d.a)(n,[{key:"focus",value:function(){this.listItem.focus()}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowMovableKeySelect,i=n.allowTabNavigation,o=n.id,a=n.isEnabled,s=n.height,c=n.onDrop,u=n.onKeyDown,l=n.onKeyUp,d=n.onEnter,f=n.onLeave,h=n.prefersKeyboardNavigation,p=n.text,m=i&&!r;return e.createElement(Q.b,{activeClassName:"quiz-match__item--active",childRef:function(e){t.listItem=e},isEnabled:a,key:o,onDrop:c,onEnter:d,onLeave:f},e.createElement("li",{"aria-hidden":!m,className:be({prefersKeyboardNavigation:h}),onKeyDown:u,onKeyUp:l,style:{height:s},tabIndex:Object(oe.m)(m)},e.createElement(pe,{className:ve({isSelectable:!r})}),e.createElement("div",{className:"quiz-match__item-content"},e.createElement("span",{"data-match-content":!0},p))))}}]),n}(e.Component),fe=function(t){function n(e){var t,r,i;return Object(l.a)(this,n),(i=Object(f.a)(this,Object(h.a)(n).call(this,e))).state={allowMovableKeySelect:!0,dragIndex:null,dropZoneIndex:null,height:null,isLoaded:!1,keySelectedSourceIndex:null,titleIndices:e.titleIndices,toDropRow:null},i.moveableItems=[],i.matchItems=[],i.handleResize=re()(u()(t=i.handleResize).call(t,Object(p.a)(i)),100),i.handleCancelKeyDrop=u()(r=i.handleCancelKeyDrop).call(r,Object(p.a)(i)),i}return Object(m.a)(n,t),Object(d.a)(n,[{key:"componentDidMount",value:function(){this.setHeights(),window.addEventListener("resize",this.handleResize),window.addEventListener("keydown",this.handleCancelKeyDrop),document.addEventListener("mousedown",this.handleCancelKeyDrop)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("keydown",this.handleCancelKeyDrop),document.removeEventListener("mousedown",this.handleCancelKeyDrop)}},{key:"componentWillReceiveProps",value:function(e){var t=this.state.titleIndices,n=this.props,r=n.isKnowledgeCheck,i=n.isLearner,o=n.isRetake,a=n.matches,c=e.isRetake,u=e.matches,l=e.matchIndices,d=e.titleIndices,f=a!==u,h=!o&&c;if(!R()(u)||r)if(f){var p,m=Object(ee.f)(l),v=s()(p=G()(u)).call(p,m,t);this.setState({titleIndices:v})}else if(r){var g=xe({titleIndices:t,nextTitleIndices:d,isLearner:i,isNewRetake:h});this.setState({titleIndices:g})}}},{key:"componentDidUpdate",value:function(){var e=this.state,t=e.dragIndex,n=e.dropZoneIndex;b()(Z.b,[t,n])&&(this.props.onMatch({dragIndex:t,dropZoneIndex:n}),this.setState({dragIndex:null,dropZoneIndex:null}))}},{key:"render",value:function(){var t=this;return e.createElement("div",{className:this.getClassName(),ref:function(e){t.el=e}},this.buildResultsList(),this.buildMovableList(),this.buildMatchList())}},{key:"getClassName",value:function(){return k()("quiz-match",{"quiz-match--completed":this.props.isComplete,"quiz-match--hidden":!this.state.isLoaded})}},{key:"buildResultsList",value:function(){var e,t=ce(u()(e=this.buildResultItem).call(e,this));return S()(we,t,ee.i)(this.props.matchIndices)}},{key:"buildResultItem",value:function(t){var n=this.props,r=n.isComplete,i=n.matchIndices,o=n.revealAnswers,a=this.state,s=a.height,c=r&&o,u=a.titleIndices[t],l=u===i[t],d=k()("quiz-match__item-feedback",{"quiz-match__item-feedback--hidden":!c});return c?l?e.createElement("li",{className:d,key:t,style:{height:s}},e.createElement(se.e,{"aria-label":"Check mark",className:"brand--fill"})):e.createElement("li",{className:d,key:t,style:{height:s}},e.createElement("span",{className:"quiz-match__item-feedback-bubble"},P()(L()(u,i)))):e.createElement("li",{className:d,key:t,style:{height:s}})}},{key:"buildMovableList",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.answers,a=n.isActive,s=n.isComplete,c=n.matches,l=n.prefersKeyboardNavigation,d=this.state,f=d.allowMovableKeySelect,h=d.dragIndex,p=d.height,m=d.keySelectedSourceIndex,v=d.titleIndices,g=d.toDropRow;return S()(_e,ce(function(n,r){return e.createElement(le,Object(o.a)({key:"movable-item-".concat(r),nextIndex:r,prevIndex:g,ref:function(e){t.moveableItems[r]=e}},n))}))(ce(function(e,n){var o,d,y,b=H()([e],i),_=b.id,w=b.title,x=Object(Z.b)(h)&&n===g&&g!==L()(h,v);return{allowMovableKeySelect:f,allowTabNavigation:r,height:p,id:_,isEnabled:a&&!s,isKeySelected:e===m,isMatched:Object(Z.b)(c[e]),onDragEnd:u()(o=t.handleDragEnd).call(o,t),onDragStart:u()(d=t.handleDragStart).call(d,t,e),onKeyDown:u()(y=t.handleMovableKeyDown).call(y,t,e,n),prefersKeyboardNavigation:l,text:w,willBeReplaced:x}},v))}},{key:"buildMatchList",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.answers,a=n.isActive,s=n.matchIndices,c=n.prefersKeyboardNavigation,l=this.state,d=l.allowMovableKeySelect,f=l.height;return S()(_e,ce(function(n,r){return e.createElement(de,Object(o.a)({key:"match-item-".concat(r),ref:function(e){t.matchItems[r]=e}},n))}))(ce(function(e,n){var o,s,l,h,p,m=H()([e],i),v=m.id,g=m.matchTitle;return{allowMovableKeySelect:d,allowTabNavigation:r,height:f,id:v,isEnabled:a,onDrop:u()(o=t.handleDrop).call(o,t,e),onEnter:u()(s=t.handleDropEnter).call(s,t,n),onKeyDown:u()(l=t.handleMatchKeyDown).call(l,t,e,n),onKeyUp:u()(h=t.handleMatchKeyUp).call(h,t),onLeave:u()(p=t.handleDropLeave).call(p,t),prefersKeyboardNavigation:c,text:g}},s))}},{key:"handleDragEnd",value:function(){var e=this;i()(function(){e.setState({dragIndex:null})},0)}},{key:"handleDragStart",value:function(e){this.setState({dragIndex:e})}},{key:"handleDropEnter",value:function(e){this.setState({toDropRow:e})}},{key:"handleDrop",value:function(e){this.setState({dropZoneIndex:e})}},{key:"handleDropLeave",value:function(){this.setState({toDropRow:null})}},{key:"handleResize",value:function(){this.setHeights()}},{key:"keySelectMovableAtIndex",value:function(e){this.state.dragIndex===e?this.resetKeySelection():this.setState({allowMovableKeySelect:!1,dragIndex:e,keySelectedSourceIndex:e})}},{key:"keySelectMatch",value:function(e,t){this.setState({dropZoneIndex:e,toDropRow:t})}},{key:"handleMovableKeyDown",value:function(e,t,n){var r=this,i=this.state.allowMovableKeySelect,o=Object(te.a)(function(){return r.keySelectMovableAtIndex(e)}),a=Object(te.a)(function(){return Object(oe.g)({list:r.moveableItems,currentIndex:t})}),s=Object(te.a)(function(){return Object(oe.f)({list:r.moveableItems,currentIndex:t})}),c=Object(te.a)(function(){return!i&&Object(oe.e)({list:r.matchItems,index:t})});C()([[ae.k,o],[ae.b,s],[ae.m,a],[ae.i,c]])(n)}},{key:"handleMatchKeyDown",value:function(e,t,n){var r=this,i=this.props,o=i.canSubmit,a=i.onEnterToSubmit;if(o&&Object(ae.d)(n))a();else{var s=Object(te.a)(function(){return r.keySelectMatch(e,t)}),c=Object(te.a)(function(){return Object(oe.g)({list:r.matchItems,currentIndex:t})}),u=Object(te.a)(function(){return Object(oe.f)({list:r.matchItems,currentIndex:t})}),l=Object(te.a)(function(){return Object(oe.e)({list:r.moveableItems,index:t})});C()([[ae.e,s],[ae.b,u],[ae.m,c],[ae.g,l]])(n)}}},{key:"handleMatchKeyUp",value:function(e){Object(ae.e)(e)&&this.resetKeySelection()}},{key:"handleCancelKeyDrop",value:function(e){("mousedown"===e.type||Object(ae.f)(e))&&this.setState({allowMovableKeySelect:!0,keySelectedSourceIndex:null})}},{key:"resetKeySelection",value:function(){this.setState({allowMovableKeySelect:!0,dragIndex:null,dropZoneIndex:null,keySelectedSourceIndex:null,toDropRow:null})}},{key:"setHeights",value:function(){var e=this.el.querySelectorAll("[data-match-content]"),t=V()(function(e,t){return Math.max(e,t.offsetHeight+32)},0,e);this.setState({height:t,isLoaded:!0})}}]),n}(e.Component),he=function(t){var n=t.className;return e.createElement("svg",{className:n,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},e.createElement("title",null,"Draggable item"),e.createElement("desc",null,"Rectangular shape with an arrow on the right side"),e.createElement("polygon",{points:"0,0  298.5,0  312,27.5  298.5,54  0,54"}),e.createElement("rect",{x:"0",y:"0",width:"5",height:"54"}))},pe=function(t){var n=t.className;return e.createElement("svg",{className:n,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},e.createElement("title",null,"Drop zone item"),e.createElement("desc",null,"Rectangular shape with a fish-tail shape on the left side"),e.createElement("polygon",{points:"0,0  314,0  314,54  0,54  13.5,27.5  0,0"}))},me=function(e){var t=e.isKeySelected;return k()("quiz-match__item-arrow",{"quiz-match__item-arrow--selected":t})},ve=function(e){var t=e.isSelectable;return k()("quiz-match__item-tail",{"quiz-match__item-tail--selectable":t})},ge=X.a.isIe11||X.a.isEdge,ye=function(e){var t=e.isMatched,n=e.prefersKeyboardNavigation,r=e.willBeReplaced;return k()("quiz-match__item quiz-match__item--draggable",{"quiz-match__item--matched":t,"quiz-match__item--faded":r,"quiz-match__item--ms_browser-focus":n&&ge})},be=function(e){var t=e.prefersKeyboardNavigation;return k()("quiz-match__item quiz-match__item--immobile",{"quiz-match__item--ms_browser-focus":t&&ge})},_e=function(t){return e.createElement("ul",{className:"quiz-match__list brand--body"},t)},we=function(t){return e.createElement("ul",{className:"quiz-match__list quiz-match__list--results"},t)},xe=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=$()(t,n),a=A()(t,n);return ue(a)?$()(a,t):ue(o)?N()(w()(o,t)):t}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return F});var r=n(27),i=n.n(r),o=n(132),a=n.n(o),s=n(3),c=n.n(s),u=n(9),l=n(10),d=n(8),f=n(5),h=n(6),p=n(11),m=n(4),v=n.n(m),g=n(2),y=n.n(g),b=n(246),_=n(29),w=n.n(_),x=n(77),k=n.n(x),E=n(30),S=n.n(E),T=n(49),C=n.n(T),O=n(22),A=n.n(O),j=n(485),N=n.n(j),M=n(42),P=n.n(M),I=k()(["draggableOptions","autoScroll","container"]),L=N()(I),D=P()(w.a,function(){return document.querySelector(".page-wrap")||document.querySelector(".block-knowledge__wrapper")}),R=C()(I,D),F=function(t){function n(e){var t,r,i,o;return Object(u.a)(this,n),(o=Object(l.a)(this,Object(d.a)(n).call(this,e))).state={isDragging:!1,x:0,y:0,zIndex:0},o.handleEnd=c()(t=o.handleEnd).call(t,Object(f.a)(o)),o.handleMove=c()(r=o.handleMove).call(r,Object(f.a)(o)),o.handleStart=c()(i=o.handleStart).call(i,Object(f.a)(o)),o}return Object(p.a)(n,t),Object(h.a)(n,null,[{key:"defaultProps",get:function(){return{childRef:Function.prototype,draggableOptions:{autoScroll:{container:null}},interactOptions:{styleCursor:!1},isEnabled:!0,onDragEnd:Function.prototype,onDragStart:Function.prototype}}}]),Object(h.a)(n,[{key:"componentDidMount",value:function(){this.interact=Object(b.a)(this.el,this.props.interactOptions),this.props.isEnabled&&this.enableInteract()}},{key:"componentWillEnter",value:function(e){var t=this.props.prevIndex-this.props.nextIndex>0?"up":"down",n=this.el,r="movable-item__will-enter-".concat(t);this.animate({activeClass:"movable-item__will-enter-active",element:n,enterClass:r,timeout:300}).then(e)}},{key:"componentWillReceiveProps",value:function(e){!this.props.isEnabled&&e.isEnabled?this.enableInteract():this.props.isEnabled&&!e.isEnabled&&this.disableInteract()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeoutRef)}},{key:"render",value:function(){var t=this;return e.cloneElement(e.Children.only(this.props.children),{className:this.getClassName(),ref:function(e){t.el=e,t.props.childRef(e)},style:this.getStyle()})}},{key:"animate",value:function(e){var t=this,n=e.activeClass,r=e.element,o=e.enterClass,s=e.timeout;return new a.a(function(e){r.classList.add(o),i()(function(){r.classList.add(n)},10),t.timeoutRef=i()(function(){r.classList.remove(o,n),e()},s)})}},{key:"enableInteract",value:function(){var e=R(this.props);this.interact.draggable(S()({onstart:this.handleStart,onmove:this.handleMove,onend:this.handleEnd},e.draggableOptions)),this.interactScrollHandler(e)}},{key:"interactScrollHandler",value:function(e){var t=this;this.yBefore=0,this.yAfter=0,L(e).addEventListener("scroll",function(e){t.yBefore=t.yAfter,t.yAfter=e.currentTarget.scrollTop,t.state.isDragging&&t.setState({y:t.state.y+(t.yAfter-t.yBefore)})})}},{key:"disableInteract",value:function(){this.interact.draggable(!1),delete this.yBefore,delete this.yAfter}},{key:"getClassName",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=A()("",["props","className"],t);return y()(r,{draggable:n,"draggable--dragging":this.state.isDragging})}},{key:"getStyle",value:function(){var e,t,n,r,i,o=A()({},["props","style"],this.props.children);return S()(o,(e=this.state,n=e.x,r=e.y,i=e.zIndex,{transform:v()(t="translate(".concat(n,"px, ")).call(t,r,"px)"),zIndex:i}))}},{key:"handleStart",value:function(e){this.props.onDragStart(e),this.props.setDrag(!0),this.setState({isDragging:!0})}},{key:"handleEnd",value:function(e){this.props.onDragEnd(e),this.props.setDrag(!1),this.setState({isDragging:!1,x:0,y:0,zIndex:0})}},{key:"handleMove",value:function(e){var t=e.dx,n=e.dy,r=this.state.x+t,i=this.state.y+n;this.setState({x:r,y:i,zIndex:1})}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return b});var r=n(15),i=n(3),o=n.n(i),a=n(9),s=n(10),c=n(8),u=n(5),l=n(6),d=n(11),f=n(2),h=n.n(f),p=n(246),m=n(30),v=n.n(m),g=n(22),y=n.n(g),b=function(t){function n(e){var t,r,i,l;return Object(a.a)(this,n),(l=Object(s.a)(this,Object(c.a)(n).call(this,e))).state={isActive:!1},l.handleEnter=o()(t=l.handleEnter).call(t,Object(u.a)(l)),l.handleLeave=o()(r=l.handleLeave).call(r,Object(u.a)(l)),l.handleDrop=o()(i=l.handleDrop).call(i,Object(u.a)(l)),l}return Object(d.a)(n,t),Object(l.a)(n,null,[{key:"defaultProps",get:function(){return{activeClassName:"",childRef:Function.prototype,droppableOptions:{overlap:.015},interactOptions:{},isEnabled:!0,onDrop:Function.prototype,onEnter:Function.prototype,onLeave:Function.prototype}}}]),Object(l.a)(n,[{key:"componentDidMount",value:function(){this.interact=Object(p.a)(this.el,this.props.interactOptions),this.props.isEnabled&&this.enableInteract()}},{key:"componentWillReceiveProps",value:function(e){!this.props.isEnabled&&e.isEnabled?this.enableInteract():this.props.isEnabled&&!e.isEnabled&&this.disableInteract()}},{key:"render",value:function(){var t=this;return e.cloneElement(e.Children.only(this.props.children),{className:this.getClassName(),ref:function(e){t.el=e,t.props.childRef(e)},style:this.getStyle()})}},{key:"enableInteract",value:function(){this.interact.dropzone(v()({ondrop:this.handleDrop,ondragenter:this.handleEnter,ondragleave:this.handleLeave},this.props.droppableOptions))}},{key:"disableInteract",value:function(){this.interact.dropzone(!1)}},{key:"getClassName",value:function(){var e=this.state.isActive,t=this.props,n=t.activeClassName,i=t.children,o=t.isEnabled,a=y()("",["props","className"],i);return h()(a,Object(r.a)({droppable:o,"droppable--active":e},n,e))}},{key:"getStyle",value:function(){return y()({},["props","style"],this.props.children)}},{key:"handleEnter",value:function(e){this.props.onEnter(e),this.setState({isActive:!0})}},{key:"handleLeave",value:function(e){this.props.onLeave(e),this.setState({isActive:!1})}},{key:"handleDrop",value:function(e){this.props.onDrop(e),this.setState({isActive:!1})}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){e.exports=n(2235)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=a(n(0)),o=a(n(2237));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)(function(e,t,n,o,a){var s=e[t],c=void 0===s?"undefined":r(s);return i.default.isValidElement(s)?new Error("Invalid "+o+" `"+a+"` of type ReactElement supplied to `"+n+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===c&&"function"==typeof s.render||1===s.nodeType?null:new Error("Invalid "+o+" `"+a+"` of value `"+s+"` supplied to `"+n+"`, expected a ReactComponent or a DOMElement.")}),e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e="function"==typeof e?e():e,o.default.findDOMNode(e)||t};var r,i=n(103),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(0,i.default)(r.default.findDOMNode(e))};var r=o(n(103)),i=o(n(2238));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){var r=n(2271),i=n(2273),o=function(e){return e instanceof o?e:this instanceof o?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=i.getRgba(e))?this.setValues("rgb",t):(t=i.getHsla(e))?this.setValues("hsl",t):(t=i.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new o(e);var t};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,o=this.alpha()-n.alpha(),a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new o,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},o.prototype.setValues=function(e,t){var n,i,o=this.values,a=this.spaces,s=this.maxes,c=1;if(this.valid=!0,"alpha"===e)c=t;else if(t.length)o[e]=t.slice(0,e.length),c=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)o[e][n]=t[e.charAt(n)];c=t.a}else if(void 0!==t[a[e][0]]){var u=a[e];for(n=0;n<e.length;n++)o[e][n]=t[u[n]];c=t.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===c?o.alpha:c)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(s[e][n],o[e][n])),o[e][n]=Math.round(i);for(var l in a)l!==e&&(o[l]=r[e][l](o[e]));return!0},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},o.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:n===r[t]?this:(r[t]=n,this.setValues(e,r),this)},"undefined"!=typeof window&&(window.Color=o),e.exports=o},function(e,t,n){"use strict";var r=n(260);t=e.exports=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null});Object.defineProperty(t.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})},function(e,t,n){"use strict";var r=n(114),i=n(87);r._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:i.noop,onComplete:i.noop}}),e.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var i,o,a=this.animations;for(t.chart=e,r||(e.animating=!0),i=0,o=a.length;i<o;++i)if(a[i].chart===e)return void(a[i]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=i.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=i.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var r=Date.now();e.dropFrames+=(r-t)/e.frameDuration,e.animations.length>0&&e.requestAnimationFrame()},advance:function(e){for(var t,n,r=this.animations,o=0;o<r.length;)n=(t=r[o]).chart,t.currentStep=(t.currentStep||0)+e,t.currentStep=Math.min(t.currentStep,t.numSteps),i.callback(t.render,[n,t],n),i.callback(t.onAnimationProgress,[t],n),t.currentStep>=t.numSteps?(i.callback(t.onAnimationComplete,[t],n),n.animating=!1,r.splice(o,1)):++o}}},function(e,t,n){"use strict";var r=n(87);function i(e,t){return e.native?{x:e.x,y:e.y}:r.getRelativePosition(e,t)}function o(e,t){var n,r,i,o,a;for(r=0,o=e.data.datasets.length;r<o;++r)if(e.isDatasetVisible(r))for(i=0,a=(n=e.getDatasetMeta(r)).data.length;i<a;++i){var s=n.data[i];s._view.skip||t(s)}}function a(e,t){var n=[];return o(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function s(e,t,n,r){var i=Number.POSITIVE_INFINITY,a=[];return o(e,function(e){if(!n||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),s=r(t,o);s<i?(a=[e],i=s):s===i&&a.push(e)}}),a}function c(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var 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))}}function u(e,t,n){var r=i(t,e);n.axis=n.axis||"x";var o=c(n.axis),u=n.intersect?a(e,r):s(e,r,!1,o),l=[];return u.length?(e.data.datasets.forEach(function(t,n){if(e.isDatasetVisible(n)){var r=e.getDatasetMeta(n).data[u[0]._index];r&&!r._view.skip&&l.push(r)}}),l):[]}e.exports={modes:{single:function(e,t){var n=i(t,e),r=[];return o(e,function(e){if(e.inRange(n.x,n.y))return r.push(e),r}),r.slice(0,1)},label:u,index:u,dataset:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=c(n.axis),u=n.intersect?a(e,r):s(e,r,!1,o);return u.length>0&&(u=e.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(e,t){return u(e,t,{intersect:!1})},point:function(e,t){return a(e,i(t,e))},nearest:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=c(n.axis),a=s(e,r,n.intersect,o);return a.length>1&&a.sort(function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n}),a.slice(0,1)},x:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(a=[]),a},y:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(a=[]),a}}}},function(e,t,n){"use strict";var r=n(87),i=n(2279),o=n(2280),a=o._enabled?o:i;e.exports=r.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},function(e,t,n){"use strict";var r=n(114),i=n(87);r._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,o,a,s,c=this.descriptors(e),u=c.length;for(r=0;r<u;++r)if("function"==typeof(s=(o=(i=c[r]).plugin)[t])&&((a=[e].concat(n||[])).push(i.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],o=[],a=e&&e.config||{},s=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach(function(e){if(-1===n.indexOf(e)){var t=e.id,a=s[t];!1!==a&&(!0===a&&(a=i.clone(r.global.plugins[t])),n.push(e),o.push({plugin:e,options:a||{}}))}}),t.descriptors=o,t.id=this._cacheId,o},_invalidate:function(e){delete e.$plugins}}},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87);r._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var o=e[0];o.xLabel?n=o.xLabel:i>0&&o.index<i&&(n=r[o.index])}return n},afterTitle:o.noop,beforeBody:o.noop,beforeLabel:o.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+=e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:o.noop,afterBody:o.noop,beforeFooter:o.noop,footer:o.noop,afterFooter:o.noop}}});var a={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,i+=s.y,++o}}return{x:Math.round(r/o),y:Math.round(i/o)}},nearest:function(e,t){var n,r,i,a=t.x,s=t.y,c=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var u=e[n];if(u&&u.hasValue()){var l=u.getCenterPoint(),d=o.distanceBetweenPoints(t,l);d<c&&(c=d,i=u)}}if(i){var f=i.tooltipPosition();a=f.x,s=f.y}return{x:a,y:s}}};function s(e,t){var n=o.color(e);return n.alpha(t*n.alpha()).rgbaString()}function c(e,t){return t&&(o.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function u(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function l(e){var t=r.global,n=o.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function d(e){return c([],u(e))}(e.exports=i.extend({initialize:function(){this._model=l(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),r=e.afterTitle.apply(this,arguments),i=[];return i=c(i,u(t)),i=c(i,u(n)),i=c(i,u(r))},getBeforeBody:function(){return d(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,i=[];return o.each(e,function(e){var o={before:[],lines:[],after:[]};c(o.before,u(r.beforeLabel.call(n,e,t))),c(o.lines,r.label.call(n,e,t)),c(o.after,u(r.afterLabel.call(n,e,t))),i.push(o)}),i},getAfterBody:function(){return d(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),r=e.afterFooter.apply(this,arguments),i=[];return i=c(i,u(t)),i=c(i,u(n)),i=c(i,u(r))},update:function(e){var t,n,r,i,s,c,u,d=this,f=d._options,h=d._model,p=d._model=l(f),m=d._active,v=d._data,g={xAlign:h.xAlign,yAlign:h.yAlign},y={x:h.x,y:h.y},b={width:h.width,height:h.height},_={x:h.caretX,y:h.caretY};if(m.length){p.opacity=1;var w=[],x=[];_=a[f.position].call(d,m,d._eventPosition);var k=[];for(t=0,n=m.length;t<n;++t)k.push((r=m[t],i=void 0,s=void 0,c=void 0,u=void 0,i=r._xScale,s=r._yScale||r._scale,c=r._index,u=r._datasetIndex,{xLabel:i?i.getLabelForIndex(c,u):"",yLabel:s?s.getLabelForIndex(c,u):"",index:c,datasetIndex:u,x:r._model.x,y:r._model.y}));f.filter&&(k=k.filter(function(e){return f.filter(e,v)})),f.itemSort&&(k=k.sort(function(e,t){return f.itemSort(e,t,v)})),o.each(k,function(e){w.push(f.callbacks.labelColor.call(d,e,d._chart)),x.push(f.callbacks.labelTextColor.call(d,e,d._chart))}),p.title=d.getTitle(k,v),p.beforeBody=d.getBeforeBody(k,v),p.body=d.getBody(k,v),p.afterBody=d.getAfterBody(k,v),p.footer=d.getFooter(k,v),p.x=Math.round(_.x),p.y=Math.round(_.y),p.caretPadding=f.caretPadding,p.labelColors=w,p.labelTextColors=x,p.dataPoints=k,b=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,s=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);s+=t.beforeBody.length+t.afterBody.length;var c=t.title.length,u=t.footer.length,l=t.titleFontSize,d=t.bodyFontSize,f=t.footerFontSize;r+=c*l,r+=c?(c-1)*t.titleSpacing:0,r+=c?t.titleMarginBottom:0,r+=s*d,r+=s?(s-1)*t.bodySpacing:0,r+=u?t.footerMarginTop:0,r+=u*f,r+=u?(u-1)*t.footerSpacing:0;var h=0,p=function(e){i=Math.max(i,n.measureText(e).width+h)};return n.font=o.fontString(l,t._titleFontStyle,t._titleFontFamily),o.each(t.title,p),n.font=o.fontString(d,t._bodyFontStyle,t._bodyFontFamily),o.each(t.beforeBody.concat(t.afterBody),p),h=t.displayColors?d+2:0,o.each(a,function(e){o.each(e.before,p),o.each(e.lines,p),o.each(e.after,p)}),h=0,n.font=o.fontString(f,t._footerFontStyle,t._footerFontFamily),o.each(t.footer,p),{width:i+=2*t.xPadding,height:r}}(this,p),y=function(e,t,n,r){var i=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,c=e.cornerRadius,u=n.xAlign,l=n.yAlign,d=a+s,f=c+s;return"right"===u?i-=t.width:"center"===u&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===l?o+=d:o-="bottom"===l?t.height+d:t.height/2,"center"===l?"left"===u?i+=d:"right"===u&&(i-=d):"left"===u?i-=f:"right"===u&&(i+=f),{x:i,y:o}}(p,b,g=function(e,t){var n,r,i,o,a,s=e._model,c=e._chart,u=e._chart.chartArea,l="center",d="center";s.y<t.height?d="top":s.y>c.height-t.height&&(d="bottom");var f=(u.left+u.right)/2,h=(u.top+u.bottom)/2;"center"===d?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=c.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=h?"top":"bottom"},n(s.x)?(l="left",i(s.x)&&(l="center",d=a(s.y))):r(s.x)&&(l="right",o(s.x)&&(l="center",d=a(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:l,yAlign:p.yAlign?p.yAlign:d}}(this,b),d._chart)}else p.opacity=0;return p.xAlign=g.xAlign,p.yAlign=g.yAlign,p.x=y.x,p.y=y.y,p.width=b.width,p.height=b.height,p.caretX=_.x,p.caretY=_.y,d._model=p,e&&f.custom&&f.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,o,a,s,c,u=n.caretSize,l=n.cornerRadius,d=n.xAlign,f=n.yAlign,h=e.x,p=e.y,m=t.width,v=t.height;if("center"===f)s=p+v/2,"left"===d?(i=(r=h)-u,o=r,a=s+u,c=s-u):(i=(r=h+m)+u,o=r,a=s-u,c=s+u);else if("left"===d?(r=(i=h+l+u)-u,o=i+u):"right"===d?(r=(i=h+m-l-u)-u,o=i+u):(r=(i=n.caretX)-u,o=i+u),"top"===f)s=(a=p)-u,c=a;else{s=(a=p+v)+u,c=a;var g=o;o=r,r=g}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:c}},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var a,c,u=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=s(t.titleFontColor,r),n.font=o.fontString(u,t._titleFontStyle,t._titleFontFamily),a=0,c=i.length;a<c;++a)n.fillText(i[a],e.x,e.y),e.y+=u+l,a+1===i.length&&(e.y+=t.titleMarginBottom-l)}},drawBody:function(e,t,n,r){var i=t.bodyFontSize,a=t.bodySpacing,c=t.body;n.textAlign=t._bodyAlign,n.textBaseline="top",n.font=o.fontString(i,t._bodyFontStyle,t._bodyFontFamily);var u=0,l=function(t){n.fillText(t,e.x+u,e.y),e.y+=i+a};n.fillStyle=s(t.bodyFontColor,r),o.each(t.beforeBody,l);var d=t.displayColors;u=d?i+2:0,o.each(c,function(a,c){var u=s(t.labelTextColors[c],r);n.fillStyle=u,o.each(a.before,l),o.each(a.lines,function(o){d&&(n.fillStyle=s(t.legendColorBackground,r),n.fillRect(e.x,e.y,i,i),n.lineWidth=1,n.strokeStyle=s(t.labelColors[c].borderColor,r),n.strokeRect(e.x,e.y,i,i),n.fillStyle=s(t.labelColors[c].backgroundColor,r),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=u),l(o)}),o.each(a.after,l)}),u=0,o.each(t.afterBody,l),e.y-=a},drawFooter:function(e,t,n,r){var i=t.footer;i.length&&(e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top",n.fillStyle=s(t.footerFontColor,r),n.font=o.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),o.each(i,function(r){n.fillText(r,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing}))},drawBackground:function(e,t,n,r,i){n.fillStyle=s(t.backgroundColor,i),n.strokeStyle=s(t.borderColor,i),n.lineWidth=t.borderWidth;var o=t.xAlign,a=t.yAlign,c=e.x,u=e.y,l=r.width,d=r.height,f=t.cornerRadius;n.beginPath(),n.moveTo(c+f,u),"top"===a&&this.drawCaret(e,r),n.lineTo(c+l-f,u),n.quadraticCurveTo(c+l,u,c+l,u+f),"center"===a&&"right"===o&&this.drawCaret(e,r),n.lineTo(c+l,u+d-f),n.quadraticCurveTo(c+l,u+d,c+l-f,u+d),"bottom"===a&&this.drawCaret(e,r),n.lineTo(c+f,u+d),n.quadraticCurveTo(c,u+d,c,u+d-f),"center"===a&&"left"===o&&this.drawCaret(e,r),n.lineTo(c,u+f),n.quadraticCurveTo(c,u,c+f,u),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(this.drawBackground(r,t,e,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i))}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),(t=!o.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}})).positioners=a},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(358))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(358))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(358))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(358))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{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",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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(358))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(358))},function(e,t,n){var r=n(574),i=n(2314),o=n(2315),a=n(2316),s=n(2317),c=n(2318);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(468),i=n(577),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==c}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(100))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(2337),i=n(2340),o=n(2341),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,h=t.length;if(f!=h&&!(d&&h>f))return!1;var p=l.get(e);if(p&&l.get(t))return p==t;var m=-1,v=!0,g=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m<f;){var y=e[m],b=t[m];if(c)var _=d?c(b,y,m,t,e,l):c(y,b,m,e,t,l);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(y===e||u(y,e,n,c,l)))return g.push(t)})){v=!1;break}}else if(y!==b&&!u(y,b,n,c,l)){v=!1;break}}return l.delete(e),l.delete(t),v}},function(e,t,n){var r=n(2355),i=n(469),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){(function(e){var r=n(294),i=n(2356),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c}).call(this,n(289)(e))},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(2357),i=n(2358),o=n(2359),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(577);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(1163),i=n(582);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}},function(e,t,n){var r=n(295),i=n(752),o=n(2376),a=n(2379);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(2423);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(122))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(122))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(122))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(122))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(122))},function(e,t,n){var r=n(53),i=n(757);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))}}},function(e,t,n){var r=n(53),i=n(757),o=n(2454);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 c=0;c<e.length;){if("function"==typeof s[e[c]])return s[e[c]].apply(s,a);c+=1}if(o(s))return t.apply(null,a)(s)}return n.apply(this,arguments)}}},function(e,t){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}},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t,n){var r=n(2509),i=n(2539),o=n(2543),a=n(292),s=n(2544);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)}},function(e,t,n){var r=n(564),i=n(2511),o=n(2512),a=n(2513),s=n(2514),c=n(2515);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(2516),i=n(383);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))}},function(e,t,n){var r=n(2517),i=n(2520),o=n(2521),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,h=t.length;if(f!=h&&!(d&&h>f))return!1;var p=l.get(e);if(p&&l.get(t))return p==t;var m=-1,v=!0,g=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m<f;){var y=e[m],b=t[m];if(c)var _=d?c(b,y,m,t,e,l):c(y,b,m,e,t,l);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(y===e||u(y,e,n,c,l)))return g.push(t)})){v=!1;break}}else if(y!==b&&!u(y,b,n,c,l)){v=!1;break}}return l.delete(e),l.delete(t),v}},function(e,t,n){var r=n(357);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(t){
/*!
Copyright (C) 2015-2017 Andrea Giammarchi - @WebReflection

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
function n(e){var t,n,i,o,a,s,c=Object.create(null);if(this[u]=c,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=(i=o[a]).indexOf("="))?d(c,f(i.slice(0,t)),f(i.slice(t+1))):i.length&&d(c,f(i),"");else if(r(e))for(a=0,s=e.length;a<s;a++)d(c,(i=e[a])[0],i[1]);else if(e.forEach)e.forEach(l,c);else for(n in e)d(c,n,e[n])}var r=Array.isArray,i=n.prototype,o=/[!'\(\)~]|%20|%00/g,a=/\+/g,s={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},c=function(e){return s[e]},u="__URLSearchParams__:"+Math.random();function l(e,t){d(this,t,e)}function d(e,t,n){var i=r(n)?n.join(","):n;t in e?e[t].push(i):e[t]=[i]}function f(e){return decodeURIComponent(e.replace(a," "))}function h(e){return encodeURIComponent(e).replace(o,c)}i.append=function(e,t){d(this[u],e,t)},i.delete=function(e){delete this[u][e]},i.get=function(e){var t=this[u];return e in t?t[e][0]:null},i.getAll=function(e){var t=this[u];return e in t?t[e].slice(0):[]},i.has=function(e){return e in this[u]},i.set=function(e,t){this[u][e]=[""+t]},i.forEach=function(e,t){var n=this[u];Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},i.toJSON=function(){return{}},i.toString=function(){var e,t,n,r,i=this[u],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())})}((n=e.exports=t.URLSearchParams||n).prototype)}).call(this,n(100))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r=n(450),i=n(1631),o=n(1632),a=n(1633),s=n(1634),c=n(1635),u=n(1638);function l(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function d(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){var n=[];return l(e,function(e){t(e)&&n.push(e)}),n}e.exports=p;var h=/^[^\0\t\n\f\r /<=>]+$/;function p(e,t,n){var v="";function g(e,t){var n=this;this.tag=e,this.attribs=t||{},this.tagPosition=v.length,this.text="",this.updateParentNodeText=function(){S.length&&(S[S.length-1].text+=n.text)}}t?(t=i(p.defaults,t)).parser?t.parser=i(m,t.parser):t.parser=m:(t=p.defaults).parser=m;var y,b,_=t.nonTextTags||["script","style","textarea"];t.allowedAttributes&&(y={},b={},l(t.allowedAttributes,function(e,t){y[t]=[];var n=[];e.forEach(function(e){e.indexOf("*")>=0?n.push(o(e).replace(/\\\*/g,".*")):y[t].push(e)}),b[t]=new RegExp("^("+n.join("|")+")$")}));var w={};l(t.allowedClasses,function(e,t){y&&(d(y,t)||(y[t]=[]),y[t].push("class")),w[t]=e});var x,k={};l(t.transformTags,function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=p.simpleTransform(e)),"*"===t?x=n:k[t]=n});var E=0,S=[],T={},C={},O=!1,A=0,j=new r.Parser({onopentag:function(e,n){if(O)A++;else{var r=new g(e,n);S.push(r);var i,o=!1,p=!!r.text;d(k,e)&&(i=k[e](e,n),r.attribs=n=i.attribs,void 0!==i.text&&(r.innerText=i.text),e!==i.tagName&&(r.name=e=i.tagName,C[E]=i.tagName)),x&&(i=x(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,C[E]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(O=!0,A=1),T[E]=!0),E++,o||(v+="<"+e,(!y||d(y,e)||y["*"])&&l(n,function(n,i){if(h.test(i))if(!y||d(y,e)&&-1!==y[e].indexOf(i)||y["*"]&&-1!==y["*"].indexOf(i)||d(b,e)&&b[e].test(i)||b["*"]&&b["*"].test(i)){if(("href"===i||"src"===i)&&M(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(l(o=c.parse(n),function(e){M("srcset",e.url)&&(e.evil=!0)}),!(o=f(o,function(e){return!e.evil})).length)return void delete r.attribs[i];n=c.stringify(f(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{if(0===(n=function(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(t.prop+":"+t.value+";"),e},[]).join("")}(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){if(e.hasOwnProperty(n.prop)){var r=e[n.prop].some(function(e){return e.test(n.value)});r&&t.push(n)}return t}}(n),[]));return r}(u.parse(e+" {"+n+"}"),t.allowedStyles))).length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}v+=" "+i,n.length&&(v+='="'+N(n)+'"')}else delete r.attribs[i];else delete r.attribs[i]}),-1!==t.selfClosing.indexOf(e)?v+=" />":(v+=">",!r.innerText||p||t.textFilter||(v+=r.innerText)))}},ontext:function(e){if(!O){var n,r=S[S.length-1];if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"script"===n||"style"===n)v+=e;else{var i=N(e);t.textFilter?v+=t.textFilter(i):v+=i}if(S.length)S[S.length-1].text+=e}},onclosetag:function(e){if(O){if(--A)return;O=!1}var n=S.pop();if(n){if(O=!1,T[--E])return delete T[E],void n.updateParentNodeText();C[E]&&(e=C[E],delete C[E]),t.exclusiveFilter&&t.exclusiveFilter(n)?v=v.substr(0,n.tagPosition):(n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)&&(v+="</"+e+">"))}}},t.parser);return j.write(e),j.end(),v;function N(e){return"string"!=typeof e&&(e+=""),e.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;").replace(/\"/g,"&quot;")}function M(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 d(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}var m={decodeEntities:!0};p.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},p.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}}}},function(e,t,n){e.exports=n(1663)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1702);e.exports=r.origFn("assoc")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(538),o=n(86),a=n(175);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(376),i=n(377),o=n(203).type("IO"),a=n(203).typeFn(o(),2),s=n(175),c=n(319),u=n(86),l=n(218),d=function(e){return f(function(){return e})};function f(e){var t;if(!u(e))throw new TypeError("IO: Must wrap a function");var n=d,r=function(){return"IO"+i(e)};function h(t){return function(n){if(!u(n))throw new TypeError("IO."+t+": Function required");return f(c(n,e))}}function p(t){return function(n){if(!u(n))throw new TypeError("IO."+t+": Function required");return f(function(){var r=n(e());if(!l(f,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(f,t))throw new TypeError("IO.ap: IO required");return f(function(){var n=e();if(!u(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()})},of:n,map:h("map"),chain:p("chain")})[s.of]=n,t[s.map]=h(s.map),t[s.chain]=p(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},function(e,t,n){e.exports=n(1720)},function(e,t,n){(function(n){var r;!function(n,i){e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),c=String.fromCharCode,u=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<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)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(l,u)},f=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),r=[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)];return r.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,f)},p=function(e){return h(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,"")},v=function(e,t){return t?m(p(e)):p(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],c=e[r+2],u=o<<16|s<<8|c;n+=a.charAt(u>>>18)+a.charAt(u>>>12&63)+(void 0!==s?a.charAt(u>>>6&63):"=")+(void 0!==c?a.charAt(63&u):"=")}return t?m(n):n});var g,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,b=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),n=t-65536;return c(55296+(n>>>10))+c(56320+(1023&n));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))}},_=function(e){return e.replace(y,b)},w=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[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("")},x=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,w)},k=function(e){return x(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(e){return function(e){return _(x(e))}(E(e))};n.Uint8Array&&(g=function(e){return Uint8Array.from(k(E(e)),function(e){return e.charCodeAt(0)})});if(n.Base64={VERSION:"2.6.4",atob:k,btoa:h,fromBase64:S,toBase64:v,utob:d,encode:v,encodeURI:function(e){return v(e,!0)},btou:_,decode:S,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:g},"function"==typeof Object.defineProperty){var T=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",T(function(){return S(this)})),Object.defineProperty(String.prototype,"toBase64",T(function(e){return v(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",T(function(){return v(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?n:this)}).call(this,n(100))},function(e,t,n){"use strict";var r=n(1726),i=n(1727),o=n(927);e.exports={formats:o,parse:i,stringify:r}},function(e,t,n){var r=n(1728),i=n(1729);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},function(e,t,n){"use strict";var r=n(142),i=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 t,n=r(i("",e,"9")),o=0;return function(){var r=Math.floor(Math.random()*n);return r==t?o++:(o=0,t=r),i("".concat(r+=o),e,"0")}}},function(e,t){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,c=a?r:n,u=-1,l=t.length,d=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&&(d=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)})));++u<l;)for(var f=0,h=t[u],p=i?i(h):h;(f=c(d,p,f,a))>-1;)d!==e&&o.call(d,f,1),o.call(e,f,1);return e}var c,u,l=(c=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},u=a(void 0===u?c.length-1:u,0),function(){for(var e=arguments,t=-1,n=a(e.length-u,0),r=Array(n);++t<n;)r[t]=e[u+t];t=-1;for(var i=Array(u+1);++t<u;)i[t]=e[t];return i[u]=r,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)}(c,this,i)});e.exports=l},function(e,t,n){var r=n(961),i=n(1964),o=n(1971),a=n(1972),s=i(r(Promise.reject,Promise),a(o(Error),Error));e.exports=s},function(e,t){e.exports=function(e){return function(t){return function(n){n&&"function"==typeof n.fork?n.fork(e.dispatch,e.dispatch):t(n)}}}},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};Object.defineProperty(t,"__esModule",{value:!0});var i=n(976);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.default=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)}}}}},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(976);function o(e){return e&&"function"==typeof e.then}e.exports=t.default},function(e,t,n){"use strict";function r(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)}}}}t.__esModule=!0;var i=r();i.withExtraArgument=r,t.default=i},function(e,t,n){!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,c=null,u=null,l=null;function d(){return null===l&&(l=!!document.fonts),l}function f(){if(null===u){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}u=""!==e.style.font}return u}function h(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",u=0,l=t||3e3,f=(new Date).getTime();return new Promise(function(e,t){if(d()&&!function(){if(null===c)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);c=!!e&&603>parseInt(e[1],10)}else c=!1;return c}()){var p=new Promise(function(e,t){!function n(){(new Date).getTime()-f>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(h(i,'"'+i.family+'"'),a).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}()}),m=new Promise(function(e,t){u=setTimeout(function(){t(Error(l+"ms timeout exceeded"))},l)});Promise.race([m,p]).then(function(){clearTimeout(u),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 c(){var t;(t=-1!=v&&-1!=g||-1!=v&&-1!=y||-1!=g&&-1!=y)&&((t=v!=g&&v!=y&&g!=y)||(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&&(v==b&&g==b&&y==b||v==_&&g==_&&y==_||v==w&&g==w&&y==w)),t=!t),t&&(x.parentNode&&x.parentNode.removeChild(x),clearTimeout(u),e(i))}var d=new n(a),p=new n(a),m=new n(a),v=-1,g=-1,y=-1,b=-1,_=-1,w=-1,x=document.createElement("div");x.dir="ltr",r(d,h(i,"sans-serif")),r(p,h(i,"serif")),r(m,h(i,"monospace")),x.appendChild(d.a),x.appendChild(p.a),x.appendChild(m.a),document.body.appendChild(x),b=d.a.offsetWidth,_=p.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=l)x.parentNode&&x.parentNode.removeChild(x),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(v=d.a.offsetWidth,g=p.a.offsetWidth,y=m.a.offsetWidth,c()),u=setTimeout(e,50)}}(),o(d,function(e){v=e,c()}),r(d,h(i,'"'+i.family+'",sans-serif')),o(p,function(e){g=e,c()}),r(p,h(i,'"'+i.family+'",serif')),o(m,function(e){y=e,c()}),r(m,h(i,'"'+i.family+'",monospace'))})})},e.exports=a}()},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 c(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var u=!!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 d(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function h(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 p(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 m(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;u?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout(function(){i=!0,r()},0),d(e,"head",t)}function v(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 g(){this.a=0,this.c=null}function y(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 x(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 k(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 E(e){return e.a+e.f}function S(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function T(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 C(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 O(e){if(e.g){var t=p(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),h(e.f,n,r)}A(e,"inactive")}function A(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,E(n)):e.h[t]())}function j(){this.c={}}function N(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function M(e){d(e.c,"body",e.a)}function P(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:"+k(e.c)+";font-style:"+S(e)+";font-weight:"+e.f+"00;"}function I(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 L(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 N(this.c,this.s),this.h=new N(this.c,this.s),this.j=new N(this.c,this.s),this.m=new N(this.c,this.s),e=P(e=new x(this.a.c+",serif",E(this.a))),this.g.a.style.cssText=e,e=P(e=new x(this.a.c+",sans-serif",E(this.a))),this.h.a.style.cssText=e,e=P(e=new x("serif",E(this.a))),this.j.a.style.cssText=e,e=P(e=new x("sans-serif",E(this.a))),this.m.a.style.cssText=e,M(this.g),M(this.h),M(this.j),M(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)},I.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 S(e)+" "+e.f+"00 300px "+k(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"},R=null;function F(){if(null===R){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);R=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return R}function B(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 U(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=F()&&B(e,n,r)),t?s()-e.A>=e.w?F()&&B(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?q(e,e.v):q(e,e.B):function(e){setTimeout(a(function(){U(this)},e),50)}(e):q(e,e.v)}function q(e,t){setTimeout(a(function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),t(this.a)},e),0)}function z(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}L.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),U(this)};var H=null;function W(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&h(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),A(e,"active")):O(e.a))}function V(e){this.j=e,this.a=new j,this.h=0,this.f=this.g=!0}function Y(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)O(t.a);else{t.f+=n.length,o&&(t.j=o);var c,u=[];for(c=0;c<n.length;c++){var l=n[c],d=s[l.c],f=t.a,p=l;if(f.g&&h(f.f,[f.a.c("wf",p.c,E(p).toString(),"loading")]),A(f,"fontloading",p),f=null,null===H)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);H=p?42<parseInt(p[1],10):!m}else H=!1;f=H?new I(a(t.g,t),a(t.h,t),t.c,l,t.s,d):new L(a(t.g,t),a(t.h,t),t.c,l,t.s,e,d),u.push(f)}for(c=0;c<u.length;c++)u[c].start()}},0)}function G(e,t){this.c=e,this.a=t}function K(e,t){this.c=e,this.a=t}function $(e,t){this.c=e||X,this.a=[],this.f=[],this.g=t||""}z.prototype.g=function(e){var t=this.a;t.g&&h(t.f,[t.a.c("wf",e.c,E(e).toString(),"active")],[t.a.c("wf",e.c,E(e).toString(),"loading"),t.a.c("wf",e.c,E(e).toString(),"inactive")]),A(t,"fontactive",e),this.m=!0,W(this)},z.prototype.h=function(e){var t=this.a;if(t.g){var n=p(t.f,t.a.c("wf",e.c,E(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,E(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,E(e).toString(),"inactive")),h(t.f,r,i)}A(t,"fontinactive",e),W(this)},V.prototype.load=function(e){this.c=new c(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&&h(e.f,[e.a.c("wf","loading")]),A(e,"loading")}(t);var 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),o=new z(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load(function(t,n,r){Y(e,o,t,n,r)})}(this,new C(this.c,e),e)},G.prototype.load=function(e){var t=this,n=t.a.projectId,r=t.a.version;if(n){var i=t.c.o;v(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(r?"?v="+r:""),function(r){r?e([]):(i["__MonotypeConfiguration__"+n]=function(){return t.a},function t(){if(i["__mti_fntLst"+n]){var r,o=i["__mti_fntLst"+n](),a=[];if(o)for(var s=0;s<o.length;s++){var c=o[s].fontfamily;null!=o[s].fontStyle&&null!=o[s].fontWeight?(r=o[s].fontStyle+o[s].fontWeight,a.push(new x(c,r))):a.push(new x(c))}e(a)}else setTimeout(function(){t()},50)}())}).id="__MonotypeAPIScript__"+n}else e([])},K.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new g;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],y(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var c=r[1].split(","),u=0;u<c.length;u+=1)s.push(new x(r[0],c[u]));else s.push(new x(r[0]));b(a,function(){e(s,o)})};var X="https://fonts.googleapis.com/css";function Q(e){this.f=e,this.a=[],this.c={}}var Z={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 g,n=this.c,r=new $(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 Q(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,c=(s=s.split(",")).length,u=0;u<c;u++){var l;if((l=s[u]).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 d=J[f],f=d||(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=Z[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Z[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new x(i,o[r]))}}(o),m(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),y(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?v(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 x(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 x(a.name,T("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},v(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 K(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)}()},function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+="<style>\n  .brand--head, .brand--head *   { font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important; }\n  .brand--body, .brand--body *   { font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important; }\n  .brand--lhead, .brand--lhead * { font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important; }\n  .brand--lbody, .brand--lbody * { font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important; }\n  .brand--ui, .brand--ui *       { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n\n  .brand--beforeHead:before { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n  .brand--afterHead:after   { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n\n  .brand--background             { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--background-transparent { background-color: "+(null==(__t=color+"1A")?"":__t)+" !important; }\n  .brand--background-all *       { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--border                 { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--color                  { color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--color-all *            { color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--shadow                 { box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--shadow-all *           { box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--fill                   { fill: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--stroke                 { stroke: "+(null==(__t=color)?"":__t)+" !important; }\n\n\n  .brand--beforeBackground:before { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--beforeBorder:before     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--beforeColor:before      { color: "+(null==(__t=color)?"":__t)+" !important; }\n\n  .brand--afterBackground:after { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--afterBorder:after     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--afterColor:after      { color: "+(null==(__t=color)?"":__t)+" !important; }\n\n  /* should be applied to containers where links\n     need to appear in brand color */\n  .brand--linkColor a {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n  }\n\n  /* should be applied to containers where links\n     need to change to brand color on hover */\n  .brand--linkColorHover a:hover {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n  }\n\n  /* should be applied to any single element that\n     needs to change color on hover */\n  .brand--hoverColor:hover { color: "+(null==(__t=color)?"":__t)+" !important; }\n\n  .brand--linkColor a:hover,\n  .button.brand--background:hover { opacity: .65 !important; }\n\n  .brandHover:hover .brandHover__target--fill { fill: "+(null==(__t=color)?"":__t)+" !important; }\n\n  @media (min-width: 47.9375em) { /* 768px */\n    .brand--min768--background { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--min768--border     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--min768--color      { color: "+(null==(__t=color)?"":__t)+" !important; }\n  }\n\n  @media (max-width: 47.9375em) { /* 768px */\n    .brand--max768--background { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--max768--border     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--max768--color      { color: "+(null==(__t=color)?"":__t)+" !important; }\n  }\n</style>\n";return __p}},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),o=n(13),a=n.n(o),s=n(136),c=n(1313),u=n(80);t.a=Object(s.b)(function(e){return{partnerContent:i()([],["partnerContent","content"],e)}})(function(t){var n=t.animateBlockEntrance,r=t.color,i=t.courseId,o=t.courseTitle,s=t.data,l=s.id,d=s.type,f=s.items,h=t.enableVideoPlaybackSpeed,p=t.handleNavigate,m=t.handleStorylineFullscreen,v=t.labels,g=t.lessonHeader,y=t.lessonProgress,b=t.loadMedia,_=t.match,w=t.menuButtons,x=t.menuOpen,k=t.nextComponent,E=t.nextLesson,S=t.partnerContent,T=t.prefersKeyboardNavigation,C=t.previewType,O=t.previousComponent,A=t.publishedAt,j=t.tenantId;return e.createElement(u.c,{type:d},O,e.createElement(u.b,{type:d},w,g,e.createElement(u.a,null,e.createElement(c.a,{animateBlockEntrance:n,blocks:f,color:r,courseId:i,courseTitle:o,enableVideoPlaybackSpeed:h,handleNavigate:p,handleStorylineFullscreen:m,isFirstLesson:!0,labels:v,lessonId:l,lessonProgress:y,loadMedia:b,match:_,menuOpen:x,nextLesson:E,partnerContent:S,previewType:C,prefersKeyboardNavigation:T,publishedAt:A,tenantId:j,type:d}))),a()("isComplete",y)?k:null)})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return K});var r=n(3),i=n.n(r),o=n(23),a=n(62),s=n(4),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(11),p=n(44),m=n.n(p),v=n(45),g=n.n(v),y=n(223),b=n.n(y),_=n(73),w=n.n(_),x=n(24),k=n.n(x),E=n(14),S=n.n(E),T=n(280),C=n(421),O=n(370),A=n(648),j=n(503),N=n(504),M=n(649),P=n(780),I=n(1226),L=n(784),D=n(422),R=n(1232),F=n(785),B=n(423),U=n(1241),q=n(1247),z=n(1250),H=n(1253),W=n(1256),V=n(806),Y=m()(S()("variant","storyline")),G=k()(Y,g.a,b()(1)),K=function(t){function n(){return Object(u.a)(this,n),Object(d.a)(this,Object(f.a)(n).apply(this,arguments))}return Object(h.a)(n,t),Object(l.a)(n,[{key:"render",value:function(){var t,n,r=this.props,s=r.dividerNumber,u=r.family,l=r.handleStorylineFullscreen,d=r.menuOpen,f=r.partnerContent,h=r.variant,p=r.enableVideoPlaybackSpeed,m=c()(t="".concat(u," ")).call(t,h),v=w()(["handleStorylineFullscreen","dividerNumber"],this.props),g=Object(a.a)({},v,{variant:h,enableVideoPlaybackSpeed:p,partnerContent:f});switch(m){case"text paragraph":case"text table":return e.createElement(T.h,g);case"text heading paragraph":return e.createElement(T.d,g);case"text subheading paragraph":return e.createElement(T.e,g);case"text heading":return e.createElement(T.b,g);case"text subheading":return e.createElement(T.c,g);case"text two column":return e.createElement(T.g,g);case"text three column":return e.createElement(T.f,g);case"text code":return e.createElement(T.a,g);case"impact a":return e.createElement(C.e,g);case"impact b":return e.createElement(C.a,g);case"impact c":return e.createElement(C.b,g);case"impact d":return e.createElement(C.c,g);case"impact note":return e.createElement(C.d,g);case"quote a":return e.createElement(O.f,g);case"quote b":return e.createElement(O.a,g);case"quote c":return e.createElement(O.c,g);case"quote d":return e.createElement(O.e,g);case"quote background":return e.createElement(O.b,g);case"quote carousel":return e.createElement(O.d,g);case"list numbered":return e.createElement(A.c,g);case"list checkboxes":return e.createElement(A.b,g);case"list bulleted":return e.createElement(A.a,g);case"image hero":return e.createElement(j.d,g);case"image full":return e.createElement(j.a,g);case"image text aside":return e.createElement(j.c,g);case"image text overlay":return e.createElement(j.b,g);case"gallery centered":case"gallery full":return e.createElement(N.b,g);case"gallery two column":return e.createElement(N.a,g);case"gallery three column":return e.createElement(N.a,Object(o.a)({width:3},g));case"gallery four column":return e.createElement(N.a,Object(o.a)({width:4},g));case"divider divider":return e.createElement(M.c,g);case"divider numbered divider":return e.createElement(M.a,Object(o.a)({number:s},g));case"divider spacing divider":return e.createElement(M.b,g);case"360 storyline":return e.createElement(I.a,Object(o.a)({},g,{isLesson:!0,menuOpen:d,handleStorylineFullscreen:l,hasManySlBlocks:i()(n=this.hasManySlBlocks).call(n,this)}));case"interactive accordion":return e.createElement(P.b,g);case"interactive tabs":return e.createElement(P.a,g);case"interactive-fullscreen labeledgraphic":return e.createElement(U.a,g);case"interactive-fullscreen process":return e.createElement(q.a,g);case"interactive-fullscreen scenario":return e.createElement(z.a,g);case"interactive-fullscreen sorting":return e.createElement(H.a,g);case"interactive-fullscreen timeline":return e.createElement(W.a,g);case"buttons button":return e.createElement(L.b,g);case"buttons button stack":return e.createElement(L.a,g);case"flashcard flashcard":return e.createElement(F.a,g);case"flashcard stack":return e.createElement(F.a,Object(o.a)({stack:!0},g));case"knowledge knowledge":return e.createElement(B.a,g);case"continue continue":return e.createElement(R.a,g);case"multimedia audio":return e.createElement(D.b,g);case"multimedia video":return e.createElement(D.d,g);case"multimedia custom video":return e.createElement(D.d,Object(o.a)({},g,{type:"customVideo"}));case"multimedia embed":return e.createElement(D.c,g);case"multimedia attachment":return e.createElement(D.a,g);case"multimedia code":return e.createElement(T.a,g);case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return e.createElement(B.a,g);case"chart bar":case"chart line":return e.createElement(V.a,g);case"chart pie":return e.createElement(V.b,g);default:return"Unknown type: ".concat(m)}}},{key:"hasManySlBlocks",value:function(){var e=this.props.items;return e&&G(e)}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(771),i=n(4),o=n(18),a=n(152),s=n(27),c=n(3),u=n(476),l=n(477),d=n(258),f=n(360),h=n(221),p=n(605),m=n(473),v=n(328);v(t,"__esModule",{value:!0});var g=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),v(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;r=!1,null===i&&(i=Function.prototype);var s=m(i,o);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var u=p(i);if(null===u)return;e=u,t=o,n=a,r=!0,s=u=void 0}};function b(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+d(t));e.prototype=l(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(u?u(e,t):e.__proto__=t)}var x=n(0),k=b(x),E=b(n(985)),S=b(n(2074)),T=function(e){function t(e){var n;_(this,t),y(p(t.prototype),"constructor",this).call(this,e),this.serverSide="undefined"==typeof window,this.listener=(0,E.default)(c(n=this.handleScroll).call(n,this),50),this.visibility={inViewport:!1,onScreen:!1},this.state={classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}}return w(t,x.Component),g(t,[{key:"getElementTop",value:function(e){for(var t=0;e&&void 0!==e.offsetTop&&void 0!==e.clientTop;)t+=e.offsetTop+e.clientTop,e=e.offsetParent;return t}},{key:"getScrollPos",value:function(){return void 0!==this.scrollableParent.pageYOffset?this.scrollableParent.pageYOffset:this.scrollableParent.scrollTop}},{key:"getScrollableParentHeight",value:function(){return void 0!==this.scrollableParent.innerHeight?this.scrollableParent.innerHeight:this.scrollableParent.clientHeight}},{key:"getViewportTop",value:function(){return this.getScrollPos()+this.props.offset}},{key:"getViewportBottom",value:function(){return this.getScrollPos()+this.getScrollableParentHeight()-this.props.offset}},{key:"isInViewport",value:function(e){return e>=this.getViewportTop()&&e<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(e){return e<this.getViewportTop()}},{key:"isBelowViewport",value:function(e){return e>this.getViewportBottom()}},{key:"inViewport",value:function(e,t){return this.isInViewport(e)||this.isInViewport(t)||this.isAboveViewport(e)&&this.isBelowViewport(t)}},{key:"onScreen",value:function(e,t){return!this.isAboveScreen(t)&&!this.isBelowScreen(e)}},{key:"isAboveScreen",value:function(e){return e<this.getScrollPos()}},{key:"isBelowScreen",value:function(e){return e>this.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var e=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),t=e+this.node.clientHeight,n=this.inViewport(e,t);return{aboveViewport:this.isAboveViewport(e),belowViewport:this.isBelowViewport(e),inViewport:n,onScreen:this.onScreen(e,t)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var e=this.props.scrollableParentSelector;this.scrollableParent=e?document.querySelector(e):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.handleScroll()}}},{key:"componentWillUnmount",value:function(){this.cleanup()}},{key:"cleanup",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(e,t){return e.inViewport!==t.inViewport||e.onScreen!==t.onScreen}},{key:"captureRef",value:function(e){e&&(this.node=e.animateRef?e.animateRef:e)}},{key:"animate",value:function(e,t){var n=this;this.delayedAnimationTimeout=s(function(){n.animating=!0,n.setState({classes:"animated "+e,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=s(t,1e3*n.props.duration)},this.props.delay)}},{key:"animateIn",value:function(e){var t=this;this.animate(this.props.animateIn,function(){t.props.animateOnce||(t.setState({style:{animationDuration:t.props.duration+"s",opacity:1}}),t.animating=!1);var n=t.getVisibility();e&&e(n)})}},{key:"animateOut",value:function(e){var t=this;this.animate(this.props.animateOut,function(){t.setState({classes:"animated",style:{animationDuration:t.props.duration+"s",opacity:0}});var n=t.getVisibility();n.inViewport&&t.props.animateIn?t.animateIn(t.props.afterAnimatedIn):t.animating=!1,e&&e(n)})}},{key:"shouldNotAnimate",value:function(e){return this.props.animateIn&&this.props.animateOut?!e.onScreen:this.props.animateIn?!e.onScreen&&!e.aboveViewport:!e.onScreen&&!e.belowViewport}},{key:"shouldAnimateIn",value:function(e){return!!this.props.animateIn&&(this.props.animateOut?e.inViewport:e.inViewport||e.aboveViewport)}},{key:"shouldAnimateOut",value:function(e){return!(!this.props.animateOut||!e.onScreen||1!==this.state.style.opacity)&&(this.props.animateIn?e.inViewport:e.inViewport||e.belowViewport)}},{key:"handleScroll",value:function(){if(!this.animating){if(!this.node)return this.cleanup(),!0;var e=this.getVisibility();this.visibilityHasChanged(this.visibility,e)&&(clearTimeout(this.delayedAnimationTimeout),this.shouldNotAnimate(e)?this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}):this.shouldAnimateIn(e)?this.animateIn(this.props.afterAnimatedIn):this.shouldAnimateOut(e)&&this.animateOut(this.props.afterAnimatedOut),this.visibility=e)}}},{key:"renderChild",value:function(e,t){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2],r=this.props,i=r.initiallyVisible,o=r.keepStructure,s=r.siblingDelay*n,c=a({},this.state.style,this.props.style,{animationDelay:s+"s"});return k.default.createElement(C,{classes:t,initiallyVisible:i,keepStructure:o,key:n,style:c},e)}},{key:"renderChildren",value:function(e,t){var n,a,s,c=this,u=this.props,l=u.children,d=u.siblingDelay,p=h(t)?t:l;return d&&h(p)?o(n=i(a=[]).call(a,function(e){if(h(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return f(e)}(r(s=Array(p.length)).call(s)))).call(n,function(t){return c.renderChild(p[t],e,t)}):this.renderChild(p,e)}},{key:"renderWrapped",value:function(e){var t=this;return k.default.createElement("div",{ref:function(e){t.node=e}},this.renderChildren(e))}},{key:"renderStructure",value:function(e){var t,n=this,r=this.props.children;return 1===k.default.Children.count(r)?o(t=k.default.Children).call(t,r,function(t){var r;return k.default.cloneElement(t,{ref:c(r=n.captureRef).call(r,n)},n.renderChildren(e,t.props.children))}):this.renderWrapped(e)}},{key:"render",value:function(){var e=this.props.className?this.props.className+" "+this.state.classes:this.state.classes;return this.props.keepStructure?this.renderStructure(e):this.renderWrapped(e)}}]),t}();t.default=T,T.defaultProps={animateOnce:!1,delay:0,duration:1,keepStructure:!1,initiallyVisible:!1,offset:150,siblingDelay:0},T.propTypes={animateIn:S.default.string,animateOnce:S.default.bool,animateOut:S.default.string,className:S.default.string,delay:S.default.number,duration:S.default.number,initiallyVisible:S.default.bool,keepStructure:S.default.bool,offset:S.default.number,scrollableParentSelector:S.default.string,siblingDelay:S.default.number,style:S.default.object};var C=function(e){function t(e){_(this,t),y(p(t.prototype),"constructor",this).call(this,e),this.state={hasAnimated:!1}}return w(t,x.Component),g(t,[{key:"componentDidMount",value:function(){var e=this;this.animationEndListener=this.ref.addEventListener("animationend",function(){e.ref&&e.setState({hasAnimated:!0})})}},{key:"componentWillUnmount",value:function(){this.ref&&this.ref.removeEventListener&&this.ref.removeEventListener("animationend",this.animationEndListener)}},{key:"componentWillReceiveProps",value:function(e){0===e.style.opacity&&this.setState({hasAnimated:!1})}},{key:"captureRef",value:function(e){e&&(this.ref=e.animateRef?e.animateRef:e)}},{key:"renderStructure",value:function(e){var t,n=this,r=e.style,i=this.props,a=i.children,s=i.classes;return o(t=k.default.Children).call(t,a,function(e){var t;return k.default.cloneElement(e,{className:s,style:r,ref:c(t=n.captureRef).call(t,n)})})}},{key:"renderWrapped",value:function(e){var t=this,n=e.style,r=this.props,i=r.children,o=r.classes;return k.default.createElement("div",{className:o,style:n,ref:function(e){return t.ref=e}},i)}},{key:"render",value:function(){var e=this.props,t=e.initiallyVisible,n=e.keepStructure,r=this.state.hasAnimated,i=this.props.style,o=void 0===i.animationDelay||t?i.opacity:0,s=a({},i,{opacity:r?1:o});return n?this.renderStructure({style:s}):this.renderWrapped({style:s})}}]),t}();C.defaultProps={keepStructure:!1},C.propTypes={classes:S.default.string,keepStructure:S.default.bool,style:S.default.object},e.exports=t.default},function(e,t,n){e.exports=n(2137)},function(e,t){e.exports=playerjs},function(e,t,n){var r=n(2149),i=n(2150),o=n(2153),a=n(2154),s=n(997),c=n(2155),u=n(2156);e.exports=c(3,function(e,t){return u(a(e),i(r(t),[s(e),o(e)]))})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(376),i=n(377),o=n(537),a=n(203).type("Any"),s=n(203).typeFn(a(),2),c=n(175),u=n(86),l=n(998),d=n(218),f=function(){return h(!1)};function h(e){var t,n=l(e)?f().valueOf():e;if(!arguments.length||u(n))throw new TypeError("Any: Non-function value required");var r=function(){return!!n},p=f,m=function(){return"Any"+i(r())},v=function(e){return d(h,e)&&o(n,e.valueOf())};function g(e){return function(t){if(!d(h,t))throw new TypeError("Any."+e+": Any required");return h(t.valueOf()||r())}}return(t={inspect:m,toString:m,equals:v,valueOf:r,type:a,empty:p})["@@type"]=s,t.concat=g("concat"),t[c.equals]=v,t[c.concat]=g(c.concat),t[c.empty]=p,t.constructor=h,t}h["@@implements"]=r(["equals","concat","empty"]),h.empty=f,h.type=a,h[c.empty]=f,h["@@type"]=s,e.exports=h},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);e.exports=r(function(e,t){if(!i(t))throw new TypeError("applyTo: Function required for second argument");return t(e)})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(319),i=n(119),o=n(255),a=n(318),s=n(86),c=n(696),u=n(536),l=n(717),d=n(175);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 u.map(e,t);if(t&&c(t))return(t[d.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")})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(538),o=n(86),a=n(879),s=n(2157);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()})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(464),o=n(570);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))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();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(0)),o=n(1),a=(r=n(773))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return(c="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 u(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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return f(e)}(this,n)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=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&&l(e,t)}(c,i.Component);var t,n,r,s=d(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=s.call.apply(s,[this].concat(n))).state={},e.setDimensions=e.setDimensions.bind(f(e)),e.shouldBeFullWidth=e.shouldBeFullWidth.bind(f(e)),e.getParentDimensions=e.getParentDimensions.bind(f(e)),e}return t=c,r=[{key:"defaultProps",get:function(){return{aspectRatio:9/16,fullWidth:!1,fullWidthAt:0,options:{preload:"auto",controls:!0,controlBar:{remainingTimeDisplay:!0,volumePanel:{inline:!1}}}}}},{key:"propTypes",get:function(){return{aspectRatio:o.PropTypes.number,crossOrigin:o.PropTypes.string,fullWidth:o.PropTypes.bool,fullWidthAt:o.PropTypes.number,options:o.PropTypes.shape({bigPlayButton:o.PropTypes.bool,preload:o.PropTypes.string,controls:o.PropTypes.bool,controlBar:o.PropTypes.object}),poster:o.PropTypes.string}}}],(n=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.setDimensions),this.player=(0,a.default)(this.video,this.props.options,function(){this.on("ended",function(){this.posterImage.show(),this.bigPlayButton.show(),this.currentTime(0)})}),this.setDimensions()}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),window.removeEventListener("resize",this.setDimensions)}},{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:"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")}}])&&u(t.prototype,n),r&&u(t,r),c}();t.default=p},function(e,t){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},function(e,t,n){var r=n(999),i=n(2170);function o(t,n,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}e.exports=o},function(e,t,n){var r=n(999);e.exports=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&&r(e,t)}},function(e,t,n){"use strict";(function(t){var r,i=(r=n(326))&&"object"==typeof r&&"default"in r?r.default:r,o=function(e){return i.atob?i.atob(e):t.from(e,"base64").toString("binary")};e.exports=function(e){for(var t=o(e),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}}).call(this,n(378).Buffer)},function(e,t,n){function r(e){this.options=e||{locator:{}}}function i(){this.cdata=!1}function o(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function a(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function s(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 c(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new u,o=n.domBuilder||new i,s=n.errorHandler,c=n.locator,l=n.xmlns||{},d={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return c&&o.setDocumentLocator(c),r.errorHandler=function(e,t,n){if(!e){if(t instanceof i)return t;e=t}var r={},o=e instanceof Function;function s(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+a(n))}||function(){}}return n=n||{},s("warning"),s("error"),s("fatalError"),r}(s,o,c),r.domBuilder=n.domBuilder||o,/\/x?html?$/.test(t)&&(d.nbsp=" ",d.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,d):r.errorHandler.error("invalid doc source"),o.doc},i.prototype={startDocument:function(){this.doc=(new l).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),s=r.length;c(this,a),this.currentElement=a,this.locator&&o(this.locator,a);for(var u=0;u<s;u++){e=r.getURI(u);var l=r.getValue(u),d=(n=r.getQName(u),i.createAttributeNS(e,n));this.locator&&o(r.getLocator(u),d),d.value=d.nodeValue=l,a.setAttributeNode(d)}},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&&o(this.locator,n),c(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=s.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&&o(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=s.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&o(this.locator,r),c(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&&o(this.locator,i),c(this,i)}},warning:function(e){console.warn("[xmldom warning]\t"+e,a(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,a(this.locator))},fatalError:function(e){throw console.error("[xmldom fatalError]\t"+e,a(this.locator)),e}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){i.prototype[e]=function(){return null}});var u=n(2172).XMLReader,l=t.DOMImplementation=n(1e3).DOMImplementation;t.XMLSerializer=n(1e3).XMLSerializer,t.DOMParser=r},function(e,t,n){"use strict";var r=n(1001).discardEmulationPreventionBytes,i=n(2173).CaptionStream,o=n(417),a=n(596),s=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},c=function(e,t){var n=o.findBox(e,["moof","traf"]),i=o.findBox(e,["mdat"]),c={},u=[];return i.forEach(function(e,t){var r=n[t];u.push({mdat:e,traf:r})}),u.forEach(function(e){var n,i=e.mdat,u=e.traf,l=o.findBox(u,["tfhd"]),d=a.parseTfhd(l[0]),f=d.trackId,h=o.findBox(u,["tfdt"]),p=h.length>0?a.parseTfdt(h[0]).baseMediaDecodeTime:0,m=o.findBox(u,["trun"]);t===f&&m.length>0&&(n=function(e,t,n){var i,o,a,c,u=new DataView(e.buffer,e.byteOffset,e.byteLength),l=[];for(o=0;o+4<e.length;o+=a)if(a=u.getUint32(o),o+=4,!(a<=0))switch(31&e[o]){case 6:var d=e.subarray(o+1,o+1+a),f=s(o,t);i={nalUnitType:"sei_rbsp",size:a,data:d,escapedRBSP:r(d),trackId:n},f?(i.pts=f.pts,i.dts=f.dts,c=f):(i.pts=c.pts,i.dts=c.dts),l.push(i)}return l}(i,function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,s=n.trackId,c=[];return e.forEach(function(e){var t=a.parseTrun(e).samples;t.forEach(function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=s,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),e.pts=r+e.compositionTimeOffset,r+=e.duration}),c=c.concat(t)}),c}(m,p,d),f),c[f]||(c[f]=[]),c[f]=c[f].concat(n))}),c};e.exports=function(){var e,t,n,r,o,a,s=!1;this.isInitialized=function(){return s},this.init=function(t){e=new i,s=!0,a=!!t&&t.isPartial,e.on("data",function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0})},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,i,a){var s;if(!this.isInitialized())return null;if(!i||!a)return null;if(this.isNewInit(i,a))n=i[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,i,a)}return null!==(s=function(e,t,n){return null===t?null:{seiNals:c(e,t)[t],timescale:n}}(e,n,r))&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),o):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;a?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={}},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,o?this.clearParsedCaptions():o={captions:[],captionStreams:{}},this.resetCaptionStream()},this.reset()}},function(e,t,n){"use strict";var r=n(1003),i=n(2174).handleRollover,o={};o.ts=n(2175),o.aac=n(2176);var a=n(2177).ONE_SECOND_IN_TS,s=function(e,t,n){for(var r,i,a,s,c=0,u=188,l=!1;u<=e.byteLength;)if(71!==e[c]||71!==e[u]&&u!==e.byteLength)c++,u++;else{switch(r=e.subarray(c,u),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),l=!0)}if(l)break;c+=188,u+=188}for(c=(u=e.byteLength)-188,l=!1;c>=0;)if(71!==e[c]||71!==e[u]&&u!==e.byteLength)c--,u--;else{switch(r=e.subarray(c,u),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),l=!0)}if(l)break;c-=188,u-=188}},c=function(e,t,n){for(var r,i,a,s,c,u,l,d=0,f=188,h=!1,p={data:[],size:0};f<e.byteLength;)if(71!==e[d]||71!==e[f])d++,f++;else{switch(r=e.subarray(d,f),o.ts.parseType(r,t.pid)){case"pes":if(i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(a&&!h&&(s=o.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0),!n.firstKeyFrame)){if(a&&0!==p.size){for(c=new Uint8Array(p.size),u=0;p.data.length;)l=p.data.shift(),c.set(l,u),u+=l.byteLength;if(o.ts.videoPacketContainsKeyFrame(c)){var m=o.ts.parsePesTime(c);m?(n.firstKeyFrame=m,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(h&&n.firstKeyFrame)break;d+=188,f+=188}for(d=(f=e.byteLength)-188,h=!1;d>=0;)if(71!==e[d]||71!==e[f])d--,f--;else{switch(r=e.subarray(d,f),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0)}if(h)break;d-=188,f-=188}},u=function(e){var t={pid:null,table:null},n={};for(var i in function(e,t){for(var n,r=0,i=188;i<e.byteLength;)if(71!==e[r]||71!==e[i])r++,i++;else{switch(n=e.subarray(r,i),o.ts.parseType(n,t.pid)){case"pat":t.pid||(t.pid=o.ts.parsePat(n));break;case"pmt":t.table||(t.table=o.ts.parsePmt(n))}if(t.pid&&t.table)return;r+=188,i+=188}}(e,t),t.table){if(t.table.hasOwnProperty(i))switch(t.table[i]){case r.H264_STREAM_TYPE:n.video=[],c(e,t,n),0===n.video.length&&delete n.video;break;case r.ADTS_STREAM_TYPE:n.audio=[],s(e,t,n),0===n.audio.length&&delete n.audio}}return n};e.exports={inspect:function(e,t){var n;return(n=o.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,s=null,c=0,u=0;e.length-u>=3;){switch(o.aac.parseType(e,u)){case"timed-metadata":if(e.length-u<10){n=!0;break}if((c=o.aac.parseId3TagSize(e,u))>e.length){n=!0;break}null===s&&(t=e.subarray(u,u+c),s=o.aac.parseAacTimestamp(t)),u+=c;break;case"audio":if(e.length-u<7){n=!0;break}if((c=o.aac.parseAdtsSize(e,u))>e.length){n=!0;break}null===i&&(t=e.subarray(u,u+c),i=o.aac.parseSampleRate(t)),r++,u+=c;break;default:u++}if(n)return null}if(null===i||null===s)return null;var l=a/i;return{audio:[{type:"audio",dts:s,pts:s},{type:"audio",dts:s+1024*r*l,pts:s+1024*r*l}]}}(e):u(e))&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;void 0===n&&(n=e.audio[0].dts),e.audio.forEach(function(e){e.dts=i(e.dts,n),e.pts=i(e.pts,n),e.dtsTime=e.dts/a,e.ptsTime=e.pts/a})}if(e.video&&e.video.length){var r=t;if(void 0===r&&(r=e.video[0].dts),e.video.forEach(function(e){e.dts=i(e.dts,r),e.pts=i(e.pts,r),e.dtsTime=e.dts/a,e.ptsTime=e.pts/a}),e.firstKeyFrame){var o=e.firstKeyFrame;o.dts=i(o.dts,r),o.pts=i(o.pts,r),o.dtsTime=o.dts/a,o.ptsTime=o.dts/a}}}(n,t),n):null},parseAudioPes_:s}},function(e,t,n){"use strict";var r=n(9),i=n(6),o=n(10),a=n(8),s=n(501),c=n(11),u=function(e){function t(e,n){var i;Object(r.a)(this,t),i=Object(o.a)(this,Object(a.a)(t).call(this,e,[]));var s=n.showRestrictSeekTooltip,c=n.getMaxTime;return i.showRestrictSeekTooltip=s,i.getMaxTime=c,i}return Object(c.a)(t,e),Object(i.a)(t,[{key:"handleMouseMove",value:function(e){var t=this.player(),n=this.calculateDistance(e)*t.duration(),r=this.getMaxTime();n>r?(this.showRestrictSeekTooltip(!0),n=r):this.showRestrictSeekTooltip(!1),n===t.duration()&&(n-=.1),t.currentTime(n)}},{key:"handleMouseUp",value:function(e){Object(s.a)(Object(a.a)(t.prototype),"handleMouseUp",this).call(this,e),this.showRestrictSeekTooltip(!1)}}]),t}(n(773).default.getComponent("SeekBar"));t.a=u},function(e,t,n){
/*!
 * sweet-scroll
 * Modern and the sweet smooth scroll library.
 * @author tsuyoshiwada
 * @license MIT
 * @version 2.2.1
 */
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,c=Math.min,u=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},d=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},f=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}}(),h=n(2,53)-1,p={};function m(e){return null==e?"":"object"===(void 0===e?"undefined":l(e))||"function"==typeof e?p[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(e)}function v(e){return"string"===m(e)}function g(e){return"function"===m(e)}function y(e){return Array.isArray(e)}function b(e){var t=null==e?null:e.length;return function(e){return"number"===m(e)}(t)&&t>=0&&t<=h}function _(e,t){return e&&e.hasOwnProperty(t)}function w(e,t,n){if(null==e)return e;var r=n||e;if(function(e){return!y(e)&&"object"===m(e)}(e)){for(var i in e)if(_(e,i)&&!1===t.call(r,e[i],i))break}else if(b(e))for(var o=0;o<e.length&&!1!==t.call(r,e[o],o);o++);return e}function x(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(n,function(t){w(t,function(t,n){e[n]=t})}),e}["Boolean","Number","String","Function","Array","Object"].forEach(function(e){p["[object "+e+"]"]=e.toLowerCase()});var k=!("undefined"==typeof window||!window.document||!window.document.createElement),E=function(){if(!k)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}(),S=k?window:null,T=k?document:null;function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?T:t).querySelector(e)}function O(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var A={y:"scrollTop",x:"scrollLeft"},j={y:"pageYOffset",x:"pageXOffset"};function N(e){return e===T.documentElement||e===T.body}function M(e){for(var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=A[r],a=e instanceof Element?[e]:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?T:t).querySelectorAll(e)}(e),s=[],c=T.createElement("div"),u=0;u<a.length;u++){var l=a[u];if(l[o]>0?s.push(l):(c.style.width=l.clientWidth+1+"px",c.style.height=l.clientHeight+1+"px",l.appendChild(c),l[o]=1.5/(t=void 0,n=void 0,t=S.outerWidth,n=S.innerWidth,t?t/n:1),l[o]>0&&s.push(l),l[o]=0,l.removeChild(c)),!i&&s.length>0)break}return s}function P(e,t){var n=M(e,t,!1);return n.length>=1?n[0]:null}function I(e){return null!=e&&e===e.window?e:9===e.nodeType&&e.defaultView}function L(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function D(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function R(e){return{width:D(e),height:L(e)}}function F(e){return N(e)?{viewport:{width:c(S.innerWidth,T.documentElement.clientWidth),height:S.innerHeight},size:{width:s(D(T.body),D(T.documentElement)),height:s(L(T.body),L(T.documentElement))}}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:R(e)}}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=I(e);return n?n[j[t]]:e[A[t]]}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"y",r=I(e),i="y"===n;r?r.scrollTo(i?r[j.x]:t,i?t:r[j.y]):e[A[n]]=t}function q(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=S.pageYOffset,r.left=S.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 z(e,t,n){var r=t.split(",");r.forEach(function(t){e.addEventListener(t.trim(),n,!1)})}function H(e,t,n){var r=t.split(",");r.forEach(function(t){e.removeEventListener(t.trim(),n,!1)})}function W(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 V(e,t,n,r,i){return r-W(0,i-t,0,r,i)+n}var Y=Object.freeze({linear:function(e){return e},InQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},OutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},InOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},InCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},OutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},InOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},InQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},OutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},InOutQuart:function(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},InQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},OutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},InOutQuint:function(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},InSine:function(t,n,r,i,o){return-i*e(n/o*(a/2))+i+r},OutSine:function(e,n,r,i,o){return i*t(n/o*(a/2))+r},InOutSine:function(t,n,r,i,o){return-i/2*(e(a*n/o)-1)+r},InExpo:function(e,t,r,i,o){return 0===t?r:i*n(2,10*(t/o-1))+r},OutExpo:function(e,t,r,i,o){return t===o?r+i:i*(1-n(2,-10*t/o))+r},InOutExpo:function(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},InCirc:function(e,t,n,r,o){return-r*(i(1-(t/=o)*t)-1)+n},OutCirc:function(e,t,n,r,o){return r*i(1-(t=t/o-1)*t)+n},InOutCirc:function(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},InElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:1==(i/=u)?s+c:(d||(d=.3*u),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),-f*n(2,10*(i-=1))*t(2*a*(i*u-l)/d)+s)},OutElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:1==(i/=u)?s+c:(d||(d=.3*u),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),f*n(2,-10*i)*t(2*a*(i*u-l)/d)+c+s)},InOutElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:2==(i/=u/2)?s+c:(d||(d=u*(.3*1.5)),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),i<1?f*n(2,10*(i-=1))*t(2*a*(i*u-l)/d)*-.5+s:f*n(2,-10*(i-=1))*t(2*a*(i*u-l)/d)*.5+c+s)},InBack:function(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},OutBack:function(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},InOutBack:function(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},OutBounce:W,InBounce:V,InOutBounce:function(e,t,n,r,i){return t<i/2?.5*V(0,2*t,0,r,i)+n:.5*W(0,2*t-i,0,r,i)+.5*r+n}}),G=["ms","moz","webkit"],K=0,$=k?S.requestAnimationFrame:null,X=k?S.cancelAnimationFrame:null;if(k){for(var Q=0;Q<G.length&&!$;++Q)$=S[G[Q]+"RequestAnimationFrame"],X=S[G[Q]+"CancelAnimationFrame"]||S[G[Q]+"CancelRequestAnimationFrame"];$||($=function(e){var t=Date.now(),n=s(0,16-(t-K)),r=setTimeout(function(){e(t+n)},n);return K=t+n,r}),X||(X=function(e){clearTimeout(e)})}var Z=function(){function e(t){d(this,e),this.el=t,this.props={},this.options={},this.progress=!1,this.easing=null,this.startTime=null,this.rafId=null}return f(e,[{key:"run",value:function(e,t,n){var r=this;this.progress||(this.props={x:e,y:t},this.options=n,this.easing=g(n.easing)?n.easing:Y[n.easing.replace("ease","")],this.progress=!0,setTimeout(function(){r.startProps=r.calcStartProps(e,t),r.rafId=$(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,X(this.rafId),e&&(U(this.el,this.props.x,"x"),U(this.el,this.props.y,"y")),g(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,d=i.duration,f=i.step,h={},p=e-o,m=c(1,s(p/d,0));w(r,function(e,t){var n=a[t],r=e-n;if(0===r)return!0;var i=l(m,d*m,0,1,d);h[t]=u(n+r*i)}),w(h,function(e,t){U(n,e,t)}),p<=d?(f.call(this,m,h),this.rafId=$(function(e){return t._loop(e)})):this.stop(!0)}else this.stop(!1)}},{key:"calcStartProps",value:function(e,t){var n={x:B(this.el,"x"),y:B(this.el,"y")};if(this.options.quickMode){var i=F(this.el),o=i.viewport,a=o.width,s=o.height;r(n.y-t)>s&&(n.y=n.y>t?t+s:t-s),r(n.x-e)>a&&(n.x=n.x>e?e+a:e-a)}return n}}]),e}(),J=(k?"onwheel"in T?"wheel":"onmousewheel"in T?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",ee=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";d(this,e),this.isSSR=!k,this.options=x({},e.defaults,t),this.container=this.getContainer(n),null==this.container?(this.header=null,this.tween=null,this.isSSR||(/comp|inter|loaded/.test(T.readyState)?this.log('Not found scrollable container. => "'+n+'"'):this.log("Should be initialize later than DOMContentLoaded."))):(this.header=C(this.options.header),this.tween=new Z(this.container),this._trigger=null,this._shouldCallCancelScroll=!1,this.bindContainerClick())}return f(e,[{key:"log",value:function(e){this.options.outputLog&&function(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}("[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&&v(e))if("#"===e)o={top:0,left:0};else{var a=C(e),c=q(a,n);if(!c)return;o=c}return o?(i&&(o.top+=i.top,o.left+=i.left),r&&(o.top=s(0,o.top-R(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=x({},e),i=F(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,c(a.height-o.height,r.top)):B(n,"y"),r.left=t.horizontalScroll?s(0,c(a.width-o.width,r.left)):B(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=x({},this.options,n),o=this._trigger,a=v(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!==S.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,x({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,x({},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=q(e,this.container);this.to(n,x({},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=x({},this.options,e),this.header=C(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,n=this._options?this._options.verticalScroll:this.options.verticalScroll,r={top:0,left:0};if(_(e,"top")||_(e,"left"))r=x(r,e);else if(y(e))2===e.length?(r.top=e[0],r.left=e[1]):(r.top=n?e[0]:0,r.left=n?0:e[0]);else if(!y(t=e)&&t-parseFloat(t)+1>=0)r.top=n?e:0,r.left=n?0:e;else{if(!v(e))return null;var i=e.replace(/\s*/g,"")||"";if(/^\d+,\d+$/.test(i))i=i.split(","),r.top=i[0],r.left=i[1];else if(/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(i)){var o=i.match(/top:(\d+)/),a=i.match(/left:(\d+)/);r.top=o?o[1]:0,r.left=a?a[1]:0}else{if(!this.container||!/^(\+|-)=(\d+)$/.test(i))return null;var s=B(this.container,n?"y":"x"),c=i.match(/^(\+|-)=(\d+)$/),u=c[1],l=parseInt(c[2],10);"+"===u?(r.top=n?s+l:0,r.left=n?0:s+l):(r.top=n?s-l:0,r.left=n?0:s-l)}}return r.top=parseInt(r.top,10),r.left=parseInt(r.left,10),r}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&E&&t&&S.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?i:(n&&(i=P(e,"y")),!i&&r&&(i=P(e,"x")),i)}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),z(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(H(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),z(e,J,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(H(e,J,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(g(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){var t=this._options?this._options.stopScroll:this.options.stopScroll;t?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==T;n=n.parentNode)if(O(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=x({},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 ee.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},ee}()},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T});var r=n(4),i=n.n(r),o=n(3),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2179),n(70)),p=n.n(h),m=n(92),v=n.n(m),g=n(7),y=n.n(g),b=n(2),_=n.n(b),w=n(55),x=n(21),k=n(66),E=n(39),S=n(230),T=function(t){function n(){var e,t,r,i,o,c,f;return Object(s.a)(this,n),(f=Object(u.a)(this,Object(l.a)(n).call(this))).state={fullscreen:!1,reopenMenu:!1},f.iframe=null,f.canFullscreen=a()(e=f.canFullscreen).call(e,Object(d.a)(f)),f.handleCourseUpdate=a()(t=f.handleCourseUpdate).call(t,Object(d.a)(f)),f.handleFullscreenEnter=a()(r=f.handleFullscreenEnter).call(r,Object(d.a)(f)),f.handleFullscreenExit=a()(i=f.handleFullscreenExit).call(i,Object(d.a)(f)),f.handleMessages=a()(o=f.handleMessages).call(o,Object(d.a)(f)),f.renderItem=a()(c=f.renderItem).call(c,Object(d.a)(f)),f}return Object(f.a)(n,t),Object(c.a)(n,[{key:"componentWillMount",value:function(){window.addEventListener("message",this.handleMessages)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessages)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.onStep,r=p()(t),i=y()(S.b,S.f);v()(i,n,r)}},{key:"canFullscreen",value:function(e){var t=this.props,n=t.blockId,r=t.hasManySlBlocks;return n===e.windowName||!r()}},{key:"handleMessages",value:function(e){var t=e.data,n=t.type,r={"fullscreen:enter":this.handleFullscreenEnter,"fullscreen:exit":this.handleFullscreenExit,"course:update":this.handleCourseUpdate}[n];r&&r(t)}},{key:"handleCourseUpdate",value:function(e){var t=this.props,n=t.items,r=t.onStep,i=t.blockId,o=p()(n);if(i===e.windowName&&Object(S.h)(e)){var a=Object(S.c)(e),s=a.score,c=a.success;if(Object(S.j)(e)){var u=100*s.scaled;Object(E.f)(i,c,!0,u)}else Object(E.f)(i,!0,!1);r(o)}}},{key:"handleFullscreenEnter",value:function(e){var t=this.props,n=t.menuOpen,r=t.handleStorylineFullscreen;this.canFullscreen(e)&&(n&&r(!0),this.setState({fullscreen:!0,reopenMenu:n}))}},{key:"handleFullscreenExit",value:function(e){var t=this.props.handleStorylineFullscreen,n=this.state.reopenMenu;this.canFullscreen(e)&&(n&&t(!1),this.setState({fullscreen:!1,reopenMenu:!1}))}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLesson,i=t.isLearner,o=t.items,a=t.labels.storylineGroup,s=t.settings,c=t.takingSnapshot,u=p()(o),l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,h=s.mediaWidth,m=void 0===h?"0":h,v={backgroundColor:Object(k.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px"),display:r&&!Object(S.g)(u)?"none":"block"},g=_()("blocks-storyline__wrapper",{"blocks-storyline__wrapper--small":"0"===m,"blocks-storyline__wrapper--medium":"1"===m,"blocks-storyline__wrapper--full":"2"===m,"blocks-storyline__wrapper--snapshot":c});return e.createElement("div",{className:"blocks-storyline",style:v},e.createElement(w.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:i},e.createElement("div",{"aria-label":a,className:g,role:"group"},c?this.renderThumbnail(u):this.renderStorylineBlock(u))))}},{key:"renderStorylineBlock",value:function(e){return Object(S.i)(e)?this.renderProcessing():Object(S.g)(e)?this.renderItem(e):this.renderEmpty()}},{key:"renderThumbnail",value:function(t){var n,r=Object(S.e)(t),o=i()(n="".concat(Object(x.c)("CDN_USER_CONTENT_URI"),"/")).call(n,r);return e.createElement("img",{src:o})}},{key:"renderEmpty",value:function(){var e=this.props.renderEmpty;return"function"==typeof e?e():null}},{key:"renderItem",value:function(t){var n=this,r=this.state.fullscreen,i=this.props,o=i.blockId,a=i.isLesson,s=i.previewType,c=Object(S.d)(t),u=c.src,l=c.meta.player,d=Object(S.a)(u,a,s),f=l.height/l.width,h={paddingBottom:"".concat(100*f,"%")},p=_()("blocks-storyline__item__iframe",{"blocks-storyline__item__iframe--fullscreen":r});return e.createElement("div",{className:"blocks-storyline__item",style:h},e.createElement("iframe",{allowtransparency:"true",ref:function(e){return n.iframe=e},name:o,className:p,src:Object(x.g)(d)}))}},{key:"renderProcessing",value:function(){var e=this.props.renderProcessing;return"function"==typeof e?e():null}}],[{key:"defaultProps",get:function(){return{isLesson:!1,onStep:Function.prototype,hasManySlBlocks:Function.prototype,previewType:""}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(t){
/**
 * filesize
 *
 * @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
 * @license BSD-3-Clause
 * @version 3.5.11
 */
!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,o,a,s,c,u,l,d,f,h,p,m,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=[],y=0,b=void 0,_=void 0;if(isNaN(e))throw new Error("Invalid arguments");return o=!0===v.bits,f=!0===v.unix,t=v.base||2,d=void 0!==v.round?v.round:f?1:2,h=void 0!==v.spacer?v.spacer:f?"":" ",m=v.symbols||v.suffixes||{},p=2===t&&v.standard||"jedec",l=v.output||"string",s=!0===v.fullform,c=v.fullforms instanceof Array?v.fullforms:[],b=void 0!==v.exponent?v.exponent:-1,a=t>2?1e3:1024,(u=(_=Number(e))<0)&&(_=-_),(-1===b||isNaN(b))&&(b=Math.floor(Math.log(_)/Math.log(a)))<0&&(b=0),b>8&&(b=8),0===_?(g[0]=0,g[1]=f?"":r[p][o?"bits":"bytes"][b]):(y=_/(2===t?Math.pow(2,10*b):Math.pow(1e3,b)),o&&(y*=8)>=a&&b<8&&(y/=a,b++),g[0]=Number(y.toFixed(b>0?d:0)),g[1]=10===t&&1===b?o?"kb":"kB":r[p][o?"bits":"bytes"][b],f&&(g[1]="jedec"===p?g[1].charAt(0):b>0?g[1].replace(/B$/,""):g[1],n.test(g[1])&&(g[0]=Math.floor(g[0]),g[1]=""))),u&&(g[0]=-g[0]),g[1]=m[g[1]]||g[1],"array"===l?g:"exponent"===l?b:"object"===l?{value:g[0],suffix:g[1],symbol:g[1]}:(s&&(g[1]=c[b]?c[b]:i[p][b]+(o?"bit":"byte")+(1===g[0]?"":"s")),g.join(h))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window&&window)}).call(this,n(100))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(48),a=n.n(o),s=n(620),c=n(621),u=(n(2200),a()("partner-content-block-card__"));t.a=function(e){var t=e.backgroundColor,n=e.blockId,r=e.courseId,o=e.partnerContent,a=e.publishedAt,l=e.tenantId,d=o.data,f=o.type,h=d.authors,p=d.bookImage,m=d.bookTitle,v=d.buyLink,g=d.internalId,y=d.nbicLink,b={blockId:n,courseId:r,partnerContentId:g,tenantId:l,contentSubtype:f};return i.a.createElement("section",null,i.a.createElement("h2",{className:"visually-hidden"},"More Info"),i.a.createElement("ol",{className:"partner-content-block-card",role:"list"},i.a.createElement("li",{role:"listitem"},i.a.createElement(s.a,{authors:h,backgroundColor:t,block:!0,bookImage:p,bookTitle:m,buyLink:v,publishedAt:a,trackingInfo:b})),i.a.createElement("li",{role:"listitem"},i.a.createElement("div",{className:u("divider")})),i.a.createElement("li",{role:"listitem"},i.a.createElement(c.a,{backgroundColor:t,block:!0,link:y,publishedAt:a,trackingInfo:b}))))}},function(e,t,n){e.exports=n(2182)},function(e,t,n){var r=n(1106),i=n(1112),o=n(1115);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})}})},function(e,t,n){var r=n(1106),i=n(1112),o=n(1115),a=n(2197);e.exports=i(function(e,t,n){var i={};return function(){for(var s=[],c=arguments.length;c--;)s[c]=arguments[c];return o(function(){var o=t.apply(null,s);i[o]||(i[o]={},i[o].async=r(function(e,t){Object.assign(i[o],{reject:e,resolve:t})})),i[o].args=s;var c=Date.now()-(i[o].last||0);if(!i[o].timeout){var u=a(0,e-c);i[o].timeout=setTimeout(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}.bind(null,o),u)}return i[o].async})}})},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=(n(2201),n(0)),u=n.n(c),l=n(1),d=n.n(l),f=n(66),h=n(498),p=n(622),m=n(55),v=function(e){function t(){return Object(r.a)(this,t),Object(o.a)(this,Object(a.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.canContinue,r=e.isLearner,i=e.items,o=e.onStep,a=e.settings,s=i[0]||{},c=!s.type||n;return u.a.createElement("div",{style:y(a)},u.a.createElement(m.a,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:r,offset:25},u.a.createElement("div",{className:"block-text--onecol"},u.a.createElement("div",{className:"block-text__container"},u.a.createElement("div",{className:"block-text__row"},u.a.createElement("div",{className:"block-text__col"},c&&u.a.createElement(g,{bgColor:s.buttonColor,id:s.id,onStep:o,title:s.title}),!c&&u.a.createElement(p.a,{text:s.completeHint})))))))}}],[{key:"propTypes",get:function(){return{items:d.a.array,settings:d.a.object.isRequired,canContinue:d.a.bool,onStep:d.a.func}}},{key:"defaultProps",get:function(){return{canContinue:!1,items:[],onStep:Function.prototype}}}]),t}(u.a.Component),g=function(e){var t=e.bgColor,n=e.id,r=e.onStep,i=e.title,o=Object(c.useCallback)(function(){r({id:n})},[n,r]);return u.a.createElement(h.a,{bgColor:t,onClick:o,text:i})};function y(e){return{backgroundColor:Object(f.a)("",e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}},function(e,t,n){"use strict";(function(e){t.a=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 23 17",focusable:!1},e.createElement("path",{fillRule:"nonzero",d:"M19.347 8.275l1.88 1.714a.727.727 0 0 0 .98-1.074l-3.225-2.941a.727.727 0 0 0-1.027.047l-2.94 3.224a.727.727 0 0 0 1.075.98l1.802-1.976a6.545 6.545 0 0 1-11.56 4.288.727.727 0 1 0-1.114.935 8 8 0 0 0 14.129-5.197zm-16.039.162l-1.79-1.633a.727.727 0 1 0-.98 1.074l3.223 2.94c.297.272.757.25 1.028-.046l2.94-3.224a.727.727 0 0 0-1.075-.98L4.768 8.636a6.545 6.545 0 0 1 11.555-4.482.727.727 0 1 0 1.114-.936A8 8 0 0 0 3.308 8.437z"}))}}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(697)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(318)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(319),i=n(119),o=n(86),a=n(1128),s=n(175);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")})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(538),o=n(318);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),{})})},function(e,t,n){"use strict";var r=n(228),i=n.n(r),o=n(109),a=n.n(o),s=n(1239),c=n.n(s),u=n(1240),l=n.n(u),d=a()(function(e,t){return i()(c()(null),l()(e,t))});t.a=d},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(86);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(319),i=n(119),o=n(464),a=n(86),s=n(772),c=function(e){return function(t){return t.map(e)}};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(c(t),s(e))})},function(e,t,n){"use strict";(function(e){var r=n(23),i=(n(2231),n(28)),o=n.n(i),a=n(66),s=n(623),c=n(59).b.blocks;t.a=function(t){var n=t.blockId,i=t.progress,u=t.settings,l=u.backgroundColor,d=u.paddingTop,f=u.paddingBottom,h={backgroundColor:Object(a.a)("",l),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},p=o()(["items",n],i);return e.createElement("div",{className:"block-labeled-graphic","data-ba":c.blockLabeledGraphic,style:h},e.createElement(s.a,Object(r.a)({},t,{editable:!1,isBlock:!0,parentId:n,progress:p})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return P});var r=n(18),i=n.n(r),o=n(27),a=n.n(o),s=n(3),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(5),p=n(11),m=(n(2234),n(1243)),v=n.n(m),g=n(16),y=n.n(g),b=n(2),_=n.n(b),w=n(40),x=n.n(w),k=n(401),E=n.n(k),S=n(1),T=n.n(S),C=n(128),O=n.n(C),A=n(34),j=n(38),N=n(25),M=n(17),P=function(t){function n(e){var t,r,i,o,a,s,l;return Object(u.a)(this,n),(l=Object(d.a)(this,Object(f.a)(n).call(this,e))).state={hasOverflow:!1},l.renderOverflowMask=c()(t=l.renderOverflowMask).call(t,Object(h.a)(l)),l.handleScroll=c()(r=l.handleScroll).call(r,Object(h.a)(l)),l.handleBubbleClick=c()(i=l.handleBubbleClick).call(i,Object(h.a)(l)),l.handleKeyDown=c()(o=l.handleKeyDown).call(o,Object(h.a)(l)),l.handleNextClick=c()(a=l.handleNextClick).call(a,Object(h.a)(l)),l.handlePreviousClick=c()(s=l.handlePreviousClick).call(s,Object(h.a)(l)),l}return Object(p.a)(n,t),Object(l.a)(n,[{key:"componentDidMount",value:function(){var e=this;a()(function(){e.focusTarget=e.selectFocusTarget()},0)}},{key:"componentWillUnmount",value:function(){this.contentRef.removeEventListener("scroll",this.scrollRef),this.videoContainer&&this.videoContainer.removeEventListener("click",this.handleBubbleClick)}},{key:"componentWillReceiveProps",value:function(e){e.isActive&&a()(this.renderOverflowMask,100)}},{key:"componentDidUpdate",value:function(e){var t=this.contentRef;!e.isActive&&this.props.isActive&&(t.scrollTop=0,this.focusTarget&&this.focusTarget.focus()),this.state.hasOverflow&&e.isActive&&!this.props.isActive&&t.removeEventListener("scroll",this.scrollRef),this.stopVideoClickBubbling(e.isActive)}},{key:"render",value:function(){var t,n=this,r=this.props,o=r.accentColor,a=r.allowNav,s=r.children,c=r.description,u=r.isActive,l=r.labels,d=r.onClose,f=r.title,h=r.x,p=r.y,m=_()("bubble",{"bubble--active":u}),v=I({x:h,y:p}),g=L({hasOverflow:this.state.hasOverflow,x:h,y:p}),y={borderColor:o},b=l.labeledGraphicBubbleLabel,w=e.createElement("div",{ref:function(e){n.el=e},className:m,style:v},e.createElement("div",{"aria-hidden":!u,"aria-label":b,className:g,onClick:this.handleBubbleClick,onKeyDown:this.handleKeyDown,ref:function(e){n.bubbleRef=e},style:y,tabIndex:M.i},e.createElement("div",{className:"noOutline",ref:function(e){n.titleRef=e},tabIndex:M.i},e.createElement(j.a,{allowTabNavigation:u,className:"bubble__title brand--head",value:f})),e.createElement("div",{className:"bubble__content",ref:function(e){n.contentRef=e},tabIndex:M.i},e.createElement("div",{className:"bubble__media",ref:function(e){n.mediaRef=e},tabIndex:M.i},i()(t=e.Children).call(t,s,function(t){return t&&u?e.createElement("div",{className:"bubble__figure"},t):null})),e.createElement(j.a,{allowTabNavigation:u,className:"bubble__description brand--body brand--linkColor",value:c})),a&&this.renderControls(),e.createElement("button",{className:"bubble__close",onClick:d,type:"button"},e.createElement(A.g,null))));return window.matchMedia("(max-width: 767px)").matches?e.createElement(E.a,null,w):w}},{key:"renderControls",value:function(){var t=this.props.labels,n=t.labeledGraphicPreviousMarkerLabel,r=t.labeledGraphicNextMarkerLabel;return e.createElement("div",{className:"bubble__controls"},e.createElement("div",{"aria-label":n,className:"bubble__prev brand--hoverColor",onClick:this.handlePreviousClick,onKeyDown:Object(N.a)(this.handlePreviousClick),role:"button",tabIndex:M.a},e.createElement("i",{className:"icon icon-chevron-left"})),e.createElement("div",{"aria-label":r,className:"bubble__next brand--hoverColor",onClick:this.handleNextClick,onKeyDown:Object(N.a)(this.handleNextClick),role:"button",tabIndex:M.a},e.createElement("i",{className:"icon icon-chevron-right"})))}},{key:"renderOverflowMask",value:function(){if(this.contentRef){var e=this.contentRef,t=e.offsetHeight;e.scrollHeight>t?(e.addEventListener("scroll",this.scrollRef=O()(this.handleScroll,50)),this.setState({hasOverflow:!0}),this.scrollRef()):(e.removeEventListener("scroll",this.scrollRef),this.setState({hasOverflow:!1}))}}},{key:"handleBubbleClick",value:function(e){e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.allowNav,r=t.onClose,i=t.onNextClick,o=t.onPreviousClick,a=Object(N.r)(this.contentRef,this.state.hasOverflow),s=v()(y()(n));x()([[s(N.g),o],[s(N.i),i],[N.f,r],[N.n,a]])(e)}},{key:"handleNextClick",value:function(e){var t=this.props.onNextClick;e.preventDefault(),t(e)}},{key:"handlePreviousClick",value:function(e){var t=this.props.onPreviousClick;e.preventDefault(),t(e)}},{key:"handleScroll",value:function(){var e=this.contentRef;e.scrollTop>=e.scrollHeight-e.offsetHeight-10?this.setState({hasOverflow:!1}):this.state.hasOverflow||this.setState({hasOverflow:!0})}},{key:"selectFocusTarget",value:function(){var e=this.props,t=e.description,n=e.hasMedia;return e.title?this.titleRef:n?this.mediaRef:t?this.contentRef:this.bubbleRef}},{key:"stopVideoClickBubbling",value:function(e){if(!e&&this.props.isActive&&!this.videoContainer&&window.matchMedia("(max-width: 767px)").matches){var t=this.el.querySelector(".videoContainer");t&&(this.videoContainer=t,this.videoContainer.addEventListener("click",this.handleBubbleClick))}else e&&!this.props.isActive&&this.videoContainer&&(this.videoContainer.removeEventListener("click",this.handleBubbleClick),delete this.videoContainer)}}],[{key:"propTypes",get:function(){return{accentColor:T.a.string.isRequired,description:T.a.string.isRequired,isActive:T.a.bool.isRequired,onClose:T.a.func.isRequired,onNextClick:T.a.func.isRequired,onPreviousClick:T.a.func.isRequired,title:T.a.string.isRequired}}},{key:"defaultProps",get:function(){return{allowNav:!0,onClose:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype}}}]),n}(e.Component),I=function(e){var t=e.x,n=e.y,r={top:"initial",bottom:"initial",left:0,right:0};return t>50?r.right=100-t+"%":r.left=t+"%",n>50?r.bottom=100-n+"%":r.top=n+"%",r},L=function(e){var t=e.hasOverflow,n=e.x,r=e.y,i=n<50,o="top";return r>33&&(o=r>66?"bottom":"middle"),_()("bubble__body",{"bubble__body--has-overflow":t,"bubble__body--left":i,"bubble__body--right":!i,"bubble__body--top":"top"===o,"bubble__body--middle":"middle"===o,"bubble__body--bottom":"bottom"===o})}}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(464),o=n(570);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))}})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return w});var r=n(62),i=n(9),o=n(6),a=n(10),s=n(8),c=n(11),u=(n(2240),n(2)),l=n.n(u),d=n(7),f=n.n(d),h=n(13),p=n.n(h),m=n(331),v=n.n(m),g=n(52),y=n(305),b=n(229),_=f()(function(e){return e.substr(1)},p()("path"),v.a.parse),w=function(t){function n(e){var t;return Object(i.a)(this,n),(t=Object(a.a)(this,Object(s.a)(n).call(this,e))).state={style:{}},t}return Object(c.a)(n,t),Object(o.a)(n,[{key:"render",value:function(){var t=this,n=this.props,i=n.canvasClassNames,o=n.children,a=n.editable,s=n.imageLoaded,c=n.media,u=void 0===c?{}:c,d=n.onCreateMarker,f=n.onShowAltDialog,h=this.state.style,p=u.image,m=void 0===p?{}:p,v=m.alt,w=m.key,x=m.originalUrl,k=m.src,E=!!m.alt,S=Object(y.a)({alt:v,fileName:x,key:w}),T=Object(y.b)(m),C=l()("labeled-graphic-canvas__figure",{"labeled-graphic-canvas__figure--editable":a}),O=w?Object(g.a)(m):Object(g.a)(Object(r.a)({key:_(k)},m));return e.createElement("div",{className:i||"labeled-graphic-canvas"},e.createElement("div",{className:"labeled-graphic-canvas__item"},e.createElement("div",{className:"labeled-graphic-canvas__bounds"},e.createElement("figure",{className:C},E&&a?e.createElement(b.a,{className:"item-media__tooltip"},e.createElement("div",{onClick:f,className:"labeled-graphic-canvas__alt-tag"},"ALT"),e.createElement(b.b,{side:"top"},"Edit alt text")):[],s&&e.createElement("img",{alt:S,className:"labeled-graphic-canvas__image",onClick:d,onLoad:function(){return t.setState({style:T})},ref:function(e){t.imageEl=e},role:"img",src:O,style:h}),e.createElement("ol",{role:"list"},o)))))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return w});var r=n(15),i=n(3),o=n.n(i),a=n(9),s=n(6),c=n(10),u=n(8),l=n(5),d=n(11),f=n(4),h=n.n(f),p=(n(2242),n(2)),m=n.n(p),v=n(1),g=n.n(v),y=n(1246),b=n(25),_=n(63),w=function(t){function n(e){var t,r;return Object(a.a)(this,n),(r=Object(c.a)(this,Object(u.a)(n).call(this,e))).state={dragging:!1,hovering:!1,isComplete:!1,isDragged:!1,offsetX:0,offsetY:0,wasDragged:!1},r.onClick=o()(t=r.onClick).call(t,Object(l.a)(r)),r}return Object(d.a)(n,t),Object(s.a)(n,[{key:"parentCanvasElement",value:function(){return this.marker.parentElement.parentElement.parentElement}},{key:"componentDidMount",value:function(){var e=this,t=this.parentCanvasElement();t.addEventListener("mousemove",this.onMouseMove=function(t){e.onItemDrag(t)}),t.addEventListener("mouseleave",this.onMouseLeave=function(t){e.onItemRelease(t)})}},{key:"componentWillUnmount",value:function(){var e=this.parentCanvasElement();e.removeEventListener("mousemove",this.onMouseMove),e.removeEventListener("mouseleave",this.onMouseLeave)}},{key:"componentWillReceiveProps",value:function(e){var t=e.isSelected,n=e.useLocalStateForCompletion;t&&n&&!this.state.isComplete&&this.setState({isComplete:!0})}},{key:"render",value:function(){var t,n,i,a,s,c,u=this,l=this.props,d=l.icon,f=l.isActive,p=l.isComplete,v=l.isSelected,g=l.isVisible,_=l.markerClassName,w=l.onFocus,x=l.labels,k=l.styles,E=l.useLocalStateForCompletion,S=Object(y.a)(d),T=E?this.state.isComplete:p,C=function(e){var t,n,r,i=e.icon,o=e.label,a=e.viewed;return h()(t=h()(n=h()(r=[]).call(r,o?[o]:[])).call(n,i?[i]:[])).call(t,[a?"Viewed":"Not Viewed"]).join(", ")}({icon:S,label:x&&x.labeledGraphicMarkerLabel||"",viewed:T}),O=m()("labeled-graphic-marker",{"labeled-graphic-marker--active":v,"labeled-graphic-marker--dragged":this.state.isDragged,"labeled-graphic-marker--visible":g,"labeled-graphic-marker--complete":T}),A=m()("labeled-graphic-marker__pin",(t={},Object(r.a)(t,"".concat(_,"--hover"),!v&&this.state.hovering),Object(r.a)(t,"".concat(_,"--normal"),!v),Object(r.a)(t,"".concat(_,"--selected"),v),t));return e.createElement("button",{"aria-expanded":f,"aria-label":C,className:O,onClick:this.onClick,onContextMenu:o()(n=this.onItemRelease).call(n,this),onFocus:w,onKeyDown:Object(b.a)(this.onClick),onMouseDown:o()(i=this.onItemGrab).call(i,this),onMouseEnter:o()(a=this.onHover).call(a,this),onMouseLeave:o()(s=this.onLeave).call(s,this),onMouseUp:o()(c=this.onItemRelease).call(c,this),ref:function(e){u.marker=e},style:k,type:"button"},e.createElement("div",{className:A},e.createElement("i",{className:"icon icon-Master-".concat(d)})))}},{key:"focus",value:function(){this.marker&&this.marker.focus&&this.marker.focus()}},{key:"onHover",value:function(){this.state.wasDragged&&this.props.onHover(),this.setState({hovering:!0})}},{key:"onLeave",value:function(){this.props.onLeave(),this.setState({hovering:!1})}},{key:"onClick",value:function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation();var t=this.props,n=t.editable,r=t.itemId,i=t.onClick,o={detail:{itemId:r,parentId:t.parentId}},a=null;_.a.isIe11?(a=document.createEvent("UIEvents")).initUIEvent("labeledGraphicMarkerClick",!1,!1,window,o):a=new CustomEvent("labeledGraphicMarkerClick",o),document.dispatchEvent(a),n||i()}},{key:"onItemGrab",value:function(e){if(this.props.editable){var t=this.marker.getBoundingClientRect(),n=t.left-e.clientX+this.marker.offsetWidth/2,r=t.top-e.clientY+this.marker.offsetHeight/2;this.setState({posX:e.clientX,posY:e.clientY,offsetX:n,offsetY:r,isDragged:!0})}}},{key:"onItemDrag",value:function(e){if(this.state.isDragged){var t,n=e.clientX-this.state.posX,r=e.clientY-this.state.posY;this.marker.style.transform=h()(t="translate3d(".concat(n,"px, ")).call(t,r,"px, 0)")}}},{key:"onItemRelease",value:function(e){var t=this.props.editable,n={isDragged:!1};this.marker.style.transform="translate3d(0, 0, 0)",this.state.isDragged&&this.state.posX===e.clientX&&this.state.posY===e.clientY?this.props.onClick():t&&e.currentTarget&&e.currentTarget.classList.contains("labeled-graphic-marker")?this.props.onSetPosition(e,this.state.offsetX,this.state.offsetY):this.state.isDragged&&(n.offsetX=0,n.offsetY=0),this.setState(n)}}],[{key:"propTypes",get:function(){return{editable:g.a.bool,isActive:g.a.bool,isDragged:g.a.bool,isSelected:g.a.bool,markerClassName:g.a.string.isRequired,onClick:g.a.func,onLeave:g.a.func,onSetPosition:g.a.func,styles:g.a.shape({top:g.a.string,left:g.a.string}).isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r={"01":"Plus","02":"Dot","03":"Information","04":"Question Mark","05":"Check Mark","06":"X","07":"Heart","08":"Map Location","09":"Left Arrow",10:"Right Arrow",11:"Up Arrow",12:"Down Arrow",13:"Up Left Arrow",14:"Up Right Arrow",15:"Down Left Arrow",16:"Down Right Arrow",17:"1",18:"2",19:"3",20:"4",21:"5",22:"6",23:"7",24:"8",25:"9",26:"0"},i=function(e){return r[e]||""}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return y});var r=n(23),i=n(62),o=n(3),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(11),f=(n(2243),n(40)),h=n.n(f),p=n(17),m=n(25),v=n(1248),g=n(59).b.blocks,y=function(t){function n(){return Object(s.a)(this,n),Object(u.a)(this,Object(l.a)(n).apply(this,arguments))}return Object(d.a)(n,t),Object(c.a)(n,[{key:"onKeyDown",value:function(e){var t,n;h()([[m.i,a()(t=this.triggerSlide).call(t,this,"next")],[m.g,a()(n=this.triggerSlide).call(n,this,"prev")]])(e)}},{key:"render",value:function(){var t,n=this,o=this.props.settings,s=o.paddingBottom,c=o.paddingTop,u={paddingBottom:"".concat(10*s,"px"),paddingTop:"".concat(10*c,"px")},l={className:"block-process",onKeyDown:a()(t=this.onKeyDown).call(t,this),style:u,tabIndex:p.a},d=Object(i.a)({ref:function(e){return n.process=e}},this.props);return e.createElement("div",Object(r.a)({},l,{"data-ba":g.blockProcess}),e.createElement(v.a,d))}},{key:"triggerSlide",value:function(e){this.process.triggerSlide(e)}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return V});var r=n(23),i=n(18),o=n.n(i),a=n(4),s=n.n(a),c=n(269),u=n(3),l=n.n(u),d=n(9),f=n(6),h=n(10),p=n(8),m=n(5),v=n(11),g=n(103),y=n(139),b=n.n(y),_=n(206),w=n.n(_),x=n(26),k=n.n(x),E=n(7),S=n.n(E),T=n(44),C=n.n(T),O=n(51),A=n.n(O),j=n(56),N=n.n(j),M=n(29),P=n.n(M),I=n(32),L=n.n(I),D=n(14),R=n.n(D),F=n(1),B=n.n(F),U=n(125),q=n.n(U),z=n(792),H=n(63),W=n(55),V=function(t){function n(e){var t,r,i,o,a;return Object(d.a)(this,n),(a=Object(h.a)(this,Object(p.a)(n).call(this,e))).state={entered:!1,visible:!1},a.getScrollTop=l()(t=a.getScrollTop).call(t,Object(m.a)(a)),a.handleEntranceEnd=l()(r=a.handleEntranceEnd).call(r,Object(m.a)(a)),a.handleScroll=l()(i=a.handleScroll).call(i,Object(m.a)(a)),a.triggerSlide=l()(o=a.triggerSlide).call(o,Object(m.a)(a)),a}return Object(v.a)(n,t),Object(f.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onStep,n=e.previewType,r=document.getElementsByClassName("page-wrap")[0];this.container=P()(n)?window:r,this.container.addEventListener("scroll",this.handleScroll),this.handleScroll(),t&&this.setProgress()}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("scroll",this.handleScroll)}},{key:"getScrollTop",value:function(){var e=this.props.settings.paddingTop,t=this.container,n=Object(g.findDOMNode)(this),r=b()(n).offset().top,i=10*e;return t===window?r-i:b()(t).scrollTop()+r-b()(t).offset().top-i}},{key:"getSteps",value:function(){var e,t=this.props.items,n=A()(R()("type","intro"),t),r=A()(R()("type","summary"),t),i=C()(R()("type","step"),t),a=s()(e=[n]).call(e,Object(c.a)(i),[r]),u=q()(R()("isHidden",!0),a);return o()(u).call(u,function(e,t){return k()("index",t,e)})}},{key:"handleEntranceEnd",value:function(){this.setState({visible:!0})}},{key:"handleScroll",value:function(){this.state.entered||this.wrapper.getBoundingClientRect().bottom-100<=(this.container.innerHeight||this.container.offsetHeight)&&!this.state.entered&&this.setState({entered:!0})}},{key:"render",value:function(){var t=this,n=this.props,i=n.animateBlockEntrance,o=n.blockId,a=n.isLearner,s=n.labels,c=n.menuOpen,u=n.onStep,l=n.previewType,d=n.settings,f=n.enableVideoPlaybackSpeed,h=this.state,p=h.entered,m=h.visible,v=this.getSteps(),g=!P()(l),y=i?"fadeIn":"none",b=g&&i?1:0,_={afterAnimatedIn:this.handleEntranceEnd,animateBlockEntrance:g,animateIn:y,duration:b,initiallyVisible:!i,isLearner:a,offset:300},w={className:"process-block-wrapper",ref:function(e){return t.wrapper=e}},x={blockId:o,entered:p,getScrollTop:this.getScrollTop,labels:s,menuOpen:c,onStep:u,isPreview:g,settings:d,steps:v,visible:m,enableVideoPlaybackSpeed:f},E=k()("ref",function(e){return t.process=e},x),S=k()("ref",function(e){return t.processMobile=e},x),T=e.createElement(z.a,E),C=e.createElement(z.b,S);return e.createElement(W.a,_,e.createElement("div",Object(r.a)({"aria-label":"Process",role:"group"},w),H.a.isMobile?C:T))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=C()(R()("isHidden",!0),t),o=r[0]?w()(r[0]):N.a;S()(L()(n),o)(i)}},{key:"shouldComponentUpdate",value:function(e,t){return e.menuOpen!==this.props.menuOpen||e.settings!==this.props.settings||t.entered!==this.state.entered||t.visible!==this.state.visible}},{key:"triggerSlide",value:function(e){H.a.isMobile?this.processMobile.handleSlide(e):this.process.handleSlide(e)}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:B.a.bool,blockId:B.a.string.isRequired,isLearner:B.a.bool,items:B.a.array.isRequired,labels:B.a.object.isRequired,menuOpen:B.a.bool,onStep:B.a.func,previewType:B.a.string,settings:B.a.object.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return O});var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2246),n(16)),d=n.n(l),f=n(34),h=n(2),p=n.n(h),m=n(7),v=n.n(m),g=n(40),y=n.n(g),b=n(64),_=n(96),w=n.n(_),x=n(14),k=n.n(x),E=n(1),S=n.n(E),T=n(72),C=n.n(T),O=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"onClick",value:function(){var e=this.props,t=e.onClick;e.opacity>.5&&t()}},{key:"render",value:function(){var t,n=this.props,r=n.absolute,o=n.bottom,a=n.fixed,s=n.hidden,c=n.isSliding,u=n.offset,l=n.opacity,h=n.scroll,m=n.sidebar,v=n.top,g=n.type,_="next"===g,w="prev"===g,x=w&&"prev"===s||_&&"next"===s||"both"===s,E=h.active?a+m:r,S=h.active?a+u:r,T=y()([[k()("active",!0),d()(v)],[k()("end",!0),d()(o)],[C.a,d()(null)]])(h),O=p()("process-arrow",{"process-arrow--left":w,"process-arrow--right":_,"process-arrow--hidden":x,"process-arrow--scrolling":h.active,"process-arrow--disabled":l<=.5}),A={left:w?E:null,opacity:h.end?l:null,right:_?S:null,top:T},j={className:O,key:"arrow",onClick:i()(t=this.onClick).call(t,this),role:"button",style:A};return e.createElement(b.TransitionGroup,{component:"div"},!c&&e.createElement(b.CSSTransition,{classNames:"process-arrow",timeout:{enter:300,exit:200}},e.createElement("div",j,e.createElement(f.f,null))))}},{key:"shouldComponentUpdate",value:function(e){var t=function(e,t){return v()(w.a,k()(e,t))};return y()([[t("absolute",this.props.absolute),d()(!0)],[t("fixed",this.props.fixed),d()(!0)],[t("isSliding",this.props.isSliding),d()(!0)],[t("opacity",this.props.opacity),d()(!0)],[t("scroll",this.props.scroll),d()(!0)],[t("top",this.props.top),d()(!0)],[C.a,d()(!1)]])(e)}}],[{key:"propTypes",get:function(){return{absolute:S.a.number,bottom:S.a.number,fixed:S.a.number,hidden:S.a.oneOf(["both","next",null,"prev"]),isSliding:S.a.bool,offset:S.a.number,onClick:S.a.func.isRequired,opacity:S.a.number,scroll:S.a.object,sidebar:S.a.number,top:S.a.number,type:S.a.oneOf(["next","prev"])}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return m});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=(n(2248),n(29)),u=n.n(c),l=n(1),d=n.n(l),f=n(55),h=n(1251),p=n(59).b.blocks,m=function(t){function n(){return Object(r.a)(this,n),Object(o.a)(this,Object(a.a)(n).apply(this,arguments))}return Object(s.a)(n,t),Object(i.a)(n,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.previewType,o=t.settings,a=!u()(i),s=n?"fadeIn":"none",c=a&&n?1:0,l=o.backgroundColor,d=o.paddingBottom,m=o.paddingTop,v={backgroundColor:l,paddingBottom:"".concat(10*d,"px"),paddingTop:"".concat(10*m,"px")},g={animateBlockEntrance:a,animateIn:s,duration:c,initiallyVisible:!n,isLearner:r,offset:300};return e.createElement("div",{className:"block-scenario","data-ba":p.blockScenario,style:v},e.createElement(f.a,g,e.createElement(h.a,this.props)))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:d.a.bool,blockId:d.a.string.isRequired,isLearner:d.a.bool,items:d.a.array.isRequired,lessonId:d.a.string.isRequired,menuOpen:d.a.bool,onStep:d.a.func,onItemUpdate:d.a.func,previewType:d.a.string,settings:d.a.object.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return $e});var r=n(23),i=n(15),o=n(27),a=n.n(o),s=n(18),c=n.n(s),u=n(4),l=n.n(u),d=n(3),f=n.n(d),h=n(9),p=n(10),m=n(8),v=n(5),g=n(6),y=n(11),b=(n(2249),n(177)),_=n.n(b),w=n(16),x=n.n(w),k=n(244),E=n.n(k),S=n(26),T=n.n(S),C=n(127),O=n.n(C),A=n(2),j=n.n(A),N=n(76),M=n.n(N),P=n(7),I=n.n(P),L=n(40),D=n.n(L),R=n(64),F=n(35),B=n.n(F),U=n(89),q=n.n(U),z=n(51),H=n.n(z),W=n(208),V=n.n(W),Y=n(608),G=n.n(Y),K=n(140),$=n.n(K),X=n(70),Q=n.n(X),Z=n(56),J=n.n(Z),ee=n(83),te=n.n(ee),ne=n(60),re=n.n(ne),ie=n(29),oe=n.n(ie),ae=n(32),se=n.n(ae),ce=n(30),ue=n.n(ce),le=n(765),de=n.n(le),fe=n(96),he=n.n(fe),pe=n(160),me=n.n(pe),ve=n(22),ge=n.n(ve),ye=n(84),be=n.n(ye),_e=n(24),we=n.n(_e),xe=n(13),ke=n.n(xe),Ee=n(14),Se=n.n(Ee),Te=n(36),Ce=n.n(Te),Oe=n(1),Ae=n.n(Oe),je=n(115),Ne=n.n(je),Me=n(72),Pe=n.n(Me),Ie=n(69),Le=n.n(Ie),De=n(652),Re=n(52),Fe=n(63),Be=n(34),Ue=n(17),qe=n(38),ze=n(1252),He=n(25),We=function(e){return te()(oe.a,J.a,e)},Ve=M()(re.a),Ye=M()(oe.a),Ge=O()(Ye,Ve),Ke=_()(Ne.a),$e=function(t){function n(e){var t,r,i,o,a,s,c,u,l,d,g,y,b,_,w,x,k,E,S,T,C;Object(h.a)(this,n);return(C=Object(p.a)(this,Object(m.a)(n).call(this,e))).state=e.initialState||{activeScene:0,activeSlide:0,initiated:!1,prevScene:0,prevSlide:0,resizes:0,slides:[]},C.fetchCharacters=f()(t=C.fetchCharacters).call(t,Object(v.a)(C)),C.fetchCharacterPose=f()(r=C.fetchCharacterPose).call(r,Object(v.a)(C)),C.getCharacterPose=f()(i=C.getCharacterPose).call(i,Object(v.a)(C)),C.onClick=f()(o=C.onClick).call(o,Object(v.a)(C)),C.onFocus=f()(a=C.onFocus).call(a,Object(v.a)(C)),C.onInit=f()(s=C.onInit).call(s,Object(v.a)(C)),C.onResize=f()(c=C.onResize).call(c,Object(v.a)(C)),C.onResponseClick=f()(u=C.onResponseClick).call(u,Object(v.a)(C)),C.onTryAgainClick=f()(l=C.onTryAgainClick).call(l,Object(v.a)(C)),C.renderBackground=f()(d=C.renderBackground).call(d,Object(v.a)(C)),C.renderButton=f()(g=C.renderButton).call(g,Object(v.a)(C)),C.renderDetails=f()(y=C.renderDetails).call(y,Object(v.a)(C)),C.renderDialogues=f()(b=C.renderDialogues).call(b,Object(v.a)(C)),C.renderEnd=f()(_=C.renderEnd).call(_,Object(v.a)(C)),C.renderPose=f()(w=C.renderPose).call(w,Object(v.a)(C)),C.renderResponse=f()(x=C.renderResponse).call(x,Object(v.a)(C)),C.renderText=f()(k=C.renderText).call(k,Object(v.a)(C)),C.resetSlide=f()(E=C.resetSlide).call(E,Object(v.a)(C)),C.resetSlides=f()(S=C.resetSlides).call(S,Object(v.a)(C)),C.setNextSlide=f()(T=C.setNextSlide).call(T,Object(v.a)(C)),C}return Object(y.a)(n,t),Object(g.a)(n,null,[{key:"defaultProps",get:function(){return{getCharacter:Function.prototype,onItemUpdate:Function.prototype}}}]),Object(g.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialState,n=e.items,r=I()($()("poses"),Ce()({},"character"),Q.a);Ge(n)&&!r(n)&&this.fetchCharacters(),t||this.resetSlides(),window.addEventListener("resize",this.onResize)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.state,i=r.activeScene,o=r.activeSlide,a=ge()([],[i,"slides"],t),s=ge()(null,[o,"goTo"],a),c=ge()(null,[o,"type"],a);n&&("end"===s&&"text"===c||!s&&!c)&&G()(n,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.continueRef),clearTimeout(this.feedbackRef),clearTimeout(this.resetRef),window.removeEventListener("resize",this.onResize)}},{key:"fetchCharacterPose",value:function(e,t){var n,r=this.props.items[e],i=r.character,o=r.slides[t],a=l()(n="".concat(e,".")).call(n,t),s=[a,"response"],c=[a,"hasFeedback"],u=ge()(null,s,this.state.slides),d=ge()(!1,c,this.state.slides),f=Ce()("neutral","emotion",o),h=te()(x()(d),ge()(f,["responses",u,"emotion"]),x()(f)),p=we()(ge()(null,["poses",h(o)]),We(Re.b));return{name:i.name,pose:p(i)}}},{key:"fetchCharacters",value:function(){var e=this.props,t=e.getCharacter,n=e.items,r=e.onItemUpdate,i=be()(["id","name","poses","src"]);c()(n).call(n,function(e){var n,o=e.character,a=e.id;return Ge(o)&&t(o.id).then(function(e){return T()("poses",Object(ze.a)(e),e)}).then(i).then((n=a,function(e){return r({itemId:n,payload:{character:e}})}))})}},{key:"getCharacterPose",value:function(){var e=this.props.items,t=this.state,n=t.activeScene,r=t.activeSlide,i=t.prevScene,o=t.prevSlide,a=ge()([],[n,"slides"],e),s=ge()(!0,[r,"hasCharacter"],a);return Ye(i)&&he()(s)?this.fetchCharacterPose(i,o):this.fetchCharacterPose(n,r)}},{key:"onClick",value:function(e,t){var n,r=this,i=this.props,o=i.items,s=i.onStep,c=this.state,u=c.activeScene,l=c.activeSlide,d=o[u].slides,h="dialogue"===Ce()(null,"type",d[l]),p=u===o.length-1,m=l===d.length-1,v={activeSlide:l+1},g={activeScene:u+1,activeSlide:0},y={activeSlide:null},b=we()(Object(De.b)(o),function(e){return{activeScene:e.scene,activeSlide:e.slide}}),_=D()([[x()(m&&p),x()(y)],[x()(m&&!p),x()(g)],[Pe.a,x()(v)]]),w=te()(x()(h),x()(y),x()({activeScene:0,activeSlide:0})),k=D()([[B()("slide"),me()(b,[t])],[B()("next"),_],[B()("end"),w]]);this.resetRef=a()(f()(n=this.resetSlide).call(n,this,u,l),500),this.setState({prevScene:u,prevSlide:l}),this.setState(k(e),function(){return r.continueRef=a()(r.setNextSlide,1300)}),"end"===e&&this.resetSlides(),"end"===e&&s&&G()(s,o)}},{key:"onFocus",value:function(){this.refs.scenario.focus()}},{key:"onInit",value:function(){this.setState({initiated:!0})}},{key:"onResize",value:function(){this.setState({resizes:this.state.resizes+1})}},{key:"onResponseClick",value:function(e){var t,n=this,r=this.state,o=r.activeScene,s=r.activeSlide,c=r.slides,u=l()(t="".concat(o,".")).call(t,s),d=T()("response",e),f=T()("hasFeedback",!0),h=q()(Object(i.a)({},"".concat(u),d)),p=q()(Object(i.a)({},"".concat(u),f)),m=I()(p,h);this.setState({slides:h(c)}),this.feedbackRef=a()(function(){return n.setState({slides:m(c)})},1300)}},{key:"onTryAgainClick",value:function(){var e,t=this.state,n=t.activeScene,r=t.activeSlide,o=t.slides,a=l()(e="".concat(n,".")).call(e,r),s=E()({hasFeedback:null,response:null}),c=q()(Object(i.a)({},"".concat(a),s));this.setState({slides:c(o)})}},{key:"render",value:function(){var t,n=this.props,r=n.isPDF,i=n.items,o=n.menuOpen,a=this.state,s=a.activeScene,u=a.activeSlide,l=a.initiated,d=(i[s]||{}).slides,f=d&&d[u],h=I()(Ve,Ce()({},"character"),Q.a),p=I()($()("poses"),Ce()({},"character"),Q.a),m=I()(Le.a,ge()({},["character","poses"])),v=I()(V.a,Le.a,se()(m)),g={"aria-label":"Scenario",className:j()("scenario-block",{"scenario-block--initiated":l,"scenario-block--mobile":Fe.a.isMobile,"scenario-block--sidebar-open":o,"scenario-block--loading":h(i)&&!p(i)}),ref:"scenario",role:"group",style:window.innerWidth<480?{height:window.innerHeight}:null,tabIndex:Ue.a},y=we()(Q.a,ge()(null,["background","media","image"]),We(Re.a)),b=D()([[oe.a,this.renderEnd],[Se()("type","dialogue"),this.renderDialogues],[Se()("type","text"),this.renderText],[Pe.a,x()(null)]]),_=f&&"text"===f.type&&!f.hasCharacter,w=j()("scenario-block__character",{"scenario-block__character--hidden":_});return e.createElement("div",null,e.createElement("div",g,e.createElement("div",{className:"scenario-block__spinner"}),e.createElement("div",{className:"scenario-block__background-wrapper"},Ge(i)&&c()(i).call(i,this.renderBackground)),e.createElement("img",{alt:"",onLoad:this.onInit,src:y(i)}),e.createElement("div",{className:"scenario-block__inner"},e.createElement("div",{className:w},p(i)&&c()(t=v(i)).call(t,this.renderPose)),e.createElement(R.TransitionGroup,null,Ge(i)&&b(f)))),r&&f&&this.renderDetails(f))}},{key:"renderBackground",value:function(t,n){var r=this.state.activeScene,o=t.id,a=ge()(null,["background","media","image"],t),s={className:j()("scenario-block__background",Object(i.a)({},"scenario-block__background--active",r===n)),key:o,style:a&&{backgroundImage:"url(".concat(Object(Re.a)(a),")")}};return a&&e.createElement("div",s)}},{key:"renderButton",value:function(t){var n=this.props.labels,i=n.scenarioContinue,o=n.scenarioTryAgain,a=t.action,s=t.goTo,c=t.nextSlide,u="tryAgain"===a?e.createElement("span",null,o," ",e.createElement("i",{className:"icon icon-reload"})):e.createElement("span",null,i),l={className:"scenario-block__dialogue__button",key:"button",onClick:"tryAgain"===a?I()(this.onFocus,this.onTryAgainClick):I()(this.onFocus,me()(this.onClick,[s,c]))};return e.createElement(R.TransitionGroup,null,e.createElement(R.CSSTransition,{appear:!0,classNames:"scenario-block__dialogue__button-",timeout:{enter:1e3,exit:400}},e.createElement("button",Object(r.a)({},l,{type:"button"}),u)))}},{key:"renderDetails",value:function(t){var n=this.props.items,r=this.state,i=r.activeScene,o=r.activeSlide,a=t.responses,s=t.type,u=function(t,n){return e.createElement("span",{key:t},t," ",e.createElement(Be.h,null)," ",n)},d=we()(Object(De.b)(n),function(e){var t,n=e.scene,r=e.slide;return l()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)}),f=function(e,t){var n=t.goTo,r=t.nextSlide;return D()([[B()("next"),me()(u,[e,"Next Slide"])],[B()("end"),me()(u,[e,"End of Scenario"])],[Pe.a,me()(u,[e,d(r||{})])]])(n)},h="text"===s?f("Continue",t):c()(a).call(a,function(e,t){return f(t,e)});return e.createElement("div",{className:"scenario-block__pdf-details"},e.createElement("h3",null,"Scene ",i+1," Slide ",o+1),h)}},{key:"renderDialogue",value:function(t,n,r){var o,a=n.description,s=n.id,c=n.type,u=t.count,l=t.firstKey,d=t.hasFeedback,f=0===r?s:r,h=1===r?l:r-1,p=0===r&&1===u,m=r===u,v=this.refs["dialogue-".concat(f)],g=m&&this.refs["dialogue-".concat(h)],y=v&&v.offsetHeight,b=m&&g&&g.offsetHeight,_=d?30:0,w=window.innerWidth<480?20:30,k=2*w+60+b-_,E=w+60-_,S=de()(y+_-60),T=j()("scenario-block__dialogue",(o={},Object(i.a)(o,"scenario-block__dialogue--response",oe()(c)),Object(i.a)(o,"scenario-block__dialogue--faded",r<u-1),o)),C=D()([[x()(p),x()(null)],[B()(u),x()({top:"".concat(k,"px")})],[B()(u-1),x()({top:"".concat(E,"px")})],[B()(u-2),x()({top:"".concat(S,"px")})],[Pe.a,x()({top:"-".concat(y+30,"px")})]]),O={className:T,ref:"dialogue-".concat(f),style:C(r)},A={appear:!0,classNames:"scenario-block__dialogue-",key:r,timeout:{enter:700,exit:400}},N=e.createElement("div",{className:"scenario-block__dialogue__bubble brand--body"},e.createElement(qe.a,{value:a}));return e.createElement(R.CSSTransition,A,e.createElement("div",null,e.createElement("div",O,Ge(a)&&N)))}},{key:"renderDialogues",value:function(t){var n,r,i=this.state,o=i.activeScene,a=i.activeSlide,s=i.slides,u=t.id,d=t.responses,h=s[l()(n="".concat(o,".")).call(n,a)]||{},p=I()(V.a,De.a,ue()(h))(t),m=h.hasFeedback,v=h.response,g=(d[v]||{}).feedback,y=oe()(v)&&Ve(d),b=m?p.length-1:p.length,_=(1===b&&re()(d)||2===b&&Ve(d))&&m,w={count:b,firstKey:ge()(null,[0,"id"],p),hasFeedback:m&&Ge(g)},x={classNames:"scenario-block__content-",key:u,timeout:400},k=e.createElement("div",{className:"scenario-block__dialogues__bottom"},e.createElement("div",{className:"scenario-block__dialogues__bottom__inner"},e.createElement("div",{className:"scenario-block__dialogues__responses"},e.createElement(R.TransitionGroup,null,c()(d).call(d,this.renderResponse)))));return e.createElement(R.CSSTransition,x,e.createElement("div",{className:"scenario-block__dialogues scenario-block__content"},e.createElement("div",{className:"scenario-block__dialogues__inner"},e.createElement("div",{className:"scenario-block__dialogues__top"},e.createElement("div",{className:"scenario-block__dialogues__top__inner"},e.createElement(R.TransitionGroup,null,c()(p).call(p,f()(r=this.renderDialogue).call(r,this,w))))),y&&k,_&&this.renderButton(p[b-1]))))}},{key:"renderEnd",value:function(){var t=this.props.labels,n=t.scenarioComplete,r=t.scenarioStartOver,i=I()(this.onFocus,me()(this.onClick,["end",null])),o=j()(["scenario-block__text","scenario-block__text--end","scenario-block__content"]),a={className:"scenario-block__text__end",onClick:i,onKeyDown:Object(He.a)(i),role:"button",tabIndex:Ue.a};return e.createElement(R.CSSTransition,{classNames:"scenario-block__content-",key:"end",timeout:400},e.createElement("div",{className:o,key:"end"},e.createElement("div",{className:"scenario-block__text__inner"},e.createElement("div",{className:"scenario-block__text__title brand--head"},e.createElement("h2",null,n)),e.createElement("div",a,e.createElement("span",null,r),e.createElement("i",{className:"icon icon-reload"})))))}},{key:"renderPose",value:function(t){var n,r=this.getCharacterPose().pose,i=t.filters,o=t.id,a=t&&Object(Re.b)(t),s=O()(Se()("name","style")),c=s(Se()("value","left_aligned")),u=s(Se()("value","right_aligned")),d=j()("scenario-block__character__inner",{"scenario-block__character__inner--active":r===a,"scenario-block__character__inner--right":H()(u,i),"scenario-block__character__inner--left":H()(c,i)});return e.createElement("div",{className:d,key:l()(n="".concat(o,"-")).call(n,Math.random())},e.createElement("img",{alt:"",role:"img",src:a}))}},{key:"renderResponse",value:function(t,n){var r=t.description,i=this.props.isPDF?x()():I()(this.onFocus,me()(this.onResponseClick,[n])),o={className:j()(["scenario-block__response","scenario-block__response--".concat(n),"brand--body"]),onClick:i,onKeyDown:Object(He.a)(i),role:"button",tabIndex:Ue.a},a={appear:!0,classNames:"scenario-block__response-",key:n,timeout:{enter:1600,exit:400}};return e.createElement(R.CSSTransition,a,e.createElement("div",o,e.createElement("div",{className:"scenario-block__response__inner"},e.createElement("div",{className:"scenario-block__response__number"},n+1),e.createElement(qe.a,{value:r}))))}},{key:"renderText",value:function(t){var n=t.description,i=t.goTo,o=t.hasCharacter,a=t.id,s=t.nextSlide,c=t.title,u=this.props.labels,l=u.scenarioContinue,d=u.scenarioStartOver,f=!n&&(c||"").length<22,h=j()("scenario-block__text","scenario-block__content",{"scenario-block__text--no-character":!o,"scenario-block__text--short":f}),p={classNames:"scenario-block__content-",key:a,timeout:400},m=e.createElement("div",{className:"scenario-block__text__title brand--head"},e.createElement("h2",null,e.createElement(qe.a,{value:c}))),v=e.createElement("div",{className:"scenario-block__text__description brand--body"},e.createElement(qe.a,{value:n})),g=I()(this.onFocus,me()(this.onClick,[i,s])),y={className:"scenario-block__text__continue brand--background",onClick:g,onKeyDown:Object(He.a)(g),role:"button",tabIndex:Ue.a},b={className:"scenario-block__text__end",onClick:g,onKeyDown:Object(He.a)(g),role:"button",tabIndex:Ue.a},_=e.createElement("button",Object(r.a)({},y,{type:"button"}),e.createElement("span",null,l)),w=e.createElement("div",b,e.createElement("span",null,d),e.createElement("i",{className:"icon icon-reload"}));return e.createElement(R.CSSTransition,p,e.createElement("div",{className:h,key:a},e.createElement("div",{className:"scenario-block__text__inner"},c&&m,n&&v,"end"===i?w:_)))}},{key:"resetSlide",value:function(e,t){var n,r=this.state.slides,i=l()(n="".concat(e,".")).call(n,t);this.setState({slides:T()(i,{hasFeedback:!1,response:null},r)})}},{key:"resetSlides",value:function(){var e=this.props.items;this.setState({slides:Ke(function(e,t,n){return we()(ke()("slides"),Ke((r=n,function(e,t,n){var i;return T()(l()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),E()(e))(t);var r},{},e)})}},{key:"setNextSlide",value:function(){var e,t=this.props.items,n=this.state,r=n.activeScene,o=n.activeSlide,a=n.slides,s=t[r].slides[o]||{},c=s.responses,u=void 0===c?[]:c,d=s.type,f=l()(e="".concat(r,".")).call(e,o),h=T()("hasFeedback",!0),p=q()(Object(i.a)({},f,h));"dialogue"===d&&re()(u)&&this.setState({slides:p(a)})}},{key:"shouldComponentUpdate",value:function(e,t){return e.items!==this.props.items||e.menuOpen!==this.props.menuOpen||t.activeScene!==this.state.activeScene||t.activeSlide!==this.state.activeSlide||t.initiated!==this.state.initiated||t.resizes!==this.state.resizes||t.slides!==this.state.slides}}],[{key:"propTypes",get:function(){return{items:Ae.a.array.isRequired,labels:Ae.a.object.isRequired,menuOpen:Ae.a.bool,onItemUpdate:Ae.a.func,onStep:Ae.a.func}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return I});var r=n(26),i=n.n(r),o=n(76),a=n.n(o),s=n(7),c=n.n(s),u=n(44),l=n.n(u),d=n(51),f=n.n(d),h=n(329),p=n.n(h),m=n(60),v=n.n(m),g=n(32),y=n.n(g),b=n(116),_=n.n(b),w=n(24),x=n.n(w),k=n(13),E=n.n(k),S=n(14),T=n.n(S),C=n(470),O=n.n(C),A=n(331),j=n.n(A),N=x()(E()("filters"),l()(T()("name","rise_emotion")),a()(v.a)),M=x()(E()("filters"),f()(T()("name","rise_emotion")),E()("value")),P=c()(O.a,E()("pathname"),j.a.parse),I=x()(E()("poses"),l()(N),y()(function(e){return[M(e),e]}),p.a,_()(function(e){return x()(i()("key",P(e.src)),i()("thumbnailKey",P(e.thumbnail)))(e)}))},function(e,t,n){"use strict";(function(e){n(2250);var r=n(22),i=n.n(r),o=n(13),a=n.n(o),s=n(159),c=n(402),u=n(55),l=n(624),d=n(33),f=n(306),h=function(e){var t=e.blockId,n=e.lessonId;return function(e){var r=e.itemId,i=e.isCorrect;return Object(d.a)(Object(f.d)({itemId:r,lessonId:n,blockId:t,isCorrect:i}))}},p=function(e){var t=e.blockId,n=e.lessonId;return function(){return Object(d.a)(Object(f.b)({lessonId:n,blockId:t}))}};t.a=function(t){var n=t.animateBlockEntrance,r=t.blockId,o=t.items,d=t.labels,f=t.piles,m=t.progress,v=t.settings,g=a()("backgroundColor",v),y=Object(s.a)(g),b=t.onCardDrop||h,_=t.onReplay||p;return e.createElement(c.a,{settings:v,type:"sorting-activity"},e.createElement(u.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:!0},e.createElement(l.a,{hasDarkBackground:y,id:r,items:o,labels:d,onCardDrop:b(t),onReplay:_(t),piles:f,progress:i()({},["items",r],m)})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return C});var r=n(18),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=n(4),d=n.n(l),f=(n(2252),n(2)),h=n.n(f),p=n(70),m=n.n(p),v=n(160),g=n.n(v),y=n(14),b=n.n(y),_=n(36),w=n.n(_),x=n(625),k=n(403),E=function(e){return h()("deck",{"deck--complete":b()("percentViewed",100,e)})},S=function(e){var t=e.item,n=e.progress;return b()("lastIncorrectCardId",String(t.id),n)},T=b()("percentViewed",100),C=function(t){function n(e){var t;return Object(o.a)(this,n),(t=Object(s.a)(this,Object(c.a)(n).call(this,e))).cardRefs=[],t}return Object(u.a)(n,t),Object(a.a)(n,[{key:"startKeyDrop",value:function(){var e=m()(this.cardRefs);e&&e.onStartSortAttempt()}},{key:"endKeyDrop",value:function(){var e=m()(this.cardRefs);e&&e.onEndSortAttempt()}},{key:"render",value:function(){var t=this,n=this.props,r=n.count,o=n.items,a=n.labels,s=n.id,c=n.progress,u=n.onReplay,l=T(c);return e.createElement("div",{className:E(c)},e.createElement("div",{className:"deck__spacer"}),e.createElement("div",{"aria-hidden":!l,className:"deck__cardholder"},e.createElement("div",{className:"deck__title brand--ui"},function(e){var t,n=e.progress,r=e.count;return d()(t="".concat(w()(0,"correctlyAnswered",n),"/")).call(t,r)}({progress:c,count:r})," ",a.sortingCardsCorrect),e.createElement(k.a,{allowTabNavigation:l,onClick:g()(u,[s]),text:a.sortingReplay})),e.createElement("div",{className:"deck__content"},i()(o).call(o,function(n,r){return e.createElement(x.a,{id:n.id,isDeckTopCard:t.cardRefs[r]===m()(t.cardRefs),isIncorrect:S({item:n,progress:c}),key:n.id,ref:function(e){t.cardRefs[r]=e},title:n.title})})))}}]),n}(e.Component);C.defaultProps={onReplay:Function.prototype}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return S});var r=n(27),i=n.n(r),o=n(3),a=n.n(o),s=n(9),c=n(10),u=n(8),l=n(5),d=n(6),f=n(11),h=(n(2255),n(2)),p=n.n(h),m=n(40),v=n.n(m),g=n(246),y=n(1),b=n.n(y),_=n(17),w=n(625),x=n(38),k=n(25),E=n(104),S=function(t){function n(e){var t,r,i,o,d;return Object(s.a)(this,n),(d=Object(c.a)(this,Object(u.a)(n).call(this,e))).state={isSuccess:!1,showFocusOutline:!0},d.handleDragEnter=a()(t=d.handleDragEnter).call(t,Object(l.a)(d)),d.handleDragLeave=a()(r=d.handleDragLeave).call(r,Object(l.a)(d)),d.handleMouseDrop=a()(i=d.handleMouseDrop).call(i,Object(l.a)(d)),d.handleKeyboardDrop=a()(o=d.handleKeyboardDrop).call(o,Object(l.a)(d)),d}return Object(f.a)(n,t),Object(d.a)(n,null,[{key:"propTypes",get:function(){return{id:b.a.any.isRequired,lessonId:b.a.any.isRequired,onCardDrop:b.a.func.isRequired,title:b.a.string}}},{key:"defaultProps",get:function(){return{onCardDrop:Function.prototype}}}]),Object(d.a)(n,[{key:"focus",value:function(){this.pileContent.focus()}},{key:"componentDidMount",value:function(){Object(g.a)(this.pile).dropzone({overlap:"pointer"}).on("dragenter",this.handleDragEnter).on("dragleave",this.handleDragLeave).on("drop",this.handleMouseDrop)}},{key:"componentWillUnmount",value:function(){Object(g.a)(this.pile).off("dragenter",this.handleDragEnter).off("dragleave",this.handleDragLeave).off("drop",this.handleMouseDrop),clearTimeout(this.successTimer),clearTimeout(this.focusOutlineTimer)}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.onNavigateToNext,r=t.onNavigateToPrevious,i=Object(E.a)(this.handleKeyboardDrop),o=Object(E.a)(r),a=Object(E.a)(n);v()([[k.e,i],[k.g,o],[k.i,a]])(e)}},{key:"onKeyUp",value:function(e){Object(k.e)(e)&&this.props.onKeyDropEnd()}},{key:"handleDragEnter",value:function(e){var t=g.a.getElementRect(e.target),n={x:t.left+t.width/2,y:t.top+t.height/2};e.draggable.draggable({snap:{targets:[n]}})}},{key:"handleDragLeave",value:function(e){e.draggable.draggable({snap:{targets:[function(e,t){return{x:e,y:t}}]}})}},{key:"handleMouseDrop",value:function(e){e.draggable.draggable({snap:{targets:[function(e,t){return{x:e,y:t}}]}}),this.handleDrop()}},{key:"handleKeyboardDrop",value:function(){var e=this.props,t=e.deckTopCard,n=e.onKeyDropStart;t&&(n(),this.handleDrop())}},{key:"handleDrop",value:function(){var e,t,n=this.props,r=n.lessonId,o=n.id,s=n.deckTopCard,c=n.onCardDrop,u=s.id.toString(),l=s.pileId===o;(c({id:r,itemId:u,isCorrect:l}),l)&&(this.setState({activeCard:s,isSuccess:!0,showFocusOutline:!1}),this.successTimer=i()(a()(e=function(){this.setState({activeCard:null,isSuccess:!1})}).call(e,this),1500),this.focusOutlineTimer=i()(a()(t=function(){this.setState({showFocusOutline:!0})}).call(t,this),1300))}},{key:"render",value:function(){var t,n,r=this,i=this.props.title,o=this.state,s=o.activeCard,c=o.isSuccess,u=o.showFocusOutline,l=p()("pile",{"drop-success":c}),d=p()("pile__content",{"drop-animating":!u});return e.createElement("div",{className:l,ref:function(e){return r.pile=e}},e.createElement("div",{className:"pile__wrapwrap"},e.createElement("div",{className:"pile__wrap"},e.createElement("div",{className:"pile__message"},e.createElement(x.a,{className:"pile__title brand--head",value:i})),e.createElement("div",{className:d,onKeyDown:a()(t=this.onKeyDown).call(t,this),onKeyUp:a()(n=this.onKeyUp).call(n,this),ref:function(e){return r.pileContent=e},tabIndex:_.a},s&&e.createElement(w.a,{id:s.id,title:s.title})),e.createElement("div",{className:"pile__background"}))))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2256);var r=n(22),i=n.n(r),o=n(13),a=n.n(o),s=n(159),c=n(402),u=n(55),l=n(626),d=function(t){var n=t.animateBlockEntrance,r=t.blockId,o=t.enableVideoPlaybackSpeed,d=t.isLearner,f=t.items,h=t.labels,p=t.progress,m=t.settings,v=a()("backgroundColor",m),g=Object(s.a)(v);return e.createElement(c.a,{settings:m,type:"timeline"},e.createElement(u.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:!0},e.createElement(l.a,{enableVideoPlaybackSpeed:o,hasDarkBackground:g,id:r,isBlock:!0,isLearner:d,items:f,labels:h,progress:i()({},["items",r],p)})))};d.defaultProps={isLearner:!0},t.a=d}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=(n(2260),n(26)),u=n.n(c),l=n(2),d=n.n(l),f=n(116),h=n.n(f),p=n(84),m=n.n(p),v=n(36),g=n.n(v),y=n(1),b=n.n(y),_=n(17),w=n(245),x=n(107),k=n(1258),E=n(38),S=n(209),T=function(t){function n(){return Object(r.a)(this,n),Object(o.a)(this,Object(a.a)(n).apply(this,arguments))}return Object(s.a)(n,t),Object(i.a)(n,[{key:"renderMedia",value:function(t,n){if(Object(k.a)(t)){var r=t.embed?Object(w.b)(t.embed):void 0,i=d()({"timeline-card__audio":t.audio,"timeline-card__visual":t.image||t.video,"timeline-card__linkEmbed":"link"===r,"timeline-card__videoEmbed":"video"===r}),o=h()(u()("pause",!0),t);return e.createElement("div",{className:i},e.createElement(S.a,{enableVideoPlaybackSpeed:this.props.enableVideoPlaybackSpeed,index:"".concat(this.props.item.id),labels:this.props.labels,opts:n,media:o,lessonNumber:this.props.lessonNumber}))}}},{key:"render",value:function(){var t=this.props,n=t.item,r=t.isActive,i=t.labels,o=t.loadMedia,a=t.onFocus,s=n.id,c=n.settings,u=g()({},"media",n),l=m()(["audio"],u),f=m()(["embed"],u),h=m()(["image","video"],u),p=d()("timeline-card",{"timeline-card--active":r});return e.createElement("div",{className:p,"data-id":s,ref:this.props.innerRef},e.createElement("div",{"aria-label":C(n,i),className:"timeline-card__body brand--beforeBackground",onFocus:a,role:x.b,tabIndex:_.a},e.createElement("div",{className:"timeline-card__main-wrap"},e.createElement("div",{className:"timeline-card__main"},e.createElement("div",{className:"timeline-card__date brand--color brand--body"},e.createElement("h2",null,n.date)),e.createElement("div",{className:"timeline-card__title brand--head"},e.createElement("h3",null,e.createElement(E.a,{value:n.title}))),o?this.renderMedia(l,c):null,o?this.renderMedia(f,c):null,e.createElement(E.a,{className:"timeline-card__description brand--body brand--linkColor",value:n.description}),o?this.renderMedia(h):null))))}}],[{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:b.a.bool,isActive:b.a.bool.isRequired,item:b.a.object.isRequired,labels:b.a.object.isRequired,loadMedia:b.a.bool.isRequired,onFocus:b.a.func.isRequired}}}]),n}(e.Component),C=function(e,t){var n=t.timelineCardGroupPrefix;return e.title||e.date?n+" - "+(e.date||e.title):n}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r=n(7),i=n.n(r),o=n(79),a=n.n(o),s=n(329),c=n.n(s),u=n(82),l=n.n(u),d=n(45),f=n.n(d),h=n(32),p=n.n(h),m=n(24),v=n.n(m),g=(n(13),n(240)),y=n.n(g),b=(n(69),a()(function(e,t){return v()(y.a,p()(e),c.a)(t)}),i()(f.a,l.a))},function(e,t,n){var r=n(2394),i=n(2396)(function(e,t,n){r(e,n,t)});e.exports=i},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(255)},function(e,t,n){var r=n(567),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},function(e,t,n){"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],c=a.slice(i,s),u="function"==typeof t?t.apply(null,e):t;r.push(c,u),i=s+o.length}),r.push(n.slice(i)),r}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return h});var r=n(3),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=n(1),d=n.n(l),f=n(632),h=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t;return e.createElement(f.a,{onViewed:i()(t=this.handleViewed).call(t,this,this.props.children.props),isFirstLesson:this.props.isFirstLesson},this.modifiedChildren())}},{key:"modifiedChildren",value:function(){var t;return e.cloneElement(e.Children.only(this.props.children),{onStep:i()(t=this.handleStep).call(t,this)})}},{key:"handleStep",value:function(e){var t=e.id;e.isDone||this.props.onStep(t)}},{key:"handleViewed",value:function(e){e.requiresInteraction?(/tabs|carousel/.test(e.variant)||/gallery/.test(e.family))&&this.handleStep(e.items[0]):this.props.onViewed()}}]),n}(e.Component);d.a.arrayOf,d.a.func,d.a.node,d.a.oneOfType}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(1265),i=n(80);t.a=function(t){var n=t.data,o=n.id,a=n.items,s=n.type,c=t.labels,u=t.lessonHeader,l=t.lessonProgress,d=t.menuButtons,f=t.nextComponent,h=t.previousComponent;return e.createElement(i.c,{type:s},h,e.createElement(i.b,{type:s},d,u,e.createElement(i.a,null,e.createElement(r.a,{id:o,items:a,labels:c,lessonProgress:l}))),f)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return y});var r=n(27),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=(n(2430),n(28)),d=n.n(l),f=n(1),h=n.n(f),p=n(33),m=n(245),v=n(493),g=n(398),y=function(t){function n(e){var t;return Object(o.a)(this,n),(t=Object(s.a)(this,Object(c.a)(n).call(this,e))).type=Object(m.a)(e.items),t.state={isLoaded:"video"!==t.type},t}return Object(u.a)(n,t),Object(a.a)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.id;"video"===this.type&&i()(function(){e.setState({isLoaded:!0})},800),Object(p.a)(Object(v.c)(t))}},{key:"render",value:function(){if(!this.state.isLoaded)return null;var t=this.props,n=t.id,r=t.items,i=t.labels,o=d()([0,"media","embed"],r),a=d()([0,"settings","showMetaData"],r);return e.createElement("section",{"aria-label":"URL/Embed Content",className:"embed-lesson"},e.createElement("div",{className:"embed-lesson__item",key:n},e.createElement("div",{className:"embed-lesson__row"},e.createElement("div",{className:"embed-lesson__main"},e.createElement(g.a,{data:o,isLesson:!0,labels:i,showMetaData:a})))))}}]),n}(e.Component);h.a.any,h.a.array,h.a.object}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return _});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=n(18),u=n.n(c),l=n(4),d=n.n(l),f=(n(2431),n(1)),h=n.n(f),p=n(39),m=n(268),v=n(38),g=n(336),y=n(52),b=function(t){var n,r,i,o,a=t.authorName,s=t.avatar,c=t.children,l=t.description,f=t.labels,h=t.lessonNumber,g=t.partnerContentAuthors,b=t.showLessonCount,_=t.title,w=t.totalLessons,x=f.lessonName,k=f.lessonPreposition,E=function(e){return"url(".concat(Object(y.f)({width:"76",height:"76",imageKey:e.image}),")")},S=b&&e.createElement("div",{className:"lesson-header__count"},d()(n=d()(r=d()(i="".concat(x," ")).call(i,h," ")).call(r,k," ")).call(n,w));return e.createElement("div",{className:"lesson-header"},e.createElement("div",{className:"lesson-header__top-wrap brand--afterBackground"},e.createElement(v.a,{className:"lesson-header__title brand--lhead",tagName:"h1",value:_}),g&&e.createElement("div",{className:"lesson-header__partner-content"},u()(g).call(g,function(t){return e.createElement("div",{key:t.name,className:"lesson-header__partner-content-author"},e.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:E(t)}}),e.createElement("div",null,e.createElement("span",{className:"visually-hidden"},"by ",t.name),e.createElement("span",{"aria-hidden":"true"},t.name)))})),s&&a&&!g?e.createElement("div",{className:"lesson-header__author brand--ui"},e.createElement("img",{className:"lesson-header__author-img",src:Object(p.p)("".concat(s)),alt:""}),e.createElement("span",{className:"visually-hidden"},"by ",a),e.createElement("span",{"aria-hidden":"true"},a)):null,e.createElement("div",{className:"lesson-header__counter brand--body brand--linkColor"},S)),u()(o=e.Children).call(o,c,function(t){return t&&t.type===m.a?e.createElement("div",{className:"lesson-header__audio"},t):null}),e.createElement(v.a,{className:"lesson-header__description brand--lbody brand--linkColor",value:l}))},_=function(t){function n(){return Object(r.a)(this,n),Object(o.a)(this,Object(a.a)(n).apply(this,arguments))}return Object(s.a)(n,t),Object(i.a)(n,[{key:"render",value:function(){var t,n=this.props,r=n.children,i=n.labels.lessonHeaderLandmark;return e.createElement("section",{className:"page__header","aria-label":i},e.createElement("div",{className:"page__header-limit"},e.createElement("div",{className:"page__header-container"},e.createElement("div",{className:"lesson-header__row"},e.createElement("div",{className:"lesson-header__main"},e.createElement(b,this.props)))),u()(t=e.Children).call(t,r,function(e){return e&&e.type!==g.a?null:e})))}}],[{key:"propTypes",get:function(){return{authorName:h.a.string,avatar:h.a.string,description:h.a.string,showLessonCount:h.a.bool,steps:h.a.number,title:h.a.string.isRequired,type:h.a.string.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(1268),i=n(80);t.a=function(t){var n=t.labels,o=t.lessonHeader,a=t.lessonProgress,s=t.menuButtons,c=t.nextComponent,u=t.previousComponent,l=t.data,d=l.id,f=l.items,h=l.media,p=l.type;return e.createElement(i.c,{type:p},u,e.createElement(i.b,{type:p},s,o,e.createElement(i.a,null,e.createElement(r.a,{id:d,items:f,labels:n,lessonProgress:a,image:h.image}))),c)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return y});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(8),c=n(5),u=n(6),l=n(11),d=(n(2433),n(2)),f=n.n(d),h=n(33),p=n(1),m=n.n(p),v=n(623),g=n(494),y=function(t){function n(e){var t,r;return Object(o.a)(this,n),(r=Object(a.a)(this,Object(s.a)(n).call(this,e))).onItemSelected=i()(t=r.onItemSelected).call(t,Object(c.a)(r)),r}return Object(l.a)(n,t),Object(u.a)(n,null,[{key:"propTypes",get:function(){return{accentColor:m.a.string,id:m.a.any.isRequired,image:m.a.object,items:m.a.array.isRequired,labels:m.a.object,lessonProgress:m.a.object,readOnly:m.a.bool}}}]),Object(u.a)(n,[{key:"render",value:function(){var t=this.props,n=t.accentColor,r=t.id,i=t.image,o=void 0===i?{}:i,a=t.items,s=t.isPreview,c=t.labels,u=t.lessonProgress,l=t.readOnly,d=f()("page__content-container","labeled-graphic-lesson-content-container"),h={accentColor:n,animateBlockEntrance:!1,editable:!1,items:a,isPreview:s,isLearner:!0,labels:c,media:{image:o},onItemSelected:l?void 0:this.onItemSelected,parentId:r,progress:u};return e.createElement("section",{"aria-label":"Labeled Graphic Content",className:"page__content"},e.createElement("div",{className:d},e.createElement(v.a,h)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;Object(h.a)(Object(g.a)({id:t,itemId:e}))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(80),i=n(1270),o=n(336),a=n(404),s=Object(a.a)(i.a);t.a=function(t){var n=t.authorName,i=t.avatar,a=t.data,c=a.description,u=a.id,l=a.items,d=a.title,f=a.type,h=t.labels,p=t.lessonNumber,m=t.lessonProgress,v=t.loadMedia,g=t.menuButtons,y=t.menuOpen,b=t.mobileMenuOpen,_=t.nextComponent,w=t.prefersKeyboardNavigation,x=t.previousComponent,k=t.showLessonCount,E=t.totalLessons;return e.createElement(r.c,{type:f},x,e.createElement(r.b,{type:f},g,e.createElement(r.a,{type:f,items:l},e.createElement(o.b,{id:u,items:l,lessonProgress:m,menuOpen:y,mobileMenuOpen:b,type:"process"}),e.createElement(s,{authorName:n,avatar:i,description:c,id:u,items:l,labels:h,loadMedia:v,lessonNumber:p,lessonProgress:m,menuOpen:y,mobileMenuOpen:b,nextComponent:_,prefersKeyboardNavigation:w,previousComponent:x,showLessonCount:k,title:d,totalLessons:E,type:f}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ie});var r=n(27),i=n.n(r),o=n(18),a=n.n(o),s=n(3),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(5),p=n(11),m=(n(2436),n(2)),v=n.n(m),g=n(40),y=n.n(g),b=n(193),_=n.n(b),w=n(88),x=n.n(w),k=n(96),E=n.n(k),S=n(28),T=n.n(S),C=n(22),O=n.n(C),A=n(401),j=n.n(A),N=n(13),M=n.n(N),P=n(14),I=n.n(P),L=n(36),D=n.n(L),R=n(78),F=n.n(R),B=n(1),U=n.n(B),q=n(128),z=n.n(q),H=n(33),W=n(211),V=n(25),Y=n(17),G=n(63),K=n(797),$=n(43),X=n(1271),Q=n(1272),Z=n(1273),J=n(334),ee=n(368),te=Object(W.a)(".next-lesson__link"),ne=Object(W.a)(".restart-button"),re=O()(0,["lessonProgress","activeIndex"]),ie=function(t){function n(e){var t,r,i,o,a,s,l,p,m,v;return Object(u.a)(this,n),(v=Object(d.a)(this,Object(f.a)(n).call(this,e))).state={xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null,resetContentFocus:!1,isTransitioning:!1},v.handleKeyDown=c()(t=v.handleKeyDown).call(t,Object(h.a)(v)),v.handleReplay=c()(r=v.handleReplay).call(r,Object(h.a)(v)),v.handleScroll=c()(i=v.handleScroll).call(i,Object(h.a)(v)),v.leftSwipe=c()(o=v.nextSlide).call(o,Object(h.a)(v)),v.nextSlide=c()(a=v.nextSlide).call(a,Object(h.a)(v)),v.previousSlide=c()(s=v.previousSlide).call(s,Object(h.a)(v)),v.renderItem=c()(l=v.renderItem).call(l,Object(h.a)(v)),v.rightSwipe=c()(p=v.previousSlide).call(p,Object(h.a)(v)),v.handleAnimationEnd=c()(m=v.handleAnimationEnd).call(m,Object(h.a)(v)),v}return Object(p.a)(n,t),Object(l.a)(n,[{key:"handleScroll",value:function(){var e=window.pageYOffset,t=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(window.matchMedia("(min-width: 768px)").matches){var n=t/2+e-50;this.previousContainer.style.transform="translate3d(-50px, ".concat(n,"px, 0)"),this.nextContainer.style.transform="translate3d(50px, ".concat(n,"px, 0)")}else{this.previousContainer.style.transform="none",this.nextContainer.style.transform="none";var r=t+e-(G.a.isIphoneSafari?94:50);this.controls.style.transform="translate3d(0, ".concat(r,"px, 0)")}}},{key:"componentDidMount",value:function(){var e=this.controlsContainer;this.swipeEvents=Object(J.a)(e,this,this.leftSwipe,this.rightSwipe),this.swipeEvents.addListeners(),document.addEventListener("keydown",this.handleKeyDown),G.a.isSafari9&&(this.scrollRef=z()(this.handleScroll,10),window.addEventListener("scroll",this.scrollRef),this.handleScroll()),this.preventFocusOnOverflowElements(),this.controlsContainer.addEventListener("animationend",this.handleAnimationEnd)}},{key:"componentWillUnmount",value:function(){this.swipeEvents.removeListeners(),document.removeEventListener("keydown",this.handleKeyDown),G.a.isSafari9&&window.removeEventListener("scroll",this.scrollRef),this.controlsContainer.removeEventListener("animationend",this.handleAnimationEnd)}},{key:"componentDidUpdate",value:function(e){this.handleSlideScroll(e)}},{key:"render",value:function(){var t,n=this,r=this.isAtStart(),i=this.isAtEnd(),o=this.props.labels.processLandmark;return e.createElement("section",{"aria-label":o,className:this.getClassName({isAtStart:r,isAtEnd:i}),ref:function(e){n.controlsContainer=e}},this.renderControls({isAtStart:r,isAtEnd:i}),e.createElement("div",{className:"process__wrap"},this.renderStart(),a()(t=this.props.items).call(t,this.renderItem),this.renderEnd()))}},{key:"renderControls",value:function(t){var n=this,r=t.isAtStart,i=t.isAtEnd,o=this.props,a=o.applySafariLandscapeHack,s=o.labels,c=o.safariLandscapeHackOffset,u=this.getControlsClassName({isAtStart:r,isAtEnd:i}),l=a?{bottom:c}:{},d=this.state.isTransitioning;return e.createElement(j.a,null,e.createElement("div",{className:this.getMenuClassName()},e.createElement("div",{ref:function(e){n.controls=e},className:u,style:l},e.createElement("div",{ref:function(e){n.nextContainer=e}},e.createElement(K.a,{allowTabNavigation:!i,atStart:r,labels:s,onClick:this.nextSlide,ref:function(e){n.nextControl=e},isTransitioning:d,type:"next"})),e.createElement("div",{ref:function(e){n.previousContainer=e}},e.createElement(K.a,{allowTabNavigation:!r,atStart:r,labels:s,onClick:this.previousSlide,ref:function(e){n.previousControl=e},isTransitioning:d,type:"previous"})))))}},{key:"renderStart",value:function(){var t=this,n=this.props,r=n.authorName,i=n.avatar,o=n.description,a=n.items,s=n.labels,c=n.lessonNumber,u=n.showLessonCount,l=n.title,d=n.totalLessons,f=n.type,h=this.isAtStart();return e.createElement("div",{"aria-hidden":!h,className:this.getItemClassName(0),ref:function(e){t["item-".concat(0)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement(Z.a,{allowTabNavigation:h,authorName:r,avatar:i,description:o,labels:s,lessonNumber:c,onFullScreenChange:this.handleFullScreenChange,showLessonCount:u,steps:a.length,title:l,totalLessons:d,type:f})))}},{key:"renderItem",value:function(t,n){var r=this,i=this.props,o=i.items,a=i.labels,s=i.loadMedia,c=i.lessonNumber,u=x()(n),l=re(this.props),d=u===l;return e.createElement("div",{"aria-hidden":!d,className:this.getItemClassName(u),key:"item-".concat(t.id),ref:function(e){r["item-".concat(u)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement(X.a,{allowTabNavigation:d,description:t.description,id:t.id,index:u,key:t.id,labels:a,lessonNumber:c,loadMedia:s,media:t.media,onFullScreenChange:this.handleFullScreenChange,settings:t.settings,steps:o.length,title:t.title})))}},{key:"renderEnd",value:function(){var t=this,n=this.props,r=n.applySafariLandscapeHack,i=n.items,o=n.labels,a=n.lessonNumber,s=n.nextComponent,c=x()(i.length);return e.createElement("div",{"aria-hidden":!this.isAtEnd(),className:this.getItemClassName(c),ref:function(e){t["item-".concat(c)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement(Q.a,{applySafariLandscapeHack:r,current:a,labels:o,onReplay:this.handleReplay},s)))}},{key:"preventFocusOnOverflowElements",value:function(){var e=Object(Y.m)(this.isAtEnd());Object(Y.j)(te(),e),Object(Y.j)(ne(),e)}},{key:"focusNextElement",value:function(){var e=this.nextControl,t=this.previousControl;if(this.isAtEnd()){var n=te();n?n.focus():t.focus()}else this.isAtStart()&&e.focus()}},{key:"updateFocusForActiveCard",value:function(){!Object(Y.c)(this["item-".concat(re(this.props))])&&this.isAtStart()&&this.focusNextElement()}},{key:"handleAnimationEnd",value:function(e){var t=e.animationName,n=F()(t,["showcard","showcardUp"]);(this.state.isTransitioning&&this.setState({isTransitioning:!1}),n&&this.state.resetContentFocus)?(this.props.prefersKeyboardNavigation&&this.updateFocusForActiveCard(),this.setState({resetContentFocus:!1})):"showFoot"===t&&this.focusNextElement()}},{key:"getClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return v()("process",{"process--reverse-animation":"backwards"===this.props.lessonProgress.direction,"process--at-start":t,"process--at-end":n})}},{key:"getControlsClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return v()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=re(this.props);return v()("process__item",{"process__item--active":e===t,"process__item--done":e<t,"process__item--next":_()(e)===t})}},{key:"getMenuClassName",value:function(){var e=this.props,t=e.menuOpen,n=e.mobileMenuOpen,r=!!document.querySelector(".lesson--preview");return v()("lesson-controls-wrapper",{"lesson--open":t&&!r,"lesson--open-mobile":n&&!r})}},{key:"previousSlide",value:function(){if(!this.isAtStart()){this.slidePrep();var e=this.props,t=e.id,n=e.lessonProgress,r=Math.max(0,_()(D()(0,"activeIndex",n)));this.setState({resetContentFocus:!0}),Object(H.a)(Object(ee.e)({activeIndex:r,id:t}))}}},{key:"nextSlide",value:function(){if(!this.isAtEnd()){this.isAtStart()&&this.setState({isTransitioning:!0}),this.slidePrep();var e=this.props,t=e.id,n=e.items,r=e.lessonProgress,i=Math.max(0,x()(D()(0,"activeIndex",r))),o=T()([_()(i),"id"],n);this.setState({resetContentFocus:!0}),Object(H.a)(Object(ee.d)({activeIndex:i,id:t,itemId:o}))}}},{key:"handleKeyDown",value:function(e){y()([[V.g,this.previousSlide],[V.i,this.nextSlide]])(e)}},{key:"slidePrep",value:function(){$.a.pause(),this.setState({xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null})}},{key:"handleReplay",value:function(){Object(H.a)(Object(ee.b)({id:this.props.id}))}},{key:"handleFullScreenChange",value:function(){var e=document.querySelector(".process__item--active");document.webkitFullscreenElement?e.style.animationDuration="0s":i()(function(){e.style.animationDuration=""},750)}},{key:"handleSlideScroll",value:function(e){var t=O()(0,["lessonProgress","activeIndex"],e);if(t!==O()(0,["lessonProgress","activeIndex"],this.props)){var n=document.querySelector(".page-wrap"),r=n.scrollTop,i=this.props.previousComponent?70:0;this["item-".concat(t)].scrollTop=r-i,n.scrollTop=i,this.preventFocusOnOverflowElements()}}},{key:"isAtStart",value:function(){return E()(M()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return I()("activeIndex",x()(t.length),n)}}],[{key:"propTypes",get:function(){return{authorName:U.a.string.isRequired,avatar:U.a.string.isRequired,description:U.a.string.isRequired,id:U.a.any.isRequired,items:U.a.array.isRequired,labels:U.a.object.isRequired,lessonNumber:U.a.number.isRequired,lessonProgress:U.a.object.isRequired,loadMedia:U.a.bool.isRequired,menuOpen:U.a.bool.isRequired,mobileMenuOpen:U.a.bool.isRequired,nextComponent:U.a.object,previousComponent:U.a.object,title:U.a.string.isRequired,totalLessons:U.a.number.isRequired,type:U.a.string.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(9),i=n(6),o=n(10),a=n(8),s=n(11),c=(n(2437),n(1)),u=n.n(c),l=n(209),d=n(38),f=function(t){var n=t.processStepName,r=t.index,i=t.processStepPreposition,o=t.steps;return e.createElement("div",{className:"card__side"},e.createElement("div",{className:"card__step-label brand--background brand--body"},n," ",r," ",i," ",o))},h=function(t){var n=t.allowTabNavigation,r=t.description,i=t.index,o=t.labels,a=t.loadMedia,s=t.media,c=t.onFullScreenChange,u=t.settings,f=t.title,h=t.lessonNumber;return e.createElement("div",{className:"card__main"},e.createElement(d.a,{className:"card__title brand-afterBackground brand--lhead",tagName:"h1",value:f}),e.createElement("div",{className:"card__media"},a?e.createElement(l.a,{index:"".concat(i),labels:o,media:s,opts:u,onFullScreenChange:c,allowTabNavigation:n,lessonNumber:h}):null),e.createElement(d.a,{className:"card__description brand--lbody brand--linkColor",value:r,allowTabNavigation:n}))},p=function(t){function n(){return Object(r.a)(this,n),Object(o.a)(this,Object(a.a)(n).apply(this,arguments))}return Object(s.a)(n,t),Object(i.a)(n,[{key:"render",value:function(){var t=this.props,n=t.index,r=t.labels,i=t.steps,o=r.processStepName,a=r.processStepPreposition;return e.createElement("div",{className:"card"},e.createElement("div",{className:"card__container"},e.createElement("div",{className:"card__row"},e.createElement(f,{processStepName:o,index:n,processStepPreposition:a,steps:i}),e.createElement(h,this.props))))}}],[{key:"defaultProps",get:function(){return{settings:{}}}},{key:"propTypes",get:function(){return{onClick:u.a.func,mediaSrc:u.a.string,mediaType:u.a.string,index:u.a.number.isRequired,title:u.a.string,description:u.a.string,loadMedia:u.a.bool.isRequired,allowTabNavigation:u.a.bool.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(4),i=n.n(r),o=(n(2438),n(403)),a=n(2),s=n.n(a),c=function(e){var t,n,r=e.current,o=e.labels,a=o.processComplete,s=o.processLessonName;return i()(t=i()(n="".concat(s," ")).call(n,r," ")).call(t,a)};t.a=function(t){var n=t.applySafariLandscapeHack,r=t.children,i=t.current,a=t.labels,u=t.onReplay,l=s()("process-end__footer",{"process-end__footer--mobile-safari-landscape":n});return e.createElement("div",{className:"process-end"},e.createElement("div",{className:"process-end__container"},e.createElement("div",{className:"process-end__message"},e.createElement("h1",{className:"process-end__text brand--ui"},c({current:i,labels:a})))),e.createElement(o.a,{onClick:u,text:a.processStartAgain}),e.createElement("div",{className:l},r))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return g});var r=n(18),i=n.n(r),o=n(9),a=n(6),s=n(10),c=n(8),u=n(11),l=n(4),d=n.n(l),f=(n(2439),n(1)),h=n.n(f),p=n(39),m=n(268),v=n(38),g=function(t){function n(){return Object(o.a)(this,n),Object(s.a)(this,Object(c.a)(n).apply(this,arguments))}return Object(u.a)(n,t),Object(a.a)(n,[{key:"render",value:function(){var t,n=this.props,r=n.allowTabNavigation,o=n.authorName,a=n.avatar,s=n.children,c=n.description,u=n.labels,l=n.lessonNumber,f=n.showLessonCount,h=n.title,g=n.totalLessons,y=u.lessonName,b=u.lessonPreposition;return e.createElement("div",{className:"process-header"},e.createElement("div",{className:"process-header__container"},e.createElement("div",{className:"process-header__limit"},e.createElement("div",{className:"process-header__row"},e.createElement("div",{className:"process-header__main"},e.createElement("div",{className:"process-header__top-wrap brand--afterBackground"},e.createElement(v.a,{className:"process-header__title brand--lhead",tagName:"h1",value:h}),a&&o?e.createElement("div",{className:"process-header__author brand--ui"},e.createElement("img",{src:Object(p.p)("".concat(a)),alt:""}),e.createElement("span",{className:"visually-hidden"},"by ",o),e.createElement("span",{"aria-hidden":"true"},o)):null,f&&function(t){var n,r,i,o=t.lessonName,a=t.lessonNumber,s=t.lessonPreposition,c=t.totalLessons;return e.createElement("div",{className:"process-header__counter brand--body"},e.createElement("div",{className:"process-header__count"},d()(n=d()(r=d()(i="".concat(o," ")).call(i,a," ")).call(r,s," ")).call(n,c)))}({lessonName:y,lessonNumber:l,lessonPreposition:b,totalLessons:g})),i()(t=e.Children).call(t,s,function(t){return t&&t.type===m.a?e.createElement("div",{className:"process-header__audio"},t):null}),e.createElement(v.a,{className:"process-header__description brand--lbody editor-text brand--linkColor",value:c,allowTabNavigation:r}))),s)))}}],[{key:"propTypes",get:function(){return{steps:h.a.number,avatar:h.a.string,authorName:h.a.string,title:h.a.string.isRequired,type:h.a.string.isRequired,description:h.a.string,allowTabNavigation:h.a.bool.isRequired}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(136),o=n(102),a=n(2),s=n.n(a),c=n(16),u=n.n(c),l=n(127),d=n.n(l),f=n(7),h=n.n(f),p=n(51),m=n.n(p),v=n(44),g=n.n(v),y=n(83),b=n.n(y),_=n(29),w=n.n(_),x=n(45),k=n.n(x),E=n(22),S=n.n(E),T=n(84),C=n.n(T),O=n(14),A=n.n(O),j=n(13),N=n.n(j),M=n(36),P=n.n(M),I=n(69),L=n.n(I),D=n(122),R=n.n(D),F=n(190),B=n.n(F),U=(n(2441),n(21)),q=n(192),z=n(138),H=n(39),W=n(405),V=n(644),Y=n(799),G=n(1276),K=n(1277),$=n(1279),X=n(75),Q="".concat(Object(U.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Z=h()(k.a,g()(N()("isComplete")),L.a),J=h()(C()(["learningPathComplete","lpHasFailedQuiz"]),N()("learningPathUpNext"));t.a=Object(i.b)(J,function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:h()(e,V.b,u()({courseId:r,learningPathId:i}))}})(function(t){var n=t.color,i=t.course,a=void 0===i?{}:i,c=t.courseProgress,l=void 0===c?{}:c,f=t.fetchLpUpNext,p=t.lessons,v=void 0===p?[]:p,g=t.learningPathComplete,y=t.lpHasFailedQuiz,_=l.lessons,x=void 0===_?{}:_,k=l.percentComplete,E=a.dueAt,T=a.certificateDownload,C=a.completionCelebration,O=a.lessonsOnly,j=void 0===O?[]:O,M=a.riseComLearningPathId,I=a.trackingCompletionPercentage,L=a.trackingQuizId,D=w()(I)&&w()(L),F=D?100===k:Object(H.i)(),U=j.length,V=Z(x);Object(r.useEffect)(function(){M&&f()},[]);var J=Object(r.useMemo)(function(){return F?a.completedAt?a.completedAt:new Date:null},[a.completedAt,F]),ee=Object(r.useMemo)(function(){return m()(d()(A()("type","quiz"),A()("id",L)),v)},[L,v]),te=Object(r.useMemo)(function(){return P()(void 0,"title",ee)},[ee]),ne=Object(r.useMemo)(function(){return S()(100,["settings","passingScore"],ee)},[ee]),re=S()(null,["lessons",L,"passed"],l),ie=Object(r.useMemo)(function(){return h()(b()(A()("percentComplete",100),N()("score"),u()(null)),S()({},["lessons",L]))(l)},[l,L]),oe=Object(X.d)(l,ee,L).outOfAttempts,ae=!L||re,se=s()("progress-summary",{"progress-summary__no-req":D});return e.createElement(B.a,{title:Object(q.a)(a.title+" - Progress Summary")},e.createElement("div",{className:se},F&&C&&ae&&e.createElement(K.a,null),e.createElement("header",{className:"progress-summary__header"},e.createElement("h1",{className:"progress-summary__header-title"},F&&!D&&ae?"Congratulations!":"Progress Summary"),D?e.createElement("div",{className:"progress-summary__lessons-completed"},"You've completed ",V," of ",U," lessons."):F?e.createElement("div",{className:"progress-summary__header-completion-date"},ae&&e.createElement("img",{className:"progress-summary__header-trophy",src:Q,alt:"trophy"}),R()(J).format("MMMM Do, YYYY")):e.createElement(G.a,{dueAt:E})),e.createElement("section",{className:"progress-summary__section"},!D&&F&&e.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),D?!M&&e.createElement(o.a,{to:"/",className:"progress-summary__start-over"},"Start Over",e.createElement("i",{className:"progress-summary__start-over-icon icon icon-reload"})):e.createElement("div",{className:"progress-summary__requirements"},e.createElement(Y.a,{percentComplete:k,trackingCompletionPercentage:I}),e.createElement(Y.b,{outOfAttempts:oe,quizPassed:re,quizPassingScore:ne,quizScore:ie,quizTitle:te,trackingQuizId:L})),(F||D)&&e.createElement("div",{className:"progress-summary__completion-controls"},e.createElement("button",{role:"link",className:"progress-summary__btn-back progress-summary__completion-control brand--background",onClick:z.d,type:"button"},"Back to my learning"),F&&(!M&&T||M&&g)&&T&&ae&&!y&&e.createElement("span",{className:"progress-summary__completion-control"},e.createElement(W.a,null)))),F&&!!M&&e.createElement($.a,{color:n,learningPathId:M})))})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t["aria-label"],r=t.title,o=t.desc,a=t.width,s=void 0===a?"26":a,c=t.height,u=void 0===c?"24":c,l=t.className,d=t.focusable,f=void 0===d?"false":d,h=t.role,p=void 0===h?"img":h;return e.createElement("svg",{viewBox:"0 0 26 24",width:s,height:u,"aria-label":n,className:i()("i i-checkedbox",l),focusable:f,role:p},r&&e.createElement("title",null,r),o&&e.createElement("desc",null,o),e.createElement("path",{fillRule:"nonzero",d:"M12.214 11.686L23.224.328a1.08 1.08 0 1 1 1.551 1.504L12.99 13.99a1.08 1.08 0 0 1-1.551 0L7.153 9.569a1.08 1.08 0 1 1 1.551-1.504l3.51 3.621zM2.58 21h18.197v-9.973a1.08 1.08 0 1 1 2.16 0V22.08a1.08 1.08 0 0 1-1.08 1.08H1.5a1.08 1.08 0 0 1-1.08-1.08v-21C.42.484.904 0 1.5 0h15a1.08 1.08 0 0 1 0 2.16H2.58V21z"}))}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(274);t.a=function(e){var t=e.dueAt;return t?i.a.createElement("div",{className:"progress-summary__header-due brand--color brand--border"},Object(o.a)(t)):null}},function(e,t,n){"use strict";(function(e){var r=n(27),i=n.n(r),o=n(3),a=n.n(o),s=n(4),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(5),p=n(11),m=n(1278),v=n.n(m),g=["#eb524d","#ffac02","#ffcc00","#28cea9","#4fbdf4","#6788e4"],y=function(t){function n(){var e,t,r,i;Object(u.a)(this,n);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return(i=Object(d.a)(this,(e=Object(f.a)(n)).call.apply(e,c()(t=[this]).call(t,s)))).state={run:!1,recycle:!0},i.startConfetti=a()(r=i.startConfetti).call(r,Object(h.a)(i)),i}return Object(p.a)(n,t),Object(l.a)(n,[{key:"startConfetti",value:function(){var e=this;clearTimeout(this.timeout),this.timeout=i()(function(){return e.setState({recycle:!1})},1e4),this.setState({run:!0})}},{key:"componentDidMount",value:function(){clearTimeout(this.timeout),this.timeout=i()(this.startConfetti,900)}},{key:"shouldComponentUpdate",value:function(e,t){return t.recycle!==this.state.recycle||t.run!==this.state.run}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var t=this.state,n=t.recycle,r=t.run;return e.createElement("div",{className:"progress-summary__confetti"},e.createElement(v.a,{width:window.innerWidth,height:window.innerHeight,recycle:n,run:r,numberOfPieces:500,gravity:.4,colors:g}))}}]),n}(e.Component);t.a=y}).call(this,n(0))},function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(0),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),c=n.n(s);function u(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 d(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 f=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),d(this,"context",void 0),d(this,"radius",void 0),d(this,"x",void 0),d(this,"y",void 0),d(this,"w",void 0),d(this,"h",void 0),d(this,"vx",void 0),d(this,"vy",void 0),d(this,"shape",void 0),d(this,"angle",void 0),d(this,"angularSpin",void 0),d(this,"color",void 0),d(this,"rotateY",void 0),d(this,"rotationDirection",void 0),d(this,"getOptions",void 0),this.getOptions=n;var a=this.getOptions(),s=a.colors,c=a.initialVelocityX,l=a.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=u(5,20),this.h=u(5,20),this.radius=u(5,10),this.vx=u(-c,c),this.vy=u(-l,0),this.shape=Math.floor(0+3*Math.random()),this.angle=u(0,360)*Math.PI/180,this.angularSpin=u(-.2,.2),this.color=s[Math.floor(Math.random()*s.length)],this.rotateY=u(0,1),this.rotationDirection=u(0,1)?i.Positive:i.Negative}var t,n;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 c=.1*this.rotationDirection;if(this.rotateY+=c,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),e}();function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=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),h(this,"canvas",void 0),h(this,"context",void 0),h(this,"getOptions",void 0),h(this,"x",0),h(this,"y",0),h(this,"w",0),h(this,"h",0),h(this,"lastNumberOfPieces",0),h(this,"tweenInitTime",Date.now()),h(this,"particles",[]),h(this,"particlesGenerated",0),h(this,"removeParticleAt",function(e){r.particles.splice(e,1)}),h(this,"getParticle",function(){var e=u(r.x,r.w+r.x),t=u(r.y,r.h+r.y);return new f(r.context,r.getOptions,e,t)}),h(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,c=o.numberOfPieces,u=o.debug,l=o.tweenFunction,d=o.tweenDuration;if(!a)return!1;var f=r.particles.length,h=s?f:n,p=Date.now();if(h<c){i!==c&&(r.tweenInitTime=p,r.lastNumberOfPieces=c);for(var m=r.tweenInitTime,v=l(p-m>d?d:Math.max(0,p-m),h,c,d),g=Math.round(v-h),y=0;y<g;y++)r.particles.push(r.getParticle());r.particlesGenerated+=g}return u&&(t.font="12px sans-serif",t.fillStyle="#333",t.textAlign="right",t.fillText("Particles: ".concat(f),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&&h<=c?r.particles[n]=r.getParticle():r.removeParticleAt(n))}),f>0||h<c}),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 m(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 v(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 g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={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:c.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),g(this,"canvas",void 0),g(this,"context",void 0),g(this,"_options",void 0),g(this,"generator",void 0),g(this,"rafId",void 0),g(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?m(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{},y,{},e),Object.assign(r,e.confettiSource)}),g(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)}),g(this,"reset",function(){r.generator&&r.generator.particlesGenerated>0&&(r.generator.particlesGenerated=0,r.generator.particles=[],r.generator.lastNumberOfPieces=0)}),g(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 p(this.canvas,function(){return r.options}),this.options=n,this.update()}var t,n;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()}}])&&v(t.prototype,n),e}();function _(e){return(_="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 w(){return(w=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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(n,!0).forEach(function(t){O(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 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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(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 N});var A=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"!==_(t)&&"function"!=typeof t?T(e):t}(this,(n=S(t)).call.apply(n,[this,e].concat(o))),O(T(r),"canvas",a.a.createRef()),O(T(r),"confetti",void 0),r.canvas=e.canvasRef||a.a.createRef(),r}var n,r;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&&C(e,t)}(t,o.Component),n=t,(r=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=j(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=j(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=function(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")}()}(j(this.props),2),t=e[0],n=e[1],r=k({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",w({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&E(n.prototype,r),t}();function j(e){var t={},n={},r=[].concat(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")}()}(Object.keys(y)),["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,{}]}O(A,"defaultProps",k({},y)),O(A,"displayName","ReactConfetti");var N=a.a.forwardRef(function(e,t){return a.a.createElement(A,w({canvasRef:t},e))});t.default=N}]).default)},function(e,t,n){"use strict";(function(e){var r=n(23),i=n(4),o=n.n(i),a=n(0),s=n(136),c=n(122),u=n.n(c),l=n(178),d=n.n(l),f=n(76),h=n.n(f),p=n(7),m=n.n(p),v=n(78),g=n.n(v),y=n(112),b=n.n(y),_=n(51),w=n.n(_),x=n(70),k=n.n(x),E=n(387),S=n.n(E),T=n(22),C=n.n(T),O=n(84),A=n.n(O),j=n(13),N=n.n(j),M=n(36),P=n.n(M),I=n(14),L=n.n(I),D=n(164),R=n.n(D),F=n(125),B=n.n(F),U=n(194),q=n.n(U),z=n(1314),H=(n(2444),n(274)),W=n(21),V=n(597),Y=n(138),G=n(182),K=Object(W.c)("IMAGES_URI"),$=["cardImageKey","color","coverImageKey","progress","score","title"],X=function(e,t){return 1===e?t:o()(t).call(t,"s")},Q=C()([],["course","course","lessons"]),Z=function(e){return m()(k.a,B()(b()(L()("type","section"),R()(g()(d.a,e),"id"))),Q)},J=function(e){var t=Q(e),n=e.trackingQuizId,r=e.score;if(n&&t.length){var i=w()(L()("id",n),t),o=i.settings;return r<(o=void 0===o?{}:o).passingScore&&i}},ee=m()(w()(h()(L()("type","section"))),Q),te=q()(2,function(e){return m()(P()("","id"),w()(Boolean),S()([Z(e),J,ee]))}),ne=function(e){var t=u.a.duration(e),n=t.hours(),r=t.minutes(),i=n+X(n,"hr"),o="".concat(r,"min");return n>=100?"100+ hrs":n>0&&r>0?[i,o].join(" "):n>0?i:o},re=N()("learningPathUpNext");t.a=Object(s.b)(re)(function(t){var n,i=t.color,s=t.learningPathComplete,c=t.learningPathId,u=t.isSuccess,l=t.nextCourse,d=t.nextCourse,f=(d=void 0===d?{}:d).dueAt,h=d.courseId,p=void 0===h?"":h,m=d.lessonCount,v=d.lessonsCompleted,g=void 0===v?[]:v,y=d.sourceType,b=d.timeToComplete,_=Object(a.useMemo)(function(){return te(g,l)},[l,g]);Object(G.isNil)(l.color)&&(l.color=i);var w=A()($,l),x=Object(a.useCallback)(function(){var e;"PACKAGE"===y?(top.sessionStorage.setItem("upNextCourseId",p),top.location.assign("/learning-path/".concat(c))):Object(Y.f)(o()(e="".concat(p,"/lessons/")).call(e,_))},[p,c,_,y]);return u&&!s&&e.createElement("div",{className:"progress-summary__lp-next"},e.createElement("div",{className:"progress-summary__lp-next-inner"},e.createElement("div",{className:"progress-summary__lp-next-label"},"Next up ",e.createElement(V.a,{className:"progress-summary__lp-next-label-icon",decorative:!0})),e.createElement("div",{className:"progress-summary__lp-next-card"},e.createElement(z.a,Object(r.a)({imagesUri:K,labelCount:o()(n="".concat(m," ")).call(n,X(m,"lesson")),labelDue:Object(H.a)(f),labelDuration:ne(b),noFavoriteBtn:!0,noCertDownload:!0,onClick:x},w)))))})}).call(this,n(0))},function(e,t,n){var r,i;
/*! @preserve
 * numeral.js
 * version : 2.0.6
 * author : Adam Draper
 * license : MIT
 * http://adamwdraper.github.com/Numeral-js/
 */void 0===(i="function"==typeof(r=function(){var e,t,n,r,i,o={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function u(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,a,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 o)if((s="function"==typeof o[i].regexps.unformat?o[i].regexps.unformat():o[i].regexps.unformat)&&n.match(s)){a=o[i].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new u(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof u},e._=t={numberToFormat:function(t,n,r){var i,o,s,c,u,l,d,f,h=a[e.options.currentLocale],p=!1,m=!1,v="",g="",y=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),s>=1e12&&!o||"t"===o?(v+=h.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(v+=h.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(v+=h.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(v+=h.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),c=t.toString().split(".")[0],u=n.split(".")[1],d=n.indexOf(","),i=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),g=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):g=e._.toFixed(t,u.length,r),c=g.split(".")[0],g=e._.includes(g,".")?h.delimiters.decimal+g.split(".")[1]:"",m&&0===Number(g.slice(1))&&(g="")):c=e._.toFixed(t,0,r),v&&!o&&Number(c)>=1e3&&v!==h.abbreviations.trillion)switch(c=String(Number(c)/1e3),v){case h.abbreviations.thousand:v=h.abbreviations.million;break;case h.abbreviations.million:v=h.abbreviations.billion;break;case h.abbreviations.billion:v=h.abbreviations.trillion}if(e._.includes(c,"-")&&(c=c.slice(1),y=!0),c.length<i)for(var b=i-c.length;b>0;b--)c="0"+c;return d>-1&&(c=c.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),0===n.indexOf(".")&&(c=""),f=c+g+(v||""),p?f=(p&&y?"(":"")+f+(p&&y?")":""):l>=0?f=0===l?(y?"-":"+")+f:f+(y?"-":"+"):y&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=a[c.currentLocale],o=e,s={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,".")),s)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[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,c=e.toString().split("."),u=t-(r||0);return i=2===c.length?Math.min(Math.max(c[1].length,u),t):u,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=o,e.locales=a,e.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},e.localeData=function(e){if(!e)return a[c.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)c[e]=s[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,c,u,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{u=e.localeData(n)}catch(t){u=e.localeData(e.locale())}return o=u.currency.symbol,s=u.abbreviations,r=u.delimiters.decimal,i="."===u.delimiters.thousands?"\\.":u.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)||(c=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(c):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(c)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(c)||!a[1].match(/^\d+$/))))},e.fn=u.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,a,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 o)if(u.match(o[r].regexps.format)){a=o[r].format;break}i=(a=a||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);return this._value=t.reduce([this._value,e],function(e,t,r,i){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,i){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}),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,c,u=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<=u.suffixes.length;a++)if(s=Math.pow(u.base,a),c=Math.pow(u.base,a+1),null===t||0===t||t>=s&&t<c){l+=u.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]);return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],function(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*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})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){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,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=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}}(),a=n(1),s=(r=a)&&r.__esModule?r:{default:r},c=n(2),u=["lines","ellipsis"],l=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=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=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return o.contextRef=null,o.setContextRef=function(e){return o.contextRef=e},o.state={clamp:!1,containerHeight:0,lineHeight:0},o}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,a.Component),o(t,[{key:"componentDidMount",value:function(){if(this.contextRef){var e=window.getComputedStyle(this.contextRef),t=(0,c.getLineHeight)(e),n=t*this.props.lines,r=(0,c.getHeight)(e)>n;this.setState({clamp:r,containerHeight:n,lineHeight:t})}}},{key:"render",value:function(){var e=this.props,t=e.background,n=void 0===t?"#fff":t,r=e.children,o=e.ellipsis,a=void 0===o?"...":o,l=function(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}(e,["background","children","ellipsis"]),d=this.state,f=d.clamp,h=d.containerHeight,p=d.lineHeight,m=(0,c.hexToRGB)(n);return s.default.createElement("div",{style:{maxHeight:h+"px",overflow:"hidden",position:"relative"}},s.default.createElement("div",i({ref:this.setContextRef},(0,c.omit)(u,l)),r,f&&s.default.createElement("div",{style:{background:"linear-gradient(to right, rgba("+m+", 0), rgba("+m+", 1) 50%)",display:"flex",justifyContent:"flex-end",position:"absolute",bottom:"0",right:"0",width:"2em",height:p+"px"}},a)))}}]),t}();l.displayName="LineClamp",t.default=l},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.threeToSix=function(e){return 3===e.length?e.split("").map(function(e){return e+e}).join(""):e},i=t.cutHex=function(e){return"#"===e[0]?e.slice(1):e},o=t.parseHex=function(e){return r(i(e))},a=t.createHexToRGB=function(e,t){return function(n){return parseInt(o(n).substring(e,t),16)}},s=t.hexToR=a(0,2),c=t.hexToG=a(2,4),u=t.hexToB=a(4,6),l=(t.hexToRGB=function(e){return[s(e),c(e),u(e)].join(", ")},t.getNumberPixels=function(e){return Number(e.replace(/[a-zA-Z]+/,""))}),d=t.styleProp=function(e){return function(t){return l(t[e])}};t.getHeight=d("height"),t.getLineHeight=d("line-height"),t.omit=function(e,t){return Object.keys(t).reduce(function(n,r){return e.indexOf(-1===r)&&void 0!==t[r]?Object.assign(n,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t[r])):n},{})}}])},function(e,t,n){var r=n(176)(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},function(e,t,n){var r=n(53),i=n(176),o=n(754),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},function(e,t,n){var r=n(755)(function(e,t,n){return e(n)?t(n):n});e.exports=r},function(e,t,n){var r=n(176)(function(e,t){return e*t});e.exports=r},function(e,t,n){var r=n(584),i=n(2446),o=n(2447),a=n(2452);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)))}},function(e,t,n){var r=n(258),i=n(176)(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},function(e,t,n){var r=n(296),i=n(585),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},function(e,t,n){var r=n(176),i=n(1172),o=n(1173),a=n(756),s=n(2455),c=n(754),u=n(586),l=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}));e.exports=l},function(e,t,n){var r=n(176)(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},function(e,t,n){"use strict";(function(e){var r=n(62),i=n(126),o=n.n(i),a=n(226),s=n.n(a),c=n(77),u=n.n(c),l=n(49),d=n.n(l),f=n(80),h=n(336),p=n(1292),m=n(39),v=function(e){var t=e.id,n=e.settings,i=e.lessonProgress,a=void 0===i?{}:i;return d()(u()(["passingScore"]),function(e){var t=e.id,n=e.passingScore;return s()(o.a,Object(m.g)({id:t,passingScore:n}))}(Object(r.a)({id:t},a)),n)};t.a=function(t){var n=t.authorName,r=t.avatar,i=t.color,o=t.continueComponent,a=t.data,s=a.description,c=a.id,u=a.items,l=a.settings,d=a.title,m=a.type,g=t.enableVideoPlaybackSpeed,y=t.isLesson,b=t.labels,_=t.lessonNumber,w=t.lessonProgress,x=t.menuButtons,k=t.menuOpen,E=t.mobileMenuOpen,S=t.mode,T=t.nextComponent,C=t.nextLesson,O=t.nextLessonRestrictions,A=t.onNextClick,j=t.prefersKeyboardNavigation,N=t.previousComponent,M=t.showLessonCount,P=t.showNavigationButtons,I=t.sidebarEnabled,L=t.totalLessons;return e.createElement(f.c,{type:m},N,e.createElement(f.b,{type:m},x,e.createElement(f.a,{type:m,items:u},e.createElement(h.b,{id:c,lessonProgress:w,menuOpen:k,mobileMenuOpen:E,type:"quiz"}),e.createElement(p.a,{authorName:n,avatar:r,color:i,currentPassingScore:l.passingScore,description:s,enableVideoPlaybackSpeed:g,id:c,isLesson:y,items:u,labels:b,lessonNumber:_,lessonProgress:w,menuOpen:k,mobileMenuOpen:E,mode:S,nextComponent:o||T,nextLesson:C,nextLessonRestrictions:O,onNextClick:A,prefersKeyboardNavigation:j,previousComponent:N,settings:v({id:c,lessonProgress:w,settings:l}),showLessonCount:M,showNavigationButtons:P,sidebarEnabled:I,title:d,totalLessons:L}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ke});var r=n(4),i=n.n(r),o=n(23),a=n(18),s=n.n(a),c=n(53),u=n.n(c),l=n(9),d=n(6),f=n(10),h=n(8),p=n(11),m=(n(2493),n(26)),v=n.n(m),g=n(244),y=n.n(g),b=n(396),_=n.n(b),w=n(2),x=n.n(w),k=n(7),E=n.n(k),S=n(109),T=n.n(S),C=n(35),O=n.n(C),A=n(89),j=n.n(A),N=n(801),M=n.n(N),P=n(51),I=n.n(P),L=n(226),D=n.n(L),R=n(490),F=n.n(R),B=n(88),U=n.n(B),q=n(32),z=n.n(q),H=n(30),W=n.n(H),V=n(506),Y=n.n(V),G=n(96),K=n.n(G),$=n(1293),X=n.n($),Q=n(28),Z=n.n(Q),J=n(22),ee=n.n(J),te=n(13),ne=n.n(te),re=n(14),ie=n.n(re),oe=n(36),ae=n.n(oe),se=n(308),ce=n.n(se),ue=n(42),le=n.n(ue),de=n(74),fe=n(166),he=n(1294),pe=n(1297),me=n(1298),ve=fe.a.MATCHING,ge=ee()(0,["lessonProgress","activeIndex"]),ye=function(e,t){return E()(O()(e),ge)(t)},be=ee()(0,["lessonProgress","retryAttempts"]),_e=T()(function(e){return M()(function(e){return E()(D()(I.a,e),ie()("id"),ne()("id"))}(e),F.a)}),we=E()(X()("answers"),Y()(T()(function(e){return z()(function(e){return E()(Y()(y.a),_e(e))}(e))})),_()(ne()("answers"),ne()("answers"))),xe=D()(function(e){return z()((t=e,E()(Y()(y.a),M()(we,Y()(y.a)),_e(t))));var t}),ke=function(t){function n(e){var t;return Object(l.a)(this,n),(t=Object(f.a)(this,Object(h.a)(n).call(this,e))).state={items:Me(e)},t}return Object(p.a)(n,t),Object(d.a)(n,[{key:"componentWillReceiveProps",value:function(e){if(be(this.props)!==be(e))this.setState({items:Me(e)});else{var t=xe(this.state.items,e.items);this.setState({items:t})}}},{key:"render",value:function(){var t=this.state.items,n=ge(this.props),r=Ce(n),i=W()(this.props,{getClassName:r}),o=function(e){return{start:e<2?0:e-2,end:e+2}}(n),a=o.start,c=o.end,l=u()(t).call(t,a,c),d=Se(i,a),f=this.props.labels.quizLandmark;return e.createElement("section",{"aria-label":f,className:"quiz","data-quiz":!0},e.createElement("div",{className:"quiz__wrap"},n<2?Ee(i):null,s()(l).call(l,d),Te(i)))}}]),n}(e.Component),Ee=function(t){var n=t.authorName,r=t.avatar,i=t.description,o=t.getClassName,a=t.id,s=t.isLesson,c=t.items,u=t.labels,l=t.lessonNumber,d=t.lessonProgress,f=t.showLessonCount,h=t.title,p=t.totalLessons;return e.createElement("div",{className:o(0)},e.createElement("div",{className:"quiz__item-wrap"},e.createElement(pe.a,{allowTabNavigation:ye(0,{lessonProgress:d}),authorName:n,avatar:r,description:i,id:a,isLesson:s,items:c,labels:u,lessonNumber:l,lessonProgress:d,showLessonCount:f,title:h,totalLessons:p})))},Se=function(t,n){return function(r,i){return e.createElement(me.a,Object(o.a)({index:i+n,item:r,key:"item-".concat(r.id),retryAttempts:be({lessonProgress:t.lessonProgress})},t))}},Te=function(t){var n=t.color,r=t.currentPassingScore,i=t.getClassName,o=t.id,a=t.items,s=t.labels,c=t.lessonNumber,u=t.lessonProgress,l=t.mode,d=t.nextComponent,f=t.nextLesson,h=t.nextLessonRestrictions,p=t.onNextClick,m=t.settings,v=m.continueType,g=m.passingScore,y=m.retryCount,b=t.showNavigationButtons,_=t.sidebarEnabled,w=U()(a.length),x=ye(w,{lessonProgress:u});return e.createElement("div",{className:i(w)},e.createElement("div",{className:"quiz__item-wrap"},e.createElement(he.a,{allowTabNavigation:x,color:n,continueType:v,current:c,currentPassingScore:r,id:o,isAtEnd:x,labels:s,length:a.length,lessonProgress:u,mode:l,nextComponent:d,nextLesson:f,nextLessonRestrictions:h,onNextClick:p,passingScore:g,retryAttempts:be({lessonProgress:u}),retryCount:Number(y),showNavigationButtons:b,sidebarEnabled:_})))},Ce=function(e){return function(t){return x()("quiz__item",{"quiz__item--active":t===e,"quiz__item--done":t<e,"quiz__item--next":t===e+1,"quiz__item--penultimate":t===e+2,"quiz__item--future":t>e+2})}},Oe=ie()("type",ve),Ae=function(e){return function(t){return Oe(t)?function(e){var t=Object(de.i)(ae()([],"answers",e));return W()(e,{titleIndices:ce()(t),matchIndices:t})}(t):e?j()({answers:ce.a},t):t}},je=ee()(!1,["settings","shuffleAnswerChoices"]),Ne=ee()(!1,["settings","randomizeQuestionOrder"]),Me=E()(ne()("items"),function(e){var t=je(e),n=Ae(t);return j()({items:z()(n)},e)},le()(Ne,function(e){var t,n,r=ne()("items",e),o=Z()(["lessonProgress","items"],e),a=E()(String,ne()("id")),s=Object(de.d)(o,ne()("isComplete")),c=Object(de.c)(a,s)(r),u=Object(de.d)(o,E()(K.a,ne()("isComplete"))),l=Object(de.c)(a,u)(r),d=i()(t=i()(n=[]).call(n,c)).call(t,ce()(l));return v()("items",d,e)}))}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(119),i=n(447);e.exports=r(function(e,t){var n;if(!e||!i(e))throw new TypeError("objOf: Non-empty String required for first argument");return(n={})[e]=t,n})},function(e,t,n){"use strict";(function(e){var r=n(91),i=(n(2496),n(1295));t.a=function(t){var n=t.nextComponent,o=Object(r.a)(t,["nextComponent"]);return e.createElement("div",{"aria-hidden":!o.allowTabNavigation,className:"quiz-end"},e.createElement("div",{className:"quiz-end__container"},e.createElement(i.a,o)),e.createElement("div",{className:"quiz-end__footer"},o.isAtEnd&&n))}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return N});var r=n(27),i=n.n(r),o=n(3),a=n.n(o),s=n(4),c=n.n(s),u=n(9),l=n(6),d=n(10),f=n(8),h=n(5),p=n(11),m=(n(2497),n(0)),v=n.n(m),g=n(2),y=n.n(g),b=n(400),_=n.n(b),w=n(33),x=n(270),k=n(39),E=n(21),S=n(17),T=n(75),C=n(498),O=n(622),A=n(1296),j=n(403),N=function(e){function t(){var e,n,r,i,o;Object(u.a)(this,t);for(var s=arguments.length,l=new Array(s),p=0;p<s;p++)l[p]=arguments[p];return(o=Object(d.a)(this,(e=Object(f.a)(t)).call.apply(e,c()(n=[this]).call(n,l)))).animationTimeout=null,o.state={showFooter:!1},o.headingRef=Object(m.createRef)(),o.showFooter=a()(r=o.showFooter).call(r,Object(h.a)(o)),o.onTryAgainFocus=a()(i=o.onTryAgainFocus).call(i,Object(h.a)(o)),o}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props.isAtEnd;t!==e.isAtEnd&&(t?this.focusHeading():this.setState({showFooter:!1}))}},{key:"componentWillUnmount",value:function(){this.animationTimeout&&(clearTimeout(this.animationTimeout),this.animationTimeout=null)}},{key:"focusHeading",value:function(){this.headingRef&&this.headingRef.current&&_()(this.headingRef.current.focus)&&this.headingRef.current.focus()}},{key:"showFooter",value:function(){var e=this;this.animationTimeout=i()(function(){e.setState({showFooter:!0})},500)}},{key:"onTryAgainFocus",value:function(){this.animationTimeout&&(clearTimeout(this.animationTimeout),this.animationTimeout=null),this.setState({showFooter:!0})}},{key:"render",value:function(){var e,t,n=this.props,r=n.allowTabNavigation,i=n.color,o=n.continueType,a=n.currentPassingScore,s=n.id,u=n.isAtEnd,l=n.labels,d=n.lessonProgress,f=d.reportResults,h=d.score,p=n.mode,m=n.nextLesson,g=n.nextLessonRestrictions,y=n.onNextClick,b=n.passingScore,_=n.retryAttempts,w=n.retryCount,x=n.showNavigationButtons,k=n.sidebarEnabled,E=this.state.showFooter,T=l.quizPassing,C=l.quizResults,O=l.quizScore,j=h>=b,N=c()(e="".concat(O," ")).call(e,h,"%");return v.a.createElement("div",{className:M({isAtEnd:u})},v.a.createElement("div",{className:"quiz-results__header"},v.a.createElement("h1",{className:"quiz-results__label noOutline",ref:this.headingRef,tabIndex:S.i},C),v.a.createElement("div",{className:"quiz-results__passing"},v.a.createElement("div",{className:"odometer__passlabel brand--ui"},T),v.a.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(b,"%")))),v.a.createElement("div",{className:"visually-hidden"},v.a.createElement("div",null,N),v.a.createElement("div",null,"".concat(j?"Passed":"Failed")),v.a.createElement("div",null,c()(t="".concat(T," ")).call(t,b,"%"))),v.a.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},v.a.createElement(A.a,{atEnd:u,color:i,complete:f,isPass:j,onAnimationDone:this.showFooter,quizScore:O,quizPassing:T,score:h,scoreLabel:N,passingScore:b})),L({allowTabNavigation:r,continueType:o,currentPassingScore:a,id:s,isAtEnd:u,labels:l,mode:p,nextLesson:m,nextLessonRestrictions:g,onNextClick:y,onTryAgainFocus:this.onTryAgainFocus,retryAttempts:_,retryCount:w,showFooter:E,showNavigationButtons:x,sidebarEnabled:k}))}}]),t}(v.a.Component),M=function(e){var t=e.isAtEnd;return y()("quiz-results",{"quiz-results--active":t})},P=function(e){var t=e.isAtEnd,n=e.showFooter;return y()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},I=function(e){var t=e.currentPassingScore,n=e.id;return function(){return Object(w.a)(Object(x.b)({currentPassingScore:t,id:n}))}},L=function(e){var t=e.allowTabNavigation,n=e.continueType,r=e.currentPassingScore,i=e.id,o=e.isAtEnd,a=e.labels,s=e.mode,c=e.nextLesson,u=e.nextLessonRestrictions,l=e.onNextClick,d=e.onTryAgainFocus,f=e.retryAttempts,h=e.retryCount,p=e.showFooter,m=e.showNavigationButtons,g=e.sidebarEnabled,y=u.isRestricted,b=a.courseFinish,_=void 0===b?"Finish":b,w=a.quizContinue,x=a.quizTakeAgain,S="continue"===n&&"preview-lesson"!==s&&!(g&&!m),A=S&&E.e&&!c&&m&&!Object(k.j)();return v.a.createElement("div",{className:P({isAtEnd:o,showFooter:p})},(-1===h||f<h)&&v.a.createElement(j.a,{allowTabNavigation:t,onClick:I({currentPassingScore:r,id:i}),onFocus:d,text:x}),S&&y&&c&&v.a.createElement(O.a,{bgType:"transparent",text:Object(T.a)({labels:a,restrictions:u})}),S&&!y&&c&&v.a.createElement(C.a,{href:"/lessons/".concat(encodeURIComponent(c)),onClick:l,text:w}),A&&v.a.createElement(C.a,{href:"/lessons/progress-summary",onClick:l,text:_}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return m});var r=n(500),i=n.n(r),o=n(27),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(11),f=(n(2503),n(2)),h=n.n(f),p=n(141),m=function(t){function n(e){var t;return Object(s.a)(this,n),(t=Object(u.a)(this,Object(l.a)(n).call(this,e))).animationTimeout=null,t.state={animated:!1,counted:!1},t}return Object(d.a)(n,t),Object(c.a)(n,[{key:"componentWillUnmount",value:function(){this.resetCanvas(),this.resetAnimationTimeout()}},{key:"componentWillReceiveProps",value:function(e,t){e.atEnd&&!t.animated&&this.setState({animated:!0}),this.props.atEnd&&!e.atEnd&&(this.resetCanvas(),this.resetAnimationTimeout(),this.setState({counted:!1,pass:null}))}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.atEnd!==e.atEnd||this.state.counted!==t.counted||!this.state.animated}},{key:"componentDidUpdate",value:function(){var e=this;this.props.atEnd&&(!this.state.counted&&this.props.complete?(this.odo(),this.animationTimeout=a()(function(){e.setState({counted:!0,pass:e.props.isPass}),e.props.onAnimationDone()},4e3)):this.state.counted&&this.props.isPass?this.pass():this.state.counted&&!this.props.isPass&&this.fail())}},{key:"render",value:function(){var t=this,n=this.props,r=n.canvasHeight,i=n.canvasWidth,o=n.passingScore,a=n.quizPassing,s=n.quizScore,c=n.scoreLabel,u=this.state,l=u.pass,d=u.counted,f=h()("odometer__score brand--ui",{"odometer__score--pass":l,"odometer__score--fail":!1===l}),p=h()("odometer__score-percent",{"odometer__score-percent--hidden":d});return e.createElement("div",{className:"odometer"},e.createElement("canvas",{className:"odometer__canvas",id:"odometer",width:i,height:r}),e.createElement("canvas",{className:"odometer__fail",id:"fail",width:"170",height:"170"}),e.createElement("canvas",{className:"odometer__pass",id:"pass",width:"170",height:"170"}),e.createElement("div",{className:f},e.createElement("div",{className:"odometer__score-label"},s),e.createElement("div",{className:"odometer__pass-label brand--color"},c),e.createElement("div",{className:"odometer__fail-label"},c),e.createElement("div",{ref:function(e){t.scorePercent=e},className:p})),e.createElement("div",{ref:function(e){t.passmark=e},className:"odometer__passmark"},e.createElement("div",{className:"odometer__passlabel brand--ui"},a),e.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(o,"%"))))}},{key:"resetAnimationTimeout",value:function(){clearTimeout(this.animationTimeout),this.animationTimeout=null}},{key:"resetCanvas",value:function(){var e=document.getElementById("pass"),t=document.getElementById("fail");e&&t&&(e.getContext("2d").clearRect(0,0,170,170),t.getContext("2d").clearRect(0,0,170,170))}},{key:"odo",value:function(){var e=this,t=this.props,r=t.passingScore,o=t.atEnd,s=t.canvasWidth,c=t.canvasHeight,u=t.color,l=document.getElementById("odometer").getContext("2d"),d=new Image,f=Math.PI/.8,h=.25*Math.PI;d.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDFBQzM3NTBGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDFBQzM3NTFGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMUFDMzc0RUYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMUFDMzc0RkYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pq3YZDIAAAA6SURBVHjaYjQ0NVdiYGC4D8T/GRCAEYgVmXBJADEzEy4JIL7DhEsCpIkJlwRIkAmXBEwSqwQIAAQYABZQDs+U1J1TAAAAAElFTkSuQmCC";var p=null,m=function t(a){return function(m){!p&&a&&(p=m);var v,g,y,b,_,w,x,k,E,S,T,C=a?(m-p)/2e3:0;v=C,g=e.props.score/100,y=n.easeInOutCubic(Math.min(v,1)),b=(225+y*g*270-90)*Math.PI/180,_=.5*s+210*Math.cos(b),w=.5*c+210*Math.sin(b),x=(225+r/100*270-90)*Math.PI/180,k=.5*s+210*Math.cos(x),E=.5*c+210*Math.sin(x),S=k+3,T=E+3,e.passmark&&(e.passmark.style.left="".concat(k/s*100,"%"),e.passmark.style.top="".concat(E/c*100,"%")),l.clearRect(0,0,s,c),l.beginPath(),l.arc(s/2,c/2,219,h,1.52*Math.PI*(r/100-.03)-f,!0),l.lineWidth=16,l.strokeStyle=l.createPattern(d,"repeat"),l.stroke(),l.closePath(),l.beginPath(),l.moveTo(S,T),l.lineTo(S+38,T-38),l.lineTo(S-38,T-38),l.lineTo(S-38,T+38),l.fillStyle="#f5f5f5",i()(l).call(l),l.closePath(),l.beginPath(),l.moveTo(k,E),l.lineTo(k+35,E-35),l.strokeStyle="#c2c3c4",l.lineWidth=1,l.stroke(),l.closePath(),l.beginPath(),l.moveTo(k+35,E-35),l.lineTo(k+70,E-35),l.strokeStyle="#c2c3c4",l.lineWidth=1,l.stroke(),l.closePath(),l.beginPath(),l.strokeStyle="#dcdcdc",l.arc(s/2,c/2,210,-f,1.5*Math.PI-f,!1),l.lineWidth=3,l.stroke(),l.closePath(),o&&(l.beginPath(),l.arc(s/2,c/2,210,-f,1.5*Math.PI*y*g-f,!1),l.lineWidth=3,l.strokeStyle="#313537",Math.floor(y*g*100)>=r&&(l.strokeStyle=u),l.stroke(),l.closePath(),l.beginPath(),l.arc(_,w,6,0,2*Math.PI,!1),l.fillStyle="#313537",Math.floor(y*g*100)>=r&&(l.fillStyle=u),i()(l).call(l),l.closePath()),C<1&&a&&window.requestAnimationFrame(t(!0))}};window.requestAnimationFrame(m(!1)),a()(function(){window.requestAnimationFrame(m(!0)),e.score()},1e3)}},{key:"score",value:function(){var e=this,t=null,r=function r(i){t||(t=i);var o=(i-t)/2e3;!function(t,r){var i=n.easeInOutQuad(Math.min(t,1)),o=Math.round(i*r*100)+"";if(e.scorePercent){for(;o.length<2;)o="0"+o;e.scorePercent.innerHTML="".concat(o,"%")}}(o,e.props.score/100),o<1&&window.requestAnimationFrame(r)};t=null,window.requestAnimationFrame(r)}},{key:"pass",value:function(){var e=this,t=this.props.color,r=document.getElementById("pass").getContext("2d"),i=null,o=function o(a){i||(i=a);var s,c,u=(a-i)/750;s=u,e.props.score,c=n.easeInOutCubic(Math.min(s,1)),r.clearRect(0,0,170,170),r.beginPath(),r.moveTo(30,70),r.lineTo(30+40*Math.min(c,.5)*2,70+45*Math.min(c,.5)*2),c>=.5&&r.lineTo(70+90*(c-.5)*2,110-85*(c-.5)*2),r.strokeStyle=t,r.lineWidth=20,r.stroke(),r.closePath(),u<1&&window.requestAnimationFrame(o)};i=null,window.requestAnimationFrame(o)}},{key:"fail",value:function(){var e=this,t=document.getElementById("pass").getContext("2d"),r=null,i=function i(o){r||(r=o);var a,s,c=(o-r)/750;a=c,e.props.score,s=n.easeInOutCubic(Math.min(a,1)),t.clearRect(0,0,170,170),t.beginPath(),t.moveTo(40,30),t.lineTo(40+90*Math.min(s,.5)*2,30+90*Math.min(s,.5)*2),t.strokeStyle="#313537",t.lineWidth=20,t.stroke(),t.closePath(),s>=.5&&(t.beginPath(),t.moveTo(130,30),t.lineTo(130-90*(s-.5)*2,30+90*(s-.5)*2),t.strokeStyle="#313537",t.lineWidth=20,t.stroke(),t.closePath()),c<1&&window.requestAnimationFrame(i)};r=null,window.requestAnimationFrame(i)}}],[{key:"easeInOutCubic",value:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},{key:"easeInOutQuad",value:function(e){return e<.5?2*e*e:(4-2*e)*e-1}},{key:"defaultProps",get:function(){return{canvasWidth:590,canvasHeight:500,onAnimationDone:p.b,score:0}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=(n(2504),n(0)),a=n.n(o),s=n(7),c=n.n(s),u=n(88),l=n.n(u),d=n(400),f=n.n(d),h=n(226),p=n.n(h),m=n(223),v=n.n(m),g=n(36),y=n.n(g),b=n(33),_=n(39),w=n(141),x=n(270),k=n(38),E=n(111),S=n(17),T=c()(p()(v.a,0),y()(0,"retryAttempts")),C=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return T(t)?r:n},O=function(e){var t,n,r,o=e.lessonName,s=e.lessonNumber,c=e.lessonPreposition,u=e.totalLessons;return a.a.createElement("div",{className:"quiz-header__count"},i()(t=i()(n=i()(r="".concat(o," ")).call(r,s," ")).call(n,c," ")).call(t,u))},A=function(e){var t=e.id,n=e.lessonProgress;return function(){return Object(b.a)(Object(x.c)({activeIndex:Math.max(0,l()(y()(0,"activeIndex",n))),id:t}))}};t.a=function(e){var t=e.allowTabNavigation,n=e.authorName,r=e.avatar,i=e.description,s=e.id,c=e.isLesson,u=e.labels,l=u.lessonName,d=u.lessonPreposition,h=u.quizStart,p=u.quizTakeAgain,m=e.lessonNumber,v=e.lessonProgress,g=e.showLessonCount,y=e.title,b=e.totalLessons,x=Object(o.useRef)(),j=t&&T(v);return Object(o.useEffect)(function(){j&&x&&x.current&&f()(x.current.focus)&&x.current.focus()},[j,x]),a.a.createElement("div",{"aria-hidden":!t,className:"quiz-header"},a.a.createElement("div",{className:"quiz-header__container"},a.a.createElement("div",{className:"quiz-header__limit"},a.a.createElement("div",{className:"quiz-header__row"},a.a.createElement("div",{className:"quiz-header__main"},a.a.createElement("div",{className:"quiz-header__top-wrap brand--afterBackground"},a.a.createElement("h1",{className:"noOutline",ref:x,tabIndex:S.i},a.a.createElement(k.a,{className:"quiz-header__title brand--lhead",value:Object(E.a)(y)})),r&&n?a.a.createElement("div",{className:"quiz-header__author brand--ui"},a.a.createElement("img",{src:Object(_.p)("".concat(r)),alt:""}),a.a.createElement("span",{className:"visually-hidden"},"by ",n),a.a.createElement("span",{"aria-hidden":"true"},n)):null,a.a.createElement("div",{className:"quiz-header__counter brand--body"},c&&g&&O({lessonName:l,lessonNumber:m,lessonPreposition:d,totalLessons:b}))),a.a.createElement(k.a,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),a.a.createElement("button",{className:"quiz-header__start-quiz brand--color",onClick:t?A({id:s,lessonProgress:v}):w.b,tabIndex:Object(S.m)(t),type:"button"},a.a.createElement("span",{className:"brand--ui"},C({lessonProgress:v,quizStart:h,quizTakeAgain:p})),a.a.createElement("i",{className:"icon icon-chevron-right"})))))))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Ne});var r=n(27),i=n.n(r),o=n(4),a=n.n(o),s=n(142),c=n.n(s),u=n(3),l=n.n(u),d=n(654),f=n.n(d),h=n(9),p=n(6),m=n(10),v=n(8),g=n(5),y=n(11),b=n(479),_=n.n(b),w=n(7),x=n.n(w),k=n(78),E=n.n(k),S=n(35),T=n.n(S),C=n(117),O=n.n(C),A=n(47),j=n.n(A),N=n(56),M=n.n(N),P=n(88),I=n.n(P),L=n(82),D=n.n(L),R=n(45),F=n.n(R),B=n(32),U=n.n(B),q=n(28),z=n.n(q),H=n(22),W=n.n(H),V=n(24),Y=n.n(V),G=n(13),K=n.n(G),$=n(14),X=n.n($),Q=n(36),Z=n.n(Q),J=n(363),ee=n.n(J),te=n(299),ne=n.n(te),re=n(241),ie=n.n(re),oe=n(74),ae=n(33),se=n(154),ce=n(1299),ue=n(1300),le=n(270),de=n(1301),fe=n(1302),he=n(39),pe=n(38),me=n(43),ve=n(129),ge=n.n(ve),ye=n(279),be=n(197),_e=n(338),we=n(166),xe=we.a.FILL_IN_THE_BLANK,ke=we.a.MATCHING,Ee=we.a.MULTIPLE_CHOICE,Se=we.a.MULTIPLE_RESPONSE,Te=_e.a.ANY,Ce=_e.a.CHOICE,Oe=_e.a.CORRECT_INCORRECT,Ae=function(e){return e?73:3},je=W()(0,["lessonProgress","activeIndex"]),Ne=function(t){function n(e){var t,r,i,o,a,s,c;return Object(h.a)(this,n),(c=Object(m.a)(this,Object(v.a)(n).call(this,e))).state={startTime:f()()},c.handleChoiceSelect=l()(t=c.handleChoiceSelect).call(t,Object(g.a)(c)),c.handleFillIn=l()(r=c.handleFillIn).call(r,Object(g.a)(c)),c.handleMatch=l()(i=c.handleMatch).call(i,Object(g.a)(c)),c.handleNext=l()(o=c.handleNext).call(o,Object(g.a)(c)),c.handleResponseToggle=l()(a=c.handleResponseToggle).call(a,Object(g.a)(c)),c.handleSubmit=l()(s=c.handleSubmit).call(s,Object(g.a)(c)),c}return Object(y.a)(n,t),Object(p.a)(n,[{key:"componentDidUpdate",value:function(e){this.isNewlyActive({prevProps:e})&&(this.scrollTopIfNewlyActive(),this.setState({startTime:f()()})),this.scrollActionsIfComplete({prevProps:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.enableVideoPlaybackSpeed,i=n.getClassName,o=n.item,a=n.items,s=n.labels,c=n.settings,u=s.quizAcceptableResponses,l=s.quizAnswerPlaceholder,d=s.quizCorrect,f=s.quizIncorrect,h=s.quizNext,p=s.quizQuestion,m=s.quizSubmit,v=o.id,g=o.media,y=o.title,b=je(this.props),_=this.getStepIndex(),w=_===b,x=this.getItemProgress({props:this.props})||{},k=this.getIsComplete({itemProgress:x}),E=this.getIsCorrect({itemProgress:x}),S=Z()(!1,"revealAnswers",c),T=k&&Z()(!1,"revealAnswers",c),C=!k&&this.getCanSubmit({itemProgress:x}),O=this.handleSubmit({isCorrect:E,canSubmit:C,itemProgress:x}),A=K()("selectedIndex",x),j=this.getFeedback({isCorrect:E,selectedIndex:A}),N="q-".concat(v),M=w||k?void 0:{display:"none"};return e.createElement("div",{"aria-hidden":!w,className:i(_)},e.createElement("div",{className:"quiz__item-wrap"},e.createElement(be.b,{isActive:w,isComplete:k},e.createElement("div",{style:M},e.createElement(be.f,{isActive:w,num:_,quizQuestion:p,total:F()(a)}),e.createElement(be.g,{value:y,allowTabNavigation:w,id:N}),e.createElement(be.e,{allowTabNavigation:w,enableVideoPlaybackSpeed:r,index:String(_),labels:s,media:g,opts:c}),e.createElement(be.d,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:C,isActive:w,isComplete:k,isCorrect:E,itemProgress:x,onSubmit:O,revealAnswers:S,questionHtmlId:N,quizAcceptableResponses:u,quizAnswerPlaceholder:l})),e.createElement(be.a,{allowTabNavigation:w,canProceed:T,canSubmit:C,onSubmit:O,quizSubmit:m}),e.createElement(be.c,{allowTabNavigation:w,canProceed:T,feedbackRef:function(e){t.feedback=e},hasFeedback:!!j,isCorrect:E,labels:s,onNext:w?function(){return t.handleNext()}:Function.prototype,quizCorrect:d,quizIncorrect:f,quizNext:h,renderText:function(){return e.createElement(pe.a,{className:"quiz-card__feedback-text brand--body brand--linkColor",allowTabNavigation:k&&w,value:j})}})))))}},{key:"getStepIndex",value:function(){return I()(this.props.index)}},{key:"getIsCorrect",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case xe:return Le({item:n,itemProgress:t});case ke:return Object(oe.b)(De(t));case Se:return Pe({item:n,itemProgress:t});case Ee:default:return T()(K()("selectedIndex",t),O()(X()("id",n.correct),n.answers))}}},{key:"getFeedback",value:function(e){var t=e.isCorrect,n=e.selectedIndex,r=this.props.item,i=r.answers,o=r.feedback,a=r.feedbackCorrect,s=r.feedbackIncorrect;switch(r.feedbackType){case Ce:return W()("",[n,"feedback"],i);case Oe:return t?a:s;case Te:default:return o}}},{key:"hasNoBorder",value:function(){return E()(this.props.item.type,[xe,ke])}},{key:"getCanSubmit",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case xe:return Object(se.b)(K()("text",t));case ke:return Re(t)===F()(K()("answers",n));case Se:return Object(se.b)(K()("selectedIndices",t));case Ee:default:return Object(se.b)(K()("selectedIndex",t))}}},{key:"getIsComplete",value:function(e){var t=e.itemProgress;return Z()(!1,"isComplete",t)}},{key:"getItemProgress",value:function(e){var t=e.props,n=t.item,r=t.lessonProgress;return z()(["items",n.id],r)}},{key:"handleSubmit",value:function(e){var t=this,n=e.isCorrect,r=e.canSubmit,i=e.itemProgress;return function(){if(r){var e=t.state.startTime,o=t.props,a=o.id,s=o.item,u=o.retryAttempts,d=o.title,h=o.settings,p=h.passingScore,m=h.revealAnswers,v=void 0!==m&&m,g=h.passToContinue,y=o.settings,b=s.id,_=Z()(-1,"retryCount",y),w=T()(c()(_,10),c()(u,10)),x=l()(le.d).call(le.d,null,{finalRetryAttempt:w,id:a,isCorrect:n,itemId:b,passingScore:p,revealAnswers:v,passToContinue:g});if(Object(he.o)({duration:{startTime:e,stopTime:f()()},id:a,isCorrect:n,item:s,itemProgress:i,retryAttempts:u,title:d}),v)return Object(ae.a)(x());t.handleNext(x)}}}},{key:"handleNext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return[]},t=this.props,n=t.id,r=t.previousComponent,i=je(this.props),o=Ae(r);me.a.pause(),ve.Events.scrollEvent.register("end",function(){var t,r;ve.Events.scrollEvent.remove("end"),Object(ae.a)(a()(t=a()(r=[]).call(r,e())).call(t,Object(le.c)({activeIndex:I()(i),id:n})))}),ge.a.animateScroll.scrollTo(o,{containerId:"page-wrap",duration:500,smooth:!0})}},{key:"isNewlyActive",value:function(e){var t=e.prevProps,n=je(t),r=je(this.props),i=this.getStepIndex();return n!==r&&i===r}},{key:"renderType",value:function(t){var n=t.canSubmit,r=t.isActive,i=t.isComplete,o=t.isCorrect,a=t.itemProgress,s=t.onSubmit,c=t.revealAnswers,u=t.questionHtmlId,l=t.quizAcceptableResponses,d=t.quizAnswerPlaceholder,f=this.props,h=f.item,p=f.prefersKeyboardNavigation,m=r&&!i;switch(h.type){case xe:return e.createElement(ye.a,{allowTabNavigation:r,isComplete:i,isCorrect:o,onChange:this.handleFillIn,onEnterToSubmit:s,options:h.answers,revealAnswers:c,questionHtmlId:u,quizAcceptableResponses:l,quizAnswerPlaceholder:d,value:Z()("","text",a)});case ke:return e.createElement(ye.b,{allowTabNavigation:m,answers:h.answers,canSubmit:n,isActive:r,isComplete:i,matchIndices:h.matchIndices,matches:De(a),onEnterToSubmit:s,onMatch:this.handleMatch,prefersKeyboardNavigation:p,revealAnswers:c,titleIndices:h.titleIndices});case Se:return e.createElement(ye.d,{allowTabNavigation:r,correctIds:h.corrects,isComplete:i,onChange:this.handleResponseToggle,onEnterToSubmit:s,options:h.answers,prefersKeyboardNavigation:p,renderOptionText:function(t){var n=t.title;return e.createElement(pe.a,{value:n,allowTabNavigation:r,component:"span"})},revealAnswers:c,selectedIndices:K()("selectedIndices",a)});case Ee:default:return e.createElement(ye.c,{allowTabNavigation:m,correctId:h.correct,isComplete:i,onChange:this.handleChoiceSelect,onEnterToSubmit:s,options:h.answers,prefersKeyboardNavigation:p,questionHtmlId:u,renderOptionText:function(t){var n=t.title;return e.createElement(pe.a,{className:"quiz-multiple-choice-option__label brand--body",value:n,allowTabNavigation:r})},revealAnswers:c,selectedIndex:K()("selectedIndex",a)})}}},{key:"handleChoiceSelect",value:function(e){var t=e.selectedIndex,n=this.props,r=n.id,i=n.item.id;Object(ae.a)(Object(de.a)({id:r,itemId:i,selectedIndex:t}))}},{key:"handleResponseToggle",value:function(e){var t=e.optionIndex,n=this.props,r=n.id,i=n.item.id;Object(ae.a)(Object(fe.a)({id:r,itemId:i,selectedIndex:t}))}},{key:"handleFillIn",value:function(e){var t=this.props,n=t.id,r=t.item.id;Object(ae.a)(Object(ce.a)({id:n,itemId:r,text:e}))}},{key:"handleMatch",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.props,i=r.id,o=r.item.id;Object(ae.a)(Object(ue.a)({id:i,itemId:o,dragIndex:t,dropZoneIndex:n}))}},{key:"scrollTopIfNewlyActive",value:function(){var e=this.props.previousComponent,t=Ae(e);ge.a.animateScroll.scrollTo(t,{containerId:"page-wrap",smooth:!0})}},{key:"scrollActionsIfComplete",value:function(e){var t=this,n=e.prevProps,r=this.props.settings,o=je(this.props),a=this.getStepIndex()===o,s=Z()(!1,"revealAnswers",r);if(a&&s){var c=this.getItemProgress({props:n}),u=this.getIsComplete({itemProgress:c}),l=this.getItemProgress({props:this.props}),d=this.getIsComplete({itemProgress:l});!u&&d&&i()(function(){var e=t.feedback,n=e.offsetHeight,r=e.offsetTop;ge.a.animateScroll.scrollTo(n+r,{containerId:"page-wrap",smooth:!0})},750)}}}]),n}(e.Component),Me=_()(M.a),Pe=function(e){var t=e.item,n=e.itemProgress;return K()("selectedIndices",n)&&T()(ee()(Me,Z()([],"selectedIndices",n)),x()(ee()(Me),U()(x()(j()(O.a)(Z()([],"answers",t)),X()("id"))))(Z()([],"corrects",t)))},Ie=x()(ie.a,ne.a),Le=function(e){var t=e.item,n=e.itemProgress,r=t.settings,i=(void 0===r?{}:r).isCaseSensitive,o=void 0!==i&&i?ie.a:Ie;return K()("text",n)&&Y()(U()(K()("title")),U()(o),E()(o(K()("text",n))))(Z()([],"answers",t))},De=Z()({},"matches"),Re=x()(F.a,D.a,De)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r=n(26),i=n.n(r),o=n(83),a=n.n(o),s=n(60),c=n.n(s),u=n(77),l=n.n(u),d=n(73),f=n.n(d),h=n(49),p=n.n(h),m=n(160),v=n.n(m),g=n(57),y=function(e){var t=e.id,n=e.itemId,r=e.text;return function(e){return e(Object(g.g)({id:t,type:"quiz",updateFn:b({itemId:n,text:r})}))}},b=function(e){var t=e.itemId,n=e.text;return p()(l()(["items",t]),a()(v()(c.a,[n]),f()(["text"]),i()("text",n)))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(26),i=n.n(r),o=n(7),a=n.n(o),s=n(35),c=n.n(s),u=n(77),l=n.n(u),d=n(49),f=n.n(d),h=n(125),p=n.n(h),m=n(57),v=n(154),g=function(e){var t=e.id,n=e.itemId,r=e.dragIndex,i=e.dropZoneIndex;return function(e){return e(Object(m.g)({id:t,type:"quiz",updateFn:y({itemId:n,dragIndex:r,dropZoneIndex:i})}))}},y=function(e){var t=e.itemId,n=e.dragIndex,r=e.dropZoneIndex;return f()(l()(["items",t,"matches"]),a()(i()(n,r),p()(c()(r)),v.d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(26),i=n.n(r),o=n(77),a=n.n(o),s=n(49),c=n.n(s),u=n(57),l=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(Object(u.g)({id:t,type:"quiz",updateFn:d({itemId:n,selectedIndex:r})}))}},d=function(e){var t=e.itemId,n=e.selectedIndex;return c()(a()(["items",t]),i()("selectedIndex",n))}},function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(206),i=n.n(r),o=n(7),a=n.n(o),s=n(78),c=n.n(s),u=n(83),l=n.n(u),d=n(60),f=n.n(d),h=n(29),p=n.n(h),m=n(77),v=n.n(m),g=n(90),y=n.n(g),b=n(481),_=n.n(b),w=n(73),x=n.n(w),k=n(49),E=n.n(k),S=n(485),T=n.n(S),C=n(42),O=n.n(C),A=n(330),j=n.n(A),N=n(57),M=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(Object(N.g)({id:t,type:"quiz",updateFn:L({itemId:n,selectedIndex:r})}))}},P=function(e){return v()(["items",e])},I=function(e){return a()(P(e),y()("selectedIndices"))},L=function(e){var t,n=e.itemId,r=e.selectedIndex;return a()(O()((t=n,a()(f.a,T()(I(t)))),function(e){return E()(P(e),x()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return E()(I(t),a()(l()(c()(n),j()(_()(n)),i()(n)),O()(p.a,function(){return[]})))}({itemId:n,selectedIndex:r}))}},function(e,t,n){var r=n(2508)(n(2546));e.exports=r},function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),o=n(80),a=n(1305);t.a=function(t){var n=t.data,r=n.id,s=n.items,c=n.piles,u=n.type,l=t.labels,d=t.lessonHeader,f=t.lessonProgress,h=t.menuButtons,p=t.nextComponent,m=t.previousComponent;return e.createElement(o.c,{type:u},m,e.createElement(o.b,{type:u},h,d,e.createElement(o.a,{type:u},e.createElement(a.a,{id:r,items:s,labels:l,progress:f,piles:c}))),i()("isComplete",f)?p:null)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(23),i=(n(2548),n(7)),o=n.n(i),a=n(33),s=n(415),c=n(624);t.a=function(t){return e.createElement("section",{"aria-label":"Sorting Activity Content",className:"sorting-lesson"},e.createElement(c.a,Object(r.a)({},t,{onCardDrop:o()(a.a,s.d),onReplay:o()(a.a,s.b)})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(80),i=n(1307);t.a=function(t){var n=t.data,o=n.id,a=n.items,s=n.type,c=t.labels,u=t.lessonHeader,l=t.lessonProgress,d=t.loadMedia,f=t.menuButtons,h=t.nextComponent,p=t.previousComponent;return e.createElement(r.c,{type:s},p,e.createElement(r.b,{type:s},f,u,e.createElement(r.a,{type:s},e.createElement(i.a,{id:o,items:a,labels:c,lessonProgress:l,loadMedia:d}))),h)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return O});var r=n(23),i=n(9),o=n(6),a=n(10),s=n(8),c=n(11),u=n(630),l=n.n(u),d=(n(2549),n(7)),f=n.n(d),h=n(28),p=n.n(h),m=n(24),v=n.n(m),g=n(13),y=n.n(g),b=n(766),_=n.n(b),w=n(420),x=n(33),k=n(626),E=v()(y()("linePosition"),l.a),S=_()(E),T=f()(x.a,w.a),C=f()(x.a,w.a),O=function(t){function n(){return Object(i.a)(this,n),Object(a.a)(this,Object(s.a)(n).apply(this,arguments))}return Object(c.a)(n,t),Object(o.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.id,r=p()([0,"id"],t);T({id:n,payload:{activeIndex:0,itemId:r}})}},{key:"render",value:function(){var t=this.props.items;return e.createElement("section",{"aria-label":"Timeline Content",className:"timeline-lesson"},e.createElement(k.a,Object(r.a)({},this.props,{isLearner:!0,items:S(t),progress:y()("lessonProgress",this.props),onEnter:T,onLeave:C})))}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(80),i=n(1309);t.a=function(t){var n=t.data,o=t.labels,a=t.lessonHeader,s=t.lessonProgress,c=t.menuButtons,u=t.nextComponent,l=t.prefersKeyboardNavigation,d=t.previousComponent,f=t.enableVideoPlaybackSpeed;return e.createElement(r.c,{type:n.type},d,e.createElement(r.b,{type:n.type},c,a,e.createElement(r.a,null,e.createElement(i.a,{data:n,labels:o,lessonProgress:s,prefersKeyboardNavigation:l,enableVideoPlaybackSpeed:f}))),u)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return O});var r=n(3),i=n.n(r),o=n(27),a=n.n(o),s=n(9),c=n(10),u=n(8),l=n(6),d=n(11),f=(n(2550),n(2)),h=n.n(f),p=n(54),m=n.n(p),v=n(28),g=n.n(v),y=n(22),b=n.n(y),_=n(13),w=n.n(_),x=n(1),k=n.n(x),E=n(33),S=n(615),T=n(495),C=n(399),O=function(t){function n(e){var t;return Object(s.a)(this,n),(t=Object(c.a)(this,Object(u.a)(n).call(this,e))).state={load:!1},t}return Object(d.a)(n,t),Object(l.a)(n,null,[{key:"propTypes",get:function(){return{id:k.a.any,labels:k.a.object,lessonProgress:k.a.object.isRequired,media:k.a.object,recordMediaPlayheadPosition:k.a.func}}}]),Object(l.a)(n,[{key:"componentDidMount",value:function(){var e=this;a()(function(){e.setState({load:!0})},800)}},{key:"render",value:function(){var t,n=this.props,r=n.enableVideoPlaybackSpeed,o=n.labels,a=n.lessonProgress,s=this.props.data,c=s.id,u=s.media,l=s.settings,d=b()(0,["audioVideoPlayhead"],a),f=w()("currentTime",a),p=g()(["video","key"],u),m=g()(["lessonProgress","percentComplete"],a),v=g()(["video","poster"],u),y=h()("video-lesson",{"video-lesson--visible":this.state.load});return e.createElement("div",null,e.createElement("div",{className:"page__content-container"},e.createElement("section",{"aria-label":"Video Content",className:y},this.state.load?e.createElement("div",{className:"video-lesson__item"},e.createElement(C.a,{audioVideoPlayhead:d,canAdjustPlaybackSpeed:r,canRestrictSeek:l.forwardSeekRestricted,currentTime:f,id:c,labels:o,percentComplete:m,poster:v,progressChanged:A(c),recordMediaPlayheadPosition:i()(t=this.handleRecordMediaPlayheadPosition).call(t,this,c),src:p})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){Object(E.a)(Object(S.a)({lessonId:e,playheadPercentage:t}))}}],[{key:"defaultProps",get:function(){return{lessonProgress:{audioVideoPlayhead:0,currentTime:0,percentComplete:0}}}}]),n}(e.Component),A=m()(2,function(e,t){var n=t.currentTime,r=t.percentComplete;return Object(E.a)(Object(T.c)({id:e,currentTime:n,percentComplete:r}))})}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r=n(142),i=n.n(r),o=n(35),a=n.n(o),s=n(51),c=n.n(s),u=n(29),l=n.n(u),d=n(13),f=n.n(d),h=n(14),p=n.n(h),m=n(36),v=n.n(m),g=n(39),y=function(e,t){var n=e.completedAt,r=e.lessons,o=e.trackingQuizId,s=t.percentComplete,u=function(e,t){return e&&c()(p()("id",e),t)}(o,r);if(u&&100===s&&l()(n)){var d=u.settings,h=t.lessons[o],m=f()("score",h);Object(g.e)(function(e,t){return t>=v()(-1,"passingScore",e)}(d,m),m,o,function(e){var t=v()(-1,"retryCount",e);return a()(i()(t,10),i()(e.retryAttempts,10))}(d))}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return we});var r=n(23),i=n(163),o=n.n(i),a=n(4),s=n.n(a),c=n(97),u=n.n(c),l=n(3),d=n.n(l),f=n(158),h=n.n(f),p=n(18),m=n.n(p),v=n(9),g=n(10),y=n(8),b=n(5),_=n(6),w=n(11),x=n(177),k=n.n(x),E=n(26),S=n.n(E),T=n(2),C=n.n(T),O=n(48),A=n.n(O),j=n(44),N=n.n(j),M=n(60),P=n.n(M),I=n(32),L=n.n(I),D=n(28),R=n.n(D),F=n(24),B=n.n(F),U=n(14),q=n.n(U),z=n(125),H=n.n(z),W=n(128),V=n.n(W),Y=n(364),G=n(273),K=n(614),$=n(633),X=n(634),Q=n(418),Z=n(191),J=n(195),ee=n(227),te=n(1),ne=n.n(te),re=n(635),ie=n(334),oe=n(21),ae=n(64),se=n(153),ce=n(57),ue=n(17),le=n(33),de=n(409),fe=n(75),he=n(224),pe=n(367),me=n(275),ve=n(212),ge=n(655),ye=k()(L.a),be=H()(q()("type","section")),_e=function(e){return function(){if(e){var t=document.querySelector(".page-wrap");Object(ue.c)(t)}else{document.getElementById("no-menu").focus()}}},we=function(t){function n(e){var t,r,i,o,a,s,c,u,l,f,p,_;Object(v.a)(this,n),_=Object(g.a)(this,Object(y.a)(n).call(this,e));var w=e.course,x=e.lessons,k=e.match.params;return _.state={activeSections:m()(t=h()(x).call(x,function(e){return"section"===e.type})).call(t,function(e){return e.id}),isMobile:!1,isProgressSummary:oe.e&&"progress-summary"===k.id,isPreviewLesson:"preview-lesson"===k.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:Object(me.c)(w),mobileMenuIsOpen:!1,selectedIndex:Object(ve.b)(k.id)(x),sidebarEnabled:Object(me.b)(w),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},_.forwardTransition=!0,_.root=window,_.closeMenu=d()(r=_.closeMenu).call(r,Object(b.a)(_)),_.handleLessonsListRowClick=d()(i=_.handleLessonsListRowClick).call(i,Object(b.a)(_)),_.handleMenuToggle=d()(o=_.handleMenuToggle).call(o,Object(b.a)(_)),_.handleNavigateDirection=d()(a=_.handleNavigateDirection).call(a,Object(b.a)(_)),_.handleNavigate=d()(s=_.handleNavigate).call(s,Object(b.a)(_)),_.handleNavHover=d()(c=_.handleNavHover).call(c,Object(b.a)(_)),_.handleStorylineFullscreen=d()(u=_.handleStorylineFullscreen).call(u,Object(b.a)(_)),_.renderLesson=d()(l=_.renderLesson).call(l,Object(b.a)(_)),_.renderSearchLesson=d()(f=_.renderSearchLesson).call(f,Object(b.a)(_)),_.setIsMobileState=d()(p=_.setIsMobileState).call(p,Object(b.a)(_)),_}return Object(w.a)(n,t),Object(_.a)(n,null,[{key:"propTypes",get:function(){return{children:ne.a.node,course:ne.a.object,courseProgress:ne.a.object,labels:ne.a.object,lessons:ne.a.array,location:ne.a.object.isRequired,match:ne.a.object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),Object(_.a)(n,[{key:"componentDidMount",value:function(){this.setIsMobileState(),this.root.addEventListener("resize",this.resizeRef=V()(this.setIsMobileState,1e3)),this.swipeEvents=Object(ie.a)(this.node,this,this.handleMenuToggle,Function.prototype),this.setFocusIfNecessary()}},{key:"componentWillReceiveProps",value:function(e){if(e.match.params.id!==this.props.match.params.id){var t=A()(Object(ve.a)(e.lessons,e.match.params.id),this.state.activeSections),n=oe.e&&"progress-summary"===e.match.params.id;this.setState({activeSections:t,isProgressSummary:n})}}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef),this.swipeEvents.removeListeners()}},{key:"setFocusIfNecessary",value:function(){var e=this.props.sessionPreferences.startedCourseWithLessonSelected,t=this.state.sidebarEnabled,n=_e(t);t?e?(n(),Object(le.a)(Object(se.d)(!1))):this.sidebar.focus():n()}},{key:"handleLessonListRowComplete",value:function(e,t,n,r){var i=e.id,o=e.type,a=this.props,s=a.course,c=a.courseProgress,u=n.isRestricted;if(!Object(me.a)(s)&&!u&&"quiz"!==o)return r.preventDefault(),r.stopPropagation(),R()(["lessons",i,"isComplete"],c)?Object(le.a)(Object(ce.e)({id:i,type:o})):Object(le.a)(Object(ce.b)({id:i,type:o}))}},{key:"handleNavigateDirection",value:function(){return this.forwardTransition?"page-transition":"page-transition-back"}},{key:"handleMenuToggle",value:function(){var e=this,t=this.state,n=t.menuIsOpen,r=t.mobileMenuIsOpen;this.setState({menuIsOpen:!n,mobileMenuIsOpen:Object(pe.c)()&&!r,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},function(){e.resetSwipeListeners()})}},{key:"handleNavigate",value:function(e){var t=this,n=this.props.lessons,r=this.state,i=r.isProgressSummary,o=r.selectedIndex,a=Object(ve.b)(e)(n);this.forwardTransition=!i&&("progress-summary"===e||o<a),this.setState({mobileMenuIsOpen:!1,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null,selectedIndex:a},function(){t.resetSwipeListeners()})}},{key:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"handleToggleSection",value:function(e){var t=this.state.activeSections;u()(t).call(t,e.id)?this.setState({activeSections:h()(t).call(t,function(t){return t!==e.id})}):this.setState({activeSections:s()(t).call(t,e.id)})}},{key:"resetSwipeListeners",value:function(){this.state.mobileMenuIsOpen?this.swipeEvents.addListeners():this.swipeEvents.removeListeners()}},{key:"allowTabNavigation",value:function(){var e=this.state,t=e.isMobile,n=e.isPreviewLesson,r=e.menuIsOpen,i=e.mobileMenuIsOpen,o=e.sidebarEnabled;return!n&&o&&(t?i:r)}},{key:"allowTabNavigationForLesson",value:function(e){var t=this.state.activeSections;return this.allowTabNavigation()&&(!e||!e.sectionId||u()(t).call(t,e.sectionId))}},{key:"handleLessonsListRowClick",value:function(e){var t=e.lesson,n=e.id;"section"===t.type?this.handleToggleSection(t):this.handleNavigate(n)}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderLesson",value:function(t,n,r,i){var a,c=this.props,l=c.course,f=c.courseProgress,h=c.labels,p=c.lessons,v=c.location,g=this.state,y=g.activeSections,b=g.isRestrictedNavHovering,_=g.sidebarEnabled,w=r.id,x=r.type,k=r.title,E=r.icon,S=Object(fe.b)({course:l,courseProgress:f,lesson:r,restrictingQuiz:n}),T=Object(de.a)(f,w),C=T.percentComplete,O=T.passedQuiz;if(r.children){var A,j,N,M,P=u()(y).call(y,r.id),I=d()(A=this.renderLesson).call(A,this,t,n),L="section-".concat(w),D=s()(j="Course Section for ".concat(k,", with ")).call(j,r.children.length," Lessons");return e.createElement("div",{key:"item-".concat(w)},e.createElement(Q.a,{allowTabNavigation:t,allowTooltip:!b,focusLessonContent:_e(_),icon:E,id:w,isSectionActive:P,labels:h,lesson:r,lessonIndex:o()(p).call(p,r),location:v,markComplete:l.markComplete,onClick:this.handleLessonsListRowClick,onComplete:d()(N=this.handleLessonListRowComplete).call(N,this,r,i,S),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:O,percentComplete:C,restrictions:S,sectionId:L,title:k,type:x}),e.createElement(re.a,{isActive:P,sectionId:L,sectionLabel:D},m()(M=r.children).call(M,I)))}return e.createElement(Q.a,{allowTabNavigation:this.allowTabNavigationForLesson(r),allowTooltip:!b,focusLessonContent:_e(_),icon:E,id:w,key:"item-".concat(w),labels:h,lesson:r,lessonIndex:o()(p).call(p,r),location:v,markComplete:l.markComplete,onClick:this.handleLessonsListRowClick,onComplete:d()(a=this.handleLessonListRowComplete).call(a,this,r,i,S),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:O,percentComplete:C,restrictions:S,title:k,type:x})}},{key:"renderMenuButtons",value:function(){var t=this.props,n=t.course,r=t.labels,i=this.state.sidebarEnabled,o=n.lmsOptions,a=(void 0===o?{}:o).enableExitCourse,s=r.courseExit,c=this.allowTabNavigation(),u="Toggle ".concat("Course Overview");return e.createElement("div",{className:"page__menu"},i&&e.createElement(Y.a,{ariaExpanded:c,ariaLabel:u,ariaControls:"courseOverviewSidebar",icon:"menu",menu:!0,onClick:this.handleMenuToggle,onlyIcon:!0,tabIndex:ue.a}),e.createElement(G.a,{enableExitCourse:a,className:"courseExit courseExit--mobile",text:s}),e.createElement("div",{id:"no-menu",tabIndex:ue.i}))}},{key:"renderSidebar",value:function(t){var n,r=this,i=t.allowTabNavigation,o=t.restrictingQuiz,a=this.props,s=a.course,c=a.courseProgress,u=a.labels,l=a.lessons,f=a.search,h=a.sessionPreferences,p=this.state.sidebarEnabled,m=u.courseSkipToLesson,v=f.active,g=d()(n=this.renderLesson).call(n,this,i,o);return e.createElement(ge.b,{hidden:!i,id:"courseOverviewSidebar",label:"Course Overview"},e.createElement(J.b,{allowSearch:!Object(me.a)(s)&&s.allowSearch,courseTitle:s.title,coverImage:s.coverImage,allowTabNavigation:i,focusLessonContent:_e(p),labels:u,lessons:l,searchActive:v,sessionPreferences:h,ref:function(e){r.sidebar=e},skipLinkText:m},e.createElement(ee.b,{lessonComplete:u.lessonComplete,value:c.percentComplete}),e.createElement($.a,{labels:u,search:f},v?this.renderSearchResults(i):ye(g,Object(ve.c)(l)))))}},{key:"render",value:function(){var t=this,n=this.props,i=n.applySafariLandscapeHack,o=n.course,a=n.courseProgress,s=n.labels,c=n.lessons,u=n.location,l=n.match,d=n.partnerContent,f=n.previewType,h=n.safariLandscapeHackOffset,p=n.search,m=n.sessionPreferences,v=this.state,g=v.isPreviewLesson,y=v.isProgressSummary,b=v.isRestrictedNavHovering,_=v.menuIsOpen,w=v.mobileMenuIsOpen,x=v.sidebarEnabled,k=o.lmsOptions,E=(void 0===k?{}:k).enableExitCourse,T=s.courseExit,O=function(e){var t=e.course,n=e.search;return B()(S()("lessons",n.lessons),S()("lessonsOnly",be(n.lessons)))(t)}({course:o,search:p}),A=this.allowTabNavigation(),j=this.renderMenuButtons(),N=C()("lesson",{"lesson--preview":g,"lesson--open":_&&!g,"lesson--open-mobile":w&&!g}),M=Object(he.a)({course:o,courseProgress:a}),I=i?{paddingBottom:h}:{},L={allowRestrictedTooltip:!b,course:p.active&&!P()(p.lessons)?O:o,focusLessonContent:_e(x),handleStorylineFullscreen:this.handleStorylineFullscreen,isProgressSummary:y,key:u.pathname,labels:s,lessonProgress:a.lessons[l.params.id],match:l,menuButtons:j,menuOpen:!g&&_,mobileMenuOpen:w,navigateDirection:this.handleNavigateDirection,onNavigate:this.handleNavigate,onNavMouse:this.handleNavHover,partnerContent:d,previewType:f,courseProgress:a,sessionPreferences:m,sidebarEnabled:x},D=y?{courseProgress:a,lessons:c}:{};return e.createElement(ge.c,{className:N,contentRef:function(e){return t.node=e}},x&&this.renderSidebar({allowTabNavigation:A,restrictingQuiz:M}),e.createElement("div",{className:"lesson__wrap",ref:function(e){return t.wrap=e}}),e.createElement(ge.a,{onMobileMenuActiveClick:this.closeMenu},e.createElement("div",{className:"page-view page-view--visible"},e.createElement(G.a,{enableExitCourse:E,className:"courseExit courseExit--standard",text:T}),e.createElement(ae.TransitionGroup,{component:"div",className:"page-wrap",id:"page-wrap",style:I},e.createElement(Z.a,{key:u.pathname},e.createElement(K.a,Object(r.a)({},L,D)))))))}},{key:"closeMenu",value:function(){return this.state.mobileMenuIsOpen?this.handleMenuToggle:Function.prototype}},{key:"renderSearchLesson",value:function(t,n,r){var i=this.props.labels,o=this.state.sidebarEnabled,a=n.icon,s=n.id,c=n.results,u=n.title,l=n.type;return e.createElement(X.a,{allowTabNavigation:t,focusLessonContent:_e(o),icon:a,id:s,key:"item-".concat(s),labels:i,lessonIndex:r,onClick:this.handleNavigate,onMobileActiveClick:this.closeMenu,resultsCount:c,title:u,type:l})}},{key:"renderSearchResults",value:function(e){var t,n=this.props.search.activeLessons,r=d()(t=this.renderSearchLesson).call(t,this,e);return B()(N()(fe.g),ye(r))(n)}},{key:"setIsMobileState",value:function(){var e=this.state.lastScreen,t=getComputedStyle(this.node,":after").content.replace(/"/g,"");if(t!==e){var n="mobile"===t;this.setState({isMobile:n,lastScreen:t})}}}]),n}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(62),i=n(225),o=n(15),a=n(30),s=n.n(a),c=n(67),u=Object(c.c)({},Object(o.a)({},i.a,function(e,t){var n=t.labelSet;return s()(e,n)})),l=n(57),d=n(48),f=n.n(d),h=n(121),p=n.n(h),m=n(27),v=n.n(m),g=n(18),y=n.n(g),b=n(132),_=n.n(b),w=n(4),x=n.n(w),k=n(7),E=n.n(k),S=n(47),T=n.n(S),C=n(207),O=n.n(C),A=n(82),j=n.n(A),N=n(32),M=n.n(N),P=(n(69),n(1202)),I=n.n(P),L=(n(1203),n(21)),D=(M()(T()(f.a)(":".concat("n3,n4,i4,n7,n9"))),E()(O()(","),j.a),function(e,t){var n=new FontFace(t.name,e,{family:t.name,style:t.style,weight:t.weight});return n.load().then(function(){return document.fonts.add(n)})}),R=function(e,t){var n,r,i,o=document.createElement("style");return o.innerText=x()(n=x()(r=x()(i="@font-face { font-family: '".concat(t.name,"'; src: ")).call(i,e,"; font-weight: ")).call(r,t.weight,"; font-style: ")).call(n,t.style,"; }"),document.head.appendChild(o),new I.a(t.name,{style:t.style,weight:t.weight}).load()},F=function(e){var t="url(".concat(Object(L.f)(e),") format('woff')");return("fonts"in document?D:R)(t,e)},B=n(181),U=n(33),q=(f()("rise/fonts/")("LOAD_FONTS"),Object(c.c)({},Object(o.a)({},i.a,function(e,t){var n=t.fonts;return s()(e,p()(z)(n))}))),z=function(e){return function(e,t){var n,r=_.a.all(y()(e).call(e,F)),i=new _.a(function(e){n=v()(e,5e3)});return _.a.race([r,i]).finally(function(){clearTimeout(n),t()})}(e,function(){return Object(U.a)(Object(B.e)(!0))})},H=n(169),W={hasModernOverview:Object(H.a)("modernOverview"),isPreview:"preview"===window.viewType},V=Object(c.c)(W,{}),Y=n(644),G=n(26),K=n.n(G),$=n(196),X=n(115),Q=n.n(X),Z=function(e,t){return K()(t.id,t,e)},J=Object($.handle)({},Object(o.a)({},i.a,function(e,t){var n=t.media;return Q()(Z,{},n)})),ee=n(206),te=n.n(ee),ne=n(89),re=n.n(ne),ie=n(117),oe=n.n(ie),ae=n(14),se=n.n(ae),ce=n(471),ue=n.n(ce),le=n(610),de=function(e,t){var n=oe()(se()("id",t.id),e.content),r=-1===n?te()(t):ue()(n,t);return re()({content:r},e)},fe=Object(o.a)({},le.a,function(e,t){return Q()(de,e,t)}),he=Object($.handle)({content:[]},fe),pe=n(309),me=n(153),ve=L.e?{learningPathUpNext:Y.a}:{};t.a=Object(r.a)({course:i.b,courseLabels:u,courseProgress:l.d,fonts:q,global:V,media:J,partnerContent:he,search:pe.a,sessionPreferences:me.a,status:B.a},ve)},function(e,t,n){"use strict";var r,i=n(97),o=n.n(i),a=n(62),s=n(91),c=n(53),u=n.n(c),l=n(18),d=n.n(l),f=n(3),h=n.n(f),p=n(4),m=n.n(p),v=n(9),g=n(6),y=n(10),b=n(8),_=n(11),w=(n(2062),n(0)),x=n.n(w),k=n(120),E=n(7),S=n.n(E),T=n(193),C=n.n(T),O=n(35),A=n.n(O),j=n(44),N=n.n(j),M=n(51),P=n.n(M),I=n(117),L=n.n(I),D=n(88),R=n.n(D),F=n(131),B=n.n(F),U=n(45),q=n.n(U),z=n(30),H=n.n(z),W=n(73),V=n.n(W),Y=n(22),G=n.n(Y),K=n(24),$=n.n(K),X=n(13),Q=n.n(X),Z=n(14),J=n.n(Z),ee=n(129),te=n.n(ee),ne=n(69),re=n.n(ne),ie=n(33),oe=n(25),ae=n(74),se=n(306),ce=n(615),ue=n(1206),le=n(1263),de=n(632),fe=n(360),he=n.n(fe),pe=n(113),me=n.n(pe),ve=n(264),ge=n.n(ve),ye=n(182),be=me.a.mark(function e(t){var n,r,i,o,a,s,c,u,l;return me.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.querySelectorAll("input, textarea, select, button, a, [tabindex]"),r=!0,i=!1,o=void 0,e.prev=4,a=ge()(n);case 6:if(r=(s=a.next()).done){e.next=15;break}if(c=s.value,u=window.getComputedStyle(c),l=u.display,"-1"===c.getAttribute("tabindex")||"none"===l){e.next=12;break}return e.next=12,c;case 12:r=!0,e.next=6;break;case 15:e.next=21;break;case 17:e.prev=17,e.t0=e.catch(4),i=!0,o=e.t0;case 21:e.prev=21,e.prev=22,r||null==a.return||a.return();case 24:if(e.prev=24,!i){e.next=27;break}throw o;case 27:return e.finish(24);case 28:return e.finish(21);case 29:case"end":return e.stop()}},e,null,[[4,17,21,29],[22,,24,28]])}),_e=Object(ye.invoker)(1,"getAttribute"),we=Object(ye.either)(Object(ye.equals)("0"),ye.isNil),xe=Object(ye.when)(we,Object(ye.always)(1/0)),ke=Object(ye.compose)(xe,_e("tabindex")),Ee=Object(ye.sortBy)(ke),Se=Object(ye.compose)(ye.head,Ee,he.a,be),Te=n(17),Ce=n(59),Oe=n(15),Ae=n(78),je=n.n(Ae),Ne=n(47),Me=n.n(Ne),Pe=n(164),Ie=n.n(Pe),Le=n(125),De=n.n(Le),Re=n(166),Fe=(r={},Object(Oe.a)(r,Re.a.FILL_IN_THE_BLANK,"fillin"),Object(Oe.a)(r,Re.a.MATCHING,"matching"),Object(Oe.a)(r,Re.a.MULTIPLE_CHOICE,"multiple choice"),Object(Oe.a)(r,Re.a.MULTIPLE_RESPONSE,"multiple response"),r),Be=Ce.b.lessonPreview,Ue=Ce.b.lessonEdit,qe=["timeline"],ze=function(e){function t(){var e,n,r;Object(v.a)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=Object(y.a)(this,(e=Object(b.a)(t)).call.apply(e,m()(n=[this]).call(n,o)))).lastDivRef=Object(w.createRef)(),r.state={randomQuestion:null},r}return Object(_.a)(t,e),Object(g.a)(t,[{key:"componentDidMount",value:function(){var e,t;this.handleKeyDown=h()(e=this.handleKeyDown).call(e,this),this.handleClick=h()(t=this.handleClick).call(t,this),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("click",this.handleClick)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("click",this.handleClick)}},{key:"componentDidUpdate",value:function(){this.scrollIfContinued()}},{key:"handleKeyDown",value:function(e){if(this.lastCompletedContinueIndex&&Object(oe.l)(e)){e.preventDefault();for(var t=!e.shiftKey,n=this.lastCompletedContinueIndex,r=document.querySelector(".page-wrap"),i=tt(t),o=rt(t);i(n,this.props.blocks.length);){n=nt(n,t);var a=G()(null,["blocks",n,"id"],this.props);if(o(r.querySelector('[data-block-id="'.concat(a,'"]'))))break}delete this.lastCompletedContinueIndex}}},{key:"handleClick",value:function(){delete this.lastCompletedContinueIndex}},{key:"render",value:function(){this.dividerNumber=0;var e=this.props.labels.lessonContentLandmark;return x.a.createElement("section",{"aria-label":e,className:"blocks-lesson","data-ba":Be.container},this.renderBlocks(),x.a.createElement("div",{className:"noOutline",ref:this.lastDivRef,tabIndex:Te.i}))}},{key:"getBlockType",value:function(e){var t,n,r=e.variant,i=m()(t="".concat(e.family," ")).call(t,r);"divider numbered divider"===i&&this.dividerNumber++;var o=this.props,a=o.animateBlockEntrance,s=o.color,c=o.courseId,u=o.courseTitle,l=o.enableVideoPlaybackSpeed,d=o.handleNavigate,f=o.handleStorylineFullscreen,p=o.lessonId,v=o.loadMedia,g=o.labels,y=o.lessonProgress,b=o.match,_=o.menuOpen,w=o.partnerContent,k=o.publishedAt,E=o.prefersKeyboardNavigation,T=o.previewType,C=o.tenantId,O="audio"===r||"video"===r?{lessonId:p,blockId:e.blockId,itemId:e.items[0].id}:{},A=H()(V()(["type"],e),{animateBlockEntrance:a,color:s,courseId:c,courseTitle:u,dividerNumber:this.dividerNumber,enableVideoPlaybackSpeed:l,handleNavigate:d,handleStorylineFullscreen:f,isLearner:!0,labels:g,lessonId:p,loadMedia:v,match:b,menuOpen:_,partnerContent:w,prefersKeyboardNavigation:E,previewType:T,progress:y,publishedAt:k,recordMediaPlayheadPosition:h()(n=this.handleRecordMediaPlayheadPosition).call(n,this,O),tenantId:C});if("knowledgeCheck draw from question bank"===i){var j=null;this.state.randomQuestion||(j=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return S()(function(e){return e[Math.floor(Math.random()*e.length)]},De()(Ie()(Me()(je.a)(i),"id")))(n)}(A.items[0]),this.setState({randomQuestion:j})),j&&(A.originalVariant=A.variant,A.variant=Fe[j.type],A.items=[j])}return x.a.createElement(ue.a,A)}},{key:"renderBlocks",value:function(){var e,t;return d()(e=function e(t,n,r){var i;if(t.length){var o=u()(t).call(t,-1)[0],a=G()(!1,["items",o.id,"isComplete"],r);if(!a)return t}var s=d()(i=Object(ae.j)(We(r),u()(n).call(n,t.length))).call(i,He);return s.length?e(m()(t).call(t,s),n,r):t}([],this.props.blocks,this.props.lessonProgress)).call(e,h()(t=this.buildBlock).call(t,this,this.props.lessonProgress))}},{key:"buildBlock",value:function(e,t,n,r){var i,o,c,l=function(e,t,n){var r=e.id,i=Object(s.a)(e,["id"]);if("continue"===i.family){var o=G()("",["items",0,"type"],i);return H()(Object(a.a)({blockId:r},i),{canContinue:Ze({continueType:o,blocks:t,progress:n}),lessonProgress:n})}return Object(a.a)({blockId:r},i)}(t,u()(r).call(r,0,-1),e),d=this.getBlockType(l),f=l.blockId,p=l.family,m=l.variant,v=l.items,g="block-".concat(f),y=G()(!1,["items",f,"isComplete"],e);return Ve({family:p,isComplete:y})?null:Ye({family:p,variant:m})?x.a.createElement("div",{className:"noOutline","data-ba":Ue.block,"data-ba-index":n,key:g,"data-block-id":f,tabIndex:Te.i},x.a.createElement(le.a,{onStep:h()(o=this.handleStep).call(o,this,p,m,f,v),isFirstLesson:this.props.isFirstLesson,onViewed:h()(c=this.handleViewed).call(c,this,v,f)},d)):x.a.createElement("div",{className:"noOutline","data-ba":Ue.block,"data-ba-index":n,key:g,"data-block-id":f,tabIndex:Te.i},x.a.createElement(de.a,{key:g,onViewed:h()(i=this.handleViewed).call(i,this,v,f),isFirstLesson:this.props.isFirstLesson},d))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){var n=e.lessonId,r=e.blockId,i=e.itemId;Object(ie.a)(Object(ce.a)({itemId:i,blockId:r,lessonId:n,playheadPercentage:t}))}},{key:"handleStep",value:function(e,t,n,r,i){var o=this.props,a=o.blocks,s=o.lessonId,c=o.lessonProgress,u=o.nextLesson,l=o.history,d="draw from question bank"===t?r[0]:P()(J()("id",i),r),f=G()(!1,["items",i,"isComplete"],c),h=$()(B.a,J()("id",n))(a);"continue"!==e||f||(this.continueFromId=n),Object(ie.a)(Object(se.e)({id:n,lessonId:s,items:[d]})),"continue"===e&&h&&u&&l.push("/lessons/".concat(encodeURIComponent(u)))}},{key:"handleViewed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.props.lessonId;Object(ie.a)(Object(se.e)({id:t,lessonId:n,items:e}))}},{key:"scrollIfContinued",value:function(){if(this.continueFromId){var e=this.props.blocks,t=L()(J()("id",this.continueFromId),e),n=R()(t),r=G()(null,["blocks",n,"id"],this.props);if(r){var i=document.querySelector(".page-wrap"),o=i.querySelector('[data-block-id="'.concat(r,'"]')),a=o?o.getBoundingClientRect().top:0;if(te.a.animateScroll.scrollTo(a+i.scrollTop,{smooth:!0,containerId:"page-wrap"}),this.lastCompletedContinueIndex=t,o){var s=Se(o);s?s.focus():o.focus()}}else{var c=this.lastDivRef.current;c&&c.focus()}delete this.continueFromId}}}]),t}(x.a.Component);t.a=Object(k.f)(ze);function He(e,t,n){var r=u()(n).call(n,-1)[0]||{},i="continue"===r.family&&G()(!1,["items",0,"type"],r);return"continue"===e.variant||i&&("completeBlock"!==i||t===n.length-1||t===n.length-2)?H()(e,{requiresInteraction:!0}):e}var We=function(e){return function(t){var n=t.family,r=t.items,i=G()({},0,r);return"continue"===n&&!G()(!1,["items",i.id,"isComplete"],e)}},Ve=function(e){var t=e.family,n=e.isComplete;return"continue"===t&&n},Ye=function(e){var t=e.family,n=e.variant;return(/interactive|flashcard|knowledge|continue|360/.test(t)||/carousel|centered|checkboxes|audio|video|storyline/.test(n))&&!o()(qe).call(qe,n)},Ge=N()(J()("isComplete",!0)),Ke=S()(re.a,Q()("items")),$e=S()(Ge,Ke),Xe=S()(q.a,$e),Qe=S()(Q()("id"),B.a),Ze=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return A()(q()(n),Xe(r));case"completeBlock":return G()(!1,["items",Qe(n),"isComplete"],r);default:return!0}},Je=function(e,t){return e<t},et=function(e){return e>=0},tt=function(e){return e?Je:et},nt=function(e,t){return t?R()(e):C()(e)},rt=function(e){return e?Te.c:Te.d}},function(e,t,n){"use strict";var r,i=n(15),o=n(97),a=n.n(o),s=n(3),c=n.n(s),u=n(4),l=n.n(u),d=n(9),f=n(6),h=n(10),p=n(8),m=n(5),v=n(11),g=n(0),y=n.n(g),b=n(425),_=n.n(b),w=n(1280),x=n.n(w),k=n(1281),E=n.n(k),S=n(152),T=n.n(S),C=n(91),O=n(62),A=n(617),j=n.n(A),N=n(1290),M=n.n(N),P=n(1283),I=n.n(P),L=n(1287),D=n.n(L),R=n(800),F=n.n(R),B=n(1289),U=n.n(B),q=n(1285),z=n.n(q),H=n(1282),W=n.n(H),V=n(1286),Y=n.n(V),G=n(1288),K=n.n(G),$=n(1284),X=n.n($),Q=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var Z=W()(Q),J=function(e){return!j()(Number(e))},ee=I()(2,function(e){var t=X()(J,z()(e));return Y()(Z,D()({h:t,height:t,w:t,width:t}),K.a,U()(F()(":")),F()(","))}),te=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 l()(r=l()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,ee(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var ne="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 re=M()(l()(r=["imagesUri","imageKey","hidpi","style"]).call(r,Q)),ie=function(e){return Object(O.a)({},e.style,te(e))},oe=function(e){var t=e.alt,n=Object(C.a)(e,["alt"]);return y.a.createElement("span",T()({"aria-label":t,className:ne,role:"img",style:ie(n)},re(n)))};oe.defaultProps={alt:"Image",imagesUri:"",style:{}};var ae=oe,se=n(46),ce=n(150),ue=n.n(ce),le=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.62L13.37.17a.5.5 0 0 1 .63.483v8.581a1 1 0 0 1-.74.966L8 11.62v-10zm-1.57 0v10L1.169 10.2a1 1 0 0 1-.74-.966V.653A.5.5 0 0 1 1.06.17l5.37 1.45z"}))};le.displayName="IconBookFilled",le.defaultProps={desc:"Solid colored book",height:"12",title:"Book",width:"14"};var de=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 11 8",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))};de.displayName="IconCheckMark",de.defaultProps={desc:"A check mark",height:"8",title:"Check mark",width:"11"};var fe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cct-".concat(u),d="ccd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 15 15",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 15a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zM5.458 7.008a.89.89 0 0 0-1.208 0 .776.776 0 0 0 0 1.141l1.708 1.615a.89.89 0 0 0 1.208 0l3.584-3.386a.776.776 0 0 0 0-1.142.89.89 0 0 0-1.208 0l-2.98 2.816-1.104-1.044z"}))};fe.displayName="IconCheckmarkCircle",fe.defaultProps={desc:"Checkmark inside of a solid circle",height:"15",title:"Checkmark Circle",width:"15"};var he=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 8 5",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M1.46.582a.65.65 0 1 0-.92.919l3 3a.65.65 0 0 0 .92 0L7.5 1.46a.65.65 0 1 0-.92-.92L4 3.122 1.46.582z"}))};he.displayName="IconChevronDown",he.defaultProps={desc:"Chevron pointing downwards",height:"5",title:"Chevron down",width:"8"};var pe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 6 10",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M5.707 1.707A1 1 0 0 0 4.293.293l-4 4a1 1 0 0 0 0 1.414l4 4a1 1 0 0 0 1.414-1.414L2.414 5l3.293-3.293z"}))};pe.displayName="IconChevronLeftRounded",pe.defaultProps={desc:"Rounded chevron pointing left",height:"10",title:"Rounded chevron left",width:"6"};var me=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 13 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{clipRule:"evenodd",d:"M6.5 11.375C3.81875 11.375 1.625 9.18125 1.625 6.5C1.625 3.81875 3.81875 1.625 6.5 1.625C9.18125 1.625 11.375 3.81875 11.375 6.5C11.375 9.18125 9.18125 11.375 6.5 11.375ZM6.5 0C2.925 0 0 2.925 0 6.5C0 10.075 2.925 13 6.5 13C10.075 13 13 10.075 13 6.5C13 2.925 10.075 0 6.5 0Z",fill:"currentColor",fillRule:"evenodd"}),y.a.createElement("path",{clipRule:"evenodd",d:"M7.3125 3.25H5.6875V7.3125H9.75V5.6875H7.3125V3.25Z",fill:"currentColor",fillRule:"evenodd"}))};me.displayName="IconClock",me.defaultProps={desc:"An analog clock",height:"13",title:"Clock",width:"13"};var ve=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 14",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{transform:"translate(-18 -659)"},y.a.createElement("path",{fill:"currentColor",d:"M31.7,659.3 C31.3,658.9 30.7,658.9 30.3,659.3 L25,664.6 L19.7,659.3 C19.3,658.9 18.7,658.9 18.3,659.3 C17.9,659.7 17.9,660.3 18.3,660.7 L23.6,666 L18.3,671.3 C17.9,671.7 17.9,672.3 18.3,672.7 C18.5,672.9 18.7,673 19,673 C19.3,673 19.5,672.9 19.7,672.7 L25,667.4 L30.3,672.7 C30.5,672.9 30.8,673 31,673 C31.2,673 31.5,672.9 31.7,672.7 C32.1,672.3 32.1,671.7 31.7,671.3 L26.4,666 L31.7,660.7 C32.1,660.3 32.1,659.7 31.7,659.3"})))};ve.displayName="IconClose",ve.defaultProps={desc:"Image of an X",height:"14",title:"Close",width:"14"};var ge=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59335 0.966685L13.9267 3.63335C14.3798 3.85851 14.6664 4.32072 14.6667 4.82669V11.18C14.6664 11.686 14.3798 12.1482 13.9267 12.3734L8.59335 15.04C8.21777 15.228 7.77559 15.228 7.40001 15.04L2.06668 12.3734C1.61401 12.1453 1.32982 11.6802 1.33335 11.1734V4.82669C1.33361 4.32072 1.62024 3.85851 2.07335 3.63335L7.40668 0.966685C7.78043 0.780962 8.21959 0.780962 8.59335 0.966685Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),y.a.createElement("path",{d:"M1.54669 4.10669L8.00003 7.33336L14.4534 4.10669",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),y.a.createElement("path",{d:"M8 15.1733V7.33331",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}))};function ye(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))}}ge.displayName="IconCube",ge.defaultProps={desc:"Image of a cube",height:"16",title:"Cube",width:"16"};ye(".IconError_iconError__1pbVY{color:#d0021b}",{insertAt:"top"});var be=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 18 18",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",d:"m9 0a9 9 0 0 0-9 9 9 9 0 0 0 9 9 9 9 0 0 0 9-9 9 9 0 0 0-9-9zm-0.73438 4h1.6309v4.0039c0 0.425-0.0205 0.841-0.0625 1.25-0.042 0.408-0.097969 0.84083-0.16797 1.2988h-1.1699c-0.07-0.457-0.12597-0.89083-0.16797-1.2988a12.206 12.206 0 0 1-0.0625-1.25v-4.0039zm0.79883 8.1133a1.06 1.06 0 0 1 0.74805 0.30859 1.06 1.06 0 0 1 0.30859 0.74805 1.07 1.07 0 0 1-0.30859 0.75 1.077 1.077 0 0 1-0.74805 0.30078 1.095 1.095 0 0 1-0.75977-0.30078 0.995 0.995 0 0 1-0.22461-0.33398 1.069 1.069 0 0 1-0.080078-0.41602c0-0.145 0.027078-0.28111 0.080078-0.41211a0.987 0.987 0 0 1 0.22461-0.33594 1.103 1.103 0 0 1 0.75977-0.30859z"}))};be.displayName="IconError",be.defaultProps={className:"IconError_iconError__1pbVY",desc:"A red circle with a white exclamation point in the middle",height:"18",title:"Error",width:"18"};var _e=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("svg",{fill:"none",height:"9",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},y.a.createElement("path",{clipRule:"evenodd",d:"M7.99992 1.33337L1.33325 4.66671L7.99992 8.00004L14.6666 4.66671L7.99992 1.33337Z",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),y.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"40%"},y.a.createElement("path",{d:"M1.33325 1.33331L7.99992 4.66665L14.6666 1.33331",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),y.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"60%"},y.a.createElement("path",{d:"M1.33325 0.999634L7.99992 4.33297L14.6666 0.999634",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})))};_e.displayName="IconFilter",_e.defaultProps={desc:"Three squares stacked on one another",height:"16",title:"Filter",width:"16"};var we=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.15 0C8.838 0 7.7.7 7 1.75 6.3.7 5.162 0 3.85 0 1.75 0 0 1.75 0 3.85c0 3.85 7 9.538 7 9.538S14 7.7 14 3.85C14 1.75 12.25 0 10.15 0"}))};we.displayName="IconHeartFilled",we.defaultProps={desc:"Solid colored heart",height:"15",title:"Heart",width:"16"};var xe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 15",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{stroke:"currentColor",fill:"none",fillRule:"evenodd",d:"M11.15 1C9.838 1 8.7 1.7 8 2.75 7.3 1.7 6.162 1 4.85 1 2.75 1 1 2.75 1 4.85c0 3.85 7 9.538 7 9.538S15 8.7 15 4.85C15 2.75 13.25 1 11.15 1"}))};xe.displayName="IconHeartOutline",xe.defaultProps={desc:"Outline of a heart",height:"15",title:"Heart",width:"16"};var ke=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{clipRule:"evenodd",d:"M2 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V4Z",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M2 6H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M6 14V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};ke.displayName="IconLayout",ke.defaultProps={desc:"Rounded square with header and sidebar dividers",height:"16",title:"Layout",width:"16"};ye(".IconLearningPath_defaultFill__3ksqg{color:#adaeaf}",{insertAt:"top"});var Ee=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="lpt-".concat(u),d="lpd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 9 9",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{fill:"none",fillRule:"evenodd"},y.a.createElement("path",{fill:"currentColor",d:"M7 2h2v7H2V7h5V2z"}),y.a.createElement("path",{fill:"currentColor",d:"M0 0h7v7H0z"}),y.a.createElement("path",{fill:"#000f20",opacity:"0.505",d:"M0 0h7v7H0z"})))};Ee.displayName="IconLearningPath",Ee.defaultProps={className:"IconLearningPath_defaultFill__3ksqg",desc:"Two stacked squares",height:"9",title:"Learning Path",width:"9"};var Se=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",d:"M15.2,12.8l-2.9-2.9c0.5-1,0.9-2,0.9-3.2c0-3.6-2.9-6.5-6.5-6.5c-3.6,0-6.5,2.9-6.5,6.5s2.9,6.5,6.5,6.5c1.7,0,3.2-0.6,4.4-1.7l2.8,2.8c0.4,0.4,1,0.4,1.4,0C15.6,13.8,15.6,13.2,15.2,12.8z M6.7,11.2c-2.5,0-4.5-2-4.5-4.5s2-4.5,4.5-4.5s4.5,2,4.5,4.5S9.1,11.2,6.7,11.2z"}))};Se.displayName="IconSearch",Se.defaultProps={desc:"Magnifying glass",height:"16",title:"Search",width:"16"};var Te=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 17 11",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{d:"M5.99992 7.62108L3.8786 9.7424L1.75728 7.62108",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M3.8786 1.99976L3.8786 8.99976",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 5.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 1.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 9.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};Te.displayName="IconSortDesc",Te.defaultProps={desc:"Downward arrow with three horizontal lines",height:"11",title:"SortDesc",width:"17"};var Ce=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return ue()()}),u=Object(se.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 32 32",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{fill:"none",fillRule:"evenodd",transform:"rotate(-90 15.5 15.5)"},y.a.createElement("circle",{cx:"15",cy:"16",r:"15",stroke:"currentColor",opacity:"0.083",strokeWidth:"2"}),y.a.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M31 16a1 1 0 0 1-2 0c0-7.732-6.268-14-14-14a1 1 0 0 1 0-2c8.837 0 16 7.163 16 16z"})))};function Oe(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))}}Ce.displayName="IconSpinner",Ce.defaultProps={desc:"Hollow circle fading from transparent to gray",height:"32",title:"Spinner",width:"32"};var Ae="styles_wrap__6_qdv",je="styles_content__nx_52",Ne="styles_image__32Tdo",Me="styles_title__NDffz",Pe="styles_titleClamp__1-eSv",Ie="styles_score__2FWHt",Le="styles_scoreText__2FWJg",De="styles_scoreWrap__3GrXD",Re="styles_lessonsInfo__SbVMH",Fe="styles_pipe__1XBpq",Be="styles_lpIcon__3XeRQ",Ue="styles_imageOverlay__RSsiC",qe="styles_imageOverlayStarted__17CIL",ze="styles_imageOverlayAssignedToMe__1pYS_",He="styles_statusText__1q5C8",We="styles_statusTextNoProgress__39xCR",Ve="styles_status__1VLZS",Ye="styles_completedStatus__A0RxX",Ge="styles_learningPathBadge__3vO-1",Ke="styles_progressBarWrap__24ETA",$e="styles_heartWrap__217al",Xe="styles_heartFilled__35Shx",Qe="styles_heartOutline__2fakg",Ze="styles_completedAt__2Iu7h",Je="styles_due__SPTRi",et="styles_dueUrgent__1j39c",tt="styles_downloadCertWrap__1wv7-";Oe(".styles_content__nx_52,.styles_wrap__6_qdv{display:flex;flex-direction:column}.styles_wrap__6_qdv{height:360px;border-radius:6px;background-color:#fff;cursor:pointer;box-shadow:0 2px 25px 0 rgba(0,0,0,.1);transition:box-shadow .3s,transform .3s;position:relative;width:100%}.styles_wrap__6_qdv:hover{box-shadow:0 .2rem 4rem 0 rgba(0,0,0,.15);transform:translate3d(0,-1rem,0)}.styles_image__32Tdo{min-height:14.8rem;width:100%;border-top-left-radius:6px;border-top-right-radius:6px;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;background-color:var(--color-accent)}.styles_content__nx_52{box-sizing:border-box;height:100%;width:100%;padding:1.5rem 3.5rem 2rem 2.5rem;position:relative}.styles_title__NDffz{max-height:9.45rem;height:9.45rem;font-size:1.8rem;line-height:1.33;font-weight:700;color:#313537;overflow-wrap:break-word;margin-top:.5rem;overflow:hidden}.styles_titleClamp__1-eSv>div{display:none!important}.styles_score__2FWHt,.styles_scoreText__2FWJg{font-weight:700;color:#313537}.styles_scoreText__2FWJg{margin-left:.4rem}.styles_scoreWrap__3GrXD{margin-top:.5rem;color:#666;font-size:1.2rem}.styles_lessonsInfo__SbVMH{font-size:1.2rem;letter-spacing:.05rem;position:absolute;bottom:2rem;color:#313537}.styles_pipe__1XBpq{margin:0 .25rem}.styles_lpIcon__3XeRQ{display:inline-flex;margin-right:.4rem;color:#adaeaf}.styles_imageOverlay__RSsiC{position:absolute;width:100%;min-height:14.8rem}.styles_imageOverlayStarted__17CIL{min-height:14.8rem;width:100%;opacity:.15;background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.83),#000)}.styles_imageOverlayAssignedToMe__1pYS_{min-height:14.8rem;width:100%;opacity:.5;background-image:linear-gradient(180deg,transparent,#000)}.styles_statusText__1q5C8{display:flex;color:#fff;align-items:center;position:absolute;bottom:2.5rem;left:1rem}.styles_statusTextNoProgress__39xCR{bottom:1.2rem}.styles_status__1VLZS{padding-left:.5rem;text-transform:capitalize}.styles_completedStatus__A0RxX{display:flex;color:#fff;align-items:center;position:absolute;top:1rem;right:1rem}.styles_learningPathBadge__3vO-1{display:flex;color:#313537;border-radius:.6rem;padding:.4rem .6rem;font-size:8px;text-transform:uppercase;letter-spacing:.3px;font-weight:700;background-color:#fff;align-items:center;position:absolute;top:1rem;left:1rem}.styles_progressBarWrap__24ETA{position:absolute;left:0;bottom:1rem;width:calc(100% - 2rem);margin:0 1rem}.styles_heartWrap__217al{position:absolute;top:1rem;right:1rem;width:2rem;height:2rem;display:flex;justify-content:center;align-items:center}.styles_heartWrap__217al:hover{cursor:pointer}.styles_heartWrap__217al:hover .styles_heartFilled__35Shx{color:var(--color-accent-focus)}.styles_heartWrap__217al:hover .styles_heartOutline__2fakg{color:#313537}.styles_heartFilled__35Shx{color:var(--color-accent)}.styles_heartOutline__2fakg{color:#979797}.styles_completedAt__2Iu7h{margin-top:1rem;color:#6a737c;font-size:1.2rem}.styles_due__SPTRi{display:inline-block;font-size:1rem;font-weight:900;letter-spacing:.05rem;text-transform:uppercase;line-height:1.2;color:#313537;border:1px solid #979797;padding:.5rem .7rem;border-radius:.4rem}.styles_dueUrgent__1j39c{color:var(--color-accent);border-color:var(--color-accent)}.styles_downloadCertWrap__1wv7-{position:absolute;bottom:2rem}@media (max-width:580px){.styles_progressBarWrap__24ETA{bottom:1.5rem;margin:0 2rem;width:calc(100% - 4rem)}.styles_statusText__1q5C8{left:2rem}}",{insertAt:"top"});var nt="ProgressBar_progressBarBase__1njSY",rt="ProgressBar_progressBarWrap__1dSL2",it="ProgressBar_progressBar__14M3v";Oe(".ProgressBar_progressBarBase__1njSY{height:.5rem;border-radius:10rem}.ProgressBar_progressBarWrap__1dSL2{position:relative;width:100%;background:hsla(0,0%,98%,.5)}.ProgressBar_progressBar__14M3v{background:#fff}",{insertAt:"top"});var ot=function(e){var t=e.progress,n=_()(nt,rt),r=_()(nt,it);return y.a.createElement("div",{className:n,role:"progressbar","aria-valuenow":t,"aria-valuemin":"0","aria-valuemax":"100"},y.a.createElement("div",{className:r,style:{width:"".concat(t,"%")}}))},at=function(e){function t(){var e,n,r,i,o,a,s,u,f,v;Object(d.a)(this,t);for(var g=arguments.length,y=new Array(g),b=0;b<g;b++)y[b]=arguments[b];return(v=Object(h.a)(this,(e=Object(p.a)(t)).call.apply(e,l()(n=[this]).call(n,y)))).onClick=c()(r=v.onClick).call(r,Object(m.a)(v)),v.onKeyDown=c()(i=v.onKeyDown).call(i,Object(m.a)(v)),v.toggleFavorite=c()(o=v.toggleFavorite).call(o,Object(m.a)(v)),v.renderProgress=c()(a=v.renderProgress).call(a,Object(m.a)(v)),v.renderDueStatus=c()(s=v.renderDueStatus).call(s,Object(m.a)(v)),v.renderAssignedOrCompleted=c()(u=v.renderAssignedOrCompleted).call(u,Object(m.a)(v)),v.renderLessonsInfo=c()(f=v.renderLessonsInfo).call(f,Object(m.a)(v)),v}return Object(v.a)(t,e),Object(f.a)(t,[{key:"onClick",value:function(){var e=this.props,t=e.disable,n=e.onClick;t||n()}},{key:"onKeyDown",value:function(e){var t;a()(t=[13,32]).call(t,e.keyCode)&&(e.preventDefault(),this.onClick())}},{key:"toggleFavorite",value:function(e){var t=this.props,n=t.favoritedAt,r=t.onAddFavorite,i=t.onRemoveFavorite;e.stopPropagation(),n?i():r()}},{key:"renderProgress",value:function(){var e=this.props,t=e.disable,n=e.progress;return n&&!t?y.a.createElement("div",{className:Ke},y.a.createElement(ot,{progress:n})):null}},{key:"renderDueStatus",value:function(){var e=this.props,t=e.completedAt,n=e.isUrgent,r=e.labelDue,o=e.labelCompleted,a=null!=t,s=_()(Je,Object(i.a)({},et,n));return a?y.a.createElement("div",{className:Ze},o):r?y.a.createElement("div",null,y.a.createElement("div",{className:s},r)):null}},{key:"renderAssignedOrCompleted",value:function(){var e=this.props,t=e.labelAssignedToMe,n=e.completedAt,r=e.progress,o=null!=n,a=_()(He,Object(i.a)({},We,!r));return o?y.a.createElement("div",{className:Ye},y.a.createElement(fe,{width:22,height:22,decorative:!0})):y.a.createElement("div",{className:a},y.a.createElement(le,{decorative:!0}),y.a.createElement("span",{className:Ve},t))}},{key:"renderLessonsInfo",value:function(){var e=this.props,t=e.labelCount,n=e.durationHidden,r=e.labelDuration;return y.a.createElement("div",{className:Re},t,!n&&y.a.createElement(y.a.Fragment,null,y.a.createElement("span",{className:Fe,"aria-hidden":"true"},"|"),r))}},{key:"render",value:function(){var e,t=this.props,n=t.cardImageKey,r=t.certDownloadComp,o=t.color,a=t.completedAt,s=t.coverImageKey,c=t.enrolledAt,u=t.favoritedAt,l=t.imagesUri,d=t.isLearningPath,f=t.labelHeartFilled,h=t.labelHeartOutline,p=t.labelLearningPath,m=t.labelQuizScore,v=t.noCertDownload,g=t.noFavoriteBtn,b=t.progress,w=t.score,k=t.title,S=t.extraScoreText,T=null!=a,C=c||T,O=_()((e={},Object(i.a)(e,qe,!!b||T),Object(i.a)(e,ze,c&&!T),e)),A=n||s;return y.a.createElement("div",{"aria-label":k,className:Ae,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"link",tabIndex:"0"},y.a.createElement(ae,{className:Ne,b:"fff",f:"jpg",h:150,imagesUri:l,imageKey:A,style:{backgroundColor:o},w:300,s:"cover"}),(T||c||b||d)&&y.a.createElement("div",{className:Ue},y.a.createElement("div",{className:O}),d&&y.a.createElement("div",{className:Ge},y.a.createElement(Ee,{height:7,width:7,className:Be,decorative:!0})," ",p),this.renderProgress(),C&&this.renderAssignedOrCompleted()),y.a.createElement("div",{className:je},!g&&y.a.createElement("div",{className:$e,onClick:this.toggleFavorite,onKeyDown:this.toggleFavorite,role:"button",tabIndex:"0"},u?y.a.createElement(we,{title:f,className:Xe}):y.a.createElement(xe,{title:h,className:Qe})),this.renderDueStatus(),y.a.createElement("div",{className:Me},y.a.createElement(E.a,{className:Pe,lines:4},k)),T&&null!=w&&y.a.createElement("div",{className:De},m," ",y.a.createElement("span",{className:Ie},x()(w).divide(100).format("0%")),S&&y.a.createElement("span",{className:Le},S)),!T||v?this.renderLessonsInfo():y.a.createElement("div",{className:tt},y.a.createElement(r,null))))}}]),t}(g.Component);at.defaultProps={cardImageKey:null,certDownloadComp:function(){return null},color:"#ff6602",completedAt:null,coverImageKey:null,disable:!1,durationHidden:!1,enrolledAt:null,favoritedAt:null,imagesUri:"",isLearningPath:!1,isUrgent:!1,labelAssignedToMe:"Assigned To Me",labelCompleted:"",labelCount:"",labelDuration:"",labelHeartFilled:"Remove from my list",labelHeartOutline:"Add to my list",labelLearningPath:"Learning path",labelQuizScore:"Quiz Score",noCertDownload:!1,noFavoriteBtn:!1,onAddFavorite:Function.prototype,onClick:Function.prototype,onRemoveFavorite:Function.prototype,progress:0,score:null,title:"",extraScoreText:""};t.a=at},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=n(18),a=n.n(o),s=n(27),c=n.n(s),u=n(3),l=n.n(u),d=n(9),f=n(10),h=n(8),p=n(5),m=n(6),v=n(11),g=(n(2233),n(0)),y=n.n(g),b=n(136),_=n(16),w=n.n(_),x=n(2),k=n.n(x),E=n(7),S=n.n(E),T=n(497),C=n.n(T),O=n(109),A=n.n(O),j=n(89),N=n.n(j),M=n(30),P=n.n(M),I=n(28),L=n.n(I),D=n(391),R=n.n(D),F=n(42),B=n.n(F),U=n(1242),q=n(1244),z=n(55),H=n(1245),W=n(209),V=n(159),Y=n(369),G=n.n(Y),K=(n(21),n(126)),$=n.n(K),X=n(386),Q=n.n(X),Z=n(299),J=n.n(Z),ee=B()(Q()(Number),S()(J.a,function(e){var t,n;return G()(t=G()(n=e.toString(16)).call(n,6,"0")).call(t,7,"#")})),te=S()(ee,$()("#ff631e")),ne=function(e){var t=e.course;return{brandColor:te(t&&t.color)}},re=A()(function(e){return S()(N()({brandColor:function(t){return e||t}}),ne)}),ie=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},oe=A()(S()(R()(P.a),function(e){return B()(w()(e),ie)})),ae=function(e){function t(e){var n,r,i,o,a;Object(d.a)(this,t),a=Object(f.a)(this,Object(h.a)(t).call(this,e));var s=e.isLearner;return a.afterAnimatedIn=l()(n=a.afterAnimatedIn).call(n,Object(p.a)(a)),a.createMarker=l()(r=a.createMarker).call(r,Object(p.a)(a)),a.onBubbleClose=l()(i=a.onBubbleClose).call(i,Object(p.a)(a)),a.onMarkerFocus=l()(o=a.onMarkerFocus).call(o,Object(p.a)(a)),a.markerRefs={},a.state={showMarkers:!s,uniqId:C()()},a}return Object(v.a)(t,e),Object(m.a)(t,null,[{key:"defaultProps",get:function(){return{animateBlockEntrance:!1,editable:!0,markerDelay:0,onClose:Function.prototype,onCreateMarker:Function.prototype,onItemClear:Function.prototype,onItemHint:Function.prototype,onItemSelected:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype,onSetMarkerPosition:Function.prototype,showBubbles:!0}}}]),Object(m.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.isBlock,r=t.isLearner,i=t.isPreview,o=t.markerDelay;r&&!n&&(this.timeout=c()(function(){return e.setState({showMarkers:!0})},i?0:o))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.blockId,o=t.brandColor,s=t.canvasClassNames,c=t.editable,u=t.imageLoaded,d=void 0===u||u,f=t.isBlock,h=t.isLearner,p=t.isPreview,m=t.items,v=t.labels,b=t.lesson,_=t.media,w=t.onItemClear,x=t.onItemHint,E=t.onItemSelected,S=t.onNextClick,T=t.onPreviousClick,C=t.onShowAltDialog,O=t.parentId,A=t.progress,j=t.selected,N=t.settings,M=void 0===N?{}:N,P=t.showBubbles,I=t.enableVideoPlaybackSpeed,D=M.markerColor,R=this.state,F=R.showMarkers,B=R.uniqId,Y=Boolean(D),G=c?"#FFFFFF":D||o,K=k()("map-item",{"map-item--animated":!c}),$=n?"fadeIn":"none",X=n?1:0,Q=m.length>1,Z="lg-".concat(B),J=Y?function(e){return Object(V.a)(e)?"#FFFFFF":"#000000"}(G):c?"#000000":"#FFFFFF",ee=oe(!Y&&!c,{accentClassName:Z,accentColor:G,fontColor:J});return y.a.createElement(g.Fragment,null,this.renderMarkerStyles(ee),y.a.createElement(z.a,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!p,animateIn:$,duration:p?0:X,initiallyVisible:!n,isLearner:h,offset:300},y.a.createElement(q.a,{canvasClassNames:s,editable:c,imageLoaded:d,lesson:b,media:_,onCreateMarker:this.createMarker,onShowAltDialog:C,ref:function(t){e.canvas=t}},a()(m).call(m,function(t,n){var o,a,s,u=t.description,d=t.id,h=t.icon,p=t.media,m=t.title,g=t.x,b=t.y,_={top:b+"%",left:g+"%"},k=L()(["items",d,"isComplete"],A),C=j===d;return y.a.createElement("li",{className:K,key:d,role:"listitem"},y.a.createElement(H.a,{editable:c,icon:h,isActive:j===d,isComplete:k,isSelected:C,isVisible:F,itemId:d,key:d,labels:v,markerClassName:Z,onClick:function(){E(d)},onFocus:e.onMarkerFocus(d),onHover:function(){x()},onLeave:function(){w()},onSetPosition:l()(o=e.onSetPosition).call(o,e,d),parentId:O,ref:function(t){e.markerRefs[d]=t},styles:_,useLocalStateForCompletion:f}),!c&&P&&y.a.createElement(U.a,{accentColor:G,allowNav:Q,description:u,hasMedia:Boolean(p),isActive:C,key:"bubble-".concat(d),labels:v,onClose:e.onBubbleClose(d),onNextClick:function(){S(n)},onPreviousClick:function(){T(n)},title:m,x:g,y:b},p?y.a.createElement(W.a,{hasPadding:!1,index:i()(a=i()(s="".concat(r,"-")).call(s,d,"-")).call(a,n),labels:e.props.labels,media:p,enableVideoPlaybackSpeed:I}):null))}))))}},{key:"renderMarkerStyles",value:function(e){var t,n,r,o,a,s,c,u,l,d,f,h=e.accentClassName,p=e.accentColor,m=e.fontColor,v=Object(V.b)("#000000",p),g=Object(V.b)("#FFFFFF",m);return y.a.createElement("style",null,i()(t=i()(n=i()(r=i()(o=i()(a=i()(s=i()(c=i()(u=i()(l=i()(d=i()(f="\n        .".concat(h,"--normal {\n          background-color: ")).call(f,v,";\n          color: ")).call(d,g,";\n        }\n\n        .")).call(l,h,"--selected {\n          background-color: ")).call(u,g,";\n          color: ")).call(c,v,";\n        }\n\n        .")).call(s,h,"--selected:before {\n          border-color: ")).call(a,v," !important;\n        }\n\n        .")).call(o,h,"--hover {\n          background-color: ")).call(r,v,";\n        }\n\n        .")).call(n,h,"--hover:before {\n          border-color: ")).call(t,g," !important;\n        }\n      "))}},{key:"createMarker",value:function(e){var t=this.props,n=t.editable,r=t.isBlock,i=t.lesson,o=t.onCreateMarker;if(n){var a=i.id,s=i.items,c=this.findItemCoordinates({e:e}),u=c.x,l=c.y;o({index:r?s[0].items.length:s.length,lessonId:a,items:s,payload:{description:"",hasMedia:!1,icon:"01",id:C()(),isActive:!1,title:"",x:String(u),y:String(l)}})}}},{key:"onBubbleClose",value:function(e){var t=this,n=this.props.onClose;return function(){var r=t.markerRefs[e];r&&r.focus&&r.focus(),n()}}},{key:"onMarkerFocus",value:function(e){var t=this;return function(){var n=t.props,r=n.onClose,i=n.selected;i&&i!==e&&r()}}},{key:"onSetPosition",value:function(e,t,n,r){var i=this.props,o=i.lesson,a=i.onSetMarkerPosition,s=o.id,c=o.items,u=this.findItemCoordinates({e:t,offsetX:n,offsetY:r}),l=u.x,d=u.y;a({itemId:e,lessonId:s,items:c,payload:{x:String(l),y:String(d)}})}},{key:"findItemCoordinates",value:function(e){var t=e.e,n=e.offsetX,r=void 0===n?0:n,i=e.offsetY,o=void 0===i?0:i,a=this.canvas.imageEl.getBoundingClientRect();return{x:this.findItemCoordinate({clientPos:t.clientX,clientOffset:r,rectSubtractor:a.left,rectDivisor:a.width,validOffsetAmount:20}),y:this.findItemCoordinate({clientPos:t.clientY,clientOffset:o,rectSubtractor:a.top,rectDivisor:a.height,validOffsetAmount:20})}}},{key:"findItemCoordinate",value:function(e){var t=e.clientPos,n=e.clientOffset,r=e.rectSubtractor,i=e.rectDivisor,o=e.validOffsetAmount/i*100,a=100-o,s=(t+n-r)/i*100;return s>a?s=a:s<o&&(s=o),s}},{key:"afterAnimatedIn",value:function(){this.props.isBlock&&this.setState({showMarkers:!0})}}]),t}(y.a.Component),se=Object(b.b)(function(e,t){var n=t.accentColor;return re(n,e)});t.a=se(ae)},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(4),a=n.n(o),s=n(9),c=n(6),u=n(10),l=n(8),d=n(5),f=n(11),h=(n(2424),n(0)),p=n.n(h),m=n(7),v=n.n(m),g=n(2),y=n.n(g),b=n(13),_=n.n(b),w=n(137),x=n(18),k=n.n(x),E={bar:function(e){return"Bar chart with the following items: ".concat(e)},line:function(e){return"Line chart with the following items: ".concat(e)},pie:function(e){return"Pie chart with the following items: ".concat(e)}},S=function(e,t){var n=k()(t).call(t,function(e){var t;return a()(t="".concat(e.type,": ")).call(t,e.value)}).join(", ");return E[e](n)},T=n(402),C=n(55),O=n(38),A=n(59);n.d(t,"a",function(){return P});var j=A.b.blocks,N=v()(w.c,_()("backgroundColor")),M={bar:"Bar Chart",line:"Line Chart",pie:"Pie Chart"},P=function(e){function t(){var e,n,r,o,c;Object(s.a)(this,t);for(var f=arguments.length,h=new Array(f),p=0;p<f;p++)h[p]=arguments[p];return(c=Object(u.a)(this,(e=Object(l.a)(t)).call.apply(e,a()(n=[this]).call(n,h)))).handleAnimationEnd=i()(r=c.handleAnimationEnd).call(r,Object(d.a)(c)),c.renderTitle=i()(o=c.renderTitle).call(o,Object(d.a)(c)),c.state={isVisible:!c.props.animateBlockEntrance},c}return Object(f.a)(t,e),Object(c.a)(t,[{key:"handleAnimationEnd",value:function(){this.setState({isVisible:!0})}},{key:"renderTitle",value:function(){var e=this.props.title;return p.a.createElement(O.a,{value:e})}},{key:"render",value:function(){var e,t,n=this.props,r=n.animateBlockEntrance,i=n.blockId,o=n.children,s=n.editable,c=n.isLearner,u=n.items,l=n.itemsLabel,d=n.lessonId,f=n.settings,h=n.title,m=n.valuesLabel,v=n.variant,g=n.renderTitle,b=void 0===g?this.renderTitle:g,_=this.state.isVisible,w=a()(e="chartTitle-".concat(d,"-")).call(e,i),x=M[v],k=a()(t="chartDesc-".concat(d,"-")).call(t,i),E=S(v,u),O=N(f),A=y()("block-chart__container",{"block-chart__container--darkTheme":O});return p.a.createElement(T.a,{settings:f,type:"chart"},p.a.createElement(C.a,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:r,animateIn:"fadeIn",initiallyVisible:!r,isLearner:c},p.a.createElement("div",{"aria-describedby":k,"aria-labelledby":w,className:A,"data-ba":j.blockChart,role:"img"},p.a.createElement("div",{className:"block-chart__row"},p.a.createElement("div",{className:"block-chart__rowInner"},(!s&&h||s)&&p.a.createElement("h2",{className:"block-chart__title brand--head",id:w},b()),!s&&!h&&p.a.createElement("h2",{className:"visually-hidden",id:w},x),p.a.createElement("div",{className:"block-chart__chart"},p.a.cloneElement(p.a.Children.only(o),{hasDarkBgColor:O,isVisible:_,items:u,itemsLabel:l,settings:f,shouldAnimate:r,valuesLabel:m,variant:v}),p.a.createElement("p",{className:"visually-hidden",id:k},E)))))))}}]),t}(h.PureComponent)},function(e,t,n){"use strict";var r=n(65),i=n(144),o=n(105),a=n(340),s=n(19),c=n(186),u=n(430),l=n(58),d=n(428),f=n(252),h=n(429),p=n(106),m=n(813),v=n(199),g=n(1318),y=n(343),b=n(94),_=n(85),w=n(198),x=n(232),k=n(341),E=n(312),S=n(815),T=n(185),C=n(123),O=n(426),A=n(172),j=n(371),N=n(508)("hidden"),M=n(214),P=M.set,I=M.getterFor("Symbol"),L=T.f,D=C.f,R=S.f,F=r.Symbol,B=r.JSON,U=B&&B.stringify,q=p("toPrimitive"),z=O.f,H=d("symbol-registry"),W=d("symbols"),V=d("op-symbols"),Y=d("wks"),G=Object.prototype,K=r.QObject,$=n(812),X=!K||!K.prototype||!K.prototype.findChild,Q=o&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=L(G,t);r&&delete G[t],D(e,t,n),r&&e!==G&&D(G,t,r)}:D,Z=function(e,t){var n=W[e]=E(F.prototype);return P(n,{type:"Symbol",tag:e,description:t}),o||(n.description=t),n},J=$&&"symbol"==typeof F.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof F},ee=function(e,t,n){return e===G&&ee(V,t,n),b(e),t=x(t,!0),b(n),i(W,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:k(0,!1)})):(i(e,N)||D(e,N,k(1,{})),e[N][t]=!0),Q(e,t,n)):D(e,t,n)},te=function(e,t){b(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)ee(e,n=r[i++],t[n]);return e},ne=function(e){var t=z.call(this,e=x(e,!0));return!(this===G&&i(W,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,N)&&this[N][e])||t)},re=function(e,t){if(e=w(e),t=x(t,!0),e!==G||!i(W,t)||i(V,t)){var n=L(e,t);return!n||!i(W,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},ie=function(e){for(var t,n=R(w(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||i(u,t)||r.push(t);return r},oe=function(e){for(var t,n=e===G,r=R(n?V:w(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(G,t)||o.push(W[t]);return o};$||(c((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor");var e=void 0===arguments[0]?void 0:String(arguments[0]),t=h(e),n=function(e){this===G&&n.call(V,e),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),Q(this,t,k(1,e))};return o&&X&&Q(G,t,{configurable:!0,set:n}),Z(t,e)}).prototype,"toString",function(){return I(this).tag}),O.f=ne,C.f=ee,T.f=re,n(342).f=S.f=ie,n(509).f=oe,o&&(D(F.prototype,"description",{configurable:!0,get:function(){return I(this).description}}),a||c(G,"propertyIsEnumerable",ne,{unsafe:!0})),m.f=function(e){return Z(p(e),e)}),s({global:!0,wrap:!0,forced:!$,sham:!$},{Symbol:F});for(var ae=j(Y),se=0;ae.length>se;)v(ae[se++]);s({target:"Symbol",stat:!0,forced:!$},{for:function(e){return i(H,e+="")?H[e]:H[e]=F(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol");for(var t in H)if(H[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s({target:"Object",stat:!0,forced:!$,sham:!o},{create:function(e,t){return void 0===t?E(e):te(E(e),t)},defineProperty:ee,defineProperties:te,getOwnPropertyDescriptor:re}),s({target:"Object",stat:!0,forced:!$},{getOwnPropertyNames:ie,getOwnPropertySymbols:oe}),B&&s({target:"JSON",stat:!0,forced:!$||l(function(){var e=F();return"[null]"!=U([e])||"{}"!=U({a:e})||"{}"!=U(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)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,U.apply(B,r)}}),F.prototype[q]||A(F.prototype,q,F.prototype.valueOf),f(F,"Symbol"),u[N]=!0},function(e,t,n){var r=n(371),i=n(509),o=n(426);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),c=o.f,u=0;s.length>u;)c.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(105),i=n(144),o=n(85),a=n(123).f,s=n(810),c=n(65).Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new c(e):void 0===e?c():c(e);return""===e&&(u[t]=!0),t};s(l,c);var d=l.prototype=c.prototype;d.constructor=l;var f=d.toString,h="Symbol(test)"==String(c("test")),p=/^Symbol\((.*)\)[^)]+$/;a(d,"description",{configurable:!0,get:function(){var e=o(this)?this.valueOf():this,t=f.call(e);if(i(u,e))return"";var n=h?t.slice(7,-1):t.replace(p,"$1");return""===n?void 0:n}}),n(19)({global:!0,forced:!0},{Symbol:l})}},function(e,t,n){n(199)("asyncIterator")},function(e,t,n){n(199)("hasInstance")},function(e,t,n){n(199)("isConcatSpreadable")},function(e,t,n){n(199)("iterator")},function(e,t,n){n(199)("match")},function(e,t,n){n(199)("replace")},function(e,t,n){n(199)("search")},function(e,t,n){n(199)("species")},function(e,t,n){n(199)("split")},function(e,t,n){n(199)("toPrimitive")},function(e,t,n){n(199)("toStringTag")},function(e,t,n){n(199)("unscopables")},function(e,t,n){"use strict";var r=n(343),i=n(85),o=n(133),a=n(108),s=n(344),c=n(433),u=n(106)("isConcatSpreadable"),l=!n(58)(function(){var e=[];return e[u]=!1,e.concat()[0]!==e}),d=n(434)("concat"),f=function(e){if(!i(e))return!1;var t=e[u];return void 0!==t?!!t:r(e)},h=!l||!d;n(19)({target:"Array",proto:!0,forced:h},{concat:function(e){var t,n,r,i,u,l=o(this),d=c(l,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(u=-1===t?l:arguments[t],f(u)){if(h+(i=a(u.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,h++)n in u&&s(d,h,u[n])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(d,h++,u)}return d.length=h,d}})},function(e,t,n){n(19)({target:"Array",proto:!0},{copyWithin:n(816)}),n(313)("copyWithin")},function(e,t,n){"use strict";var r=n(167)(4),i=n(281)("every");n(19)({target:"Array",proto:!0,forced:i},{every:function(e){return r(this,e,arguments[1])}})},function(e,t,n){n(19)({target:"Array",proto:!0},{fill:n(662)}),n(313)("fill")},function(e,t,n){"use strict";var r=n(167)(2),i=n(434)("filter");n(19)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(167)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),n(19)({target:"Array",proto:!0,forced:i},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(313)("find")},function(e,t,n){"use strict";var r=n(167)(6),i=!0;"findIndex"in[]&&Array(1).findIndex(function(){i=!1}),n(19)({target:"Array",proto:!0,forced:i},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(313)("findIndex")},function(e,t,n){"use strict";var r=n(817),i=n(133),o=n(108),a=n(215),s=n(433);n(19)({target:"Array",proto:!0},{flat:function(){var e=arguments[0],t=i(this),n=o(t.length),c=s(t,0);return c.length=r(c,t,t,n,0,void 0===e?1:a(e)),c}})},function(e,t,n){"use strict";var r=n(817),i=n(133),o=n(108),a=n(216),s=n(433);n(19)({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),c=o(n.length);return a(e),(t=s(n,0)).length=r(t,n,n,c,0,1,e,arguments[1]),t}})},function(e,t,n){"use strict";var r=n(818);n(19)({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){var r=!n(510)(function(e){Array.from(e)});n(19)({target:"Array",stat:!0,forced:r},{from:n(819)})},function(e,t,n){"use strict";var r=n(431)(!0);n(19)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(313)("includes")},function(e,t,n){"use strict";var r=n(431)(!1),i=[].indexOf,o=!!i&&1/[1].indexOf(1,-0)<0,a=n(281)("indexOf");n(19)({target:"Array",proto:!0,forced:o||a},{indexOf:function(e){return o?i.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){n(19)({target:"Array",stat:!0},{isArray:n(343)})},function(e,t,n){"use strict";var r=n(198),i=[].join,o=n(427)!=Object,a=n(281)("join",",");n(19)({target:"Array",proto:!0,forced:o||a},{join:function(e){return i.call(r(this),void 0===e?",":e)}})},function(e,t,n){var r=n(824);n(19)({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(e,t,n){"use strict";var r=n(167)(1),i=n(434)("map");n(19)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(344),i=n(58)(function(){function e(){}return!(Array.of.call(e)instanceof e)});n(19)({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}})},function(e,t,n){"use strict";var r=n(825),i=n(281)("reduce");n(19)({target:"Array",proto:!0,forced:i},{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(825),i=n(281)("reduceRight");n(19)({target:"Array",proto:!0,forced:i},{reduceRight:function(e){return r(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(343),i=[].reverse,o=[1,2];n(19)({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(85),i=n(343),o=n(311),a=n(108),s=n(198),c=n(344),u=n(106)("species"),l=[].slice,d=Math.max,f=n(434)("slice");n(19)({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,f,h,p=s(this),m=a(p.length),v=o(e,m),g=o(void 0===t?m:t,m);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[u])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.call(p,v,g);for(f=new(void 0===n?Array:n)(d(g-v,0)),h=0;v<g;v++,h++)v in p&&c(f,h,p[v]);return f.length=h,f}})},function(e,t,n){"use strict";var r=n(167)(3),i=n(281)("some");n(19)({target:"Array",proto:!0,forced:i},{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(216),i=n(133),o=n(58),a=[].sort,s=[1,2,3],c=o(function(){s.sort(void 0)}),u=o(function(){s.sort(null)}),l=n(281)("sort"),d=c||!u||l;n(19)({target:"Array",proto:!0,forced:d},{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),r(e))}})},function(e,t,n){n(373)("Array")},function(e,t,n){"use strict";var r=n(311),i=n(215),o=n(108),a=n(133),s=n(433),c=n(344),u=Math.max,l=Math.min,d=n(434)("splice");n(19)({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,d,f,h,p,m,v=a(this),g=o(v.length),y=r(e,g),b=arguments.length;if(0===b?n=d=0:1===b?(n=0,d=g-y):(n=b-2,d=l(u(i(t),0),g-y)),g+n-d>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=s(v,d),h=0;h<d;h++)(p=y+h)in v&&c(f,h,v[p]);if(f.length=d,n<d){for(h=y;h<g-d;h++)m=h+n,(p=h+d)in v?v[m]=v[p]:delete v[m];for(h=g;h>g-d+n;h--)delete v[h-1]}else if(n>d)for(h=g-d;h>y;h--)m=h+n-1,(p=h+d-1)in v?v[m]=v[p]:delete v[m];for(h=0;h<n;h++)v[h+y]=arguments[h+2];return v.length=g-d+n,f}})},function(e,t,n){n(313)("flat")},function(e,t,n){n(313)("flatMap")},function(e,t,n){"use strict";var r=n(513).ArrayBuffer,i=n(65).ArrayBuffer;n(19)({global:!0,forced:i!==r},{ArrayBuffer:r}),n(373)("ArrayBuffer")},function(e,t,n){var r=n(95),i=r.NATIVE_ARRAY_BUFFER_VIEWS;n(19)({target:"ArrayBuffer",stat:!0,forced:!i},{isView:r.isView})},function(e,t,n){"use strict";var r=n(513),i=n(94),o=n(311),a=n(108),s=n(316),c=r.ArrayBuffer,u=r.DataView,l=c.prototype.slice,d=n(58)(function(){return!new c(2).slice(1,void 0).byteLength});n(19)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:d},{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),d=o(void 0===t?n:t,n),f=new(s(this,c))(a(d-r)),h=new u(this),p=new u(f),m=0;r<d;)p.setUint8(m++,h.getUint8(r++));return f}})},function(e,t,n){var r=n(95).NATIVE_ARRAY_BUFFER;n(19)({global:!0,forced:!r},{DataView:n(513).DataView})},function(e,t,n){n(19)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1366);n(19)({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},function(e,t,n){"use strict";var r=n(58),i=Date.prototype,o=i.getTime,a=i.toISOString,s=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+s(this.getUTCMonth()+1)+"-"+s(this.getUTCDate())+"T"+s(this.getUTCHours())+":"+s(this.getUTCMinutes())+":"+s(this.getUTCSeconds())+"."+(t>99?t:"0"+s(t))+"Z"}:a},function(e,t,n){"use strict";var r=n(133),i=n(232),o=n(58)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});n(19)({target:"Date",proto:!0,forced:o},{toJSON:function(e){var t=r(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(172),i=n(106)("toPrimitive"),o=n(1369),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(94),i=n(232);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!==e)}},function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(186)(r,"toString",function(){var e=o.call(this);return e==e?i.call(this):"Invalid Date"})},function(e,t,n){n(19)({target:"Function",proto:!0},{bind:n(827)})},function(e,t,n){"use strict";var r=n(85),i=n(123),o=n(253),a=n(106)("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}})},function(e,t,n){var r=n(105),i=n(123).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/;!r||"name"in o||i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){n(252)(n(65).JSON,"JSON",!0)},function(e,t,n){"use strict";e.exports=n(514)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(828),!0)},function(e,t,n){var r=n(829),i=Math.acosh,o=Math.log,a=Math.sqrt,s=Math.LN2,c=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;n(19)({target:"Math",stat:!0,forced:c},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+s:r(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=Math.asinh,i=Math.log,o=Math.sqrt;n(19)({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}})},function(e,t,n){var r=Math.atanh,i=Math.log;n(19)({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(668),i=Math.abs,o=Math.pow;n(19)({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*o(i(e),1/3)}})},function(e,t,n){var r=Math.floor,i=Math.log,o=Math.LOG2E;n(19)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},function(e,t,n){var r=n(515),i=Math.cosh,o=Math.abs,a=Math.E;n(19)({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)}})},function(e,t,n){var r=n(515);n(19)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){n(19)({target:"Math",stat:!0},{fround:n(1384)})},function(e,t,n){var r=n(668),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return i<c?u*(i/c/a+1/o-1/o)*c*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?u*(1/0):u*n}},function(e,t,n){var r=Math.abs,i=Math.sqrt;n(19)({target:"Math",stat:!0},{hypot:function(e,t){for(var n,o,a=0,s=0,c=arguments.length,u=0;s<c;)u<(n=r(arguments[s++]))?(a=a*(o=u/n)*o+1,u=n):a+=n>0?(o=n/u)*o:n;return u===1/0?1/0:u*i(a)}})},function(e,t,n){var r=Math.imul,i=n(58)(function(){return-5!=r(4294967295,5)||2!=r.length});n(19)({target:"Math",stat:!0,forced:i},{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=Math.log,i=Math.LOG10E;n(19)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){n(19)({target:"Math",stat:!0},{log1p:n(829)})},function(e,t,n){var r=Math.log,i=Math.LN2;n(19)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){n(19)({target:"Math",stat:!0},{sign:n(668)})},function(e,t,n){var r=n(515),i=Math.abs,o=Math.exp,a=Math.E,s=n(58)(function(){return-2e-17!=Math.sinh(-2e-17)});n(19)({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)}})},function(e,t,n){var r=n(515),i=Math.exp;n(19)({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))}})},function(e,t,n){n(252)(Math,"Math",!0)},function(e,t,n){var r=Math.ceil,i=Math.floor;n(19)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var r=n(65),i=n(432),o=n(144),a=n(231),s=n(667),c=n(232),u=n(58),l=n(342).f,d=n(185).f,f=n(123).f,h=n(375),p=r.Number,m=p.prototype,v="Number"==a(n(312)(m)),g="trim"in String.prototype,y=function(e){var t,n,r,i,o,a,s,u,l=c(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=g?l.trim():h(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((u=o.charCodeAt(s))<48||u>i)return NaN;return parseInt(o,r)}return+l};if(i("Number",!p(" 0o1")||!p("0b1")||p("+0x1"))){for(var b,_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(v?u(function(){m.valueOf.call(n)}):"Number"!=a(n))?s(new p(y(t)),n,_):y(t)},w=n(105)?l(p):"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;w.length>x;x++)o(p,b=w[x])&&!o(_,b)&&f(_,b,d(p,b));_.prototype=m,m.constructor=_,n(186)(r,"Number",_)}},function(e,t,n){n(19)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(19)({target:"Number",stat:!0},{isFinite:n(1398)})},function(e,t,n){var r=n(65).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(19)({target:"Number",stat:!0},{isInteger:n(830)})},function(e,t,n){n(19)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(830),i=Math.abs;n(19)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(19)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(19)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(831);n(19)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){var r=n(832);n(19)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var r=n(215),i=n(833),o=n(669),a=1..toFixed,s=Math.floor,c=[0,0,0,0,0,0],u=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=s(r/1e7)},l=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=s(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},f=function(e,t,n){return 0===t?n:t%2==1?f(e,t-1,n*e):f(e*e,t/2,n)};n(19)({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(58)(function(){a.call({})})},{toFixed:function(e){var t,n,a,s,c=i(this),h=r(e),p="",m="0";if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*f(2,69,1))-69)<0?c*f(2,-t,1):c/f(2,t,1),n*=4503599627370496,(t=52-t)>0){for(u(0,n),a=h;a>=7;)u(1e7,0),a-=7;for(u(f(10,a,1),0),a=t-1;a>=23;)l(1<<23),a-=23;l(1<<a),u(1,1),l(2),m=d()}else u(0,n),u(1<<-t,0),m=d()+o.call("0",h);return m=h>0?p+((s=m.length)<=h?"0."+o.call("0",h-s)+m:m.slice(0,s-h)+"."+m.slice(s-h)):p+m}})},function(e,t,n){"use strict";var r=n(58),i=n(833),o=1..toPrecision;n(19)({target:"Number",proto:!0,forced:r(function(){return"1"!==o.call(1,void 0)})||!r(function(){o.call({})})},{toPrecision:function(e){return void 0===e?o.call(i(this)):o.call(i(this),e)}})},function(e,t,n){var r=n(834);n(19)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){n(19)({target:"Object",stat:!0,sham:!n(105)},{create:n(312)})},function(e,t,n){"use strict";var r=n(133),i=n(216),o=n(123),a=n(517);n(105)&&n(19)({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){o.f(r(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(105);n(19)({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(661)})},function(e,t,n){var r=n(105);n(19)({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(123).f})},function(e,t,n){"use strict";var r=n(133),i=n(216),o=n(123),a=n(517);n(105)&&n(19)({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){o.f(r(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(835);n(19)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},function(e,t,n){var r=n(85),i=n(345).onFreeze,o=Object.freeze,a=n(437),s=n(58)(function(){o(1)});n(19)({target:"Object",stat:!0,forced:s,sham:!a},{freeze:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){var r=n(438),i=n(344);n(19)({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,function(e,n){i(t,e,n)},void 0,!0),t}})},function(e,t,n){var r=n(198),i=n(185).f,o=n(105),a=n(58)(function(){i(1)}),s=!o||a;n(19)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(105),i=n(658),o=n(198),a=n(185),s=n(344);n(19)({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),c=a.f,u=i(r),l={},d=0;u.length>d;)void 0!==(n=c(r,t=u[d++]))&&s(l,t,n);return l}})},function(e,t,n){var r=n(815).f,i=n(58)(function(){Object.getOwnPropertyNames(1)});n(19)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},function(e,t,n){var r=n(133),i=n(253),o=n(665),a=n(58)(function(){i(1)});n(19)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){n(19)({target:"Object",stat:!0},{is:n(836)})},function(e,t,n){var r=n(85),i=Object.isExtensible,o=n(58)(function(){i(1)});n(19)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},function(e,t,n){var r=n(85),i=Object.isFrozen,o=n(58)(function(){i(1)});n(19)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(85),i=Object.isSealed,o=n(58)(function(){i(1)});n(19)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(133),i=n(371),o=n(58)(function(){i(1)});n(19)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(133),i=n(232),o=n(253),a=n(185).f,s=n(517);n(105)&&n(19)({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))}})},function(e,t,n){"use strict";var r=n(133),i=n(232),o=n(253),a=n(185).f,s=n(517);n(105)&&n(19)({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))}})},function(e,t,n){var r=n(85),i=n(345).onFreeze,o=Object.preventExtensions,a=n(437),s=n(58)(function(){o(1)});n(19)({target:"Object",stat:!0,forced:s,sham:!a},{preventExtensions:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){var r=n(85),i=n(345).onFreeze,o=Object.seal,a=n(437),s=n(58)(function(){o(1)});n(19)({target:"Object",stat:!0,forced:s,sham:!a},{seal:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){n(19)({target:"Object",stat:!0},{setPrototypeOf:n(372)})},function(e,t,n){var r=n(1432),i=Object.prototype;r!==i.toString&&n(186)(i,"toString",r,{unsafe:!0})},function(e,t,n){"use strict";var r=n(511),i={};i[n(106)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},function(e,t,n){var r=n(835);n(19)({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){var r=n(831);n(19)({global:!0,forced:parseFloat!=r},{parseFloat:r})},function(e,t,n){var r=n(832);n(19)({global:!0,forced:parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(340),c=n(65),u=n(19),l=n(85),d=n(216),f=n(315),h=n(231),p=n(438),m=n(510),v=n(316),g=n(670).set,y=n(837),b=n(838),_=n(1437),w=n(839),x=n(1438),k=n(518),E=n(106)("species"),S=n(214),T=n(432),C=S.get,O=S.set,A=S.getterFor(a),j=c.Promise,N=c.TypeError,M=c.document,P=c.process,I=c.fetch,L=P&&P.versions,D=L&&L.v8||"",R=w.f,F=R,B="process"==h(P),U=!!(M&&M.createEvent&&c.dispatchEvent),q=T(a,function(){var e=j.resolve(1),t=function(){},n=(e.constructor={})[E]=function(e){e(t,t)};return!((B||"function"==typeof PromiseRejectionEvent)&&(!s||e.finally)&&e.then(t)instanceof n&&0!==D.indexOf("6.6")&&-1===k.indexOf("Chrome/66"))}),z=q||!m(function(e){j.all(e).catch(function(){})}),H=function(e){var t;return!(!l(e)||"function"!=typeof(t=e.then))&&t},W=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;y(function(){for(var i=t.value,o=1==t.state,a=0,s=function(n){var r,a,s,c=o?n.ok:n.fail,u=n.resolve,l=n.reject,d=n.domain;try{c?(o||(2===t.rejection&&K(e,t),t.rejection=1),!0===c?r=i:(d&&d.enter(),r=c(i),d&&(d.exit(),s=!0)),r===n.promise?l(N("Promise-chain cycle")):(a=H(r))?a.call(r,u,l):u(r)):l(i)}catch(e){d&&!s&&d.exit(),l(e)}};r.length>a;)s(r[a++]);t.reactions=[],t.notified=!1,n&&!t.rejection&&Y(e,t)})}},V=function(e,t,n){var r,i;U?((r=M.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(i=c["on"+e])?i(r):"unhandledrejection"===e&&_("Unhandled promise rejection",n)},Y=function(e,t){g.call(c,function(){var n,r=t.value;if(G(t)&&(n=x(function(){B?P.emit("unhandledRejection",r,e):V("unhandledrejection",e,r)}),t.rejection=B||G(t)?2:1,n.error))throw n.value})},G=function(e){return 1!==e.rejection&&!e.parent},K=function(e,t){g.call(c,function(){B?P.emit("rejectionHandled",e):V("rejectionhandled",e,t.value)})},$=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,W(e,t,!0))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw N("Promise can't be resolved itself");var i=H(n);i?y(function(){var r={done:!1};try{i.call(n,$(Q,e,r,t),$(X,e,r,t))}catch(n){X(e,r,n,t)}}):(t.value=n,t.state=1,W(e,t,!1))}catch(n){X(e,{done:!1},n,t)}}};q&&(j=function(e){f(this,j,a),d(e),r.call(this);var t=C(this);try{e($(Q,this,t),$(X,this,t))}catch(e){X(this,t,e)}},(r=function(e){O(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(374)(j.prototype,{then:function(e,t){var n=A(this),r=R(v(this,j));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=B?P.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&W(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=C(e);this.promise=e,this.resolve=$(Q,e,t),this.reject=$(X,e,t)},w.f=R=function(e){return e===j||e===o?new i(e):F(e)},s||"function"!=typeof I||u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(j,I.apply(c,arguments))}})),u({global:!0,wrap:!0,forced:q},{Promise:j}),n(252)(j,a,!1,!0),n(373)(a),o=n(660).Promise,u({target:a,stat:!0,forced:q},{reject:function(e){var t=R(this);return t.reject.call(void 0,e),t.promise}}),u({target:a,stat:!0,forced:s||q},{resolve:function(e){return b(s&&this===o?j:this,e)}}),u({target:a,stat:!0,forced:z},{all:function(e){var t=this,n=R(t),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;p(e,function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!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=R(t),r=n.reject,i=x(function(){p(e,function(e){t.resolve(e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(65);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(666),i=n(316),o=n(838);n(19)({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)}})},function(e,t,n){var r=n(216),i=n(94),o=(n(65).Reflect||{}).apply,a=Function.apply,s=!n(58)(function(){o(function(){})});n(19)({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)}})},function(e,t,n){var r=n(312),i=n(216),o=n(94),a=n(85),s=n(58),c=n(827),u=(n(65).Reflect||{}).construct,l=s(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),d=!s(function(){u(function(){})}),f=l||d;n(19)({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!l)return u(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(c.apply(e,s))}var f=n.prototype,h=r(a(f)?f:Object.prototype),p=Function.apply.call(e,h,t);return a(p)?p:h}})},function(e,t,n){var r=n(123),i=n(94),o=n(232),a=n(105),s=n(58)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})});n(19)({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}}})},function(e,t,n){var r=n(185).f,i=n(94);n(19)({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=r(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(185),i=n(253),o=n(144),a=n(85),s=n(94);n(19)({target:"Reflect",stat:!0},{get:function e(t,n){var c,u,l=arguments.length<3?t:arguments[2];return s(t)===l?t[n]:(c=r.f(t,n))?o(c,"value")?c.value:void 0===c.get?void 0:c.get.call(l):a(u=i(t))?e(u,n,l):void 0}})},function(e,t,n){var r=n(185),i=n(94),o=n(105);n(19)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(253),i=n(94),o=n(665);n(19)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},function(e,t,n){n(19)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(94),i=Object.isExtensible;n(19)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){n(19)({target:"Reflect",stat:!0},{ownKeys:n(658)})},function(e,t,n){var r=n(666),i=n(94),o=n(437);n(19)({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}}})},function(e,t,n){var r=n(123),i=n(185),o=n(253),a=n(144),s=n(341),c=n(94),u=n(85);n(19)({target:"Reflect",stat:!0},{set:function e(t,n,l){var d,f,h=arguments.length<4?t:arguments[3],p=i.f(c(t),n);if(!p){if(u(f=o(t)))return e(f,n,l,h);p=s(0)}if(a(p,"value")){if(!1===p.writable||!u(h))return!1;if(d=i.f(h,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=l,r.f(h,n,d)}else r.f(h,n,s(0,l));return!0}return void 0!==p.set&&(p.set.call(h,l),!0)}})},function(e,t,n){var r=n(372),i=n(823);r&&n(19)({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e,t);try{return r(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(105),i=n(106)("match"),o=n(65),a=n(432),s=n(667),c=n(123).f,u=n(342).f,l=n(671),d=n(519),f=n(186),h=n(58),p=o.RegExp,m=p.prototype,v=/a/g,g=/a/g,y=new p(v)!==v;if(a("RegExp",r&&(!y||h(function(){return g[i]=!1,p(v)!=v||p(g)==g||"/a/i"!=p(v,"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(y?new p(r&&!i?e.source:e,t):p((r=e instanceof b)?e.source:e,r&&i?d.call(e):t),n?this:m,b)},_=function(e){e in b||c(b,e,{configurable:!0,get:function(){return p[e]},set:function(t){p[e]=t}})},w=u(p),x=0;x<w.length;)_(w[x++]);m.constructor=b,b.prototype=m,f(o,"RegExp",b)}n(373)("RegExp")},function(e,t,n){"use strict";var r=n(520);n(19)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){n(105)&&"g"!=/./g.flags&&n(123).f(RegExp.prototype,"flags",{configurable:!0,get:n(519)})},function(e,t,n){"use strict";var r=n(94),i=n(58),o=n(519),a=n(105),s=/./.toString,c=i(function(){return"/a/b"!=s.call({source:"a",flags:"b"})}),u="toString"!=s.name;(c||u)&&n(186)(RegExp.prototype,"toString",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})},function(e,t,n){"use strict";e.exports=n(514)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(828))},function(e,t,n){"use strict";var r=n(521);n(19)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var r=n(108),i=n(672),o="".endsWith,a=Math.min,s=n(673)("endsWith");n(19)({target:"String",proto:!0,forced:!s},{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,s=r(t.length),c=void 0===n?s:a(r(n),s),u=String(e);return o?o.call(t,u,c):t.slice(c-u.length,c)===u}})},function(e,t,n){var r=n(311),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(19)({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("")}})},function(e,t,n){"use strict";var r=n(672),i=n(673)("includes");n(19)({target:"String",proto:!0,forced:!i},{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(94),i=n(108),o=n(213),a=n(674),s=n(522);n(523)("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 c=r(e),u=String(this);if(!c.global)return s(c,u);var l=c.unicode;c.lastIndex=0;for(var d,f=[],h=0;null!==(d=s(c,u));){var p=String(d[0]);f[h]=p,""===p&&(c.lastIndex=a(u,i(c.lastIndex),l)),h++}return 0===h?null:f}]})},function(e,t,n){"use strict";var r=n(841),i=n(842);n(19)({target:"String",proto:!0,forced:i},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(841),i=n(842);n(19)({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){var r=n(198),i=n(108);n(19)({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("")}})},function(e,t,n){n(19)({target:"String",proto:!0},{repeat:n(669)})},function(e,t,n){"use strict";var r=n(94),i=n(133),o=n(108),a=n(215),s=n(213),c=n(674),u=n(522),l=Math.max,d=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(523)("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 f=r(e),h=String(this),p="function"==typeof i;p||(i=String(i));var v=f.global;if(v){var g=f.unicode;f.lastIndex=0}for(var y=[];;){var b=u(f,h);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=c(h,o(f.lastIndex),g))}for(var _,w="",x=0,k=0;k<y.length;k++){b=y[k];for(var E=String(b[0]),S=l(d(a(b.index),h.length),0),T=[],C=1;C<b.length;C++)T.push(void 0===(_=b[C])?_:String(_));var O=b.groups;if(p){var A=[E].concat(T,S,h);void 0!==O&&A.push(O);var j=String(i.apply(void 0,A))}else j=m(E,h,S,T,O,i);S>=x&&(w+=h.slice(x,S)+j,x=S+E.length)}return w+h.slice(x)}];function m(e,n,r,o,a,s){var c=r+e.length,u=o.length,l=p;return void 0!==a&&(a=i(a),l=h),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(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>u){var d=f(l/10);return 0===d?t:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[l-1]}return void 0===s?"":s})}})},function(e,t,n){"use strict";var r=n(94),i=n(213),o=n(836),a=n(522);n(523)("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),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=a(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]})},function(e,t,n){"use strict";var r=n(671),i=n(94),o=n(213),a=n(316),s=n(674),c=n(108),u=n(522),l=n(520),d=n(58),f=[].push,h=Math.min,p=!d(function(){return!RegExp(4294967295,"y")});n(523)("split",2,function(e,t,n){var d;return d="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?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);for(var s,c,u,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,h+"g");(s=l.call(m,i))&&!((c=m.lastIndex)>p&&(d.push(i.slice(p,s.index)),s.length>1&&s.index<i.length&&f.apply(d,s.slice(1)),u=s[0].length,p=c,d.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return p===i.length?!u&&m.test("")||d.push(""):d.push(i.slice(p)),d.length>a?d.slice(0,a):d}:"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):d.call(String(r),t,n)},function(e,r){var o=n(d,e,this,r,d!==t);if(o.done)return o.value;var l=i(e),f=String(this),m=a(l,RegExp),v=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(p?"y":"g"),y=new m(p?l:"^(?:"+l.source+")",g),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var _=0,w=0,x=[];w<f.length;){y.lastIndex=p?w:0;var k,E=u(y,p?f:f.slice(w));if(null===E||(k=h(c(y.lastIndex+(p?0:w)),f.length))===_)w=s(f,w,v);else{if(x.push(f.slice(_,w)),x.length===b)return x;for(var S=1;S<=E.length-1;S++)if(x.push(E[S]),x.length===b)return x;w=_=k}}return x.push(f.slice(_)),x}]},!p)},function(e,t,n){"use strict";var r=n(108),i=n(672),o=n(673)("startsWith"),a="".startsWith;n(19)({target:"String",proto:!0,forced:!o},{startsWith:function(e){var t=i(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return a?a.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var r=n(375),i=n(675)("trim");n(19)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},function(e,t,n){"use strict";var r=n(375),i=n(675)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(19)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},function(e,t,n){"use strict";var r=n(375),i=n(675)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(19)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},function(e,t,n){"use strict";var r=n(200),i=n(201)("anchor");n(19)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("big");n(19)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("blink");n(19)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("bold");n(19)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("fixed");n(19)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("fontcolor");n(19)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("fontsize");n(19)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("italics");n(19)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("link");n(19)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("small");n(19)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("strike");n(19)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("sub");n(19)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(200),i=n(201)("sup");n(19)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){n(282)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(282)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(282)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r=n(816),i=n(95),o=i.aTypedArray;i.exportProto("copyWithin",function(e,t){return r.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)})},function(e,t,n){"use strict";var r=n(167)(4),i=n(95),o=i.aTypedArray;i.exportProto("every",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(662),i=n(95),o=i.aTypedArray;i.exportProto("fill",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(316),i=n(95),o=n(167)(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,c=t.length,u=new(s(n))(c);c>i;)u[i]=t[i++];return u})},function(e,t,n){"use strict";var r=n(167)(5),i=n(95),o=i.aTypedArray;i.exportProto("find",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(167)(6),i=n(95),o=i.aTypedArray;i.exportProto("findIndex",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(167)(0),i=n(95),o=i.aTypedArray;i.exportProto("forEach",function(e){r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(676),i=n(95),o=n(844);i.exportStatic("from",o,r)},function(e,t,n){"use strict";var r=n(431)(!0),i=n(95),o=i.aTypedArray;i.exportProto("includes",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(431)(!1),i=n(95),o=i.aTypedArray;i.exportProto("indexOf",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(512),i=n(65).Uint8Array,o=n(95),a=n(106)("iterator"),s=r.values,c=r.keys,u=r.entries,l=o.aTypedArray,d=o.exportProto,f=i&&i.prototype[a],h=!!f&&("values"==f.name||null==f.name),p=function(){return s.call(l(this))};d("entries",function(){return u.call(l(this))}),d("keys",function(){return c.call(l(this))}),d("values",p,!h),d(a,p,!h)},function(e,t,n){"use strict";var r=n(95),i=r.aTypedArray,o=[].join;r.exportProto("join",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(824),i=n(95),o=i.aTypedArray;i.exportProto("lastIndexOf",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(316),i=n(95),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(167)(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)})},function(e,t,n){"use strict";var r=n(676),i=n(95),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)},function(e,t,n){"use strict";var r=n(95),i=r.aTypedArray,o=[].reduce;r.exportProto("reduce",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(95),i=r.aTypedArray,o=[].reduceRight;r.exportProto("reduceRight",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(95),i=r.aTypedArray;r.exportProto("reverse",function(){for(var e,t=i(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this})},function(e,t,n){"use strict";var r=n(108),i=n(843),o=n(133),a=n(95),s=a.aTypedArray,c=n(58)(function(){new Int8Array(1).set({})});a.exportProto("set",function(e){s(this);var t=i(arguments[1],1),n=this.length,a=o(e),c=r(a.length),u=0;if(c+t>n)throw RangeError("Wrong length");for(;u<c;)this[t+u]=a[u++]},c)},function(e,t,n){"use strict";var r=n(316),i=n(95),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,c=n(58)(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),c=0,u=n.length,l=new(a(i))(u);u>c;)l[c]=n[c++];return l},c)},function(e,t,n){"use strict";var r=n(167)(3),i=n(95),o=i.aTypedArray;i.exportProto("some",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(95),i=r.aTypedArray,o=[].sort;r.exportProto("sort",function(e){return o.call(i(this),e)})},function(e,t,n){"use strict";var r=n(108),i=n(311),o=n(316),a=n(95),s=a.aTypedArray;a.exportProto("subarray",function(e,t){var n=s(this),a=n.length,c=i(e,a);return new(o(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,r((void 0===t?a:i(t,a))-c))})},function(e,t,n){"use strict";var r=n(65).Int8Array,i=n(58),o=n(95),a=o.aTypedArray,s=[].toLocaleString,c=[].slice,u=!!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(u?c.call(a(this)):a(this),arguments)},l)},function(e,t,n){"use strict";var r=n(65).Uint8Array,i=r&&r.prototype,o=n(95),a=[].toString,s=[].join;n(58)(function(){a.call({})})&&(a=function(){return s.call(this)}),o.exportProto("toString",a,(i||{}).toString!=a)},function(e,t,n){"use strict";var r,i=n(65),o=n(374),a=n(345),s=n(845),c=n(85),u=n(214).enforce,l=n(809),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},p=e.exports=n(514)("WeakMap",h,s,!0,!0);if(l&&d){r=s.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var m=p.prototype,v=m.delete,g=m.has,y=m.get,b=m.set;o(m,{delete:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.has(e)}return g.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),g.call(this,e)?y.call(this,e):t.frozen.get(e)}return y.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var n=u(this);n.frozen||(n.frozen=new r),g.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(514)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(845),!1,!0)},function(e,t,n){var r=n(846),i=n(818),o=n(172),a=n(65);for(var s in r){var c=a[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{o(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(846),i=n(512),o=n(65),a=n(172),s=n(106),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var d in r){var f=o[d],h=f&&f.prototype;if(h){if(h[c]!==l)try{a(h,c,l)}catch(e){h[c]=l}if(h[u]||a(h,u,d),r[d])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(e){h[p]=i[p]}}}},function(e,t,n){var r=n(65),i=n(670),o=!r.setImmediate||!r.clearImmediate;n(19)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(837),i=n(65).process,o="process"==n(231)(i);n(19)({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=o&&i.domain;r(t?t.bind(e):e)}})},function(e,t,n){var r=n(65),i=n(518),o=[].slice,a=/MSIE .\./.test(i),s=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&o.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};n(19)({global:!0,bind:!0,forced:a},{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){"use strict";n(840);var r,i=n(105),o=n(847),a=n(65).URL,s=n(661),c=n(186),u=n(315),l=n(144),d=n(834),f=n(819),h=n(521),p=n(1529),m=n(848),v=m.URLSearchParams,g=m.getState,y=n(214),b=y.set,_=y.getterFor("URL"),w=Math.pow,x=/[a-zA-Z]/,k=/[a-zA-Z0-9+\-.]/,E=/\d/,S=/^(0x|0X)/,T=/^[0-7]+$/,C=/^\d+$/,O=/^[0-9A-Fa-f]+$/,A=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,j=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,N=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,M=/\u0009|\u000A|\u000D/g,P=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=L(t.slice(1,-1))))return"Invalid host";e.host=n}else if(H(e)){if(t=p(t),A.test(t))return"Invalid host";if(null===(n=I(t)))return"Invalid host";e.host=n}else{if(j.test(t))return"Invalid host";for(n="",r=f(t),i=0;i<r.length;i++)n+=q(r[i],R);e.host=n}},I=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(""==c[c.length-1]&&c.length&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=S.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?C:8==o?T:O).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},L=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&O.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!E.test(f()))return;for(;E.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},D=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},R={},F=d({},R,{" ":1,'"':1,"<":1,">":1,"`":1}),B=d({},F,{"#":1,"?":1,"{":1,"}":1}),U=d({},B,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),q=function(e,t){var n=h(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},H=function(e){return l(z,e.scheme)},W=function(e){return""!=e.username||""!=e.password},V=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Y=function(e,t){var n;return 2==e.length&&x.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},G=function(e){var t;return e.length>1&&Y(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},K=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Y(t[0],!0)||t.pop()},$=function(e){return"."===e||"%2e"===e.toLowerCase()},X={},Q={},Z={},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},ue={},le={},de={},fe={},he={},pe={},me={},ve={},ge=function(e,t,n,i){var o,a,s,c,u,d=n||X,h=0,p="",m=!1,v=!1,g=!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(N,"")),t=t.replace(M,""),o=f(t);h<=o.length;){switch(a=o[h],d){case X:if(!a||!x.test(a)){if(n)return"Invalid scheme";d=Z;continue}p+=a.toLowerCase(),d=Q;break;case Q:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",d=Z,h=0;continue}if(n&&(H(e)!=l(z,p)||"file"==p&&(W(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(H(e)&&z[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?d=ue:H(e)&&i&&i.scheme==e.scheme?d=J:H(e)?d=re:"/"==o[h+1]?(d=ee,h++):(e.cannotBeABaseURL=!0,e.path.push(""),d=pe)}break;case Z:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,d=ve;break}d="file"==i.scheme?ue:te;continue;case J:if("/"!=a||"/"!=o[h+1]){d=te;continue}d=ie,h++;break;case ee:if("/"==a){d=oe;break}d=he;continue;case te: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&&H(e))d=ne;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="",d=me;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(),d=he;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="",d=ve}break;case ne:if(!H(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,d=he;continue}d=oe}else d=ie;break;case re:if(d=ie,"/"!=a||"/"!=p.charAt(h+1))continue;h++;break;case ie:if("/"!=a&&"\\"!=a){d=oe;continue}break;case oe:if("@"==a){m&&(p="%40"+p),m=!0,s=f(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=q(b,U);g?e.password+=_:e.username+=_}else g=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)){if(m&&""==p)return"Invalid authority";h-=f(p).length+1,p="",d=ae}else p+=a;break;case ae:case se:if(n&&"file"==e.scheme){d=de;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)){if(H(e)&&""==p)return"Invalid host";if(n&&""==p&&(W(e)||null!==e.port))return;if(c=P(e,p))return c;if(p="",d=fe,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),p+=a}else{if(""==p)return"Invalid host";if(c=P(e,p))return c;if(p="",d=ce,n==se)return}break;case ce:if(!E.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return"Invalid port";e.port=H(e)&&w===z[e.scheme]?null:w,p=""}if(n)return;d=fe;continue}return"Invalid port"}p+=a;break;case ue:if(e.scheme="file","/"==a||"\\"==a)d=le;else{if(!i||"file"!=i.scheme){d=he;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="",d=me;else{if("#"!=a){G(o.slice(h).join(""))||(e.host=i.host,e.path=i.path.slice(),K(e)),d=he;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",d=ve}}break;case le:if("/"==a||"\\"==a){d=de;break}i&&"file"==i.scheme&&!G(o.slice(h).join(""))&&(Y(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),d=he;continue;case de:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Y(p))d=he;else if(""==p){if(e.host="",n)return;d=fe}else{if(c=P(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",d=fe}continue}p+=a;break;case fe:if(H(e)){if(d=he,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(d=he,"/"!=a))continue}else e.fragment="",d=ve;else e.query="",d=me;break;case he:if(a==r||"/"==a||"\\"==a&&H(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(K(e),"/"==a||"\\"==a&&H(e)||e.path.push("")):$(p)?"/"==a||"\\"==a&&H(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Y(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",d=me):"#"==a&&(e.fragment="",d=ve)}else p+=q(a,B);break;case pe:"?"==a?(e.query="",d=me):"#"==a?(e.fragment="",d=ve):a!=r&&(e.path[0]+=q(a,R));break;case me:n||"#"!=a?a!=r&&("'"==a&&H(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,R)):(e.fragment="",d=ve);break;case ve:a!=r&&(e.fragment+=q(a,F))}h++}},ye=function(e){var t,n,r=u(this,ye,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=b(r,{type:"URL"});if(void 0!==o)if(o instanceof ye)t=_(o);else if(n=ge(t={},String(o)))throw TypeError(n);if(n=ge(s,a,null,t))throw TypeError(n);var c=s.searchParams=new v,l=g(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},i||(r.href=_e.call(r),r.origin=we.call(r),r.protocol=xe.call(r),r.username=ke.call(r),r.password=Ee.call(r),r.host=Se.call(r),r.hostname=Te.call(r),r.port=Ce.call(r),r.pathname=Oe.call(r),r.search=Ae.call(r),r.searchParams=je.call(r),r.hash=Ne.call(r))},be=ye.prototype,_e=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,c=e.fragment,u=t+":";return null!==i?(u+="//",W(e)&&(u+=n+(r?":"+r:"")+"@"),u+=D(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},we=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&&H(e)?t+"://"+D(e.host)+(null!==n?":"+n:""):"null"},xe=function(){return _(this).scheme+":"},ke=function(){return _(this).username},Ee=function(){return _(this).password},Se=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?D(t):D(t)+":"+n},Te=function(){var e=_(this).host;return null===e?"":D(e)},Ce=function(){var e=_(this).port;return null===e?"":String(e)},Oe=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ae=function(){var e=_(this).query;return e?"?"+e:""},je=function(){return _(this).searchParams},Ne=function(){var e=_(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(be,{href:Me(_e,function(e){var t=_(this),n=String(e),r=ge(t,n);if(r)throw TypeError(r);g(t.searchParams).updateSearchParams(t.query)}),origin:Me(we),protocol:Me(xe,function(e){var t=_(this);ge(t,String(e)+":",X)}),username:Me(ke,function(e){var t=_(this),n=f(String(e));if(!V(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=q(n[r],U)}}),password:Me(Ee,function(e){var t=_(this),n=f(String(e));if(!V(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=q(n[r],U)}}),host:Me(Se,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),ae)}),hostname:Me(Te,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),se)}),port:Me(Ce,function(e){var t=_(this);V(t)||(""==(e=String(e))?t.port=null:ge(t,e,ce))}),pathname:Me(Oe,function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],ge(t,e+"",fe))}),search:Me(Ae,function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",ge(t,e,me)),g(t.searchParams).updateSearchParams(t.query)}),searchParams:Me(je),hash:Me(Ne,function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",ge(t,e,ve)):t.fragment=null})}),c(be,"toJSON",function(){return _e.call(this)},{enumerable:!0}),c(be,"toString",function(){return _e.call(this)},{enumerable:!0}),a){var Pe=a.createObjectURL,Ie=a.revokeObjectURL;Pe&&c(ye,"createObjectURL",function(e){return Pe.apply(a,arguments)}),Ie&&c(ye,"revokeObjectURL",function(e){return Ie.apply(a,arguments)})}n(252)(ye,"URL"),n(19)({global:!0,forced:!o,sham:!i},{URL:ye})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[\u002E\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],i=(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)).length,l=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,p=h;for(h&&r.push("-");p<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=p+1;if(m-l>a((2147483647-d)/v))throw RangeError(o);for(d+=(m-l)*v,l=m,t=0;t<e.length;t++){if((n=e[t])<l&&++d>2147483647)throw RangeError(o);if(n==l){for(var g=d,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(g<b)break;var _=g-b,w=36-b;r.push(s(c(b+_%w))),g=a(_/w)}r.push(s(c(g))),f=u(d,v,p==h),d=0,++p}}++d,++l}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+l(n):n);return o.join(".")}},function(e,t,n){var r=n(94),i=n(436);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(19)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t){!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()}}}}()},function(e,t,n){"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(){var o;i=!1,"blur"===r.type&&Array.prototype.slice.call(e(r.target)).forEach((o="focus-within",function(e){var t=void 0!==e.getAttribute?e.getAttribute("class")||"":void 0;if(t){var r=t.indexOf(o);0<=r&&(0===r||0<=n.indexOf(t.charAt(r-1)))&&(""===(t=t.replace(o,"").trim())?e.removeAttribute("class"):e.setAttribute("class",t))}})),"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}()}}()},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(850),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(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 y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var k=x.prototype=new w;k.constructor=x,r(k,_.prototype),k.isPureReactComponent=!0;var E={current:null},S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!T.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:E.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var A=/\/+/g,j=[];function N(e,t,n,r){if(j.length){var i=j.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>j.length&&j.push(e)}function P(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case a:c=!0}}if(c)return r(i,t,""===n?"."+I(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=n+I(s=t[u],u);c+=e(s,l,r,i)}else if(l=null===t||"object"!=typeof t?null:"function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),u=0;!(s=t.next()).done;)c+=e(s=s.value,l=n+I(s,u++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return c}(e,"",t,n)}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function D(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(A,"$&/")+"/")+n)),r.push(e))}function R(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(A,"$&/")+"/"),P(e,D,t=N(t,o,r,i)),M(t)}var F={current:null};function B(){var e=F.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;P(e,L,t=N(null,null,t,n)),M(t)},count:function(e){return P(e,function(){return null},null)},toArray:function(e){var t=[];return R(e,t,null,function(e){return e}),t},only:function(e){if(!O(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=u,t.PureComponent=x,t.StrictMode=c,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,c=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)S.call(t,l)&&!T.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
/** @license React v16.13.0
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(0),i=n(850),o=n(1536);function a(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."}if(!r)throw Error(a(227));var s=!1,c=null,u=!1,l=null,d={onError:function(e){s=!0,c=e}};function f(e,t,n,r,i,o,a,u,l){s=!1,c=null,function(e,t,n,r,i,o,a,s,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}.apply(d,arguments)}var h=null,p=null,m=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,i,o,d,h,p){if(f.apply(this,arguments),s){if(!s)throw Error(a(198));var m=c;s=!1,c=null,u||(u=!0,l=m)}}(r,t,void 0,e),e.currentTarget=null}var g=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;g.hasOwnProperty("ReactCurrentDispatcher")||(g.ReactCurrentDispatcher={current:null}),g.hasOwnProperty("ReactCurrentBatchConfig")||(g.ReactCurrentBatchConfig={suspense:null});var y=/^(.*)[\\\/]/,b="function"==typeof Symbol&&Symbol.for,_=b?Symbol.for("react.element"):60103,w=b?Symbol.for("react.portal"):60106,x=b?Symbol.for("react.fragment"):60107,k=b?Symbol.for("react.strict_mode"):60108,E=b?Symbol.for("react.profiler"):60114,S=b?Symbol.for("react.provider"):60109,T=b?Symbol.for("react.context"):60110,C=b?Symbol.for("react.concurrent_mode"):60111,O=b?Symbol.for("react.forward_ref"):60112,A=b?Symbol.for("react.suspense"):60113,j=b?Symbol.for("react.suspense_list"):60120,N=b?Symbol.for("react.memo"):60115,M=b?Symbol.for("react.lazy"):60116,P=b?Symbol.for("react.block"):60121,I="function"==typeof Symbol&&Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}function D(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 w:return"Portal";case E:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return"Context.Consumer";case S:return"Context.Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case N:return D(e.type);case P:return D(e.render);case M:if(e=1===e._status?e._result:null)return D(e)}return null}function R(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=D(e.type);n=null,r&&(n=D(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(y,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var F=null,B={};function U(){if(F)for(var e in B){var t=B[e],n=F.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!z[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in z[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,c=r;if(H.hasOwnProperty(c))throw Error(a(99,c));H[c]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&q(u[i],s,c);i=!0}else o.registrationName?(q(o.registrationName,s,c),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function q(e,t,n){if(W[e])throw Error(a(100,e));W[e]=t,V[e]=t.eventTypes[n].dependencies}var z=[],H={},W={},V={};function Y(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!B.hasOwnProperty(t)||B[t]!==r){if(B[t])throw Error(a(102,t));B[t]=r,n=!0}}n&&U()}var G=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),K=null,$=null,X=null;function Q(e){if(e=p(e)){if("function"!=typeof K)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),K(e.stateNode,e.type,t))}}function Z(e){$?X?X.push(e):X=[e]:$=e}function J(){if($){var e=$,t=X;if(X=$=null,Q(e),t)for(e=0;e<t.length;e++)Q(t[e])}}function ee(e,t){return e(t)}function te(e,t,n,r,i){return e(t,n,r,i)}function ne(){}var re=ee,ie=!1,oe=!1;function ae(){null===$&&null===X||(ne(),J())}function se(e,t,n){if(oe)return e(t,n);oe=!0;try{return re(e,t,n)}finally{oe=!1,ae()}}var ce=/^[: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]*$/,ue=Object.prototype.hasOwnProperty,le={},de={};function fe(e,t,n,r,i,o){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}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){he[e]=new fe(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];he[t]=new fe(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new fe(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new fe(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){he[e]=new fe(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){he[e]=new fe(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){he[e]=new fe(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){he[e]=new fe(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){he[e]=new fe(e,5,!1,e.toLowerCase(),null,!1)});var pe=/[\-:]([a-z])/g;function me(e){return e[1].toUpperCase()}function ve(e,t,n,r){var i=he.hasOwnProperty(t)?he[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!!ue.call(de,e)||!ue.call(le,e)&&(ce.test(e)?de[e]=!0:(le[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))))}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function be(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(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 _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(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 ke(e,t){null!=(t=t.checked)&&ve(e,"checked",t,!1)}function Ee(e,t){ke(e,t);var n=ge(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")?Te(e,t.type,n):t.hasOwnProperty("defaultValue")&&Te(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(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 Te(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ce(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Oe(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=""+ge(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 Ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Ne(e,t){var n=ge(t.value),r=ge(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 Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"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(pe,me);he[t]=new fe(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pe,me);he[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pe,me);he[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){he[e]=new fe(e,1,!1,e.toLowerCase(),null,!1)}),he.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){he[e]=new fe(e,1,!1,e.toLowerCase(),null,!0)});var Pe="http://www.w3.org/1999/xhtml",Ie="http://www.w3.org/2000/svg";function Le(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 De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Re,Fe,Be=(Fe=function(e,t){if(e.namespaceURI!==Ie||"innerHTML"in e)e.innerHTML=t;else{for((Re=Re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Re.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 Fe(e,t)})}:Fe);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ze={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},He={},We={};function Ve(e){if(He[e])return He[e];if(!ze[e])return e;var t,n=ze[e];for(t in n)if(n.hasOwnProperty(t)&&t in We)return He[e]=n[t];return e}G&&(We=document.createElement("div").style,"AnimationEvent"in window||(delete ze.animationend.animation,delete ze.animationiteration.animation,delete ze.animationstart.animation),"TransitionEvent"in window||delete ze.transitionend.transition);var Ye=Ve("animationend"),Ge=Ve("animationiteration"),Ke=Ve("animationstart"),$e=Ve("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(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 tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return tt(i),e;if(o===r)return tt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=rt(ot,e)),e=ot,ot=null,e){if(it(e,at),ot)throw Error(a(95));if(u)throw e=l,u=!1,l=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(e){if(!G)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var lt=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>lt.length&&lt.push(e)}function ft(e,t,n,r){if(lt.length){var i=lt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=An(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=ct(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,c=0;c<z.length;c++){var u=z[c];u&&(u=u.extractEvents(r,t,o,i,a))&&(s=rt(s,u))}st(s)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ut(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var mt,vt,gt,yt=!1,bt=[],_t=null,wt=null,xt=null,kt=new Map,Et=new Map,St=[],Tt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ct="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ot(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function At(e,t){switch(e){case"focus":case"blur":_t=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function jt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ot(t,n,r,i,o),null!==t&&(null!==(t=jn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Nt(e){var t=An(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,function(){gt(n)})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=jn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Pt(e,t,n){Mt(e)&&n.delete(t)}function It(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=jn(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==_t&&Mt(_t)&&(_t=null),null!==wt&&Mt(wt)&&(wt=null),null!==xt&&Mt(xt)&&(xt=null),kt.forEach(Pt),Et.forEach(Pt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,It)))}function Dt(e){function t(t){return Lt(t,e)}if(0<bt.length){Lt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&Lt(_t,e),null!==wt&&Lt(wt,e),null!==xt&&Lt(xt,e),kt.forEach(t),Et.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Nt(n),null===n.blockedOn&&St.shift()}var Rt={},Ft=new Map,Bt=new Map,Ut=["abort","abort",Ye,"animationEnd",Ge,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$e,"transitionEnd","waiting","waiting"];function qt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Bt.set(r,t),Ft.set(r,o),Rt[i]=o}}qt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),qt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),qt(Ut,2);for(var zt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<zt.length;Ht++)Bt.set(zt[Ht],0);var Wt=o.unstable_UserBlockingPriority,Vt=o.unstable_runWithPriority,Yt=!0;function Gt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Bt.get(t);switch(void 0===r?2:r){case 0:r=function(e,t,n,r){ie||ne();var i=$t,o=ie;ie=!0;try{te(i,e,t,n,r)}finally{(ie=o)||ae()}}.bind(null,t,1,e);break;case 1:r=function(e,t,n,r){Vt(Wt,$t.bind(null,e,t,n,r))}.bind(null,t,1,e);break;default:r=$t.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function $t(e,t,n,r){if(Yt)if(0<bt.length&&-1<Tt.indexOf(e))e=Ot(null,e,t,n,r),bt.push(e);else{var i=Xt(e,t,n,r);if(null===i)At(e,r);else if(-1<Tt.indexOf(e))e=Ot(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return _t=jt(_t,e,t,n,r,i),!0;case"dragenter":return wt=jt(wt,e,t,n,r,i),!0;case"mouseover":return xt=jt(xt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return kt.set(o,jt(kt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Et.set(o,jt(Et.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){At(e,r),e=ft(e,r,null,t);try{se(ht,e)}finally{dt(e)}}}}function Xt(e,t,n,r){if(null!==(n=An(n=ct(r)))){var i=Je(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=et(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ft(e,r,n,t);try{se(ht,e)}finally{dt(e)}return null}var Qt={animationIterationCount:!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},Zt=["Webkit","ms","Moz","O"];function Jt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Qt.hasOwnProperty(e)&&Qt[e]?(""+t).trim():t+"px"}function en(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Jt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Qt).forEach(function(e){Zt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qt[t]=Qt[e]})});var tn=i({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 nn(e,t){if(t){if(tn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function rn(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 on=Pe;function an(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=V[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function sn(){}function cn(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 un(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ln(e,t){var n,r=un(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=un(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function fn(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)}var hn="$",pn="/$",mn="$?",vn="$!",gn=null,yn=null;function bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function _n(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var wn="function"==typeof setTimeout?setTimeout:void 0,xn="function"==typeof clearTimeout?clearTimeout:void 0;function kn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function En(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===hn||n===vn||n===mn){if(0===t)return e;t--}else n===pn&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Sn,Cn="__reactEventHandlers$"+Sn,On="__reactContainere$"+Sn;function An(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=En(e);null!==e;){if(n=e[Tn])return n;e=En(e)}return t}n=(e=n).parentNode}return null}function jn(e){return!(e=e[Tn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Mn(e){return e[Cn]||null}function Pn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!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(a(231,t,typeof n));return n}function Ln(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Dn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Pn(t);for(t=n.length;0<t--;)Ln(n[t],"captured",e);for(t=0;t<n.length;t++)Ln(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=In(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Fn(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Bn(e){it(e,Dn)}var Un=null,qn=null,zn=null;function Hn(){if(zn)return zn;var e,t,n=qn,r=n.length,i="value"in Un?Un.value:Un.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 zn=i.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function Vn(){return!1}function Yn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:Vn,this.isPropagationStopped=Vn,this}function Gn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Kn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Gn,e.release=Kn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:Vn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Vn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(Yn);var Xn=Yn.extend({data:null}),Qn=Yn.extend({data:null}),Zn=[9,13,27,32],Jn=G&&"CompositionEvent"in window,er=null;G&&"documentMode"in document&&(er=document.documentMode);var tr=G&&"TextEvent"in window&&!er,nr=G&&(!Jn||er&&8<er&&11>=er),rr=String.fromCharCode(32),ir={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},or=!1;function ar(e,t){switch(e){case"keyup":return-1!==Zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function sr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1;var ur={eventTypes:ir,extractEvents:function(e,t,n,r){var i;if(Jn)e:{switch(e){case"compositionstart":var o=ir.compositionStart;break e;case"compositionend":o=ir.compositionEnd;break e;case"compositionupdate":o=ir.compositionUpdate;break e}o=void 0}else cr?ar(e,n)&&(o=ir.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ir.compositionStart);return o?(nr&&"ko"!==n.locale&&(cr||o!==ir.compositionStart?o===ir.compositionEnd&&cr&&(i=Hn()):(qn="value"in(Un=r)?Un.value:Un.textContent,cr=!0)),o=Xn.getPooled(o,t,n,r),i?o.data=i:null!==(i=sr(n))&&(o.data=i),Bn(o),i=o):i=null,(e=tr?function(e,t){switch(e){case"compositionend":return sr(t);case"keypress":return 32!==t.which?null:(or=!0,rr);case"textInput":return(e=t.data)===rr&&or?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!Jn&&ar(e,t)?(e=Hn(),zn=qn=Un=null,cr=!1,e):null;switch(e){case"paste":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 nr&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(ir.beforeInput,t,n,r)).data=e,Bn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={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 dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var fr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function hr(e,t,n){return(e=Yn.getPooled(fr.change,e,t,n)).type="change",Z(n),Bn(e),e}var pr=null,mr=null;function vr(e){st(e)}function gr(e){if(_e(Nn(e)))return e}function yr(e,t){if("change"===e)return t}var br=!1;function _r(){pr&&(pr.detachEvent("onpropertychange",wr),mr=pr=null)}function wr(e){if("value"===e.propertyName&&gr(mr))if(e=hr(mr,e,ct(e)),ie)st(e);else{ie=!0;try{ee(vr,e)}finally{ie=!1,ae()}}}function xr(e,t,n){"focus"===e?(_r(),mr=n,(pr=t).attachEvent("onpropertychange",wr)):"blur"===e&&_r()}function kr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(mr)}function Er(e,t){if("click"===e)return gr(t)}function Sr(e,t){if("input"===e||"change"===e)return gr(t)}G&&(br=ut("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:fr,_isInputEventSupported:br,extractEvents:function(e,t,n,r){var i=t?Nn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=yr;else if(dr(i))if(br)a=Sr;else{a=kr;var s=xr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Er);if(a&&(a=a(e,t)))return hr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Te(i,"number",i.value)}},Cr=Yn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function jr(){return Ar}var Nr=0,Mr=0,Pr=!1,Ir=!1,Lr=Cr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:jr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Nr;return Nr=e.screenX,Pr?"mousemove"===e.type?e.screenX-t:0:(Pr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Ir?"mousemove"===e.type?e.screenY-t:0:(Ir=!0,0)}}),Dr=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Fr={eventTypes:Rr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?An(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Lr,c=Rr.mouseLeave,u=Rr.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Dr,c=Rr.pointerLeave,u=Rr.pointerEnter,l="pointer");if(e=null==a?o:Nn(a),o=null==t?o:Nn(t),(c=s.getPooled(c,a,n,r)).type=l+"leave",c.target=e,c.relatedTarget=o,(n=s.getPooled(u,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(u=l,a=0,e=s=r;e;e=Pn(e))a++;for(e=0,t=u;t;t=Pn(t))e++;for(;0<a-e;)s=Pn(s),a--;for(;0<e-a;)u=Pn(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Pn(s),u=Pn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Pn(r);for(r=[];l&&l!==u&&(null===(a=l.alternate)||a!==u);)r.push(l),l=Pn(l);for(l=0;l<s.length;l++)Rn(s[l],"bubbled",c);for(l=r.length;0<l--;)Rn(r[l],"captured",n);return 0==(64&i)?[c]:[c,n]}};var Br="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ur=Object.prototype.hasOwnProperty;function qr(e,t){if(Br(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++)if(!Ur.call(t,n[r])||!Br(e[n[r]],t[n[r]]))return!1;return!0}var zr=G&&"documentMode"in document&&11>=document.documentMode,Hr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,Vr=null,Yr=null,Gr=!1;function Kr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==Wr||Wr!==cn(n)?null:("selectionStart"in(n=Wr)&&fn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&qr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Hr.select,Vr,e,t)).type="select",e.target=Wr,Bn(e),e))}var $r={eventTypes:Hr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Ze(i),o=V.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Nn(t):window,e){case"focus":(dr(i)||"true"===i.contentEditable)&&(Wr=i,Vr=t,Yr=null);break;case"blur":Yr=Vr=Wr=null;break;case"mousedown":Gr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gr=!1,Kr(n,r);case"selectionchange":if(zr)break;case"keydown":case"keyup":return Kr(n,r)}return null}},Xr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zr=Cr.extend({relatedTarget:null});function Jr(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}var ei={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ti={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"},ni=Cr.extend({key:function(e){if(e.key){var t=ei[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ti[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:jr,charCode:function(e){return"keypress"===e.type?Jr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ri=Lr.extend({dataTransfer:null}),ii=Cr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:jr}),oi=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ai=Lr.extend({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:null,deltaMode:null}),si={eventTypes:Rt,extractEvents:function(e,t,n,r){var i=Ft.get(e);if(!i)return null;switch(e){case"keypress":if(0===Jr(n))return null;case"keydown":case"keyup":e=ni;break;case"blur":case"focus":e=Zr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ri;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ii;break;case Ye:case Ge:case Ke:e=Xr;break;case $e:e=oi;break;case"scroll":e=Cr;break;case"wheel":e=ai;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Dr;break;default:e=Yn}return Bn(t=e.getPooled(i,t,n,r)),t}};if(F)throw Error(a(101));F=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),U(),h=Mn,p=jn,m=Nn,Y({SimpleEventPlugin:si,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Tr,SelectEventPlugin:$r,BeforeInputEventPlugin:ur});var ci=[],ui=-1;function li(e){0>ui||(e.current=ci[ui],ci[ui]=null,ui--)}function di(e,t){ci[++ui]=e.current,e.current=t}var fi={},hi={current:fi},pi={current:!1},mi=fi;function vi(e,t){var n=e.type.contextTypes;if(!n)return fi;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 gi(e){return null!=(e=e.childContextTypes)}function yi(){li(pi),li(hi)}function bi(e,t,n){if(hi.current!==fi)throw Error(a(168));di(hi,t),di(pi,n)}function _i(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,D(t)||"Unknown",o));return i({},n,{},r)}function wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,mi=hi.current,di(hi,e),di(pi,pi.current),!0}function xi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=_i(e,t,mi),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(hi),di(hi,e)):li(pi),di(pi,n)}var ki=o.unstable_runWithPriority,Ei=o.unstable_scheduleCallback,Si=o.unstable_cancelCallback,Ti=o.unstable_requestPaint,Ci=o.unstable_now,Oi=o.unstable_getCurrentPriorityLevel,Ai=o.unstable_ImmediatePriority,ji=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Pi=o.unstable_IdlePriority,Ii={},Li=o.unstable_shouldYield,Di=void 0!==Ti?Ti:function(){},Ri=null,Fi=null,Bi=!1,Ui=Ci(),qi=1e4>Ui?Ci:function(){return Ci()-Ui};function zi(){switch(Oi()){case Ai:return 99;case ji:return 98;case Ni:return 97;case Mi:return 96;case Pi:return 95;default:throw Error(a(332))}}function Hi(e){switch(e){case 99:return Ai;case 98:return ji;case 97:return Ni;case 96:return Mi;case 95:return Pi;default:throw Error(a(332))}}function Wi(e,t){return e=Hi(e),ki(e,t)}function Vi(e,t,n){return e=Hi(e),Ei(e,t,n)}function Yi(e){return null===Ri?(Ri=[e],Fi=Ei(Ai,Ki)):Ri.push(e),Ii}function Gi(){if(null!==Fi){var e=Fi;Fi=null,Si(e)}Ki()}function Ki(){if(!Bi&&null!==Ri){Bi=!0;var e=0;try{var t=Ri;Wi(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Ri=null}catch(t){throw null!==Ri&&(Ri=Ri.slice(e+1)),Ei(Ai,Gi),t}finally{Bi=!1}}}function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Xi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qi={current:null},Zi=null,Ji=null,eo=null;function to(){eo=Ji=Zi=null}function no(e){var t=Qi.current;li(Qi),e.type._context._currentValue=t}function ro(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function io(e,t){Zi=e,eo=Ji=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ma=!0),e.firstContext=null)}function oo(e,t){if(eo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(eo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ji){if(null===Zi)throw Error(a(308));Ji=t,Zi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ji=Ji.next=t;return e._currentValue}var ao=!1;function so(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function uo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fo(e,t){var n=e.alternate;null!==n&&co(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ho(e,t,n,r){var o=e.updateQueue;ao=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,null!==(c=e.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==a){c=a.next;var u=o.baseState,l=0,d=null,f=null,h=null;if(null!==c)for(var p=c;;){if((s=p.expirationTime)<r){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(f=h=m,d=u):h=h.next=m,s>l&&(l=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),mc(s,p.suspenseConfig);e:{var v=e,g=p;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,u,s):v))break e;u=i({},u,s);break e;case 2:ao=!0}}null!==p.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===c){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}null===h?d=u:h.next=f,o.baseState=d,o.baseQueue=h,vc(l),e.expirationTime=l,e.memoizedState=u}}function po(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=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var mo=g.ReactCurrentBatchConfig,vo=(new r.Component).refs;function go(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var yo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=rc(),i=mo.suspense;(i=uo(r=ic(r,e,i),i)).payload=t,null!=n&&(i.callback=n),lo(e,i),oc(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=rc(),i=mo.suspense;(i=uo(r=ic(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),lo(e,i),oc(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=rc(),r=mo.suspense;(r=uo(n=ic(n,e,r),r)).tag=2,null!=t&&(r.callback=t),lo(e,r),oc(e,n)}};function bo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!qr(n,r)||!qr(i,o))}function _o(e,t,n){var r=!1,i=fi,o=t.contextType;return"object"==typeof o&&null!==o?o=oo(o):(i=gi(t)?mi:hi.current,o=(r=null!=(r=t.contextTypes))?vi(e,i):fi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function wo(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&&yo.enqueueReplaceState(t,t.state,null)}function xo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=vo,so(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=oo(o):(o=gi(t)?mi:hi.current,i.context=vi(e,o)),ho(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(go(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&&yo.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var ko=Array.isArray;function Eo(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(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===vo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function So(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function To(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}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=Ic(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Rc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Eo(e,t,n),r.return=e,r):((r=Lc(n.type,n.key,n.props,null,e.mode,r)).ref=Eo(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=Fc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Rc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Lc(t.type,t.key,t.props,null,e.mode,n)).ref=Eo(e,null,t),n.return=e,n;case w:return(t=Fc(t,e.mode,n)).return=e,t}if(ko(t)||L(t))return(t=Dc(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?n.type===x?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case w:return n.key===i?l(e,t,n,r):null}if(ko(n)||L(n))return null!==i?null:d(e,t,n,r,null);So(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return e=e.get(null===r.key?n:r.key)||null,r.type===x?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case w:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ko(r)||L(r))return d(t,e=e.get(n)||null,r,i,null);So(t,r)}return null}function m(i,a,s,c){for(var u=null,l=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=h(i,d,s[m],c);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===l?u=g:l.sibling=g,l=g,d=v}if(m===s.length)return n(i,d),u;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],c))&&(a=o(d,a,m),null===l?u=d:l.sibling=d,l=d);return u}for(d=r(i,d);m<s.length;m++)null!==(v=p(d,i,m,s[m],c))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===l?u=v:l.sibling=v,l=v);return e&&d.forEach(function(e){return t(i,e)}),u}function v(i,s,c,u){var l=L(c);if("function"!=typeof l)throw Error(a(150));if(null==(c=l.call(c)))throw Error(a(151));for(var d=l=null,m=s,v=s=0,g=null,y=c.next();null!==m&&!y.done;v++,y=c.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?l=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),l;if(null===m){for(;!y.done;v++,y=c.next())null!==(y=f(i,y.value,u))&&(s=o(y,s,v),null===d?l=y:d.sibling=y,d=y);return l}for(m=r(i,m);!y.done;v++,y=c.next())null!==(y=p(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?l=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(i,e)}),l}return function(e,r,o,c){var u="object"==typeof o&&null!==o&&o.type===x&&null===o.key;u&&(o=o.props.children);var l="object"==typeof o&&null!==o;if(l)switch(o.$$typeof){case _:e:{for(l=o.key,u=r;null!==u;){if(u.key===l){switch(u.tag){case 7:if(o.type===x){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=Eo(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===x?((r=Dc(o.props.children,e.mode,c,o.key)).return=e,e=r):((c=Lc(o.type,o.key,o.props,null,e.mode,c)).ref=Eo(e,r,o),c.return=e,e=c)}return s(e);case w:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Fc(o,e.mode,c)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Rc(o,e.mode,c)).return=e,e=r),s(e);if(ko(o))return m(e,r,o,c);if(L(o))return v(e,r,o,c);if(l&&So(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Co=To(!0),Oo=To(!1),Ao={},jo={current:Ao},No={current:Ao},Mo={current:Ao};function Po(e){if(e===Ao)throw Error(a(174));return e}function Io(e,t){switch(di(Mo,t),di(No,e),di(jo,Ao),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(jo),di(jo,t)}function Lo(){li(jo),li(No),li(Mo)}function Do(e){Po(Mo.current);var t=Po(jo.current),n=De(t,e.type);t!==n&&(di(No,e),di(jo,n))}function Ro(e){No.current===e&&(li(jo),li(No))}var Fo={current:0};function Bo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===mn||n.data===vn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))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}function Uo(e,t){return{responder:e,props:t}}var qo=g.ReactCurrentDispatcher,zo=g.ReactCurrentBatchConfig,Ho=0,Wo=null,Vo=null,Yo=null,Go=!1;function Ko(){throw Error(a(321))}function $o(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Br(e[n],t[n]))return!1;return!0}function Xo(e,t,n,r,i,o){if(Ho=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,qo.current=null===e||null===e.memoizedState?ba:_a,e=n(r,i),t.expirationTime===Ho){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Yo=Vo=null,t.updateQueue=null,qo.current=wa,e=n(r,i)}while(t.expirationTime===Ho)}if(qo.current=ya,t=null!==Vo&&null!==Vo.next,Ho=0,Yo=Vo=Wo=null,Go=!1,t)throw Error(a(300));return e}function Qo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function Zo(){if(null===Vo){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=Vo.next;var t=null===Yo?Wo.memoizedState:Yo.next;if(null!==t)Yo=t,Vo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Vo=e).memoizedState,baseState:Vo.baseState,baseQueue:Vo.baseQueue,queue:Vo.queue,next:null},null===Yo?Wo.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function Jo(e,t){return"function"==typeof t?t(e):t}function ea(e){var t=Zo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Vo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var c=s=o=null,u=i;do{var l=u.expirationTime;if(l<Ho){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===c?(s=c=d,o=r):c=c.next=d,l>Wo.expirationTime&&(Wo.expirationTime=l,vc(l))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),mc(l,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===c?o=r:c.next=s,Br(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ta(e){var t=Zo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Br(o,t.memoizedState)||(Ma=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function na(e){var t=Qo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:e}).dispatch=ga.bind(null,Wo,e),[t.memoizedState,e]}function ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wo.updateQueue)?(t={lastEffect:null},Wo.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 ia(){return Zo().memoizedState}function oa(e,t,n,r){var i=Qo();Wo.effectTag|=e,i.memoizedState=ra(1|t,n,void 0,void 0===r?null:r)}function aa(e,t,n,r){var i=Zo();r=void 0===r?null:r;var o=void 0;if(null!==Vo){var a=Vo.memoizedState;if(o=a.destroy,null!==r&&$o(r,a.deps))return void ra(t,n,o,r)}Wo.effectTag|=e,i.memoizedState=ra(1|t,n,o,r)}function sa(e,t){return oa(516,4,e,t)}function ca(e,t){return aa(516,4,e,t)}function ua(e,t){return aa(4,2,e,t)}function la(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 da(e,t,n){return n=null!=n?n.concat([e]):null,aa(4,2,la.bind(null,t,e),n)}function fa(){}function ha(e,t){return Qo().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ma(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function va(e,t,n){var r=zi();Wi(98>r?98:r,function(){e(!0)}),Wi(97<r?97:r,function(){var r=zo.suspense;zo.suspense=void 0===t?null:t;try{e(!1),n()}finally{zo.suspense=r}})}function ga(e,t,n){var r=rc(),i=mo.suspense;i={expirationTime:r=ic(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Wo||null!==o&&o===Wo)Go=!0,i.expirationTime=Ho,Wo.expirationTime=Ho;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Br(s,a))return}catch(e){}oc(e,r)}}var ya={readContext:oo,useCallback:Ko,useContext:Ko,useEffect:Ko,useImperativeHandle:Ko,useLayoutEffect:Ko,useMemo:Ko,useReducer:Ko,useRef:Ko,useState:Ko,useDebugValue:Ko,useResponder:Ko,useDeferredValue:Ko,useTransition:Ko},ba={readContext:oo,useCallback:ha,useContext:oo,useEffect:sa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(4,2,e,t)},useMemo:function(e,t){var n=Qo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ga.bind(null,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qo().memoizedState=e},useState:na,useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=na(e),r=n[0],i=n[1];return sa(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=na(!1),n=t[0];return t=t[1],[ha(va.bind(null,t,e),[t,e]),n]}},_a={readContext:oo,useCallback:pa,useContext:oo,useEffect:ca,useImperativeHandle:da,useLayoutEffect:ua,useMemo:ma,useReducer:ea,useRef:ia,useState:function(){return ea(Jo)},useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=ea(Jo),r=n[0],i=n[1];return ca(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=ea(Jo),n=t[0];return t=t[1],[pa(va.bind(null,t,e),[t,e]),n]}},wa={readContext:oo,useCallback:pa,useContext:oo,useEffect:ca,useImperativeHandle:da,useLayoutEffect:ua,useMemo:ma,useReducer:ta,useRef:ia,useState:function(){return ta(Jo)},useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=ta(Jo),r=n[0],i=n[1];return ca(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=ta(Jo),n=t[0];return t=t[1],[pa(va.bind(null,t,e),[t,e]),n]}},xa=null,ka=null,Ea=!1;function Sa(e,t){var n=Mc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(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,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ca(e){if(Ea){var t=ka;if(t){var n=t;if(!Ta(e,t)){if(!(t=kn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,Ea=!1,void(xa=e);Sa(xa,n)}xa=e,ka=kn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ea=!1,xa=e}}function Oa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xa=e}function Aa(e){if(e!==xa)return!1;if(!Ea)return Oa(e),Ea=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!_n(t,e.memoizedProps))for(t=ka;t;)Sa(e,t),t=kn(t.nextSibling);if(Oa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===pn){if(0===t){ka=kn(e.nextSibling);break e}t--}else n!==hn&&n!==vn&&n!==mn||t++}e=e.nextSibling}ka=null}}else ka=xa?kn(e.stateNode.nextSibling):null;return!0}function ja(){ka=xa=null,Ea=!1}var Na=g.ReactCurrentOwner,Ma=!1;function Pa(e,t,n,r){t.child=null===e?Oo(t,null,n,r):Co(t,e.child,n,r)}function Ia(e,t,n,r,i){n=n.render;var o=t.ref;return io(t,i),r=Xo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Pa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function La(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Pc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lc(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Da(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:qr)(i,r)&&e.ref===t.ref)?Qa(e,t,o):(t.effectTag|=1,(e=Ic(a,r)).ref=t.ref,e.return=t,t.child=e)}function Da(e,t,n,r,i,o){return null!==e&&qr(e.memoizedProps,r)&&e.ref===t.ref&&(Ma=!1,i<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Fa(e,t,n,r,o)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Fa(e,t,n,r,i){var o=gi(n)?mi:hi.current;return o=vi(t,o),io(t,i),n=Xo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Pa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function Ba(e,t,n,r,i){if(gi(n)){var o=!0;wi(t)}else o=!1;if(io(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),_o(t,n,r),xo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=oo(u):u=vi(t,u=gi(n)?mi:hi.current);var l=n.getDerivedStateFromProps,d="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==u)&&wo(t,a,r,u),ao=!1;var f=t.memoizedState;a.state=f,ho(t,r,a,i),c=t.memoizedState,s!==r||f!==c||pi.current||ao?("function"==typeof l&&(go(t,n,l,r),c=t.memoizedState),(s=ao||bo(t,n,s,r,f,c,u))?(d||"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.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,co(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Xi(t.type,s),c=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=oo(u):u=vi(t,u=gi(n)?mi:hi.current),(d="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==u)&&wo(t,a,r,u),ao=!1,c=t.memoizedState,a.state=c,ho(t,r,a,i),f=t.memoizedState,s!==r||c!==f||pi.current||ao?("function"==typeof l&&(go(t,n,l,r),f=t.memoizedState),(l=ao||bo(t,n,s,r,c,f,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=u,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Ua(e,t,n,r,o,i)}function Ua(e,t,n,r,i,o){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Qa(e,t,o);r=t.stateNode,Na.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Pa(e,t,s,o),t.memoizedState=r.state,i&&xi(t,n,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?bi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bi(0,t.context,!1),Io(e,t.containerInfo)}var za,Ha,Wa,Va,Ya={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Fo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),di(Fo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),s){if(s=o.fallback,(o=Dc(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Dc(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Ya,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Oo(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Ic(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Ic(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Ya,t.child=n,i}return n=Co(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Dc(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Dc(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ya,t.child=o,n}return t.memoizedState=null,t.child=Co(t,e,o.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ro(e.return,t)}function $a(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Xa(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pa(e,t,r.children,n),0!=(2&(r=Fo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ka(e,n);else if(19===e.tag)Ka(e,n);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(di(Fo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Bo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$a(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Bo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$a(t,!0,n,null,o,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&vc(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Za(e,t){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 Ja(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gi(t.type)&&yi(),null;case 3:return Lo(),li(pi),li(hi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Aa(t)||(t.effectTag|=4),Ha(t),null;case 5:Ro(t),n=Po(Mo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wa(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Po(jo.current),Aa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[Tn]=t,r[Cn]=s,o){case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Gt(Xe[e],r);break;case"source":Gt("error",r);break;case"img":case"image":case"link":Gt("error",r),Gt("load",r);break;case"form":Gt("reset",r),Gt("submit",r);break;case"details":Gt("toggle",r);break;case"input":xe(r,s),Gt("invalid",r),an(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Gt("invalid",r),an(n,"onChange");break;case"textarea":je(r,s),Gt("invalid",r),an(n,"onChange")}for(var c in nn(o,s),e=null,s)if(s.hasOwnProperty(c)){var u=s[c];"children"===c?"string"==typeof u?r.textContent!==u&&(e=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(e=["children",""+u]):W.hasOwnProperty(c)&&null!=u&&an(n,c)}switch(o){case"input":be(r),Se(r,s,!0);break;case"textarea":be(r),Me(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(c=9===n.nodeType?n:n.ownerDocument,e===on&&(e=Le(o)),e===on?"script"===o?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(o,{is:r.is}):(e=c.createElement(o),"select"===o&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,o),e[Tn]=t,e[Cn]=r,za(e,t,!1,!1),t.stateNode=e,c=rn(o,r),o){case"iframe":case"object":case"embed":Gt("load",e),u=r;break;case"video":case"audio":for(u=0;u<Xe.length;u++)Gt(Xe[u],e);u=r;break;case"source":Gt("error",e),u=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),u=r;break;case"form":Gt("reset",e),Gt("submit",e),u=r;break;case"details":Gt("toggle",e),u=r;break;case"input":xe(e,r),u=we(e,r),Gt("invalid",e),an(n,"onChange");break;case"option":u=Ce(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),Gt("invalid",e),an(n,"onChange");break;case"textarea":je(e,r),u=Ae(e,r),Gt("invalid",e),an(n,"onChange");break;default:u=r}nn(o,u);var l=u;for(s in l)if(l.hasOwnProperty(s)){var d=l[s];"style"===s?en(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Be(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Ue(e,d):"number"==typeof d&&Ue(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(W.hasOwnProperty(s)?null!=d&&an(n,s):null!=d&&ve(e,s,d,c))}switch(o){case"input":be(e),Se(e,r,!1);break;case"textarea":be(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=sn)}bn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Va(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Po(Mo.current),Po(jo.current),Aa(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return li(Fo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Aa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fo.current)?Rs===Cs&&(Rs=js):(Rs!==Cs&&Rs!==js||(Rs=Ns),0!==zs&&null!==Is&&(qc(Is,Ds),zc(Is,zs)))),(n||r)&&(t.effectTag|=4),null);case 4:return Lo(),Ha(t),null;case 10:return no(t),null;case 17:return gi(t.type)&&yi(),null;case 19:if(li(Fo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Za(r,!1);else if(Rs!==Cs||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Bo(s))){for(t.effectTag|=64,Za(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return di(Fo,1&Fo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Bo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Za(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Za(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=qi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qi(),n.sibling=null,t=Fo.current,di(Fo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function es(e){switch(e.tag){case 1:gi(e.type)&&yi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Lo(),li(pi),li(hi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ro(e),null;case 13:return li(Fo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Fo),null;case 4:return Lo(),null;case 10:return no(e),null;default:return null}}function ts(e,t){return{value:e,source:t,stack:R(t)}}za=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}},Ha=function(){},Wa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,c,u=t.stateNode;switch(Po(jo.current),e=null,n){case"input":a=we(u,a),r=we(u,r),e=[];break;case"option":a=Ce(u,a),r=Ce(u,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ae(u,a),r=Ae(u,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(u.onclick=sn)}for(s in nn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in u=a[s])u.hasOwnProperty(c)&&(n||(n={}),n[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(W.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var l=r[s];if(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(c in u)!u.hasOwnProperty(c)||l&&l.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in l)l.hasOwnProperty(c)&&u[c]!==l[c]&&(n||(n={}),n[c]=l[c])}else n||(e||(e=[]),e.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(e=e||[]).push(s,l)):"children"===s?u===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(W.hasOwnProperty(s)?(null!=l&&an(o,s),e||u===l||(e=[])):(e=e||[]).push(s,l))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Va=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var ns="function"==typeof WeakSet?WeakSet:Set;function rs(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=R(n)),null!==n&&D(n.type),t=t.value,null!==e&&1===e.tag&&D(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function is(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Cc(e,t)}else t.current=null}function os(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function as(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.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ss(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 cs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ss(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Xi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&po(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}po(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Dt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function us(e,t,n){switch("function"==typeof jc&&jc(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wi(97<n?97:n,function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Cc(i,e)}}e=e.next}while(e!==r)})}break;case 1:is(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Cc(e,t)}}(t,n);break;case 5:is(t);break;case 4:hs(e,t,n)}}function ls(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ls(t)}function ds(e){return 5===e.tag||3===e.tag||4===e.tag}function fs(e){e:{for(var t=e.return;null!==t;){if(ds(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ds(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode,n.insertBefore(t,r)):(n=r,n.appendChild(t)),r=r._reactRootContainer,null!=r||null!==n.onclick||(n.onclick=sn));else if(4!==i&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function hs(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var c=e,u=o,l=n,d=u;;)if(us(c,d,l),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(c=r,u=o.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(us(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ps(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void as(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Cn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),rn(e,i),t=rn(e,r),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?en(n,c):"dangerouslySetInnerHTML"===s?Be(n,c):"children"===s?Ue(n,c):ve(n,s,c,t)}switch(e){case"input":Ee(n,r);break;case"textarea":Ne(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Dt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ws=qi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=Jt("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ms(t);case 19:return void ms(t);case 17:return}throw Error(a(163))}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ns),t.forEach(function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=ic(t=rc(),e,null)),null!==(e=ac(e,t))&&cc(e)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var vs="function"==typeof WeakMap?WeakMap:Map;function gs(e,t,n){(n=uo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ks=r),rs(e,t)},n}function ys(e,t,n){(n=uo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return rs(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.add(this),rs(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var bs,_s=Math.ceil,ws=g.ReactCurrentDispatcher,xs=g.ReactCurrentOwner,ks=0,Es=8,Ss=16,Ts=32,Cs=0,Os=1,As=2,js=3,Ns=4,Ms=5,Ps=ks,Is=null,Ls=null,Ds=0,Rs=Cs,Fs=null,Bs=1073741823,Us=1073741823,qs=null,zs=0,Hs=!1,Ws=0,Vs=500,Ys=null,Gs=!1,Ks=null,$s=null,Xs=!1,Qs=null,Zs=90,Js=null,ec=0,tc=null,nc=0;function rc(){return(Ps&(Ss|Ts))!==ks?1073741821-(qi()/10|0):0!==nc?nc:nc=1073741821-(qi()/10|0)}function ic(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zi();if(0==(4&t))return 99===r?1073741823:1073741822;if((Ps&Ss)!==ks)return Ds;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Is&&e===Ds&&--e,e}function oc(e,t){if(50<ec)throw ec=0,tc=null,Error(a(185));if(null!==(e=ac(e,t))){var n=zi();1073741823===t?(Ps&Es)!==ks&&(Ps&(Ss|Ts))===ks?uc(e):(cc(e),Ps===ks&&Gi()):cc(e),(4&Ps)===ks||98!==n&&99!==n||(null===Js?Js=new Map([[e,t]]):(void 0===(n=Js.get(e))||n>t)&&Js.set(e,t))}}function ac(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Is===i&&(vc(t),Rs===Ns&&qc(i,Ds)),zc(i,t)),i}function sc(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Uc(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function cc(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi(uc.bind(null,e));else{var t=sc(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=rc();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Ii&&Si(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi(uc.bind(null,e)):Vi(r,function e(t,n){nc=0;if(n)return n=rc(),Hc(t,n),cc(t),null;var r=sc(t);if(0!==r){if(n=t.callbackNode,(Ps&(Ss|Ts))!==ks)throw Error(a(327));if(Ec(),t===Is&&r===Ds||fc(t,r),null!==Ls){var i=Ps;Ps|=Ss;for(var o=pc();;)try{yc();break}catch(e){hc(t,e)}if(to(),Ps=i,ws.current=o,Rs===Os)throw n=Fs,fc(t,r),qc(t,r),cc(t),n;if(null===Ls)switch(o=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,i=Rs,Is=null,i){case Cs:case Os:throw Error(a(345));case As:Hc(t,2<r?2:r);break;case js:if(qc(t,r),i=t.lastSuspendedTime,r===i&&(t.nextKnownPendingLevel=wc(o)),1073741823===Bs&&10<(o=Ws+Vs-qi())){if(Hs){var s=t.lastPingedTime;if(0===s||s>=r){t.lastPingedTime=r,fc(t,r);break}}if(0!==(s=sc(t))&&s!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}t.timeoutHandle=wn(xc.bind(null,t),o);break}xc(t);break;case Ns:if(qc(t,r),i=t.lastSuspendedTime,r===i&&(t.nextKnownPendingLevel=wc(o)),Hs&&(0===(o=t.lastPingedTime)||o>=r)){t.lastPingedTime=r,fc(t,r);break}if(0!==(o=sc(t))&&o!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}if(1073741823!==Us?i=10*(1073741821-Us)-qi():1073741823===Bs?i=0:(i=10*(1073741821-Bs)-5e3,o=qi(),r=10*(1073741821-r)-o,0>(i=o-i)&&(i=0),i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_s(i/1960))-i,r<i&&(i=r)),10<i){t.timeoutHandle=wn(xc.bind(null,t),i);break}xc(t);break;case Ms:if(1073741823!==Bs&&null!==qs){s=Bs;var c=qs;if(0>=(i=0|c.busyMinDurationMs)?i=0:(o=0|c.busyDelayMs,s=qi()-(10*(1073741821-s)-(0|c.timeoutMs||5e3)),i=s<=o?0:o+i-s),10<i){qc(t,r),t.timeoutHandle=wn(xc.bind(null,t),i);break}}xc(t);break;default:throw Error(a(329))}if(cc(t),t.callbackNode===n)return e.bind(null,t)}}return null}.bind(null,e),{timeout:10*(1073741821-t)-qi()}),e.callbackNode=t}}}function uc(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Ps&(Ss|Ts))!==ks)throw Error(a(327));if(Ec(),e===Is&&t===Ds||fc(e,t),null!==Ls){var n=Ps;Ps|=Ss;for(var r=pc();;)try{gc();break}catch(t){hc(e,t)}if(to(),Ps=n,ws.current=r,Rs===Os)throw n=Fs,fc(e,t),qc(e,t),cc(e),n;if(null!==Ls)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Is=null,xc(e),cc(e)}return null}function lc(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{(Ps=n)===ks&&Gi()}}function dc(e,t){var n=Ps;Ps&=-2,Ps|=Es;try{return e(t)}finally{(Ps=n)===ks&&Gi()}}function fc(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yi();break;case 3:Lo(),li(pi),li(hi);break;case 5:Ro(r);break;case 4:Lo();break;case 13:case 19:li(Fo);break;case 10:no(r)}n=n.return}Is=e,Ls=Ic(e.current,null),Ds=t,Rs=Cs,Fs=null,Us=Bs=1073741823,qs=null,zs=0,Hs=!1}function hc(e,t){for(;;){try{if(to(),qo.current=ya,Go)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ho=0,Yo=Vo=Wo=null,Go=!1,null===Ls||null===Ls.return)return Rs=Os,Fs=t,Ls=null;e:{var i=e,o=Ls.return,a=Ls,s=t;if(t=Ds,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):a.memoizedState=null}var l=0!=(1&Fo.current),d=o;do{var f;if(f=13===d.tag){var h=d.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var p=d.memoizedProps;f=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(c),d.updateQueue=v}else m.add(c);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=uo(1073741823,null);g.tag=2,lo(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new vs,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(a)){s.add(a);var b=Oc.bind(null,i,c,a);c.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((D(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+R(a))}Rs!==Ms&&(Rs=As),s=ts(s,a),d=o;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=t,fo(d,gs(d,c,t));break e;case 1:c=s;var _=d.type,w=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===$s||!$s.has(w)))){d.effectTag|=4096,d.expirationTime=t,fo(d,ys(d,c,t));break e}}d=d.return}while(null!==d)}Ls=_c(Ls)}catch(e){t=e;continue}break}}function pc(){var e=ws.current;return ws.current=ya,null===e?ya:e}function mc(e,t){e<Bs&&2<e&&(Bs=e),null!==t&&e<Us&&2<e&&(Us=e,qs=t)}function vc(e){e>zs&&(zs=e)}function gc(){for(;null!==Ls;)Ls=bc(Ls)}function yc(){for(;null!==Ls&&!Li();)Ls=bc(Ls)}function bc(e){var t=bs(e.alternate,e,Ds);return e.memoizedProps=e.pendingProps,null===t&&(t=_c(e)),xs.current=null,t}function _c(e){Ls=e;do{var t=Ls.alternate;if(e=Ls.return,0==(2048&Ls.effectTag)){if(t=Ja(t,Ls,Ds),1===Ds||1!==Ls.childExpirationTime){for(var n=0,r=Ls.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Ls.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ls.firstEffect),null!==Ls.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ls.firstEffect),e.lastEffect=Ls.lastEffect),1<Ls.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ls:e.firstEffect=Ls,e.lastEffect=Ls))}else{if(null!==(t=es(Ls)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ls.sibling))return t;Ls=e}while(null!==Ls);return Rs===Cs&&(Rs=Ms),null}function wc(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function xc(e){var t=zi();return Wi(99,function(e,t){do{Ec()}while(null!==Qs);if((Ps&(Ss|Ts))!==ks)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=wc(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Is&&(Ls=Is=null,Ds=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ps;Ps|=Ts,xs.current=null,gn=Yt;var s=dn();if(fn(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(u&&0!==u.rangeCount){c=u.anchorNode;var l=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{c.nodeType,d.nodeType}catch(e){c=null;break e}var f=0,h=-1,p=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==c||0!==l&&3!==g.nodeType||(h=f+l),g!==d||0!==u&&3!==g.nodeType||(p=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===c&&++m===l&&(h=f),y===d&&++v===u&&(p=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}c=-1===h||-1===p?null:{start:h,end:p}}else c=null}c=c||{start:0,end:0}}else c=null;yn={activeElementDetached:null,focusedElem:s,selectionRange:c},Yt=!1,Ys=i;do{try{kc()}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=i;do{try{for(s=e,c=t;null!==Ys;){var _=Ys.effectTag;if(16&_&&Ue(Ys.stateNode,""),128&_){var w=Ys.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&_){case 2:fs(Ys),Ys.effectTag&=-3;break;case 6:fs(Ys),Ys.effectTag&=-3,ps(Ys.alternate,Ys);break;case 1024:Ys.effectTag&=-1025;break;case 1028:Ys.effectTag&=-1025,ps(Ys.alternate,Ys);break;case 4:ps(Ys.alternate,Ys);break;case 8:hs(s,l=Ys,c),ls(l)}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);if(x=yn,w=dn(),_=x.focusedElem,c=x.selectionRange,w!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==c&&fn(_)&&(w=c.start,void 0===(x=c.end)&&(x=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(x,_.value.length)):(x=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=_.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!x.extend&&s>c&&(l=c,c=s,s=l),l=ln(_,s),d=ln(_,c),l&&d&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==d.node||x.focusOffset!==d.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),s>c?(x.addRange(w),x.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),x.addRange(w))))),w=[];for(x=_;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(x=w[_]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yt=!!gn,yn=gn=null,e.current=n,Ys=i;do{try{for(_=e;null!==Ys;){var k=Ys.effectTag;if(36&k&&cs(_,Ys.alternate,Ys),128&k){w=void 0;var E=Ys.ref;if(null!==E){var S=Ys.stateNode;switch(Ys.tag){case 5:w=S;break;default:w=S}"function"==typeof E?E(w):E.current=w}}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=null,Di(),Ps=o}else e.current=n;if(Xs)Xs=!1,Qs=e,Zs=t;else for(Ys=i;null!==Ys;)t=Ys.nextEffect,Ys.nextEffect=null,Ys=t;if(0===(t=e.firstPendingTime)&&($s=null),1073741823===t?e===tc?ec++:(ec=0,tc=e):ec=0,"function"==typeof Ac&&Ac(n.stateNode,r),cc(e),Gs)throw Gs=!1,e=Ks,Ks=null,e;return(Ps&Es)!==ks?null:(Gi(),null)}.bind(null,e,t)),null}function kc(){for(;null!==Ys;){var e=Ys.effectTag;0!=(256&e)&&os(Ys.alternate,Ys),0==(512&e)||Xs||(Xs=!0,Vi(97,function(){return Ec(),null})),Ys=Ys.nextEffect}}function Ec(){if(90!==Zs){var e=97<Zs?97:Zs;return Zs=90,Wi(e,Sc)}}function Sc(){if(null===Qs)return!1;var e=Qs;if(Qs=null,(Ps&(Ss|Ts))!==ks)throw Error(a(331));var t=Ps;for(Ps|=Ts,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:as(5,n),ss(5,n)}}catch(t){if(null===e)throw Error(a(330));Cc(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ps=t,Gi(),!0}function Tc(e,t,n){lo(e,t=gs(e,t=ts(n,t),1073741823)),null!==(e=ac(e,1073741823))&&cc(e)}function Cc(e,t){if(3===e.tag)Tc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Tc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){lo(n,e=ys(n,e=ts(t,e),1073741823)),null!==(n=ac(n,1073741823))&&cc(n);break}}n=n.return}}function Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Is===e&&Ds===n?Rs===Ns||Rs===js&&1073741823===Bs&&qi()-Ws<Vs?fc(e,Ds):Hs=!0:Uc(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,cc(e)))}bs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||pi.current)Ma=!0;else{if(r<n){switch(Ma=!1,t.tag){case 3:qa(t),ja();break;case 5:if(Do(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gi(t.type)&&wi(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,di(Qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(di(Fo,1&Fo.current),null!==(t=Qa(e,t,n))?t.sibling:null);di(Fo,1&Fo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Xa(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),di(Fo,Fo.current),!r)return null}return Qa(e,t,n)}Ma=!1}}else Ma=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=vi(t,hi.current),io(t,n),i=Xo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var o=!0;wi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,so(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&go(t,r,s,e),i.updater=yo,t.stateNode=i,i._reactInternalFiber=t,xo(t,r,e,n),t=Ua(null,t,r,!0,o,n)}else t.tag=0,Pa(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Pc(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===N)return 14}return 2}(i),e=Xi(i,e),o){case 0:t=Fa(null,t,i,e,n);break e;case 1:t=Ba(null,t,i,e,n);break e;case 11:t=Ia(null,t,i,e,n);break e;case 14:t=La(null,t,i,Xi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ba(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 3:if(qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),ho(t,r,null,n),(r=t.memoizedState.element)===i)ja(),t=Qa(e,t,n);else{if((i=t.stateNode.hydrate)&&(ka=kn(t.stateNode.containerInfo.firstChild),xa=t,i=Ea=!0),i)for(n=Oo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Pa(e,t,r,n),ja();t=t.child}return t;case 5:return Do(t),null===e&&Ca(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,_n(r,i)?s=null:null!==o&&_n(r,o)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Pa(e,t,s,n),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ga(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Pa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ia(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 7:return Pa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var c=t.type._context;if(di(Qi,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,0===(o=Br(c,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823))){if(s.children===i.children&&!pi.current){t=Qa(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var u=c.dependencies;if(null!==u){s=c.child;for(var l=u.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&o)){1===c.tag&&((l=uo(n,null)).tag=2,lo(c,l)),c.expirationTime<n&&(c.expirationTime=n),null!==(l=c.alternate)&&l.expirationTime<n&&(l.expirationTime=n),ro(c.return,n),u.expirationTime<n&&(u.expirationTime=n);break}l=l.next}}else s=10===c.tag&&c.type===t.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===t){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Pa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,io(t,n),r=r(i=oo(i,o.unstable_observedBits)),t.effectTag|=1,Pa(e,t,r,n),t.child;case 14:return o=Xi(i=t.type,t.pendingProps),La(e,t,i,o=Xi(i.type,o),r,n);case 15:return Da(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gi(r)?(e=!0,wi(t)):e=!1,io(t,n),_o(t,r,i),xo(t,r,i,n),Ua(null,t,r,!0,e,n);case 19:return Xa(e,t,n)}throw Error(a(156,t.tag))};var Ac=null,jc=null;function Nc(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.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Mc(e,t,n,r){return new Nc(e,t,n,r)}function Pc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Mc(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.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lc(e,t,n,r,i,o){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 Dc(n.children,i,o,t);case C:s=8,i|=7;break;case k:s=8,i|=1;break;case E:return(e=Mc(12,n,t,8|i)).elementType=E,e.type=E,e.expirationTime=o,e;case A:return(e=Mc(13,n,t,i)).type=A,e.elementType=A,e.expirationTime=o,e;case j:return(e=Mc(19,n,t,i)).elementType=j,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case T:s=9;break e;case O:s=11;break e;case N:s=14;break e;case M:s=16,r=null;break e;case P:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Mc(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Dc(e,t,n,r){return(e=Mc(7,e,r,t)).expirationTime=n,e}function Rc(e,t,n){return(e=Mc(6,e,null,t)).expirationTime=n,e}function Fc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Uc(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function qc(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function zc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Wc(e,t,n,r){var i=t.current,o=rc(),s=mo.suspense;o=ic(o,i,s);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break t;case 1:if(gi(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break t}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var u=n.type;if(gi(u)){n=_i(n,u,c);break e}}n=c}else n=fi;return null===t.context?t.context=n:t.pendingContext=n,(t=uo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(i,t),oc(i,o),o}function Vc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Yc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Gc(e,t){Yc(e,t),(e=e.alternate)&&Yc(e,t)}function Kc(e,t,n){var r=new Bc(e,t,n=null!=n&&!0===n.hydrate),i=Mc(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,so(i),e[On]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Tt.forEach(function(e){pt(e,t,n)}),Ct.forEach(function(e){pt(e,t,n)})}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function $c(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Vc(a);s.call(e)}}Wc(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Kc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var c=i;i=function(){var e=Vc(a);c.call(e)}}dc(function(){Wc(t,a,e,i)})}return Vc(a)}function Qc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$c(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Kc.prototype.render=function(e){Wc(e,this._internalRoot,null,null)},Kc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wc(null,e,null,function(){t[On]=null})},mt=function(e){if(13===e.tag){var t=$i(rc(),150,100);oc(e,t),Gc(e,t)}},vt=function(e){13===e.tag&&(oc(e,3),Gc(e,3))},gt=function(e){if(13===e.tag){var t=rc();oc(e,t=ic(t,e,null)),Gc(e,t)}},K=function(e,t,n){switch(t){case"input":if(Ee(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=Mn(r);if(!i)throw Error(a(90));_e(r),Ee(r,i)}}}break;case"textarea":Ne(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},ee=lc,te=function(e,t,n,r,i){var o=Ps;Ps|=4;try{return Wi(98,e.bind(null,t,n,r,i))}finally{(Ps=o)===ks&&Gi()}},ne=function(){(Ps&(1|Ss|Ts))===ks&&(function(){if(null!==Js){var e=Js;Js=null,e.forEach(function(e,t){Hc(t,e),cc(t)}),Gi()}}(),Ec())},re=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{(Ps=n)===ks&&Gi()}};var Zc={Events:[jn,Nn,Mn,Y,H,Bn,function(e){it(e,Fn)},Z,J,$t,st,Ec,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ac=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},jc=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:An,bundleType:0,version:"16.13.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zc,t.createPortal=Qc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if((Ps&(Ss|Ts))!==ks)throw Error(a(187));var n=Ps;Ps|=1;try{return Wi(99,e.bind(null,t))}finally{Ps=n,Gi()}},t.hydrate=function(e,t,n){if(!$c(t))throw Error(a(200));return Xc(null,e,t,!0,n)},t.render=function(e,t,n){if(!$c(t))throw Error(a(200));return Xc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$c(e))throw Error(a(40));return!!e._reactRootContainer&&(dc(function(){Xc(null,null,e,!1,function(){e._reactRootContainer=null,e[On]=null})}),!0)},t.unstable_batchedUpdates=lc,t.unstable_createPortal=function(e,t){return Qc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$c(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Xc(e,t,n,!1,r)},t.version="16.13.0"},function(e,t,n){"use strict";e.exports=n(1537)},function(e,t,n){"use strict";
/** @license React v0.19.1
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,i,o,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,l=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(l,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(l,0))},i=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,h=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=h.now();t.unstable_now=function(){return h.now()-g}}var y=!1,b=null,_=-1,w=5,x=0;a=function(){return t.unstable_now()>=x},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,E=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?E.postMessage(null):(y=!1,b=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,E.postMessage(null))},i=function(e,n){_=p(function(){e(t.unstable_now())},n)},o=function(){m(_),_=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<O(i,t)))break e;e[r]=t,e[n]=i,n=r}}function T(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,c=e[s];if(void 0!==a&&0>O(a,n))void 0!==c&&0>O(c,a)?(e[r]=c,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==c&&0>O(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],j=[],N=1,M=null,P=3,I=!1,L=!1,D=!1;function R(e){for(var t=T(j);null!==t;){if(null===t.callback)C(j);else{if(!(t.startTime<=e))break;C(j),t.sortIndex=t.expirationTime,S(A,t)}t=T(j)}}function F(e){if(D=!1,R(e),!L)if(null!==T(A))L=!0,r(B);else{var t=T(j);null!==t&&i(F,t.startTime-e)}}function B(e,n){L=!1,D&&(D=!1,o()),I=!0;var r=P;try{for(R(n),M=T(A);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,P=M.priorityLevel;var c=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?M.callback=c:M===T(A)&&C(A),R(n)}else C(A);M=T(A)}if(null!==M)var u=!0;else{var l=T(j);null!==l&&i(F,l.startTime-n),u=!1}return u}finally{M=null,P=r,I=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var q=s;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(){L||I||(L=!0,r(B))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return T(A)},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=q,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,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0<c?s+c:s,a="number"==typeof a.timeout?a.timeout:U(e)}else a=U(e),c=s;return e={id:N++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>s?(e.sortIndex=c,S(j,e),null===T(A)&&e===T(j)&&(D?o():D=!0,i(F,c-s))):(e.sortIndex=a,S(A,e),L||I||(L=!0,r(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=T(A);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},function(e,t,n){"use strict";var r=n(1539);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case v:case u:return e;default:return t}}case o:return t}}}function k(e){return x(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){},function(e,t,n){var r=n(1544);e.exports=r},function(e,t,n){var r=n(1545);e.exports=r},function(e,t,n){n(677);var r=n(101);e.exports=r.URLSearchParams},function(e,t,n){var r=n(134),i=n(851),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){var r=n(134),i=n(233);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){"use strict";var r=n(686),i=n(287);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(155);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(1551);e.exports=r},function(e,t,n){var r=n(1552),i=n(1554),o=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?r:"string"==typeof e||e===a||e instanceof String&&t===a.includes?i:t}},function(e,t,n){n(1553);var r=n(146);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(41),i=n(683).includes,o=n(678);r({target:"Array",proto:!0,forced:!n(317)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){n(1555);var r=n(146);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(41),i=n(690),o=n(284);r({target:"String",proto:!0,forced:!n(691)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(155),i=n(346),o=n(130)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(1558);e.exports=r},function(e,t,n){var r=n(1559),i=Array.prototype;e.exports=function(e){var t=e.concat;return e===i||e instanceof Array&&t===i.concat?r:t}},function(e,t,n){n(863);var r=n(146);e.exports=r("Array").concat},function(e,t,n){"use strict";
/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(o),c=i.decode||r,u=0;u<a.length;u++){var l=a[u],d=l.indexOf("=");if(!(d<0)){var f=l.substr(0,d).trim(),h=l.substr(++d,l.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),null==n[f]&&(n[f]=s(h,c))}}return n},t.serialize=function(e,t,n){var r=n||{},o=r.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=o(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");c+="; Max-Age="+Math.floor(u)}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){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.sameSite){var l="string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite;switch(l){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(t){return e}}},function(e,t,n){var r=n(1562);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)}}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){this.message=e}r.prototype=new Error,r.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,a=0,s=0,c="";o=t.charAt(s++);~o&&(i=a%4?64*i+o:o,a++%4)?c+=String.fromCharCode(255&i>>(-2*a&6)):0)o=n.indexOf(o);return c}},function(e,t,n){var r=n(1564),i=n(1565),o=n(187),a=n(866),s=n(82),c=n(694);e.exports=function e(t,n,u,l){if(a(t,n))return!0;if(c(t)!==c(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(c(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()),u,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 d=s(t);if(d.length!==s(n).length)return!1;for(var f=u.length-1;f>=0;){if(u[f]===t)return l[f]===n;f-=1}for(u.push(t),l.push(n),f=d.length-1;f>=0;){var h=d[f];if(!o(h,n)||!e(n[h],t[h],u,l))return!1;f-=1}return u.pop(),l.pop(),!0}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},function(e,t,n){var r=n(1567);e.exports=r},function(e,t,n){var r=n(1568),i=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===i||e instanceof String&&t===i.startsWith?r:t}},function(e,t,n){n(1569);var r=n(146);e.exports=r("String").startsWith},function(e,t,n){"use strict";var r,i=n(41),o=n(349).f,a=n(235),s=n(690),c=n(284),u=n(691),l=n(118),d="".startsWith,f=Math.min,h=u("startsWith");i({target:"String",proto:!0,forced:!!(l||h||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(c(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(1571);e.exports=r},function(e,t,n){var r=n(1572),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||e instanceof Function&&t===i.bind?r:t}},function(e,t,n){n(1573);var r=n(146);e.exports=r("Function").bind},function(e,t,n){n(41)({target:"Function",proto:!0},{bind:n(868)})},function(e,t,n){var r=n(1575);n(1581),n(1582),n(1583),n(1584),e.exports=r},function(e,t,n){n(695),n(353),n(288),n(1577),n(878),n(1580);var r=n(101);e.exports=r.Promise},function(e,t){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}},function(e,t,n){"use strict";var r,i,o,a,s=n(41),c=n(118),u=n(134),l=n(202),d=n(870),f=n(351),h=n(688),p=n(286),m=n(871),v=n(155),g=n(145),y=n(443),b=n(346),_=n(851),w=n(147),x=n(874),k=n(445),E=n(875).set,S=n(1578),T=n(877),C=n(1579),O=n(446),A=n(535),j=n(285),N=n(854),M=n(130),P=n(693),I=M("species"),L="Promise",D=j.get,R=j.set,F=j.getterFor(L),B=d,U=u.TypeError,q=u.document,z=u.process,H=l("fetch"),W=O.f,V=W,Y="process"==b(z),G=!!(q&&q.createEvent&&u.dispatchEvent),K=N(L,function(){if(!(_(B)!==String(B))){if(66===P)return!0;if(!Y&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!B.prototype.finally)return!0;if(P>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e(function(){},function(){})};return(e.constructor={})[I]=t,!(e.then(function(){})instanceof t)}),$=K||!x(function(e){B.all(e).catch(function(){})}),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S(function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,c,u,l=r[a++],d=o?l.ok:l.fail,f=l.resolve,h=l.reject,p=l.domain;try{d?(o||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?s=i:(p&&p.enter(),s=d(i),p&&(p.exit(),u=!0)),s===l.promise?h(U("Promise-chain cycle")):(c=X(s))?c.call(s,f,h):f(s)):h(i)}catch(e){p&&!u&&p.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&J(e,t)})}},Z=function(e,t,n){var r,i;G?((r=q.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):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},J=function(e,t){E.call(u,function(){var n,r=t.value;if(ee(t)&&(n=A(function(){Y?z.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)}),t.rejection=Y||ee(t)?2:1,n.error))throw n.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){E.call(u,function(){Y?z.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)})},ne=function(e,t,n,r){return function(i){e(t,n,i,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Q(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var i=X(n);i?S(function(){var r={done:!1};try{i.call(n,ne(ie,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}}):(t.value=n,t.state=1,Q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(B=function(e){y(this,B,L),g(e),r.call(this);var t=D(this);try{e(ne(ie,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){R(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(B.prototype,{then:function(e,t){var n=F(this),r=W(k(this,B));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=D(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(re,e,t)},O.f=W=function(e){return e===B||e===o?new i(e):V(e)},c||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",function(e,t){var n=this;return new B(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(B,H.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:B}),p(B,L,!1,!0),m(L),o=l(L),s({target:L,stat:!0,forced:K},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:c||K},{resolve:function(e){return T(c&&this===o?B:this,e)}}),s({target:L,stat:!0,forced:$},{all:function(e){var t=this,n=W(t),r=n.resolve,i=n.reject,o=A(function(){var n=g(t.resolve),o=[],a=0,s=1;w(e,function(e){var c=a++,u=!1;o.push(void 0),s++,n.call(t,e).then(function(e){u||(u=!0,o[c]=e,--s||r(o))},i)}),--s||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,i=A(function(){var i=g(t.resolve);w(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r,i,o,a,s,c,u,l,d=n(134),f=n(349).f,h=n(346),p=n(875).set,m=n(876),v=d.MutationObserver||d.WebKitMutationObserver,g=d.process,y=d.Promise,b="process"==h(g),_=f(d,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(b&&(e=g.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()},b?a=function(){g.nextTick(r)}:v&&!m?(s=!0,c=document.createTextNode(""),new v(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=function(){p.call(d,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(134);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(870),a=n(124),s=n(202),c=n(445),u=n(877),l=n(351);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=c(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),i||"function"!=typeof o||o.prototype.finally||l(o.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){"use strict";var r=n(41),i=n(162),o=n(441),a=n(687),s=n(350),c=n(217),u=n(348),l=n(147),d=n(233),f=n(285),h=f.set,p=f.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);a&&(n=a(new Error(t),o(n)));var r=[];return l(e,r.push,r),i?h(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&d(n,"message",String(t)),n};m.prototype=s(Error.prototype,{constructor:u(5,m),message:u(5,""),name:u(5,"AggregateError")}),i&&c.f(m.prototype,"errors",{get:function(){return p(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},function(e,t,n){n(878)},function(e,t,n){"use strict";var r=n(41),i=n(446),o=n(535);r({target:"Promise",stat:!0},{try:function(e){var t=i.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},function(e,t,n){"use strict";var r=n(41),i=n(145),o=n(202),a=n(446),s=n(535),c=n(147);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,l=s(function(){var n=i(t.resolve),a=[],s=0,l=1,d=!1;c(e,function(e){var i=s++,c=!1;a.push(void 0),l++,n.call(t,e).then(function(e){c||d||(d=!0,r(e))},function(e){c||d||(c=!0,a[i]=e,--l||u(new(o("AggregateError"))(a,"No one promise resolved")))})}),--l||u(new(o("AggregateError"))(a,"No one promise resolved"))});return l.error&&u(l.value),n.promise}})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"symbol"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(86);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(86);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){var r=n(1593);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)}},function(e){e.exports={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}},function(e){e.exports={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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"Ĳ",ijlig:"ĳ",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:"ŉ",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:"‌"}},function(e){e.exports={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:"ÿ"}},function(e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,n){var r=n(451),i=/\s+/g,o=n(886),a=n(1598);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=c),this._callback=e,this._options=t||c,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={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},function(e,t,n){var r=n(886),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}})})},function(e,t,n){var r=n(450),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 c(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function u(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=u(n,r,i);o&&(e[t]=o)}n(256)(a,i),a.prototype.init=i;var d=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},r=c(d,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",l(n,"id","id",t),l(n,"title","title",t),(e=c("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=u("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=c("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=u("summary",e)||u("content",e))&&(n.description=t),(t=u("updated",e))&&(n.pubDate=new Date(t)),n})):(t=c("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=u("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=u("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},function(e,t,n){e.exports=i;var r=n(887);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(256)(i,r),i.prototype.readable=!0;var a=n(450).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)}}})},function(e,t,n){e.exports=i;var r=n(385).EventEmitter;function i(){r.call(this)}n(256)(i,r),i.Readable=n(700),i.Writable=n(1610),i.Duplex=n(1611),i.Transform=n(1612),i.PassThrough=n(1613),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",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(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",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",u),e.on("error",u),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},function(e,t,n){"use strict";t.byteLength=function(e){return 3*e.length/4-u(e)},t.toByteArray=function(e){var t,n,r,a,s,c=e.length;a=u(e),s=new o(3*c/4-a),n=a>0?c-4:c;var l=0;for(t=0;t<n;t+=4)r=i[e.charCodeAt(t)]<<18|i[e.charCodeAt(t+1)]<<12|i[e.charCodeAt(t+2)]<<6|i[e.charCodeAt(t+3)],s[l++]=r>>16&255,s[l++]=r>>8&255,s[l++]=255&r;2===a?(r=i[e.charCodeAt(t)]<<2|i[e.charCodeAt(t+1)]>>4,s[l++]=255&r):1===a&&(r=i[e.charCodeAt(t)]<<10|i[e.charCodeAt(t+1)]<<4|i[e.charCodeAt(t+2)]>>2,s[l++]=r>>8&255,s[l++]=255&r);return s},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o="",a=[],s=0,c=n-i;s<c;s+=16383)a.push(l(e,s,s+16383>c?c:s+16383));1===i?(t=e[n-1],o+=r[t>>2],o+=r[t<<4&63],o+="=="):2===i&&(t=(e[n-2]<<8)+e[n-1],o+=r[t>>10],o+=r[t>>4&63],o+=r[t<<2&63],o+="=");return a.push(o),a.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16)+(e[s+1]<<8)+e[s+2],a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+d],d+=f,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,d=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=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*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*c-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}},function(e,t){},function(e,t,n){"use strict";var r=n(540).Buffer;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}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=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}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}()},function(e,t,n){var r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(1607),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[c]=i,r(c),c++},f.clearImmediate=h}function h(e){delete u[e]}function p(e){if(l)setTimeout(p,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{h(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(100),n(320))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(100))},function(e,t,n){"use strict";e.exports=o;var r=n(892),i=n(452);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n(256),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(701)},function(e,t,n){e.exports=n(354)},function(e,t,n){e.exports=n(700).Transform},function(e,t,n){e.exports=n(700).PassThrough},function(e,t){},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(450).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)}}})},function(e,t,n){var r=e.exports;[n(1617),n(1625),n(1626),n(1627),n(1628),n(1629)].forEach(function(e){Object.keys(e).forEach(function(t){r[t]=e[t].bind(r)})})},function(e,t,n){var r=n(451),i=n(1618),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){if(Array.isArray(t))return t.map(e).join("");if(o(t))return"br"===t.name?"\n":e(t.children);if(t.type===r.CDATA)return e(t.children);if(t.type===r.Text)return t.data;return""}}},function(e,t,n){var r=n(1619),i=n(1620),o=n(1624);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},c=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+=c(o.children,t):r.isTag(o)?n+=l(o,t):o.type===r.Directive?n+=d(o):o.type===r.Comment?n+=p(o):o.type===r.CDATA?n+=h(o):n+=f(o,t)}return n},u=["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&&u.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+=c(e.children,t)),s[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function d(e){return"<"+e.data+">"}function f(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=i.encodeXML(n)),n}function h(e){return"<![CDATA["+e.children[0].data+"]]>"}function p(e){return"\x3c!--"+e.data+"--\x3e"}},function(e,t,n){"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"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(893),i=n(896);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(896);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(893);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},function(e){e.exports={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:"ÿ"}},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(1623));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)}},function(e){e.exports={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}},function(e){e.exports={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"}}},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}},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}},function(e,t,n){var r=n(451).isTag;function i(e,t,n,r){for(var o,a=[],s=0,c=t.length;s<c&&!(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){var i=null;for(var 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}}},function(e,t,n){var r=n(451),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)}},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,c,u,l,d,f,h=[],p=[];if(e===t)return 0;for(s=e;s;)h.unshift(s),s=s.parent;for(s=t;s;)p.unshift(s),s=s.parent;for(f=0;h[f]===p[f];)f++;return 0===f?n:(u=(c=h[f-1]).children,l=h[f],d=p[f],u.indexOf(l)>u.indexOf(d)?c===t?i|a:i:c===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}},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(450).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])}}},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){(function(t){var n=1/0,r="[object Symbol]",i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source),a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,c=a||s||Function("return this")(),u=Object.prototype.toString,l=c.Symbol,d=l?l.prototype:void 0,f=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&u.call(e)==r}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":h(t))&&o.test(e)?e.replace(i,"\\$&"):e}}).call(this,n(100))},function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",s="[object Boolean]",c="[object Date]",u="[object Function]",l="[object GeneratorFunction]",d="[object Map]",f="[object Number]",h="[object Object]",p="[object RegExp]",m="[object Set]",v="[object String]",g="[object Symbol]",y="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",k="[object Int16Array]",E="[object Int32Array]",S="[object Uint8Array]",T="[object Uint8ClampedArray]",C="[object Uint16Array]",O="[object Uint32Array]",A=/\w*$/,j=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,M={};M[a]=M["[object Array]"]=M[y]=M[b]=M[s]=M[c]=M[_]=M[w]=M[x]=M[k]=M[E]=M[d]=M[f]=M[h]=M[p]=M[m]=M[v]=M[g]=M[S]=M[T]=M[C]=M[O]=!0,M["[object Error]"]=M[u]=M["[object WeakMap]"]=!1;var P="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,L=P||I||Function("return this")(),D=t&&!t.nodeType&&t,R=D&&"object"==typeof n&&n&&!n.nodeType&&n,F=R&&R.exports===D;function B(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function q(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 H(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function W(e,t){return function(n){return e(t(n))}}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Y,G=Array.prototype,K=Function.prototype,$=Object.prototype,X=L["__core-js_shared__"],Q=(Y=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",Z=K.toString,J=$.hasOwnProperty,ee=$.toString,te=RegExp("^"+Z.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=F?L.Buffer:void 0,re=L.Symbol,ie=L.Uint8Array,oe=W(Object.getPrototypeOf,Object),ae=Object.create,se=$.propertyIsEnumerable,ce=G.splice,ue=Object.getOwnPropertySymbols,le=ne?ne.isBuffer:void 0,de=W(Object.keys,Object),fe=Re(L,"DataView"),he=Re(L,"Map"),pe=Re(L,"Promise"),me=Re(L,"Set"),ve=Re(L,"WeakMap"),ge=Re(Object,"create"),ye=ze(fe),be=ze(he),_e=ze(pe),we=ze(me),xe=ze(ve),ke=re?re.prototype:void 0,Ee=ke?ke.valueOf:void 0;function Se(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 Te(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 Oe(e){this.__data__=new Te(e)}function Ae(e,t){var n=We(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&J.call(e,"callee")&&(!se.call(e,"callee")||ee.call(e)==a)}(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 o in e)!t&&!J.call(e,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function je(e,t,n){var r=e[t];J.call(e,t)&&He(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Ne(e,t){for(var n=e.length;n--;)if(He(e[n][0],t))return n;return-1}function Me(e,t,n,r,i,o,j){var N;if(r&&(N=o?r(e,i,o,j):r(e)),void 0!==N)return N;if(!Ke(e))return e;var P=We(e);if(P){if(N=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&J.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,N)}else{var I=Be(e),L=I==u||I==l;if(Ye(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(I==h||I==a||L&&!o){if(z(e))return o?e:{};if(N=function(e){return"function"!=typeof e.constructor||qe(e)?{}:(t=oe(e),Ke(t)?ae(t):{});var t}(L?{}:e),!t)return function(e,t){return Le(e,Fe(e),t)}(e,function(e,t){return e&&Le(t,$e(t),e)}(N,e))}else{if(!M[I])return o?e:{};N=function(e,t,n,r){var i=e.constructor;switch(t){case y:return Ie(e);case s:case c:return new i(+e);case b:return function(e,t){var n=t?Ie(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case _:case w:case x:case k:case E:case S:case T:case C:case O:return function(e,t){var n=t?Ie(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case d:return function(e,t,n){return q(t?n(H(e),!0):H(e),B,new e.constructor)}(e,r,n);case f:case v:return new i(e);case p:return(u=new(a=e).constructor(a.source,A.exec(a))).lastIndex=a.lastIndex,u;case m:return function(e,t,n){return q(t?n(V(e),!0):V(e),U,new e.constructor)}(e,r,n);case g:return o=e,Ee?Object(Ee.call(o)):{}}var o;var a,u}(e,I,Me,t)}}j||(j=new Oe);var D=j.get(e);if(D)return D;if(j.set(e,N),!P)var R=n?function(e){return function(e,t,n){var r=t(e);return We(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,$e,Fe)}(e):$e(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(R||e,function(i,o){R&&(i=e[o=i]),je(N,o,Me(i,t,n,r,o,e,j))}),N}function Pe(e){return!(!Ke(e)||(t=e,Q&&Q in t))&&(Ge(e)||z(e)?te:j).test(ze(e));var t}function Ie(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Le(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;je(n,a,void 0===s?e[a]:s)}return n}function De(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 Re(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Pe(n)?n:void 0}Se.prototype.clear=function(){this.__data__=ge?ge(null):{}},Se.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Se.prototype.get=function(e){var t=this.__data__;if(ge){var n=t[e];return n===i?void 0:n}return J.call(t,e)?t[e]:void 0},Se.prototype.has=function(e){var t=this.__data__;return ge?void 0!==t[e]:J.call(t,e)},Se.prototype.set=function(e,t){return this.__data__[e]=ge&&void 0===t?i:t,this},Te.prototype.clear=function(){this.__data__=[]},Te.prototype.delete=function(e){var t=this.__data__,n=Ne(t,e);return!(n<0||(n==t.length-1?t.pop():ce.call(t,n,1),0))},Te.prototype.get=function(e){var t=this.__data__,n=Ne(t,e);return n<0?void 0:t[n][1]},Te.prototype.has=function(e){return Ne(this.__data__,e)>-1},Te.prototype.set=function(e,t){var n=this.__data__,r=Ne(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ce.prototype.clear=function(){this.__data__={hash:new Se,map:new(he||Te),string:new Se}},Ce.prototype.delete=function(e){return De(this,e).delete(e)},Ce.prototype.get=function(e){return De(this,e).get(e)},Ce.prototype.has=function(e){return De(this,e).has(e)},Ce.prototype.set=function(e,t){return De(this,e).set(e,t),this},Oe.prototype.clear=function(){this.__data__=new Te},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var i=n.__data__;if(!he||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ce(i)}return n.set(e,t),this};var Fe=ue?W(ue,Object):function(){return[]},Be=function(e){return ee.call(e)};function Ue(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$)}function ze(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(fe&&Be(new fe(new ArrayBuffer(1)))!=b||he&&Be(new he)!=d||pe&&"[object Promise]"!=Be(pe.resolve())||me&&Be(new me)!=m||ve&&"[object WeakMap]"!=Be(new ve))&&(Be=function(e){var t=ee.call(e),n=t==h?e.constructor:void 0,r=n?ze(n):void 0;if(r)switch(r){case ye:return b;case be:return d;case _e:return"[object Promise]";case we:return m;case xe:return"[object WeakMap]"}return t});var We=Array.isArray;function Ve(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}(e.length)&&!Ge(e)}var Ye=le||function(){return!1};function Ge(e){var t=Ke(e)?ee.call(e):"";return t==u||t==l}function Ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return Ve(e)?Ae(e):function(e){if(!qe(e))return de(e);var t=[];for(var n in Object(e))J.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}n.exports=function(e){return Me(e,!0,!0)}}).call(this,n(100),n(289)(e))},function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=800,a=16,s=9007199254740991,c="[object Arguments]",u="[object AsyncFunction]",l="[object Function]",d="[object GeneratorFunction]",f="[object Null]",h="[object Object]",p="[object Proxy]",m="[object Undefined]",v=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[c]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y[l]=y["[object Map]"]=y["[object Number]"]=y[h]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1;var b="object"==typeof e&&e&&e.Object===Object&&e,_="object"==typeof self&&self&&self.Object===Object&&self,w=b||_||Function("return this")(),x=t&&!t.nodeType&&t,k=x&&"object"==typeof n&&n&&!n.nodeType&&n,E=k&&k.exports===x,S=E&&b.process,T=function(){try{var e=k&&k.require&&k.require("util").types;return e||S&&S.binding&&S.binding("util")}catch(e){}}(),C=T&&T.isTypedArray;var O,A,j,N=Array.prototype,M=Function.prototype,P=Object.prototype,I=w["__core-js_shared__"],L=M.toString,D=P.hasOwnProperty,R=(O=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",F=P.toString,B=L.call(Object),U=RegExp("^"+L.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=E?w.Buffer:void 0,z=w.Symbol,H=w.Uint8Array,W=q?q.allocUnsafe:void 0,V=(A=Object.getPrototypeOf,j=Object,function(e){return A(j(e))}),Y=Object.create,G=P.propertyIsEnumerable,K=N.splice,$=z?z.toStringTag:void 0,X=function(){try{var e=we(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Q=q?q.isBuffer:void 0,Z=Math.max,J=Date.now,ee=we(w,"Map"),te=we(Object,"create"),ne=function(){function e(){}return function(t){if(!Pe(t))return{};if(Y)return Y(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function re(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 ie(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 oe(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 ae(e){var t=this.__data__=new ie(e);this.size=t.size}function se(e,t){var n=Oe(e),r=!n&&Ce(e),i=!n&&!r&&je(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):[],c=s.length;for(var u in e)!t&&!D.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xe(u,c))||s.push(u);return s}function ce(e,t,n){(void 0===n||Te(e[t],n))&&(void 0!==n||t in e)||de(e,t,n)}function ue(e,t,n){var r=e[t];D.call(e,t)&&Te(r,n)&&(void 0!==n||t in e)||de(e,t,n)}function le(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}function de(e,t,n){"__proto__"==t&&X?X(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}re.prototype.clear=function(){this.__data__=te?te(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(te){var n=t[e];return n===i?void 0:n}return D.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:D.call(t,e)},re.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=te&&void 0===t?i:t,this},ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=le(t,e);return!(n<0||(n==t.length-1?t.pop():K.call(t,n,1),--this.size,0))},ie.prototype.get=function(e){var t=this.__data__,n=le(t,e);return n<0?void 0:t[n][1]},ie.prototype.has=function(e){return le(this.__data__,e)>-1},ie.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(ee||ie),string:new re}},oe.prototype.delete=function(e){var t=_e(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return _e(this,e).get(e)},oe.prototype.has=function(e){return _e(this,e).has(e)},oe.prototype.set=function(e,t){var n=_e(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ae.prototype.clear=function(){this.__data__=new ie,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ie){var i=n.__data__;if(!ee||i.length<r-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(i)}return n.set(e,t),this.size=n.size,this};var fe,he=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[fe?a:++r];if(!1===t(i[s],s,i))break}return e};function pe(e){return null==e?void 0===e?m:f:$&&$ in Object(e)?function(e){var t=D.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var i=F.call(e);r&&(t?e[$]=n:delete e[$]);return i}(e):function(e){return F.call(e)}(e)}function me(e){return Ie(e)&&pe(e)==c}function ve(e){return!(!Pe(e)||(t=e,R&&R in t))&&(Ne(e)?U:v).test(function(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function ge(e){if(!Pe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ke(e),n=[];for(var r in e)("constructor"!=r||!t&&D.call(e,r))&&n.push(r);return n}function ye(e,t,n,r,i){e!==t&&he(t,function(o,a){if(i||(i=new ae),Pe(o))!function(e,t,n,r,i,o,a){var s=Ee(e,n),c=Ee(t,n),u=a.get(c);if(u)return void ce(e,n,u);var l=o?o(s,c,n+"",e,t,a):void 0,d=void 0===l;if(d){var f=Oe(c),p=!f&&je(c),m=!f&&!p&&Le(c);l=c,f||p||m?Oe(s)?l=s:Ie(_=s)&&Ae(_)?l=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):p?(d=!1,l=function(e,t){if(t)return e.slice();var n=e.length,r=W?W(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(d=!1,v=c,g=!0?(y=v.buffer,b=new y.constructor(y.byteLength),new H(b).set(new H(y)),b):v.buffer,l=new v.constructor(g,v.byteOffset,v.length)):l=[]:function(e){if(!Ie(e)||pe(e)!=h)return!1;var t=V(e);if(null===t)return!0;var n=D.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&L.call(n)==B}(c)||Ce(c)?(l=s,Ce(s)?l=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],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?de(n,s,c):ue(n,s,c)}return n}(e,De(e))}(s):Pe(s)&&!Ne(s)||(l=function(e){return"function"!=typeof e.constructor||ke(e)?{}:ne(V(e))}(c))):d=!1}var v,g,y,b;var _;d&&(a.set(c,l),i(l,c,r,o,a),a.delete(c));ce(e,n,l)}(e,t,a,n,ye,r,i);else{var s=r?r(Ee(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ce(e,a,s)}},De)}function be(e,t){return Se(function(e,t,n){return t=Z(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Z(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),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)}(e,this,s)}}(e,t,Be),e+"")}function _e(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 we(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ve(n)?n:void 0}function xe(e,t){var n=typeof e;return!!(t=null==t?s:t)&&("number"==n||"symbol"!=n&&g.test(e))&&e>-1&&e%1==0&&e<t}function ke(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||P)}function Ee(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Se=function(e){var t=0,n=0;return function(){var r=J(),i=a-(r-n);if(n=r,i>0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(X?function(e,t){return X(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Be);function Te(e,t){return e===t||e!=e&&t!=t}var Ce=me(function(){return arguments}())?me:function(e){return Ie(e)&&D.call(e,"callee")&&!G.call(e,"callee")},Oe=Array.isArray;function Ae(e){return null!=e&&Me(e.length)&&!Ne(e)}var je=Q||function(){return!1};function Ne(e){if(!Pe(e))return!1;var t=pe(e);return t==l||t==d||t==u||t==p}function Me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Pe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ie(e){return null!=e&&"object"==typeof e}var Le=C?function(e){return function(t){return e(t)}}(C):function(e){return Ie(e)&&Me(e.length)&&!!y[pe(e)]};function De(e){return Ae(e)?se(e,!0):ge(e)}var Re,Fe=(Re=function(e,t,n,r){ye(e,t,n,r)},be(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=Re.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Pe(n))return!1;var r=typeof t;return!!("number"==r?Ae(n)&&xe(t,n.length):"string"==r&&t in n)&&Te(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&&Re(e,a,n,i)}return e}));function Be(e){return e}n.exports=Fe}).call(this,n(100),n(289)(e))},function(e,t,n){"use strict";var r=n(1636),i=n(1637),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),c=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(c))throw new Error("Invalid srcset descriptor: "+e+".");t.density=c}}),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(", ")}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";(function(t){var n;"Set"in t?"function"==typeof Set.prototype.forEach&&(n=!1,new Set([!0]).forEach(function(e){n=e}),!0===n)?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}}).call(this,n(100))},function(e,t,n){"use strict";t.__esModule=!0;var r=h(n(703)),i=h(n(907)),o=h(n(706)),a=h(n(708)),s=h(n(541)),c=h(n(1653)),u=h(n(707)),l=h(n(909)),d=h(n(542)),f=h(n(710));function h(e){return e&&e.__esModule?e:{default:e}}function p(){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)}p.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 p([n(r)]).process(e,t)},n},p.stringify=o.default,p.parse=u.default,p.vendor=c.default,p.list=l.default,p.comment=function(e){return new a.default(e)},p.atRule=function(e){return new s.default(e)},p.decl=function(e){return new r.default(e)},p.rule=function(e){return new d.default(e)},p.root=function(e){return new f.default(e)},t.default=p,e.exports=t.default},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(898)),i=a(n(899)),o=a(n(900));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},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var 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=c(n(901)),a=c(n(705)),s=c(n(1648));function c(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 o.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),r?r.from&&r.from!==Uint8Array.from?r.from(n,"base64").toString():new r(n,"base64").toString():window.atob(n);var n,i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)},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&&s.default.existsSync&&s.default.existsSync(n))return s.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof o.default.SourceMapConsumer)return o.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof o.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=a.default.join(a.default.dirname(e),r)),this.root=a.default.dirname(r),!(!s.default.existsSync||!s.default.existsSync(r))&&s.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":i(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=u,e.exports=t.default}).call(this,n(378).Buffer)},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}},function(e,t,n){var r=n(453);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.MappingList=i},function(e,t,n){var r=n(453),i=n(1645),o=n(904).ArraySet,a=n(903),s=n(1646).quickSort;function c(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new u(n,t)}function u(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",[]),c=r.getArg(n,"sourceRoot",null),u=r.getArg(n,"sourcesContent",null),l=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=r.normalize(c)),a=a.map(String).map(r.normalize).map(function(e){return c&&r.isAbsolute(c)&&r.isAbsolute(e)?r.relative(c,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(c,e,t)}),this.sourceRoot=c,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=t,this.file=d}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(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 c(r.getArg(e,"map"),t)}})}c.fromSourceMap=function(e,t){return u.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.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)},c.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 c=s.originalLine;s&&s.originalLine===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];else for(var u=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==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]}return o},t.SourceMapConsumer=c,u.prototype=Object.create(c.prototype),u.prototype.consumer=c,u.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},u.fromSourceMap=function(e,t){var n=Object.create(u.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 c=e._mappings.toArray().slice(),d=n.__generatedMappings=[],f=n.__originalMappings=[],h=0,p=c.length;h<p;h++){var m=c[h],v=new l;v.generatedLine=m.generatedLine,v.generatedColumn=m.generatedColumn,m.source&&(v.source=a.indexOf(m.source),v.originalLine=m.originalLine,v.originalColumn=m.originalColumn,m.name&&(v.name=i.indexOf(m.name)),f.push(v)),d.push(v)}return s(n.__originalMappings,r.compareByOriginalPositions),n},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),u.prototype._parseMappings=function(e,t){for(var n,i,o,c,u,d=1,f=0,h=0,p=0,m=0,v=0,g=e.length,y=0,b={},_={},w=[],x=[];y<g;)if(";"===e.charAt(y))d++,y++,f=0;else if(","===e.charAt(y))y++;else{for((n=new l).generatedLine=d,c=y;c<g&&!this._charIsMappingSeparator(e,c);c++);if(o=b[i=e.slice(y,c)])y+=i.length;else{for(o=[];y<c;)a.decode(e,y,_),u=_.value,y=_.rest,o.push(u);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=f+o[0],f=n.generatedColumn,o.length>1&&(n.source=m+o[1],m+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=p+o[3],p=n.originalColumn,o.length>4&&(n.name=v+o[4],v+=o[4])),x.push(n),"number"==typeof n.originalLine&&w.push(n)}s(x,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,s(w,r.compareByOriginalPositions),this.__originalMappings=w},u.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)},u.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}},u.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",c.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}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},u.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.')},u.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",c.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}},t.BasicSourceMapConsumer=u,d.prototype=Object.create(c.prototype),d.prototype.constructor=c,d.prototype._version=3,Object.defineProperty(d.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}}),d.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}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},d.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.')},d.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}},d.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 c=o[a],u=i.consumer._sources.at(c.source);u=r.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;c.name&&(l=i.consumer._names.at(c.name),this._names.add(l),l=this._names.indexOf(l));var d={source:u,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:l};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)},t.IndexedSourceMapConsumer=d},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,i){if(0===n.length)return-1;var o=function e(n,r,i,o,a,s){var c=Math.floor((r-n)/2)+n,u=a(i,o[c],!0);return 0===u?c:u>0?r-c>1?e(c,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r<o.length?r:-1:c:c-n>1?e(n,c,i,o,a,s):s==t.LEAST_UPPER_BOUND?c:n<0?-1:n}(-1,n.length,e,n,r,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===r(n[o],n[o-1],!0);)--o;return o}},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,d=o,Math.round(l+Math.random()*(d-l))),o);for(var s=e[o],c=i;c<o;c++)t(e[c],s)<=0&&n(e,a+=1,c);n(e,a+1,c);var u=a+1;r(e,t,i,u-1),r(e,t,u+1,o)}var l,d}t.quickSort=function(e,t){r(e,t,0,e.length-1)}},function(e,t,n){var r=n(902).SourceMapGenerator,i=n(453),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),c=0,u=function(){return e()+(e()||"");function e(){return c<a.length?a[c++]:void 0}},l=1,d=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(l<e.generatedLine)){var t=(n=a[c]||"").substr(0,e.generatedColumn-d);return a[c]=n.substr(e.generatedColumn-d),d=e.generatedColumn,h(f,t),void(f=e)}h(f,u()),l++,d=0}for(;l<e.generatedLine;)r.add(u()),l++;if(d<e.generatedColumn){var n=a[c]||"";r.add(n.substr(0,e.generatedColumn)),a[c]=n.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<a.length&&(f&&h(f,u()),r.add(a.splice(c).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 h(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,c=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&&c===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,c=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+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},function(e,t){},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var i=a(n(901)),o=a(n(705));function a(e){return e&&e.__esModule?e:{default:e}}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.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 r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var a=r,s=this.relative(a.file),c=a.root||o.default.dirname(a.file),u=void 0;!1===this.mapOpts.sourcesContent?(u=new i.default.SourceMapConsumer(a.text)).sourcesContent&&(u.sourcesContent=u.sourcesContent.map(function(){return null})):u=a.consumer(),this.map.applySourceMap(u,s,this.relative(c))}},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 r?r.from&&r.from!==Uint8Array.from?r.from(e).toString("base64"):new r(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?o.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o.default.dirname(o.default.resolve(t,this.mapOpts.annotation))),e=o.default.relative(t,e),"\\"===o.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 i.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,r=void 0,o=void 0;this.stringify(this.root,function(i,a,s){e.css+=i,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}})),(r=i.match(/\n/g))?(t+=r.length,o=i.lastIndexOf("\n"),n=i.length-o):n+=i.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=s,e.exports=t.default}).call(this,n(378).Buffer)},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(1651),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},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="warning",this.text=t,n.node&&n.node.source){var r=n.node.positionBy(n);this.line=r.line,this.column=r.column}for(var i in n)this[i]=n[i]}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},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(703)),i=u(n(899)),o=u(n(708)),a=u(n(541)),s=u(n(710)),c=u(n(542));function u(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 c.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 c.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 c=e.slice(0),u="",l=a;l>0;l--){var d=c[l][0];if(0===u.trim().indexOf("!")&&"space"!==d)break;u=c.pop()[1]+u}0===u.trim().indexOf("!")&&(t.important=!0,t.raws.important=u,e=c)}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,c=0;c<o;c+=1)"comment"===(i=(r=n[c])[0])||"space"===i&&c===o-1?s=!1:a+=r[1];if(!s){var u=n.reduce(function(e,t){return e+t[1]},"");e.raws[t]={value:a,raw:u}}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},function(e,t,n){"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},function(e,t,n){var r=n(1655);e.exports=r},function(e,t,n){n(1656);var r=n(101).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},function(e,t,n){var r=n(41),i=n(162);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(217).f})},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(1661);e.exports=r},function(e,t,n){n(1662);var r=n(101);e.exports=r.Object.assign},function(e,t,n){var r=n(41),i=n(913);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){var r=n(1664);e.exports=r},function(e,t,n){n(1665);var r=n(101);e.exports=r.Object.values},function(e,t,n){var r=n(41),i=n(1666).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){var r=n(162),i=n(442),o=n(283),a=n(528).f,s=function(e){return function(t){for(var n,s=o(t),c=i(s),u=c.length,l=0,d=[];u>l;)n=c[l++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){var r=n(1668);e.exports=r},function(e,t,n){n(1669);var r=n(101);e.exports=r.Object.keys},function(e,t,n){var r=n(41),i=n(234),o=n(442);r({target:"Object",stat:!0,forced:n(124)(function(){o(1)})},{keys:function(e){return o(i(e))}})},function(e,t,n){var r=n(1671);e.exports=r},function(e,t,n){var r=n(1672),i=Array.prototype;e.exports=function(e){var t=e.reduce;return e===i||e instanceof Array&&t===i.reduce?r:t}},function(e,t,n){n(1673);var r=n(146);e.exports=r("Array").reduce},function(e,t,n){"use strict";var r=n(41),i=n(915).left,o=n(456),a=n(317),s=o("reduce"),c=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1675);e.exports=r},function(e,t,n){n(288);var r=n(1676),i=n(287),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===o||e instanceof Array&&t===o.forEach||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(1677);e.exports=r},function(e,t,n){n(1678);var r=n(146);e.exports=r("Array").forEach},function(e,t,n){"use strict";var r=n(41),i=n(1679);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){"use strict";var r=n(457).forEach,i=n(456),o=n(317),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(1681);e.exports=r},function(e,t,n){n(1682);var r=n(101).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(e,t,n){var r=n(41),i=n(124),o=n(283),a=n(349).f,s=n(162),c=i(function(){a(1)});r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,n){var r=n(1684);e.exports=r},function(e,t,n){var r=n(1685),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||e instanceof Array&&t===i.filter?r:t}},function(e,t,n){n(1686);var r=n(146);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(41),i=n(457).filter,o=n(531),a=n(317),s=o("filter"),c=a("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1688);e.exports=r},function(e,t,n){n(714);var r=n(101);e.exports=r.Object.getOwnPropertySymbols},function(e,t,n){var r=n(283),i=n(916).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))}},function(e,t,n){var r=n(1691);e.exports=r},function(e,t,n){var r=n(1692),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?r:t}},function(e,t,n){n(1693);var r=n(146);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(41),i=n(683).indexOf,o=n(456),a=n(317),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1695);e.exports=r},function(e,t,n){n(1696);var r=n(101);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return r.JSON.stringify.apply(null,arguments)}},function(e,t,n){var r=n(41),i=n(202),o=n(124),a=i("JSON","stringify"),s=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,l=function(e,t,n){var r=n.charAt(t-1),i=n.charAt(t+1);return c.test(e)&&!u.test(i)||u.test(e)&&!c.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},d=o(function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")});a&&r({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,l):r}})},function(e,t,n){var r=n(1698);e.exports=r},function(e,t,n){var r=n(1699),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===i||e instanceof String&&t===i.trim?r:t}},function(e,t,n){n(1700);var r=n(146);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(41),i=n(716).trim;r({target:"String",proto:!0,forced:n(1701)("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(124),i=n(546);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(119),i=n(255),o=n(882),a=n(318),s=n(447),c=n(536),u=n(717);function l(e){return r(function(t,n,r){if(a(r)){if(s(t))return u.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 c.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 d=l("setProp");d.origFn=l,e.exports=d},function(e,t,n){var r=n(352),i=n(545),o=n(1704),a=n(1705),s=n(82),c=n(125);e.exports=function e(t,n){var u=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)+": "+u(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(u,t).join(", ")+"))";case"[object Array]":return"["+i(u,t).concat(l(t,c(function(e){return/^\d+$/.test(e)},s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+u(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?u(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+u(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+u(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var d=t.toString();if("[object Object]"!==d)return d}return"{"+l(t,s(t)).join(", ")+"}"}}},function(e,t){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,'\\"')+'"'}},function(e,t){var n;e.exports=(n=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+n(e.getUTCMonth()+1)+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},function(e,t,n){var r=n(187);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}},function(e,t,n){var r=n(1708);e.exports=r},function(e,t,n){var r=n(1709),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?r:t}},function(e,t,n){n(1710);var r=n(146);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(41),i=n(457).map,o=n(531),a=n(317),s=o("map"),c=a("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1712);e.exports=r},function(e,t,n){n(353),n(1713);var r=n(101);e.exports=r.Array.from},function(e,t,n){var r=n(41),i=n(923);r({target:"Array",stat:!0,forced:!n(874)(function(e){Array.from(e)})},{from:i})},function(e,t,n){n(288),n(353);var r=n(689);e.exports=r},function(e,t,n){var r=n(1716);e.exports=r},function(e,t,n){n(1717);var r=n(101);e.exports=r.Array.isArray},function(e,t,n){n(41)({target:"Array",stat:!0},{isArray:n(444)})},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t,n){n(288),n(353);var r=n(1721);e.exports=r},function(e,t,n){var r=n(287),i=n(130),o=n(347),a=i("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){var r=n(721);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then(function(e){return t.call(n,e)})}}},function(e,t,n){"use strict";var r=n(926),i=n(927),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,c=Array.prototype.push,u=function(e,t){c.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:i.formatters[i.default],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,n,i,o,a,c,l,f,h,p,m,v,g){var y=t;if("function"==typeof l?y=l(n,y):y instanceof Date?y=p(y):"comma"===i&&s(y)&&(y=y.join(",")),null===y){if(o)return c&&!v?c(n,d.encoder,g):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return c?[m(v?n:c(n,d.encoder,g))+"="+m(c(y,d.encoder,g))]:[m(n)+"="+m(String(y))];var b,_=[];if(void 0===y)return _;if(s(l))b=l;else{var w=Object.keys(y);b=f?w.sort(f):w}for(var x=0;x<b.length;++x){var k=b[x];a&&null===y[k]||(s(y)?u(_,e(y[k],"function"==typeof i?i(n,k):n,i,o,a,c,l,f,h,p,m,v,g)):u(_,e(y[k],n+(h?"."+k:"["+k+"]"),i,o,a,c,l,f,h,p,m,v,g)))}return _};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;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||d.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=d.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var l,h=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=a[l];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var m=0;m<n.length;++m){var v=n[m];c.skipNulls&&null===r[v]||u(h,f(r[v],v,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var g=h.join(c.delimiter),y=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),g.length>0?y+g:""}},function(e,t,n){"use strict";var r=n(926),i=Object.prototype.hasOwnProperty,o={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},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&i.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,i=e.length-1;i>=0;--i){var o,a=e[i];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[])[c]=r:o[s]=r:o={0:r}}r=o}return r}(c,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return o;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 Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?o.charset:e.charset;return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth?e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,s={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),d=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?f="utf-8":"utf8=%26%2310003%3B"===l[n]&&(f="iso-8859-1"),d=n,n=l.length);for(n=0;n<l.length;++n)if(n!==d){var h,p,m=l[n],v=m.indexOf("]="),g=-1===v?m.indexOf("="):v+1;-1===g?(h=t.decoder(m,o.decoder,f),p=t.strictNullHandling?null:""):(h=t.decoder(m.slice(0,g),o.decoder,f),p=t.decoder(m.slice(g+1),o.decoder,f)),p&&t.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&t.comma&&p.indexOf(",")>-1&&(p=p.split(",")),i.call(s,h)?s[h]=r.combine(s[h],p):s[h]=p}return s}(e,n):e,u=n.plainObjects?Object.create(null):{},l=Object.keys(c),d=0;d<l.length;++d){var f=l[d],h=s(f,c[f],n);u=r.merge(u,h,n)}return r.compact(u)}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){var r=n(1731);e.exports=r},function(e,t,n){n(928),n(353),n(288);var r=n(715);e.exports=r.f("iterator")},function(e,t,n){var r=n(1733);n(1749),n(1750),n(1751),n(1752),n(1753),e.exports=r},function(e,t,n){n(863),n(695),n(714),n(1734),n(1735),n(1736),n(1737),n(928),n(1738),n(1739),n(1740),n(1741),n(1742),n(1743),n(1744),n(1745),n(1746),n(1747),n(1748);var r=n(101);e.exports=r.Symbol},function(e,t,n){n(151)("asyncIterator")},function(e,t){},function(e,t,n){n(151)("hasInstance")},function(e,t,n){n(151)("isConcatSpreadable")},function(e,t,n){n(151)("match")},function(e,t,n){n(151)("matchAll")},function(e,t,n){n(151)("replace")},function(e,t,n){n(151)("search")},function(e,t,n){n(151)("species")},function(e,t,n){n(151)("split")},function(e,t,n){n(151)("toPrimitive")},function(e,t,n){n(151)("toStringTag")},function(e,t,n){n(151)("unscopables")},function(e,t,n){n(286)(Math,"Math",!0)},function(e,t,n){var r=n(134);n(286)(r.JSON,"JSON",!0)},function(e,t,n){n(151)("asyncDispose")},function(e,t,n){n(151)("dispose")},function(e,t,n){n(151)("observable")},function(e,t,n){n(151)("patternMatch")},function(e,t,n){n(151)("replaceAll")},function(e,t,n){var r=n(1755);e.exports=r},function(e,t,n){n(1756);var r=n(101);e.exports=r.Object.getPrototypeOf},function(e,t,n){var r=n(41),i=n(124),o=n(234),a=n(441),s=n(857);r({target:"Object",stat:!0,forced:i(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){var r=n(1758);e.exports=r},function(e,t,n){n(1759);var r=n(101);e.exports=r.Object.setPrototypeOf},function(e,t,n){n(41)({target:"Object",stat:!0},{setPrototypeOf:n(687)})},function(e,t,n){var r=n(1761);e.exports=r},function(e,t,n){n(1762);var r=n(101);e.exports=r.Reflect.get},function(e,t,n){var r=n(41),i=n(155),o=n(110),a=n(173),s=n(349),c=n(441);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,u,l=arguments.length<3?t:arguments[2];return o(t)===l?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):i(u=c(t))?e(u,n,l):void 0}})},function(e,t,n){var r=n(1764);e.exports=r},function(e,t,n){n(1765);var r=n(101).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(41)({target:"Object",stat:!0,sham:!n(162)},{create:n(350)})},function(e,t,n){var r=n(1767);e.exports=r},function(e,t,n){var r=n(1768),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?r:t}},function(e,t,n){n(1769);var r=n(146);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(41),i=n(155),o=n(444),a=n(684),s=n(235),c=n(283),u=n(692),l=n(130),d=n(531),f=n(317),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,d=c(this),f=s(d.length),h=a(e,f),p=a(void 0===t?f:t,f);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(d,h,p);for(r=new(void 0===n?Array:n)(g(p-h,0)),l=0;h<p;h++,l++)h in d&&u(r,l,d[h]);return r.length=l,r}})},function(e,t,n){var r=n(1771);e.exports=r},function(e,t,n){var r=n(1772);e.exports=r},function(e,t,n){n(1773),n(1775),n(677);var r=n(101);e.exports=r.URL},function(e,t,n){"use strict";n(353);var r,i=n(41),o=n(162),a=n(862),s=n(134),c=n(859),u=n(351),l=n(443),d=n(173),f=n(913),h=n(923),p=n(869).codeAt,m=n(1774),v=n(286),g=n(677),y=n(285),b=s.URL,_=g.URLSearchParams,w=g.getState,x=y.set,k=y.getterFor("URL"),E=Math.floor,S=Math.pow,T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,O=/\d/,A=/^(0x|0X)/,j=/^[0-7]+$/,N=/^\d+$/,M=/^[\dA-Fa-f]+$/,P=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,I=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,R=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=B(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=m(t),P.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(I.test(t))return"Invalid host";for(n="",r=h(t),i=0;i<r.length;i++)n+=V(r[i],q);e.host=n}},F=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=A.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?N:8==o?j:M).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>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},B=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&M.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!O.test(f()))return;for(;O.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},U=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=E(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},q={},z=f({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),W=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=p(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return d(Y,e.scheme)},K=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},X=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&X(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&X(t[0],!0)||t.pop()},J=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},ue={},le={},de={},fe={},he={},pe={},me={},ve={},ge={},ye={},be={},_e={},we=function(e,t,n,i){var o,a,s,c,u,l=n||ee,f=0,p="",m=!1,v=!1,g=!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(L,"")),t=t.replace(D,""),o=h(t);f<=o.length;){switch(a=o[f],l){case ee:if(!a||!T.test(a)){if(n)return"Invalid scheme";l=ne;continue}p+=a.toLowerCase(),l=te;break;case te:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",l=ne,f=0;continue}if(n&&(G(e)!=d(Y,p)||"file"==p&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(G(e)&&Y[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?l=he:G(e)&&i&&i.scheme==e.scheme?l=re:G(e)?l=se:"/"==o[f+1]?(l=ie,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ye)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=_e;break}l="file"==i.scheme?he:oe;continue;case re:if("/"!=a||"/"!=o[f+1]){l=oe;continue}l=ce,f++;break;case ie:if("/"==a){l=ue;break}l=ge;continue;case oe: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&&G(e))l=ae;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="",l=be;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(),l=ge;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="",l=_e}break;case ae:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=ge;continue}l=ue}else l=ce;break;case se:if(l=ce,"/"!=a||"/"!=p.charAt(f+1))continue;f++;break;case ce:if("/"!=a&&"\\"!=a){l=ue;continue}break;case ue:if("@"==a){m&&(p="%40"+p),m=!0,s=h(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=V(b,W);g?e.password+=_:e.username+=_}else g=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(m&&""==p)return"Invalid authority";f-=h(p).length+1,p="",l=le}else p+=a;break;case le:case de:if(n&&"file"==e.scheme){l=me;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==p)return"Invalid host";if(n&&""==p&&(K(e)||null!==e.port))return;if(c=R(e,p))return c;if(p="",l=ve,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),p+=a}else{if(""==p)return"Invalid host";if(c=R(e,p))return c;if(p="",l=fe,n==de)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return"Invalid port";e.port=G(e)&&w===Y[e.scheme]?null:w,p=""}if(n)return;l=ve;continue}return"Invalid port"}p+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)l=pe;else{if(!i||"file"!=i.scheme){l=ge;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="",l=be;else{if("#"!=a){Q(o.slice(f).join(""))||(e.host=i.host,e.path=i.path.slice(),Z(e)),l=ge;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=_e}}break;case pe:if("/"==a||"\\"==a){l=me;break}i&&"file"==i.scheme&&!Q(o.slice(f).join(""))&&(X(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=ge;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&X(p))l=ge;else if(""==p){if(e.host="",n)return;l=ve}else{if(c=R(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",l=ve}continue}p+=a;break;case ve:if(G(e)){if(l=ge,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ge,"/"!=a))continue}else e.fragment="",l=_e;else e.query="",l=be;break;case ge:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Z(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):J(p)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&X(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=_e)}else p+=V(a,H);break;case ye:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=_e):a!=r&&(e.path[0]+=V(a,q));break;case be:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,q)):(e.fragment="",l=_e);break;case _e:a!=r&&(e.fragment+=V(a,z))}f++}},xe=function(e){var t,n,r=l(this,xe,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=x(r,{type:"URL"});if(void 0!==i)if(i instanceof xe)t=k(i);else if(n=we(t={},String(i)))throw TypeError(n);if(n=we(s,a,null,t))throw TypeError(n);var c=s.searchParams=new _,u=w(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},o||(r.href=Ee.call(r),r.origin=Se.call(r),r.protocol=Te.call(r),r.username=Ce.call(r),r.password=Oe.call(r),r.host=Ae.call(r),r.hostname=je.call(r),r.port=Ne.call(r),r.pathname=Me.call(r),r.search=Pe.call(r),r.searchParams=Ie.call(r),r.hash=Le.call(r))},ke=xe.prototype,Ee=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",K(e)&&(u+=n+(r?":"+r:"")+"@"),u+=U(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},Se=function(){var e=k(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&&G(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},Te=function(){return k(this).scheme+":"},Ce=function(){return k(this).username},Oe=function(){return k(this).password},Ae=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},je=function(){var e=k(this).host;return null===e?"":U(e)},Ne=function(){var e=k(this).port;return null===e?"":String(e)},Me=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Pe=function(){var e=k(this).query;return e?"?"+e:""},Ie=function(){return k(this).searchParams},Le=function(){var e=k(this).fragment;return e?"#"+e:""},De=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(ke,{href:De(Ee,function(e){var t=k(this),n=String(e),r=we(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)}),origin:De(Se),protocol:De(Te,function(e){var t=k(this);we(t,String(e)+":",ee)}),username:De(Ce,function(e){var t=k(this),n=h(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],W)}}),password:De(Oe,function(e){var t=k(this),n=h(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],W)}}),host:De(Ae,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),le)}),hostname:De(je,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),de)}),port:De(Ne,function(e){var t=k(this);$(t)||(""==(e=String(e))?t.port=null:we(t,e,fe))}),pathname:De(Me,function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ve))}),search:De(Pe,function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",we(t,e,be)),w(t.searchParams).updateSearchParams(t.query)}),searchParams:De(Ie),hash:De(Le,function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",we(t,e,_e)):t.fragment=null})}),u(ke,"toJSON",function(){return Ee.call(this)},{enumerable:!0}),u(ke,"toString",function(){return Ee.call(this)},{enumerable:!0}),b){var Re=b.createObjectURL,Fe=b.revokeObjectURL;Re&&u(xe,"createObjectURL",function(e){return Re.apply(b,arguments)}),Fe&&u(xe,"revokeObjectURL",function(e){return Fe.apply(b,arguments)})}v(xe,"URL"),i({global:!0,forced:!a,sham:!o},{URL:xe})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],i=(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)).length,l=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,p=h;for(h&&r.push("-");p<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=p+1;if(m-l>a((2147483647-d)/v))throw RangeError(o);for(d+=(m-l)*v,l=m,t=0;t<e.length;t++){if((n=e[t])<l&&++d>2147483647)throw RangeError(o);if(n==l){for(var g=d,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(g<b)break;var _=g-b,w=36-b;r.push(s(c(b+_%w))),g=a(_/w)}r.push(s(c(g))),f=u(d,v,p==h),d=0,++p}}++d,++l}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+l(n):n);return o.join(".")}},function(e,t){},function(e,t,n){var r=n(1777);e.exports=r},function(e,t,n){n(1778);var r=n(101);e.exports=r.parseInt},function(e,t,n){var r=n(41),i=n(1779);r({global:!0,forced:parseInt!=i},{parseInt:i})},function(e,t,n){var r=n(134),i=n(716).trim,o=n(546),a=r.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");e.exports=c?function(e,t){var n=i(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){var r=n(1781);e.exports=r},function(e,t,n){n(1782);var r=n(101);e.exports=r.setTimeout},function(e,t,n){var r=n(41),i=n(134),o=n(532),a=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,i=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},function(e,t,n){var r=n(1784);e.exports=r},function(e,t,n){n(1785);var r=n(101);e.exports=r.Reflect.construct},function(e,t,n){var r=n(41),i=n(202),o=n(145),a=n(110),s=n(155),c=n(350),u=n(868),l=n(124),d=i("Reflect","construct"),f=l(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),h=!l(function(){d(function(){})}),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!f)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 r.push.apply(r,t),new(u.apply(e,r))}var i=n.prototype,l=c(s(i)?i:Object.prototype),p=Function.apply.call(e,l,t);return s(p)?p:l}})},function(e,t,n){var r=n(16);e.exports=r(!1)},function(e,t,n){var r=n(1788),i=n(20),o=n(148),a=n(1789);e.exports=i(o([],a,r))},function(e,t){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}},function(e,t,n){var r=n(237),i=n(20),o=n(156);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)})}()},function(e,t,n){var r=n(50),i=n(591),o=n(54),a=n(32),s=n(325),c=n(238),u=n(115),l=n(69);e.exports=r(function e(t){return t=a(function(t){return"function"==typeof t?t:e(t)},t),o(u(s,0,c("length",l(t))),function(){var e=arguments;return a(function(t){return i(t,e)},t)})})},function(e,t,n){var r=n(50),i=n(550);e.exports=r(function(e){return i(2,e)})},function(e,t,n){var r=n(79);e.exports=r(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))})},function(e,t,n){var r=n(20),i=n(1794),o=n(32);e.exports=r(function(e,t){return o(e,i(t))})},function(e,t,n){var r=n(1795),i=n(543),o=n(219),a=n(156);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])}}}},function(e,t){e.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},function(e,t,n){var r=n(61);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})},function(e,t,n){var r=n(929),i=n(50);e.exports=i(function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)})},function(e,t,n){var r=n(50);e.exports=r(function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}})},function(e,t,n){var r=n(50),i=n(932);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){var r=n(551);e.exports=r(function(e,t){return e+1},0)},function(e,t,n){var r=n(534),i=n(187),o=n(156);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)})}()},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0})},function(e,t,n){var r=n(20),i=n(720),o=n(26),a=n(222),s=n(592),c=n(471);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],u=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?c(r,e(u,n[r]),n):o(r,e(u,n[r]),n)}})},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(148),o=n(1806),a=n(1807);e.exports=r(i([],a,o))},function(e,t){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)}},function(e,t,n){var r=n(20),i=n(219),o=n(156);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)})}()},function(e,t,n){var r=n(50),i=n(148),o=n(934),a=n(935),s=n(35);e.exports=r(i([],o(s),a(s)))},function(e,t,n){var r=n(20),i=n(148),o=n(1810);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)}))},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(35),o=n(936);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(61),i=n(35);e.exports=r(function(e,t,n){return i(e(t),e(n))})},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(148),o=n(1816);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}))},function(e,t,n){var r=n(20),i=n(156);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)})}()},function(e,t,n){var r=n(20),i=n(82);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})},function(e,t,n){var r=n(455),i=n(20),o=n(551);e.exports=i(r("groupBy",o(function(e,t){return null==e&&(e=[]),e.push(t),e},null)))},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e in t})},function(e,t,n){var r=n(551);e.exports=r(function(e,t){return t},null)},function(e,t,n){var r=n(189);e.exports=r(0,-1)},function(e,t,n){var r=n(552),i=n(61),o=n(712);e.exports=i(function(e,t,n){return o(function(t){return r(e,t,n)},t)})},function(e,t,n){var r=n(61);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))})},function(e,t,n){var r=n(352),i=n(20),o=n(712),a=n(47),s=n(472);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))})},function(e,t,n){var r=n(352);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}()},function(e,t,n){var r=n(552),i=n(61),o=n(723);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=[],c=0;c<a.length;)r(e,a[c],i)&&(s[s.length]=a[c]),c+=1;return o(e,s)})},function(e,t,n){var r=n(455),i=n(20);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}))},function(e,t,n){var r=n(929),i=n(61),o=n(711),a=n(219),s=n(1830);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)})},function(e,t,n){var r,i,o,a=n(718),s=n(699),c=n(543),u=n(711),l=n(149);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,c(t)?l(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(u(e))return e;if(c(e))return r;if("string"==typeof e)return i;if("object"==typeof e)return o;throw new Error("Cannot create transformer for "+e)})},function(e,t,n){var r=n(50),i=n(187),o=n(82);e.exports=r(function(e){for(var t=o(e),n=t.length,r=0,a={};r<n;){var s=t[r],c=e[s],u=i(c,a)?a[c]:a[c]=[];u[u.length]=s,r+=1}return a})},function(e,t,n){var r=n(50),i=n(82);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})},function(e,t,n){var r=n(50);e.exports=r(function(e){var t,n=[];for(t in e)n[n.length]=t;return n})},function(e,t,n){var r=n(20),i=n(321),o=n(35);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)})},function(e,t,n){var r=n(50),i=n(549),o=n(297),a=n(471);e.exports=r(function(e){return i(o(e),a(e))})},function(e,t,n){var r=n(61);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]})},function(e,t,n){var r=n(61);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]]})},function(e,t,n){var r=n(20),i=n(720);e.exports=r(function(e,t){return i(e)?!i(t)||t<1?NaN:(e%t+t)%t:NaN})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(n)>e(t)?n:t})},function(e,t,n){var r=n(50),i=n(938);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))})},function(e,t,n){var r=n(388),i=n(459);e.exports=r(function(){return i(arguments)})},function(e,t,n){var r=n(20),i=n(553);e.exports=r(function(e,t){return i(function(e,t,n){return t},e,t)})},function(e,t,n){var r=n(61),i=n(553);e.exports=r(function(e,t,n){return i(function(t,n,r){return e(n,r)},t,n)})},function(e,t,n){var r=n(61),i=n(724);e.exports=r(function(e,t,n){return i(function(t,n,r){return e(n,r)},t,n)})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return t<e?t:e})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(n)<e(t)?n:t})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return e%t})},function(e,t,n){var r=n(917),i=n(20),o=n(148),a=n(924),s=n(590);e.exports=i(r(o(["any"],a,s)))},function(e,t,n){var r=n(50),i=n(54),o=n(297);e.exports=r(function(e){return i(e<0?1:e+1,function(){return o(e,arguments)})})},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){return e(t(n))})},function(e,t){e.exports=function(e){return[e]}},function(e,t,n){var r=n(254),i=n(50);e.exports=i(function(e){var t,n=!1;return r(e.length,function(){return n?t:(n=!0,t=e.apply(this,arguments))})})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return[e,t]})},function(e,t,n){var r=n(237),i=n(921),o=n(47);e.exports=i(o(r))},function(e,t,n){var r=n(44),i=n(387),o=n(125);e.exports=i([r,o])},function(e,t,n){var r=n(20);e.exports=r(function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n})},function(e,t,n){var r=n(931),i=n(544);e.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(262),i=n(115);e.exports=i(r,1)},function(e,t,n){var r=n(545),i=n(56),o=n(939),a=n(940);e.exports=a(r,[o,i])},function(e,t,n){var r=n(61),i=n(386);e.exports=r(function(e,t,n){return i(e,n[t])})},function(e,t,n){var r=n(534),i=n(219),o=n(322);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)})},function(e,t,n){var r=n(50),i=n(322);e.exports=r(i)},function(e,t,n){var r=n(20),i=n(16),o=n(942);e.exports=r(function(e,t){return o(i(e),t)})},function(e,t,n){var r=n(61);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})},function(e,t,n){var r=n(20);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})})},function(e,t,n){var r=n(20),i=n(45),o=n(189);e.exports=r(function(e,t){return[o(0,e,t),o(e,i(t),t)]})},function(e,t,n){var r=n(20),i=n(189);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})},function(e,t,n){var r=n(20);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)]})},function(e,t,n){var r=n(20);e.exports=r(function(e,t){return Number(e)-Number(t)})},function(e,t,n){var r=n(61),i=n(48),o=n(933);e.exports=r(function(e,t,n){return i(o(e,t,n),o(e,n,t))})},function(e,t,n){var r=n(20);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)})},function(e,t,n){var r=n(20),i=n(148),o=n(1873);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)}))},function(e,t,n){var r=n(20),i=n(322),o=n(156);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)})}()},function(e,t){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(50);e.exports=r(function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t})},function(e,t,n){var r=n(50);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})},function(e,t,n){var r=n(61),i=n(32),o=n(943);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))})},function(e,t,n){var r=n(254),i=n(237),o=n(20);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))}})})},function(e,t,n){var r=n(50);e.exports=r(function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(237),i=n(20),o=n(7),a=n(472);e.exports=i(o(a,r))},function(e,t,n){var r=n(237),i=n(61),o=n(723);e.exports=i(function(e,t,n){return o(e,r(t,n))})},function(e,t,n){var r=n(699),i=n(722);e.exports=i(r)},function(e,t,n){var r=n(61);e.exports=r(function(e,t,n){for(var r=n;!e(r);)r=t(r);return r})},function(e,t,n){var r=n(50);e.exports=r(function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(20);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})},function(e,t,n){var r=n(61);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})},function(e,t,n){var r=n(1890);e.exports=r},function(e,t,n){n(288);var r=n(1891),i=n(287),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===o||e instanceof Array&&t===o.values||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(1892);e.exports=r},function(e,t,n){n(439);var r=n(146);e.exports=r("Array").values},function(e,t,n){var r=n(1894);n(1899),n(1901),n(1903),n(1905),n(1906),n(1907),n(1908),n(1909),n(1910),n(1912),n(1913),n(1914),n(1915),n(1916),n(1917),n(1918),n(1919),n(1920),n(1921),e.exports=r},function(e,t,n){n(1895),n(695),n(353),n(288);var r=n(101);e.exports=r.Map},function(e,t,n){"use strict";var r=n(1896),i=n(1898);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){"use strict";var r=n(41),i=n(134),o=n(945),a=n(124),s=n(233),c=n(147),u=n(443),l=n(155),d=n(286),f=n(217).f,h=n(457).forEach,p=n(162),m=n(285),v=m.set,g=m.getterFor;e.exports=function(e,t,n){var m,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=y?"set":"add",w=i[e],x=w&&w.prototype,k={};if(p&&"function"==typeof w&&(b||x.forEach&&!a(function(){(new w).entries().next()}))){m=t(function(t,n){v(u(t,m,e),{type:e,collection:new w}),null!=n&&c(n,t[_],t,y)});var E=g(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"==e||"set"==e;e in x&&(!b||"clear"!=e)&&s(m.prototype,e,function(n,r){var i=E(this).collection;if(!t&&b&&!l(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o})}),b||f(m.prototype,"size",{configurable:!0,get:function(){return E(this).collection.size}})}else m=n.getConstructor(t,e,y,_),o.REQUIRED=!0;return d(m,e,!1,!0),k[e]=m,r({global:!0,forced:!0},k),b||n.setStrong(m,e,y),m}},function(e,t,n){var r=n(124);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){"use strict";var r=n(217).f,i=n(350),o=n(688),a=n(174),s=n(443),c=n(147),u=n(681),l=n(871),d=n(162),f=n(945).fastKey,h=n(285),p=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],e,n)}),h=m(t),v=function(e,t,n){var r,i,o=h(e),a=g(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var n,r=h(e),i=f(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=h(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,d?e.size=0:this.size=0},delete:function(e){var t=h(this),n=g(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(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!!g(this,e)}}),o(l.prototype,n?{get:function(e){var t=g(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)}}),d&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){p(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)}}},function(e,t,n){n(41)({target:"Map",stat:!0},{from:n(1900)})},function(e,t,n){"use strict";var r=n(145),i=n(174),o=n(147);e.exports=function(e){var t,n,a,s,c=arguments.length,u=c>1?arguments[1]:void 0;return r(this),(t=void 0!==u)&&r(u),null==e?new this:(n=[],t?(a=0,s=i(u,c>2?arguments[2]:void 0,2),o(e,function(e){n.push(s(e,a++))})):o(e,n.push,n),new this(n))}},function(e,t,n){n(41)({target:"Map",stat:!0},{of:n(1902)})},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(1904);r({target:"Map",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(110),i=n(145);e.exports=function(){for(var e,t=r(this),n=i(t.delete),o=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),o=o&&e;return!!o}},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(174),s=n(257),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!c(n,function(e,n){if(!r(n,e,t))return c.stop()},void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(202),a=n(110),s=n(145),c=n(174),u=n(445),l=n(257),d=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){r(n,e,t)&&f.call(i,e,n)},void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(174),s=n(257),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n){if(r(n,e,t))return c.stop(n)},void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(174),s=n(257),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{findKey:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n){if(r(n,e,t))return c.stop(e)},void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(41),i=n(147),o=n(145);r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;o(t);var r=o(n.has),a=o(n.get),s=o(n.set);return i(e,function(e){var i=t(e);r.call(n,i)?a.call(n,i).push(e):s.call(n,i,[e])}),n}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(257),s=n(1911),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{includes:function(e){return c(a(o(this)),function(t,n){if(s(n,e))return c.stop()},void 0,!0,!0).stopped}})},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(41),i=n(147),o=n(145);r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;o(t);var r=o(n.set);return i(e,function(e){r.call(n,t(e),e)}),n}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(257),s=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{keyOf:function(e){return s(a(o(this)),function(t,n){if(n===e)return s.stop(t)},void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(202),a=n(110),s=n(145),c=n(174),u=n(445),l=n(257),d=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{mapKeys:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){f.call(i,r(n,e,t),n)},void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(202),a=n(110),s=n(145),c=n(174),u=n(445),l=n(257),d=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{mapValues:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){f.call(i,e,r(n,e,t))},void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(145),s=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{merge:function(e){for(var t=o(this),n=a(t.set),r=0;r<arguments.length;)s(arguments[r++],n,t,!0);return t}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(145),s=n(257),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),n=s(t),r=arguments.length<2,i=r?void 0:arguments[1];if(a(e),c(n,function(n,o){r?(r=!1,i=o):i=e(i,o,n,t)},void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return i}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(174),s=n(257),c=n(147);r({target:"Map",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n){if(r(n,e,t))return c.stop()},void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(41),i=n(118),o=n(110),a=n(145);r({target:"Map",proto:!0,real:!0,forced:i},{update:function(e,t){var n=o(this),r=arguments.length;a(t);var i=n.has(e);if(!i&&r<3)throw TypeError("Updating absent value");var s=i?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}})},function(e,t,n){"use strict";n(41)({target:"Map",proto:!0,real:!0,forced:n(118)},{upsert:n(946)})},function(e,t,n){"use strict";n(41)({target:"Map",proto:!0,real:!0,forced:n(118)},{updateOrInsert:n(946)})},function(e,t,n){var r=n(163);
/** @license ISC License (c) copyright 2017 original and current authors */e.exports=function(e){return function(t){return-1!==r(e).call(e,t)}}},function(e,t,n){var r=n(4),i=n(205),o=n(18),a=n(135),s=n(725),c=n(290),u=n(947),l=n(948),d=n(1924),f=n(1925);function h(e){return e&&c(e.inspect)?" "+e.inspect():c(e)?" Function":s(e)?" ["+((t=e).length?a(n=o(t).call(t,h)).call(n,function(e,t){return e+","+t}):t)+" ]":u(e)?" { "+a(p=i(e)).call(p,function(t,n){return r(t).call(t,[n+":"+h(e[n])])},[]).join(", ")+" }":l(e)?' "'+e+'"':d(e)||f(e)?" "+e.toString():" "+e;var t,n,p}e.exports=h},function(e,t,n){var r=n(258);
/** @license ISC License (c) copyright 2018 original and current authors */e.exports=function(e){return"symbol"===r(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t,n){var r=n(53),i=n(1927),o=n(135),a=n(18),s=n(4),c=n(950),u=n(725),l=n(1933),d=n(290),f=n(726),h=n(951),p=n(1938),m=function(e){return e},v=function(e){return function(t){return s(e).call(e,t)}};function g(e,t){return function(n,r){var i=t(r);if(!c(n)&&!u(n)||!f(n,i))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return u(i)?_(n,b(function(e){return v([e])},i)):a(i).call(i,function(e){return v([e])}).ap(n)}}var y=function(e){return o(e).call(e,function(e,t){return e&&d(t)},!0)},b=function(e,t){return a(t).call(t,function(t){return e(t)})};function _(e,t){if(!t.length||!y(t))throw new TypeError("Array.ap: Second Array must all be functions");return o(t).call(t,function(t,n){return s(t).call(t,b(n,e))},[])}e.exports={ap:_,chain:function(e,t){return o(t).call(t,function(t,n){var r=e(n);if(!u(r))throw new TypeError("Array.chain: Function must return an Array");return s(t).call(t,r)},[])},fold:function(e){if(l(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!h(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return o(e).call(e,function(e,t){if(!f(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return s(e).call(e,t)})},foldMap:function(e,t){var n;if(l(t))throw new TypeError("Array.foldMap: Non-empty Array required");var i=e(t[0]);if(!h(i))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?i:o(n=r(t).call(t,1)).call(n,function(t,n){var r=e(n);if(!f(t,r)||!h(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return s(t).call(t,r)},i)},map:b,sequence:function(e,t){var n=p(e);return i(t).call(t,g("sequence",m),n([]))},set:function(e,t,n){var i=r(n).call(n);return i[e]=t,i},traverse:function(e,t,n){var r=p(e);return i(n).call(n,g("traverse",t),r([]))},unset:function(e,t){var n;return s(n=r(t).call(t,0,e)).call(n,r(t).call(t,e+1))}}},function(e,t,n){e.exports=n(1928)},function(e,t,n){var r=n(1929);e.exports=r},function(e,t,n){var r=n(1930),i=Array.prototype;e.exports=function(e){var t=e.reduceRight;return e===i||e instanceof Array&&t===i.reduceRight?r:t}},function(e,t,n){n(1931);var r=n(146);e.exports=r("Array").reduceRight},function(e,t,n){"use strict";var r=n(41),i=n(915).right,o=n(456),a=n(317),s=o("reduceRight"),c=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduceRight:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(355);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){var r=n(205),i=n(947),o=n(1934),a=n(1935),s=n(554);
/** @license ISC License (c) copyright 2016 original and current authors */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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(355),i=n(951);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){var r=n(205),i=n(726),o=n(1937),a=n(355),s=n(952),c=n(554),u=function(e,t){return e.valueOf()===t.valueOf()},l={Array:function(e,t){return e.length===t.length&&d(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&&d(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}};
/** @license ISC License (c) copyright 2017 original and current authors */function d(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!o(e,t)||!!i(e,t)&&(a("equals",e)?(t[c.equals]||t.equals).call(t,e):(l[s(e)]||u)(e,t))}e.exports=f},function(e,t,n){var r=n(135),i=n(4),o=n(3),a=n(290);function s(e,t){return a(e)?e.length>1?o(e).call(e,null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],c=arguments.length;c--;)n[c]=arguments[c];var u,l=n.length?n:[void 0];if(l.length<t.length)return e(o(Function).apply(t,i(u=[null]).call(u,l)));var d=l.length===t.length?t.apply(null,l):r(l).call(l,s,t);return a(d)?e(d):d}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(1939),i=n(1940);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(355),i=n(950);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(290);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(355);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1946);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(290);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){"use strict";var r=n(204),i=n(953),o=n(1949),a=n(959);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=s(n(956));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(960),c.CancelToken=n(1962),c.isCancel=n(955),c.all=function(e){return Promise.all(e)},c.spread=n(1963),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(204),i=n(954),o=n(1950),a=n(1951),s=n(959);function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){c.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=c},function(e,t,n){"use strict";var r=n(204);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(204),i=n(1952),o=n(955),a=n(956);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(204);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(204);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(958);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.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:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(1957),i=n(1958);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(204),i=["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"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(204);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(204);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(960);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){var r=n(1965),i=n(1970);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(460),i=n(1966),o=n(727),a=n(1968);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)))}},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){var r=n(220),i=n(729),o=n(962),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},function(e,t,n){var r=n(964),i=n(220)(r("tail",n(1969)(1,1/0)));e.exports=i},function(e,t,n){var r=n(964),i=n(461)(r("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}));e.exports=i},function(e,t,n){var r=n(220),i=n(962),o=r(function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});e.exports=o},function(e,t,n){var r=n(188)(function(e,t){return null!=t&&t.constructor===e||t instanceof e});e.exports=r},function(e,t,n){var r=n(461)(function(e,t,n){return e(n)?n:t(n)});e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1974),i=n(1975),o=n(967).type("Async"),a=n(967).typeFn(o(),5),s=n(556),c=n(1978),u=n(1988),l=n(1989),d=n(1990),f=n(730),h=n(1991),p=n(291),m=n(1992),v=n(1994),g=n(731),y=function(e){return e.reduce(function(e,t){return e&&g(_,t)},!0)},b=function(e){return _(function(t,n){return n(e)})};function _(e){var t;if(!p(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!p(t)||!p(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=p(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=p(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function h(e){return function(t,n){if(!p(t)||!p(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(function(e,r){return c(u(e,t),u(r,n))})}}function m(e){return function(t){if(!g(_,t))throw new TypeError("Async."+e+": Async required");return _(function(e,n){var r=d,i=d;return r=c(function(){i=t.fork(e,n)},n),l(function(){return i(r())})})}}function v(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Async returning function required");return _(function(n,r){var i=d,o=d;return i=c(n,function(i){var a=t(i);if(!g(_,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),l(function(){return o(i())})})}}return(t={fork:c,toPromise:function(){return new Promise(function(e,t){c(t,e)})},inspect:r,toString:r,type:o,swap:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.swap: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(n,t))})},race:function(e){if(!g(_,e))throw new TypeError("Async.race: Async required");return _(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=c(o,i),s=e.fork(o,i);return function(){a(),s()}})},coalesce:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(r,t))})},ap:function(e){if(!g(_,e))throw new TypeError("Async.ap: Async required");return _(function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=l(t);function f(){!s&&o&&a&&u(n,r)(i)}var h=c(d,function(e){if(!p(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()}),m=e.fork(d,function(e){a=!0,i=e,f()});return function(){h(),m(),s=!0}})},of:n,alt:m("alt"),bimap:h("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!p(e)||!p(t))throw new TypeError(n);return _(function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(_,o))throw new TypeError(n);a=o.fork(r,i)}}return o=c(s(e),s(t)),l(function(){return a(o())})})}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=h(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=_,t}_.of=b,_.type=o,_[s.of]=b,_["@@type"]=a,_.Rejected=function(e){return _(function(t){return t(e)})},_.Resolved=b,_.fromPromise=function(e){if(!p(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return _(function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)})}},_.fromNode=function(e,t){if(!p(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return _(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},_.all=function(e){if(!h(e)||!y(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?c.sequence(_.of,e):e.sequence(_.of)},_.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return _(function(n){var r=setTimeout(function(){n(t)},e);return function(){clearTimeout(r)}})},_.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return _(function(n,r){var i=setTimeout(function(){r(t)},e);return function(){clearTimeout(i)}})},_["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=_},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(730),i=n(291),o=n(965),a=n(966),s=n(1976),c=n(1977);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)||c(e)?" "+e.toString():" "+e;var t}e.exports=u},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"symbol"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(968),i=n(730),o=n(1980),a=n(291),s=n(731),c=n(969),u=n(1985),l=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(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)?m(n,p(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var h=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},p=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!h(t))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:m,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(!c(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(!c(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)||!c(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=u(e);return t.reduceRight(f("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=u(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(356);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(965),i=n(1981),o=n(1982),a=n(556);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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(356),i=n(969);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(731),i=n(1984),o=n(356),a=n(970),s=n(556),c=function(e,t){return e.valueOf()===t.valueOf()},u={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(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(u[a(e)]||c)(e,t))}e.exports=d},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(291);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}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(1986),i=n(1987);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(356),i=n(968);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(291);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(356);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1993);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(291);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;var s,c,u=Object.prototype,l=u.hasOwnProperty,d=u.toString,f=u.propertyIsEnumerable,h=(s=Object.keys,c=Object,function(e){return s(c(e))}),p=Math.max,m=!f.call({valueOf:1},"valueOf");function v(e,t){var n=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&x(e)}(e)&&l.call(e,"callee")&&(!f.call(e,"callee")||d.call(e)==r)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=n.length,o=!!i;for(var a in e)!t&&!l.call(e,a)||o&&("length"==a||y(a,i))||n.push(a);return n}function g(e,t,n){var r=e[t];l.call(e,t)&&_(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function y(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}function b(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||u)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function x(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=k(e)?d.call(e):"";return t==i||t==o}(e)}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var E=function(e){return t=function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&function(e,t,n){if(!k(n))return!1;var r=typeof t;return!!("number"==r?x(n)&&y(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t},n=p(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,i=p(e.length-n,0),o=Array(i);++r<i;)o[r]=e[n+r];r=-1;for(var a=Array(n+1);++r<n;)a[r]=e[r];return a[n]=o,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)}(t,this,a)};var t,n}(function(e,t){if(m||b(t)||x(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;g(n,a,void 0===s?e[a]:s)}}(t,function(e){return x(e)?v(e):function(e){if(!b(e))return h(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)&&g(e,n,t[n])});e.exports=E},function(e,t,n){var r=n(729),i=n(1997);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))return t.apply(null,o)(a)}return n.apply(this,arguments)}}},function(e,t){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(188),i=n(1999),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},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t,n){var r=n(460),i=n(555);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t,n){var r=n(973),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)}}},function(e,t,n){var r=n(974),i=n(2003),o=n(2004),a=n(379),s=n(2005),c=n(557),u=n(2007),l=n(2008),d=n(2009),f=o(function(e,t){return typeof t===e}),h=function(e){return l(c(p),Math.max,0,d(e))},p=i([[f("object"),h],[f("function"),s],[u,r(0)]]);e.exports=o(function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=h(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))})},function(e,t,n){var r=n(460),i=n(220),o=n(557),a=n(975),s=n(727),c=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=c},function(e,t,n){var r=n(220),i=n(379),o=r(function(e){return i(e.length,e)});e.exports=o},function(e,t,n){var r=n(220),i=n(2006),o=r(function(e){return null!=e&&i(e.length)?e.length:NaN});e.exports=o},function(e,t){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(974)(!0);e.exports=r},function(e,t,n){var r=n(728),i=n(963),o=n(379)(4,function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)});e.exports=o},function(e,t,n){var r=n(220),i=n(972),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},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){var r=n(2012),i=n(977),o=n(2013),a="[object Object]";var s=Object.prototype,c=s.hasOwnProperty,u=s.toString;e.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||u.call(e)!=a||i(e)||!(c.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,function(e,t){n=t},o),void 0===n||c.call(e,n))}},function(e,t){var n,r=function(e,t,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var c=a[n?s:++i];if(!1===t(o[c],c,o))break}return e};e.exports=r},function(e,t,n){var r=n(977),i=n(2014),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function c(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 u=e.constructor,l=-1,d="function"==typeof u&&u.prototype===e,f=Array(o),h=o>0;++l<o;)f[l]=l+"";for(var p in e)h&&c(p,o)||"constructor"==p&&(d||!a.call(e,p))||f.push(p);return f}},function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;function i(e){return!!e&&"object"==typeof e}var o,a,s,c=Object.prototype,u=Function.prototype.toString,l=c.hasOwnProperty,d=c.toString,f=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=(o=Array,a="isArray",function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&d.call(e)==n}(e)?f.test(u.call(e)):i(e)&&r.test(e))}(s=null==o?void 0:o[a])?s:void 0),p=9007199254740991;var m=h||function(e){return i(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}(e.length)&&"[object Array]"==d.call(e)};e.exports=m},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(236),i=n(448);e.exports=function(e){return i(e)&&r("chain",e)}},function(e,t,n){var r=n(558);e.exports=r(function(e,t){return{type:e,payload:t}})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.prototype.slice.call(e)}},function(e,t,n){var r=n(558);e.exports=r(function(e,t){return[t,e]})},function(e,t,n){var r=n(558);e.exports=r(function(e,t){return{type:e,payload:t,error:!0}})},function(e,t,n){var r=n(558);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}})},function(e,t){e.exports=function(e,t,n){return n&&console.error(t),e}},function(e,t){e.exports=function(e){return function(t,n,r){return r?t:e(t,n)}}},function(e,t,n){var r=n(2024),i=n(2026);e.exports=function(e){return i(e).map(r({type:"SIDE_EFFECT"}))}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(732);e.exports=r(n(2025))},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2027),i=n(2028),o=n(2031).type("IO"),a=n(2032),s=n(462),c=n(2033),u=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(!c(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(!c(l,e))throw new TypeError("IO.ap: IO required");return t(function(t){return e.map(t)})},of:u,chain:t}}l.of=u,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(978),i=n(462),o=n(2029),a=n(2030);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},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(732),i=n(978),o=n(462),a=n(2034);function s(e){return!!e&&o(e.type)}function c(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)||c(e)===c(t)})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){return null==e||Number.isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(236),i=n(696);e.exports=function(e){return i(e)&&r("bimap",e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!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]}t.default=e}(n(1));var r=s(n(2037)),i=s(n(2039)),o=s(n(0)),a=s(n(979));n(981);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=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)}var u=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,r.default)(e,t)})},l=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,i.default)(e,t)})},d=function(e){var t,n;function r(){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).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),u(e,r),t.props.onEnter&&t.props.onEnter(e)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e)},t.onEntered=function(e,n){var r=t.getClassNames("enter").doneClassName;t.removeClasses(e,n?"appear":"enter"),u(e,r),t.props.onEntered&&t.props.onEntered(e)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),u(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),u(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"!=typeof n?n[e]:n+"-"+e;return{className:r,activeClassName:"string"!=typeof n?n[e+"Active"]:r+"-active",doneClassName:"string"!=typeof n?n[e+"Done"]:r+"-done"}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&l(e,r),i&&l(e,i),o&&l(e,o)},i.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,u(e,t))},i.render=function(){var e=c({},this.props);return delete e.classNames,o.default.createElement(a.default,c({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);d.propTypes={};var f=d;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r,i=n(2038),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(1));var r=a(n(0)),i=n(103),o=a(n(982));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function a(){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).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(e,t,n){var o,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(o=s.props)[e].apply(o,n),this.props[e]&&this.props[e]((0,i.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,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,["children","in"]),a=r.default.Children.toArray(t),s=a[0],c=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var c=s;t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=i,t.mergeChildMappings=o,t.getInitialChildMapping=function(e,t){return i(e.children,function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})})},t.getNextChildMapping=function(e,t,n){var s=i(e.children),c=o(t,s);return Object.keys(c).forEach(function(i){var o=c[i];if((0,r.isValidElement)(o)){var u=i in t,l=i in s,d=t[i],f=(0,r.isValidElement)(d)&&!d.props.in;!l||u&&!f?l||!u||f?l&&u&&(0,r.isValidElement)(d)&&(c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:d.props.in,exit:a(o,"exit",e),enter:a(o,"enter",e)})):c[i]=(0,r.cloneElement)(o,{in:!1}):c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",e),enter:a(o,"enter",e)})}}),c};var r=n(0);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)}),n}function o(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 c in t){if(i[c])for(r=0;r<i[c].length;r++){var u=i[c][r];s[i[c][r]]=n(u)}s[c]=n(c)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){e.exports=n(2043)()},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2044);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(0),i=s(r),o=s(n(2046)),a=s(n(2047));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(s){if("function"!=typeof s)throw new Error("Expected WrappedComponent to be a React component.");var c=[],u=void 0;function l(){u=e(c.map(function(e){return e.props})),d.canUseDOM?t(u):n&&(u=n(u))}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,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.peek=function(){return u},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,c=[],e},t.prototype.shouldComponentUpdate=function(e){return!(0,a.default)(e,this.props)},t.prototype.componentWillMount=function(){c.push(this),l()},t.prototype.componentDidUpdate=function(){l()},t.prototype.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},t.prototype.render=function(){return i.default.createElement(s,this.props)},t}(r.Component);return d.displayName="SideEffect("+function(e){return e.displayName||e.name||"Component"}(s)+")",d.canUseDOM=o.default.canUseDOM,d}}},function(e,t,n){var r;
/*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/
/*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/
!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var u=o[c];if(!s(u))return!1;var l=e[u],d=t[u];if(!1===(i=n?n.call(r,l,d,u):void 0)||void 0===i&&l!==d)return!1}return!0}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(357),i=n(2052),o=n(984),a="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var u,l,d,f,h,p,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=u,r=l;return u=l=void 0,m=t,f=e.apply(r,n)}function _(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-m>=d}function w(){var e=i();if(_(e))return x(e);h=setTimeout(w,function(e){var n=t-(e-p);return g?c(n,d-(e-m)):n}(e))}function x(e){return h=void 0,y&&u?b(e):(u=l=void 0,f)}function k(){var e=i(),n=_(e);if(u=arguments,l=this,p=e,n){if(void 0===h)return function(e){return m=e,h=setTimeout(w,t),v?b(e):f}(p);if(g)return clearTimeout(h),h=setTimeout(w,t),b(p)}return void 0===h&&(h=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(v=!!n.leading,d=(g="maxWait"in n)?s(o(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==h&&clearTimeout(h),m=0,u=p=l=h=void 0},k.flush=function(){return void 0===h?f:x(i())},k}},function(e,t,n){var r=n(259);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(560),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}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2058);e.exports=r},function(e,t,n){n(288);var r=n(2059),i=n(287),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===o||e instanceof Array&&t===o.keys||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(2060);e.exports=r},function(e,t,n){n(439);var r=n(146);e.exports=r("Array").keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e={KEY_CANCEL:3,KEY_HELP:6,KEY_BACK_SPACE:8,KEY_TAB:9,KEY_CLEAR:12,KEY_RETURN:13,KEY_ENTER:14,KEY_SHIFT:16,KEY_CONTROL:17,KEY_ALT:18,KEY_PAUSE:19,KEY_CAPS_LOCK:20,KEY_ESCAPE:27,KEY_SPACE:32,KEY_PAGE_UP:33,KEY_PAGE_DOWN:34,KEY_END:35,KEY_HOME:36,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_PRINTSCREEN:44,KEY_INSERT:45,KEY_DELETE:46,KEY_0:48,KEY_1:49,KEY_2:50,KEY_3:51,KEY_4:52,KEY_5:53,KEY_6:54,KEY_7:55,KEY_8:56,KEY_9:57,KEY_SEMICOLON:59,KEY_EQUALS:61,KEY_A:65,KEY_B:66,KEY_C:67,KEY_D:68,KEY_E:69,KEY_F:70,KEY_G:71,KEY_H:72,KEY_I:73,KEY_J:74,KEY_K:75,KEY_L:76,KEY_M:77,KEY_N:78,KEY_O:79,KEY_P:80,KEY_Q:81,KEY_R:82,KEY_S:83,KEY_T:84,KEY_U:85,KEY_V:86,KEY_W:87,KEY_X:88,KEY_Y:89,KEY_Z:90,KEY_CONTEXT_MENU:93,KEY_NUMPAD0:96,KEY_NUMPAD1:97,KEY_NUMPAD2:98,KEY_NUMPAD3:99,KEY_NUMPAD4:100,KEY_NUMPAD5:101,KEY_NUMPAD6:102,KEY_NUMPAD7:103,KEY_NUMPAD8:104,KEY_NUMPAD9:105,KEY_MULTIPLY:106,KEY_ADD:107,KEY_SEPARATOR:108,KEY_SUBTRACT:109,KEY_DECIMAL:110,KEY_DIVIDE:111,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4:115,KEY_F5:116,KEY_F6:117,KEY_F7:118,KEY_F8:119,KEY_F9:120,KEY_F10:121,KEY_F11:122,KEY_F12:123,KEY_F13:124,KEY_F14:125,KEY_F15:126,KEY_F16:127,KEY_F17:128,KEY_F18:129,KEY_F19:130,KEY_F20:131,KEY_F21:132,KEY_F22:133,KEY_F23:134,KEY_F24:135,KEY_NUM_LOCK:144,KEY_SCROLL_LOCK:145,KEY_COMMA:188,KEY_PERIOD:190,KEY_SLASH:191,KEY_BACK_QUOTE:192,KEY_OPEN_BRACKET:219,KEY_BACK_SLASH:220,KEY_CLOSE_BRACKET:221,KEY_QUOTE:222,KEY_META:224};function t(){}return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}()},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(733));function o(e){return e&&e.__esModule?e:{default:e}}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}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,s=Array(o),c=0;c<o;c++)s[c]=arguments[c];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},a(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,r.default.Component),t}();t.default=(0,i.default)(s)},function(e,t,n){"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}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(735),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)})}}},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2067);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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(0)),o=a(n(733));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,(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,i.default.Component),r(t,[{key:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),t}();t.default=(0,o.default)(s)},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=c(n(0)),a=c(n(988)),s=c(n(562));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,(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,o.default.Component),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}();u.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(u)},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 c=n(0),u=(n(103),n(463),n(734)),l=n(561),d=n(562),f=n(987),h={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool},p={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||l,d=function(t){function l(e){o(this,l);var t=a(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return p.call(t),t.state={active:!1},t}return s(l,c.Component),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();u.isMounted(e)||u.mount(e),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.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 h)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,c.createElement(e,n)}}]),l}(),p=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(!f.isMounted()||f.isInitialized()){var i=e.props.to,o=null,a=0,s=0,c=0;if(r.getBoundingClientRect)c=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-c+t)+l.height}var d=t-e.props.offset,h=d>=Math.floor(a)&&d<Math.floor(s),p=d<Math.floor(a)||d>=Math.floor(s),m=n.getActiveLink();return p?(i===m&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===i&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):h&&m!==i?(n.setActiveLink(i),e.props.hashSpy&&f.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),u.updateStates()):void 0}}};return d.propTypes=h,d.defaultProps={offset:0},d},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,c.Component),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 c.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}();return t.propTypes={name:d.string,id:d.string},t}};e.exports=p},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){n(258),n(2075),n(179);e.exports=n(2078)()},function(e,t,n){e.exports=n(2076)},function(e,t,n){var r=n(2077);e.exports=r},function(e,t,n){n(714);var r=n(101);e.exports=r.Symbol.for},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2079);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2083),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},function(e,t,n){var r=n(2084),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(738),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);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(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(2086),i=n(564),o=n(739);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(2087),i=n(2092),o=n(2093),a=n(2094),s=n(2095);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(563);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(991),i=n(2089),o=n(357),a=n(992),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,f=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r,i=n(2090),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(259)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(563),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(563),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(563),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(565),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))}},function(e,t,n){var r=n(565);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(565);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(565);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}},function(e,t,n){var r=n(566);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(566);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(566);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(566);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}},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=u(n(0)),o=n(2107),a=u(n(2114)),s=u(n(2116)),c=n(569);function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,c.canUseDOM)()&&n(2117),d=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,c.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,c.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 c=[],u=null,l=0;l<a.length;l+=e.rows*e.slidesPerRow){for(var d=[],f=l;f<l+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var h=[],p=f;p<f+e.slidesPerRow&&(e.variableWidth&&a[p].props.style&&(u=a[p].props.style.width),!(p>=a.length));p+=1)h.push(i.default.cloneElement(a[p],{key:100*l+10*f+p,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*l+f},h))}e.variableWidth?c.push(i.default.createElement("div",{key:l,style:{width:u}},d)):c.push(i.default.createElement("div",{key:l},d))}if("unslick"===e){var m="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:m},c)}return c.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(o.InnerSlider,r({ref:this.innerSliderRefHandler},e),c)},t}(i.default.Component);t.default=d},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=m(n(0)),a=m(n(103)),s=m(n(2108)),c=m(n(2109)),u=m(n(2)),l=n(569),d=n(2110),f=n(2111),h=n(2112),p=m(n(2113));function m(e){return e&&e.__esModule?e:{default:e}}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 m=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 m.listRefHandler=function(e){return m.list=e},m.trackRefHandler=function(e){return m.track=e},m.adaptHeight=function(){if(m.props.adaptiveHeight&&m.list){var e=m.list.querySelector('[data-index="'+m.state.currentSlide+'"]');m.list.style.height=(0,l.getHeight)(e)+"px"}},m.componentWillMount=function(){if(m.ssrInit(),m.props.onInit&&m.props.onInit(),m.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},m.props,m.state));e.length>0&&(m.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),m.props.onLazyLoad&&m.props.onLazyLoad(e))}},m.componentDidMount=function(){var e=i({listRef:m.list,trackRef:m.track},m.props);m.updateState(e,!0,function(){m.adaptHeight(),m.props.autoplay&&m.autoPlay("update")}),"progressive"===m.props.lazyLoad&&(m.lazyLoadTimer=setInterval(m.progressiveLazyLoad,1e3)),m.ro=new p.default(function(){m.state.animating?(m.onWindowResized(!1),m.callbackTimers.push(setTimeout(function(){return m.onWindowResized()},m.props.speed))):m.onWindowResized()}),m.ro.observe(m.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=m.props.pauseOnFocus?m.onSlideFocus:null,e.onblur=m.props.pauseOnFocus?m.onSlideBlur:null}),window&&(window.addEventListener?window.addEventListener("resize",m.onWindowResized):window.attachEvent("onresize",m.onWindowResized))},m.componentWillUnmount=function(){m.animationEndCallback&&clearTimeout(m.animationEndCallback),m.lazyLoadTimer&&clearInterval(m.lazyLoadTimer),m.callbackTimers.length&&(m.callbackTimers.forEach(function(e){return clearTimeout(e)}),m.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",m.onWindowResized):window.detachEvent("onresize",m.onWindowResized),m.autoplayTimer&&clearInterval(m.autoplayTimer)},m.componentWillReceiveProps=function(e){var t=i({listRef:m.list,trackRef:m.track},e,m.state),n=!1,a=Object.keys(m.props),s=Array.isArray(a),c=0;for(a=s?a:a[Symbol.iterator]();;){var u;if(s){if(c>=a.length)break;u=a[c++]}else{if((c=a.next()).done)break;u=c.value}var l=u;if(!e.hasOwnProperty(l)){n=!0;break}if("object"!==r(e[l])&&"function"!=typeof e[l]&&e[l]!==m.props[l]){n=!0;break}}m.updateState(t,n,function(){m.state.currentSlide>=o.default.Children.count(e.children)&&m.changeSlide({message:"index",index:o.default.Children.count(e.children)-e.slidesToShow,currentSlide:m.state.currentSlide}),e.autoplay?m.autoPlay("update"):m.pause("paused")})},m.componentDidUpdate=function(){if(m.checkImagesLoad(),m.props.onReInit&&m.props.onReInit(),m.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(i({},m.props,m.state));e.length>0&&(m.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),m.props.onLazyLoad&&m.props.onLazyLoad(e))}m.adaptHeight()},m.onWindowResized=function(e){m.debouncedResize&&m.debouncedResize.cancel(),m.debouncedResize=(0,c.default)(function(){return m.resizeWindow(e)},50),m.debouncedResize()},m.resizeWindow=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(a.default.findDOMNode(m.track)){var t=i({listRef:m.list,trackRef:m.track},m.props,m.state);m.updateState(t,e,function(){m.props.autoplay?m.autoPlay("update"):m.pause("paused")}),m.setState({animating:!1}),clearTimeout(m.animationEndCallback),delete m.animationEndCallback}},m.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(m.props.children)!==o.default.Children.count(e.children))&&(r.trackStyle=s),m.setState(r,n)},m.ssrInit=function(){if(m.props.variableWidth){var e=0,t=0,n=[],r=(0,l.getPreClones)(i({},m.props,m.state,{slideCount:m.props.children.length})),a=(0,l.getPostClones)(i({},m.props,m.state,{slideCount:m.props.children.length}));m.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 c=0;c<a;c++)e+=n[c];for(var u=0;u<m.state.currentSlide;u++)t+=n[u];var d={width:e+"px",left:-t+"px"};if(m.props.centerMode){var f=n[m.state.currentSlide]+"px";d.left="calc("+d.left+" + (100% - "+f+") / 2 ) "}m.setState({trackStyle:d})}else{var h=o.default.Children.count(m.props.children),p=i({},m.props,m.state,{slideCount:h}),v=(0,l.getPreClones)(p)+(0,l.getPostClones)(p)+h,g=100/m.props.slidesToShow*v,y=100/v,b=-y*((0,l.getPreClones)(p)+m.state.currentSlide)*g/100;m.props.centerMode&&(b+=(100-y*g/100)/2);var _={width:g+"%",left:b+"%"};m.setState({slideWidth:y+"%",trackStyle:_})}},m.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&&m.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||(m.props.lazyLoad?e.onload=function(){m.adaptHeight(),m.callbackTimers.push(setTimeout(m.onWindowResized,m.props.speed))}:(e.onload=r,e.onerror=function(){r(),m.props.onLazyLoadError&&m.props.onLazyLoadError()}))})},m.progressiveLazyLoad=function(){for(var e=[],t=i({},m.props,m.state),n=m.state.currentSlide;n<m.state.slideCount+(0,l.getPostClones)(t);n++)if(m.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=m.state.currentSlide-1;r>=-(0,l.getPreClones)(t);r--)if(m.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(m.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),m.props.onLazyLoad&&m.props.onLazyLoad(e)):m.lazyLoadTimer&&(clearInterval(m.lazyLoadTimer),delete m.lazyLoadTimer)},m.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=m.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,c=n.afterChange,u=m.state.currentSlide,d=(0,l.slideHandler)(i({index:e},m.props,m.state,{trackRef:m.track,useCSS:m.props.useCSS&&!t})),f=d.state,h=d.nextState;if(f){o&&o(u,f.currentSlide);var p=f.lazyLoadedList.filter(function(e){return m.state.lazyLoadedList.indexOf(e)<0});a&&p.length>0&&a(p),m.setState(f,function(){r&&r.innerSlider.state.currentSlide!==u&&r.innerSlider.slideHandler(e),h&&(m.animationEndCallback=setTimeout(function(){var e=h.animating,t=function(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}(h,["animating"]);m.setState(t,function(){m.callbackTimers.push(setTimeout(function(){return m.setState({animating:e})},10)),c&&c(f.currentSlide),delete m.animationEndCallback})},s))})}},m.changeSlide=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i({},m.props,m.state),r=(0,l.changeSlide)(n,e);(0===r||r)&&(!0===t?m.slideHandler(r,t):m.slideHandler(r))},m.clickHandler=function(e){!1===m.clickable&&(e.stopPropagation(),e.preventDefault()),m.clickable=!0},m.keyHandler=function(e){var t=(0,l.keyHandler)(e,m.props.accessibility,m.props.rtl);""!==t&&m.changeSlide({message:t})},m.selectHandler=function(e){m.changeSlide(e)},m.disableBodyScroll=function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}},m.enableBodyScroll=function(){window.ontouchmove=null},m.swipeStart=function(e){m.props.verticalSwiping&&m.disableBodyScroll();var t=(0,l.swipeStart)(e,m.props.swipe,m.props.draggable);""!==t&&m.setState(t)},m.swipeMove=function(e){var t=(0,l.swipeMove)(e,i({},m.props,m.state,{trackRef:m.track,listRef:m.list,slideIndex:m.state.currentSlide}));t&&(t.swiping&&(m.clickable=!1),m.setState(t))},m.swipeEnd=function(e){var t=(0,l.swipeEnd)(e,i({},m.props,m.state,{trackRef:m.track,listRef:m.list,slideIndex:m.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,m.setState(t),void 0!==n&&(m.slideHandler(n),m.props.verticalSwiping&&m.enableBodyScroll())}},m.slickPrev=function(){m.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"previous"})},0))},m.slickNext=function(){m.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"next"})},0))},m.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";m.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"index",index:e,currentSlide:m.state.currentSlide},t)},0))},m.play=function(){var e;if(m.props.rtl)e=m.state.currentSlide-m.props.slidesToScroll;else{if(!(0,l.canGoNext)(i({},m.props,m.state)))return!1;e=m.state.currentSlide+m.props.slidesToScroll}m.slideHandler(e)},m.autoPlay=function(e){m.autoplayTimer&&clearInterval(m.autoplayTimer);var t=m.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;m.autoplayTimer=setInterval(m.play,m.props.autoplaySpeed+50),m.setState({autoplaying:"playing"})},m.pause=function(e){m.autoplayTimer&&(clearInterval(m.autoplayTimer),m.autoplayTimer=null);var t=m.state.autoplaying;"paused"===e?m.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||m.setState({autoplaying:"focused"}):"playing"===t&&m.setState({autoplaying:"hovered"})},m.onDotsOver=function(){return m.props.autoplay&&m.pause("hovered")},m.onDotsLeave=function(){return m.props.autoplay&&"hovered"===m.state.autoplaying&&m.autoPlay("leave")},m.onTrackOver=function(){return m.props.autoplay&&m.pause("hovered")},m.onTrackLeave=function(){return m.props.autoplay&&"hovered"===m.state.autoplaying&&m.autoPlay("leave")},m.onSlideFocus=function(){return m.props.autoplay&&m.pause("focused")},m.onSlideBlur=function(){return m.props.autoplay&&"focused"===m.state.autoplaying&&m.autoPlay("blur")},m.render=function(){var e,t,n,r=(0,u.default)("slick-slider",m.props.className,{"slick-vertical":m.props.vertical,"slick-initialized":!0}),a=i({},m.props,m.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"]),c=m.props.pauseOnHover;if(s=i({},s,{onMouseEnter:c?m.onTrackOver:null,onMouseLeave:c?m.onTrackLeave:null,onMouseOver:c?m.onTrackOver:null,focusOnSelect:m.props.focusOnSelect?m.selectHandler:null}),!0===m.props.dots&&m.state.slideCount>=m.props.slidesToShow){var p=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=m.props.pauseOnDotsHover;p=i({},p,{clickHandler:m.changeSlide,onMouseEnter:v?m.onDotsLeave:null,onMouseOver:v?m.onDotsOver:null,onMouseLeave:v?m.onDotsLeave:null}),e=o.default.createElement(f.Dots,p)}var g=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=m.changeSlide,m.props.arrows&&(t=o.default.createElement(h.PrevArrow,g),n=o.default.createElement(h.NextArrow,g));var y=null;m.props.vertical&&(y={height:m.state.listHeight});var b=null;!1===m.props.vertical?!0===m.props.centerMode&&(b={padding:"0px "+m.props.centerPadding}):!0===m.props.centerMode&&(b={padding:m.props.centerPadding+" 0px"});var _=i({},y,b),w=m.props.touchMove,x={className:"slick-list",style:_,onClick:m.clickHandler,onMouseDown:w?m.swipeStart:null,onMouseMove:m.state.dragging&&w?m.swipeMove:null,onMouseUp:w?m.swipeEnd:null,onMouseLeave:m.state.dragging&&w?m.swipeEnd:null,onTouchStart:w?m.swipeStart:null,onTouchMove:m.state.dragging&&w?m.swipeMove:null,onTouchEnd:w?m.swipeEnd:null,onTouchCancel:m.state.dragging&&w?m.swipeEnd:null,onKeyDown:m.props.accessibility?m.keyHandler:null},k={className:r,dir:"ltr"};return m.props.unslick&&(x={className:"slick-list"},k={className:r}),o.default.createElement("div",k,m.props.unslick?"":t,o.default.createElement("div",i({ref:m.listRefHandler},x),o.default.createElement(d.Track,i({ref:m.trackRefHandler},s),m.props.children)),m.props.unslick?"":n,m.props.unslick?"":e)},m.list=null,m.track=null,m.state=i({},s.default,{currentSlide:m.props.initialSlide,slideCount:o.default.Children.count(m.props.children)}),m.callbackTimers=[],m.clickable=!0,m.debouncedResize=null,m}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)},function(e,t,n){"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}},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return r;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(o,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i,o,a,s,c,u,l=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function w(){var e=v();if(_(e))return x(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function x(e){return c=void 0,h&&i?b(e):(i=o=void 0,s)}function k(){var e=v(),n=_(e);if(i=arguments,o=this,u=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(w,t),d?b(e):s}(u);if(f)return c=setTimeout(w,t),b(u)}return void 0===c&&(c=setTimeout(w,t)),s}return t=y(t)||0,g(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(y(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:x(v())},k}}).call(this,n(100))},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(0)),o=s(n(2)),a=n(569);function s(e){return e&&e.__esModule?e:{default:e}}var c=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}},u=function(e,t){return e.key||t},l=function(e){var t,n=[],s=[],l=[],d=i.default.Children.count(e.children),f=(0,a.lazyStartIndex)(e),h=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,function(p,m){var v=void 0,g={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};v=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?p:i.default.createElement("div",null);var y=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:m})),b=v.props.className||"",_=c(r({},e,{index:m}));if(n.push(i.default.cloneElement(v,{key:"original"+u(v,m),"data-index":m,className:(0,o.default)(_,b),tabIndex:"-1","aria-hidden":!_["slick-active"],style:r({outline:"none"},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&!1===e.fade){var w=d-m;w<=(0,a.getPreClones)(e)&&d!==e.slidesToShow&&((t=-w)>=f&&(v=p),_=c(r({},e,{index:t})),s.push(i.default.cloneElement(v,{key:"precloned"+u(v,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}}))),d!==e.slidesToShow&&((t=d+m)<h&&(v=p),_=c(r({},e,{index:t})),l.push(i.default.cloneElement(v,{key:"postcloned"+u(v,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})))}}),e.rtl?s.concat(n,l).reverse():s.concat(n,l)};t.Track=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,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=l(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)},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(0)),o=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}t.Dots=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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,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},c=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}),c={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},u=t.clickHandler.bind(t,c);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:u}))});return i.default.cloneElement(this.props.appendDots(c),r({className:this.props.dotsClass},s))},t}(i.default.PureComponent)},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(0)),o=s(n(2)),a=n(569);function s(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 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 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 c(this,t),u(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 c(this,t),u(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)},function(e,t,n){"use strict";n.r(t),function(e){var n=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}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=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 s(){n&&(n=!1,e()),r&&u()}function c(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return u}(this.refresh.bind(this),20)};u.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},u.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},u.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},u.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(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)},u.prototype.disconnect_=function(){r&&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)},u.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.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},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=y(0,0,0,0);function h(e){return parseFloat(e)||0}function p(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+h(e["border-"+n+"-width"])},0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(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]=h(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=p(r,"left","right")+o),Math.round(c+a)!==n&&(c-=p(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var u=Math.round(s+o)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return y(i.left,i.top,s,c)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):f}function y(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_=y(0,0,0,0),this.target=e};b.prototype.isActive=function(){var e=g(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,c,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),l(c,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),c);l(this,{target:e,contentRect:u})},w=function(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r};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 d(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 d(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 x="undefined"!=typeof WeakMap?new WeakMap:new n,k=function(e){if(!(this instanceof k))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=u.getInstance(),n=new w(e,t,this);x.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){return(t=x.get(this))[e].apply(t,arguments);var t}});var E=void 0!==i.ResizeObserver?i.ResizeObserver:k;t.default=E}.call(this,n(100))},function(e,t,n){var r=n(2115),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)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(0),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},function(e,t,n){var r=n(2118);e.exports=new r},function(e,t,n){var r=n(2119),i=n(996),o=i.each,a=i.isFunction,s=i.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,n){var i=this.queries,c=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,c)),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=c},function(e,t,n){var r=n(2120),i=n(996).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},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,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=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2125);e.exports=r},function(e,t,n){var r=n(2126),i=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===i||e instanceof String&&t===i.padStart?r:t}},function(e,t,n){n(2127);var r=n(146);e.exports=r("String").padStart},function(e,t,n){"use strict";var r=n(41),i=n(2128).start;r({target:"String",proto:!0,forced:n(2130)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(235),i=n(2129),o=n(284),a=Math.ceil,s=function(e){return function(t,n,s){var c,u,l=String(o(t)),d=l.length,f=void 0===s?" ":String(s),h=r(n);return h<=d||""==f?l:(c=h-d,(u=i.call(f,a(c/f.length))).length>c&&(u=u.slice(0,c)),e?l+u:u+l)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(529),i=n(284);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}},function(e,t,n){var r=n(532);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(2132);e.exports=r},function(e,t,n){n(2133);var r=n(101);e.exports=r.Number.isNaN},function(e,t,n){n(41)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";function r(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")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^#/,""),t=e.length;return 3===t||4===t?function(e){return r(e).map(function(e){return e+e}).join("")}(e):e};t.default=i},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2138);e.exports=r},function(e,t,n){var r=n(2139),i=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===i||e instanceof String&&t===i.endsWith?r:t}},function(e,t,n){n(2140);var r=n(146);e.exports=r("String").endsWith},function(e,t,n){"use strict";var r,i=n(41),o=n(349).f,a=n(235),s=n(690),c=n(284),u=n(691),l=n(118),d="".endsWith,f=Math.min,h=u("endsWith");i({target:"String",proto:!0,forced:!!(l||h||(r=o(String.prototype,"endsWith"),!r||r.writable))&&!h},{endsWith:function(e){var t=String(c(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),i=void 0===n?r:f(a(n),r),o=String(e);return d?d.call(t,o,i):t.slice(i-o.length,i)===o}})},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=36,l=1,d=26,f=38,h=700,p=72,m=128,v="-",g=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-l,x=Math.floor,k=String.fromCharCode;function E(e){throw new RangeError(_[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function T(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((e=e.replace(b,".")).split("."),t).join(".")}function C(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 O(e){return S(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function A(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function j(e,t,n){var r=0;for(e=n?x(e/h):e>>1,e+=x(e/t);e>w*d>>1;r+=u)e=x(e/w);return x(r+(w+1)*e/(e+f))}function N(e){var t,n,r,i,o,a,s,f,h,g,y,b=[],_=e.length,w=0,k=m,S=p;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(o=w,a=1,s=u;i>=_&&E("invalid-input"),((f=(y=e.charCodeAt(i++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:u)>=u||f>x((c-w)/a))&&E("overflow"),w+=f*a,!(f<(h=s<=S?l:s>=S+d?d:s-S));s+=u)a>x(c/(g=u-h))&&E("overflow"),a*=g;S=j(w-o,t=b.length+1,0==o),x(w/t)>c-k&&E("overflow"),k+=x(w/t),w%=t,b.splice(w++,0,k)}return O(b)}function M(e){var t,n,r,i,o,a,s,f,h,g,y,b,_,w,S,T=[];for(b=(e=C(e)).length,t=m,n=0,o=p,a=0;a<b;++a)(y=e[a])<128&&T.push(k(y));for(r=i=T.length,i&&T.push(v);r<b;){for(s=c,a=0;a<b;++a)(y=e[a])>=t&&y<s&&(s=y);for(s-t>x((c-n)/(_=r+1))&&E("overflow"),n+=(s-t)*_,t=s,a=0;a<b;++a)if((y=e[a])<t&&++n>c&&E("overflow"),y==t){for(f=n,h=u;!(f<(g=h<=o?l:h>=o+d?d:h-o));h+=u)S=f-g,w=u-g,T.push(k(A(g+S%w,0))),f=x(S/w);T.push(k(A(f,0))),o=j(n,_,r==i),n=0,++r}++n,++t}return T.join("")}s={version:"1.4.1",ucs2:{decode:C,encode:O},decode:N,encode:M,toASCII:function(e){return T(e,function(e){return y.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return T(e,function(e){return g.test(e)?N(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(289)(e),n(100))},function(e,t,n){"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}}},function(e,t,n){"use strict";t.decode=t.parse=n(2147),t.encode=t.stringify=n(2148)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var d,f,h,p,m=e[l].replace(s,"%20"),v=m.indexOf(n);v>=0?(d=m.substr(0,v),f=m.substr(v+1)):(d=m,f=""),h=decodeURIComponent(d),p=decodeURIComponent(f),r(a,h)?i(a[h])?a[h].push(p):a[h]=[a[h],p]:a[h]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=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,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(a(e),function(a){var s=encodeURIComponent(r(a))+n;return i(e[a])?o(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){var r=n(461)(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r});e.exports=r},function(e,t,n){var r=n(188),i=n(971),o=n(379),a=n(975),s=n(2151),c=n(727),u=r(function(e,t){return o(c(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=u},function(e,t,n){var r=n(188),i=n(557),o=n(997),a=r(function(e,t){return i(o(e),t)});e.exports=a},function(e,t,n){var r=n(188)(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},function(e,t,n){var r=n(188)(function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n});e.exports=r},function(e,t,n){var r=n(188)(function(e,t){return e in t});e.exports=r},function(e,t,n){var r=n(188),i=n(379),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},function(e,t,n){var r=n(461)(function(e,t,n){return e(n)?t(n):n});e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(319),i=function(e){return function(t,n){return t.concat(e(n))}};e.exports=function(e,t,n){return n.reduce(i(r(e,t)),e.empty())}},function(e,t,n){},function(e,t){},function(e,t,n){var r=n(2161),i=n(71);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(e){var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},function(e,t,n){var r=n(2166),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 c(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],a[1])}}function u(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 u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=i(),u(),"--\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),u(),t.endTime=i(),u(),function(e,t){var r=new s;c(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("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},f={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)"},h={v:"title",lang:"lang"},p={rt:"ruby"};function m(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!p[t.localName]||p[t.localName]===e.localName}function i(t,n){var r=d[t];if(!r)return null;var i=e.document.createElement(r),o=h[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,c=e.document.createElement("div"),u=c,m=[];null!==(o=n());)if("<"!==o[0])u.appendChild(e.document.createTextNode((s=o,l.innerHTML=s,s=l.textContent,l.textContent="",s)));else{if("/"===o[1]){m.length&&m[m.length-1]===o.substr(2).replace(">","")&&(m.pop(),u=u.parentNode);continue}var v,g=a(o.substr(1,o.length-2));if(g){v=e.document.createProcessingInstruction("timestamp",g),u.appendChild(v);continue}var y=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(v=i(y[1],y[3])))continue;if(!r(u,v))continue;if(y[2]){var b=y[2].split(".");b.forEach(function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(f.hasOwnProperty(n)){var r=t?"background-color":"color",i=f[n];v.style[r]=i}}),v.className=b.join(" ")}m.push(y[1]),u.appendChild(v),u=v}return c}var v=[[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 g(e){for(var t=0;t<v.length;t++){var n=v[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function y(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(g(n.charCodeAt(o)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=m(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:y(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 x(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 c;switch(o.vertical){case"":s=["+y","-y"],c="height";break;case"rl":s=["+x","-x"],c="width";break;case"lr":s=["-x","+x"],c="width"}var u=i.lineHeight,l=u*Math.round(a),d=n[c]+u,f=s[0];Math.abs(l)>d&&(l=l<0?-1:1,l*=Math.ceil(d/u)*u),a<0&&(l+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(f,l)}else{var h=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=h/2;break;case"end":a-=h}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 p=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 c=e.intersectPercentage(n);a>c&&(i=new w(e),a=c),e=new w(o)}return i||o}(i,s);t.move(p.toCSSCompatValues(n))}function k(){}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}},k.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},k.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};k.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,c=0;c<t.length;c++)s=t[c],n=new _(e,s,a),r.appendChild(n.div),x(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)},k.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=[]},k.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/)?c(e,function(e,n){switch(e){case"X-TIMESTAMP-MAP":r=n,i=new s,c(r,function(e,t){switch(e){case"MPEGT":i.integer(e+"S",t);break;case"LOCA":i.set(e+"L",a(t))}},/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")})}var r,i},/=/):c(e,function(e,n){switch(e){case"Region":!function(e){var n=new s;if(c(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 d=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(d?d=!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{u(i,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var f=-1!==i.indexOf("--\x3e");if(!i||f&&(d=!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(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new o(o.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=k},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(2167);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(100))},function(e,t){},function(e,t){var n="auto",r={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function o(e){return"string"==typeof e&&(!!i[e.toLowerCase()]&&e.toLowerCase())}function a(e,t,i){this.hasBeenReset=!1;var a="",s=!1,c=e,u=t,l=i,d=null,f="",h=!0,p="auto",m="start",v="auto",g="auto",y=100,b="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(e){s=!!e}},startTime:{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");c=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 l},set:function(e){l=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return d},set:function(e){d=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return f},set:function(e){var t=function(e){return"string"==typeof e&&!!r[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");f=t,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return h},set:function(e){h=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&e!==n)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return m},set:function(e){var t=o(e);t?(m=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return v},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");v=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=o(e);t?(g=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 b},set:function(e){var t=o(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");b=t,this.hasBeenReset=!0}}}),this.displayState=void 0}a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=a},function(e,t){var n={"":!0,up:!0};function r(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,t=3,i=0,o=100,a=0,s=100,c="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return c},set:function(e){var t=function(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}(e);!1===t?console.warn("Scroll: an invalid or illegal string was specified."):c=t}}})}},function(e,t){e.exports=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}}},function(e,t,n){var r,i,o,a,s;r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#.*)?$/,i=/^([^\/?#]*)(.*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=s.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=s.normalizePath(o.path),s.buildURLFromParts(o)):t;var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var c=i.exec(a.path);a.netLoc=c[1],a.path=c[2]}a.netLoc&&!a.path&&(a.path="/");var u={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var l=a.path,d=l.substring(0,l.lastIndexOf("/")+1)+o.path;u.path=s.normalizePath(d)}else u.path=a.path,o.params||(u.params=a.params,o.query||(u.query=a.query));return null===u.path&&(u.path=n.alwaysNormalize?s.normalizePath(o.path):o.path),s.buildURLFromParts(u)},parseURL:function(e){var t=r.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(o,"");e.length!==(e=e.replace(a,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s},function(e,t){var n=/[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]/,r=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+n.source+r.source+"*(?::"+n.source+r.source+"*)?$"),o=0,a=1,s=2,c=3,u=4,l=5,d=6,f=7;function h(){}function p(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function m(e,t,n,r,i,h){for(var p,m=++t,v=o;;){var g=e.charAt(m);switch(g){case"=":if(v===a)p=e.slice(t,m),v=c;else{if(v!==s)throw new Error("attribute equal must after attrName");v=c}break;case"'":case'"':if(v===c||v===a){if(v===a&&(h.warning('attribute value must after "="'),p=e.slice(t,m)),t=m+1,!((m=e.indexOf(g,t))>0))throw new Error("attribute value no end '"+g+"' match");y=e.slice(t,m).replace(/&#?\w+;/g,i),n.add(p,y,t-1),v=l}else{if(v!=u)throw new Error('attribute value must after "="');y=e.slice(t,m).replace(/&#?\w+;/g,i),n.add(p,y,t),h.warning('attribute "'+p+'" missed start quot('+g+")!!"),t=m+1,v=l}break;case"/":switch(v){case o:n.setTagName(e.slice(t,m));case l:case d:case f:v=f,n.closed=!0;case u:case a:case s:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return h.error("unexpected end of input"),v==o&&n.setTagName(e.slice(t,m)),m;case">":switch(v){case o:n.setTagName(e.slice(t,m));case l:case d:case f:break;case u:case a:"/"===(y=e.slice(t,m)).slice(-1)&&(n.closed=!0,y=y.slice(0,-1));case s:v===s&&(y=p),v==u?(h.warning('attribute "'+y+'" missed quot(")!!'),n.add(p,y.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===r[""]&&y.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),n.add(y,y,t));break;case c:throw new Error("attribute value missed!!")}return m;case"":g=" ";default:if(g<=" ")switch(v){case o:n.setTagName(e.slice(t,m)),v=d;break;case a:p=e.slice(t,m),v=s;break;case u:var y=e.slice(t,m).replace(/&#?\w+;/g,i);h.warning('attribute "'+y+'" missed quot(")!!'),n.add(p,y,t);case l:v=d}else switch(v){case s:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&p.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+p+'" missed value!! "'+p+'" instead2!!'),n.add(p,p,t),t=m,v=a;break;case l:h.warning('attribute space is required"'+p+'"!!');case d:v=a,t=m;break;case c:v=u,t=m;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function v(e,t,n){for(var r=e.tagName,i=null,o=e.length;o--;){var a=e[o],s=a.qName,c=a.value;if((f=s.indexOf(":"))>0)var u=a.prefix=s.slice(0,f),l=s.slice(f+1),d="xmlns"===u&&l;else l=s,u=null,d="xmlns"===s&&"";a.localName=l,!1!==d&&(null==i&&(i={},b(n,n={})),n[d]=i[d]=c,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,c))}for(o=e.length;o--;){(u=(a=e[o]).prefix)&&("xml"===u&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==u&&(a.uri=n[u||""]))}var f;(f=r.indexOf(":"))>0?(u=e.prefix=r.slice(0,f),l=e.localName=r.slice(f+1)):(u=null,l=e.localName=r);var h=e.uri=n[u||""];if(t.startElement(h,l,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(h,l,r),i)for(u in i)t.endPrefixMapping(u)}function g(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 y(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 b(e,t){for(var n in e)t[n]=e[n]}function _(e,t,n,r){switch(e.charAt(t+2)){case"-":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;default: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],c=a>3&&/^public$/i.test(o[2][0])&&o[3][0],u=a>4&&o[4][0],l=o[a-1];return n.startDTD(s,c&&c.replace(/^(['"])(.*?)\1$/,"$2"),u&&u.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),l.index+l[0].length}}return-1}function w(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 x(e){}function k(e,t){return e.__proto__=t,e}h.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),b(t,t={}),function(e,t,n,r,i){function o(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function a(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,o);d&&s(b),r.characters(n,0,t-b),b=t}}function s(t,n){for(;t>=u&&(n=l.exec(e));)c=n.index,u=c+n[0].length,d.lineNumber++;d.columnNumber=t-c+1}var c=0,u=0,l=/.*(?:\r\n?|\n)|.*$/g,d=r.locator,f=[{currentNSMap:t}],h={},b=0;for(;;){try{var k=e.indexOf("<",b);if(k<0){if(!e.substr(b).match(/^\s*$/)){var E=r.doc,S=E.createTextNode(e.substr(b));E.appendChild(S),r.currentElement=S}return}switch(k>b&&a(k),e.charAt(k+1)){case"/":var T=e.indexOf(">",k+3),C=e.substring(k+2,T),O=f.pop();T<0?(C=e.substring(k+2).replace(/[\s<].*/,""),i.error("end tag name: "+C+" is not complete:"+O.tagName),T=k+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),i.error("end tag name: "+C+" maybe not complete"),T=k+1+C.length);var A=O.localNSMap,j=O.tagName==C,N=j||O.tagName&&O.tagName.toLowerCase()==C.toLowerCase();if(N){if(r.endElement(O.uri,O.localName,C),A)for(var M in A)r.endPrefixMapping(M);j||i.fatalError("end tag name: "+C+" is not match the current start tagName:"+O.tagName)}else f.push(O);T++;break;case"?":d&&s(k),T=w(e,k,r);break;case"!":d&&s(k),T=_(e,k,r,i);break;default:d&&s(k);var P=new x,I=f[f.length-1].currentNSMap,T=m(e,k,P,I,o,i),L=P.length;if(!P.closed&&y(e,T,P.tagName,h)&&(P.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),d&&L){for(var D=p(d,{}),R=0;R<L;R++){var F=P[R];s(F.offset),F.locator=p(d,{})}r.locator=D,v(P,r,I)&&f.push(P),r.locator=d}else v(P,r,I)&&f.push(P);"http://www.w3.org/1999/xhtml"!==P.uri||P.closed?T++:T=g(e,T,P.tagName,o,r)}}catch(e){i.error("element parse error: "+e),T=-1}T>b?b=T:a(Math.max(k,b)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},x.prototype={setTagName:function(e){if(!i.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},add:function(e,t,n){if(!i.test(e))throw new Error("invalid attribute:"+e);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}},k({},k.prototype)instanceof k||(k=function(e,t){function n(){}for(t in n.prototype=t,n=new n,e)n[t]=e[t];return n}),t.XMLReader=h},function(e,t,n){"use strict";var r=n(1002),i=n(1001),o=function(){o.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new l(0,0),new l(0,1),new l(1,0),new l(1,1)],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)};o.prototype=new r,o.prototype.push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=i.parseSei(e.escapedRBSP)).payloadType===i.USER_DATA_REGISTERED_ITU_T_T35&&(n=i.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=i.parseCaptionPackets(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},o.prototype.flushCCStreams=function(e){this.ccStreams_.forEach(function(t){return"flush"===e?t.flush():t.partialFlush()},this)},o.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),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},o.prototype.flush=function(){return this.flushStream("flush")},o.prototype.partialFlush=function(){return this.flushStream("partialFlush")},o.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(e){e.reset()})},o.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)},o.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},o.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},o.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)};var a={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},s=function(e){return null===e?"":(e=a[e]||e,String.fromCharCode(e))},c=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],u=function(){for(var e=[],t=15;t--;)e.push("");return e},l=function(e,t){l.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_=u();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=u();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=u()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=s((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=s((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=c.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=s(r),o+=s(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};l.prototype=new r,l.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}}).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},l.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=u(),this.nonDisplayed_=u(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},l.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_},l.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},l.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},l.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},l.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},l.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},l.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},l.prototype.isNormalChar=function(e){return e>=32&&e<=127},l.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=u(),this.displayed_=u()),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},l.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)},l.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)}},l.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},l.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},l.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_]=""},l.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},e.exports={CaptionStream:o,Cea608Stream:l}},function(e,t,n){"use strict";var r=n(1002),i=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},o=function(e){var t,n;o.prototype.init.call(this),this.type_=e||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=i(e.dts,n),e.pts=i(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")}};o.prototype=new r,e.exports={TimestampRolloverStream:o,handleRollover:i}},function(e,t,n){"use strict";var r=n(1003),i=function(e){var t=31&e[1];return t<<=8,t|=e[2]},o=function(e){return!!(64&e[1])},a=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},s=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}};e.exports={parseType:function(e,t){var n=i(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=o(e),n=4+a(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=o(e),r=4+a(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 s=12+((15&e[r+10])<<8|e[r+11]);s<i;){var c=r+s;t[(31&e[c+1])<<8|e[c+2]]=e[c],s+=5+((15&e[c+3])<<8|e[c+4])}return t}},parsePayloadUnitStartIndicator:o,parsePesType:function(e,t){switch(t[i(e)]){case r.H264_STREAM_TYPE:return"video";case r.ADTS_STREAM_TYPE:return"audio";case r.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!o(e))return null;var t=4+a(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+a(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"===s(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"===s(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"===s(31&n[i+3])&&(o=!0),o}}},function(e,t,n){"use strict";var r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]};e.exports={isLikelyAacData:function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},parseId3TagSize:function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},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 r[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=i(e.subarray(10,14)));do{if((n=i(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 o=0;o<r.byteLength;o++)if(0===r[o]){if("com.apple.streaming.transportStreamTimestamp"===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,o))){var a=r.subarray(o+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}}},function(e,t){var n,r,i,o,a,s,c;n=function(e){return 9e4*e},r=function(e,t){return e*t},i=function(e){return e/9e4},o=function(e,t){return e/t},a=function(e,t){return n(o(e,t))},s=function(e,t){return r(i(e),t)},c=function(e,t,n){return i(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:n,secondsToAudioTs:r,videoTsToSeconds:i,audioTsToSeconds:o,audioTsToVideoTs:a,videoTsToAudioTs:s,metadataTsToSeconds:c}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports=function(){var e=["navigation","request","process","log","user","state","error","manual"],t=function(e,t,n){for(var r=n,i=0,o=e.length;i<o;i++)r=t(r,e[i],i,e);return r},n=function(e,n){return t(e,function(e,t,r,i){return n(t,r,i)?e.concat(t):e},[])},r=function(e,n){return t(e,function(e,t,r,i){return!0===e||t===n},!1)},i=function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=!{toString:null}.propertyIsEnumerable("toString"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!o)return n;for(var r=0,i=a.length;r<i;r++)Object.prototype.hasOwnProperty.call(e,a[r])&&n.push(a[r]);return n},c=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},u=function(e){return"function"==typeof e||i(e)&&n(e,function(e){return"function"==typeof e}).length===e.length},l=function(e){return"string"==typeof e&&!!e.length},d={};d.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:l},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||l(e)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||l(e)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledErrorTypes:{defaultValue:function(){return{unhandledExceptions:!0,unhandledRejections:!0}},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(e){if("object"!=typeof e||!e)return!1;var t=s(e),i=s({unhandledExceptions:!0,unhandledRejections:!0});return!(n(t,function(e){return r(i,e)}).length<t.length||n(s(e),function(t){return"boolean"!=typeof e[t]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(e){return e&&"object"==typeof e&&l(e.notify)&&l(e.sessions)&&0===n(s(e),function(e){return!r(["notify","sessions"],e)}).length}},autoTrackSessions:{defaultValue:function(e){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||i(e)&&n(e,function(e){return"string"==typeof e}).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"==typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number ≤100",validate:function(e){return c(0,100)(e)}},enabledBreadcrumbTypes:{defaultValue:function(){return e},message:"should be null or a list of available breadcrumb types ("+e.join(",")+")",validate:function(n){return null===n||i(n)&&t(n,function(t,n){return!1===t?t:r(e,n)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||"string"==typeof e}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(e){return null===e||e&&t(s(e),function(e,t){return e&&r(["id","email","name"],t)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(e){return"object"==typeof e&&null!==e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&t(["debug","info","warn","error"],function(t,n){return t&&"function"==typeof e[n]},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return i(e)&&e.length===n(e,function(e){return"string"==typeof e||e&&"function"==typeof e.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(e){return i(e)&&e.length===n(e,function(e){return e&&"object"==typeof e&&"function"==typeof e.load}).length}}};var f=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},h=function(e,n){return t(e,function(e,t,r,i){return e.concat(n(t,r,i))},[])},p=d.schema,m={releaseStage:f({},p.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),logger:f({},p.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?v():void 0}})},v=function(){var e={},t=console.log;return h(["debug","info","warn","error"],function(n){var r=console[n];e[n]="function"==typeof r?r.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")}),e},g=function(){function e(e,t,n,r){void 0===r&&(r=new Date),this.type=n,this.message=e,this.metadata=t,this.timestamp=r}var t=e.prototype;return t.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},e}(),y={};!function(e,t){"use strict";"object"==typeof y?y=t():e.StackFrame=t()}(this,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],a=r.concat(i,o,["args"]);function s(e){if(e instanceof Object)for(var n=0;n<a.length;n++)e.hasOwnProperty(a[n])&&void 0!==e[a[n]]&&this["set"+t(a[n])](e[a[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new s(e)}},toString:function(){var t=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",i=e(this.getLineNumber())?":"+this.getLineNumber():"",o=e(this.getColumnNumber())?":"+this.getColumnNumber():"";return t+n+r+i+o}};for(var c=0;c<r.length;c++)s.prototype["get"+t(r[c])]=n(r[c]),s.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var u=0;u<i.length;u++)s.prototype["get"+t(i[u])]=n(i[u]),s.prototype["set"+t(i[u])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(i[u]);for(var l=0;l<o.length;l++)s.prototype["get"+t(o[l])]=n(o[l]),s.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=String(t)}}(o[l]);return s});var b={};!function(e,t){"use strict";"object"==typeof b?b=t(y):e.ErrorStackParser=t(e.StackFrame)}(this,function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){var r=t.stack.split("\n").filter(function(e){return!!e.match(n)},this);return r.map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),i=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),o=this.extractLocation(r?r[1]:i.pop()),a=i.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:a,fileName:s,lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseFFOrSafari:function(t){var n=t.stack.split("\n").filter(function(e){return!e.match(r)},this);return n.map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,a=r.length;o<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera11:function(n){var r=n.stack.split("\n").filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this);return r.map(function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)}}});var _=b,w=function(e){return!(!e||!e.stack&&!e.stacktrace&&!e["opera#sourceloc"]||"string"!=typeof(e.stack||e.stacktrace||e["opera#sourceloc"])||e.stack===e.name+": "+e.message)},x=function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}},k="browserjs",E=function(e,t,n){"string"==typeof t&&(n?e[t]&&delete e[t][n]:delete e[t])},S={add:function(e,t,n,r){var i,o;if(t){if(null===n)return E(e,t);"object"==typeof n&&(o=n),"string"==typeof n&&((i={})[n]=r,o=i),o&&(e[t]||(e[t]={}),e[t]=f({},e[t],o))}},get:function(e,t,n){if("string"==typeof t)return n?e[t]?e[t][n]:void 0:e[t]},clear:E},T={};!function(e,t){"use strict";"object"==typeof T?T=t(y):e.StackGenerator=t(e.StackFrame)}(this,function(e){return{backtrace:function(t){var n=[],r=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(r=t.maxStackSize);for(var i=arguments.callee;i&&n.length<r&&i.arguments;){for(var o=new Array(i.arguments.length),a=0;a<o.length;++a)o[a]=i.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:o})):n.push(new e({args:o}));try{i=i.caller}catch(e){break}}return n}}});var C=function(){function e(e,n,r,i,o){void 0===r&&(r=[]),void 0===i&&(i=j()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=o,this._handledState=i,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this._metadata={},this._user={},this._session=void 0,this.errors=[{errorClass:N(e),errorMessage:N(n),type:k,stacktrace:t(r,function(e,t){var n=O(t);try{return"{}"===JSON.stringify(n)?e:e.concat(n)}catch(t){return e}},[])}]}var n=e.prototype;return n.addMetadata=function(e,t,n){return S.add(this._metadata,e,t,n)},n.getMetadata=function(e,t){return S.get(this._metadata,e,t)},n.clearMetadata=function(e,t){return S.clear(this._metadata,e,t)},n.getUser=function(){return this._user},n.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},n.toJSON=function(){return{payloadVersion:"4",exceptions:h(this.errors,function(e){return f({},e,{message:e.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session}},e}(),O=function(e){var t={file:e.fileName,method:A(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return t.lineNumber>-1&&!t.file&&!t.method&&(t.file="global code"),t},A=function(e){return/^global code$/i.test(e)?"global code":e},j=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},N=function(e){return"string"==typeof e?e:""};C.getStacktrace=function(e,t,r){if(w(e))return _.parse(e).slice(t);try{return n(T.backtrace(),function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")}).slice(1+r)}catch(e){return[]}},C.create=function(e,t,n,r,i,o){void 0===i&&(i=0);var a,s=P(e,t,r,o),c=s[0],u=s[1];try{var l=C.getStacktrace(c,u>0?1+u+i:0,1+i);a=new C(c.name,c.message,l,n,e)}catch(t){a=new C(c.name,c.message,[],n,e)}return"InvalidError"===c.name&&a.addMetadata(""+r,"non-error parameter",M(e)),a};var M=function(e){return null===e?"null":void 0===e?"undefined":e},P=function(e,t,n,r){var i,o=0,a=function(e){r&&r.warn(n+' received a non-error: "'+e+'"');var t=new Error(n+' received a non-error. See "'+n+'" tab for more detail.');return t.name="InvalidError",t};if(t)switch(typeof e){case"string":case"number":case"boolean":i=new Error(String(e)),o+=1;break;case"function":i=a("function"),o+=2;break;case"object":null!==e&&x(e)?i=e:null!==e&&I(e)?((i=new Error(e.message||e.errorMessage)).name=e.name||e.errorClass,o+=1):(i=a(null===e?"null":"unsupported object"),o+=2);break;default:i=a("nothing"),o+=2}else x(e)?i=e:(i=a(typeof e),o+=2);if(!w(i))try{throw i}catch(e){w(e)&&(i=e,o=1)}return[i,o]},I=function(e){return!("string"!=typeof e.name&&"string"!=typeof e.errorClass||"string"!=typeof e.message&&"string"!=typeof e.errorMessage)},L=C,D=function(e,t,n,r){for(var i=!1,o=e.slice();!i&&o.length;)try{i=!1===o.pop()(t)}catch(e){r.error("Error occurred in "+n+" callback, continuing anyway…"),r.error(e)}return i},R=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},F="object"==typeof window?window:self,B=0;for(var U in F)Object.hasOwnProperty.call(F,U)&&B++;var q=navigator.mimeTypes?navigator.mimeTypes.length:0,z=R((q+navigator.userAgent.length).toString(36)+B.toString(36),4),H=function(){return z},W=0,V=4,Y=36,G=Math.pow(Y,V);function K(){return R((Math.random()*G<<0).toString(Y),V)}function $(){var e=(new Date).getTime().toString(Y),t=R((W=W<G?W:0,++W-1).toString(Y),V),n=H(),r=K()+K();return"c"+e+t+n+r}$.fingerprint=H;var X=$,Q=function(){function e(){this.id=X(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var t=e.prototype;return t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t._track=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),Z=function(){},J=function(){function i(e,t,n,r){var o=this;void 0===t&&(t=d.schema),void 0===n&&(n=[]),this._notifier=r,this._config={},this._schema=t,this._delivery={sendSession:Z,sendEvent:Z},this._logger={debug:Z,info:Z,warn:Z,error:Z},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=i,this.Event=L,this.Breadcrumb=g,this.Session=Q,this._config=this._configure(e,n),h(n.concat(this._config.plugins),function(e){e&&o._loadPlugin(e)}),this._depth=1;var a=this,s=this.notify;this.notify=function(){return s.apply(a,arguments)}}var o=i.prototype;return o.addMetadata=function(e,t,n){return S.add(this._metadata,e,t,n)},o.getMetadata=function(e,t){return S.get(this._metadata,e,t)},o.clearMetadata=function(e,t){return S.clear(this._metadata,e,t)},o.getContext=function(){return this._context},o.setContext=function(e){this._context=e},o._configure=function(e,n){var r=t(n,function(e,t){return t&&t.configSchema?f({},e,t.configSchema):e},this._schema),i=t(s(r),function(t,n){var i=r[n].defaultValue(e[n]);if(void 0!==e[n]){var o=r[n].validate(e[n]);o?r[n].allowPartialObject?t.config[n]=f(i,e[n]):t.config[n]=e[n]:(t.errors[n]=r[n].message,t.config[n]=i)}else t.config[n]=i;return t},{errors:{},config:{}}),o=i.errors,a=i.config;if(r.apiKey){if(!a.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(a.apiKey)||(o.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=f({},a.metadata),this._user=f({},a.user),this._context=a.context,a.logger&&(this._logger=a.logger),a.onError&&a.onError.length&&(this._cbs.e=this._cbs.e.concat(a.onError)),a.onBreadcrumb&&a.onBreadcrumb.length&&(this._cbs.b=this._cbs.b.concat(a.onBreadcrumb)),a.onSession&&a.onSession.length&&(this._cbs.s=this._cbs.s.concat(a.onSession)),s(o).length&&this._logger.warn(ee(o,e)),a},o.getUser=function(){return this._user},o.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},o._loadPlugin=function(e){var t=e.load(this);return e.name&&(this._plugins["~"+e.name+"~"]=t),this},o.getPlugin=function(e){return this._plugins["~"+e+"~"]},o._setDelivery=function(e){this._delivery=e(this)},o.startSession=function(){var e=new Q;e.app.releaseStage=this._config.releaseStage,e.app.version=this._config.appVersion,e.app.type=this._config.appType,e._user=f({},this._user);var t=D(this._cbs.s,e,"onSession",this._logger);return t?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,e)},o.addOnError=function(e,t){void 0===t&&(t=!1),this._cbs.e[t?"unshift":"push"](e)},o.removeOnError=function(e){this._cbs.e=n(this._cbs.e,function(t){return t!==e})},o._addOnSessionPayload=function(e){this._cbs.sp.push(e)},o.addOnSession=function(e){this._cbs.s.push(e)},o.removeOnSession=function(e){this._cbs.s=n(this._cbs.s,function(t){return t!==e})},o.addOnBreadcrumb=function(e){this._cbs.b.push(e)},o.removeOnBreadcrumb=function(e){this._cbs.b=n(this._cbs.b,function(t){return t!==e})},o.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},o.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},o.leaveBreadcrumb=function(t,n,i){if(t="string"==typeof t?t:"",i="string"==typeof i&&r(e,i)?i:"manual",n="object"==typeof n&&null!==n?n:{},t){var o=new g(t,n,i),a=D(this._cbs.b,o,"onBreadcrumb",this._logger);a?this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback"):(this._breadcrumbs.push(o),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs)))}},o.notify=function(e,t,n){void 0===n&&(n=Z);var r=L.create(e,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(r,t,n)},o._notify=function(e,t,n){var o=this;if(void 0===n&&(n=Z),e.app=f({},e.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),e.context=e.context||this._context,e._metadata=f({},e._metadata,this._metadata),e._user=f({},e._user,this._user),e.breadcrumbs=this._breadcrumbs.slice(),this._session&&(this._session._track(e),e._session=this._session),null!==this._config.enabledReleaseStages&&!r(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),n(null,e);var a=e.severity,s=function(e){o._logger.error("Error occurred in onError callback, continuing anyway…"),o._logger.error(e)},c=[].concat(this._cbs.e).concat(t);!function(e,t,n,r){!function(e,t,n){var r=0,i=function(){if(r>=e.length)return n(null,!0);t(e[r],function(e,t){return e?n(e):!1===t?n(null,!1):(r++,void i())})};i()}(e,function(e,r){if("function"!=typeof e)return r(null);try{if(2!==e.length){var i=e(t);return i&&"function"==typeof i.then?i.then(function(e){return setTimeout(function(){return r(null,e)})},function(e){setTimeout(function(){return n(e),r(null,!0)})}):r(null,i)}e(t,function(e,t){if(e)return n(e),r(null);r(null,t)})}catch(e){n(e),r(null)}},r)}(c,e,s,function(t,c){if(t&&s(t),!c)return o._logger.debug("Event not sent due to onError callback"),n(null,e);r(o._config.enabledBreadcrumbTypes,"error")&&i.prototype.leaveBreadcrumb.call(o,e.errors[0].errorClass,{errorClass:e.errors[0].errorClass,errorMessage:e.errors[0].errorMessage,severity:e.severity},"error"),a!==e.severity&&(e._handledState.severityReason={type:"userCallbackSetSeverity"}),o._delivery.sendEvent({apiKey:e.apiKey||o._config.apiKey,notifier:o._notifier,events:[e]},function(t){return n(t,e)})})},i}(),ee=function(e,t){var n=new Error("Invalid configuration\n"+h(s(e),function(n){return"  - "+n+" "+e[n]+", got "+te(t[n])}).join("\n\n"));return n},te=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},ne=J,re=function(e,t,n,r){var i=r&&r.redactedKeys?r.redactedKeys:[],o=r&&r.redactedPaths?r.redactedPaths:[];return JSON.stringify(function(e,t,n){var r=[],i=0;return function e(o,a){function s(){return a.length>ae&&i>oe}if(i++,a.length>ie)return se;if(s())return se;if(null===o||"object"!=typeof o)return o;if(function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1}(r,o))return"[Circular]";if(r.push(o),"function"==typeof o.toJSON)try{i--;var c=e(o.toJSON(),a);return r.pop(),c}catch(e){return ce(e)}var u,l=(u=o)instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(u));if(l){i--;var d=e({name:o.name,message:o.message},a);return r.pop(),d}if(function(e){return"[object Array]"===Object.prototype.toString.call(e)}(o)){for(var f=[],h=0,p=o.length;h<p;h++){if(s()){f.push(se);break}f.push(e(o[h],a.concat("[]")))}return r.pop(),f}var m={};try{for(var v in o)if(Object.prototype.hasOwnProperty.call(o,v))if(ue(n,a.join("."))&&le(t,v))m[v]="[REDACTED]";else{if(s()){m[v]=se;break}m[v]=e(de(o,v),a.concat(v))}}catch(e){}return r.pop(),m}(e,[])}(e,i,o),t,n)},ie=20,oe=25e3,ae=8,se="...";function ce(e){return"[Throws: "+(e?e.message:"?")+"]"}function ue(e,t){for(var n=0,r=e.length;n<r;n++)if(0===t.indexOf(e[n]))return!0;return!1}function le(e,t){for(var n=0,r=e.length;n<r;n++){if("string"==typeof e[n]&&e[n]===t)return!0;if(e[n]&&"function"==typeof e[n].test&&e[n].test(t))return!0}return!1}function de(e,t){try{return e[t]}catch(e){return ce(e)}}var fe={},he=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];fe.event=function(e,t){var n=re(e,null,null,{redactedPaths:he,redactedKeys:t});if(n.length>1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=re(e,null,null,{redactedPaths:he,redactedKeys:t})).length>1e6))throw new Error("payload exceeded 1MB limit");return n},fe.session=function(e,t){var n=re(e,null,null);if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var pe={};pe=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});var i=me(e._config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout(function(){try{o.send(fe.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)},sendSession:function(n,r){void 0===r&&(r=function(){});var i=me(e._config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout(function(){try{o.send(fe.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)}}};var me=function(e,t,n,r){var i=JSON.parse(JSON.stringify(new Date)),o=ve(e.endpoints[t],r.location.protocol);return o+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(i)},ve=pe._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},ge=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});try{var i=e._config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(fe.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var i=e._config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(fe.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}}}},ye=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError(function(t){t.request&&t.request.url||(t.request=f({},t.request,{url:e.location.href}))},!0)}}},be={load:function(e){e._sessionDelegate=_e}},_e={startSession:function(e,t){var n=e;return n._session=t,n._pausedSession=null,null===n._config.enabledReleaseStages||r(n._config.enabledReleaseStages,n._config.releaseStage)?(n._delivery.sendSession({notifier:n._notifier,device:t.device,app:t.app,sessions:[{id:t.id,startedAt:t.startedAt,user:t._user}]}),n):(n._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),n)},resumeSession:function(e){return e._pausedSession?(e._session=e._pausedSession,e._pausedSession=null,e):e.startSession()},pauseSession:function(e){e._pausedSession=e._session,e._session=null}},we={load:function(e){e._config.collectUserIp||e.addOnError(function(e){e._user&&void 0===e._user.id&&delete e._user.id,e._user=f({id:"[REDACTED]"},e._user),e.request=f({clientIp:"[REDACTED]"},e.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},xe={load:function(e){var n=/^dev(elopment)?$/.test(e._config.releaseStage);e._config.enabledBreadcrumbTypes&&r(e._config.enabledBreadcrumbTypes,"log")&&!n&&h(ke,function(n){var r=console[n];console[n]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];e.leaveBreadcrumb("Console output",t(o,function(e,t,n){var r="[Unknown value]";try{r=String(t)}catch(e){}if("[object Object]"===r)try{r=JSON.stringify(t)}catch(e){}return e["["+n+"]"]=r,e},{severity:0===n.indexOf("group")?"log":n}),"log"),r.apply(console,o)},console[n]._restore=function(){console[n]=r}})}},ke=n(["log","debug","info","warn","error"],function(e){return"undefined"!=typeof console&&"function"==typeof console[e]}),Ee=function(e,r){return void 0===e&&(e=document),void 0===r&&(r=window),{load:function(i){if(i._config.trackInlineScripts){var o=r.location.href,a="",s=!1,c=function(){return e.documentElement.outerHTML};a=c();var u=e.onreadystatechange;e.onreadystatechange=function(){"interactive"===e.readyState&&(a=c(),s=!0);try{u.apply(this,arguments)}catch(e){}};var l=null,d=function(e){l=e},f=function(){var t=e.currentScript||l;if(!t&&!s){var n=e.scripts||e.getElementsByTagName("script");t=n[n.length-1]}return t};i.addOnError(function(e){e.errors[0].stacktrace=n(e.errors[0].stacktrace,function(e){return!/__trace__$/.test(e.method)});var r=e.errors[0].stacktrace[0];if(!r||!r.file||r.file.replace(/#.*$/,"")===o.replace(/#.*$/,"")){var i=f();if(i){var u=i.innerHTML;e.addMetadata("script","content",u.length<=5e5?u:u.substr(0,5e5))}r&&r.lineNumber&&(r.code=function(e){s&&a||(a=c());var n=["\x3c!-- DOC START --\x3e"].concat(a.split("\n")),r=e-1,i=Math.max(r-3,0),o=Math.min(r+3,n.length);return t(n.slice(i,o),function(e,t,n){return e[i+1+n]=t.length<=200?t:t.substr(0,200),e},{})}(r.lineNumber))}},!0);var p=h(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(e){return Se(r,e,function(e){return v(e,function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}})})}),m=p[0];h(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(e){r[e]&&r[e].prototype&&Object.prototype.hasOwnProperty.call(r[e].prototype,"addEventListener")&&(Se(r[e].prototype,"addEventListener",function(e){return v(e,Te)}),Se(r[e].prototype,"removeEventListener",function(e){return v(e,Te,!0)}))})}function v(e,t,n){return void 0===n&&(n=!1),function(){var r=[].slice.call(arguments);try{var i=t(r),o=i.get();if(n&&e.apply(this,r),"function"!=typeof o)return e.apply(this,r);if(o.__trace__)i.replace(o.__trace__);else{var a=f();o.__trace__=function(){d(a),m(function(){d(null)},0);var e=o.apply(this,arguments);return d(null),e},o.__trace__.__trace__=o.__trace__,i.replace(o.__trace__)}}catch(e){}if(e.apply)return e.apply(this,r);switch(r.length){case 1:return e(r[0]);case 2:return e(r[0],r[1]);default:return e()}}}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}};function Se(e,t,n){var r=e[t];if(!r)return r;var i=n(r);return e[t]=i,r}function Te(e){var t=!!e[1]&&"function"==typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}var Ce=function(e){return void 0===e&&(e=window),{load:function(t){"addEventListener"in e&&t._config.enabledBreadcrumbTypes&&r(t._config.enabledBreadcrumbTypes,"user")&&e.addEventListener("click",function(n){var r,i;try{r=Oe(n.target),i=function e(t,n){var r=[t.tagName];if(t.id&&r.push("#"+t.id),t.className&&t.className.length&&r.push("."+t.className.split(" ").join(".")),!n.document.querySelectorAll||!Array.prototype.indexOf)return r.join("");try{if(1===n.document.querySelectorAll(r.join("")).length)return r.join("")}catch(e){return r.join("")}if(t.parentNode.childNodes.length>1){var i=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;r.push(":nth-child("+i+")")}return 1===n.document.querySelectorAll(r.join("")).length?r.join(""):t.parentNode?e(t.parentNode,n)+" > "+r.join(""):r.join("")}(n.target,e)}catch(e){r="[hidden]",i="[hidden]",t._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}t.leaveBreadcrumb("UI click",{targetText:r,targetSelector:i},"user")},!0)}}},Oe=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),r=r.replace(/^\s+|\s+$/g,""),n=140,(t=r)&&t.length<=n?t:t.slice(0,n-"(...)".length)+"(...)"},Ae={};Ae=function(e){return void 0===e&&(e=window),{load:function(t){if("addEventListener"in e&&t._config.enabledBreadcrumbTypes&&r(t._config.enabledBreadcrumbTypes,"navigation")){var n=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",n("Page hidden"),!0),e.addEventListener("pageshow",n("Page shown"),!0),e.addEventListener("load",n("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),e.addEventListener("load",function(){return e.addEventListener("popstate",n("Navigated back"),!0)}),e.addEventListener("hashchange",function(n){var r=n.oldURL?{from:je(n.oldURL,e),to:je(n.newURL,e),state:Me(e)}:{to:je(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")},!0),e.history.replaceState&&Ne(t,e.history,"replaceState",e),e.history.pushState&&Ne(t,e.history,"pushState",e),t.leaveBreadcrumb("Bugsnag loaded",{},"navigation")}}}};var je=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},Ne=function(e,t,n,r){var i=t[n];t[n]=function(o,a,s){e.leaveBreadcrumb("History "+n,function(e,t,n,r){var i=je(e.location.href,e);return{title:n,state:t,prevState:Me(e),to:r||i,from:i}}(r,o,a,s),"navigation"),"function"==typeof e.resetEventCount&&e.resetEventCount(),e._config.autoTrackSessions&&e.startSession(),i.apply(t,[o,a].concat(void 0!==s?s:[]))}},Me=function(e){try{return e.history.state}catch(e){}},Pe="request",Ie="BS~~S",Le="BS~~U",De="BS~~M",Re=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=window);var n={load:function(n){if(n._config.enabledBreadcrumbTypes&&r(n._config.enabledBreadcrumbTypes,"request")){var i=[n._config.endpoints.notify,n._config.endpoints.sessions].concat(e);!function(){if("addEventListener"in t.XMLHttpRequest.prototype){var e=t.XMLHttpRequest.prototype.open;t.XMLHttpRequest.prototype.open=function(t,n){this[Le]=n,this[De]=t,this[Ie]&&(this.removeEventListener("load",s),this.removeEventListener("error",c)),this.addEventListener("load",s),this.addEventListener("error",c),this[Ie]=!0,e.apply(this,arguments)}}}(),function(){if("fetch"in t&&!t.fetch.polyfill){var e=t.fetch;t.fetch=function(){var t,n=arguments,r=arguments[0],i=arguments[1],s=null;return r&&"object"==typeof r?(s=r.url,i&&"method"in i?t=i.method:r&&"method"in r&&(t=r.method)):(s=r,i&&"method"in i&&(t=i.method)),void 0===t&&(t="GET"),new Promise(function(r,i){e.apply(void 0,n).then(function(e){o(e,t,s),r(e)}).catch(function(e){a(t,s),i(e)})})}}}();var o=function(e,t,r){var i={status:e.status,request:t+" "+r};e.status>=400?n.leaveBreadcrumb("fetch() failed",i,Pe):n.leaveBreadcrumb("fetch() succeeded",i,Pe)},a=function(e,t){n.leaveBreadcrumb("fetch() error",{request:e+" "+t},Pe)}}function s(){if(!r(i,this[Le])){var e={status:this.status,request:this[De]+" "+this[Le]};this.status>=400?n.leaveBreadcrumb("XMLHttpRequest failed",e,Pe):n.leaveBreadcrumb("XMLHttpRequest succeeded",e,Pe)}}function c(){r(i,this[Le])||n.leaveBreadcrumb("XMLHttpRequest error",{request:this[De]+" "+this[Le]},Pe)}}};return n},Fe={load:function(e){var t=0;e.addOnError(function(n){if(t>=e._config.maxEvents)return!1;t++}),e.resetEventCount=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return c(1,100)(e)}}}},Be={},Ue=(Be={load:function(e){e.addOnError(function(e){var n=t(e.errors,function(e,t){return e.concat(t.stacktrace)},[]);h(n,function(e){e.file=Ue(e.file)})})}})._strip=function(e){return"string"==typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},qe=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledExceptions){var n=e.onerror;e.onerror=function(e,r,i,o,a){if(0===i&&/Script error\.?/.test(e))t._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,c={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(a)s=t.Event.create(a,!0,c,"window onerror",1),ze(s.errors[0].stacktrace,r,i,o);else if("object"!=typeof e||null===e||r&&"string"==typeof r||i||o||a)s=t.Event.create(e,!0,c,"window onerror",1),ze(s.errors[0].stacktrace,r,i,o);else{var u=e.type?"Event: "+e.type:"Error",l=e.message||e.detail||"";(s=t.Event.create({name:u,message:l},!0,c,"window onerror",1)).originalError=e,s.addMetadata("window onerror",{event:e,extraParameters:r})}t._notify(s)}"function"==typeof n&&n.apply(this,arguments)}}}}},ze=function(e,t,n,r){e[0]||e.push({});var i=e[0];i.file||"string"!=typeof t||(i.file=t),!i.lineNumber&&He(n)&&(i.lineNumber=n),i.columnNumber||(He(r)?i.columnNumber=r:window.event&&He(window.event.errorCharacter)&&(i.columnNumber=window.event.errorCharacter))},He=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},We=function(e){void 0===e&&(e=window);var t={load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledRejections){var n=function(e){var n=e.reason,r=!1;try{e.detail&&e.detail.reason&&(n=e.detail.reason,r=!0)}catch(e){}var i=t.Event.create(n,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,t._logger);r&&h(i.errors[0].stacktrace,Ve(n)),t._notify(i,function(e){var t;x(e.originalError)&&!e.originalError.stack&&e.addMetadata("unhandledRejection handler",((t={})[Object.prototype.toString.call(e.originalError)]={name:e.originalError.name,message:e.originalError.message,code:e.originalError.code},t))})};"addEventListener"in e?e.addEventListener("unhandledrejection",n):e.onunhandledrejection=function(e,t){n({detail:{reason:e,promise:t}})}}}};return t},Ve=function(e){return function(t){t.file!==e.toString()&&t.method&&(t.method=t.method.replace(/^\s+/,""))}},Ye={},Ge=f({},d.schema,m),Ke={_client:null,createClient:function(e){"string"==typeof e&&(e={apiKey:e}),e||(e={});var t,n,r=[(void 0===n&&(n=navigator),{load:function(e){var t={locale:n.browserLanguage||n.systemLanguage||n.userLanguage||n.language,userAgent:n.userAgent};e.addOnSession(function(e){e.device=f({},e.device,t)}),e.addOnError(function(e){e.device=f({},e.device,t,{time:new Date})},!0)}}),(void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){void 0===e.context&&(e.context=t.location.pathname)},!0)}}),ye(),Fe,be,we,Be,qe(),We(),Ae(),Ce(),Re(),xe,Ee()],i=new ne(e,Ge,r,{name:"Bugsnag JavaScript",version:"7.0.1",url:"https://github.com/bugsnag/bugsnag-js"});return i._setDelivery(window.XDomainRequest?pe:ge),i._logger.debug("Loaded!"),i._config.autoTrackSessions?i.startSession():i},start:function(e){return Ke._client?(Ke._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),Ke._client):(Ke._client=Ke.createClient(e),Ke._client)}};return h(["resetEventCount"].concat(s(ne.prototype)),function(e){/^_/.test(e)||(Ke[e]=function(){if(!Ke._client)return console.log("Bugsnag."+e+"() was called before Bugsnag.start()");Ke._client._depth+=1;var t=Ke._client[e].apply(Ke._client,arguments);return Ke._client._depth-=1,t})}),(Ye=Ke).Client=ne,Ye.Event=L,Ye.Session=Q,Ye.Breadcrumb=g,Ye.default=Ke,Ye}()},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(2186),i=n(742),o=n(293),a=function(e){return e},s=function(e){return function(t){return t.concat(e)}};function c(e,t){return function(n,i){var o=t(i);if(!r(n)||!r(o))throw new TypeError("Array."+e+": Must wrap Applicatives");return o.map(function(e){return s([e])}).ap(n)}}var u=function(e){return e.reduce(function(e,t){return e&&o(t)},!0)},l=function(e,t){return t.map(function(t){return e(t)})};e.exports={ap:function(e,t){if(!t.length||!u(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return t.concat(l(n,e))},[])},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)},[])},map:l,sequence:function(e,t){return t.reduce(c("sequence",a),e([]))},traverse:function(e,t,n){return n.reduce(c("traverse",t),e([]))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(571),i=n(2187);e.exports=function(e){return i(e)&&r("of",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(571),i=n(2188);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(571);e.exports=function(e){return!!e&&r("map",e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(571);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(293);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(293);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}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(293);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,n){var r=n(1113),i=n(743),o=n(1114),a=n(2196),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){var r=n(1113),i=n(744);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t,n){var r=n(1114)(function(e,t){return t>e?t:e});e.exports=r},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2207),i=n(1116);e.exports=function(e){return i(r(e))}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t){var n=Math.floor,r=Math.random;e.exports=function(e,t){return e+n(r()*(t-e+1))}},function(e,t,n){var r=n(1116),i=n(2210);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(2211),i=n(572);e.exports=function(e){return null==e?[]:r(e,i(e))}},function(e,t,n){var r=n(995);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){var r=n(2213),i=n(1117),o=n(292),a=n(1118),s=n(1119),c=n(1120),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),d=!n&&!l&&a(e),f=!n&&!l&&!d&&c(e),h=n||l||d||f,p=h?r(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(382),i=n(383),o="[object Arguments]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(382),i=n(745),o=n(383),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)]}},function(e,t,n){var r=n(2218),i=n(2219),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}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(2220)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(376),i=n(377),o=n(203).type("Pred"),a=n(203).typeFn(o(),2),s=n(175),c=n(319),u=n(86),l=n(218),d=function(){return f(function(){return!0})};function f(e){var t;if(!u(e))throw new TypeError("Pred: Predicate function required");var n=function(t){return!!e(t)},r=function(){return"Pred"+i(n)},h=d;function p(e){return function(t){if(!l(f,t))throw new TypeError("Pred."+e+": Pred required");return f(function(e){return!!n(e)&&!!t.runWith(e)})}}function m(e){return function(t){if(!u(t))throw new TypeError("Pred."+e+": Function required");return f(c(n,t))}}return(t={inspect:r,toString:r,runWith:n,type:o,valueOf:function(){return n},empty:h,concat:p("concat"),contramap:m("contramap")})[s.empty]=h,t[s.concat]=p(s.concat),t[s.contramap]=m(s.contramap),t["@@type"]=a,t.constructor=f,t}f.empty=d,f.type=o,f[s.empty]=d,f["@@type"]=a,f["@@implements"]=r(["concat","contramap","empty"]),e.exports=f},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2223),i=n(537),o=n(376),a=n(2224),s=n(377),c=n(203).type("Maybe"),u=n(203).typeFn(c(),4),l=n(175),d=n(881),f=n(319),h=n(698),p=n(448),m=n(255),v=n(86),g=n(218),y=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,x=_.Just;T.Nothing=f(T,w),T.Just=f(T,x);var k=f(T,x),E=f(T,w);function S(e){if(!p(e)&&!m(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(k)}function T(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var n=_.includes(e)?e:x(e),r=k,o=E,w=function(e){return A(y(e),b)},C=function(e){return g(T,e)&&A(y(e.either(y(!0),y(!1))),function(t){return e.either(y(!1),function(e){return i(e,t)})})},O=function(){return A(y("Nothing"),function(e){return"Just"+s(e)})};function A(e,t){if(!v(e)||!v(t))throw new TypeError("Maybe.either: Requires both left and right functions");return _.caseOf({Nothing:e,Just:t},n)}function j(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe of Semigroup required");return A(T.Nothing,a("Maybe."+e,t))}}function N(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return A(T.Nothing,f(T.Just,t))}}function M(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe required");return A(y(t),T.Just)}}function P(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");var n=A(T.Nothing,t);if(!g(T,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}return(t={inspect:O,toString:O,either:A,option:w,type:c,equals:C,bichain:function(e,t){var n="Maybe.bichain: Both arguments must be Maybe returning functions";if(!v(e)||!v(t))throw new TypeError(n);var r=A(e,t);if(!g(T,r))throw new TypeError(n);return r},coalesce:function(e,t){if(!v(e)||!v(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return T.Just(A(e,t))},zero:o,ap:function(e){var t=w(y(void 0));if(!v(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!g(T,e))throw new TypeError("Maybe.ap: Maybe required");return A(T.Nothing,e.map)},of:r,sequence:function(e){if(!h(e)&&!v(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=d(e);return A(f(t,T.Nothing),S)},traverse:function(e,t){if(!h(e)&&!v(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!v(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var n=d(e),r=A(f(n,T.Nothing),t);if(!p(r)&&!m(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return A(y(r),y(r.map(k)))},alt:M("alt"),chain:P("chain"),concat:j("concat"),map:N("map")})[l.zero]=o,t[l.of]=r,t[l.equals]=C,t[l.alt]=M(l.alt),t[l.concat]=j(l.concat),t[l.map]=N(l.map),t[l.chain]=P(l.chain),t["@@type"]=u,t.constructor=T,t}T.of=k,T.zero=E,T.type=c,T[l.of]=k,T[l.zero]=E,T["@@type"]=u,T["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=T},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(119),i=n(255),o=n(697),a=n(86),s=n(318),c=n(447),u=function(e){return function(){return e}},l=function(e){return c(e)&&e.length};function d(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&&l(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:u(n[r])},e},{tag:u(t)})}}(r,n),t},{caseOf:r(d(e)),includes:r(f(e))})}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(218),i=n(449);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)})}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2236);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,i,o,a){var s=i||"<<anonymous>>",c=a||r;if(null==n[r])return t?new Error("Required "+o+" `"+c+"` was not specified in `"+s+"`."):null;for(var u=arguments.length,l=Array(u>6?u-6:0),d=6;d<u;d++)l[d-6]=arguments[d];return e.apply(void 0,[n,r,s,o,c].concat(l))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(1133)),i=u(n(1134)),o=u(n(0)),a=u(n(103)),s=u(n(1135)),c=u(n(1136));function u(e){return e&&e.__esModule?e:{default:e}}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 d=function(e){function t(){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,u=Array(i),d=0;d<i;d++)u[d]=arguments[d];return n=r=l(this,e.call.apply(e,[this].concat(u))),r._mountOverlayTarget=function(){r._overlayTarget||(r._overlayTarget=document.createElement("div"),r._portalContainerNode=(0,s.default)(r.props.container,(0,c.default)(r).body),r._portalContainerNode.appendChild(r._overlayTarget))},r._unmountOverlayTarget=function(){r._overlayTarget&&(r._portalContainerNode.removeChild(r._overlayTarget),r._overlayTarget=null),r._portalContainerNode=null},r._renderOverlay=function(){var e=r.props.children?o.default.Children.only(r.props.children):null;if(null!==e){r._mountOverlayTarget();var t=!r._overlayInstance;r._overlayInstance=a.default.unstable_renderSubtreeIntoContainer(r,e,r._overlayTarget,function(){t&&r.props.onRendered&&r.props.onRendered()})}else r._unrenderOverlay(),r._unmountOverlayTarget()},r._unrenderOverlay=function(){r._overlayTarget&&(a.default.unmountComponentAtNode(r._overlayTarget),r._overlayInstance=null)},r.getMountNode=function(){return r._overlayTarget},l(r,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.prototype.componentDidMount=function(){this._isMounted=!0,this._renderOverlay()},t.prototype.componentDidUpdate=function(){this._renderOverlay()},t.prototype.componentWillReceiveProps=function(e){this._overlayTarget&&e.container!==this.props.container&&(this._portalContainerNode.removeChild(this._overlayTarget),this._portalContainerNode=(0,s.default)(e.container,(0,c.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._unrenderOverlay(),this._unmountOverlayTarget()},t.prototype.render=function(){return null},t}(o.default.Component);d.displayName="Portal",d.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=d,e.exports=t.default},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2259);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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(0));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}).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},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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(0));function i(e){return(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})(e)}function o(){return(o=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 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){return(s=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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Responsive";return function(l){var d=function(n){function d(){var e,t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return n=this,(t=!(r=(e=s(d)).call.apply(e,[this].concat(a)))||"object"!==i(r)&&"function"!=typeof r?c(n):r).handleChange=t.handleChange.bind(c(t)),t.state={isMatch:!1},t}var f,h,p;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&&u(e,t)}(d,r.Component),f=d,(h=[{key:"componentDidMount",value:function(){this.mql=window.matchMedia(e),this.mql.addListener(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.mql.removeListener(this.handleChange)}},{key:"handleChange",value:function(){this.setState({isMatch:this.mql.matches})}},{key:"render",value:function(){var e,n,i,a=this.props,s=this.state.isMatch;return r.default.createElement(l,o({},a,(i=s,(n=t)in(e={})?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e)))}}])&&a(f.prototype,h),p&&a(f,p),d}(),f=l.displayName||l.name;return d.displayName="".concat(n,"(").concat(f,")"),d}};t.default=l},function(e,t,n){"use strict";var r=n(380),i=n(381),o=n(2265);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n(114)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var e=function(e,t){return this.construct(e,t),this};return e.Chart=e,e}},function(e,t,n){"use strict";var r=n(573),i={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var 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:function(e){return 1-i.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*i.easeInBounce(2*e):.5*i.easeOutBounce(2*e-1)+.5}};e.exports={effects:i},r.easingEffects=i},function(e,t,n){"use strict";var r=n(573);t=e.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,o){if(o){var a=Math.min(o,i/2-1e-7,r/2-1e-7);e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.arcTo(t+r,n,t+r,n+a,a),e.lineTo(t+r,n+i-a),e.arcTo(t+r,n+i,t+r-a,n+i,a),e.lineTo(t+a,n+i),e.arcTo(t,n+i,t,n+i-a,a),e.lineTo(t,n+a),e.arcTo(t,n,t+a,n,a),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,o){var a,s,c,u,l,d;if(o=o||0,!t||"object"!=typeof t||"[object HTMLImageElement]"!==(a=t.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(e.save(),e.translate(r,i),e.rotate(o*Math.PI/180),e.beginPath(),t){default:e.arc(0,0,n,0,2*Math.PI),e.closePath();break;case"triangle":l=(s=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(-s/2,l/3),e.lineTo(s/2,l/3),e.lineTo(0,-2*l/3),e.closePath();break;case"rect":d=1/Math.SQRT2*n,e.rect(-d,-d,2*d,2*d);break;case"rectRounded":var f=n/Math.SQRT2,h=-f,p=-f,m=Math.SQRT2*n;this.roundedRect(e,h,p,m,m,.425*n);break;case"rectRot":d=1/Math.SQRT2*n,e.moveTo(-d,0),e.lineTo(0,d),e.lineTo(d,0),e.lineTo(0,-d),e.closePath();break;case"cross":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0);break;case"crossRot":c=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,e.moveTo(-c,-u),e.lineTo(c,u),e.moveTo(-c,u),e.lineTo(c,-u);break;case"star":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0),c=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,e.moveTo(-c,-u),e.lineTo(c,u),e.moveTo(-c,u),e.lineTo(c,-u);break;case"line":e.moveTo(-n,0),e.lineTo(n,0);break;case"dash":e.moveTo(0,0),e.lineTo(n,0)}e.fill(),e.stroke(),e.restore()}}else e.drawImage(t,r-t.width/2,i-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){if(n.steppedLine)return"after"===n.steppedLine&&!r||"after"!==n.steppedLine&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}};r.clear=t.clear,r.drawRoundedRectangle=function(e){e.beginPath(),t.roundedRect.apply(t,arguments)}},function(e,t,n){"use strict";var r=n(573);e.exports={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);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},toPadding:function(e){var t,n,i,o;return r.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,o=+e.left||0):t=n=i=o=+e||0,{top:t,right:n,bottom:i,left:o,height:t+i,width:o+n}},resolve:function(e,t,n){var i,o,a;for(i=0,o=e.length;i<o;++i)if(void 0!==(a=e[i])&&(void 0!==t&&"function"==typeof a&&(a=a(t)),void 0!==n&&r.isArray(a)&&(a=a[n]),void 0!==a))return a}}},function(e,t,n){"use strict";var r=n(1137),i=n(114),o=n(87),a=n(323);e.exports=function(){function e(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return null!=e&&"none"!==e}function n(n,r,i){var a=document.defaultView,s=o._getParentNode(n),c=a.getComputedStyle(n)[r],u=a.getComputedStyle(s)[r],l=t(c),d=t(u),f=Number.POSITIVE_INFINITY;return l||d?Math.min(l?e(c,n,i):f,d?e(u,s,i):f):"none"}o.configMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,t,n,r){var i=t[e]||{},s=n[e];"scales"===e?t[e]=o.scaleMerge(i,s):"scale"===e?t[e]=o.merge(i,[a.getScaleDefaults(s.type),s]):o._merger(e,t,n,r)}})},o.scaleMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,s,c,u=n[e].length;for(t[e]||(t[e]=[]),i=0;i<u;++i)c=n[e][i],s=o.valueOrDefault(c.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||c.type&&c.type!==t[e][i].type?o.merge(t[e][i],[a.getScaleDefaults(s),c]):o.merge(t[e][i],c)}else o._merger(e,t,n,r)}})},o.where=function(e,t){if(o.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return o.each(e,function(e){t(e)&&n.push(e)}),n},o.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},o.findNextWhere=function(e,t,n){o.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},o.findPreviousWhere=function(e,t,n){o.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var i=e[r];if(t(i))return i}},o.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},o.almostEquals=function(e,t,n){return Math.abs(e-t)<n},o.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&n+t>e},o.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},o.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},o.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},o.toRadians=function(e){return e*(Math.PI/180)},o.toDegrees=function(e){return e*(180/Math.PI)},o.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},o.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},o.aliasPixel=function(e){return e%2==0?0:.5},o.splineCurve=function(e,t,n,r){var i=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),c=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+c),l=c/(s+c),d=r*(u=isNaN(u)?0:u),f=r*(l=isNaN(l)?0:l);return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(e){var t,n,r,i,a,s,c,u,l,d=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),f=d.length;for(t=0;t<f;++t)if(!(r=d[t]).model.skip){if(n=t>0?d[t-1]:null,(i=t<f-1?d[t+1]:null)&&!i.model.skip){var h=i.model.x-r.model.x;r.deltaK=0!==h?(i.model.y-r.model.y)/h:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=d[t],i=d[t+1],r.model.skip||i.model.skip||(o.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,s=i.mK/r.deltaK,(u=Math.pow(a,2)+Math.pow(s,2))<=9||(c=3/Math.sqrt(u),r.mK=a*c*r.deltaK,i.mK=s*c*r.deltaK)));for(t=0;t<f;++t)(r=d[t]).model.skip||(n=t>0?d[t-1]:null,i=t<f-1?d[t+1]:null,n&&!n.model.skip&&(l=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-l,r.model.controlPointPreviousY=r.model.y-l*r.mK),i&&!i.model.skip&&(l=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+l,r.model.controlPointNextY=r.model.y+l*r.mK))},o.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},o.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},o.niceNum=function(e,t){var n=Math.floor(o.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},o.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,s=a.getBoundingClientRect(),c=i.touches;c&&c.length>0?(n=c[0].clientX,r=c[0].clientY):(n=i.clientX,r=i.clientY);var u=parseFloat(o.getStyle(a,"padding-left")),l=parseFloat(o.getStyle(a,"padding-top")),d=parseFloat(o.getStyle(a,"padding-right")),f=parseFloat(o.getStyle(a,"padding-bottom")),h=s.right-s.left-u-d,p=s.bottom-s.top-l-f;return{x:n=Math.round((n-s.left-u)/h*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-l)/p*a.height/t.currentDevicePixelRatio)}},o.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},o.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},o._calculatePadding=function(e,t,n){return(t=o.getStyle(e,t)).indexOf("%")>-1?n/parseInt(t,10):parseInt(t,10)},o._getParentNode=function(e){var t=e.parentNode;return t&&t.host&&(t=t.host),t},o.getMaximumWidth=function(e){var t=o._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-o._calculatePadding(t,"padding-left",n)-o._calculatePadding(t,"padding-right",n),i=o.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},o.getMaximumHeight=function(e){var t=o._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-o._calculatePadding(t,"padding-top",n)-o._calculatePadding(t,"padding-bottom",n),i=o.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},o.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},o.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,o=e.width;r.height=i*n,r.width=o*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},o.fontString=function(e,t,n){return t+" "+e+"px "+n},o.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var s=0;o.each(n,function(t){null!=t&&!0!==o.isArray(t)?s=o.measureText(e,i,a,s,t):o.isArray(t)&&o.each(t,function(t){null==t||o.isArray(t)||(s=o.measureText(e,i,a,s,t))})});var c=a.length/2;if(c>n.length){for(var u=0;u<c;u++)delete i[a[u]];a.splice(0,c)}return s},o.measureText=function(e,t,n,r,i){var o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r},o.numberOfLabelLines=function(e){var t=1;return o.each(e,function(e){o.isArray(e)&&e.length>t&&(t=e.length)}),t},o.color=r?function(e){return e instanceof CanvasGradient&&(e=i.global.defaultColor),r(e)}:function(e){return console.error("Color.js not found!"),e},o.getHoverColor=function(e){return e instanceof CanvasPattern?e:o.color(e).saturate(.5).darken(.1).rgbString()}}},function(e,t,n){var r=n(2272),i=function(){return new u};for(var o in r){i[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(o);var a=/(\w+)2(\w+)/.exec(o),s=a[1],c=a[2];(i[s]=i[s]||{})[c]=i[o]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;i<n.length;i++)n[i]=Math.round(n[i]);return n}}(o)}var u=function(){this.convs={}};u.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=i[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=i},function(e,t){function n(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),c=s-a;return s==a?t=0:r==s?t=(i-o)/c:i==s?t=2+(o-r)/c:o==s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?c/(s+a):c/(2-s-a)),100*n]}function i(e){var t,n,r=e[0],i=e[1],o=e[2],a=Math.min(r,i,o),s=Math.max(r,i,o),c=s-a;return n=0==s?0:c/s*1e3/10,s==a?t=0:r==s?t=(i-o)/c:i==s?t=2+(o-r)/c:o==s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function o(e){var t=e[0],r=e[1],i=e[2];return[n(e)[0],100*(1/255*Math.min(t,Math.min(r,i))),100*(i=1-1/255*Math.max(t,Math.max(r,i)))]}function a(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]}function s(e){return E[JSON.stringify(e)]}function c(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t=c(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function l(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,c=e[2]/100;if(0==s)return[o=255*c,o,o];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*o;return i}function d(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),c=255*r*(1-n*(1-o));r*=255;switch(i){case 0:return[r,c,a];case 1:return[s,r,a];case 2:return[a,r,c];case 3:return[a,s,r];case 4:return[c,a,r];case 5:return[r,a,s]}}function f(e){var t,n,i,o,a=e[0]/360,s=e[1]/100,c=e[2]/100,u=s+c;switch(u>1&&(s/=u,c/=u),i=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(i=1-i),o=s+i*((n=1-c)-s),t){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function h(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function p(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,o=e[0],a=e[1],s=e[2];return o<=8?i=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function _(e){return p(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function x(e){return k[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:a,rgb2keyword:s,rgb2xyz:c,rgb2lab:u,rgb2lch:function(e){return y(u(e))},hsl2rgb:l,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return o(l(e))},hsl2cmyk:function(e){return a(l(e))},hsl2keyword:function(e){return s(l(e))},hsv2rgb:d,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return t=i*o,[r,100*(t=(t/=(n=(2-i)*o)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return o(d(e))},hsv2cmyk:function(e){return a(d(e))},hsv2keyword:function(e){return s(d(e))},hwb2rgb:f,hwb2hsl:function(e){return n(f(e))},hwb2hsv:function(e){return i(f(e))},hwb2cmyk:function(e){return a(f(e))},hwb2keyword:function(e){return s(f(e))},cmyk2rgb:h,cmyk2hsl:function(e){return n(h(e))},cmyk2hsv:function(e){return i(h(e))},cmyk2hwb:function(e){return o(h(e))},cmyk2keyword:function(e){return s(h(e))},keyword2rgb:x,keyword2hsl:function(e){return n(x(e))},keyword2hsv:function(e){return i(x(e))},keyword2hwb:function(e){return o(x(e))},keyword2cmyk:function(e){return a(x(e))},keyword2lab:function(e){return u(x(e))},keyword2xyz:function(e){return c(x(e))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:_,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return _(w(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var S in k)E[JSON.stringify(k[S])]=S},function(e,t,n){var r=n(2274);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var o=0;o<t.length;o++)t[o]=parseInt(i[o]+i[o],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(o=0;o<t.length;o++)t[o]=parseInt(i.slice(2*o,2*o+2),16)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=r[i[1]]))return}for(o=0;o<t.length;o++)t[o]=l(t[o],0,255);return n=n||0==n?l(n,0,1):1,t[3]=n,t}}function o(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function s(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function c(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function u(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function l(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}e.exports={getRgba:i,getHsla:o,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=o(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=i(e);if(t)return t[3];if(t=o(e))return t[3];if(t=a(e))return t[3]},hexString:function(e){return"#"+d(e[0])+d(e[1])+d(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return s(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:s,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return c(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:c,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:u,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return f[e.slice(0,3)]}};var f={};for(var h in r)f[r[h]]=h},function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87);r._set("global",{elements:{arc:{backgroundColor:r.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=i.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=o.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,a=r.distance,s=n.startAngle,c=n.endAngle;c<s;)c+=2*Math.PI;for(;i>c;)i-=2*Math.PI;for(;i<s;)i+=2*Math.PI;var u=i>=s&&i<=c,l=a>=n.innerRadius&&a<=n.outerRadius;return u&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,r=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,r),e.arc(t.x,t.y,t.innerRadius,r,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87),a=r.global;r._set("global",{elements:{line:{tension:.4,backgroundColor:a.defaultColor,borderWidth:3,borderColor:a.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=i.extend({draw:function(){var e,t,n,r,i=this._view,s=this._chart.ctx,c=i.spanGaps,u=this._children.slice(),l=a.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),s.save(),s.lineCap=i.borderCapStyle||l.borderCapStyle,s.setLineDash&&s.setLineDash(i.borderDash||l.borderDash),s.lineDashOffset=i.borderDashOffset||l.borderDashOffset,s.lineJoin=i.borderJoinStyle||l.borderJoinStyle,s.lineWidth=i.borderWidth||l.borderWidth,s.strokeStyle=i.borderColor||a.defaultColor,s.beginPath(),d=-1,e=0;e<u.length;++e)t=u[e],n=o.previousItem(u,e),r=t._view,0===e?r.skip||(s.moveTo(r.x,r.y),d=e):(n=-1===d?n:u[d],r.skip||(d!==e-1&&!c||-1===d?s.moveTo(r.x,r.y):o.canvas.lineTo(s,n._view,t._view),d=e));s.stroke(),s.restore()}})},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87),a=r.global.defaultColor;function s(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}r._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:a,borderColor:a,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=i.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:s,inXRange:s,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._model,i=this._chart.ctx,s=t.pointStyle,c=t.rotation,u=t.radius,l=t.x,d=t.y;t.skip||(void 0===e||n.x>=e.left&&1.01*e.right>=n.x&&n.y>=e.top&&1.01*e.bottom>=n.y)&&(i.strokeStyle=t.borderColor||a,i.lineWidth=o.valueOrDefault(t.borderWidth,r.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||a,o.canvas.drawPoint(i,s,u,l,d,c))}})},function(e,t,n){"use strict";var r=n(114),i=n(260);function o(e){return void 0!==e._view.width}function a(e){var t,n,r,i,a=e._view;if(o(e)){var s=a.width/2;t=a.x-s,n=a.x+s,r=Math.min(a.y,a.base),i=Math.max(a.y,a.base)}else{var c=a.height/2;t=Math.min(a.x,a.base),n=Math.max(a.x,a.base),r=a.y-c,i=a.y+c}return{left:t,top:r,right:n,bottom:i}}r._set("global",{elements:{rectangle:{backgroundColor:r.global.defaultColor,borderColor:r.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=i.extend({draw:function(){var e,t,n,r,i,o,a,s=this._chart.ctx,c=this._view,u=c.borderWidth;if(c.horizontal?(e=c.base,t=c.x,n=c.y-c.height/2,r=c.y+c.height/2,i=t>e?1:-1,o=1,a=c.borderSkipped||"left"):(e=c.x-c.width/2,t=c.x+c.width/2,n=c.y,i=1,o=(r=c.base)>n?1:-1,a=c.borderSkipped||"bottom"),u){var l=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(u=u>l?l:u)/2,f=e+("left"!==a?d*i:0),h=t+("right"!==a?-d*i:0),p=n+("top"!==a?d*o:0),m=r+("bottom"!==a?-d*o:0);f!==h&&(n=p,r=m),p!==m&&(e=f,t=h)}s.beginPath(),s.fillStyle=c.backgroundColor,s.strokeStyle=c.borderColor,s.lineWidth=u;var v=[[e,r],[e,n],[t,n],[t,r]],g=["bottom","left","top","right"].indexOf(a,0);function y(e){return v[(g+e)%4]}-1===g&&(g=0);var b=y(0);s.moveTo(b[0],b[1]);for(var _=1;_<4;_++)b=y(_),s.lineTo(b[0],b[1]);s.fill(),u&&s.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var r=a(this);n=e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom}return n},inLabelRange:function(e,t){if(!this._view)return!1;var n=a(this);return o(this)?e>=n.left&&e<=n.right:t>=n.top&&t<=n.bottom},inXRange:function(e){var t=a(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=a(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return o(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},function(e,t){e.exports={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}}},function(e,t,n){"use strict";var r=n(87),i="$chartjs",o="chartjs-",a=o+"render-monitor",s=o+"render-animation",c=["animationstart","webkitAnimationStart"],u={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function l(e,t){var n=r.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var d=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function f(e,t,n){e.addEventListener(t,n,d)}function h(e,t,n){e.removeEventListener(t,n,d)}function p(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function m(e,t,n){var u,l,d,h,m=e[i]||(e[i]={}),v=m.resizer=function(e){var t=document.createElement("div"),n=o+"size-monitor",r="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=r,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+r+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+r+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var i=t.childNodes[0],a=t.childNodes[1];t._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var s=function(){t._reset(),e()};return f(i,"scroll",s.bind(i,"expand")),f(a,"scroll",s.bind(a,"shrink")),t}((u=function(){if(m.resizer)return t(p("resize",n))},d=!1,h=[],function(){h=Array.prototype.slice.call(arguments),l=l||this,d||(d=!0,r.requestAnimFrame.call(window,function(){d=!1,u.apply(l,h)}))}));!function(e,t){var n=e[i]||(e[i]={}),o=n.renderProxy=function(e){e.animationName===s&&t()};r.each(c,function(t){f(e,t,o)}),n.reflow=!!e.offsetParent,e.classList.add(a)}(e,function(){if(m.resizer){var t=e.parentNode;t&&t!==v.parentNode&&t.insertBefore(v,t.firstChild),v._reset()}})}function v(e){var t=e[i]||{},n=t.resizer;delete t.resizer,function(e){var t=e[i]||{},n=t.renderProxy;n&&(r.each(c,function(t){h(e,t,n)}),delete t.renderProxy),e.classList.remove(a)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,r="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes "+s+"{"+r+"}@keyframes "+s+"{"+r+"}."+a+"{-webkit-animation:"+s+" 0.001s;animation:"+s+" 0.001s;}",n=(e=this)._style||document.createElement("style"),e._style||(e._style=n,t="/* Chart.js */\n"+t,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[i]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===o||""===o){var a=l(e,"width");void 0!==a&&(e.width=a)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var s=l(e,"height");void 0!==a&&(e.height=s)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t[i]){var n=t[i].initial;["height","width"].forEach(function(e){var i=n[e];r.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)}),r.each(n.style||{},function(e,n){t.style[n]=e}),t.width=t.width,delete t[i]}},addEventListener:function(e,t,n){var o=e.canvas;if("resize"!==t){var a=n[i]||(n[i]={});f(o,t,(a.proxies||(a.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=u[e.type]||e.type,i=r.getRelativePosition(e,t);return p(n,t,i.x,i.y,e)}(t,e))})}else m(o,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=((n[i]||{}).proxies||{})[e.id+"_"+t];o&&h(r,t,o)}else v(r)}},r.addEvent=f,r.removeEvent=h},function(e,t,n){"use strict";var r=n(1138),i=n(1139),o=n(114),a=n(87),s=n(1140),c=n(465),u=n(1141),l=n(1142),d=n(323),f=n(1143);e.exports=function(e){function t(e){return"top"===e||"bottom"===e}e.types={},e.instances={},e.controllers={},a.extend(e.prototype,{construct:function(t,n){var r=this;n=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=a.configMerge(o.global,o[e.type],e.options||{}),e}(n);var i=u.acquireContext(t,n),s=i&&i.canvas,c=s&&s.height,l=s&&s.width;r.id=a.uid(),r.ctx=i,r.canvas=s,r.config=n,r.width=l,r.height=c,r.aspectRatio=c?l/c:null,r.options=n.options,r._bufferedRender=!1,r.chart=r,r.controller=r,e.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(e){r.config.data=e}}),i&&s?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return l.notify(e,"beforeInit"),a.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),l.notify(e,"afterInit"),e},clear:function(){return a.canvas.clear(this),this},stop:function(){return i.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(a.getMaximumWidth(r))),s=Math.max(0,Math.floor(i?o/i:a.getMaximumHeight(r)));if((t.width!==o||t.height!==s)&&(r.width=t.width=o,r.height=t.height=s,r.style.width=o+"px",r.style.height=s+"px",a.retinaScale(t,n.devicePixelRatio),!e)){var c={width:o,height:s};l.notify(t,"resize",[c]),t.options.onResize&&t.options.onResize(t,c),t.stop(),t.update({duration:t.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;a.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),a.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,n=e.options,r=e.scales||{},i=[],o=Object.keys(r).reduce(function(e,t){return e[t]=!1,e},{});n.scales&&(i=i.concat((n.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),n.scale&&i.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(i,function(n){var i=n.options,s=i.id,c=a.valueOrDefault(i.type,n.dtype);t(i.position)!==t(n.dposition)&&(i.position=n.dposition),o[s]=!0;var u=null;if(s in r&&r[s].type===c)(u=r[s]).options=i,u.ctx=e.ctx,u.chart=e;else{var l=d.getScaleConstructor(c);if(!l)return;u=new l({id:s,type:c,options:i,ctx:e.ctx,chart:e}),r[u.id]=u}u.mergeTicksOptions(),n.isDefault&&(e.scale=u)}),a.each(o,function(e,t){e||delete r[t]}),e.scales=r,d.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,n=[],r=[];return a.each(t.data.datasets,function(i,o){var a=t.getDatasetMeta(o),s=i.type||t.config.type;if(a.type&&a.type!==s&&(t.destroyDatasetMeta(o),a=t.getDatasetMeta(o)),a.type=s,n.push(a.type),a.controller)a.controller.updateIndex(o),a.controller.linkScales();else{var c=e.controllers[a.type];if(void 0===c)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new c(t,o),r.push(a.controller)}},t),r},resetElements:function(){var e=this;a.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.reset()},e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n,r,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),r=(n=i).options,a.each(n.scales,function(e){c.removeBox(n,e)}),r=a.configMerge(e.defaults.global,e.defaults[n.config.type],r),n.options=n.config.options=r,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=r.tooltips,n.tooltip.initialize(),l._invalidate(i),!1!==l.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var o=i.buildOrUpdateControllers();a.each(i.data.datasets,function(e,t){i.getDatasetMeta(t).controller.buildOrUpdateElements()},i),i.updateLayout(),i.options.animation&&i.options.animation.duration&&a.each(o,function(e){e.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],l.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(c.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==l.notify(this,"beforeDatasetUpdate",[n])&&(t.controller.update(),l.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=e.duration,o=e.lazy;if(!1!==l.notify(t,"beforeRender")){var s=t.options.animation,c=function(e){l.notify(t,"afterRender"),a.callback(s&&s.onComplete,[e],t)};if(s&&(void 0!==n&&0!==n||void 0===n&&0!==s.duration)){var u=new r({numSteps:(n||s.duration)/16.66,easing:e.easing||s.easing,render:function(e,t){var n=a.easing.effects[t.easing],r=t.currentStep,i=r/t.numSteps;e.draw(n(i),i,r)},onAnimationProgress:s.onProgress,onAnimationComplete:c});i.addAnimation(t,u,n,o)}else t.draw(),c(new r({numSteps:0,chart:t}));return t}},draw:function(e){var t=this;t.clear(),a.isNullOrUndef(e)&&(e=1),t.transition(e),t.width<=0||t.height<=0||!1!==l.notify(t,"beforeDraw",[e])&&(a.each(t.boxes,function(e){e.draw(t.chartArea)},t),t.scale&&t.scale.draw(),t.drawDatasets(e),t._drawTooltip(e),l.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==l.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;n>=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);l.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this.getDatasetMeta(e),r={meta:n,index:e,easingValue:t};!1!==l.notify(this,"beforeDatasetDraw",[r])&&(n.controller.draw(t),l.notify(this,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return s.modes.single(this,e)},getElementsAtEvent:function(e){return s.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return s.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=s.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return s.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var t,n,r=this,i=r.canvas;for(r.stop(),t=0,n=r.data.datasets.length;t<n;++t)r.destroyDatasetMeta(t);i&&(r.unbindEvents(),a.canvas.clear(r),u.releaseContext(r.ctx),r.canvas=null,r.ctx=null),l.notify(r,"destroy"),delete e.instances[r.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new f({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};a.each(e.options.events,function(r){u.addEventListener(e,r,n),t[r]=n}),e.options.responsive&&(n=function(){e.resize()},u.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,a.each(t,function(t,n){u.removeEventListener(e,n,t)}))},updateHoverStyle:function(e,t,n){var r,i,o,a=n?"setHoverStyle":"removeHoverStyle";for(i=0,o=e.length;i<o;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[a](r)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==l.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),l.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,i.mode,i),a.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!a.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),e.Controller=e}},function(e,t,n){"use strict";var r=n(87);e.exports=function(e){var t=["push","pop","shift","splice","unshift"];function n(e,n){var r=e._chartjs;if(r){var i=r.listeners,o=i.indexOf(n);-1!==o&&i.splice(o,1),i.length>0||(t.forEach(function(t){delete e[t]}),delete e._chartjs)}}e.DatasetController=function(e,t){this.initialize(e,t)},r.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,i,o=this,a=o.getDataset(),s=a.data||(a.data=[]);o._data!==s&&(o._data&&n(o._data,o),i=o,(e=s)._chartjs?e._chartjs.listeners.push(i):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),t.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),o=i.apply(this,t);return r.each(e._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),o}})})),o._data=s),o.resyncElements()},update:r.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},removeHoverStyle:function(e){r.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},o=r.valueAtIndexOrDefault,a=r.getHoverColor,s=e._model;e.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:o(t.hoverBackgroundColor,n,a(s.backgroundColor)),s.borderColor=i.hoverBorderColor?i.hoverBorderColor:o(t.hoverBorderColor,n,a(s.borderColor)),s.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:o(t.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=r.inherits}},function(e,t,n){"use strict";var r=n(87),i=n(466);e.exports=function(e){var t=r.noop;e.LinearScaleBase=i.extend({getRightValue:function(e){return"string"==typeof e?+e:i.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=r.sign(e.min),i=r.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var o=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),o!==a&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:r.valueOrDefault(t.fixedStepSize,t.stepSize)},o=e.ticks=function(e,t){var n,i,o,a=[];if(e.stepSize&&e.stepSize>0)o=e.stepSize;else{var s=r.niceNum(t.max-t.min,!1);o=r.niceNum(s/(e.maxTicks-1),!0),void 0!==(i=e.precision)&&(n=Math.pow(10,i),o=Math.ceil(o*n)/n)}var c=Math.floor(t.min/o)*o,u=Math.ceil(t.max/o)*o;r.isNullOrUndef(e.min)||r.isNullOrUndef(e.max)||!e.stepSize||r.almostWhole((e.max-e.min)/e.stepSize,o/1e3)&&(c=e.min,u=e.max);var l=(u-c)/o;l=r.almostEquals(l,Math.round(l),o/1e3)?Math.round(l):Math.ceil(l),i=1,o<1&&(i=Math.pow(10,1-Math.floor(r.log10(o))),c=Math.round(c*i)/i,u=Math.round(u*i)/i),a.push(void 0!==e.min?e.min:c);for(var d=1;d<l;++d)a.push(Math.round((c+d*o)*i)/i);return a.push(void 0!==e.max?e.max:u),a}(i,e);e.handleDirectionalChanges(),e.max=r.max(o),e.min=r.min(o),t.reverse?(o.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),i.prototype.convertTicksToLabels.call(e)}})}},function(e,t,n){"use strict";var r=n(466),i=n(323);e.exports=function(){var e=r.extend({getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e,t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1,void 0!==t.options.ticks.min&&(e=n.indexOf(t.options.ticks.min),t.minIndex=-1!==e?e:t.minIndex),void 0!==t.options.ticks.max&&(e=n.indexOf(t.options.ticks.max),t.maxIndex=-1!==e?e:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart.data,i=n.isHorizontal();return r.yLabels&&!i?n.getRightValue(r.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t){var n,r=this,i=r.options.offset,o=Math.max(r.maxIndex+1-r.minIndex-(i?0:1),1);if(null!=e&&(n=r.isHorizontal()?e.x:e.y),void 0!==n||void 0!==e&&isNaN(t)){e=n||e;var a=r.getLabels().indexOf(e);t=-1!==a?a:t}if(r.isHorizontal()){var s=r.width/o,c=s*(t-r.minIndex);return i&&(c+=s/2),r.left+Math.round(c)}var u=r.height/o,l=u*(t-r.minIndex);return i&&(l+=u/2),r.top+Math.round(l)},getPixelForTick:function(e){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null)},getValueForPixel:function(e){var t=this,n=t.options.offset,r=Math.max(t._ticks.length-(n?0:1),1),i=t.isHorizontal(),o=(i?t.width:t.height)/r;return e-=i?t.left:t.top,n&&(e-=o/2),(e<=0?0:Math.round(e/o))+t.minIndex},getBasePixel:function(){return this.bottom}});i.registerScaleType("category",e,{position:"bottom"})}},function(e,t,n){"use strict";var r=n(114),i=n(87),o=n(323),a=n(467);e.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.linear}},n=e.LinearScaleBase.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,r=n.data.datasets,o=e.isHorizontal();function a(t){return o?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null;var s=t.stacked;if(void 0===s&&i.each(r,function(e,t){if(!s){var r=n.getDatasetMeta(t);n.isDatasetVisible(t)&&a(r)&&void 0!==r.stack&&(s=!0)}}),t.stacked||s){var c={};i.each(r,function(r,o){var s=n.getDatasetMeta(o),u=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===c[u]&&(c[u]={positiveValues:[],negativeValues:[]});var l=c[u].positiveValues,d=c[u].negativeValues;n.isDatasetVisible(o)&&a(s)&&i.each(r.data,function(n,r){var i=+e.getRightValue(n);isNaN(i)||s.data[r].hidden||(l[r]=l[r]||0,d[r]=d[r]||0,t.relativePoints?l[r]=100:i<0?d[r]+=i:l[r]+=i)})}),i.each(c,function(t){var n=t.positiveValues.concat(t.negativeValues),r=i.min(n),o=i.max(n);e.min=null===e.min?r:Math.min(e.min,r),e.max=null===e.max?o:Math.max(e.max,o)})}else i.each(r,function(t,r){var o=n.getDatasetMeta(r);n.isDatasetVisible(r)&&a(o)&&i.each(t.data,function(t,n){var r=+e.getRightValue(t);isNaN(r)||o.data[n].hidden||(null===e.min?e.min=r:r<e.min&&(e.min=r),null===e.max?e.max=r:r>e.max&&(e.max=r))})});e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=i.valueOrDefault(t.fontSize,r.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,r=+t.getRightValue(e),i=t.end-n;return t.isHorizontal()?t.left+t.width/i*(r-n):t.bottom-t.height/i*(r-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=n?t.width:t.height,i=(n?e-t.left:t.bottom-e)/r;return t.start+(t.end-t.start)*i},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});o.registerScaleType("linear",n,t)}},function(e,t,n){"use strict";var r=n(87),i=n(466),o=n(323),a=n(467);e.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.logarithmic}},n=i.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,i=n.data.datasets,o=e.isHorizontal();function a(t){return o?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null,e.minNotZero=null;var s=t.stacked;if(void 0===s&&r.each(i,function(e,t){if(!s){var r=n.getDatasetMeta(t);n.isDatasetVisible(t)&&a(r)&&void 0!==r.stack&&(s=!0)}}),t.stacked||s){var c={};r.each(i,function(i,o){var s=n.getDatasetMeta(o),u=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");n.isDatasetVisible(o)&&a(s)&&(void 0===c[u]&&(c[u]=[]),r.each(i.data,function(t,n){var r=c[u],i=+e.getRightValue(t);isNaN(i)||s.data[n].hidden||i<0||(r[n]=r[n]||0,r[n]+=i)}))}),r.each(c,function(t){if(t.length>0){var n=r.min(t),i=r.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?i:Math.max(e.max,i)}})}else r.each(i,function(t,i){var o=n.getDatasetMeta(i);n.isDatasetVisible(i)&&a(o)&&r.each(t.data,function(t,n){var r=+e.getRightValue(t);isNaN(r)||o.data[n].hidden||r<0||(null===e.min?e.min=r:r<e.min&&(e.min=r),null===e.max?e.max=r:r>e.max&&(e.max=r),0!==r&&(null===e.minNotZero||r<e.minNotZero)&&(e.minNotZero=r))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=r.valueOrDefault;e.min=n(t.min,e.min),e.max=n(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(r.log10(e.min))-1),e.max=Math.pow(10,Math.floor(r.log10(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(r.log10(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(r.log10(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(r.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},o=e.ticks=function(e,t){var n,i,o=[],a=r.valueOrDefault,s=a(e.min,Math.pow(10,Math.floor(r.log10(t.min)))),c=Math.floor(r.log10(t.max)),u=Math.ceil(t.max/Math.pow(10,c));0===s?(n=Math.floor(r.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),o.push(s),s=i*Math.pow(10,n)):(n=Math.floor(r.log10(s)),i=Math.floor(s/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(s),10==++i&&(i=1,l=++n>=0?1:l),s=Math.round(i*Math.pow(10,n)*l)/l}while(n<c||n===c&&i<u);var d=a(e.max,s);return o.push(d),o}(i,e);e.max=r.max(o),e.min=r.min(o),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&o.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),i.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},_getFirstTickValue:function(e){var t=Math.floor(r.log10(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},getPixelForValue:function(t){var n,i,o,a,s,c=this,u=c.options.ticks.reverse,l=r.log10,d=c._getFirstTickValue(c.minNotZero),f=0;return t=+c.getRightValue(t),u?(o=c.end,a=c.start,s=-1):(o=c.start,a=c.end,s=1),c.isHorizontal()?(n=c.width,i=u?c.right:c.left):(n=c.height,s*=-1,i=u?c.top:c.bottom),t!==o&&(0===o&&(n-=f=r.getValueOrDefault(c.options.ticks.fontSize,e.defaults.global.defaultFontSize),o=d),0!==t&&(f+=n/(l(a)-l(o))*(l(t)-l(o))),i+=s*f),i},getValueForPixel:function(t){var n,i,o,a,s=this,c=s.options.ticks.reverse,u=r.log10,l=s._getFirstTickValue(s.minNotZero);if(c?(i=s.end,o=s.start):(i=s.start,o=s.end),s.isHorizontal()?(n=s.width,a=c?s.right-t:t-s.left):(n=s.height,a=c?t-s.top:s.bottom-t),a!==i){if(0===i){var d=r.getValueOrDefault(s.options.ticks.fontSize,e.defaults.global.defaultFontSize);a-=d,n-=d,i=l}a*=u(o)-u(i),a/=n,a=Math.pow(10,u(i)+a)}return a}});o.registerScaleType("logarithmic",n,t)}},function(e,t,n){"use strict";var r=n(114),i=n(87),o=n(323),a=n(467);e.exports=function(e){var t=r.global,n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function s(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function c(e){var n=e.options.pointLabels,r=i.valueOrDefault(n.fontSize,t.defaultFontSize),o=i.valueOrDefault(n.fontStyle,t.defaultFontStyle),a=i.valueOrDefault(n.fontFamily,t.defaultFontFamily);return{size:r,style:o,family:a,font:i.fontString(r,o,a)}}function u(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function l(e){return 0===e||180===e?"center":e<180?"left":"right"}function d(e,t,n,r){if(i.isArray(t))for(var o=n.y,a=1.5*r,s=0;s<t.length;++s)e.fillText(t[s],n.x,o),o+=a;else e.fillText(t,n.x,n.y)}function f(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function h(e){return i.isNumber(e)?e:0}var p=e.LinearScaleBase.extend({setDimensions:function(){var e=this,n=e.options,r=n.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var o=i.min([e.height,e.width]),a=i.valueOrDefault(r.fontSize,t.defaultFontSize);e.drawingArea=n.display?o/2-(a/2+r.backdropPaddingY):o/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;i.each(t.data.datasets,function(o,a){if(t.isDatasetVisible(a)){var s=t.getDatasetMeta(a);i.each(o.data,function(t,i){var o=+e.getRightValue(t);isNaN(o)||s.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))})}}),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,n=i.valueOrDefault(e.fontSize,t.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,r,o=c(e),a=Math.min(e.height/2,e.width/2),l={r:e.width,l:0,t:e.height,b:0},d={};e.ctx.font=o.font,e._pointLabelSizes=[];var f,h,p,m=s(e);for(t=0;t<m;t++){r=e.getPointPosition(t,a),f=e.ctx,h=o.size,p=e.pointLabels[t]||"",n=i.isArray(p)?{w:i.longestText(f,f.font,p),h:p.length*h+1.5*(p.length-1)*h}:{w:f.measureText(p).width,h:h},e._pointLabelSizes[t]=n;var v=e.getIndexAngle(t),g=i.toDegrees(v)%360,y=u(g,r.x,n.w,0,180),b=u(g,r.y,n.h,90,270);y.start<l.l&&(l.l=y.start,d.l=v),y.end>l.r&&(l.r=y.end,d.r=v),b.start<l.t&&(l.t=b.start,d.t=v),b.end>l.b&&(l.b=b.end,d.b=v)}e.setReductions(a,l,d)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var r=t.l/Math.sin(n.l),i=Math.max(t.r-this.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),a=-Math.max(t.b-this.height,0)/Math.cos(n.b);r=h(r),i=h(i),o=h(o),a=h(a),this.drawingArea=Math.min(Math.round(e-(r+i)/2),Math.round(e-(o+a)/2)),this.setCenterPoint(r,i,o,a)},setCenterPoint:function(e,t,n,r){var i=this,o=i.width-t-i.drawingArea,a=e+i.drawingArea,s=n+i.drawingArea,c=i.height-r-i.drawingArea;i.xCenter=Math.round((a+o)/2+i.left),i.yCenter=Math.round((s+c)/2+i.top)},getIndexAngle:function(e){return e*(2*Math.PI/s(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(n)*t)+this.xCenter,y:Math.round(Math.sin(n)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0)},draw:function(){var e=this,n=e.options,r=n.gridLines,o=n.ticks,a=i.valueOrDefault;if(n.display){var u=e.ctx,h=this.getIndexAngle(0),p=a(o.fontSize,t.defaultFontSize),m=a(o.fontStyle,t.defaultFontStyle),v=a(o.fontFamily,t.defaultFontFamily),g=i.fontString(p,m,v);i.each(e.ticks,function(n,c){if(c>0||o.reverse){var l=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]);if(r.display&&0!==c&&function(e,t,n,r){var o=e.ctx;if(o.strokeStyle=i.valueAtIndexOrDefault(t.color,r-1),o.lineWidth=i.valueAtIndexOrDefault(t.lineWidth,r-1),e.options.gridLines.circular)o.beginPath(),o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=s(e);if(0===a)return;o.beginPath();var c=e.getPointPosition(0,n);o.moveTo(c.x,c.y);for(var u=1;u<a;u++)c=e.getPointPosition(u,n),o.lineTo(c.x,c.y);o.closePath(),o.stroke()}}(e,r,l,c),o.display){var d=a(o.fontColor,t.defaultFontColor);if(u.font=g,u.save(),u.translate(e.xCenter,e.yCenter),u.rotate(h),o.showLabelBackdrop){var f=u.measureText(n).width;u.fillStyle=o.backdropColor,u.fillRect(-f/2-o.backdropPaddingX,-l-p/2-o.backdropPaddingY,f+2*o.backdropPaddingX,p+2*o.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=d,u.fillText(n,0,-l),u.restore()}}}),(n.angleLines.display||n.pointLabels.display)&&function(e){var n=e.ctx,r=e.options,o=r.angleLines,a=r.pointLabels;n.lineWidth=o.lineWidth,n.strokeStyle=o.color;var u=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),h=c(e);n.textBaseline="top";for(var p=s(e)-1;p>=0;p--){if(o.display){var m=e.getPointPosition(p,u);n.beginPath(),n.moveTo(e.xCenter,e.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(a.display){var v=e.getPointPosition(p,u+5),g=i.valueAtIndexOrDefault(a.fontColor,p,t.defaultFontColor);n.font=h.font,n.fillStyle=g;var y=e.getIndexAngle(p),b=i.toDegrees(y);n.textAlign=l(b),f(b,e._pointLabelSizes[p],v),d(n,e.pointLabels[p]||"",v,h.size)}}}(e)}}});o.registerScaleType("radialLinear",p,n)}},function(e,t,n){"use strict";var r=n(358);r="function"==typeof r?r:window.moment;var i=n(114),o=n(87),a=n(466),s=n(323),c=Number.MIN_SAFE_INTEGER||-9007199254740991,u=Number.MAX_SAFE_INTEGER||9007199254740991,l={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},d=Object.keys(l);function f(e,t){return e-t}function h(e){var t,n,r,i={},o=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,o.push(r));return o}function p(e,t,n,r){var i=function(e,t,n){for(var r,i,o,a=0,s=e.length-1;a>=0&&a<=s;){if(i=e[(r=a+s>>1)-1]||null,o=e[r],!i)return{lo:null,hi:o};if(o[t]<n)a=r+1;else{if(!(i[t]>n))return{lo:i,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=i.lo?i.hi?i.lo:e[e.length-2]:e[0],a=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=a[t]-o[t],c=s?(n-o[t])/s:0,u=(a[r]-o[r])*c;return o[r]+u}function m(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?r(e,i):(e instanceof r||(e=r(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function v(e,t){if(o.isNullOrUndef(e))return null;var n=t.options.time,r=m(t.getRightValue(e),n);return r.isValid()?(n.round&&r.startOf(n.round),r.valueOf()):null}function g(e){for(var t=d.indexOf(e)+1,n=d.length;t<n;++t)if(l[d[t]].common)return d[t]}function y(e,t,n,i){var a,s=i.time,c=s.unit||function(e,t,n,r){var i,o,a,s=d.length;for(i=d.indexOf(e);i<s-1;++i)if(a=(o=l[d[i]]).steps?o.steps[o.steps.length-1]:u,o.common&&Math.ceil((n-t)/(a*o.size))<=r)return d[i];return d[s-1]}(s.minUnit,e,t,n),f=g(c),h=o.valueOrDefault(s.stepSize,s.unitStepSize),p="week"===c&&s.isoWeekday,m=i.ticks.major.enabled,v=l[c],y=r(e),b=r(t),_=[];for(h||(h=function(e,t,n,r){var i,o,a,s=t-e,c=l[n],u=c.size,d=c.steps;if(!d)return Math.ceil(s/(r*u));for(i=0,o=d.length;i<o&&(a=d[i],!(Math.ceil(s/(u*a))<=r));++i);return a}(e,t,c,n)),p&&(y=y.isoWeekday(p),b=b.isoWeekday(p)),y=y.startOf(p?"day":c),(b=b.startOf(p?"day":c))<t&&b.add(1,c),a=r(y),m&&f&&!p&&!s.round&&(a.startOf(f),a.add(~~((y-a)/(v.size*h))*h,c));a<b;a.add(h,c))_.push(+a);return _.push(+a),_}e.exports=function(){var e=a.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),a.prototype.initialize.call(this)},update:function(){var e=this.options;return e.time&&e.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),a.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),a.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,a,s,l=this,d=l.chart,p=l.options.time,m=p.unit||"day",g=u,y=c,b=[],_=[],w=[];for(e=0,n=d.data.labels.length;e<n;++e)w.push(v(d.data.labels[e],l));for(e=0,n=(d.data.datasets||[]).length;e<n;++e)if(d.isDatasetVisible(e))if(a=d.data.datasets[e].data,o.isObject(a[0]))for(_[e]=[],t=0,i=a.length;t<i;++t)s=v(a[t],l),b.push(s),_[e][t]=s;else b.push.apply(b,w),_[e]=w.slice(0);else _[e]=[];w.length&&(w=h(w).sort(f),g=Math.min(g,w[0]),y=Math.max(y,w[w.length-1])),b.length&&(b=h(b).sort(f),g=Math.min(g,b[0]),y=Math.max(y,b[b.length-1])),g=v(p.min,l)||g,y=v(p.max,l)||y,g=g===u?+r().startOf(m):g,y=y===c?+r().endOf(m)+1:y,l.min=Math.min(g,y),l.max=Math.max(g+1,y),l._horizontal=l.isHorizontal(),l._table=[],l._timestamps={data:b,datasets:_,labels:w}},buildTicks:function(){var e,t,n,i=this,o=i.min,a=i.max,s=i.options,c=s.time,u=[],f=[];switch(s.ticks.source){case"data":u=i._timestamps.data;break;case"labels":u=i._timestamps.labels;break;case"auto":default:u=y(o,a,i.getLabelCapacity(o),s)}for("ticks"===s.bounds&&u.length&&(o=u[0],a=u[u.length-1]),o=v(c.min,i)||o,a=v(c.max,i)||a,e=0,t=u.length;e<t;++e)(n=u[e])>=o&&n<=a&&f.push(n);return i.min=o,i.max=a,i._unit=c.unit||function(e,t,n,i){var o,a,s=r.duration(r(i).diff(r(n)));for(o=d.length-1;o>=d.indexOf(t);o--)if(a=d[o],l[a].common&&s.as(a)>=e.length)return a;return d[t?d.indexOf(t):0]}(f,c.minUnit,i.min,i.max),i._majorUnit=g(i._unit),i._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,o,a,s,c,u=[],l=[t];for(i=0,o=e.length;i<o;++i)(s=e[i])>t&&s<n&&l.push(s);for(l.push(n),i=0,o=l.length;i<o;++i)c=l[i+1],a=l[i-1],s=l[i],void 0!==a&&void 0!==c&&Math.round((c+a)/2)===s||u.push({time:s,pos:i/(o-1)});return u}(i._timestamps.data,o,a,s.distribution),i._offsets=function(e,t,n,r,i){var o,a,s=0,c=0;return i.offset&&t.length&&(i.time.min||(o=t.length>1?t[1]:r,a=t[0],s=(p(e,"time",o,"pos")-p(e,"time",a,"pos"))/2),i.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,c=(p(e,"time",o,"pos")-p(e,"time",a,"pos"))/2)),{left:s,right:c}}(i._table,f,o,a,s),i._labelFormat=function(e,t){var n,r,i,o=e.length;for(n=0;n<o;n++){if(0!==(r=m(e[n],t)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===r.second()&&0===r.minute()&&0===r.hour()||(i=!0)}return i?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(i._timestamps.data,c),function(e,t){var n,i,o,a,s=[];for(n=0,i=e.length;n<i;++n)o=e[n],a=!!t&&o===+r(o).startOf(t),s.push({value:o,major:a});return s}(f,i._majorUnit)},getLabelForIndex:function(e,t){var n=this.chart.data,r=this.options.time,i=n.labels&&e<n.labels.length?n.labels[e]:"",a=n.datasets[t].data[e];return o.isObject(a)&&(i=this.getRightValue(a)),r.tooltipFormat?m(i,r).format(r.tooltipFormat):"string"==typeof i?i:m(i,r).format(this._labelFormat)},tickFormatFunction:function(e,t,n,r){var i=this.options,a=e.valueOf(),s=i.time.displayFormats,c=s[this._unit],u=this._majorUnit,l=s[u],d=e.clone().startOf(u).valueOf(),f=i.ticks.major,h=f.enabled&&u&&l&&a===d,p=e.format(r||(h?l:c)),m=h?f:i.ticks.minor,v=o.valueOrDefault(m.callback,m.userCallback);return v?v(p,t,n):p},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(r(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,r=t._horizontal?t.left:t.top,i=p(t._table,"time",e,"pos");return r+n*(t._offsets.left+i)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=v(e,this)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,o=(n?(e-i)/n:0)*(t._offsets.left+1+t._offsets.left)-t._offsets.right,a=p(t._table,"pos",o,"time");return r(a)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=o.toRadians(t.maxRotation),a=Math.cos(r),s=Math.sin(r);return n*a+o.valueOrDefault(t.fontSize,i.global.defaultFontSize)*s},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(r(e),0,[],n),o=t.getLabelWidth(i),a=t.isHorizontal()?t.width:t.height,s=Math.floor(a/o);return s>0?s:1}});s.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},function(e,t,n){var r={"./en-au":1144,"./en-au.js":1144,"./en-ca":1145,"./en-ca.js":1145,"./en-gb":1146,"./en-gb.js":1146,"./en-ie":1147,"./en-ie.js":1147,"./en-il":1148,"./en-il.js":1148,"./en-nz":1149,"./en-nz.js":1149};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=2289},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),r._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:i.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getMeta(),s=r.getDataset(),c=e.custom||{},u=i.options.elements.rectangle;e._xScale=r.getScaleForId(a.xAxisID),e._yScale=r.getScaleForId(a.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={datasetLabel:s.label,label:i.data.labels[t],borderSkipped:c.borderSkipped?c.borderSkipped:u.borderSkipped,backgroundColor:c.backgroundColor?c.backgroundColor:o.valueAtIndexOrDefault(s.backgroundColor,t,u.backgroundColor),borderColor:c.borderColor?c.borderColor:o.valueAtIndexOrDefault(s.borderColor,t,u.borderColor),borderWidth:c.borderWidth?c.borderWidth:o.valueAtIndexOrDefault(s.borderWidth,t,u.borderWidth)},r.updateElementGeometry(e,t,n),e.pivot()},updateElementGeometry:function(e,t,n){var r=this,i=e._model,o=r.getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),c=r._ruler||r.getRuler(),u=r.calculateBarValuePixels(r.index,t),l=r.calculateBarIndexPixels(r.index,t,c);i.horizontal=s,i.base=n?a:u.base,i.x=s?n?a:u.head:l.center,i.y=s?l.center:n?a:u.head,i.height=s?l.size:void 0,i.width=s?void 0:l.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(e){var t,n,r=this.chart,i=this.getIndexScale().options.stacked,o=void 0===e?r.data.datasets.length:e+1,a=[];for(t=0;t<o;++t)(n=r.getDatasetMeta(t)).bar&&r.isDatasetVisible(t)&&(!1===i||!0===i&&-1===a.indexOf(n.stack)||void 0===i&&(void 0===n.stack||-1===a.indexOf(n.stack)))&&a.push(n.stack);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this.getIndexScale(),r=this.getStackCount(),i=this.index,a=n.isHorizontal(),s=a?n.left:n.top,c=s+(a?n.width:n.height),u=[];for(e=0,t=this.getMeta().data.length;e<t;++e)u.push(n.getPixelForValue(null,e,i));return{min:o.isNullOrUndef(n.options.barThickness)?function(e,t){var n,r,i,o,a=e.isHorizontal()?e.width:e.height,s=e.getTicks();for(i=1,o=t.length;i<o;++i)a=Math.min(a,t[i]-t[i-1]);for(i=0,o=s.length;i<o;++i)r=e.getPixelForTick(i),a=i>0?Math.min(a,r-n):a,n=r;return a}(n,u):-1,pixels:u,start:s,end:c,stackCount:r,scale:n}},calculateBarValuePixels:function(e,t){var n,r,i,o,a,s,c=this.chart,u=this.getMeta(),l=this.getValueScale(),d=c.data.datasets,f=l.getRightValue(d[e].data[t]),h=l.options.stacked,p=u.stack,m=0;if(h||void 0===h&&void 0!==p)for(n=0;n<e;++n)(r=c.getDatasetMeta(n)).bar&&r.stack===p&&r.controller.getValueScaleId()===l.id&&c.isDatasetVisible(n)&&(i=l.getRightValue(d[n].data[t]),(f<0&&i<0||f>=0&&i>0)&&(m+=i));return o=l.getPixelForValue(m),{size:s=((a=l.getPixelForValue(m+f))-o)/2,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(e,t,n){var r=n.scale.options,i="flex"===r.barThickness?function(e,t,n){var r,i=t.pixels,o=i[e],a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,c=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-o:s-o)),null===s&&(s=o+o-a),r=o-(o-a)/2*c,{chunk:(s-a)/2*c/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):function(e,t,n){var r,i,a=n.barThickness,s=t.stackCount,c=t.pixels[e];return o.isNullOrUndef(a)?(r=t.min*n.categoryPercentage,i=n.barPercentage):(r=a*s,i=1),{chunk:r/s,ratio:i,start:c-r/2}}(t,n,r),a=this.getStackIndex(e,this.getMeta().stack),s=i.start+i.chunk*a+i.chunk/2,c=Math.min(o.valueOrDefault(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-c/2,head:s+c/2,center:s,size:c}},draw:function(){var e=this.chart,t=this.getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,a=0;for(o.canvas.clipArea(e.ctx,e.chartArea);a<i;++a)isNaN(t.getRightValue(r.data[a]))||n[a].draw();o.canvas.unclipArea(e.ctx)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}}),e.exports=function(e){e.controllers.bubble=e.DatasetController.extend({dataElementType:i.Point,update:function(e){var t=this,n=t.getMeta().data;o.each(n,function(n,r){t.updateElement(n,r,e)})},updateElement:function(e,t,n){var r=this,i=r.getMeta(),o=e.custom||{},a=r.getScaleForId(i.xAxisID),s=r.getScaleForId(i.yAxisID),c=r._resolveElementOptions(e,t),u=r.getDataset().data[t],l=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,t,l),f=n?s.getBasePixel():s.getPixelForValue(u,t,l);e._xScale=a,e._yScale=s,e._options=c,e._datasetIndex=l,e._index=t,e._model={backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,hitRadius:c.hitRadius,pointStyle:c.pointStyle,rotation:c.rotation,radius:n?0:c.radius,skip:o.skip||isNaN(d)||isNaN(f),x:d,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=o.valueOrDefault(n.hoverBackgroundColor,o.getHoverColor(n.backgroundColor)),t.borderColor=o.valueOrDefault(n.hoverBorderColor,o.getHoverColor(n.borderColor)),t.borderWidth=o.valueOrDefault(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveElementOptions:function(e,t){var n,r,i,a=this.chart,s=a.data.datasets[this.index],c=e.custom||{},u=a.options.elements.point,l=o.options.resolve,d=s.data[t],f={},h={chart:a,dataIndex:t,dataset:s,datasetIndex:this.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(n=0,r=p.length;n<r;++n)f[i=p[n]]=l([c[i],s[i],u[i]],h,t);return f.radius=l([c.radius,d?d.r:void 0,s.radius,u.radius],h,t),f}})}},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)t.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&t.push(i[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map(function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r],c=s&&s.custom||{},u=o.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:c.backgroundColor?c.backgroundColor:u(a.backgroundColor,r,l.backgroundColor),strokeStyle:c.borderColor?c.borderColor:u(a.borderColor,r,l.borderColor),lineWidth:c.borderWidth?c.borderWidth:u(a.borderWidth,r,l.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o]&&(i.data[o].hidden=!i.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return o.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}}),r._set("pie",o.clone(r.doughnut)),r._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:i.Arc,linkScales:o.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t=this,n=t.chart,r=n.chartArea,i=n.options,a=i.elements.arc,s=r.right-r.left-a.borderWidth,c=r.bottom-r.top-a.borderWidth,u=Math.min(s,c),l={x:0,y:0},d=t.getMeta(),f=i.cutoutPercentage,h=i.circumference;if(h<2*Math.PI){var p=i.rotation%(2*Math.PI),m=(p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0))+h,v={x:Math.cos(p),y:Math.sin(p)},g={x:Math.cos(m),y:Math.sin(m)},y=p<=0&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,b=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,_=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,w=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,x=f/100,k={x:_?-1:Math.min(v.x*(v.x<0?1:x),g.x*(g.x<0?1:x)),y:w?-1:Math.min(v.y*(v.y<0?1:x),g.y*(g.y<0?1:x))},E={x:y?1:Math.max(v.x*(v.x>0?1:x),g.x*(g.x>0?1:x)),y:b?1:Math.max(v.y*(v.y>0?1:x),g.y*(g.y>0?1:x))},S={width:.5*(E.x-k.x),height:.5*(E.y-k.y)};u=Math.min(s/S.width,c/S.height),l={x:-.5*(E.x+k.x),y:-.5*(E.y+k.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(f?n.outerRadius/100*f:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=l.x*n.outerRadius,n.offsetY=l.y*n.outerRadius,d.total=t.calculateTotal(),t.outerRadius=n.outerRadius-n.radiusLength*t.getRingIndex(t.index),t.innerRadius=Math.max(t.outerRadius-n.radiusLength,0),o.each(d.data,function(n,r){t.updateElement(n,r,e)})},updateElement:function(e,t,n){var r=this,i=r.chart,a=i.chartArea,s=i.options,c=s.animation,u=(a.left+a.right)/2,l=(a.top+a.bottom)/2,d=s.rotation,f=s.rotation,h=r.getDataset(),p=n&&c.animateRotate?0:e.hidden?0:r.calculateCircumference(h.data[t])*(s.circumference/(2*Math.PI)),m=n&&c.animateScale?0:r.innerRadius,v=n&&c.animateScale?0:r.outerRadius,g=o.valueAtIndexOrDefault;o.extend(e,{_datasetIndex:r.index,_index:t,_model:{x:u+i.offsetX,y:l+i.offsetY,startAngle:d,endAngle:f,circumference:p,outerRadius:v,innerRadius:m,label:g(h.label,t,i.data.labels[t])}});var y=e._model,b=e.custom||{},_=o.valueAtIndexOrDefault,w=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:_(h.backgroundColor,t,w.backgroundColor),y.borderColor=b.borderColor?b.borderColor:_(h.borderColor,t,w.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:_(h.borderWidth,t,w.borderWidth),n&&c.animateRotate||(y.startAngle=0===t?s.rotation:r.getMeta().data[t-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return o.each(n.data,function(n,i){e=t.data[i],isNaN(e)||n.hidden||(r+=Math.abs(e))}),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,i=this.index,o=e.length,a=0;a<o;a++)t=e[a]._model?e[a]._model.borderWidth:0,r=(n=e[a]._chart?e[a]._chart.config.data.datasets[i].hoverBorderWidth:0)>(r=t>r?t:r)?n:r;return r}})}},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(e){function t(e,t){return o.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,update:function(e){var n,r,i,a=this,s=a.getMeta(),c=s.dataset,u=s.data||[],l=a.chart.options,d=l.elements.line,f=a.getScaleForId(s.yAxisID),h=a.getDataset(),p=t(h,l);for(p&&(i=c.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),c._scale=f,c._datasetIndex=a.index,c._children=u,c._model={spanGaps:h.spanGaps?h.spanGaps:l.spanGaps,tension:i.tension?i.tension:o.valueOrDefault(h.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:h.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:h.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:h.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:h.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:h.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:h.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:h.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==h.fill?h.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:o.valueOrDefault(h.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:o.valueOrDefault(h.cubicInterpolationMode,d.cubicInterpolationMode)},c.pivot()),n=0,r=u.length;n<r;++n)a.updateElement(u[n],n,e);for(p&&0!==c._model.tension&&a.updateBezierControlPoints(),n=0,r=u.length;n<r;++n)u[n].pivot()},getPointBackgroundColor:function(e,t){var n=this.chart.options.elements.point.backgroundColor,r=this.getDataset(),i=e.custom||{};return i.backgroundColor?n=i.backgroundColor:r.pointBackgroundColor?n=o.valueAtIndexOrDefault(r.pointBackgroundColor,t,n):r.backgroundColor&&(n=r.backgroundColor),n},getPointBorderColor:function(e,t){var n=this.chart.options.elements.point.borderColor,r=this.getDataset(),i=e.custom||{};return i.borderColor?n=i.borderColor:r.pointBorderColor?n=o.valueAtIndexOrDefault(r.pointBorderColor,t,n):r.borderColor&&(n=r.borderColor),n},getPointBorderWidth:function(e,t){var n=this.chart.options.elements.point.borderWidth,r=this.getDataset(),i=e.custom||{};return isNaN(i.borderWidth)?!isNaN(r.pointBorderWidth)||o.isArray(r.pointBorderWidth)?n=o.valueAtIndexOrDefault(r.pointBorderWidth,t,n):isNaN(r.borderWidth)||(n=r.borderWidth):n=i.borderWidth,n},getPointRotation:function(e,t){var n=this.chart.options.elements.point.rotation,r=this.getDataset(),i=e.custom||{};return isNaN(i.rotation)?isNaN(r.pointRotation)&&!o.isArray(r.pointRotation)||(n=o.valueAtIndexOrDefault(r.pointRotation,t,n)):n=i.rotation,n},updateElement:function(e,t,n){var r,i,a=this,s=a.getMeta(),c=e.custom||{},u=a.getDataset(),l=a.index,d=u.data[t],f=a.getScaleForId(s.yAxisID),h=a.getScaleForId(s.xAxisID),p=a.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),r=h.getPixelForValue("object"==typeof d?d:NaN,t,l),i=n?f.getBasePixel():a.calculatePointY(d,t,l),e._xScale=h,e._yScale=f,e._datasetIndex=l,e._index=t,e._model={x:r,y:i,skip:c.skip||isNaN(r)||isNaN(i),radius:c.radius||o.valueAtIndexOrDefault(u.pointRadius,t,p.radius),pointStyle:c.pointStyle||o.valueAtIndexOrDefault(u.pointStyle,t,p.pointStyle),rotation:a.getPointRotation(e,t),backgroundColor:a.getPointBackgroundColor(e,t),borderColor:a.getPointBorderColor(e,t),borderWidth:a.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:c.hitRadius||o.valueAtIndexOrDefault(u.pointHitRadius,t,p.hitRadius)}},calculatePointY:function(e,t,n){var r,i,o,a=this.chart,s=this.getMeta(),c=this.getScaleForId(s.yAxisID),u=0,l=0;if(c.options.stacked){for(r=0;r<n;r++)if(i=a.data.datasets[r],"line"===(o=a.getDatasetMeta(r)).type&&o.yAxisID===c.id&&a.isDatasetVisible(r)){var d=Number(c.getRightValue(i.data[t]));d<0?l+=d||0:u+=d||0}var f=Number(c.getRightValue(e));return f<0?c.getPixelForValue(l+f):c.getPixelForValue(u+f)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,s=i.data||[];function c(e,t,n){return Math.max(Math.min(e,n),t)}if(i.dataset._model.spanGaps&&(s=s.filter(function(e){return!e._model.skip})),"monotone"===i.dataset._model.cubicInterpolationMode)o.splineCurveMonotone(s);else for(e=0,t=s.length;e<t;++e)n=s[e]._model,r=o.splineCurve(o.previousItem(s,e)._model,n,o.nextItem(s,e)._model,i.dataset._model.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(this.chart.options.elements.line.capBezierPoints)for(e=0,t=s.length;e<t;++e)(n=s[e]._model).controlPointPreviousX=c(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=c(n.controlPointPreviousY,a.top,a.bottom),n.controlPointNextX=c(n.controlPointNextX,a.left,a.right),n.controlPointNextY=c(n.controlPointNextY,a.top,a.bottom)},draw:function(){var e,n=this.chart,r=this.getMeta(),i=r.data||[],a=n.chartArea,s=i.length,c=0;for(t(this.getDataset(),n.options)&&(e=(r.dataset._model.borderWidth||0)/2,o.canvas.clipArea(n.ctx,{left:a.left,right:a.right,top:a.top-e,bottom:a.bottom+e}),r.dataset.draw(),o.canvas.unclipArea(n.ctx));c<s;++c)i[c].draw(a)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth,radius:i.radius},i.backgroundColor=r.hoverBackgroundColor||o.valueAtIndexOrDefault(t.pointHoverBackgroundColor,n,o.getHoverColor(i.backgroundColor)),i.borderColor=r.hoverBorderColor||o.valueAtIndexOrDefault(t.pointHoverBorderColor,n,o.getHoverColor(i.borderColor)),i.borderWidth=r.hoverBorderWidth||o.valueAtIndexOrDefault(t.pointHoverBorderWidth,n,i.borderWidth),i.radius=r.hoverRadius||o.valueAtIndexOrDefault(t.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius)}})}},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)t.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&t.push(i[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map(function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r].custom||{},c=o.valueAtIndexOrDefault,u=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:c(a.backgroundColor,r,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:c(a.borderColor,r,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:c(a.borderWidth,r,u.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o].hidden=!i.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:i.Arc,linkScales:o.noop,update:function(e){var t,n,r,i=this,a=i.getDataset(),s=i.getMeta(),c=i.chart.options.startAngle||0,u=i._starts=[],l=i._angles=[];for(i._updateRadius(),s.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)u[t]=c,r=i._computeAngle(t),l[t]=r,c+=r;o.each(s.data,function(t,n){i.updateElement(t,n,e)})},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,i=r.elements.arc,o=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max((o-i.borderWidth/2)/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getDataset(),s=i.options,c=s.animation,u=i.scale,l=i.data.labels,d=u.xCenter,f=u.yCenter,h=s.startAngle,p=e.hidden?0:u.getDistanceFromCenterForValue(a.data[t]),m=r._starts[t],v=m+(e.hidden?0:r._angles[t]),g=c.animateScale?0:u.getDistanceFromCenterForValue(a.data[t]);o.extend(e,{_datasetIndex:r.index,_index:t,_scale:u,_model:{x:d,y:f,innerRadius:0,outerRadius:n?g:p,startAngle:n&&c.animateRotate?h:m,endAngle:n&&c.animateRotate?h:v,label:o.valueAtIndexOrDefault(l,t,l[t])}});var y=this.chart.options.elements.arc,b=e.custom||{},_=o.valueAtIndexOrDefault,w=e._model;w.backgroundColor=b.backgroundColor?b.backgroundColor:_(a.backgroundColor,t,y.backgroundColor),w.borderColor=b.borderColor?b.borderColor:_(a.borderColor,t,y.borderColor),w.borderWidth=b.borderWidth?b.borderWidth:_(a.borderWidth,t,y.borderWidth),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return o.each(t.data,function(t,r){isNaN(e.data[r])||t.hidden||n++}),n},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),i=t.getMeta();if(isNaN(r.data[e])||i.data[e].hidden)return 0;var a={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return o.options.resolve([t.chart.options.elements.arc.angle,2*Math.PI/n],a,e)}})}},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(e){e.controllers.radar=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,linkScales:o.noop,update:function(e){var t=this,n=t.getMeta(),r=n.dataset,i=n.data,a=r.custom||{},s=t.getDataset(),c=t.chart.options.elements.line,u=t.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o.extend(n.dataset,{_datasetIndex:t.index,_scale:u,_children:i,_loop:!0,_model:{tension:a.tension?a.tension:o.valueOrDefault(s.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||c.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:c.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||c.borderJoinStyle}}),n.dataset.pivot(),o.each(i,function(n,r){t.updateElement(n,r,e)},t),t.updateBezierControlPoints()},updateElement:function(e,t,n){var r=this,i=e.custom||{},a=r.getDataset(),s=r.chart.scale,c=r.chart.options.elements.point,u=s.getPointPositionForValue(t,a.data[t]);void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),o.extend(e,{_datasetIndex:r.index,_index:t,_scale:s,_model:{x:n?s.xCenter:u.x,y:n?s.yCenter:u.y,tension:i.tension?i.tension:o.valueOrDefault(a.lineTension,r.chart.options.elements.line.tension),radius:i.radius?i.radius:o.valueAtIndexOrDefault(a.pointRadius,t,c.radius),backgroundColor:i.backgroundColor?i.backgroundColor:o.valueAtIndexOrDefault(a.pointBackgroundColor,t,c.backgroundColor),borderColor:i.borderColor?i.borderColor:o.valueAtIndexOrDefault(a.pointBorderColor,t,c.borderColor),borderWidth:i.borderWidth?i.borderWidth:o.valueAtIndexOrDefault(a.pointBorderWidth,t,c.borderWidth),pointStyle:i.pointStyle?i.pointStyle:o.valueAtIndexOrDefault(a.pointStyle,t,c.pointStyle),rotation:i.rotation?i.rotation:o.valueAtIndexOrDefault(a.pointRotation,t,c.rotation),hitRadius:i.hitRadius?i.hitRadius:o.valueAtIndexOrDefault(a.pointHitRadius,t,c.hitRadius)}}),e._model.skip=i.skip?i.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,t=this.getMeta();o.each(t.data,function(n,r){var i=n._model,a=o.splineCurve(o.previousItem(t.data,r,!0)._model,i,o.nextItem(t.data,r,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(a.previous.x,e.right),e.left),i.controlPointPreviousY=Math.max(Math.min(a.previous.y,e.bottom),e.top),i.controlPointNextX=Math.max(Math.min(a.next.x,e.right),e.left),i.controlPointNextY=Math.max(Math.min(a.next.y,e.bottom),e.top),n.pivot()})},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},r=e._index,i=e._model;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth,radius:i.radius},i.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(t.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),i.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(t.pointHoverBackgroundColor,r,o.getHoverColor(i.backgroundColor)),i.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(t.pointHoverBorderColor,r,o.getHoverColor(i.borderColor)),i.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(t.pointHoverBorderWidth,r,i.borderWidth)}})}},function(e,t,n){"use strict";n(114)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),e.exports=function(e){e.controllers.scatter=e.controllers.line}},function(e,t,n){"use strict";e.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},function(e,t,n){"use strict";e.exports={},e.exports.filler=n(2305),e.exports.legend=n(2306),e.exports.title=n(2307)},function(e,t,n){"use strict";var r=n(114),i=n(324),o=n(87);r._set("global",{plugins:{filler:{propagate:!0}}});var a={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],o=i.length||0;return o?function(e,t){return t<o&&i[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function s(e,t,n){var r,i=e._model||{},o=i.fill;if(void 0===o&&(o=!!i.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function c(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePosition?o=r.getBasePosition():r.getBasePixel&&(o=r.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(t=r.isHorizontal())?o:null,y:t?null:o}}return null}function u(e,t,n){var r,i=e[t].fill,o=[t];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function l(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),a[n](e))}function d(e){return e&&!e.skip}function f(e,t,n,r,i){var a;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)o.canvas.lineTo(e,t[a-1],t[a]);for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;a>0;--a)o.canvas.lineTo(e,n[a],n[a-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,o,a,d=(e.data.datasets||[]).length,f=t.propagate,h=[];for(r=0;r<d;++r)a=null,(o=(n=e.getDatasetMeta(r)).dataset)&&o._model&&o instanceof i.Line&&(a={visible:e.isDatasetVisible(r),fill:s(o,r,d),chart:e,el:o}),n.$filler=a,h.push(a);for(r=0;r<d;++r)(a=h[r])&&(a.fill=u(h,r,f),a.boundary=c(a),a.mapper=l(a))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var i=e.ctx,a=n.el,s=a._view,c=a._children||[],u=n.mapper,l=s.backgroundColor||r.global.defaultColor;u&&l&&c.length&&(o.canvas.clipArea(i,e.chartArea),function(e,t,n,r,i,o){var a,s,c,u,l,h,p,m=t.length,v=r.spanGaps,g=[],y=[],b=0,_=0;for(e.beginPath(),a=0,s=m+!!o;a<s;++a)l=n(u=t[c=a%m]._view,c,r),h=d(u),p=d(l),h&&p?(b=g.push(u),_=y.push(l)):b&&_&&(v?(h&&g.push(u),p&&y.push(l)):(f(e,g,y,b,_),b=_=0,g=[],y=[]));f(e,g,y,b,_),e.closePath(),e.fillStyle=i,e.fill()}(i,c,u,s,l,a._loop),o.canvas.unclipArea(i))}}}},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87),a=n(465),s=o.noop;function c(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}r._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data;return o.isArray(t.datasets)?t.datasets.map(function(t,n){return{text:t.label,fillStyle:o.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!e.isDatasetVisible(n),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:n}},this):[]}}},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}});var u=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var e=this,t=e.options.labels||{},n=o.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter(function(n){return t.filter(n,e.chart.data)})),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,a=e.ctx,s=r.global,u=o.valueOrDefault,l=u(n.fontSize,s.defaultFontSize),d=u(n.fontStyle,s.defaultFontStyle),f=u(n.fontFamily,s.defaultFontFamily),h=o.fontString(l,d,f),p=e.legendHitBoxes=[],m=e.minSize,v=e.isHorizontal();if(v?(m.width=e.maxWidth,m.height=i?10:0):(m.width=i?10:0,m.height=e.maxHeight),i)if(a.font=h,v){var g=e.lineWidths=[0],y=e.legendItems.length?l+n.padding:0;a.textAlign="left",a.textBaseline="top",o.each(e.legendItems,function(t,r){var i=c(n,l)+l/2+a.measureText(t.text).width;g[g.length-1]+i+n.padding>=e.width&&(y+=l+n.padding,g[g.length]=e.left),p[r]={left:0,top:0,width:i,height:l},g[g.length-1]+=i+n.padding}),m.height+=y}else{var b=n.padding,_=e.columnWidths=[],w=n.padding,x=0,k=0,E=l+b;o.each(e.legendItems,function(e,t){var r=c(n,l)+l/2+a.measureText(e.text).width;k+E>m.height&&(w+=x+n.padding,_.push(x),x=0,k=0),x=Math.max(x,r),k+=E,p[t]={left:0,top:0,width:r,height:l}}),w+=x,_.push(x),m.width+=w}e.width=m.width,e.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=r.global,a=i.elements.line,s=e.width,u=e.lineWidths;if(t.display){var l,d=e.ctx,f=o.valueOrDefault,h=f(n.fontColor,i.defaultFontColor),p=f(n.fontSize,i.defaultFontSize),m=f(n.fontStyle,i.defaultFontStyle),v=f(n.fontFamily,i.defaultFontFamily),g=o.fontString(p,m,v);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=h,d.fillStyle=h,d.font=g;var y=c(n,p),b=e.legendHitBoxes,_=e.isHorizontal();l=_?{x:e.left+(s-u[0])/2,y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+n.padding,line:0};var w=p+n.padding;o.each(e.legendItems,function(r,c){var h=d.measureText(r.text).width,m=y+p/2+h,v=l.x,g=l.y;_?v+m>=s&&(g=l.y+=w,l.line++,v=l.x=e.left+(s-u[l.line])/2):g+w>e.bottom&&(v=l.x=v+e.columnWidths[l.line]+n.padding,g=l.y=e.top+n.padding,l.line++),function(e,n,r){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=f(r.fillStyle,i.defaultColor),d.lineCap=f(r.lineCap,a.borderCapStyle),d.lineDashOffset=f(r.lineDashOffset,a.borderDashOffset),d.lineJoin=f(r.lineJoin,a.borderJoinStyle),d.lineWidth=f(r.lineWidth,a.borderWidth),d.strokeStyle=f(r.strokeStyle,i.defaultColor);var s=0===f(r.lineWidth,a.borderWidth);if(d.setLineDash&&d.setLineDash(f(r.lineDash,a.borderDash)),t.labels&&t.labels.usePointStyle){var c=p*Math.SQRT2/2,u=c/Math.SQRT2,l=e+u,h=n+u;o.canvas.drawPoint(d,r.pointStyle,c,l,h)}else s||d.strokeRect(e,n,y,p),d.fillRect(e,n,y,p);d.restore()}}(v,g,r),b[c].left=v,b[c].top=g,function(e,t,n,r){var i=p/2,o=y+i+e,a=t+i;d.fillText(n.text,o,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,a),d.lineTo(o+r,a),d.stroke())}(v,g,r,h),_?l.x+=m+n.padding:l.y+=w})}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=e.x,a=e.y;if(o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom)for(var s=t.legendHitBoxes,c=0;c<s.length;++c){var u=s[c];if(o>=u.left&&o<=u.left+u.width&&a>=u.top&&a<=u.top+u.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[c]),i=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[c]),i=!0;break}}}return i}});function l(e,t){var n=new u({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}e.exports={id:"legend",_element:u,beforeInit:function(e){var t=e.options.legend;t&&l(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(o.mergeIf(t,r.global.legend),n?(a.configure(e,n,t),n.options=t):l(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},function(e,t,n){"use strict";var r=n(114),i=n(260),o=n(87),a=n(465),s=o.noop;r._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:s,afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=o.valueOrDefault,n=e.options,i=n.display,a=t(n.fontSize,r.global.defaultFontSize),s=e.minSize,c=o.isArray(n.text)?n.text.length:1,u=o.options.toLineHeight(n.lineHeight,a),l=i?c*u+2*n.padding:0;e.isHorizontal()?(s.width=e.maxWidth,s.height=l):(s.width=l,s.height=e.maxHeight),e.width=s.width,e.height=s.height},afterFit:s,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=o.valueOrDefault,i=e.options,a=r.global;if(i.display){var s,c,u,l=n(i.fontSize,a.defaultFontSize),d=n(i.fontStyle,a.defaultFontStyle),f=n(i.fontFamily,a.defaultFontFamily),h=o.fontString(l,d,f),p=o.options.toLineHeight(i.lineHeight,l),m=p/2+i.padding,v=0,g=e.top,y=e.left,b=e.bottom,_=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=h,e.isHorizontal()?(c=y+(_-y)/2,u=g+m,s=_-y):(c="left"===i.position?y+m:_-m,u=g+(b-g)/2,s=b-g,v=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(c,u),t.rotate(v),t.textAlign="center",t.textBaseline="middle";var w=i.text;if(o.isArray(w))for(var x=0,k=0;k<w.length;++k)t.fillText(w[k],0,x,s),x+=p;else t.fillText(w,0,0,s);t.restore()}}});function u(e,t){var n=new c({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.titleBlock=n}e.exports={id:"title",_element:c,beforeInit:function(e){var t=e.options.title;t&&u(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(o.mergeIf(t,r.global.title),n?(a.configure(e,n,t),n.options=t):u(e,t)):n&&(a.removeBox(e,n),delete e.titleBlock)}}},function(e,t,n){var r=n(1150),i=n(1155),o=n(2342),a=n(2346),s=n(2364),c=n(295),u=n(1157),l=n(1159),d=1,f="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?h:s(e),x=_?h:s(t),k=(w=w==f?p:w)==p,E=(x=x==f?p:x)==p,S=w==x;if(S&&u(e)){if(!u(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||l(e)?i(e,t,n,v,g,y):o(e,t,w,n,v,g,y);if(!(n&d)){var T=k&&m.call(e,"__wrapped__"),C=E&&m.call(t,"__wrapped__");if(T||C){var O=T?e.value():e,A=C?t.value():t;return y||(y=new r),g(O,A,n,v,y)}}return!!S&&(y||(y=new r),a(e,t,n,v,g,y))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(575),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))}},function(e,t,n){var r=n(575);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(575);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(575);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}},function(e,t,n){var r=n(574);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(574),i=n(747),o=n(748),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(1152),i=n(2322),o=n(577),a=n(1154),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,f=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r=n(576),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}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(2323),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(294)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(2326),i=n(574),o=n(747);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(2327),i=n(2328),o=n(2329),a=n(2330),s=n(2331);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(578);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(578),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(578),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(578),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(579);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(579);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(579);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(579);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}},function(e,t,n){var r=n(748),i=n(2338),o=n(2339);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},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){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}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(576),i=n(2343),o=n(1151),a=n(1155),s=n(2344),c=n(2345),u=1,l=2,d="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,k=x?x.valueOf:void 0;e.exports=function(e,t,n,r,x,E,S){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case p:var T=s;case g:var C=r&u;if(T||(T=c),e.size!=t.size&&!C)return!1;var O=S.get(e);if(O)return O==t;r|=l,S.set(e,t);var A=a(T(e),T(t),r,x,E,S);return S.delete(e),A;case b:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t,n){var r=n(294).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(2347),i=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,c){var u=n&i,l=r(e),d=l.length;if(d!=r(t).length&&!u)return!1;for(var f=d;f--;){var h=l[f];if(!(u?h in t:o.call(t,h)))return!1}var p=c.get(e);if(p&&c.get(t))return p==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[h=l[f]],y=t[h];if(a)var b=u?a(y,g,h,t,e,c):a(g,y,h,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(2348),i=n(2350),o=n(580);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(2349),i=n(295);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(2351),i=n(2352),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},function(e,t){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}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(2354),i=n(1156),o=n(295),a=n(1157),s=n(1158),c=n(1159),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),d=!n&&!l&&a(e),f=!n&&!l&&!d&&c(e),h=n||l||d||f,p=h?r(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(468),i=n(469),o="[object Arguments]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(468),i=n(749),o=n(469),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)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(1153),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(289)(e))},function(e,t,n){var r=n(2361),i=n(2362),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}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(2363)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(2365),i=n(747),o=n(2366),a=n(2367),s=n(2368),c=n(468),u=n(1154),l=u(r),d=u(i),f=u(o),h=u(a),p=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(359)(n(294),"DataView");e.exports=r},function(e,t,n){var r=n(359)(n(294),"Promise");e.exports=r},function(e,t,n){var r=n(359)(n(294),"Set");e.exports=r},function(e,t,n){var r=n(359)(n(294),"WeakMap");e.exports=r},function(e,t,n){var r=n(2370)(n(2389));e.exports=r},function(e,t,n){var r=n(751),i=n(750),o=n(580);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[c?t[u]:u]:void 0}}},function(e,t,n){var r=n(2372),i=n(2373),o=n(1161);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)}}},function(e,t,n){var r=n(1150),i=n(746),o=1,a=2;e.exports=function(e,t,n,s){var c=n.length,u=c,l=!s;if(null==e)return!u;for(e=Object(e);c--;){var d=n[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<u;){var f=(d=n[c])[0],h=e[f],p=d[1];if(l&&d[2]){if(void 0===h&&!(f in e))return!1}else{var m=new r;if(s)var v=s(h,p,f,e,t,m);if(!(void 0===v?i(p,h,o|a,s,m):v))return!1}}return!0}},function(e,t,n){var r=n(1160),i=n(580);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}},function(e,t,n){var r=n(746),i=n(2375),o=n(2382),a=n(752),s=n(1160),c=n(1161),u=n(582),l=1,d=2;e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,l|d)}}},function(e,t,n){var r=n(1162);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(2377),i=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return i.test(e)&&t.push(""),e.replace(o,function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(2378),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(748),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);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(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(2380);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(576),i=n(2381),o=n(295),a=n(581),s=1/0,c=r?r.prototype:void 0,u=c?c.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==-s?"-0":n}},function(e,t){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}},function(e,t,n){var r=n(2383),i=n(2384);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(1163),i=n(1156),o=n(295),a=n(1158),s=n(749),c=n(582);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var f=c(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(o(e)||i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(2387),i=n(2388),o=n(752),a=n(582);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(1162);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(2390),i=n(751),o=n(2391),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(e,i(t,3),c)}},function(e,t){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}},function(e,t,n){var r=n(2392);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(2393),i=1/0,o=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(577),i=n(581),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;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(a,"");var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?o:+e}},function(e,t,n){var r=n(2395);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(359),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,n){var r=n(2397),i=n(2398),o=n(751),a=n(295);e.exports=function(e,t){return function(n,s){var c=a(n)?r:i,u=t?t():{};return c(n,e,o(s,2),u)}}},function(e,t){e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},function(e,t,n){var r=n(2399);e.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},function(e,t,n){var r=n(2400),i=n(2403)(r);e.exports=i},function(e,t,n){var r=n(2401),i=n(580);e.exports=function(e,t){return e&&r(e,t,i)}},function(e,t,n){var r=n(2402)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}},function(e,t,n){var r=n(750);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.round(Math.sqrt((1-n)*Math.pow(e,2)+n*Math.pow(t,2)))};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Number(((1-n)*e+n*t).toFixed(2))};t.default=r},function(e,t,n){"use strict";function r(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")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e=r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],4),t=e[0],n=void 0===t?0:t,i=e[1],o=void 0===i?0:i,a=e[2],s=void 0===a?0:a,c=e[3],u=void 0===c?1:c,l=(1<<24|n<<16|o<<8|s).toString(16).slice(1),d=(255*u).toString(16).padStart(2,"0").slice(0,2);return"#".concat(l).concat(d)};t.default=i},function(e,t,n){var r=n(2410);e.exports=r},function(e,t,n){n(2411);var r=n(101);e.exports=r.parseFloat},function(e,t,n){var r=n(41),i=n(2412);r({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,n){var r=n(134),i=n(716).trim,o=n(546),a=r.parseFloat,s=1/a(o+"-0")!=-1/0;e.exports=s?function(e){var t=i(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(2414);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)}},function(e,t){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}},function(e,t,n){var r=n(2416),i=n(1121),o=n(1122),a=o&&o.isRegExp,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(382),i=n(383),o="[object RegExp]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(2418),i=n(753),o=n(2419);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(1164)("length");e.exports=r},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+l+u,"g");e.exports=function(e){for(var t=d.lastIndex=0;d.test(e);)++t;return t}},function(e,t,n){var r=n(2421),i=n(753),o=n(2422);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+l+u,"g");e.exports=function(e){return e.match(d)||[]}},function(e,t,n){var r=n(984),i=1/0,o=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){
/*!
 * @license
 * chartjs-plugin-datalabels
 * http://chartjs.org/
 * Version: 0.5.0
 *
 * Copyright 2018 Chart.js Contributors
 * Released under the MIT license
 * https://github.com/chartjs/chartjs-plugin-datalabels/blob/master/LICENSE.md
 */
e.exports=function(e){"use strict";var t=(e=e&&e.hasOwnProperty("default")?e.default:e).helpers,n=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}(),r={toTextLines:function(e){var n,r=[];for(e=[].concat(e);e.length;)"string"==typeof(n=e.pop())?r.unshift.apply(r,n.split("\n")):Array.isArray(n)?e.push.apply(e,n):t.isNullOrUndef(e)||r.unshift(""+n);return r},toFontString:function(e){return!e||t.isNullOrUndef(e.size)||t.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family},textSize: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}},parseFont:function(n){var i=e.defaults.global,o=t.valueOrDefault(n.size,i.defaultFontSize),a={family:t.valueOrDefault(n.family,i.defaultFontFamily),lineHeight:t.options.toLineHeight(n.lineHeight,o),size:o,style:t.valueOrDefault(n.style,i.defaultFontStyle),weight:t.valueOrDefault(n.weight,null),string:""};return a.string=r.toFontString(a),a},bound:function(e,t,n){return Math.max(e,Math.min(t,n))},arrayDiff: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},rasterize:function(e){return Math.round(e*n)/n}};function i(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}}var o=0,a=1,s=2,c=4,u=8;function l(e,t,n){var r=o;return e<n.left?r|=a:e>n.right&&(r|=s),t<n.top?r|=u:t>n.bottom&&(r|=c),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,d=e.y0,f=e.x1,h=e.y1,p=l(o,d,t),m=l(f,h,t);p|m&&!(p&m);)(n=p||m)&u?(r=o+(f-o)*(t.top-d)/(h-d),i=t.top):n&c?(r=o+(f-o)*(t.bottom-d)/(h-d),i=t.bottom):n&s?(i=d+(h-d)*(t.right-o)/(f-o),r=t.right):n&a&&(i=d+(h-d)*(t.left-o)/(f-o),r=t.left),n===p?p=l(o=r,d=i,t):m=l(f=r,h=i,t);return{x0:o,x1:f,y0:d,y1:h}}(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 f={arc: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)},point:function(e,t){var n=i(e,t.origin),r=n.x*e.radius,o=n.y*e.radius;return d({x0:e.x-r,y0:e.y-o,x1:e.x+r,y1:e.y+o,vx:n.x,vy:n.y},t)},rect:function(e,t){var n=i(e,t.origin),r=e.x,o=e.y,a=0,s=0;return e.horizontal?(r=Math.min(e.x,e.base),a=Math.abs(e.base-e.x)):(o=Math.min(e.y,e.base),s=Math.abs(e.base-e.y)),d({x0:r,y0:o+s,x1:r+a,y1:o,vx:n.x,vy:n.y},t)},fallback:function(e,t){var n=i(e,t.origin);return d({x0:e.x,y0:e.y,x1:e.x,y1:e.y,vx:n.x,vy:n.y},t)}},h=e.helpers,p=r.rasterize;function m(e){var t=e._model.horizontal,n=e._scale||t&&e._xScale||e._yScale;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 t?{x:r,y:null}:{x:null,y:r}}function v(e,t,n){var r=e.shadowBlur,i=n.stroked,o=p(n.x),a=p(n.y),s=p(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 g=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};h.extend(g.prototype,{_modelize:function(t,n,i,o){var a,s=this._index,c=h.options.resolve,u=r.parseFont(c([i.font,{}],o,s)),l=c([i.color,e.defaults.global.defaultFontColor],o,s);return{align:c([i.align,"center"],o,s),anchor:c([i.anchor,"center"],o,s),area:o.chart.chartArea,backgroundColor:c([i.backgroundColor,null],o,s),borderColor:c([i.borderColor,null],o,s),borderRadius:c([i.borderRadius,0],o,s),borderWidth:c([i.borderWidth,0],o,s),clamp:c([i.clamp,!1],o,s),clip:c([i.clip,!1],o,s),color:l,display:t,font:u,lines:n,offset:c([i.offset,0],o,s),opacity:c([i.opacity,1],o,s),origin:m(this._el),padding:h.options.toPadding(c([i.padding,0],o,s)),positioner:(a=this._el,a instanceof e.elements.Arc?f.arc:a instanceof e.elements.Point?f.point:a instanceof e.elements.Rectangle?f.rect:f.fallback),rotation:c([i.rotation,0],o,s)*(Math.PI/180),size:r.textSize(this._ctx,n,u),textAlign:c([i.textAlign,"start"],o,s),textShadowBlur:c([i.textShadowBlur,0],o,s),textShadowColor:c([i.textShadowColor,l],o,s),textStrokeColor:c([i.textStrokeColor,l],o,s),textStrokeWidth:c([i.textStrokeWidth,0],o,s)}},update:function(e){var t,n,i,o=this,a=null,s=null,c=o._index,u=o._config,l=h.options.resolve([u.display,!0],e,c);l&&(t=e.dataset.data[c],n=h.valueOrDefault(h.callback(u.formatter,[t,e]),t),(i=h.isNullOrUndef(n)?[]:r.toTextLines(n)).length&&(a=o._modelize(l,i,u,e),s=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}}}(a))),o._model=a,o._rects=s},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,i=e.ctx,o=this._model,a=this._rects;this.visible()&&(i.save(),o.clip&&(n=o.area,i.beginPath(),i.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),i.clip()),i.globalAlpha=r.bound(0,o.opacity,1),i.translate(p(t.x),p(t.y)),i.rotate(o.rotation),function(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),h.canvas.roundedRect(e,p(t.x)+o/2,p(t.y)+o/2,p(t.w)-o,p(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()))}(i,a.frame,o),function(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,c=r.font,u=t.length,l=r.textStrokeColor,d=r.textStrokeWidth,f=l&&d;if(u&&(s||f))for(n=function(e,t,n){var r=n.lineHeight,i=e.w,o=e.x,a=e.y+r/2;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:a}}(n,o,c),e.font=c.string,e.textAlign=o,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,s&&(e.fillStyle=a),f&&(e.lineJoin="round",e.lineWidth=d,e.strokeStyle=l),i=0,u=t.length;i<u;++i)v(e,t[i],{stroked:f,filled:s,w:n.w,x:n.x,y:n.y+n.h*i})}(i,o.lines,a.text,o),i.restore())}});var y=e.helpers,b=Number.MIN_SAFE_INTEGER||-9007199254740991,_=Number.MAX_SAFE_INTEGER||9007199254740991;function w(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 x(e,t){var n,r,i,o,a,s=_,c=b,u=t.origin;for(n=0;n<e.length;++n)r=e[n],i=r.x-u.x,o=r.y-u.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),c=Math.max(c,a);return{min:s,max:c}}function k(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 E=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function S(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,c=t.rotation,u=Math.abs(a/2*Math.cos(c))+Math.abs(s/2*Math.sin(c)),l=Math.abs(a/2*Math.sin(c))+Math.abs(s/2*Math.cos(c)),d=1/Math.max(Math.abs(i),Math.abs(o));return u*=i*d,l*=o*d,u+=t.offset*i,l+=t.offset*o,{x:r.x+u,y:r.y+l}}y.extend(E.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._rect;return!((e=w(e,this.center(),-this._rotation)).x<t.x-1||e.y<t.y-1||e.x>t.x+t.w+2||e.y>t.y+t.h+2)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[k(i[0],i[1]),k(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(k(o[0],o[1]),k(o[0],o[3])),t=0;t<a.length;++t)if(n=x(i,a[t]),r=x(o,a[t]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var e=this._rect,t=this._rotation,n=this.center();return[w({x:e.x,y:e.y},n,t),w({x:e.x+e.w,y:e.y},n,t),w({x:e.x+e.w,y:e.y+e.h},n,t),w({x:e.x,y:e.y+e.h},n,t)]}});var T={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 E,_hidable:!1,_visible:!0,_set:t,_idx:n};return a.sort(function(e,t){var n=e.$layout,r=t.$layout;return n._idx===r._idx?n._set-r._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)r=e[t],i=r.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;for(t=0,n=e.length;t<n;++t)r=e[t],(i=r.$layout)._visible&&(o=r.geometry(),a=S(r._el._model,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{dataset:r._set,label:e[n]};return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)i=t[n],(o=i.$layout)._visible&&(a=i.geometry(),s=S(i._el._view,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},C=e.helpers,O={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(C.isNullOrUndef(e))return null;var t,n,r,i=e;if(C.isObject(e))if(C.isNullOrUndef(e.label))if(C.isNullOrUndef(e.r))for(i="",t=Object.keys(e),r=0,n=t.length;r<n;++r)i+=(0!==r?", ":"")+t[r]+": "+e[t[r]];else i=e.r;else i=e.label;return""+i},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},A=e.helpers,j="$datalabels";function N(e,t,n){var r=t&&t[n.dataset];if(r){var i=n.label,o=i.$context;!0===A.callback(r,[o])&&(e[j]._dirty=!0,i.update(o))}}function M(e,t){var n,r,i=e[j],o=i._listeners;if(o.enter||o.leave){if("mousemove"===t.type)r=T.lookup(i._labels,t);else if("mouseout"!==t.type)return;n=i._hovered,i._hovered=r,function(e,t,n,r){var i,o;(n||r)&&(n?r?n.label!==r.label&&(o=i=!0):o=!0:i=!0,o&&N(e,t.leave,n),i&&N(e,t.enter,r))}(e,o,n,r)}}e.defaults.global.plugins.datalabels=O,e.defaults.global.plugins.datalabels=O;var P={id:"datalabels",beforeInit:function(e){e[j]={_actives:[]}},beforeUpdate:function(e){var t=e[j];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r,i,o,a=t.index,s=e[j],c=s._datasets[a]=[],u=e.isDatasetVisible(a),l=e.data.datasets[a],d=function(e,t){var n=e.datalabels;return!1===n?null:(!0===n&&(n={}),A.merge({},[t,n]))}(l,n),f=t.meta.data||[],h=f.length,p=e.ctx;for(p.save(),r=0;r<h;++r)i=f[r],u&&i&&!i.hidden&&!i._model.skip?(c.push(o=new g(d,p,i,r)),o.update(o.$context={active:!1,chart:e,dataIndex:r,dataset:l,datasetIndex:a})):o=null,i[j]=o;p.restore(),A.merge(s._listeners,d.listeners||{},{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],s._listened=!0}})},afterUpdate:function(e,t){e[j]._labels=T.prepare(e[j]._datasets,t)},afterDatasetsDraw:function(e){T.draw(e,e[j]._labels)},beforeEvent:function(e,t){if(e[j]._listened)switch(t.type){case"mousemove":case"mouseout":M(e,t);break;case"click":!function(e,t){var n=e[j],r=n._listeners.click,i=r&&T.lookup(n._labels,t);i&&N(e,r,i)}(e,t)}},afterEvent:function(e){var t,n,i,o,a=e[j],s=a._actives,c=a._actives=e.lastActive||[],u=r.arrayDiff(s,c);for(t=0,n=u.length;t<n;++t)(i=u[t])[1]&&(o=i[0][j])&&(o.$context.active=1===i[1],o.update(o.$context));(a._dirty||u.length)&&(T.update(a._labels),e.animating||e.render()),delete a._dirty}};return e.plugins.register(P),P}(n(366))},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r={"./en-au":1166,"./en-au.js":1166,"./en-ca":1167,"./en-ca.js":1167,"./en-gb":1168,"./en-gb.js":1168,"./en-ie":1169,"./en-ie.js":1169,"./en-nz":1170,"./en-nz.js":1170};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=2440},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(584),i=n(583);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){var r=n(755)(n(756));e.exports=r},function(e,t,n){var r=n(258),i=n(296),o=n(757),a=n(2449),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},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t){var n=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 n(e)}},function(e,t,n){var r=n(584),i=n(176)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t,n){var r=n(1171),i=n(296)(r("tail",n(2453)(1,1/0)));e.exports=i},function(e,t,n){var r=n(53),i=n(1171),o=n(755)(i("slice",function(e,t,n){return r(Array.prototype).call(n,e,t)}));e.exports=o},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(176),i=n(1174),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},function(e,t,n){var r=n(585),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},function(e,t,n){var r=n(53),i=n(176),o=n(2458),a=n(754),s=n(2459),c=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=c},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(296),i=n(2460),o=r(function(e){return i(e,[])});e.exports=o},function(e,t,n){var r=n(258),i=n(53),o=n(2461),a=n(4),s=n(2466),c=n(1173),u=n(2485),l=n(2486),d=n(586),f=n(2487);e.exports=function e(t,n){var h,p=function(r){var i=a(n).call(n,[t]);return s(r,i)?"<Circular>":e(r,i)},m=function(e,t){var n;return c(function(t){return u(t)+": "+p(e[t])},o(n=i(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+c(p,t).join(", ")+"))";case"[object Array]":return"["+a(h=c(p,t)).call(h,m(t,f(function(e){return/^\d+$/.test(e)},d(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+p(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?p(NaN):u(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+p(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+p(t.valueOf())+")":u(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var v=t.toString();if("[object Object]"!==v)return v}return"{"+m(t,d(t)).join(", ")+"}"}}},function(e,t,n){e.exports=n(2462)},function(e,t,n){var r=n(2463);e.exports=r},function(e,t,n){var r=n(2464),i=Array.prototype;e.exports=function(e){var t=e.sort;return e===i||e instanceof Array&&t===i.sort?r:t}},function(e,t,n){n(2465);var r=n(146);e.exports=r("Array").sort},function(e,t,n){"use strict";var r=n(41),i=n(145),o=n(234),a=n(124),s=n(456),c=[],u=c.sort,l=a(function(){c.sort(void 0)}),d=a(function(){c.sort(null)}),f=s("sort");r({target:"Array",proto:!0,forced:l||!d||!f},{sort:function(e){return void 0===e?u.call(o(this)):u.call(o(this),i(e))}})},function(e,t,n){var r=n(2467);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(258),i=n(163),o=n(2468);e.exports=function(e,t,n){var a,s;if("function"==typeof i(e))switch(r(t)){case"number":if(0===t){for(a=1/t;n<e.length;){if(0===(s=e[n])&&1/s===a)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return i(e).call(e,t,n);case"string":case"boolean":case"function":case"undefined":return i(e).call(e,t,n);case"object":if(null===t)return i(e).call(e,t,n)}for(;n<e.length;){if(o(e[n],t))return n;n+=1}return-1}},function(e,t,n){var r=n(176),i=n(2469),o=r(function(e,t){return i(e,t,[],[])});e.exports=o},function(e,t,n){var r=n(168),i=n(4),o=n(2470),a=n(258),s=n(53),c=n(2475),u=n(2476),l=n(2477),d=n(585),f=n(2478),h=n(586),p=n(2484);function m(e,t,n,r){var i=c(e),o=c(t);function a(e,t){return v(e,t,s(n).call(n),s(r).call(r))}return!u(function(e,t){return!u(a,t,e)},o,i)}function v(e,t,n,s){if(f(e,t))return!0;var c=p(e);if(c!==p(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(c){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(a(e)!==a(t)||!f(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!f(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 u=n.length-1;u>=0;){if(n[u]===e)return s[u]===t;u-=1}switch(c){case"Map":return e.size===t.size&&m(o(e).call(e),o(t).call(t),i(n).call(n,[e]),i(s).call(s,[t]));case"Set":return e.size===t.size&&m(r(e).call(e),r(t).call(t),i(n).call(n,[e]),i(s).call(s,[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 g=h(e);if(g.length!==h(t).length)return!1;var y=i(n).call(n,[e]),b=i(s).call(s,[t]);for(u=g.length-1;u>=0;){var _=g[u];if(!d(_,t)||!v(t[_],e[_],y,b))return!1;u-=1}return!0}e.exports=v},function(e,t,n){e.exports=n(2471)},function(e,t,n){var r=n(2472);e.exports=r},function(e,t,n){n(288);var r=n(2473),i=n(287),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===o||e instanceof Array&&t===o.entries||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(2474);e.exports=r},function(e,t,n){n(439);var r=n(146);e.exports=r("Array").entries},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){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}},function(e,t){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},function(e,t,n){var r=n(2479);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){e.exports=n(2480)},function(e,t,n){var r=n(2481);e.exports=r},function(e,t,n){n(2482);var r=n(101);e.exports=r.Object.is},function(e,t,n){n(41)({target:"Object",stat:!0},{is:n(2483)})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(53),i=n(296)(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},function(e,t){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,'\\"')+'"'}},function(e,t,n){var r=n(53),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},function(e,t,n){var r=n(2488),i=n(176),o=n(2489),a=i(function(e,t){return o(r(e),t)});e.exports=a},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,n){var r=n(176),i=n(1172),o=n(2490),a=n(2491),s=n(756),c=n(2492),u=n(586),l=r(i(["filter"],c,function(e,t){return a(t)?s(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},u(t)):o(e,t)}));e.exports=l},function(e,t){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}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(176),i=n(1174),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},function(e,t,n){},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(537),i=n(376),o=n(377),a=n(203).type("Pair"),s=n(203).typeFn(a(),4),c=n(175),u=n(698),l=n(448),d=n(255),f=n(86),h=n(218),p=n(449);function m(e,t){var n;if(arguments.length<2)throw new TypeError("Pair: Must provide a first and second value");var i=function(){return e},v=function(){return t},g=function(){return"Pair("+o(e)+","+o(t)+" )"};function y(e){return h(m,e)&&r(e.fst(),i())&&r(e.snd(),v())}function b(e){return function(t){if(!h(m,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=v(),o=t.fst(),a=t.snd();if(!p(n)||!p(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!h(n,o)||!h(r,a))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");return m(n.concat(o),r.concat(a))}}function _(n){return function(r){if(!f(r))throw new TypeError("Pair."+n+": Function required");return m(e,r(t))}}function w(n){return function(r,i){if(!f(r)||!f(i))throw new TypeError("Pair."+n+": Function required for both arguments");return m(r(e),i(t))}}function x(e){return function(t){var n=i();if(!f(t))throw new TypeError("Pair."+e+": Function required");if(!p(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(v());if(!h(m,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!h(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return m(n.concat(o),r.snd())}}function k(n){return function(r){if(!f(r))throw new TypeError("Pair."+n+": Function required");return m(e,r(m(e,t)))}}return(n={inspect:g,toString:g,fst:i,snd:v,toArray:function(){return[e,t]},type:a,merge:function(e){if(!f(e))throw new TypeError("Pair.merge: Binary function required");return e(i(),v())},equals:y,swap:function(n,r){if(!f(n)||!f(r))throw new TypeError("Pair.swap: Requires both left and right functions");return m(r(t),n(e))},ap:function(e){if(!h(m,e))throw new TypeError("Pair.ap: Pair required");var t=v();if(!f(t))throw new TypeError("Pair.ap: Function required for second value");var n=i(),r=e.fst();if(!p(n)||!h(n,r))throw new TypeError("Pair.ap: Semigroups of the same type is required for first values");return m(n.concat(r),t(e.snd()))},sequence:function(n){if(!u(n)&&!f(n))throw new TypeError("Pair.sequence: Applicative TypeRep or Apply returning function required");if(!l(t)&&!d(t))throw new TypeError("Pair.sequence: Must wrap an Apply in the second");return t.map(function(t){return m(e,t)})},traverse:function(n,r){if(!u(n)&&!f(n))throw new TypeError("Pair.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!f(r))throw new TypeError("Pair.traverse: Apply returning function required for second argument");var i=r(t);if(!l(i)&&!d(i))throw new TypeError("Pair.traverse: Both functions must return an Apply of the same type");return i.map(function(t){return m(e,t)})},concat:b("concat"),map:_("map"),bimap:w("bimap"),chain:x("chain"),extend:k("extend")})[c.equals]=y,n[c.concat]=b(c.concat),n[c.map]=_(c.map),n[c.bimap]=w(c.bimap),n[c.chain]=x(c.chain),n[c.extend]=k(c.extend),n["@@type"]=s,n.constructor=m,n}m.type=a,m["@@type"]=s,m["@@implements"]=i(["ap","bimap","chain","concat","extend","equals","map","traverse"]),e.exports=m},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(236);e.exports=function(e){return!!e&&r("compose",e)}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2499);e.exports=r},function(e,t,n){var r=n(2500),i=Array.prototype;e.exports=function(e){var t=e.fill;return e===i||e instanceof Array&&t===i.fill?r:t}},function(e,t,n){n(2501);var r=n(146);e.exports=r("Array").fill},function(e,t,n){var r=n(41),i=n(2502),o=n(678);r({target:"Array",proto:!0},{fill:i}),o("fill")},function(e,t,n){"use strict";var r=n(234),i=n(684),o=n(235);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),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2506);e.exports=r},function(e,t,n){n(2507);var r=n(101);e.exports=r.Date.now},function(e,t,n){n(41)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1175),i=n(1123),o=n(572);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[c?t[u]:u]:void 0}}},function(e,t,n){var r=n(2510),i=n(2538),o=n(1180);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)}}},function(e,t,n){var r=n(1176),i=n(1177),o=1,a=2;e.exports=function(e,t,n,s){var c=n.length,u=c,l=!s;if(null==e)return!u;for(e=Object(e);c--;){var d=n[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<u;){var f=(d=n[c])[0],h=e[f],p=d[1];if(l&&d[2]){if(void 0===h&&!(f in e))return!1}else{var m=new r;if(s)var v=s(h,p,f,e,t,m);if(!(void 0===v?i(p,h,o|a,s,m):v))return!1}}return!0}},function(e,t,n){var r=n(564);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(564),i=n(739),o=n(738),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(1176),i=n(1178),o=n(2522),a=n(2526),s=n(2533),c=n(292),u=n(1118),l=n(1120),d=1,f="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?h:s(e),x=_?h:s(t),k=(w=w==f?p:w)==p,E=(x=x==f?p:x)==p,S=w==x;if(S&&u(e)){if(!u(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||l(e)?i(e,t,n,v,g,y):o(e,t,w,n,v,g,y);if(!(n&d)){var T=k&&m.call(e,"__wrapped__"),C=E&&m.call(t,"__wrapped__");if(T||C){var O=T?e.value():e,A=C?t.value():t;return y||(y=new r),g(O,A,n,v,y)}}return!!S&&(y||(y=new r),a(e,t,n,v,g,y))}},function(e,t,n){var r=n(738),i=n(2518),o=n(2519);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},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){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}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(560),i=n(2523),o=n(993),a=n(1178),s=n(2524),c=n(2525),u=1,l=2,d="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,k=x?x.valueOf:void 0;e.exports=function(e,t,n,r,x,E,S){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case p:var T=s;case g:var C=r&u;if(T||(T=c),e.size!=t.size&&!C)return!1;var O=S.get(e);if(O)return O==t;r|=l,S.set(e,t);var A=a(T(e),T(t),r,x,E,S);return S.delete(e),A;case b:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t,n){var r=n(259).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(2527),i=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,c){var u=n&i,l=r(e),d=l.length;if(d!=r(t).length&&!u)return!1;for(var f=d;f--;){var h=l[f];if(!(u?h in t:o.call(t,h)))return!1}var p=c.get(e);if(p&&c.get(t))return p==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[h=l[f]],y=t[h];if(a)var b=u?a(y,g,h,t,e,c):a(g,y,h,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(2528),i=n(2530),o=n(572);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(2529),i=n(292);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(2531),i=n(2532),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},function(e,t){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}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(2534),i=n(739),o=n(2535),a=n(2536),s=n(2537),c=n(382),u=n(992),l=u(r),d=u(i),f=u(o),h=u(a),p=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(384)(n(259),"DataView");e.exports=r},function(e,t,n){var r=n(384)(n(259),"Promise");e.exports=r},function(e,t,n){var r=n(384)(n(259),"Set");e.exports=r},function(e,t,n){var r=n(384)(n(259),"WeakMap");e.exports=r},function(e,t,n){var r=n(1179),i=n(572);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}},function(e,t,n){var r=n(1177),i=n(81),o=n(2540),a=n(737),s=n(1179),c=n(1180),u=n(568),l=1,d=2;e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,l|d)}}},function(e,t,n){var r=n(2541),i=n(2542);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(990),i=n(1117),o=n(292),a=n(1119),s=n(745),c=n(568);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var f=c(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(o(e)||i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(1164),i=n(2545),o=n(737),a=n(568);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t,n){var r=n(989);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(2547),i=n(1175),o=n(1165),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(e,i(t,3),c)}},function(e,t){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}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(0))&&"object"==typeof r&&"default"in r?r.default:r;function o(e){return o.warnAboutHMRDisabled&&(o.warnAboutHMRDisabled=!0,console.error("React-Hot-Loader: misconfiguration detected, using production version in non-production environment."),console.error("React-Hot-Loader: Hot Module Replacement is not enabled.")),i.Children.only(e.children)}o.warnAboutHMRDisabled=!1;var a=function e(){return e.shouldWrapWithAppContainer?function(e){return function(t){return i.createElement(o,null,i.createElement(e,t))}}:function(e){return e}};a.shouldWrapWithAppContainer=!1;t.AppContainer=o,t.hot=a,t.areComponentsEqual=function(e,t){return e===t},t.setConfig=function(){},t.cold=function(e){return e},t.configureComponent=function(){}},function(e,t,n){"use strict";n.r(t);n(1317),n(1319),n(1320),n(1321),n(1322),n(1323),n(1324),n(1325),n(1326),n(1327),n(1328),n(1329),n(1330),n(1331),n(1332),n(1333),n(1334),n(1335),n(1336),n(1337),n(1338),n(1339),n(1340),n(1341),n(1342),n(1343),n(1344),n(1345),n(512),n(1346),n(1347),n(1348),n(1349),n(1350),n(1351),n(1352),n(1353),n(1354),n(1355),n(1356),n(1357),n(1358),n(1359),n(1360),n(1361),n(1362),n(1363),n(1364),n(1365),n(1367),n(1368),n(1370),n(1371),n(1372),n(1373),n(1374),n(1375),n(1376),n(1377),n(1378),n(1379),n(1380),n(1381),n(1382),n(1383),n(1385),n(1386),n(1387),n(1388),n(1389),n(1390),n(1391),n(1392),n(1393),n(1394),n(1395),n(1396),n(1397),n(1399),n(1400),n(1401),n(1402),n(1403),n(1404),n(1405),n(1406),n(1407),n(1408),n(1409),n(1410),n(1411),n(1412),n(1413),n(1414),n(1415),n(1416),n(1417),n(1418),n(1419),n(1420),n(1421),n(1422),n(1423),n(1424),n(1425),n(1426),n(1427),n(1428),n(1429),n(1430),n(1431),n(1433),n(1434),n(1435),n(1436),n(1439),n(1440),n(1441),n(1442),n(1443),n(1444),n(1445),n(1446),n(1447),n(1448),n(1449),n(1450),n(1451),n(1452),n(1453),n(1454),n(1455),n(1456),n(1457),n(1458),n(1459),n(1460),n(1461),n(840),n(1462),n(1463),n(1464),n(1465),n(1466),n(1467),n(1468),n(1469),n(1470),n(1471),n(1472),n(1473),n(1474),n(1475),n(1476),n(1477),n(1478),n(1479),n(1480),n(1481),n(1482),n(1483),n(1484),n(1485),n(1486),n(1487),n(1488),n(1489),n(1490),n(1491),n(1492),n(1493),n(1494),n(1495),n(1496),n(1497),n(1498),n(1499),n(1500),n(1501),n(1502),n(1503),n(1504),n(1505),n(1506),n(1507),n(1508),n(1509),n(1510),n(1511),n(1512),n(1513),n(1514),n(1515),n(1516),n(1517),n(1518),n(1519),n(1520),n(1521),n(1522),n(1523),n(1524),n(1525),n(1526),n(1527),n(1528),n(1531),n(848),n(849),n(1532),n(1533);var r=n(1184),i=n.n(r);window.URLSearchParams=window.URLSearchParams||i.a;var o=n(0),a=n.n(o),s=n(103),c=n(120),u=n(136),l=n(161),d=n.n(l),f=n(600),h=n.n(f);function p(e){return"/"===e.charAt(0)}function m(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 v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),o=t&&p(t),a=i||o;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var c=r[r.length-1];s="."===c||".."===c||""===c}else s=!1;for(var u=0,l=r.length;l>=0;l--){var d=r[l];"."===d?m(r,l):".."===d?(m(r,l),u++):u&&(m(r,l),u--)}if(!a)for(;u--;u)r.unshift("..");!a||""===r[0]||r[0]&&p(r[0])||r.unshift("");var f=r.join("/");return s&&"/"!==f.substr(-1)&&(f+="/"),f},g="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 y=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":g(t);if(r!==(void 0===n?"undefined":g(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},b=function(e){return"/"===e.charAt(0)?e:"/"+e},_=function(e){return"/"===e.charAt(0)?e.substr(1):e},w=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},x=function(e,t){return w(e,t)?e.substr(t.length):e},k=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=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},S=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=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)).state=t:(void 0===(i=S({},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=v(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},C=function(){var e=null,t=[];return{setPrompt:function(t){return d()(null==e,"A history supports only one prompt at a time"),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):(d()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==o)}else i(!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)})}}},O=!("undefined"==typeof window||!window.document||!window.document.createElement),A=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},j=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},N=function(e,t){return t(window.confirm(e))},M=("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}),P={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+_(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:_,decodePath:b},slash:{encodePath:b,decodePath:b}},I=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},L=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?N:r,o=e.hashType,a=void 0===o?"slash":o,s=e.basename?k(b(e.basename)):"",c=P[a],u=c.encodePath,l=c.decodePath,f=function(){var e=l(I());return d()(!s||w(e,s),'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 "'+s+'".'),s&&(e=x(e,s)),T(e)},p=C(),m=function(e){M(V,e),V.length=t.length,p.notifyListeners(V.location,V.action)},v=!1,g=null,_=function(){var e,t,n=I(),r=u(n);if(n!==r)L(r);else{var i=f(),o=V.location;if(!v&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&y(e.state,t.state)))return;if(g===E(i))return;g=null,S(i)}},S=function(e){v?(v=!1,m()):p.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):D(e)})},D=function(e){var t=V.location,n=U.lastIndexOf(E(t));-1===n&&(n=0);var r=U.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,q(i))},R=I(),F=u(R);R!==F&&L(F);var B=f(),U=[E(B)],q=function(e){d()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},z=0,H=function(e){1===(z+=e)?A(window,"hashchange",_):0===z&&j(window,"hashchange",_)},W=!1,V={length:t.length,action:"POP",location:B,createHref:function(e){return"#"+u(s+E(e))},push:function(e,t){d()(void 0===t,"Hash history cannot push state; it is ignored");var n=T(e,void 0,void 0,V.location);p.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=u(s+t);if(I()!==r){g=t,function(e){window.location.hash=e}(r);var i=U.lastIndexOf(E(V.location)),o=U.slice(0,-1===i?0:i+1);o.push(t),U=o,m({action:"PUSH",location:n})}else d()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){d()(void 0===t,"Hash history cannot replace state; it is ignored");var n=T(e,void 0,void 0,V.location);p.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=u(s+t);I()!==r&&(g=t,L(r));var i=U.indexOf(E(V.location));-1!==i&&(U[i]=t),m({action:"REPLACE",location:n})}})},go:q,goBack:function(){return q(-1)},goForward:function(){return q(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=p.setPrompt(e);return W||(H(1),W=!0),function(){return W&&(W=!1,H(-1)),t()}},listen:function(e){var t=p.appendListener(e);return H(1),function(){H(-1),t()}}};return V},R=("function"==typeof Symbol&&Symbol.iterator,Object.assign,n(1542),n(327)),F=n.n(R),B=n(98),U=new F.a(window.location.hash.substr(1)),q=U.get("_course_token");q&&(U.delete("_course_token"),window.history.replaceState(null,null,"#".concat(U.toString())));navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",function(e){var t=e.data,n=t.method,r=t.id;if("2.0"===t.jsonrpc&&"getBearerToken"===n){var i=q||Object(B.d)();navigator.serviceWorker.ready.then(function(e){e.active.postMessage({id:r,jsonrpc:"2.0",method:n,result:{token:i}})})}});var z=n(39),H=n(33),W=n(27),V=n.n(W),Y=n(3),G=n.n(Y),K=n(9),$=n(6),X=n(10),Q=n(8),Z=n(5),J=n(11),ee=n(640),te=n(641),ne=n(64),re=n(190),ie=n.n(re),oe=n(2),ae=n.n(oe),se=n(611),ce=n.n(se),ue=n(278),le=n(612),de=n(1),fe=n.n(de),he=n(1204),pe=n.n(he),me=n(16),ve=n.n(me),ge=n(7),ye=n.n(ge),be=n(89),_e=n.n(be),we=n(272),xe=n.n(we),ke=n(92),Ee=n.n(ke)()(xe()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),ve()("#FFF")),Se=_e()({color:Ee}),Te=ye()(function(e){var t=e.bodyTypeface,n=e.color,r=e.headingTypeface,i=e.uiTypeface;return a.a.createElement("div",{dangerouslySetInnerHTML:{__html:pe()({bodyTypeface:t,color:n,headingTypeface:r,uiTypeface:i})}})},Se);Te.displayName="Branding",Te.propTypes={bodyTypeface:fe.a.string,color:fe.a.string.isRequired,headingTypeface:fe.a.string,uiTypeface:fe.a.string};var Ce,Oe=Te,Ae=n(613),je=n(63),Ne=n(46),Me=(n(2049),n(127)),Pe=n.n(Me),Ie=n(40),Le=n.n(Ie),De=n(14),Re=n.n(De),Fe=n(72),Be=n.n(Fe),Ue=n(364),qe=function(){return window.location.reload(!0)},ze=function(e){return function(){return a.a.createElement("div",{className:"curtain__container"},a.a.createElement("div",{className:"curtain"},a.a.createElement("div",{className:"curtain__spinner"}),a.a.createElement("div",{className:"curtain__text"},e||"Your course is loading.")))}},He=function(){return a.a.createElement("div",{className:"curtain__container"},a.a.createElement("div",{className:"curtain"},a.a.createElement("div",{className:"curtain__title"},"Something went wrong."),a.a.createElement("div",{className:"curtain__description"},"Click to refresh and try again."),a.a.createElement(Ue.a,{headerDone:!0,onClick:qe},"Refresh")))},We=function(){return a.a.createElement("div",{className:"curtain__container"},a.a.createElement("div",{className:"curtain"},a.a.createElement("div",{className:"curtain__spinner curtain__spinner--reconnect"}),a.a.createElement("div",{className:"curtain__title"},"Your computer is offline."),a.a.createElement("div",{className:"curtain__description"},"Attempting to reconnect…")))},Ve=function(){return a.a.createElement("div",{className:"curtain__container"},a.a.createElement("div",{className:"curtain"},a.a.createElement("div",{className:"curtain__title"},"Your session has timed out."),a.a.createElement("div",{className:"curtain__description"},"Click refresh to restart your session."),a.a.createElement(Ue.a,{headerDone:!0,onClick:qe},"Refresh")))},Ye=Object(o.memo)(function(e){var t=e.loadingText,n=e.status,r=Object(o.useState)(!1),i=Object(Ne.a)(r,2),a=i[0],s=i[1],c=function(){return s(!0)},u=Re()("status","error"),l=Re()("status","fatalError"),d=Pe()(u,Re()("reconnectFailed",!0));return Object(o.useEffect)(function(){return Ce=V()(c,1e4),function(){clearTimeout(Ce)}},[]),Le()([[l,He],[d,Ve],[u,We],[Be.a,ze(t)]])({status:n,reconnectFailed:a})}),Ge=n(169),Ke=ae()({bigHeadMode:Object(Ge.a)("bigHeadMode")}),$e=n(180),Xe=n(23),Qe=n(163),Ze=n.n(Qe),Je=n(4),et=n.n(Je),tt=n(97),nt=n.n(tt),rt=n(158),it=n.n(rt),ot=n(18),at=n.n(ot),st=n(177),ct=n.n(st),ut=n(26),lt=n.n(ut),dt=n(48),ft=n.n(dt),ht=n(44),pt=n.n(ht),mt=n(60),vt=n.n(mt),gt=n(32),yt=n.n(gt),bt=n(28),_t=n.n(bt),wt=n(24),xt=n.n(wt),kt=n(125),Et=n.n(kt),St=n(128),Tt=n.n(St),Ct=n(273),Ot=n(614),At=n(633),jt=n(634),Nt=n(418),Mt=n(191),Pt=(n(2554),function(e){var t=e.course.theme,n={backgroundColor:(t=void 0===t?{}:t).colorAccent};return a.a.createElement("div",{className:"nav-compact",style:n})}),It=n(195),Lt=n(227),Dt=n(635),Rt=n(334),Ft=n(21),Bt=n(153),Ut=n(57),qt=n(17),zt=n(409),Ht=n(75),Wt=n(224),Vt=n(367),Yt=n(183),Gt=n(212),Kt=n(15),$t=(n(1181),function(e){function t(){return Object(K.a)(this,t),Object(X.a)(this,Object(Q.a)(t).apply(this,arguments))}return Object(J.a)(t,e),Object($.a)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return a.a.createElement("div",{className:t,"data-lesson":!0,ref:this.props.contentRef},n)}}]),t}(a.a.Component)),Xt=function(e){var t=e.children,n=e.hidden,r=e.id,i=e.label,o="".concat("lesson__sidebar","--safari"),s={className:ae()("lesson__sidebar",Object(Kt.a)({},o,je.a.isSafari)),id:r};return a.a.createElement("section",Object(Xe.a)({"aria-hidden":n,"aria-label":i,"data-lesson-side":!0},s),t)},Qt=function(e){function t(){return Object(K.a)(this,t),Object(X.a)(this,Object(Q.a)(t).apply(this,arguments))}return Object(J.a)(t,e),Object($.a)(t,[{key:"render",value:function(){var e=this.props.onMobileMenuActiveClick;return a.a.createElement("div",{className:"lesson__content",onClick:e},this.props.children)}}]),t}(a.a.Component),Zt=ct()(yt.a),Jt=Et()(Re()("type","section")),en=function(e){return function(){if(e){var t=document.querySelector(".page-wrap");Object(qt.c)(t)}else{document.getElementById("no-menu").focus()}}},tn=function(e){function t(e){var n,r,i,o,a,s,c,u,l,d,f,h;Object(K.a)(this,t),h=Object(X.a)(this,Object(Q.a)(t).call(this,e));var p=e.course,m=e.lessons,v=e.match.params;return h.state={activeSections:at()(n=it()(m).call(m,function(e){return"section"===e.type})).call(n,function(e){return e.id}),isMobile:!1,isProgressSummary:Ft.e&&"progress-summary"===v.id,isPreviewLesson:"preview-lesson"===v.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:Object(Yt.d)(p),mobileMenuIsOpen:!1,selectedIndex:Object(Gt.b)(v.id)(m),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},h.forwardTransition=!0,h.root=window,h.closeMenu=G()(r=h.closeMenu).call(r,Object(Z.a)(h)),h.handleLessonsListRowClick=G()(i=h.handleLessonsListRowClick).call(i,Object(Z.a)(h)),h.handleMenuToggle=G()(o=h.handleMenuToggle).call(o,Object(Z.a)(h)),h.handleNavigateDirection=G()(a=h.handleNavigateDirection).call(a,Object(Z.a)(h)),h.handleNavigate=G()(s=h.handleNavigate).call(s,Object(Z.a)(h)),h.handleNavHover=G()(c=h.handleNavHover).call(c,Object(Z.a)(h)),h.handleStorylineFullscreen=G()(u=h.handleStorylineFullscreen).call(u,Object(Z.a)(h)),h.renderLesson=G()(l=h.renderLesson).call(l,Object(Z.a)(h)),h.renderSearchLesson=G()(d=h.renderSearchLesson).call(d,Object(Z.a)(h)),h.setIsMobileState=G()(f=h.setIsMobileState).call(f,Object(Z.a)(h)),h}return Object(J.a)(t,e),Object($.a)(t,null,[{key:"propTypes",get:function(){return{children:fe.a.node,course:fe.a.object,courseProgress:fe.a.object,labels:fe.a.object,lessons:fe.a.array,location:fe.a.object.isRequired,match:fe.a.object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),Object($.a)(t,[{key:"componentDidMount",value:function(){this.setIsMobileState(),this.root.addEventListener("resize",this.resizeRef=Tt()(this.setIsMobileState,1e3)),this.swipeEvents=Object(Rt.a)(this.node,this,this.handleMenuToggle,Function.prototype),this.setFocusIfNecessary()}},{key:"componentWillReceiveProps",value:function(e){if(e.match.params.id!==this.props.match.params.id){var t=ft()(Object(Gt.a)(e.lessons,e.match.params.id),this.state.activeSections),n=Ft.e&&"progress-summary"===e.match.params.id;this.setState({activeSections:t,isProgressSummary:n})}}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef),this.swipeEvents.removeListeners()}},{key:"setFocusIfNecessary",value:function(){var e=this.props,t=e.course,n=e.search,r=e.sessionPreferences.startedCourseWithLessonSelected,i=Object(Yt.c)({course:t,search:n}),o=en(i);i?r?(o(),Object(H.a)(Object(Bt.d)(!1))):this.sidebar.focus():o()}},{key:"handleLessonListRowComplete",value:function(e,t,n,r){var i=e.id,o=e.type,a=this.props,s=a.course,c=a.courseProgress,u=n.isRestricted;if(!Object(Yt.b)(s)&&!u&&"quiz"!==o)return r.preventDefault(),r.stopPropagation(),_t()(["lessons",i,"isComplete"],c)?Object(H.a)(Object(Ut.e)({id:i,type:o})):Object(H.a)(Object(Ut.b)({id:i,type:o}))}},{key:"handleNavigateDirection",value:function(){return this.forwardTransition?"page-transition":"page-transition-back"}},{key:"handleMenuToggle",value:function(){var e=this,t=this.state,n=t.menuIsOpen,r=t.mobileMenuIsOpen;this.setState({menuIsOpen:!n,mobileMenuIsOpen:Object(Vt.c)()&&!r,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},function(){e.resetSwipeListeners()})}},{key:"handleNavigate",value:function(e){var t=this,n=this.props.lessons,r=this.state,i=r.isProgressSummary,o=r.selectedIndex,a=Object(Gt.b)(e)(n);this.forwardTransition=!i&&("progress-summary"===e||o<a),this.setState({mobileMenuIsOpen:!1,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null,selectedIndex:a},function(){t.resetSwipeListeners()})}},{key:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"handleToggleSection",value:function(e){var t=this.state.activeSections;nt()(t).call(t,e.id)?this.setState({activeSections:it()(t).call(t,function(t){return t!==e.id})}):this.setState({activeSections:et()(t).call(t,e.id)})}},{key:"resetSwipeListeners",value:function(){this.state.mobileMenuIsOpen?this.swipeEvents.addListeners():this.swipeEvents.removeListeners()}},{key:"allowTabNavigation",value:function(){var e=this.props,t=e.course,n=e.search,r=this.state,i=r.isMobile,o=r.isPreviewLesson,a=r.menuIsOpen,s=r.mobileMenuIsOpen,c=Object(Yt.c)({course:t,search:n});return!o&&c&&(i?s:a)}},{key:"allowTabNavigationForLesson",value:function(e){var t=this.state.activeSections;return this.allowTabNavigation()&&(!e||!e.sectionId||nt()(t).call(t,e.sectionId))}},{key:"handleLessonsListRowClick",value:function(e){var t=e.lesson,n=e.id;"section"===t.type?this.handleToggleSection(t):this.handleNavigate(n)}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderLesson",value:function(e,t,n,r){var i,o=this.props,s=o.course,c=o.courseProgress,u=o.labels,l=o.lessons,d=o.location,f=o.search,h=this.state,p=h.activeSections,m=h.isRestrictedNavHovering,v=n.id,g=n.type,y=n.title,b=n.icon,_=Object(Yt.c)({course:s,search:f}),w=Object(Ht.b)({course:s,courseProgress:c,lesson:n,restrictingQuiz:t}),x=Object(zt.a)(c,v),k=x.percentComplete,E=x.passedQuiz;if(n.children){var S,T,C,O,A=nt()(p).call(p,n.id),j=G()(S=this.renderLesson).call(S,this,e,t),N="section-".concat(v),M=et()(T="Course Section for ".concat(y,", with ")).call(T,n.children.length," Lessons");return a.a.createElement("div",{key:"item-".concat(v)},a.a.createElement(Nt.a,{allowTabNavigation:e,allowTooltip:!m,focusLessonContent:en(_),icon:b,id:v,isSectionActive:A,labels:u,lesson:n,lessonIndex:Ze()(l).call(l,n),location:d,markComplete:s.markComplete,onClick:this.handleLessonsListRowClick,onComplete:G()(C=this.handleLessonListRowComplete).call(C,this,n,r,w),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:E,percentComplete:k,restrictions:w,sectionId:N,title:y,type:g}),a.a.createElement(Dt.a,{isActive:A,sectionId:N,sectionLabel:M},at()(O=n.children).call(O,j)))}return a.a.createElement(Nt.a,{allowTabNavigation:this.allowTabNavigationForLesson(n),allowTooltip:!m,focusLessonContent:en(_),icon:b,id:v,key:"item-".concat(v),labels:u,lesson:n,lessonIndex:Ze()(l).call(l,n),location:d,markComplete:s.markComplete,onClick:this.handleLessonsListRowClick,onComplete:G()(i=this.handleLessonListRowComplete).call(i,this,n,r,w),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:E,percentComplete:k,restrictions:w,title:y,type:g})}},{key:"renderMenuButtons",value:function(){var e=this.props,t=e.course,n=e.labels,r=e.search,i=t.lmsOptions,o=(void 0===i?{}:i).enableExitCourse,s=n.courseExit,c=Object(Yt.c)({course:t,search:r}),u=this.allowTabNavigation(),l="Toggle ".concat("Course Overview");return a.a.createElement("div",{className:"page__menu"},c&&a.a.createElement(Ue.a,{ariaExpanded:u,ariaLabel:l,ariaControls:"courseOverviewSidebar",icon:"menu",menu:!0,onClick:this.handleMenuToggle,onlyIcon:!0,tabIndex:qt.a}),a.a.createElement(Ct.a,{enableExitCourse:o,className:"courseExit courseExit--mobile",text:s}),a.a.createElement("div",{id:"no-menu",tabIndex:qt.i}))}},{key:"renderSidebar",value:function(e){var t,n=this,r=e.allowTabNavigation,i=e.restrictingQuiz,o=this.props,s=o.course,c=o.courseProgress,u=o.labels,l=o.lessons,d=o.search,f=o.sessionPreferences,h=u.courseSkipToLesson,p=d.active,m=Object(Yt.c)({course:s,search:d}),v=G()(t=this.renderLesson).call(t,this,r,i);return a.a.createElement(Xt,{hidden:!r,id:"courseOverviewSidebar",label:"Course Overview"},a.a.createElement(It.b,{allowSearch:!Object(Yt.b)(s)&&s.allowSearch,courseTitle:s.title,coverImage:s.coverImage,allowTabNavigation:r,focusLessonContent:en(m),labels:u,lessons:l,searchActive:p,sessionPreferences:f,ref:function(e){n.sidebar=e},skipLinkText:h},a.a.createElement(Lt.b,{lessonComplete:u.lessonComplete,value:c.percentComplete}),a.a.createElement(At.a,{labels:u,search:d},p?this.renderSearchResults(r):Zt(v,Object(Gt.c)(l)))))}},{key:"render",value:function(){var e=this,t=this.props,n=t.applySafariLandscapeHack,r=t.course,i=t.courseProgress,o=t.labels,s=t.lessons,c=t.location,u=t.match,l=t.partnerContent,d=t.previewType,f=t.safariLandscapeHackOffset,h=t.search,p=t.sessionPreferences,m=this.state,v=m.isPreviewLesson,g=m.isProgressSummary,y=m.isRestrictedNavHovering,b=m.menuIsOpen,_=m.mobileMenuIsOpen,w=r.lmsOptions,x=void 0===w?{}:w,k=(r.theme||{}).navigationType,E=x.enableExitCourse,S=o.courseExit,T=Object(Yt.c)({course:r,search:h}),C=function(e){var t=e.course,n=e.search;return xt()(lt()("lessons",n.lessons),lt()("lessonsOnly",Jt(n.lessons)))(t)}({course:r,search:h}),O=this.allowTabNavigation(),A=this.renderMenuButtons(),j=ae()("lesson",{"lesson--preview":v,"lesson--open":T&&b&&!v,"lesson--open-mobile":T&&_&&!v}),N=Object(Wt.a)({course:r,courseProgress:i}),M=n?{paddingBottom:f}:{},P={allowRestrictedTooltip:!y,course:h.active&&!vt()(h.lessons)?C:r,focusLessonContent:en(T),handleStorylineFullscreen:this.handleStorylineFullscreen,isProgressSummary:g,key:c.pathname,labels:o,lessonProgress:i.lessons[u.params.id],match:u,menuButtons:A,menuOpen:!v&&b,mobileMenuOpen:_,navigateDirection:this.handleNavigateDirection,onNavigate:this.handleNavigate,onNavMouse:this.handleNavHover,partnerContent:l,previewType:d,courseProgress:i,sessionPreferences:p,sidebarAvailable:T},I=g?{courseProgress:i,lessons:s}:{};return a.a.createElement($t,{className:j,contentRef:function(t){return e.node=t}},T&&this.renderSidebar({allowTabNavigation:O,restrictingQuiz:N}),"COMPACT"===k&&a.a.createElement(Pt,{course:r}),a.a.createElement("div",{className:"lesson__wrap",ref:function(t){return e.wrap=t}}),a.a.createElement(Qt,{onMobileMenuActiveClick:this.closeMenu},a.a.createElement("div",{className:"page-view page-view--visible"},a.a.createElement(Ct.a,{enableExitCourse:E,className:"courseExit courseExit--standard",text:S}),a.a.createElement(ne.TransitionGroup,{component:"div",className:"page-wrap",id:"page-wrap",style:M},a.a.createElement(Mt.a,{key:c.pathname},a.a.createElement(Ot.a,Object(Xe.a)({},P,I)))))))}},{key:"closeMenu",value:function(){return this.state.mobileMenuIsOpen?this.handleMenuToggle:Function.prototype}},{key:"renderSearchLesson",value:function(e,t,n){var r=this.props,i=r.course,o=r.labels,s=r.search,c=t.icon,u=t.id,l=t.results,d=t.title,f=t.type,h=Object(Yt.c)({course:i,search:s});return a.a.createElement(jt.a,{allowTabNavigation:e,focusLessonContent:en(h),icon:c,id:u,key:"item-".concat(u),labels:o,lessonIndex:n,onClick:this.handleNavigate,onMobileActiveClick:this.closeMenu,resultsCount:l,title:d,type:f})}},{key:"renderSearchResults",value:function(e){var t,n=this.props.search.activeLessons,r=G()(t=this.renderSearchLesson).call(t,this,e);return xt()(pt()(Ht.g),Zt(r))(n)}},{key:"setIsMobileState",value:function(){var e=this.state.lastScreen,t=getComputedStyle(this.node,":after").content.replace(/"/g,"");if(t!==e){var n="mobile"===t;this.setState({isMobile:n,lastScreen:t})}}}]),t}(a.a.Component),nn=n(404),rn=Object(nn.a)(tn),on=function(e){function t(){return Object(K.a)(this,t),Object(X.a)(this,Object(Q.a)(t).apply(this,arguments))}return Object(J.a)(t,e),Object($.a)(t,[{key:"displayFlex",value:function(e){e.style.display="flex"}},{key:"componentDidMount",value:function(){var e=this,t=document.querySelector(".page__content");t&&t.classList.add("page__content--appear");var n=document.querySelector("[data-page]:first-child [data-previous-lesson]"),r=document.querySelector(".page-wrap");r&&(n?V()(function(){e.displayFlex(n);var t=n.offsetHeight;r.scrollTop=t;var i=document.querySelector("[data-lesson-header]");i&&(i.style.top="".concat(t,"px"))},50):r.scrollTop=0)}},{key:"componentWillEnter",value:function(e){var t=document.querySelector("[data-overview-sidebar-content]"),n="overview-sidebar__content--will-enter",r="overview-sidebar__content--will-enter-active";t.classList.add(n),V()(function(){t.classList.add(r)},10),V()(function(){t.classList.remove(n,r),e()},2e3)}},{key:"render",value:function(){return a.a.createElement(ne.TransitionGroup,{className:"transition-group"},a.a.createElement(Mt.a,null,a.a.createElement(rn,this.props)))}}]),t}(o.Component),an=n(225),sn=n(636),cn=n(138),un=n(803),ln=n(181),dn=n(639),fn=n(192),hn=n(52),pn=n(267),mn=n.n(pn),vn=n(109),gn=n.n(vn),yn=n(30),bn=n.n(yn),_n=n(84),wn=n.n(_n),xn=n(391),kn=["media","theme"],En=n.n(xn)()(bn.a,mn()({color:_t()(["theme","colorAccent"])})),Sn=gn()(function(e){return ye()(En,bn()(e),wn()(kn))}),Tn=function(e){function t(e){var n,r,i,o;return Object(K.a)(this,t),(o=Object(X.a)(this,Object(Q.a)(t).call(this,e))).state={previewType:"",failAttempt:!1,notFound:!1,showPasswordDialog:!0},o.onSharePasswordSubmit=G()(n=o.onSharePasswordSubmit).call(n,Object(Z.a)(o)),o.onFavoriteAdded=G()(r=o.onFavoriteAdded).call(r,Object(Z.a)(o)),o.onFavoriteRemoved=G()(i=o.onFavoriteRemoved).call(i,Object(Z.a)(o)),o}return Object(J.a)(t,e),Object($.a)(t,[{key:"componentWillMount",value:function(){var e;je.a.isIe11&&document.documentElement.classList.add("ie11"),je.a.isSafari9&&document.documentElement.classList.add("safari9"),je.a.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),je.a.isSafari&&"iframe"===this.props.match.params.mode&&ce.a.enable(),window.addEventListener("message",G()(e=this.handleMessages).call(e,this)),Object(qt.l)()}},{key:"componentDidMount",value:function(){this.startRedux()}},{key:"updateConnectionStatus",value:function(e){Object(H.a)(Object(ln.b)(e))}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.languageCode;!t.languageCode&&n&&(document.documentElement.lang=n)}},{key:"startRedux",value:function(){var e=this;this.unsubscribe=H.b.subscribe(function(){var t=H.b.getState(),n=t.course,r=t.courseLabels,i=t.courseProgress,o=t.partnerContent,a=t.search,s=t.sessionPreferences,c=t.status,u=c.courseLoaded,l=c.fontsLoaded,d=c.coverLoaded,f=c.notFound,h=c.partnerContentLoaded;if(f&&e.setState({notFound:f}),u&&!d&&e.preloadCover(),u&&l&&h){var p=e.state.theme,m=p||n.theme,v=p?Sn(n,e.state.course):n;e.setState({course:v,courseProgress:i,labels:r.labels,languageCode:r.iso639Code,lessons:n&&n.lessons,partnerContent:o,search:a,sessionPreferences:s,theme:m})}});Object(H.a)([Object(an.c)(),Object(Bt.b)()]),Object(cn.h)("favoriteAdded",this.onFavoriteAdded),Object(cn.h)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"componentWillUnmount",value:function(){var e;this.unsubscribe(),window.removeEventListener("message",G()(e=this.handleMessages).call(e,this)),Object(cn.g)("favoriteAdded",this.onFavoriteAdded),Object(cn.g)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=e.data,n=t.type,r=t.data;"preview:update"===n&&this.setState({previewType:r}),"preview:themeUpdate"===n&&this.handleThemePreviewUpdate(r)}},{key:"handleThemePreviewUpdate",value:function(e){var t=e.course,n=e.theme,r=this.state.course,i=lt()("theme",n,t),o=Sn(r,i);this.setState({course:o,theme:n})}},{key:"onSharePasswordSubmit",value:function(e){var t=this;return Object(z.u)(e.value).then(function(n){n.isValid?t.setState({showPasswordDialog:!1}):(e.value="",t.setState({failAttempt:!0}))}).catch(function(e){return console.error("Verify password error",e)})}},{key:"onFavoriteAdded",value:function(){Object(H.a)(Object($e.d)())}},{key:"onFavoriteRemoved",value:function(){Object(H.a)(Object($e.e)())}},{key:"renderAppLayout",value:function(){var e=this.state,t=e.course,n=e.courseProgress,r=e.labels,i=e.lessons,o=e.partnerContent,s=e.previewType,c=e.search,u=e.sessionPreferences,l=this.props.location;if(!t)return null;var d=t.color,f=t.bodyTypeface,h=t.headingTypeface,p=t.uiTypeface,m=(t.theme||{}).themeId,v=l.pathname.split("/")[1],g={key:l.pathname.split("/")[1],course:t,courseProgress:n,labels:r,lessons:i,location:l,partnerContent:o,previewType:s,search:c,sessionPreferences:u},y={bodyTypeface:f,color:d,headingTypeface:h,uiTypeface:p},b=ae()(Ke,m||"classic");return a.a.createElement(ie.a,{title:Object(fn.a)(t.title)},a.a.createElement("div",{id:"innerApp",className:b},a.a.createElement(Oe,y),a.a.createElement(Ae.a,{env:"runtime"},a.a.createElement(ne.TransitionGroup,{component:"div",className:"transition-group"},a.a.createElement(Mt.a,{key:v},a.a.createElement(le.a,{location:l},a.a.createElement(ue.a,{exact:!0,path:"/",component:un.a,childProps:g}),a.a.createElement(ue.a,{exact:!0,path:"/:mode",component:un.a,childProps:g}),a.a.createElement(ue.a,{exact:!0,path:"/lessons/:id",component:on,childProps:g}),a.a.createElement(ue.a,{path:"/lessons/:id/:mode",component:on,childProps:g})))))))}},{key:"coverImageSuccess",value:function(){Object(H.a)(Object(ln.d)(!0))}},{key:"preloadCover",value:function(){var e=this,t=H.b.getState().course.coverImage.media,n=(void 0===t?{}:t).image,r=void 0===n?{}:n,i=r.key,o=r.src;if(i||o){var a=i?Object(hn.a)(r):o,s=V()(this.coverImageSuccess,5e3),c=new Image;c.src=a,c.onload=function(){clearTimeout(s),e.coverImageSuccess()}}else this.coverImageSuccess()}},{key:"render",value:function(){var e=this.state,t=e.failAttempt,n=e.notFound,r=e.showPasswordDialog,i=H.b.getState(),o=i.status,s=o.courseLoaded,c=o.fontsLoaded,u=o.coverLoaded,l=o.partnerContentLoaded,d=i.course.hasPassword,f=r&&Object(z.m)()&&(!!d||Object(z.l)()),h=this.onSharePasswordSubmit,p=!(s&&c&&u&&l);return n?a.a.createElement(sn.a,null):p?a.a.createElement(Ye,{status:status}):f?a.a.createElement(dn.a,{failAttempt:t,onSubmit:h}):this.renderAppLayout()}}]),t}(o.Component);Object(ee.setConfig)({ignoreSFC:!0,pureRender:!0});var Cn=Object(te.hot)(Tn),On=n(804),An=n(805),jn=n(59).a.learn.course,Nn=function(e){function t(e){var n,r,i,o;return Object(K.a)(this,t),(o=Object(X.a)(this,Object(Q.a)(t).call(this,e))).state={previewType:"",failAttempt:!1,notFound:!1,showPasswordDialog:!0},o.onSharePasswordSubmit=G()(n=o.onSharePasswordSubmit).call(n,Object(Z.a)(o)),o.onFavoriteAdded=G()(r=o.onFavoriteAdded).call(r,Object(Z.a)(o)),o.onFavoriteRemoved=G()(i=o.onFavoriteRemoved).call(i,Object(Z.a)(o)),o}return Object(J.a)(t,e),Object($.a)(t,[{key:"componentWillMount",value:function(){var e;je.a.isIe11&&document.documentElement.classList.add("ie11"),je.a.isSafari9&&document.documentElement.classList.add("safari9"),je.a.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),je.a.isSafari&&"iframe"===this.props.match.params.mode&&ce.a.enable(),window.addEventListener("message",G()(e=this.handleMessages).call(e,this)),Object(qt.l)()}},{key:"componentDidMount",value:function(){this.startRedux()}},{key:"updateConnectionStatus",value:function(e){Object(H.a)(Object(ln.b)(e))}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.languageCode;!t.languageCode&&n&&(document.documentElement.lang=n)}},{key:"startRedux",value:function(){var e=this;this.unsubscribe=H.b.subscribe(function(){var t=H.b.getState(),n=t.course,r=t.courseLabels,i=t.courseProgress,o=t.partnerContent,a=t.search,s=t.sessionPreferences,c=t.status,u=c.courseLoaded,l=c.fontsLoaded,d=c.coverLoaded,f=c.notFound,h=c.partnerContentLoaded;f&&e.setState({notFound:f}),u&&!d&&e.preloadCover(),u&&l&&h&&e.setState({course:n,courseProgress:i,labels:r.labels,languageCode:r.iso639Code,lessons:n&&n.lessons,partnerContent:o,search:a,sessionPreferences:s})});Object(H.a)([Object(an.c)(),Object(Bt.b)()]),Object(cn.h)("favoriteAdded",this.onFavoriteAdded),Object(cn.h)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"componentWillUnmount",value:function(){var e;this.unsubscribe(),window.removeEventListener("message",G()(e=this.handleMessages).call(e,this)),Object(cn.g)("favoriteAdded",this.onFavoriteAdded),Object(cn.g)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=e.data,n=t.type,r=t.data;"preview:update"===n&&this.setState({previewType:r})}},{key:"onSharePasswordSubmit",value:function(e){var t=this;return Object(z.u)(e.value).then(function(n){n.isValid?t.setState({showPasswordDialog:!1}):(e.value="",t.setState({failAttempt:!0}))}).catch(function(e){return console.error("Verify password error",e)})}},{key:"onFavoriteAdded",value:function(){Object(H.a)(Object($e.d)())}},{key:"onFavoriteRemoved",value:function(){Object(H.a)(Object($e.e)())}},{key:"renderAppLayout",value:function(){var e=this.state,t=e.course,n=e.courseProgress,r=e.labels,i=e.lessons,o=e.partnerContent,s=e.previewType,c=e.search,u=e.sessionPreferences,l=this.props.location;if(!t)return null;var d=t.color,f=t.bodyTypeface,h=t.headingTypeface,p=t.uiTypeface,m=l.pathname.split("/")[1],v={key:l.pathname.split("/")[1],course:t,courseProgress:n,labels:r,lessons:i,location:l,partnerContent:o,previewType:s,search:c,sessionPreferences:u},g={bodyTypeface:f,color:d,headingTypeface:h,uiTypeface:p};return a.a.createElement(ie.a,{title:Object(fn.a)(t.title)},a.a.createElement("div",{id:"innerApp","data-ba":jn.container,className:Ke},a.a.createElement(Oe,g),a.a.createElement(Ae.a,{env:"runtime"},a.a.createElement(ne.TransitionGroup,{component:"div",className:"transition-group"},a.a.createElement(Mt.a,{key:m},a.a.createElement(le.a,{location:l},a.a.createElement(ue.a,{exact:!0,path:"/",component:An.a,childProps:v}),a.a.createElement(ue.a,{exact:!0,path:"/:mode",component:An.a,childProps:v}),a.a.createElement(ue.a,{exact:!0,path:"/lessons/:id",component:On.a,childProps:v}),a.a.createElement(ue.a,{path:"/lessons/:id/:mode",component:On.a,childProps:v})))))))}},{key:"coverImageSuccess",value:function(){Object(H.a)(Object(ln.d)(!0))}},{key:"preloadCover",value:function(){var e=this,t=H.b.getState().course.coverImage.media,n=(void 0===t?{}:t).image,r=void 0===n?{}:n,i=r.key,o=r.src;if(i||o){var a=i?Object(hn.a)(r):o,s=V()(this.coverImageSuccess,5e3),c=new Image;c.src=a,c.onload=function(){clearTimeout(s),e.coverImageSuccess()}}else this.coverImageSuccess()}},{key:"render",value:function(){var e=this.state,t=e.failAttempt,n=e.notFound,r=e.showPasswordDialog,i=H.b.getState(),o=i.status,s=o.courseLoaded,c=o.fontsLoaded,u=o.coverLoaded,l=o.partnerContentLoaded,d=i.course.hasPassword,f=r&&Object(z.m)()&&(!!d||Object(z.l)()),h=this.onSharePasswordSubmit,p=!(s&&c&&u&&l);return n?a.a.createElement(sn.a,null):p?a.a.createElement(Ye,{status:status}):f?a.a.createElement(dn.a,{failAttempt:t,onSubmit:h}):this.renderAppLayout()}}]),t}(o.Component);Object(ee.setConfig)({ignoreSFC:!0,pureRender:!0});var Mn=Object(te.hot)(Nn),Pn=["auth0|57a101e9c1a3919e292b5877","auth0|193b89c0-3ce4-0132-0694-22000b280173","aid|08762a34-ce99-490e-9383-c0f3ef6e2d83","auth0|57d9b8373c8a813106725948","auth0|5b965790-3cf1-0132-d4ce-22000b1288a9","aid|79003b5c-068e-4bd0-b5a9-c7dddb708dbf"],In=function(){return"360"===Object(Ft.c)("SERVICE_PRODUCT")&&nt()(e=["dev","stage"]).call(e,Object(Ft.c)("SERVICE_ENV"))&&nt()(Pn).call(Pn,Object(B.a)());var e},Ln=D();Object(z.n)(Ln);var Dn=In()?Cn:Mn;Object(s.render)(a.a.createElement(u.a,{store:H.b},a.a.createElement(c.b,{history:Ln},a.a.createElement(c.a,{path:"/",component:Dn}))),document.getElementById("app"))}]);