@canopycanopycanopy/b-ber-reader 1.2.13-react-reader.71 → 1.2.13-react-reader.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ var r=n(664),o=n(665),i=n(383);function a(){return s.TYPED_ARRAY_SUPPORT?2147483
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var r=60103,o=60106,i=60107,a=60108,u=60114,s=60109,c=60110,l=60112,f=60113,d=60120,p=60115,h=60116,b=60121,y=60122,v=60117,m=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;r=w("react.element"),o=w("react.portal"),i=w("react.fragment"),a=w("react.strict_mode"),u=w("react.profiler"),s=w("react.provider"),c=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),b=w("react.block"),y=w("react.server.block"),v=w("react.fundamental"),m=w("react.debug_trace_mode"),g=w("react.legacy_hidden")}function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case u:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case p:case s:return e;default:return t}}case o:return t}}}var S=s,O=r,x=l,E=i,k=h,P=p,j=o,T=u,A=a,C=f;t.ContextConsumer=c,t.ContextProvider=S,t.Element=O,t.ForwardRef=x,t.Fragment=E,t.Lazy=k,t.Memo=P,t.Portal=j,t.Profiler=T,t.StrictMode=A,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===l},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===h},t.isMemo=function(e){return _(e)===p},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===m||e===a||e===f||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===v||e.$$typeof===b||e[0]===y)},t.typeOf=_},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.r(t);var o=r();o.withExtraArgument=r,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(59),o=l(n(295)),i=l(n(505)),a=l(n(551)),u=l(n(552)),s=l(n(553)),c=l(n(554));function l(e){return e&&e.__esModule?e:{default:e}}var f={readerSettings:o.default,viewerSettings:i.default,readerLocation:a.default,markers:u.default,view:s.default,userInterface:c.default},d=(0,r.combineReducers)(f);t.default=d},function(e,t,n){var r=n(20),o=n(21),i=n(24),a=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&o(n=e.toString)&&!i(u=r(n,e)))return u;if(o(n=e.valueOf)&&!i(u=r(n,e)))return u;if("string"!==t&&o(n=e.toString)&&!i(u=r(n,e)))return u;throw a("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},function(e,t,n){"use strict";var r=n(11),o=n(13),i=n(20),a=n(10),u=n(62),s=n(23),c=n(98),l=n(9),f=n(25),d=n(61),p=n(31),h=n(49),b=n(117),y=n(39),v=n(83),m=n(67),g=n(121),w=n(74),_=n(306),S=n(150),O=n(71),x=n(34),E=n(304),k=n(145),P=n(40),j=n(100),T=n(148),A=n(119),C=n(118),L=n(18),R=n(307),I=n(151),N=n(456),M=n(54),D=n(44),U=n(46).forEach,F=T("hidden"),B=D.set,z=D.getterFor("Symbol"),q=Object.prototype,W=o.Symbol,H=W&&W.prototype,V=o.TypeError,G=o.QObject,K=O.f,Y=x.f,$=_.f,Q=k.f,X=a([].push),Z=j("symbols"),J=j("op-symbols"),ee=j("wks"),te=!G||!G.prototype||!G.prototype.findChild,ne=s&&l((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(q,t);r&&delete q[t],Y(e,t,n),r&&e!==q&&Y(q,t,r)}:Y,re=function(e,t){var n=Z[e]=m(H);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=function(e,t,n){e===q&&oe(J,t,n),p(e);var r=b(t);return p(n),f(Z,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=m(n,{enumerable:v(0,!1)})):(f(e,F)||Y(e,F,v(1,{})),e[F][r]=!0),ne(e,r,n)):Y(e,r,n)},ie=function(e,t){p(e);var n=h(t),r=g(n).concat(ce(n));return U(r,(function(t){s&&!i(ae,n,t)||oe(e,t,n[t])})),e},ae=function(e){var t=b(e),n=i(Q,this,t);return!(this===q&&f(Z,t)&&!f(J,t))&&(!(n||!f(this,t)||!f(Z,t)||f(this,F)&&this[F][t])||n)},ue=function(e,t){var n=h(e),r=b(t);if(n!==q||!f(Z,r)||f(J,r)){var o=K(n,r);return!o||!f(Z,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},se=function(e){var t=$(h(e)),n=[];return U(t,(function(e){f(Z,e)||f(A,e)||X(n,e)})),n},ce=function(e){var t=e===q,n=$(t?J:h(e)),r=[];return U(n,(function(e){!f(Z,e)||t&&!f(q,e)||X(r,Z[e])})),r};c||(P(H=(W=function(){if(d(H,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,t=C(e),n=function(e){this===q&&i(n,J,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),ne(this,t,v(1,e))};return s&&te&&ne(q,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return z(this).tag})),P(W,"withoutSetter",(function(e){return re(C(e),e)})),k.f=ae,x.f=oe,E.f=ie,O.f=ue,w.f=_.f=se,S.f=ce,R.f=function(e){return re(L(e),e)},s&&(Y(H,"description",{configurable:!0,get:function(){return z(this).description}}),u||P(q,"propertyIsEnumerable",ae,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),U(g(ee),(function(e){I(e)})),r({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?m(e):ie(m(e),t)},defineProperty:oe,defineProperties:ie,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se}),N(),M(W,"Symbol"),A[F]=!0},function(e,t,n){var r=n(13);e.exports=r},function(e,t,n){var r=n(20),o=n(50),i=n(18),a=n(40);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return r(n,this)}),{arity:1})}},function(e,t,n){var r=n(152),o=n(153),i=n(24),a=n(18)("species"),u=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===u||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},function(e,t,n){var r=n(11),o=n(50),i=n(25),a=n(39),u=n(100),s=n(309),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,l[n]=t,n}})},function(e,t,n){var r=n(11),o=n(25),i=n(97),a=n(85),u=n(100),s=n(309),c=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},function(e,t,n){var r=n(11),o=n(50),i=n(77),a=n(20),u=n(10),s=n(9),c=n(152),l=n(21),f=n(24),d=n(97),p=n(102),h=n(98),b=o("JSON","stringify"),y=u(/./.exec),v=u("".charAt),m=u("".charCodeAt),g=u("".replace),w=u(1..toString),_=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,x=!h||s((function(){var e=o("Symbol")();return"[null]"!=b([e])||"{}"!=b({a:e})||"{}"!=b(Object(e))})),E=s((function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")})),k=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return c(t)||(t=function(e,t){if(l(r)&&(t=a(r,this,e,t)),!d(t))return t}),n[1]=t,i(b,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return y(S,e)&&!y(O,o)||y(O,e)&&!y(S,r)?"\\u"+w(m(e,0),16):e};b&&r({target:"JSON",stat:!0,arity:3,forced:x||E},{stringify:function(e,t,n){var r=p(arguments),o=i(x?k:b,null,r);return E&&"string"==typeof o?g(o,_,P):o}})},function(e,t,n){var r=n(11),o=n(98),i=n(9),a=n(150),u=n(42);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},function(e,t,n){"use strict";var r=n(199),o=n(76);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(46).forEach,o=n(155)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(21),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},function(e,t,n){"use strict";var r,o=n(13),i=n(10),a=n(126),u=n(127),s=n(202),c=n(467),l=n(24),f=n(315),d=n(44).enforce,p=n(300),h=!o.ActiveXObject&&"ActiveXObject"in o,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},y=s("WeakMap",b,c);if(p&&h){r=c.getConstructor(b,"WeakMap",!0),u.enable();var v=y.prototype,m=i(v.delete),g=i(v.has),w=i(v.get),_=i(v.set);a(v,{delete:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),m(this,e)||t.frozen.delete(e)}return m(this,e)},has:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),g(this,e)||t.frozen.has(e)}return g(this,e)},get:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),g(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=d(this);n.frozen||(n.frozen=new r),g(this,e)?_(this,e,t):n.frozen.set(e,t)}else _(this,e,t);return this}})}},function(e,t,n){var r=n(9);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){"use strict";var r=n(10),o=n(126),i=n(127).getWeakData,a=n(31),u=n(24),s=n(78),c=n(128),l=n(46),f=n(25),d=n(44),p=d.set,h=d.getterFor,b=l.find,y=l.findIndex,v=r([].splice),m=0,g=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},_=function(e,t){return b(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var l=e((function(e,o){s(e,d),p(e,{type:t,id:m++,frozen:void 0}),null!=o&&c(o,e[r],{that:e,AS_ENTRIES:n})})),d=l.prototype,b=h(t),y=function(e,t,n){var r=b(e),o=i(a(t),!0);return!0===o?g(r).set(t,n):o[r.id]=n,e};return o(d,{delete:function(e){var t=b(this);if(!u(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=b(this);if(!u(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&f(n,t.id)}}),o(d,n?{get:function(e){var t=b(this);if(u(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),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=n(104),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[u]=n:delete e[u]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},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=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(26),n(6),n(36),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0,n(2),n(1),n(4),n(5),n(88),n(89),n(16),n(19),n(321);var a=function(e){return e instanceof URLSearchParams?e:new URLSearchParams(e)};t.getUrlParams=a,t.hasSearchParams=function(e,t){if(!e)return!1;var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=!0;return n.has(r)&&n.has(o)||(i=!1),i},t.stripSearchParams=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug,u=new Set([r,o,i]);return n.forEach((function(e,t){u.has(t)||n.delete(t)})),n},t.ensureSearchParams=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex;return n.has(r)||n.set(r,0),n.has(o)||n.set(o,0),n};var u=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug;return n.delete(r),n.delete(o),n.delete(i),n};t.excludeSearchParams=u,t.appendExternalParams=function(e,t){var n,i=a(e),s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}(u(window.location.search,t));try{for(s.s();!(n=s.n()).done;){var c=r(n.value,2),l=c[0],f=c[1];i.set(l,f)}}catch(e){s.e(e)}finally{s.f()}return i}},function(e,t,n){var r=n(31),o=n(317);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},function(e,t,n){"use strict";n(202)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(328))},function(e,t,n){"use strict";n(4);var r,o=n(11),i=n(23),a=n(323),u=n(13),s=n(68),c=n(10),l=n(40),f=n(329),d=n(78),p=n(25),h=n(330),b=n(327),y=n(122),v=n(201).codeAt,m=n(475),g=n(39),w=n(54),_=n(207),S=n(322),O=n(44),x=O.set,E=O.getterFor("URL"),k=S.URLSearchParams,P=S.getState,j=u.URL,T=u.TypeError,A=u.parseInt,C=Math.floor,L=Math.pow,R=c("".charAt),I=c(/./.exec),N=c([].join),M=c(1..toString),D=c([].pop),U=c([].push),F=c("".replace),B=c([].shift),z=c("".split),q=c("".slice),W=c("".toLowerCase),H=c([].unshift),V=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,$=/^[0-7]+$/,Q=/^\d+$/,X=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,J=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,te=/[\t\n\r]/g,ne=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)H(t,e%256),e=C(e/256);return N(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=M(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},re={},oe=h({},re,{" ":1,'"':1,"<":1,">":1,"`":1}),ie=h({},oe,{"#":1,"?":1,"{":1,"}":1}),ae=h({},ie,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var n=v(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var n;return 2==e.length&&I(V,R(e,0))&&(":"==(n=R(e,1))||!t&&"|"==n)},le=function(e){var t;return e.length>1&&ce(q(e,0,2))&&(2==e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===W(e)},de={},pe={},he={},be={},ye={},ve={},me={},ge={},we={},_e={},Se={},Oe={},xe={},Ee={},ke={},Pe={},je={},Te={},Ae={},Ce={},Le={},Re=function(e,t,n){var r,o,i,a=g(e);if(t){if(o=this.parse(a))throw T(o);this.searchParams=null}else{if(void 0!==n&&(r=new Re(n,!0)),o=this.parse(a,null,r))throw T(o);(i=P(new k)).bindURL(this),this.searchParams=i}};Re.prototype={type:"URL",parse:function(e,t,n){var o,i,a,u,s,c=this,l=t||de,f=0,d="",h=!1,v=!1,m=!1;for(e=g(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=F(e,ee,"")),e=F(e,te,""),o=b(e);f<=o.length;){switch(i=o[f],l){case de:if(!i||!I(V,i)){if(t)return"Invalid scheme";l=he;continue}d+=W(i),l=pe;break;case pe:if(i&&(I(G,i)||"+"==i||"-"==i||"."==i))d+=W(i);else{if(":"!=i){if(t)return"Invalid scheme";d="",l=he,f=0;continue}if(t&&(c.isSpecial()!=p(se,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&se[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=Ee:c.isSpecial()&&n&&n.scheme==c.scheme?l=be:c.isSpecial()?l=ge:"/"==o[f+1]?(l=ye,f++):(c.cannotBeABaseURL=!0,U(c.path,""),l=Ae)}break;case he:if(!n||n.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==i){c.scheme=n.scheme,c.path=y(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"==n.scheme?Ee:ve;continue;case be:if("/"!=i||"/"!=o[f+1]){l=ve;continue}l=we,f++;break;case ye:if("/"==i){l=_e;break}l=Te;continue;case ve:if(c.scheme=n.scheme,i==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query=n.query;else if("/"==i||"\\"==i&&c.isSpecial())l=me;else if("?"==i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query="",l=Ce;else{if("#"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.path.length--,l=Te;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query=n.query,c.fragment="",l=Le}break;case me:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Te;continue}l=_e}else l=we;break;case ge:if(l=we,"/"!=i||"/"!=R(d,f+1))continue;f++;break;case we:if("/"!=i&&"\\"!=i){l=_e;continue}break;case _e:if("@"==i){h&&(d="%40"+d),h=!0,a=b(d);for(var w=0;w<a.length;w++){var _=a[w];if(":"!=_||m){var S=ue(_,ae);m?c.password+=S:c.username+=S}else m=!0}d=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==d)return"Invalid authority";f-=b(d).length+1,d="",l=Se}else d+=i;break;case Se:case Oe:if(t&&"file"==c.scheme){l=Pe;continue}if(":"!=i||v){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==d)return"Invalid host";if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(d))return u;if(d="",l=je,t)return;continue}"["==i?v=!0:"]"==i&&(v=!1),d+=i}else{if(""==d)return"Invalid host";if(u=c.parseHost(d))return u;if(d="",l=xe,t==Oe)return}break;case xe:if(!I(K,i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=d){var O=A(d,10);if(O>65535)return"Invalid port";c.port=c.isSpecial()&&O===se[c.scheme]?null:O,d=""}if(t)return;l=je;continue}return"Invalid port"}d+=i;break;case Ee:if(c.scheme="file","/"==i||"\\"==i)l=ke;else{if(!n||"file"!=n.scheme){l=Te;continue}if(i==r)c.host=n.host,c.path=y(n.path),c.query=n.query;else if("?"==i)c.host=n.host,c.path=y(n.path),c.query="",l=Ce;else{if("#"!=i){le(N(y(o,f),""))||(c.host=n.host,c.path=y(n.path),c.shortenPath()),l=Te;continue}c.host=n.host,c.path=y(n.path),c.query=n.query,c.fragment="",l=Le}}break;case ke:if("/"==i||"\\"==i){l=Pe;break}n&&"file"==n.scheme&&!le(N(y(o,f),""))&&(ce(n.path[0],!0)?U(c.path,n.path[0]):c.host=n.host),l=Te;continue;case Pe:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&ce(d))l=Te;else if(""==d){if(c.host="",t)return;l=je}else{if(u=c.parseHost(d))return u;if("localhost"==c.host&&(c.host=""),t)return;d="",l=je}continue}d+=i;break;case je:if(c.isSpecial()){if(l=Te,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=r&&(l=Te,"/"!=i))continue}else c.fragment="",l=Le;else c.query="",l=Ce;break;case Te:if(i==r||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=W(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||U(c.path,"")):fe(d)?"/"==i||"\\"==i&&c.isSpecial()||U(c.path,""):("file"==c.scheme&&!c.path.length&&ce(d)&&(c.host&&(c.host=""),d=R(d,0)+":"),U(c.path,d)),d="","file"==c.scheme&&(i==r||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"==i?(c.query="",l=Ce):"#"==i&&(c.fragment="",l=Le)}else d+=ue(i,ie);break;case Ae:"?"==i?(c.query="",l=Ce):"#"==i?(c.fragment="",l=Le):i!=r&&(c.path[0]+=ue(i,re));break;case Ce:t||"#"!=i?i!=r&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":ue(i,re)):(c.fragment="",l=Le);break;case Le:i!=r&&(c.fragment+=ue(i,oe))}f++}},parseHost:function(e){var t,n,r;if("["==R(e,0)){if("]"!=R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,n,r,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return R(e,f)};if(":"==d()){if(":"!=R(e,1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&I(X,d());)t=16*t+A(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!I(K,d()))return;for(;I(K,d());){if(i=A(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!=c)return;return s}(q(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=m(e),I(Z,e))return"Invalid host";if(null===(t=function(e){var t,n,r,o,i,a,u,s=z(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=s[r]))return e;if(i=10,o.length>1&&"0"==R(o,0)&&(i=I(Y,o)?16:8,o=q(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?Q:8==i?$:X,o))return e;a=A(o,i)}U(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=D(n),r=0;r<n.length;r++)u+=n[r]*L(256,3-r);return u}(e)))return"Invalid host";this.host=t}else{if(I(J,e))return"Invalid host";for(t="",n=b(e),r=0;r<n.length;r++)t+=ue(n[r],re);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(se,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ce(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ne(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+N(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ie(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ne(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",de)},getUsername:function(){return this.username},setUsername:function(e){var t=b(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ue(t[n],ae)}},getPassword:function(){return this.password},setPassword:function(e){var t=b(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ue(t[n],ae)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ne(e):ne(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":ne(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=g(e))?this.port=null:this.parse(e,xe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,je))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=g(e))?this.query=null:("?"==R(e,0)&&(e=q(e,1)),this.query="",this.parse(e,Ce)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=g(e))?("#"==R(e,0)&&(e=q(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ie=function(e){var t=d(this,Ne),n=_(arguments.length,1)>1?arguments[1]:void 0,r=x(t,new Re(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Ne=Ie.prototype,Me=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ne,"href",Me("serialize","setHref")),f(Ne,"origin",Me("getOrigin")),f(Ne,"protocol",Me("getProtocol","setProtocol")),f(Ne,"username",Me("getUsername","setUsername")),f(Ne,"password",Me("getPassword","setPassword")),f(Ne,"host",Me("getHost","setHost")),f(Ne,"hostname",Me("getHostname","setHostname")),f(Ne,"port",Me("getPort","setPort")),f(Ne,"pathname",Me("getPathname","setPathname")),f(Ne,"search",Me("getSearch","setSearch")),f(Ne,"searchParams",Me("getSearchParams")),f(Ne,"hash",Me("getHash","setHash"))),l(Ne,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),j){var De=j.createObjectURL,Ue=j.revokeObjectURL;De&&l(Ie,"createObjectURL",s(De,j)),Ue&&l(Ie,"revokeObjectURL",s(Ue,j))}w(Ie,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ie})},function(e,t,n){"use strict";var r=n(10),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,s=r(i.exec),c=Math.floor,l=String.fromCharCode,f=r("".charCodeAt),d=r([].join),p=r([].push),h=r("".replace),b=r("".split),y=r("".toLowerCase),v=function(e){return e+22+75*(e<26)},m=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},g=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=f(e,n++);if(o>=55296&&o<=56319&&n<r){var i=f(e,n++);56320==(64512&i)?p(t,((1023&o)<<10)+(1023&i)+65536):(p(t,o),n--)}else p(t,o)}return t}(e)).length,i=128,s=0,h=72;for(t=0;t<e.length;t++)(n=e[t])<128&&p(r,l(n));var b=r.length,y=b;for(b&&p(r,"-");y<o;){var g=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=i&&n<g&&(g=n);var w=y+1;if(g-i>c((2147483647-s)/w))throw u(a);for(s+=(g-i)*w,i=g,t=0;t<e.length;t++){if((n=e[t])<i&&++s>2147483647)throw u(a);if(n==i){for(var _=s,S=36;;){var O=S<=h?1:S>=h+26?26:S-h;if(_<O)break;var x=_-O,E=36-O;p(r,l(v(O+x%E))),_=c(x/E),S+=36}p(r,l(v(_))),h=m(s,w,y==b),s=0,y++}}s++,i++}return d(r,"")};e.exports=function(e){var t,n,r=[],a=b(h(y(e),i,"."),".");for(t=0;t<a.length;t++)n=a[t],p(r,s(o,n)?"xn--"+g(n):n);return d(r,".")}},function(e,t,n){var r=n(23),o=n(10),i=n(121),a=n(49),u=o(n(145).f),s=o([].push),c=function(e){return function(t){for(var n,o=a(t),c=i(o),l=c.length,f=0,d=[];l>f;)n=c[f++],r&&!u(o,n)||s(d,e?[n,o[n]]:o[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){var r=n(101).PROPER,o=n(9),i=n(333);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},function(e,t,n){var r=n(10),o=n(42),i=Math.floor,a=r("".charAt),u=r("".replace),s=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,b=l;return void 0!==f&&(f=o(f),b=c),u(d,b,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,p);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var d=i(l/10);return 0===d?o:d<=h?void 0===r[d-1]?a(u,1):r[d-1]+a(u,1):o}c=r[l-1]}return void 0===c?"":c}))}},function(e,t,n){"use strict";var r={for:"htmlFor",class:"className",accept:"accept",acceptcharset:"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",async:"async",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",cite:"cite",classid:"classID",classname:"className",colspan:"colSpan",cols:"cols",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",novalidate:"noValidate",nonce:"nonce",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",rel:"rel",required:"required",reversed:"reversed",role:"role",rowspan:"rowSpan",rows:"rows",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",accentheight:"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baseprofile:"baseProfile",baselineshift:"baselineShift",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight",clip:"clip",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity",fillrule:"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodcolor:"floodColor",floodopacity:"floodOpacity",focusable:"focusable",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition",overlinethickness:"overlineThickness",paintorder:"paintOrder",panose1:"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",shaperendering:"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor",stopopacity:"stopOpacity",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering",to:"to",transform:"transform",u1:"u1",u2:"u2",underlineposition:"underlinePosition",underlinethickness:"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange",unitsperem:"unitsPerEm",valphabetic:"vAlphabetic",vhanging:"vHanging",videographic:"vIdeographic",vmathematical:"vMathematical",values:"values",vectoreffect:"vectorEffect",version:"version",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",widths:"widths",wordspacing:"wordSpacing",writingmode:"writingMode",x:"x",x1:"x1",x2:"x2",xchannelselector:"xChannelSelector",xheight:"xHeight",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType",xmlns:"xmlns",xmlnsxlink:"xmlnsXlink",xmlbase:"xmlBase",xmllang:"xmlLang",xmlspace:"xmlSpace",y:"y",y1:"y1",y2:"y2",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan",onabort:"onAbort",onanimationend:"onAnimationEnd",onanimationiteration:"onAnimationIteration",onanimationstart:"onAnimationStart",onblur:"onBlur",oncanplay:"onCanPlay",oncanplaythrough:"onCanPlayThrough",onchange:"onChange",onclick:"onClick",oncompositionend:"onCompositionEnd",oncompositionstart:"onCompositionStart",oncompositionupdate:"onCompositionUpdate",oncontextmenu:"onContextMenu",oncopy:"onCopy",oncut:"onCut",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",ondurationchange:"onDurationChange",onemptied:"onEmptied",onencrypted:"onEncrypted",onended:"onEnded",onerror:"onError",onfocus:"onFocus",oninput:"onInput",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onloadeddata:"onLoadedData",onloadedmetadata:"onLoadedMetadata",onloadstart:"onLoadStart",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onpaste:"onPaste",onpause:"onPause",onplay:"onPlay",onplaying:"onPlaying",onprogress:"onProgress",onratechange:"onRateChange",onscroll:"onScroll",onseeked:"onSeeked",onseeking:"onSeeking",onselect:"onSelect",onstalled:"onStalled",onsubmit:"onSubmit",onsuspend:"onSuspend",ontimeupdate:"onTimeUpdate",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",ontransitionend:"onTransitionEnd",onvolumechange:"onVolumeChange",onwaiting:"onWaiting",onwheel:"onWheel"},o=/[-:]/g,i=function(e){if(/^(data-|aria-)/.test(e))return e;var t=e.replace(o,"").toLowerCase();return r[t]||e};e.exports=i,e.exports.convert=i},function(e,t,n){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function n(e,n){return""===n?t(e):(n[0]!==e.quotes&&(n=e.quotes+n),n[n.length-1]!==e.quotes&&(n+=e.quotes),n)}function r(e,r){return 1===arguments.length&&(r=e,e={quotes:'"'}),"string"==typeof r?n(e,r):null==r?t(e):r}return(e={exports:{}}).exports=function(e){return"object"==typeof e?r.bind(null,e):r(e)},e.exports}()},function(e,t){e.exports=function(e){return(""+e).replace(/["'\\\n\r\u2028\u2029]/g,(function(e){switch(e){case'"':case"'":case"\\":return"\\"+e;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}}))}},function(e,t,n){var r=n(483),o=n(491)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},function(e,t,n){var r=n(131),o=n(485);e.exports=function(e){return o(r(e).toLowerCase())}},function(e,t,n){var r=n(104),o=n(334),i=n(56),a=n(167),u=r?r.prototype:void 0,s=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(486)("toUpperCase");e.exports=r},function(e,t,n){var r=n(487),o=n(336),i=n(488),a=n(131);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,u=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return u[e]()+s}}},function(e,t,n){var r=n(335);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},function(e,t,n){var r=n(489),o=n(336),i=n(490);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",s="[\\ufe0e\\ufe0f]?"+u+"(?:\\u200d(?:"+[o,i,a].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*",c="(?:"+[o+n+"?",n,i,a,"[\\ud800-\\udfff]"].join("|")+")",l=RegExp(r+"(?="+r+")|"+c+s,"g");e.exports=function(e){return e.match(l)||[]}},function(e,t,n){var r=n(492),o=n(493),i=n(496),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},function(e,t,n){var r=n(494),o=n(131),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){var r=n(495)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(497),o=n(498),i=n(131),a=n(499);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:"+i+"|"+a+")",f="(?:"+c+"|"+a+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+d+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*",h="(?:"+["[\\u2700-\\u27bf]",u,s].join("|")+")"+p,b=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,c,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,c+l,"$"].join("|")+")",c+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,h].join("|"),"g");e.exports=function(e){return e.match(b)||[]}},function(e,t,n){n(11)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){n(11)({target:"Number",stat:!0},{isFinite:n(502)})},function(e,t,n){var r=n(13).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t){var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(899).createBrowserHistory)();t.default=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(339));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=(new(n(133).ViewerSettings)).get();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.SETTINGS_UPDATE:case o.SETTINGS_SAVE:case o.SETTINGS_LOAD:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(7);var o=function(){function e(t){var n=t.title,r=t.creator,o=t.date,i=t.publisher,a=t.description,u=t.language,s=t.rights,c=t.identifier;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title=n,this.creator=r,this.date=o,this.publisher=i,this.description=a,this.language=u,this.rights=s,this.identifier=c}var t,n;return t=e,(n=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){var n=t.id,r=t.href,o=t.mediaType,i=t.properties,a=t.idref,u=t.linear,s=t.absoluteURL,c=void 0===s?"":s,l=t.title,f=void 0===l?"":l,d=t.slug,p=void 0===d?"":d,h=t.depth,b=void 0===h?0:h,y=t.children,v=void 0===y?[]:y,m=t.inTOC,g=void 0!==m&&m;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n,this.href=r,this.mediaType=o,this.properties=i,this.idref=a,this.linear=u,this.absoluteURL=c,this.title=f,this.slug=p,this.depth=b,this.children=v,this.inTOC=g}var t,n;return t=e,(n=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}},{key:"addChild",value:function(e){this.children.push(e)}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=t.type,r=t.title,o=t.href;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=n,this.title=r,this.href=o,this.absoluteURL=""}));t.default=o},function(e,t,n){"use strict";n(3),n(7),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(16),n(91);var r=s(n(130)),o=s(n(169)),i=n(93),a=n(27),u=s(n(41));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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{enumerable:!0};return Object.entries(t).forEach((function(t){var i=h(t,2),a=i[0],u=i[1],s=(0,o.default)(n,a)?n[a]:u;Object.defineProperty(e,a,d({value:s},r))})),e},v=function(e){return"function"==typeof e?e.call():e},m=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e),p(this,"get",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?(0,o.default)(t.settings,e)?t[e]:void console.error("Attempting to access undefined key %s",e):{width:t.width,height:t.height,paddingTop:t.paddingTop,paddingLeft:t.paddingLeft,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,columns:t.columns,columnGap:t.columnGap,columnWidth:t.columnWidth,transition:t.transition,transitionSpeed:t.transitionSpeed,theme:t.theme,fontSize:t.fontSize}})),p(this,"put",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,r.default)(e))for(var i=0,a=Object.entries(e);i<a.length;i++){var u=h(a[i],2),s=u[0],c=u[1];(0,o.default)(t.settings,s)&&(t[s]=c)}else"string"==typeof e?(0,o.default)(t.settings,e)&&(t[e]=n):console.error("Could not update viewer settings with key: %s val: %s",e,n)})),Object.defineProperty(this,"settings",{value:y({},e.defaults,n,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=function(){return window.innerWidth/2-t.columnGap-t.paddingLeft}}var t,n;return t=e,(n=[{key:"width",get:function(){return this.settings.width},set:function(e){this.settings.width=e}},{key:"height",get:function(){return this.settings.height},set:function(e){this.settings.height=e}},{key:"paddingTop",get:function(){return v(this.settings.paddingTop)},set:function(e){this.settings.paddingTop=e}},{key:"paddingLeft",get:function(){return v(this.settings.paddingLeft)},set:function(e){this.settings.paddingLeft=e}},{key:"paddingRight",get:function(){return v(this.settings.paddingRight)},set:function(e){this.settings.paddingRight=e}},{key:"paddingBottom",get:function(){return v(this.settings.paddingBottom)},set:function(e){this.settings.paddingBottom=e}},{key:"paddingX",get:function(){return this.paddingLeft+this.paddingRight}},{key:"paddingY",get:function(){return this.paddingTop+this.paddingBottom}},{key:"columns",get:function(){return this.settings.columns},set:function(e){this.settings.columns=e}},{key:"columnGap",get:function(){return v(this.settings.columnGap)},set:function(e){this.settings.columnGap=e}},{key:"columnWidth",get:function(){return v(this.settings.columnWidth)},set:function(e){this.settings.columnWidth=e}},{key:"transition",get:function(){return this.settings.transition},set:function(e){this.settings.transition=e}},{key:"theme",get:function(){return this.settings.theme},set:function(e){this.settings.theme=e}},{key:"transitionSpeed",get:function(){return this.settings.transitionSpeed},set:function(e){this.settings.transitionSpeed=e}},{key:"fontSize",get:function(){return this.settings.fontSize},set:function(e){this.settings.fontSize=e}},{key:"padding",set:function(e){var t=h(e,4),n=t[0],r=t[1],o=t[2],a=t[3];(0,i.isNumeric)(n)&&(this.settings.paddingTop=n),(0,i.isNumeric)(r)&&(this.settings.paddingRight=r),(0,i.isNumeric)(o)&&(this.settings.paddingBottom=o),(0,i.isNumeric)(a)&&(this.settings.paddingLeft=a)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();p(m,"defaults",{width:0,height:0,fontSize:"120%",theme:a.themes.DEFAULT,transition:a.transitions.SLIDE,transitionSpeed:400,columns:2,columnGap:function(){return u.default.getGutterWidth()},paddingLeft:function(){return u.default.optimized().left},paddingRight:function(){return u.default.optimized().right},paddingTop:function(){return u.default.optimized().top},paddingBottom:function(){return u.default.optimized().bottom}});var g=m;t.default=g},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(512),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(513);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(214);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(515),o=n(172),i=n(215);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(516),o=n(521),i=n(522),a=n(523),u=n(524);function s(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])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(171);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(341),o=n(518),i=n(81),a=n(342),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:u).test(a(e))}},function(e,t,n){var r,o=n(519),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(55)["__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(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(171);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(173),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(173);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(173);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(173);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(175);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(175);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(175);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(175);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(103),o=n(79);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(16),n(32),n(132);var r=n(57);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){var n=t.id,o=t.media,i=t.rules;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n||"_".concat((0,r.rand)()),this.media=o,this.rules=i,this.elem=null}var t,n;return t=e,(n=[{key:"insertRules",value:function(e){var t=this;this.rules.forEach((function(n){return t.elem.appendChild(e.createTextNode("".concat(n.selector," { ").concat(n.declarations.join(";")," }")))}))}},{key:"appendSheet",value:function(e){this.elem=e.createElement("style"),this.elem.setAttribute("id",this.id),this.elem.setAttribute("media",this.media),this.elem.appendChild(e.createTextNode("")),this.insertRules(e),e.body.appendChild(this.elem)}},{key:"removeSheet",value:function(e){e.body.removeChild(this.elem)}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=i},function(e,t,n){var r=n(539),o=n(177)(r);e.exports=o},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(541),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(177)((function(e,t){return e>=t}));e.exports=r},function(e,t,n){var r=n(544),o=n(177)(r);e.exports=o},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,n){var r=n(177)((function(e,t){return e<=t}));e.exports=r},function(e,t,n){(function(t){function r(e){var t=a([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]]).filter((function(t){return t.rule&&t.rule.test(e)}))[0];return t?t.name:null}function o(){return"undefined"==typeof navigator&&void 0!==t?{name:"node",version:t.version.slice(1),os:n(547).type().toLowerCase()}:null}function i(e){var t=a([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\ ([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]]);if(!e)return null;var n=t.map((function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:t.name,version:r.join(".")}})).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&((n=n||{}).bot=!0),n}function a(e){return e.map((function(e){return{name:e[0],rule:e[1]}}))}e.exports={detect:function(){return o()||("undefined"!=typeof navigator?i(navigator.userAgent):null)},detectOS:r,getNodeVersion:o,parseUserAgent:i}}).call(this,n(105))},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=t.spreadIndex,o=t.lastSpreadIndex,i=t.firstChapter,a=t.lastChapter,u=t.firstSpread,s=t.lastSpread,c=t.spreadDelta;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=r.messagesTypes.PAGINATION_EVENT,this.spreadIndex=n,this.lastSpreadIndex=o,this.firstChapter=i,this.lastChapter=a,this.firstSpread=u,this.lastSpread=s,this.spreadDelta=c}));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=r.messagesTypes.DEFERRED_EVENT}));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(166);var r=a(n(176)),o=n(57),i=a(n(66));function a(e){return e&&e.__esModule?e:{default: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)}}var s=function(){function e(t){var n=t.node,i=t.requestURI;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n.id||"_".concat((0,o.rand)()),this.type=n.type||"application/javascript",this.src=e.getScriptSourceFromNodeValue(n),this.inline=(0,r.default)(this.src),this.body=n.childNodes&&n.childNodes.length?n.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=i}var t,n,a;return t=e,a=[{key:"getScriptSourceFromNodeValue",value:function(e){return(e.attributes.getNamedItem("src")||{}).value}}],(n=[{key:"appendScript",value:function(e){var t=i.default.trimFilenameFromResponse(this.requestURI),n=this.inline?null:i.default.resolveRelativeURL(t,this.src);this.elem=e.createElement("script"),this.elem.id=this.id,this.inline||(this.elem.src=n),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}},{key:"removeScript",value:function(e){e.body.removeChild(this.elem)}}])&&u(t.prototype,n),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(326));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={searchParams:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.LOCATION_UPDATE:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(344)),i=["markerId"];function a(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={},l=function(e,t){var n=t.markerId,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,i);return u(u({},e),{},s({},n,u(u({},e[n]||{}),r)))};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.UPDATE:return l(e,t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(345));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={loaded:!1,pendingDeferredCallbacks:!0,ultimateOffsetLeft:0,lastSpreadIndex:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.LOAD:case o.UNLOAD:return a(a({},e),{},{loaded:t.payload});case o.UPDATE_ULTIMATE_NODE_POSITION:return a(a({},e),t.payload);case o.UPDATE_LAST_SPREAD_INDEX:return a(a({},e),{},{lastSpreadIndex:t.payload});case o.QUEUE_DEFERRED_CALLBACKS:case o.DEQUEUE_DEFERRED_CALLBACKS:return a(a({},e),{},{pendingDeferredCallbacks:t.payload});default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(346));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.PAGE_TRANSITIONS_UPDATE:return a(a({},e),{},{enableTransitions:t.payload});case o.EVENT_HANDLING_UPDATE:return a(a({},e),{},{handleEvents:t.payload});case o.SPINNER_UPDATE:return a(a({},e),{},{spinnerVisible:t.payload});case o.UPDATE:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(28),n(29);var o=h(n(0)),i=n(38),a=n(59),u=n(557),s=d(n(107)),c=d(n(566)),l=n(27),f=h(n(219));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).bindEvents=t.bindEvents.bind(m(t)),t.unbindEvents=t.unbindEvents.bind(m(t)),t.handleKeyDown=t.handleKeyDown.bind(m(t)),t.handleClick=t.handleClick.bind(m(t)),t}return t=i,(n=[{key:"UNSAFE_componentWillMount",value:function(){var e=this;this.bindEvents(),s.default.register((function(t){t.origin&&t.origin===window.location.origin||e.props.handleSidebarButtonClick(null)}),l.messagesTypes.CLICK_EVENT),s.default.register((function(t){var n=t.data;if(!1!==e.props.userInterface.handleEvents){var r=n.scope,o=n.delta;return"page"===r?(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(o)):"chapter"===r?e.props.handleChapterNavigation(o):void 0}}),l.messagesTypes.NAVIGATION_EVENT)}},{key:"componentWillUnmount",value:function(){this.unbindEvents()}},{key:"handleClick",value:function(e){!1!==this.props.userInterface.handleEvents&&(s.default.sendClickEvent(e),null===e.target.closest(".bber-controls__sidebar")&&null===e.target.closest(".bber-nav__button")&&this.props.showSidebar&&this.props.handleSidebarButtonClick(null))}},{key:"handleKeyDown",value:function(e){if(!1!==this.props.userInterface.handleEvents&&e&&void 0!==e.which)switch(s.default.sendKeydownEvent(e),e.which){case 37:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1),this.props.handleSidebarButtonClick(null);break;case 39:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1),this.props.handleSidebarButtonClick(null);break;case 27:this.props.handleSidebarButtonClick(null);break;case 80:e.metaKey&&(e.preventDefault(),e.stopImmediatePropagation(),window.print())}}},{key:"bindEvents",value:function(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("click",this.handleClick),document.addEventListener("touchstart",this.handleClick)}},{key:"unbindEvents",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("click",this.handleClick),document.removeEventListener("touchstart",this.handleClick)}},{key:"render",value:function(){var e=this.props.readerSettings,t=e.NavigationHeader||u.NavigationHeader,n=(0,c.default)(e.NavigationFooter||u.NavigationFooter),r=this.props,i=r.destroyReaderComponent,a=r.handleSidebarButtonClick,s=r.downloads,l=r.uiOptions,f=r.currentSpineItemIndex,d=r.spine,p=r.layout,h=r.metadata,b=r.showSidebar,y=r.spreadIndex,v=r.lastSpreadIndex,m=r.handleChapterNavigation,g=r.handlePageNavigation,w=r.navigateToChapterByURL,_=this.props.userInterfaceActions.enablePageTransitions,S=this.props.userInterface.handleEvents;return o.default.createElement("div",{className:"bber-controls"},o.default.createElement(t,{destroyReaderComponent:i,handleSidebarButtonClick:a,downloads:s,uiOptions:l,showSidebar:b,spine:d,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:h}),this.props.children,o.default.createElement(n,{uiOptions:l,currentSpineItemIndex:f,spine:d,layout:p,spreadIndex:y,lastSpreadIndex:v,handleEvents:S,handleChapterNavigation:m,enablePageTransitions:_,handlePageNavigation:g}))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.Component),_=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,a.bindActionCreators)(f,e)}}))(w);t.default=_},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(24),a=n(25),u=n(102),s=n(115),c=Function,l=r([].concat),f=r([].join),d={},p=function(e,t,n){if(!a(d,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=s?c.bind:function(e){var t=o(this),n=t.prototype,r=u(arguments,1),a=function(){var n=l(r,u(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationFooter",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationHeader",{enumerable:!0,get:function(){return r.default}});var r=i(n(558)),o=i(n(565));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=s,t.default=void 0;var r=u(n(58)),o=u(n(0)),i=n(559),a=n(347);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,n;if(!e||null===(t=e.uiOptions)||void 0===t||null===(n=t.navigation)||void 0===n||!n.header_icons)return null;var u=e.showSidebar,s=e.downloads,c=e.spine,l=e.currentSpineItemIndex,f=e.navigateToChapterByURL,d=e.metadata,p=e.uiOptions.navigation.header_icons,h=p.toc,b=p.home,y=p.info,v=p.downloads;return o.default.createElement("header",{className:"bber-controls__header"},o.default.createElement("nav",{className:"bber-nav"},o.default.createElement("ul",{className:"bber-ul"},o.default.createElement("li",{className:"bber-li bber-li-home"},b&&o.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.destroyReaderComponent},o.default.createElement(a.Home,null))),o.default.createElement("li",{className:"bber-li"},o.default.createElement("ul",{className:"bber-ul"},h&&o.default.createElement("li",{className:"bber-li bber-li-toc"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"chapters"===u}),onClick:function(){return e.handleSidebarButtonClick("chapters")}},"chapters"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Menu,null)),o.default.createElement(i.SidebarChapters,{showSidebar:u,spine:c,currentSpineItemIndex:l,navigateToChapterByURL:f})),v&&s.length>0&&o.default.createElement("li",{className:"bber-li bber-li-downloads"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"downloads"===u}),onClick:function(){return e.handleSidebarButtonClick("downloads")}},"downloads"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Download,null)),o.default.createElement(i.SidebarDownloads,{showSidebar:u,downloads:s})),!1,y&&o.default.createElement("li",{className:"bber-li bber-li-info"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"metadata"===u}),onClick:function(){return e.handleSidebarButtonClick("metadata")}},"metadata"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Info,null)),o.default.createElement(i.SidebarMetadata,{showSidebar:u,metadata:d})))))))}var c=s;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarChapters",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SidebarDownloads",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SidebarMetadata",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"SidebarSettings",{enumerable:!0,get:function(){return a.default}});var r=u(n(560)),o=u(n(561)),i=u(n(563)),a=u(n(564));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(1),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(47),n(91);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(58))&&o.__esModule?o:{default:o};function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=(0,n(38).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if("metadata"!==e.showSidebar)return null;var t=(0,i.useRef)(),n=u((0,i.useState)("0px"),2),r=n[0],o=n[1],s=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){s()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",s),function(){return window.removeEventListener("resize",s)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__metadata","bber-controls__sidebar__metadata--open")},i.default.createElement("dl",{className:"bber-dl"},Object.entries(e.metadata).map((function(e){var t=u(e,2),n=t[0],r=t[1];return n&&r?i.default.createElement("div",{key:n},i.default.createElement("dt",{className:"bber-dt"},n),i.default.createElement("dd",{className:"bber-dd"},r)):null}))))}));t.default=c},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(7),n(47);var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),i=n(38),a=s(n(58)),u=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){var t=e.url,n=e.label,r=e.description;return o.default.createElement("li",{className:"bber-li"},o.default.createElement("a",{className:"bber-a",download:!0,href:t,onClick:function(){return u.default.sendDownloadEvent(t)}},o.default.createElement("div",{className:"bber-downloads__title"},n),r&&o.default.createElement("div",{className:"bber-downloads__description"},r)))}var f=(0,i.connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if("downloads"!==e.showSidebar)return null;var t=(0,o.useRef)(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,o.useState)("0px"),2),r=n[0],i=n[1],u=function(){var e=t.current.getBoundingClientRect().y;i(window.innerHeight-e)};return(0,o.useEffect)((function(){u()}),[t]),(0,o.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),o.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__downloads","bber-controls__sidebar__downloads--open")},o.default.createElement("ul",{className:"bber-ul"},e.downloads.map((function(e){return o.default.createElement(l,{key:e.url,url:e.url,label:e.label,description:e.description})}))))}));t.default=f},function(e,t,n){"use strict";n(202)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(328))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1),n(47),n(32);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(58))&&o.__esModule?o:{default:o};function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){var t=e.current,n=e.items,r=e.depth||0,o=n.filter((function(e){return e.depth===r&&e.inTOC}));return i.default.createElement("ol",{className:"bber-ol"},o.map((function(n,o){return i.default.createElement("li",{className:"bber-li",key:n.id},i.default.createElement("button",{onClick:function(){return e.navigateToChapterByURL(n.absoluteURL)},className:(0,a.default)("bber-button bber-indent--".concat(r+1),{"bber-chapter--current":t===n.id})},n.title||"Chapter ".concat(r,".").concat(o)),n.children.length>0&&i.default.createElement(l,{current:t,items:n.children,depth:r+1,navigateToChapterByURL:e.navigateToChapterByURL}))})))}var f=(0,n(38).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if("chapters"!==e.showSidebar)return null;var t=(0,i.useRef)(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useState)("0px"),2),r=n[0],o=n[1],c=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){c()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",c),function(){return window.removeEventListener("resize",c)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},i.default.createElement(l,{items:u(e.spine),current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))}));t.default=f},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(0)),i=a(n(58));function a(e){return e&&e.__esModule?e:{default: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 s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(a,e);var t,n,r=c(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),p(f(t=r.call(this,e)),"handleFontSizeIncrement",(function(){return t.handleFontSizeChange(1)})),p(f(t),"handleFontSizeDecrement",(function(){return t.handleFontSizeChange(-1)})),p(f(t),"handleFontSizeChange",(function(e){var n=t.state,r=n.fontSizeMin,o=n.fontSizeMax,i=n.fontSizeStep,a=t.state.fontSize;(a=i*e+(a=parseInt(a,10)))<r||a>o||(t.setState({fontSize:a}),t.props.update({fontSize:a}),t.props.save())})),p(f(t),"handleOnChange",(function(e){return t.setState({fontSize:e.target.value})})),p(f(t),"handleOnBlur",(function(){var e=t.state,n=e.fontSizeMin,r=e.fontSizeMax,o=t.state.fontSize;(o=10*Math.round(.1*o))<n||o>r||o%10!=0||(t.setState({fontSize:o}),t.props.update({fontSize:o}),t.props.save())})),t.state={fontSize:parseInt(t.props.viewerSettings.fontSize,10),fontSizeMin:50,fontSizeMax:250,fontSizeStep:10},t}return t=a,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.viewerSettings.fontSize;t!==this.state.fontSize&&this.setState({fontSize:t})}},{key:"render",value:function(){var e=this.state,t=e.fontSize,n=e.fontSizeMin,r=e.fontSizeMax,a=e.fontSizeStep;return o.default.createElement("nav",{className:(0,i.default)("bber-controls__sidebar","bber-controls__sidebar__settings",{"bber-controls__sidebar__settings--open":"settings"===this.props.showSidebar})},o.default.createElement("fieldset",{className:"bber-settings__items"},o.default.createElement("div",{className:"bber-settings__item bber-settings__item--font-size"},o.default.createElement("label",{htmlFor:"fontSize"},"Font Size"),o.default.createElement("div",{className:"bber-settings__item__button-group bber-settings__item__button-group--horizontal"},o.default.createElement("button",{onClick:this.handleFontSizeDecrement},"-"),o.default.createElement("span",null,t,"%"),o.default.createElement("input",{id:"fontSize",type:"number",value:t,min:n,max:r,step:a,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),o.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(41)),i=n(27),a=n(347);function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return!(e.currentSpineItemIndex<1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},c=function(e){return!(e.currentSpineItemIndex>=e.spine.length-1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},l=function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex)},f=function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==e.spine.length-1||e.spreadIndex!==e.lastSpreadIndex)};t.default=function(e){return r.default.createElement("footer",{className:"bber-controls__footer"},r.default.createElement("nav",{className:"bber-nav"},r.default.createElement("ul",{className:"bber-ul"},r.default.createElement("li",{className:"bber-li"},s(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},r.default.createElement(a.ChapterPrevious,null))),r.default.createElement("li",{className:"bber-li"},l(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},r.default.createElement(a.PagePrevious,null))),r.default.createElement("li",{className:"bber-li"},f(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},r.default.createElement(a.PageNext,null))),r.default.createElement("li",{className:"bber-li"},c(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},r.default.createElement(a.ChapterNext,null))))))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o,i=(o=n(0))&&o.__esModule?o:{default:o},a=n(38),u=n(59),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(219));function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=function(e){var t=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,t);var n,r,o=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(a);function a(){var e;l(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(h(e=o.call.apply(o,[this].concat(n))),"goToPrevChapter",(function(){!1!==e.props.userInterface.handleEvents&&e.props.handleChapterNavigation(-1)})),y(h(e),"goToNextChapter",(function(){!1!==e.props.handleEvents&&e.props.handleChapterNavigation(1)})),y(h(e),"goToPrevPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(-1))})),y(h(e),"goToNextPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(1))})),e}return n=a,(r=[{key:"render",value:function(){return i.default.createElement(e,c({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}])&&f(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),a}(i.default.Component);return(0,a.connect)((function(e){return{userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,u.bindActionCreators)(s,e)}}))(t)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=d(n(0)),i=d(n(130)),a=n(38),u=n(106),s=d(n(41)),c=n(27),l=d(n(107)),f=d(n(90));function d(e){return e&&e.__esModule?e:{default:e}}function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(a,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}(a);function a(){var e;b(this,a);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return _(g(e=r.call.apply(r,[this].concat(n))),"node",o.default.createRef()),_(g(e),"handleScroll",(function(t){var n=Math.max(e.node.current.scrollHeight,e.node.current.offsetHeight,e.node.current.clientHeight);l.default.sendScrollEvent(t,t.target.scrollTop,n)})),e}return t=a,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t;s.default.isMobile()&&null!==(t=this.node)&&void 0!==t&&t.current&&!1!==e.view.loaded&&this.props.view.loaded!==e.view.loaded&&this.node.current.scrollTo(0,0)}},{key:"componentDidMount",value:function(){this.node.current.addEventListener("scroll",this.handleScroll)}},{key:"componentWillUnmount",value:function(){this.node.current.removeEventListener("scroll",this.handleScroll)}},{key:"style",value:function(){var e={position:"absolute",top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0,fontSize:this.props.viewerSettings.fontSize};return e=this.props.layout===c.layouts.SCROLL||s.default.isMobile()?h(h({},e),{},{WebkitOverflowScrolling:"touch",overflowY:"auto",overflowX:"hidden"}):h(h({},e),{},{overflow:"hidden"}),(0,i.default)(this.props.style)&&(e=h(h({},e),this.props.style)),e}},{key:"className",value:function(){var e=f.default.createHash(this.props.readerSettings.bookURL),t="_".concat(e);return this.props.className&&"string"==typeof this.props.className&&(t="".concat(t," ").concat(this.props.className)),t}},{key:"render",value:function(){return o.default.createElement("div",{id:"frame",className:this.className(),style:this.style(),ref:this.node},o.default.createElement(u.Layout,this.props),o.default.createElement(u.DebugGrid,this.props))}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component),O=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings}}),(function(){return{}}))(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(95)),i=a(n(66));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(o.default.Consumer,null,(function(t){var n=t.navigateToChapterByURL,o=e.className,a=e.style;o=o||"",a=a||{};var u=e.href,s=i.default.isExternal(u)?"_blank":"_top";return r.default.createElement("a",{href:u,style:a,target:s,className:o,onClick:function(e){(i.default.isRelative(u)||i.default.isInternal(u))&&(e.preventDefault(),n(u))}},e.children)}))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6),n(32);var o=b(n(0)),i=b(n(220)),a=b(n(135)),u=n(38),s=b(n(573)),c=b(n(41)),l=b(n(178)),f=b(n(574)),d=b(n(576)),p=b(n(95)),h=n(27);function b(e){return e&&e.__esModule?e:{default:e}}function y(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}function x(e){var t=e.layout,n=e.leafLeftStyles,r=e.leafRightStyles;return t===h.layouts.SCROLL||c.default.isMobile()?null:o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"bber-leaf bber-leaf--left",style:n}),o.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:r}))}var E=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),O(_(e=r.call(this)),"state",{margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),O(_(e),"onResizeDone",(function(){e.props.updateDimensions(),e.updateTransform()})),O(_(e),"updateTransform",(function(t){var n=e.context.getTranslateX(t),r="translateX(".concat(n,"px) translate3d(0, 0, 0)");e.setState({transform:r})})),e.handleResize=(0,a.default)(e.onResizeDone,h.RESIZE_DEBOUNCE_TIMER,{}).bind(_(e)),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.props.updateDimensions(),this.updateTransform(),this.bindEventListeners()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.spreadIndex;this.updateTransform(t)}},{key:"componentWillUnmount",value:function(){this.unBindEventListeners()}},{key:"bindEventListeners",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"unBindEventListeners",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"layoutStyles",value:function(){var e=this.props.viewerSettings,t=e.width,n=e.height,r=e.columns,o=e.columnGap,i=e.paddingTop,a=e.paddingLeft,u=e.paddingRight,s=e.paddingBottom,c=this.state;return{width:t,height:n,columnGap:o,paddingTop:i,paddingLeft:a,paddingRight:u,paddingBottom:s,margin:c.margin,border:c.border,boxSizing:c.boxSizing,columns:r,columnFill:c.columnFill,transform:c.transform}}},{key:"leafStyles",value:function(e){var t,n=this.props.viewerSettings.transitionSpeed,r={},o=0;return o=this.context.getTranslateX(),"firefox"===l.default.name?("left"===e&&(o*=-1),O(t={},e,"".concat(o,"px")),O(t,"transition","".concat(e," ").concat(n,"ms ease 0s")),r=t):r={transform:"translateX(".concat(o*=-1,"px) translate3d(0, 0, 0)"),transition:"transform ".concat(n,"ms ease 0s")},r}},{key:"render",value:function(){var e,t=this.props.getFrameHeight(),n=this.props,r=n.spreadIndex,i=n.slug,a=n.layout,u=this.props.userInterface.enableTransitions,l=this.props.viewerSettings,f=l.transition,d=l.transitionSpeed,p=l.paddingLeft,b=l.paddingRight;e=a===h.layouts.SCROLL?"scroll":c.default.isMobile()?"mobile":"desktop";var y=v(v({},{padding:0,margin:0}),{},{minHeight:t}),m=(0,s.default)({transitionSpeed:d})[f],g=v(v({},this.layoutStyles()),m),w=v(v({},this.leafStyles("left")),{},{width:p}),_=v(v({},this.leafStyles("right")),{},{width:b});return u||(g=v(v({},g),{},{transition:"none"}),w=v(v({},w),{},{transition:"none"}),_=v(v({},_),{},{transition:"none"})),o.default.createElement("div",{id:"layout",style:g,className:"spread-index__".concat(r," context__").concat(e," ").concat(i)},o.default.createElement("div",{id:"content",style:y,ref:this.props.innerRef},o.default.createElement(this.props.BookContent,null)),o.default.createElement(x,{layout:a,leafLeftStyles:w,leafRightStyles:_}))}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component);O(E,"contextType",p.default),O(E,"propTypes",{viewerSettings:i.default.shape({paddingTop:i.default.number.isRequired,paddingLeft:i.default.number.isRequired,paddingBottom:i.default.number.isRequired,fontSize:i.default.string.isRequired,columnGap:i.default.number.isRequired,transition:i.default.string.isRequired,transitionSpeed:i.default.number.isRequired,theme:i.default.string.isRequired}).isRequired});var k=(0,u.connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((0,d.default)((0,f.default)(E)));t.default=k},function(e,t,n){"use strict";var r=n(571);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};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){var r=n(55);e.exports=function(){return r.Date.now()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);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}t.default=function(e){var t,n=e.transitionSpeed;return o(t={},r.transitions.SLIDE,{transition:"transform ".concat(n,"ms ease")}),o(t,r.transitions.FADE,{}),t}},function(e,t,n){"use strict";n(28),n(29),n(33),n(37),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(6),n(19),n(575),n(69),n(3),n(7),n(1),n(8),n(2),n(4),n(5);var r=p(n(0)),o=n(38),i=n(59),a=p(n(135)),u=p(n(348)),s=n(93),c=n(179),l=p(n(178)),f=n(27),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==O(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(180));function p(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var x=function(e){if(null==e||!e.current)throw new Error("Cannot observe node:",e||O(e))};t.default=function(e){var t=null,n=null,p=0,g=function(o){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(_,o);var i,d,g=m(_);function _(){var e;b(this,_);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return S(w(e=g.call.apply(g,[this].concat(n))),"node",r.default.createRef()),e}return i=_,(d=[{key:"componentDidMount",value:function(){this.calculateNodePositionAfterResize=(0,a.default)(this.calculateNodePosition,f.RESIZE_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.calculateNodePositionAfterMutation=(0,a.default)(this.calculateNodePosition,f.MUTATION_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.observe()}},{key:"componentWillUnmount",value:function(){this.unobserve()}},{key:"connectResizeObserver",value:function(){x(this.node),(t=new u.default(this.calculateNodePositionAfterResize)).observe(this.node.current)}},{key:"connectMutationObserver",value:function(){x(this.node),(n=new window.MutationObserver(this.calculateNodePositionAfterMutation)).observe(this.node.current,{attributes:!0,subtree:!0,childList:!0})}},{key:"disconnectResizeObserver",value:function(){t.disconnect()}},{key:"disconnectMutationObserver",value:function(){n.disconnect()}},{key:"unobserveResizeObserver",value:function(){x(this.node),t.unobserve(this.node.current)}},{key:"unobserveMutationObserver",value:function(){x(this.node),n.disconnect(this.node.current)}},{key:"calculateNodePosition",value:function(){x(this.node);var e,t,n,r,o=this.props.columns,i=document.querySelector(".bber-ultimate"),a=this.props.viewerSettings.paddingLeft;n=this.props.getFrameHeight(),(0,s.isNumeric)(n)||(n=0);var u=this.props.getFrameWidth();if(("firefox"===l.default.name||"edge"===l.default.name&&/Windows/.test(window.navigator.userAgent))&&i){e=i.offsetLeft-this.props.getSingleColumnWidth();var f=(r=i.offsetLeft+i.offsetWidth+a)/(u+a),d=Math.round(10*(f+Number.EPSILON))/10;console.log(r,f,d),t=d-1,console.log("lastSpreadIndex",t)}else{var h=(e=Math.max(this.node.current.scrollHeight,this.node.current.offsetHeight,this.node.current.clientHeight))/n/2,b=Math.round(10*(h+Number.EPSILON))/10;t=Math.ceil(b)-1}(function(e,t,n,r){c.debug&&c.verboseOutput&&(console.group("Layout#connectResizeObserver"),console.log("lastSpreadIndex: %d; contentDimensions: %d; frameHeight %d; columns %d",e,t,n,r),console.groupEnd())})(t=t<0?0:t,e,n,o),p!==e||null==i?(p=e,this.node.current.style.display="none",this.node.current.style.display="block"):this.props.viewActions.updateLastSpreadIndex(t)}},{key:"observe",value:function(){this.connectResizeObserver(),this.connectMutationObserver()}},{key:"unobserve",value:function(){this.unobserveResizeObserver(),this.unobserveMutationObserver()}},{key:"disconnect",value:function(){this.disconnectResizeObserver(),this.disconnectMutationObserver()}},{key:"render",value:function(){return r.default.createElement(e,h({},this.props,{innerRef:this.node}))}}])&&y(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(r.default.Component);return(0,o.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(d,e)}}))(g)}},function(e,t,n){n(11)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19);var o=f(n(0)),i=n(59),a=n(38),u=f(n(41)),s=n(93),c=n(27),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(349));function f(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(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 h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.default=function(e){var t=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(a,t);var n,r,i=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}(a);function a(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o=function(e){return e?!1===/mobi/i.test(window.navigator.userAgent)?window.innerWidth:window.matchMedia("(orientation: landscape)").matches?window.screen.height:window.screen.width:window.innerWidth},(r="getWidth")in(n=y(t=i.call(this,e)))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.getFrameWidth=t.getFrameWidth.bind(y(t)),t.getFrameHeight=t.getFrameHeight.bind(y(t)),t.getSingleColumnWidth=t.getSingleColumnWidth.bind(y(t)),t.updateDimensions=t.updateDimensions.bind(y(t)),t}return n=a,(r=[{key:"UNSAFE_componentWillMount",value:function(){this.updateDimensions()}},{key:"updateDimensions",value:function(){var e=this.props.layout===c.layouts.SCROLL||u.default.isMobile(),t=this.getWidth(e),n=e?"auto":window.innerHeight,r=e?1:2;this.props.viewerSettingsActions.update({width:t,height:n,columns:r})}},{key:"getFrameHeight",value:function(){if(this.props.layout===c.layouts.SCROLL||u.default.isMobile())return"auto";var e=this.props.viewerSettings.height,t=this.props.viewerSettings,n=t.paddingTop,r=t.paddingBottom;return(0,s.isNumeric)(e)||(e=window.innerHeight),(e-=n)-r}},{key:"getFrameWidth",value:function(){var e=this.props.viewerSettings;return e.width-e.paddingLeft-e.paddingRight-e.columnGap}},{key:"getSingleColumnWidth",value:function(){return this.getFrameWidth()/2}},{key:"render",value:function(){return o.default.createElement(e,d({getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions},this.props))}}])&&p(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),a}(o.default.Component);return(0,a.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(l,e)}}))(t)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(37),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=p(n(0)),i=n(38),a=n(179),u=n(93),s=p(n(41)),c=n(106),l=p(n(350)),f=n(27),d=["viewerSettings","readerSettings","markers"];function p(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function b(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}var x=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}(i);function i(){var e;v(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return O(_(e=r.call.apply(r,[this].concat(n))),"state",{left:"0px",spreadPosition:0,recto:!1,verso:!1,elementEdgeLeft:0,unbound:!1}),O(_(e),"calculateSpreadOffset",(function(){var t=e.props.viewerSettings.height,n=e.props.viewerSettings,r=n.paddingTop+n.paddingBottom;t=(0,u.isNumeric)(t)?2*t-2*r:t,(0,u.isNumeric)(t)&&(t-=1),e.updateChildElementPositions()})),O(_(e),"updateChildElementPositions",(function(){var t=e.props["data-marker-reference"],n=e.props.markers[t];if(!n)return console.error("Cannot update child positions: No marker");var r=n.elementEdgeLeft,o=n.unbound,i=window.innerWidth,a=e.props.viewerSettings,u=i-a.paddingLeft-a.paddingRight+a.columnGap,c=Math.ceil(r/u),l=e.props.readerSettings.layout,d=0;s.default.isMobile()||l===f.layouts.SCROLL||(d=u*c,o&&(d=0)),d="".concat(d,"px"),e.setState({left:d,spreadPosition:c})})),e}return t=i,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker-reference"],n=e.markers[t];if(n){var r=n.recto,o=n.verso,i=n.elementEdgeLeft,a=n.unbound;r===this.state.recto&&o===this.state.verso&&i===this.state.elementEdgeLeft&&a===this.state.unbound||this.setState({recto:r,verso:o,elementEdgeLeft:i,unbound:a},this.updateChildElementPositions)}}},{key:"componentDidMount",value:function(){this.updateChildElementPositions()}},{key:"render",value:function(){var e=this.state.left,t=this.props["data-marker-reference"],n=this.props.markers[t];if(!n)return null;var r=this.state.spreadPosition,i=n.recto,u=n.unbound,s=this.props.viewerSettings.paddingLeft,f=this.props.readerSettings.layout,p=this.props,b=(p.viewerSettings,p.readerSettings,p.markers,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(p,d)),v={};return a.debug&&(v=y(y({},v),{background:"blue"})),o.default.createElement("div",h({},b,{id:"spread__".concat(t),style:v}),o.default.createElement(c.SpreadImageStyles,{recto:i,markerRefId:t,spreadPosition:r,paddingLeft:s,unbound:u,layout:f}),o.default.createElement(l.default.Provider,{value:{left:e,layout:f}},this.props.children))}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),E=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,markers:e.markers}}),(function(){return{}}))(x);t.default=E},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6),n(28),n(29);var o=p(n(0)),i=n(38),a=n(59),u=n(93),s=p(n(41)),c=p(n(181)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(618)),f=n(27),d=p(n(178));function p(e){return e&&e.__esModule?e:{default:e}}function h(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 b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var n=(t=r.call(this,e)).props["data-marker"];return n&&t.props.markerActions.update({recto:!1,verso:!1,elementEdgeLeft:0,markerId:n,unbound:!1}),t.calculateOffsetHeight=t.calculateOffsetHeight.bind(g(t)),t}return t=i,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker"],n=e.recto,r=e.verso,o=e.elementEdgeLeft;!t||n===this.props.recto&&r===this.props.verso&&o===this.props.elementEdgeLeft||this.props.markerActions.update({markerId:t,recto:n,verso:r,elementEdgeLeft:o})}},{key:"componentDidUpdate",value:function(){var e=JSON.parse(this.props["data-unbound"]||"false"),t=this.props["data-marker"],n=this.props.markers[t],r=this.props,o=r.verso,i=r.recto;!n||i===n.recto&&o===n.verso&&e===n.unbound||this.props.markerActions.update({markerId:t,recto:i,verso:o,unbound:e})}},{key:"calculateOffsetHeight",value:function(){var e,t=0;if(null===(e=this.props.elemRef)||void 0===e||!e.current||s.default.isMobile()||this.props.readerSettings.layout===f.layouts.SCROLL)return t;var n=this.props.elemRef.current,r=this.props,o=r.verso,i=r.recto,a=this.props.viewerSettings,c=a.paddingTop,l=a.paddingBottom,p=(a.fontSize,this.props.viewerSettings.height),h=p-c-l,b=JSON.parse(this.props["data-unbound"]||"false"),y=JSON.parse(this.props["data-adjacent"]||"false");(0,u.isNumeric)(p)||(p=0),o&&(y?(t+=h,t+=h,t-=n.offsetHeight):(t+=h,t+=h,t-=n.offsetHeight,t-=Math.round(n.getBoundingClientRect().bottom-c),b||(t+=h,t+=h))),i&&(y?(t+=h,t+=h,t-=n.offsetHeight):(t+=h,t+=h,t-=n.offsetHeight,t+=h,t-=Math.round(n.getBoundingClientRect().top),t+=c)),t=Math.floor(t);var v=parseFloat(window.getComputedStyle(n).fontSize);return"safari"===d.default.name?t-=Math.floor(1.3*v):t-=v,t}},{key:"render",value:function(){var e=this.props,t=e.verso,n=e.recto,r={height:this.calculateOffsetHeight(),display:"block"},i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.style);return o.default.createElement("span",null,o.default.createElement("span",{"data-verso":t,"data-recto":n,"data-index":this.props["data-index"],"data-final":this.props["data-final"],style:i,className:this.props.className,ref:this.props.elemRef}),o.default.createElement("span",{className:"bber-marker__spacer",style:r}))}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),S=(0,i.connect)((function(e){return{markers:e.markers}}),(function(e){return{markerActions:(0,a.bindActionCreators)(l,e)}}))((0,c.default)(_,{isMarker:!0}));t.default=S},function(e,t,n){var r=n(354),o=n(229),i=n(136);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(u[e],e,u)}}var c=e(t,n,a);return c>-1?u[s?t[c]:c]:void 0}}},function(e,t,n){var r=n(581),o=n(607),i=n(364);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(221),o=n(355);e.exports=function(e,t,n,i){var a=n.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=n[a])[0],f=e[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var h=i(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},function(e,t,n){var r=n(172);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(172),o=n(215),i=n(214);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(221),o=n(356),i=n(593),a=n(596),u=n(183),s=n(56),c=n(224),l=n(362),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,h,b){var y=s(e),v=s(t),m=y?"[object Array]":u(e),g=v?"[object Array]":u(t),w=(m="[object Arguments]"==m?f:m)==f,_=(g="[object Arguments]"==g?f:g)==f,S=m==g;if(S&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(S&&!w)return b||(b=new r),y||l(e)?o(e,t,n,p,h,b):i(e,t,m,n,p,h,b);if(!(1&n)){var O=w&&d.call(e,"__wrapped__"),x=_&&d.call(t,"__wrapped__");if(O||x){var E=O?e.value():e,k=x?t.value():t;return b||(b=new r),h(E,k,n,p,b)}}return!!S&&(b||(b=new r),a(e,t,n,p,h,b))}},function(e,t,n){var r=n(214),o=n(589),i=n(590);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=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),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(104),o=n(357),i=n(174),a=n(356),u=n(594),s=n(595),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=u;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var b=d.get(e);if(b)return b==t;r|=2,d.set(e,t);var y=a(p(e),p(t),r,c,f,d);return d.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},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(358),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var s=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in t:o.call(t,d)))return!1}var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var b=!0;u.set(e,t),u.set(t,e);for(var y=s;++f<l;){var v=e[d=c[f]],m=t[d];if(i)var g=s?i(m,v,d,t,e,u):i(v,m,d,e,t,u);if(!(void 0===g?v===m||a(v,m,n,i,u):g)){b=!1;break}y||(y="constructor"==d)}if(b&&!y){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(b=!1)}return u.delete(e),u.delete(t),b}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},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){e.exports=function(){return!1}},function(e,t,n){var r=n(103),o=n(217),i=n(79),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 i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(228),o=n(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(325)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(94)(n(55),"DataView");e.exports=r},function(e,t,n){var r=n(94)(n(55),"Promise");e.exports=r},function(e,t,n){var r=n(94)(n(55),"Set");e.exports=r},function(e,t,n){var r=n(94)(n(55),"WeakMap");e.exports=r},function(e,t,n){var r=n(363),o=n(136);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(355),o=n(609),i=n(610),a=n(213),u=n(363),s=n(364),c=n(134);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},function(e,t,n){var r=n(230);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(611),o=n(340);e.exports=function(e,t){return null!=e&&o(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(613),o=n(614),i=n(213),a=n(134);e.exports=function(e){return i(e)?r(a(e)):o(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(230);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(218);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaSmall=t.mediaLarge=void 0;var r=n(179);t.mediaLarge=function(){return[{selector:".figure__fullbleed figure,\n .spread .spread__content",declarations:["opacity: ".concat(r.debug?.8:1),"top: 0","z-index: 11","height: 100vh","position: absolute","width: 100vw"]},{selector:".figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video",declarations:["opacity: ".concat(r.debug?.4:1),"position: absolute","object-fit: contain","width: 100%!important","max-width: 100%","max-height: 100%!important","height: 100%","top: 0","left: 0","bottom: 0","right: 0"]}]},t.mediaSmall=function(){return[{selector:".figure__fullbleed figure .spread .spread__content",declarations:["z-index: 11","width: 100vw","position: relative"]},{selector:".figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video",declarations:["opacity: ".concat(r.debug?.4:1),"object-fit: contain","width: 100%!important","max-width: 100%","max-height: 100%!important","height: 100%","top: 0","left: 0","bottom: 0","right: 0"]}]}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(344));t.update=function(e){return{type:o.UPDATE,payload:e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(109),n(3),n(7),n(8),n(110),n(111),n(112),n(113),n(16),n(6),n(26),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(370),n(2),n(1),n(4),n(5),n(88),n(69);var o=j(n(0)),i=n(59),a=n(38),u=k(n(182)),s=k(n(135)),c=k(n(634)),l=n(106),f=k(n(90)),d=k(n(66)),p=k(n(635)),h=k(n(95)),b=k(n(41)),y=n(57),v=n(27),m=j(n(180)),g=j(n(349)),w=j(n(373)),_=j(n(204)),S=j(n(219)),O=n(639),x=n(640),E=n(641);function k(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function T(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */T=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(E([])));v&&v!==t&&n.call(v,i)&&(b=v);var m=h.prototype=d.prototype=Object.create(b);function g(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=h,s(m,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),s(m,u,"Generator"),s(m,i,(function(){return this})),s(m,"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=E,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),O(n),f}},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 o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function A(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function C(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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return I(e)}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(){return o.default.createElement("div",{key:"book-content"},E.book.content)}var U=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}(p,e);var t,n,r,i,a=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),M(I(t=a.call(this,e)),"closeSidebars",(function(){return t.setState({showSidebar:null})})),M(I(t),"freeze",(function(){t.props.viewActions.unload(),t.props.viewActions.updateLastSpreadIndex(-1),t.props.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),t.setState({showSidebar:null})})),M(I(t),"handleSidebarButtonClick",(function(e){var n=t.state.showSidebar;n=e===n?null:e,t.setState({showSidebar:n})})),M(I(t),"getTranslateX",(function(e){var n=(0,y.unlessDefined)(e,t.state.spreadIndex),r=t.props.viewerSettings,o=r.width,i=r.paddingLeft,a=r.paddingRight,u=r.columnGap,s=0;return t.props.readerSettings.layout===v.layouts.SCROLL||b.default.isMobile()||(s=0==(s=(o-i-a+u)*n*-1)&&-1===Math.sign(1/s)?0:s),s})),M(I(t),"destroyReaderComponent",(function(){t.props.readerSettingsActions.updateSettings({bookURL:""})})),t.state={__metadata:[],__spine:[],__guide:[],opsURL:"",spine:[],guide:[],metadata:[],spineItemURL:"",currentSpineItem:null,currentSpineItemIndex:0,cache:t.props.cache,spreadIndex:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,delta:0,showSidebar:null,disableMobileResizeEvents:"ontouchstart"in document.documentElement},t.handlePageNavigation=O.handlePageNavigation.bind(I(t)),t.handleChapterNavigation=O.handleChapterNavigation.bind(I(t)),t.navigateToSpreadByIndex=O.navigateToSpreadByIndex.bind(I(t)),t.navigateToElementById=O.navigateToElementById.bind(I(t)),t.navigateToChapterByURL=O.navigateToChapterByURL.bind(I(t)),t.updateQueryString=O.updateQueryString.bind(I(t)),t.savePosition=O.savePosition.bind(I(t)),t.debounceResizeSpeed=400,t.resizeEndTimer=null,t.bindResizeHandlers=x.bindResizeHandlers.bind(I(t)),t.unbindResizeHandlers=x.unbindResizeHandlers.bind(I(t)),t.handleResize=x.handleResize.bind(I(t)),t.handleResizeStart=x.handleResizeStart.bind(I(t)),t.handleResizeEnd=x.handleResizeEnd.bind(I(t)),t.handleResizeStart=(0,s.default)(t.handleResizeStart,t.debounceResizeSpeed,{leading:!0,trailing:!1}).bind(I(t)),t.handleResizeEnd=(0,s.default)(t.handleResizeEnd,t.debounceResizeSpeed,{leading:!1,trailing:!0}).bind(I(t)),t.createStateFromOPF=E.createStateFromOPF.bind(I(t)),t.showSpineItem=E.showSpineItem.bind(I(t)),t.loadSpineItem=E.loadSpineItem.bind(I(t)),t}return t=p,(n=[{key:"UNSAFE_componentWillMount",value:(r=T().mark((function e(){var t=this;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.createStateFromOPF((function(){var e=t.state.spine,n=t.props,r=n.readerSettings,o=n.readerLocation,i=new URLSearchParams(o.searchParams),a=Number(i.get(r.searchParamKeys.currentSpineItemIndex)),u=e[a];u?t.setState({currentSpineItem:u,currentSpineItemIndex:a,spreadIndex:0},(function(){return t.loadSpineItem(u)})):t.loadSpineItem()}));case 1:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){A(i,n,o,a,u,"next",e)}function u(e){A(i,n,o,a,u,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var e=f.default.createHash(this.props.readerSettings.bookURL);f.default.removeBookStyles(e),this.bindResizeHandlers()}},{key:"componentDidMount",value:function(){this.unbindResizeHandlers()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.view,n=t.loaded,r=t.lastSpreadIndex,o=t.pendingDeferredCallbacks,i=this.props.readerLocation.searchParams,a=e.readerLocation.searchParams;if(a!==i){var s=d.default.parseQueryString(a),c=s[this.props.readerSettings.searchParamKeys.slug],l=Number(s[this.props.readerSettings.searchParamKeys.currentSpineItemIndex]),f=Number(s[this.props.readerSettings.searchParamKeys.spreadIndex]),p=d.default.parseQueryString(i)[this.props.readerSettings.searchParamKeys.slug];if(p&&c&&p!==c){var h=(0,u.default)(this.state.spine,{slug:c});return void this.loadSpineItem(h)}this.setState({slug:c,currentSpineItemIndex:l,spreadIndex:f})}n&&-1!==r&&!0===o&&this.props.requestDeferredCallbackExecution()}},{key:"getSlug",value:function(){var e,t=this.state,n=t.spine,r=t.currentSpineItemIndex;return(0,c.default)(r)&&null!=n&&null!==(e=n[r])&&void 0!==e&&e.slug?n[r].slug:""}},{key:"render",value:function(){var e=this.props,t=e.downloads,n=e.uiOptions,r=e.view,i=e.layout,a=e.style,u=e.className,s=this.state,c=s.metadata,f=s.guide,d=s.spine,p=s.currentSpineItemIndex,b=s.showSidebar,y=s.lastSpread,v=s.spreadIndex,m=this.getSlug();return o.default.createElement(l.Controls,{guide:f,spine:d,currentSpineItemIndex:p,metadata:c,showSidebar:b,spreadIndex:v,lastSpreadIndex:r.lastSpreadIndex,handlePageNavigation:this.handlePageNavigation,destroyReaderComponent:this.destroyReaderComponent,handleChapterNavigation:this.handleChapterNavigation,handleSidebarButtonClick:this.handleSidebarButtonClick,navigateToChapterByURL:this.navigateToChapterByURL,downloads:t,uiOptions:n,layout:i},o.default.createElement(h.default.Provider,{value:{lastSpread:y,spreadIndex:v,getTranslateX:this.getTranslateX,navigateToChapterByURL:this.navigateToChapterByURL}},o.default.createElement(l.Frame,{slug:m,spreadIndex:v,lastSpreadIndex:r.lastSpreadIndex,BookContent:D,layout:i,view:r,style:a,className:u})),o.default.createElement(l.Spinner,null))}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.Component),F=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,readerLocation:e.readerLocation,view:e.view,userInterface:e.userInterface}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(g,e),readerSettingsActions:(0,i.bindActionCreators)(w,e),readerLocationActions:(0,i.bindActionCreators)(_,e),viewActions:(0,i.bindActionCreators)(m,e),userInterfaceActions:(0,i.bindActionCreators)(S,e)}}))((0,p.default)(U));t.default=F},function(e,t,n){"use strict";var r,o,i,a=n(11),u=n(62),s=n(231),c=n(13),l=n(20),f=n(40),d=n(86),p=n(54),h=n(163),b=n(53),y=n(21),v=n(24),m=n(78),g=n(165),w=n(184).set,_=n(621),S=n(624),O=n(232),x=n(625),E=n(44),k=n(137),P=n(138),j=n(139),T=P.CONSTRUCTOR,A=P.REJECTION_EVENT,C=P.SUBCLASSING,L=E.getterFor("Promise"),R=E.set,I=k&&k.prototype,N=k,M=I,D=c.TypeError,U=c.document,F=c.process,B=j.f,z=B,q=!!(U&&U.createEvent&&c.dispatchEvent),W=function(e){var t;return!(!v(e)||!y(t=e.then))&&t},H=function(e,t){var n,r,o,i=t.value,a=1==t.state,u=a?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(a||(2===t.rejection&&$(t),t.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===e.promise?c(D("Promise-chain cycle")):(r=W(n))?l(r,n,s,c):s(n)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},V=function(e,t){e.notified||(e.notified=!0,_((function(){for(var n,r=e.reactions;n=r.get();)H(n,e);e.notified=!1,t&&!e.rejection&&K(e)})))},G=function(e,t,n){var r,o;q?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!A&&(o=c["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},K=function(e){l(w,c,(function(){var t,n=e.facade,r=e.value;if(Y(e)&&(t=O((function(){s?F.emit("unhandledRejection",r,n):G("unhandledrejection",n,r)})),e.rejection=s||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},$=function(e){l(w,c,(function(){var t=e.facade;s?F.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},X=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,V(e,!0))},Z=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw D("Promise can't be resolved itself");var r=W(t);r?_((function(){var n={done:!1};try{l(r,t,Q(Z,n,e),Q(X,n,e))}catch(t){X(n,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){X({done:!1},t,e)}}};if(T&&(M=(N=function(e){m(this,M),b(e),l(r,this);var t=L(this);try{e(Q(Z,t),Q(X,t))}catch(e){X(t,e)}}).prototype,(r=function(e){R(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:void 0})}).prototype=f(M,"then",(function(e,t){var n=L(this),r=B(g(this,N));return n.parent=!0,r.ok=!y(e)||e,r.fail=y(t)&&t,r.domain=s?F.domain:void 0,0==n.state?n.reactions.add(r):_((function(){H(r,n)})),r.promise})),o=function(){var e=new r,t=L(e);this.promise=e,this.resolve=Q(Z,t),this.reject=Q(X,t)},j.f=B=function(e){return e===N||void 0===e?new o(e):z(e)},!u&&y(k)&&I!==Object.prototype)){i=I.then,C||f(I,"then",(function(e,t){var n=this;return new N((function(e,t){l(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}d&&d(I,M)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:N}),p(N,"Promise",!1,!0),h("Promise")},function(e,t,n){var r,o,i,a,u,s,c,l,f=n(13),d=n(68),p=n(71).f,h=n(184).set,b=n(368),y=n(622),v=n(623),m=n(231),g=f.MutationObserver||f.WebKitMutationObserver,w=f.document,_=f.process,S=f.Promise,O=p(f,"queueMicrotask"),x=O&&O.value;x||(r=function(){var e,t;for(m&&(e=_.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b||m||v||!g||!w?!y&&S&&S.resolve?((c=S.resolve(void 0)).constructor=S,l=d(c.then,c),a=function(){l(r)}):m?a=function(){_.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(u=!0,s=w.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(73),o=n(13);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(e,t,n){var r=n(73);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(13);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){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(53),a=n(139),u=n(232),s=n(128);r({target:"Promise",stat:!0,forced:n(369)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=u((function(){var n=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(n,t,e).then((function(e){s||(s=!0,a[i]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(62),i=n(138).CONSTRUCTOR,a=n(137),u=n(50),s=n(21),c=n(40),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&s(a)){var f=u("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(53),a=n(139),u=n(232),s=n(128);r({target:"Promise",stat:!0,forced:n(369)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(139);r({target:"Promise",stat:!0,forced:n(138).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(50),i=n(62),a=n(137),u=n(138).CONSTRUCTOR,s=n(632),c=o("Promise"),l=i&&!u;r({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},function(e,t,n){var r=n(31),o=n(24),i=n(139);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},function(e,t,n){var r=n(367);e.exports=function(e){return"number"==typeof e&&e==r(e)}},function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(636),n(1),n(16);var o=f(n(0)),i=n(59),a=n(38),u=f(n(135)),s=f(n(107)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(180)),l=n(27);function f(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}t.default=function(t){var n=[],r=function(r){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(f,r);var i,a,c=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}(f);function f(){var t;p(this,f);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return g(v(t=c.call.apply(c,[this].concat(o))),"registerDeferredCallback",(function(e){if(!e)throw new Error("No callback provided");n.push(e),t.props.viewActions.queueDeferredCallbacks()})),g(v(t),"deRegisterDeferredCallback",(function(){n=[],e((function(){return t.props.viewActions.dequeueDeferredCallbacks()}))})),g(v(t),"requestDeferredCallbackExecution",(0,u.default)((function(){return s.default.sendDeferredEvent(),t.callDeferred()}),l.DEFERRED_CALLBACK_TIMER,{leading:!1,trailing:!0})),g(v(t),"callDeferred",(function(){n.forEach((function(e){return e()})),t.deRegisterDeferredCallback()})),t}return i=f,(a=[{key:"render",value:function(){return o.default.createElement(t,d({registerDeferredCallback:this.registerDeferredCallback,deRegisterDeferredCallback:this.deRegisterDeferredCallback,requestDeferredCallbackExecution:this.requestDeferredCallbackExecution,callDeferred:this.callDeferred},this.props))}}])&&h(i.prototype,a),Object.defineProperty(i,"prototype",{writable:!1}),f}(o.default.Component);return(0,a.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(c,e)}}))(r)}}).call(this,n(371).setImmediate)},function(e,t,n){n(637),n(638)},function(e,t,n){var r=n(11),o=n(13),i=n(184).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,n){var r=n(11),o=n(13),i=n(184).set;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleChapterNavigation=function(e){var t=this,n=this.state.currentSpineItemIndex,r=this.state.spine,o=n+e,i=o<0,a=o>r.length-1;if(i||a)this.setState({firstChapter:i,lastChapter:a},(function(){return u.default.sendPaginationEvent(t.state)}));else{n=o;var s=r[o],c=function(e){return function(){var o=t.props.view.lastSpreadIndex,s=0===o,c=e;a=n===r.length-1,t.setState({firstChapter:i,lastChapter:a,firstSpread:!0,lastSpread:s,spreadDelta:c},(function(){-1===e&&t.navigateToSpreadByIndex(o),t.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),u.default.sendPaginationEvent(t.state)}))}};c=c(e),this.setState({spreadIndex:0,currentSpineItem:s,currentSpineItemIndex:n,showSidebar:null,firstChapter:i,lastChapter:a},(function(){t.loadSpineItem(s,c),t.savePosition()}))}},t.handlePageNavigation=function(e){var t=this,n=this.state.spreadIndex,r=this.props.view.lastSpreadIndex,o=n+e;if(o>r||o<0){var i=Math.sign(e);this.handleChapterNavigation(i)}else{var a=0===o,s=o===r,c=o>n?1:-1;n=o,this.setState({spreadIndex:n,firstSpread:a,lastSpread:s,spreadDelta:c,showSidebar:null},(function(){t.updateQueryString(),u.default.sendPaginationEvent(t.state)}))}},t.navigateToChapterByURL=function(e){var t,n=this,o=this.state.spine,i=new window.URL(e),a="".concat(i.origin).concat(i.pathname),u=i.hash;u&&(t=function(){n.navigateToElementById(u),n.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})});var s=(0,r.default)(o,{absoluteURL:a});if(s===this.state.currentSpineItemIndex)return this.closeSidebars();if(s<0)console.warn("No spine item found for ".concat(a));else{var c=o[s];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:c,currentSpineItemIndex:s,spreadIndex:0},(function(){n.loadSpineItem(c,t),n.savePosition()}))}},t.navigateToElementById=function(e){var t=document.querySelector(e);if(!t)return console.warn("Could not find element ".concat(e));if(this.props.readerSettings.layout===o.layouts.SCROLL||a.default.isMobile()){var n=document.querySelector(".bber-controls__header").offsetHeight+25,r=t.offsetTop-n;document.getElementById("frame").scrollTo(0,r)}var i=this.props.viewerSettings,u=i.paddingTop,s=i.paddingBottom,c=i.columnGap,l=window.innerHeight,f=Math.round(l-u-s),d=t.offsetLeft-c,p=Math.floor(d/f/2);this.setState({spreadIndex:p},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){var e=this.state,t=e.currentSpineItemIndex,n=e.spreadIndex,r=this.props.readerSettings.searchParamKeys,o=new URLSearchParams;o.set(r.currentSpineItemIndex,t),o.set(r.spreadIndex,n);var i={searchParams:o.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){var t=this.state,n=t.spreadIndex,r=t.currentSpineItem,o=t.currentSpineItemIndex,a=r.slug,u=this.props.readerLocation.searchParams,s=new window.URLSearchParams(u);s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.slug),i.default.queryStringValue(a)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),i.default.queryStringValue(o)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),i.default.queryStringValue(n));var c={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(c),e&&e()},n(370),n(2),n(1),n(4),n(5),n(164),n(88),n(32),n(87);var r=s(n(366)),o=n(27),i=s(n(66)),a=s(n(41)),u=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindResizeHandlers=function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("resize",this.handleResizeStart),window.removeEventListener("resize",this.handleResizeEnd),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)},t.handleResize=function(){if(!this.state.disableMobileResizeEvents){var e=new r.ViewerSettings;this.props.viewerSettingsActions.update(e.get())}},t.handleResizeEnd=function(){var e=this;if(!this.state.disableMobileResizeEvents){var t=this.state,n=t.spreadIndex,r=t.relativeSpreadPosition,o=this.props.view.lastSpreadIndex;if(o<0)return window.clearTimeout(this.resizeEndTimer),void(this.resizeEndTimer=setTimeout((function(){return e.handleResizeEnd()}),200));var i=n*r;i=(i=i<1?0:i)>o?o:i,this.navigateToSpreadByIndex(i),this.props.userInterfaceActions.hideSpinner()}},t.handleResizeStart=function(){var e=this;if(!this.state.disableMobileResizeEvents){var t=this.state.spreadIndex,n=this.props.view.lastSpreadIndex,r=0;t>0&&n>0&&(r=t/n),this.setState({relativeSpreadPosition:r},(function(){e.props.viewActions.unload(),e.props.viewActions.updateLastSpreadIndex(-1),e.props.userInterfaceActions.disablePageTransitions(),e.props.userInterfaceActions.showSpinner()}))}},t.unbindResizeHandlers=function(){window.addEventListener("resize",this.handleResize),window.addEventListener("resize",this.handleResizeStart),window.addEventListener("resize",this.handleResizeEnd),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)};var r=n(133)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(8),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(16),n(35),n(110),n(111),n(112),n(113),n(29),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.book=void 0,t.createStateFromOPF=function(e){return g.apply(this,arguments)},t.loadSpineItem=function(e,t){return w.apply(this,arguments)},t.showSpineItem=function(){var e=this,t=this.state,n=t.spine,r=t.spreadIndex,o=t.currentSpineItemIndex,i=this.props.view.lastSpreadIndex,a=0===o,u=o===n.length-1,c=0===r,l=r===i;this.setState({firstChapter:a,lastChapter:u,firstSpread:c,lastSpread:l},(function(){e.savePosition(),e.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),s.default.sendPaginationEvent(e.state)}))},n(1),n(109),n(2),n(4),n(5);var o=c(n(90)),i=c(n(185)),a=c(n(168)),u=c(n(661)),s=c(n(107));function c(e){return e&&e.__esModule?e:{default:e}}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function h(){}function b(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==t&&n.call(m,i)&&(y=m);var g=b.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){l.value=e,u(l)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,s(g,"constructor",b),s(b,"constructor",h),h.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):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),d},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),x(n),d}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var m={content:null};function g(){return(g=v(l().mark((function e(t){var n,r,o,a,s,c,f,p,b,y;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.readerSettings.bookURL,r=u.default.opfURL(n),o=u.default.opsURL(n),e.next=5,i.default.get(r);case 5:return a=e.sent,e.next=8,u.default.parseOPF(a);case 8:return a=e.sent,e.next=11,u.default.parseNCX(a,o);case 11:return a=e.sent,e.next=14,Promise.all([u.default.createGuideItems(a),u.default.createSpineItems(a)]);case 14:return f=e.sent,p=h(f,2),s=p[0],c=p[1],a=d(d({},s),c),e.next=21,Promise.all([u.default.udpateGuideItemURLs(a,o),u.default.udpateSpineItemURLs(a,o)]);case 21:return b=e.sent,y=h(b,2),s=y[0],c=y[1],a=d(d({},s),c),e.next=28,u.default.createBookMetadata(a);case 28:a=e.sent,this.setState(d({opsURL:o},a),t);case 30:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function w(){return(w=v(l().mark((function e(t,n){var r,s,c,f,d,p,b,y,v,g,w,_,S,O,x=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.default.createHash(this.props.readerSettings.bookURL),(s=t)||(c=h(this.state.spine,1),s=c[0]),this.freeze(),e.prev=4,d=this.state,p=d.cache,b=d.opsURL,e.next=8,i.default.get(s.absoluteURL);case 8:return y=e.sent,v=y.data,g=y.request,e.next=13,u.default.parseSpineItemResponse({data:v,hash:r,cache:p,opsURL:b,request:g,requestedSpineItem:s,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap});case 13:f=e.sent,e.next=23;break;case 16:return e.prev=16,e.t0=e.catch(4),console.error(e.t0),delete(w=a.default.get()||{})[r],a.default.set(w),e.abrupt("return");case 23:S=(_=f).bookContent,O=_.scopedCSS,m.content=S,o.default.appendBookStyles(O,r),this.setState({currentSpineItem:s,spineItemURL:s.absoluteURL},(function(){return x.updateQueryString((function(){return x.props.registerDeferredCallback(n||x.showSpineItem)}))}));case 27:case"end":return e.stop()}}),e,this,[[4,16]])})))).apply(this,arguments)}t.book=m},function(e,t,n){e.exports=n(643)},function(e,t,n){"use strict";var r=n(51),o=n(374),i=n(644),a=n(380);function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var s=u(n(233));s.Axios=i,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=n(381),s.CancelToken=n(658),s.isCancel=n(379),s.all=function(e){return Promise.all(e)},s.spread=n(659),s.isAxiosError=n(660),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(51),o=n(375),i=n(645),a=n(646),u=n(380),s=n(656),c=s.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var r=n(51);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(51),o=n(647),i=n(379),a=n(233);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,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 u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(51),o=n(233);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},function(e,t,n){"use strict";var r=n(51);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(378);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var r=n(51);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.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(652),o=n(653);e.exports=function(e,t){return e&&!r(t)?o(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(51),o=["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,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.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(51);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(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=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(657),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function u(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&u(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,u){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,u)}},e.exports={isOlderVersion:u,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(e){e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(e,t,n){"use strict";var r=n(381);function o(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))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(14),n(35),n(7),n(8),n(110),n(111),n(112),n(113),n(29),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(109),n(6),n(47),n(19),n(80),n(30),n(16),n(26),n(17),n(92),n(212),n(36),n(4),n(32),n(2),n(5);var o=m(n(662)),i=m(n(169)),a=n(389),u=m(n(182)),s=n(733),c=m(n(775)),l=m(n(798)),f=m(n(803)),d=m(n(66)),p=m(n(185)),h=m(n(814)),b=n(133),y=n(815),v=m(n(816));function m(e){return e&&e.__esModule?e:{default:e}}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(k([])));v&&v!==t&&n.call(v,i)&&(b=v);var m=h.prototype=d.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=h,s(m,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(m),s(m,u,"Generator"),s(m,i,(function(){return this})),s(m,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function w(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r,m;return t=e,(n=[{key:"opfURL",value:function(e){var t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",window.encodeURI(t)}},{key:"opsURL",value:function(e){var t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",window.encodeURI(t)}},{key:"parseOPF",value:function(e){return new Promise((function(t){for(var n=JSON.parse(o.default.xml2json(e.data)).elements[0].elements,r={},i=0;i<n.length;i++)r["__".concat(n[i].name)]=n[i];t(r)}))}},{key:"parseNCX",value:function(e,t){var n=e.__manifest,r=e.__spine;return new Promise((function(i){var a=r.attributes.toc;if(a){var s=(0,u.default)(n.elements,(function(e){return e.attributes.id===a}));if(s){var c=s.attributes.href;p.default.get(d.default.resolveRelativeURL(t,c)).then((function(t){var n=t.data;i(S(S({},e),{},{__ncx:JSON.parse(o.default.xml2json(n))}))}))}else i(S(S({},e),{},{__ncx:null}))}else i(S(S({},e),{},{__ncx:null}))}))}},{key:"createSpineItems",value:function(t){var n=t.__manifest,r=t.__spine,o=t.__ncx,i=t.__guide;return new Promise((function(a){var s;if(s=(s=r.elements.map((function(e){var t=e.attributes,r=t.idref,o=t.linear,a=(0,u.default)(n.elements,(function(e){return e.attributes.id===r}));if(!a||"yes"!==o)return null;var s=a.attributes,c=s.id,l=s.href,f=a.attributes["media-type"],p=a.attributes.properties?a.attributes.properties.split(" "):[],h=(0,u.default)(i.elements,(function(e){return e.attributes.href===l})),y="",v="";return h&&(y=h.attributes.title,v=d.default.slug(y)),new b.SpineItem({id:c,href:l,mediaType:f,properties:p,idref:r,linear:o,title:y,slug:v})}))).filter(Boolean),o){var c=o.elements[0].elements;(0,u.default)(c,{name:"navMap"}).elements.forEach((function(t){return e.parseNavPoints(s,n,t)}))}a(S(S({},t),{},{spine:s}))}))}},{key:"createGuideItems",value:function(e){var t=e.__guide;return new Promise((function(n){if(t.elements&&t.elements.length){var r=t.elements.map((function(e){var t=e.attributes,n=t.type,r=t.title,o=t.href;return new b.GuideItem({type:n,title:r,href:o})}));n(S(S({},e),{},{guide:r}))}else n(S(S({},e),{},{guide:[]}))}))}},{key:"udpateSpineItemURLs",value:function(e,t){return new Promise((function(n){var r=e.spine;r.map((function(e){return e.absoluteURL=d.default.resolveRelativeURL(t,e.href)})),n(S(S({},e),{},{spine:r}))}))}},{key:"udpateGuideItemURLs",value:function(e,t){return new Promise((function(n){var r=e.guide;r.map((function(e){return e.absoluteURL=d.default.resolveRelativeURL(t,e.href)})),n(S(S({},e),{},{guide:r}))}))}},{key:"parseNavPoints",value:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=(0,u.default)(r.elements,{name:"content"});if(a){var s=a.attributes.src;s=d.default.ensureDecodedURL(s);var c=(0,u.default)(n.elements,(function(e){return d.default.ensureDecodedURL(e.attributes.href)===s}));if(!c)return console.error("Could not find manifest item: ".concat(s));var l=c.attributes.id,f=(0,u.default)(t,{id:l});if(!f)return console.error("Can not find spine item: ".concat(l));var p=(0,u.default)(r.elements,{name:"navLabel"}),h=(0,u.default)(p.elements,{name:"text"}),b=(0,u.default)(h.elements,{type:"text"}).text,y=d.default.slug(b);f.title||f.set("title",b),f.slug||f.set("slug",y),f.set("depth",o),f.set("inTOC",!0),i&&i.addChild(f);var v=o+1;r.elements.forEach((function(r){return e.parseNavPoints(t,n,r,v,f)}))}}},{key:"createBookMetadata",value:function(e){var t=e.__metadata.elements.filter((function(e){return/^dc:/.test(e.name)})).map((function(e){return O({},e.name.slice(3),e.elements[0].text)}));return new Promise((function(n){var r=new b.BookMetadata({});t.forEach((function(e,n){var o=Object.keys(t[n]);(0,i.default)(r,o)&&r.set(o,e[o])})),n(S(S({},e),{},{metadata:r}))}))}},{key:"createScopedCSS",value:function(e,t,n){var r="";return e.forEach((function(e){var o=e.base,i=e.data,a=d.default.resolveRelativeURL(n,o),u=(0,c.default)(i);(0,l.default)(u,{enter:function(e,n,r){var o,i=s.List.createItem({name:t,type:"ClassSelector"}),u=s.List.createItem({type:"WhiteSpace",value:" "});r&&"TypeSelector"===e.type&&"html"===e.name&&(e.name=t,e.type="ClassSelector"),r&&"TypeSelector"===e.type&&"body"===e.name&&(e.name="content",e.type="IdSelector"),!r||e.name===t||r.head.data.name===t||"TypeSelector"!==e.type&&"IdSelector"!==e.type&&"ClassSelector"!==e.type&&"AttributeSelector"!==e.type||(r.prepend(u),r.prepend(i)),"Url"===e.type&&(o=e.value.replace(/(?:^['"]+|['"]+$)/g,""),d.default.isRelative(o)&&(o=d.default.resolveRelativeURL(a,o),e.value=o))}}),r+=(0,f.default)(u)})),r}},{key:"parseSpineItemResponse",value:(r=g().mark((function t(n){var r,o,i,u,s,c,l,f,b,m,w,_,S,O,x,E,k,P,j,T,A,C;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.request.responseURL,o=n.hash,i=n.opsURL,u=n.paddingLeft,s=n.columnGap,c=n.cache,l=new a.Parser,f=new v.default({paddingLeft:u,columnGap:s,responseURL:r}),b=f.parseXML(n.data),m=b.xml,w=b.doc,_=/<body[^>]*?>([\s\S]*)<\/body>/,S=(S=(S=m.match(_))[1]).replace(/>\s*?</g,"><"),O=l.parseWithInstructions(S,y.isValidNode,(0,y.processingInstructions)(n)),x=Array.from(w.querySelectorAll("link")),E=Array.from(w.querySelectorAll("style")),k=x.reduce((function(e,t){if("stylesheet"!==t.rel)return e;var n=d.default.trimFilenameFromResponse(r),o=d.default.trimSlashes(t.getAttribute("href")),i=d.default.resolveRelativeURL(n,o);return e.concat({url:i,base:n})}),[]),P=k.map((function(e){var t=e.url,n=e.base;return new Promise((function(e){p.default.get(t).then((function(r){c&&(console.log("No CSS cache - setting cache for %s",t),h.default.set(t,r.data)),e({base:n,data:r.data})}))}))})),t.next=16,Promise.all(P);case 16:return j=t.sent,T=E.reduce((function(e,t){var n=t.textContent;if(!n)return e;var o=d.default.trimFilenameFromResponse(r);return e.concat({base:o,data:n})}),j),A="_".concat(o),C=e.createScopedCSS(T,A,i),t.abrupt("return",{bookContent:O,scopedCSS:C});case 21:case"end":return t.stop()}}),t)})),m=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){w(i,n,o,a,u,"next",e)}function u(e){w(i,n,o,a,u,"throw",e)}a(void 0)}))},function(e){return m.apply(this,arguments)})}])&&x(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=E},function(e,t,n){var r=n(382),o=n(677),i=n(388),a=n(678);e.exports={xml2js:r,xml2json:o,js2xml:i,json2xml:a}},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new i(e,t)},t.SAXParser=i,t.SAXStream=u,t.createStream=function(e,t){return new u(e,t)},t.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,n){if(!(this instanceof i))return new i(e,n);!function(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=n||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!e,this.noscript=!(!e&&!this.opt.noscript),this.state=S.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),x(this,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),i.prototype={end:function(){T(this)},write:function(e){if(this.error)throw this.error;if(this.closed)return j(this,"Cannot write after close. Assign an onready handler.");if(null===e)return T(this);"object"==typeof e&&(e=e.toString());for(var n=0,r="";r=U(e,n++),this.c=r,r;)switch(this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++),this.state){case S.BEGIN:if(this.state=S.BEGIN_WHITESPACE,"\ufeff"===r)continue;D(this,r);continue;case S.BEGIN_WHITESPACE:D(this,r);continue;case S.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=n-1;r&&"<"!==r&&"&"!==r;)(r=U(e,n++))&&this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,n-1)}"<"!==r||this.sawRoot&&this.closedRoot&&!this.strict?(h(r)||this.sawRoot&&!this.closedRoot||A(this,"Text data outside of root node."),"&"===r?this.state=S.TEXT_ENTITY:this.textNode+=r):(this.state=S.OPEN_WAKA,this.startTagPosition=this.position);continue;case S.SCRIPT:"<"===r?this.state=S.SCRIPT_ENDING:this.script+=r;continue;case S.SCRIPT_ENDING:"/"===r?this.state=S.CLOSE_TAG:(this.script+="<"+r,this.state=S.SCRIPT);continue;case S.OPEN_WAKA:if("!"===r)this.state=S.SGML_DECL,this.sgmlDecl="";else if(h(r));else if(v(l,r))this.state=S.OPEN_TAG,this.tagName=r;else if("/"===r)this.state=S.CLOSE_TAG,this.tagName="";else if("?"===r)this.state=S.PROC_INST,this.procInstName=this.procInstBody="";else{if(A(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;r=new Array(a).join(" ")+r}this.textNode+="<"+r,this.state=S.TEXT}continue;case S.SGML_DECL:"[CDATA["===(this.sgmlDecl+r).toUpperCase()?(E(this,"onopencdata"),this.state=S.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+r==="--"?(this.state=S.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+r).toUpperCase()?(this.state=S.DOCTYPE,(this.doctype||this.sawRoot)&&A(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===r?(E(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=S.TEXT):b(r)?(this.state=S.SGML_DECL_QUOTED,this.sgmlDecl+=r):this.sgmlDecl+=r;continue;case S.SGML_DECL_QUOTED:r===this.q&&(this.state=S.SGML_DECL,this.q=""),this.sgmlDecl+=r;continue;case S.DOCTYPE:">"===r?(this.state=S.TEXT,E(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=r,"["===r?this.state=S.DOCTYPE_DTD:b(r)&&(this.state=S.DOCTYPE_QUOTED,this.q=r));continue;case S.DOCTYPE_QUOTED:this.doctype+=r,r===this.q&&(this.q="",this.state=S.DOCTYPE);continue;case S.DOCTYPE_DTD:this.doctype+=r,"]"===r?this.state=S.DOCTYPE:b(r)&&(this.state=S.DOCTYPE_DTD_QUOTED,this.q=r);continue;case S.DOCTYPE_DTD_QUOTED:this.doctype+=r,r===this.q&&(this.state=S.DOCTYPE_DTD,this.q="");continue;case S.COMMENT:"-"===r?this.state=S.COMMENT_ENDING:this.comment+=r;continue;case S.COMMENT_ENDING:"-"===r?(this.state=S.COMMENT_ENDED,this.comment=P(this.opt,this.comment),this.comment&&E(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+r,this.state=S.COMMENT);continue;case S.COMMENT_ENDED:">"!==r?(A(this,"Malformed comment"),this.comment+="--"+r,this.state=S.COMMENT):this.state=S.TEXT;continue;case S.CDATA:"]"===r?this.state=S.CDATA_ENDING:this.cdata+=r;continue;case S.CDATA_ENDING:"]"===r?this.state=S.CDATA_ENDING_2:(this.cdata+="]"+r,this.state=S.CDATA);continue;case S.CDATA_ENDING_2:">"===r?(this.cdata&&E(this,"oncdata",this.cdata),E(this,"onclosecdata"),this.cdata="",this.state=S.TEXT):"]"===r?this.cdata+="]":(this.cdata+="]]"+r,this.state=S.CDATA);continue;case S.PROC_INST:"?"===r?this.state=S.PROC_INST_ENDING:h(r)?this.state=S.PROC_INST_BODY:this.procInstName+=r;continue;case S.PROC_INST_BODY:if(!this.procInstBody&&h(r))continue;"?"===r?this.state=S.PROC_INST_ENDING:this.procInstBody+=r;continue;case S.PROC_INST_ENDING:">"===r?(E(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=S.TEXT):(this.procInstBody+="?"+r,this.state=S.PROC_INST_BODY);continue;case S.OPEN_TAG:v(f,r)?this.tagName+=r:(C(this),">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:(h(r)||A(this,"Invalid character in tag name"),this.state=S.ATTRIB));continue;case S.OPEN_TAG_SLASH:">"===r?(I(this,!0),N(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=S.ATTRIB);continue;case S.ATTRIB:if(h(r))continue;">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:v(l,r)?(this.attribName=r,this.attribValue="",this.state=S.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case S.ATTRIB_NAME:"="===r?this.state=S.ATTRIB_VALUE:">"===r?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(r)?this.state=S.ATTRIB_NAME_SAW_WHITE:v(f,r)?this.attribName+=r:A(this,"Invalid attribute name");continue;case S.ATTRIB_NAME_SAW_WHITE:if("="===r)this.state=S.ATTRIB_VALUE;else{if(h(r))continue;A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",E(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===r?I(this):v(l,r)?(this.attribName=r,this.state=S.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=S.ATTRIB)}continue;case S.ATTRIB_VALUE:if(h(r))continue;b(r)?(this.q=r,this.state=S.ATTRIB_VALUE_QUOTED):(A(this,"Unquoted attribute value"),this.state=S.ATTRIB_VALUE_UNQUOTED,this.attribValue=r);continue;case S.ATTRIB_VALUE_QUOTED:if(r!==this.q){"&"===r?this.state=S.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=r;continue}R(this),this.q="",this.state=S.ATTRIB_VALUE_CLOSED;continue;case S.ATTRIB_VALUE_CLOSED:h(r)?this.state=S.ATTRIB:">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:v(l,r)?(A(this,"No whitespace between attributes"),this.attribName=r,this.attribValue="",this.state=S.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case S.ATTRIB_VALUE_UNQUOTED:if(!y(r)){"&"===r?this.state=S.ATTRIB_VALUE_ENTITY_U:this.attribValue+=r;continue}R(this),">"===r?I(this):this.state=S.ATTRIB;continue;case S.CLOSE_TAG:if(this.tagName)">"===r?N(this):v(f,r)?this.tagName+=r:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=S.SCRIPT):(h(r)||A(this,"Invalid tagname in closing tag"),this.state=S.CLOSE_TAG_SAW_WHITE);else{if(h(r))continue;m(l,r)?this.script?(this.script+="</"+r,this.state=S.SCRIPT):A(this,"Invalid tagname in closing tag."):this.tagName=r}continue;case S.CLOSE_TAG_SAW_WHITE:if(h(r))continue;">"===r?N(this):A(this,"Invalid characters in closing tag");continue;case S.TEXT_ENTITY:case S.ATTRIB_VALUE_ENTITY_Q:case S.ATTRIB_VALUE_ENTITY_U:var u,s;switch(this.state){case S.TEXT_ENTITY:u=S.TEXT,s="textNode";break;case S.ATTRIB_VALUE_ENTITY_Q:u=S.ATTRIB_VALUE_QUOTED,s="attribValue";break;case S.ATTRIB_VALUE_ENTITY_U:u=S.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===r?(this[s]+=M(this),this.entity="",this.state=u):v(this.entity.length?p:d,r)?this.entity+=r:(A(this,"Invalid character in entity name"),this[s]+="&"+this.entity+r,this.entity="",this.state=u);continue;default:throw new Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),r=0,i=0,a=o.length;i<a;i++){var u=e[o[i]].length;if(u>n)switch(o[i]){case"textNode":k(e);break;case"cdata":E(e,"oncdata",e.cdata),e.cdata="";break;case"script":E(e,"onscript",e.script),e.script="";break;default:j(e,"Max buffer length exceeded: "+o[i])}r=Math.max(r,u)}var s=t.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=s+e.position}(this),this}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;k(e=this),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}};try{r=n(666).Stream}catch(e){r=function(){}}var a=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function u(e,t){if(!(this instanceof u))return new u(e,t);r.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}u.prototype=Object.create(r.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var r=n(238).StringDecoder;this._decoder=new r("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},u.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},u.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===a.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var s="http://www.w3.org/XML/1998/namespace",c={xml:s,xmlns:"http://www.w3.org/2000/xmlns/"},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function b(e){return'"'===e||"'"===e}function y(e){return">"===e||h(e)}function v(e,t){return e.test(t)}function m(e,t){return!v(e,t)}var g,w,_,S=0;for(var O in t.STATE={BEGIN:S++,BEGIN_WHITESPACE:S++,TEXT:S++,TEXT_ENTITY:S++,OPEN_WAKA:S++,SGML_DECL:S++,SGML_DECL_QUOTED:S++,DOCTYPE:S++,DOCTYPE_QUOTED:S++,DOCTYPE_DTD:S++,DOCTYPE_DTD_QUOTED:S++,COMMENT_STARTING:S++,COMMENT:S++,COMMENT_ENDING:S++,COMMENT_ENDED:S++,CDATA:S++,CDATA_ENDING:S++,CDATA_ENDING_2:S++,PROC_INST:S++,PROC_INST_BODY:S++,PROC_INST_ENDING:S++,OPEN_TAG:S++,OPEN_TAG_SLASH:S++,ATTRIB:S++,ATTRIB_NAME:S++,ATTRIB_NAME_SAW_WHITE:S++,ATTRIB_VALUE:S++,ATTRIB_VALUE_QUOTED:S++,ATTRIB_VALUE_CLOSED:S++,ATTRIB_VALUE_UNQUOTED:S++,ATTRIB_VALUE_ENTITY_Q:S++,ATTRIB_VALUE_ENTITY_U:S++,CLOSE_TAG:S++,CLOSE_TAG_SAW_WHITE:S++,SCRIPT:S++,SCRIPT_ENDING:S++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[O]]=O;function x(e,t,n){e[t]&&e[t](n)}function E(e,t,n){e.textNode&&k(e),x(e,t,n)}function k(e){e.textNode=P(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function P(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function j(e,t){return k(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,x(e,"onerror",t),e}function T(e){return e.sawRoot&&!e.closedRoot&&A(e,"Unclosed root tag"),e.state!==S.BEGIN&&e.state!==S.BEGIN_WHITESPACE&&e.state!==S.TEXT&&j(e,"Unexpected end"),k(e),e.c="",e.closed=!0,x(e,"onend"),i.call(e,e.strict,e.opt),e}function A(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&j(e,t)}function C(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",n)}function L(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=L(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==s)A(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===r&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)A(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var n=e.tag,r=L(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(A(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,a=e.attribList.length;i<a;i++){var u=e.attribList[i],s=u[0],c=u[1],l=L(s,!0),f=l.prefix,d=l.local,p=""===f?"":n.ns[f]||"",h={name:s,value:c,prefix:f,local:d,uri:p};f&&"xmlns"!==f&&!p&&(A(e,"Unbound namespace prefix: "+JSON.stringify(f)),h.uri=f),e.tag.attributes[s]=h,E(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=S.TEXT:e.state=S.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function N(e){if(!e.tagName)return A(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=S.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=S.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)A(e,"Unexpected close tag");if(t<0)return A(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=S.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var a={};for(var u in i.ns)a[u]=i.ns[u];var s=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==s.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];E(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=S.TEXT}function M(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(A(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function D(e,t){"<"===t?(e.state=S.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(A(e,"Non-whitespace before first tag."),e.textNode=t,e.state=S.TEXT)}function U(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}S=t.STATE,String.fromCodePoint||(g=String.fromCharCode,w=Math.floor,_=function(){var e,t,n=16384,r=[],o=-1,i=arguments.length;if(!i)return"";for(var a="";++o<i;){var u=Number(arguments[o]);if(!isFinite(u)||u<0||u>1114111||w(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?r.push(u):(e=55296+((u-=65536)>>10),t=u%1024+56320,r.push(e,t)),(o+1===i||r.length>n)&&(a+=g.apply(null,r),r.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_,configurable:!0,writable:!0}):String.fromCodePoint=_)}(t)}).call(this,n(140).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],u=r[1],s=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===u&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,s[l++]=255&t),1===u&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(l(e,a,a+16383>u?u:a+16383));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],o[a.charCodeAt(u)]=u;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,i,a=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,c=s>>1,l=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*b}},function(e,t,n){e.exports=o;var r=n(234).EventEmitter;function o(){r.call(this)}n(114)(o,r),o.Readable=n(235),o.Writable=n(673),o.Duplex=n(674),o.Transform=n(675),o.PassThrough=n(676),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",u),n.on("close",s));var a=!1;function u(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",u),n.removeListener("close",s),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},function(e,t){},function(e,t,n){"use strict";var r=n(236).Buffer,o=n(669);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,o=r.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=o,n=a,i.data.copy(t,n),a+=i.data.length,i=i.next;return o},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},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(52))},function(e,t,n){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=n(140),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(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 o(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";e.exports=i;var r=n(387),o=Object.create(n(141));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}o.inherits=n(114),o.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(237)},function(e,t,n){e.exports=n(96)},function(e,t,n){e.exports=n(235).Transform},function(e,t,n){e.exports=n(235).PassThrough},function(e,t,n){var r=n(239),o=n(382);e.exports=function(e,t){var n,i,a;return n=function(e){var t=r.copyOptions(e);return r.ensureSpacesExists(t),t}(t),i=o(e,n),a="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,n){(function(t){var r=n(388);e.exports=function(e,n){e instanceof t&&(e=e.toString());var o=null;if("string"==typeof e)try{o=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else o=e;return r(o,n)}}).call(this,n(140).Buffer)},function(e,t,n){"use strict";const r=n(680),o=n(681),i=n(684),a=n(695),u=n(698),s=n(701).Parser,c=n(70).DomHandler,l=n(406),f=n(411),d=n(408);e.exports=function(e){function t(t,n,l,f){const p=function(t){(e=e||{}).decodeEntities=!0;const n=new c;return new s(n,e).parseComplete(t),n.dom.filter((function(e){return"directive"!==e.type}))}(t).map((function(e,t){return function e(t,n,s,c,l){if(n(t)){r((function(e){e.shouldPreprocessNode(t)&&e.preprocessNode(t,l)}),c||[]);const f=o((function(e){return e.shouldProcessNode(t)}),s||[]);if(null!=f){const r=i((function(e){return null==e||!1===e}),a(u)((function(t,r){return e(t,n,s,c,r)}),t.children||[]));return f.replaceChildren?d.createElement(t,l,t.data,[f.processNode(t,r,l)]):f.processNode(t,r,l)}return!1}return!1}(e,n,l,f,t)}));return p.length<=1?p[0]:p}return{parse:function(e){const n=new l;return t(e,f.alwaysValid,n.defaultProcessingInstructions)},parseWithInstructions:t}}},function(e,t,n){var r=n(390),o=n(43)(r("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})));e.exports=o},function(e,t,n){var r=n(43)(n(188)(["find"],n(683),(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})));e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(43),o=n(391),i=n(189),a=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=i.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=o(this.xf["@@transducer/step"](e,t))),e},e}(),u=r((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,n){var r=n(685),o=n(43),i=n(686),a=o((function(e,t){return i(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(43),o=n(188),i=n(687),a=n(688),u=n(242),s=n(693),c=n(244),l=r(o(["fantasy-land/filter","filter"],s,(function(e,t){return a(t)?u((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):i(e,t)})));e.exports=l},function(e,t){e.exports=function(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(82),o=n(241),i=n(690),a=r((function(e){return!!o(e)||!!e&&"object"==typeof e&&!i(e)&&(0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}));e.exports=a},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(243),o=n(43)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=o},function(e,t,n){var r=n(43),o=n(189),i=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):e},e}(),a=r((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,n){var r=n(190),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(e){return"[object Arguments]"===o.call(e)}:function(e){return r("callee",e)}}();e.exports=i},function(e,t,n){var r=n(696),o=n(82),i=n(392),a=o((function(e){return i(e.length,(function(){var t=0,n=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,r(arguments,[t,o]));return t+=1,e},e.apply(this,i)}))}));e.exports=a},function(e,t){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<o;)i[i.length]=t[n],n+=1;return i}},function(e,t,n){var r=n(243),o=n(187);e.exports=function e(t,n,i){return function(){for(var a=[],u=0,s=t,c=0;c<n.length||u<arguments.length;){var l;c<n.length&&(!o(n[c])||u>=arguments.length)?l=n[c]:(l=arguments[u],u+=1),a[c]=l,o(l)||(s-=1),c+=1}return s<=0?i.apply(this,a):r(s,e(t,a,i))}}},function(e,t,n){var r=n(43),o=n(188),i=n(699),a=n(242),u=n(700),s=n(392),c=n(244),l=r(o(["fantasy-land/map","map"],u,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return s(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return i(e,t)}})));e.exports=l},function(e,t){e.exports=function(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}},function(e,t,n){var r=n(43),o=n(189),i=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.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var s=n(393);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=n(70);function l(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=l,t.parseDOM=function(e,t){return l(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var f=n(394);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return u(f).default}});var d=i(n(142));t.ElementType=d,a(n(397),t),t.DomUtils=i(n(398));var p=n(397);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=r(n(703));t.htmlDecodeTree=o.default;var i=r(n(704));t.xmlDecodeTree=i.default;var a,u=r(n(395));function s(e){return function(t,n){for(var r="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(r+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var s=null,l=1,f=0,d=e[f];i<t.length&&!((f=c(e,d,f+1,t.charCodeAt(i)))<0);i++,l++)(d=e[f])&a.HAS_VALUE&&(n&&59!==t.charCodeAt(i)?f+=1:(s=d&a.MULTI_BYTE?String.fromCharCode(e[++f],e[++f]):String.fromCharCode(e[++f]),l=0));null!=s&&(r+=s,o=i-l+1)}else{var p=i+1,h=10,b=t.charCodeAt(p);for(120==(32|b)&&(h=16,i+=1,p+=1);(b=t.charCodeAt(++i))>=48&&b<=57||16===h&&(32|b)>=97&&(32|b)<=102;);if(p!==i){var y=t.substring(p,i),v=parseInt(y,h);if(59===t.charCodeAt(i))i+=1;else if(n)continue;r+=u.default(v),o=i}}return r+t.slice(o)}}function c(e,n,r,o){if(n<=128)return o===n?r:-1;var i=(n&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[r]?r+1:-1;var u=n&a.JUMP_TABLE;if(u){var s=o-t.JUMP_OFFSET_BASE-u;return s<0||s>i?-1:e[r+s]-1}for(var c=r,l=c+i-1;c<=l;){var f=c+l>>>1,d=e[f];if(d<o)c=f+1;else{if(!(d>o))return e[f+i];l=f-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(a=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=c;var l=s(o.default),f=s(i.default);t.decodeHTML=function(e){return l(e,!1)},t.decodeHTMLStrict=function(e){return l(e,!0)},t.decodeXML=function(e){return f(e,!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(n(142)),s=n(706),c=n(710),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function d(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",o=0;o<n.length;o++)r+=p(n[o],t);return r}function p(e,t){switch(e.type){case u.Root:return d(e.children,t);case u.Directive:case u.Doctype:return"<"+e.data+">";case u.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case u.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case u.Script:case u.Style:case u.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&b.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(n){var r,o,i=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==i?n+'="'+(!1!==t.decodeEntities?s.encodeXML(i):i.replace(/"/g,"&quot;"))+'"':n})).join(" ")}(e.attribs,t);return i&&(o+=" "+i),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=d(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</"+e.name+">")),o}(e,t);case u.Text:return function(e,t){var n=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(n=s.encodeXML(n)),n}(e,t)}}t.default=d;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),b=new Set(["svg","math"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(400),o=n(403);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?o.encodeXML:o.encodeHTML)(e)};var i=n(403);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=n(400);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},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 o=r(n(709)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(e))}},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["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"]]),t.attributeNames=new Map([["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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(70),o=[];function i(e){var t;return null!==(t=e.children)&&void 0!==t?t:o}function a(e){return e.parent||null}t.getChildren=i,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,o=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=o;)n.push(o),o=o.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,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 o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=n,o){if(o.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(o),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var o=n.children;o.splice(o.indexOf(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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(70);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var i=(0,r.hasChildren)(e)?e:e.parent;i;)n.unshift(i),i=i.parent;for(i=(0,r.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(n.length,o.length),u=0;u<a&&n[u]===o[u];)u++;if(0===u)return 1;var s=n[u-1],c=s.children,l=n[u],f=o[u];return c.indexOf(l)>c.indexOf(f)?s===t?20:4:s===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return 2&n?-1:4&n?1:0})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(399),o=n(405);t.getFeed=function(e){var t=s(f,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,o.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:u(n)};l(r,"id","id",n),l(r,"title","title",n);var o=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);var i=c("summary",n)||c("content",n);i&&(r.description=i);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};l(r,"id","id",n),l(r,"title","title",n);var i=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i),l(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),l(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:u(t)};l(n,"id","guid",t),l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t);var r=c("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};l(i,"title","title",r),l(i,"link","link",r),l(i,"description","description",r);var a=c("lastBuildDate",r);return a&&(i.updated=new Date(a)),l(i,"author","managingEditor",r,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function u(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,o=i;r<o.length;r++)t[c=o[r]]&&(n[c]=t[c]);for(var u=0,s=a;u<s.length;u++){var c;t[c=s[u]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,o.getElementsByTagName)(e,t,n,1)).trim()}function l(e,t,n,r,o){void 0===o&&(o=!1);var i=c(n,r,o);i&&(e[t]=i)}function f(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,n){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},function(e,t,n){(function(t){var n,r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",s="\\d+",c="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+i+s+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",f="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",b="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+c+"|"+l+")",v="(?:"+b+"|"+l+")",m="(?:"+u+"|"+f+")?",g="[\\ufe0e\\ufe0f]?"+m+"(?:\\u200d(?:"+[d,p,h].join("|")+")[\\ufe0e\\ufe0f]?"+m+")*",w="(?:"+["[\\u2700-\\u27bf]",p,h].join("|")+")"+g,_="(?:"+[d+u+"?",u,p,h,"[\\ud800-\\udfff]"].join("|")+")",S=RegExp("['’]","g"),O=RegExp(u,"g"),x=RegExp(f+"(?="+f+")|"+_+g,"g"),E=RegExp([b+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,b,"$"].join("|")+")",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,b+y,"$"].join("|")+")",b+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",s,w].join("|"),"g"),k=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),P=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,j="object"==typeof t&&t&&t.Object===Object&&t,T="object"==typeof self&&self&&self.Object===Object&&self,A=j||T||Function("return this")(),C=(n={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==n?void 0:n[e]});function L(e){return k.test(e)}var R=Object.prototype.toString,I=A.Symbol,N=I?I.prototype:void 0,M=N?N.toString:void 0;function D(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==R.call(e)}(e))return M?M.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var U,F=(U=function(e,t,n){return t=t.toLowerCase(),e+(n?B(D(t).toLowerCase()):t)},function(e){return function(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;)n=t(n,e[o],o,e);return n}(function(e,t,n){return e=D(e),void 0===(t=t)?function(e){return P.test(e)}(e)?function(e){return e.match(E)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=D(e))&&e.replace(o,C).replace(O,"")}(e).replace(S,"")),U,"")}),B=function(e){var t=L(e=D(e))?function(e){return L(e)?function(e){return e.match(x)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,n=t?t[0]:e.charAt(0),r=t?function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)}(t,1).join(""):e.slice(1);return n.toUpperCase()+r};e.exports=F}).call(this,n(52))},function(e,t,n){var r=n(82),o=n(190),i=r((function(e){var t=[];for(var n in e)o(n,e)&&(t[t.length]=[n,e[n]]);return t}));e.exports=i},function(e,t,n){var r=n(409)(n(242));e.exports=r},function(e,t,n){var r=n(43),o=n(410),i=n(726),a=r((function(e,t){return o(i(e.length,t),e)}));e.exports=a},function(e,t,n){var r=n(721),o=n(722),i=n(723),a=n(190),u=n(724),s=n(244),c=n(725);function l(e,t,n,i){var a=r(e),u=r(t);function s(e,t){return f(e,t,n.slice(),i.slice())}return!o((function(e,t){return!o(s,t,e)}),u,a)}function f(e,t,n,r){if(u(e,t))return!0;var o=c(e);if(o!==c(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===i(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!u(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!u(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 d=n.length-1;d>=0;){if(n[d]===e)return r[d]===t;d-=1}switch(o){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),n.concat([e]),r.concat([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 p=s(e);if(p.length!==s(t).length)return!1;var h=n.concat([e]),b=r.concat([t]);for(d=p.length-1;d>=0;){var y=p[d];if(!a(y,t)||!f(t[y],e[y],h,b))return!1;d-=1}return!0}e.exports=f},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,o=n.length;r<o;){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){e.exports="function"==typeof Object.is?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(82)((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));e.exports=r},function(e,t,n){var r=n(43),o=n(188),i=n(727),a=n(728),u=r(o(["take"],i,(function(e,t){return a(0,e<0?1/0:e,t)})));e.exports=u},function(e,t,n){var r=n(43),o=n(391),i=n(189),a=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.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?o(n):n},e}(),u=r((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,n){var r=n(390),o=n(409)(r("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));e.exports=o},function(e,t,n){var r=n(730),o=n(43)(r);e.exports=o},function(e,t,n){var r=n(731);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(410);e.exports=function(e,t,n){var o,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(i=e[n])&&1/i===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(i=e[n])&&i!=i)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){"use strict";const r=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap","onClick"].concat(["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"]).concat(["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlns","xmlnsXlink","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"]).reduce((function(e,t){const n=t.toLowerCase();return n!==t&&(e[n]=t),e}),{});e.exports=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(16),n(17),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0});var o={ident:!0,string:!0,url:!0};t.url=t.string=t.ident=void 0;var i=n(734);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=d(n(735));t.ident=a;var u=n(245);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=n(425);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=d(n(248));t.string=c;var l=d(n(427));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}t.url=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t){var n={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof r.List?i=i.map(e):i.constructor===Object&&(i=e(i))),n[o]=i}return n},n(47);var r=n(245)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length-1,n="",o=0;o<e.length;o++){var i=e.charCodeAt(o);if(92===i){if(o===t)break;if(i=e.charCodeAt(++o),(0,r.isValidEscape)(92,i)){var a=o-1,u=(0,r.consumeEscaped)(e,a);o=u-1,n+=(0,r.decodeEscaped)(e.substring(a+1,u))}else 13===i&&10===e.charCodeAt(o+1)&&o++}else n+=e[o]}return n},t.encode=function(e){var t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(var n=0;n<e.length;n++){var o=e.charCodeAt(n);0!==o?o<=31||127===o||o>=48&&o<=57&&(0===n||1===n&&45===e.charCodeAt(0))?t+="\\"+o.toString(16)+" ":(0,r.isName)(o)?t+=e.charAt(n):t+="\\"+e.charAt(n):t+="�"}return t},n(1),n(87);var r=n(12)},function(e,t,n){var r=n(11),o=n(10),i=n(75),a=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);r({target:"String",stat:!0,arity:1,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");n[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffsetToLocation=void 0;var r=n(415),o=n(246);function i(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 a(e){for(var t=e.source,n=t.length,i=t.length>0?(0,o.isBOM)(t.charCodeAt(0)):0,a=(0,r.adoptBuffer)(e.lines,n),u=(0,r.adoptBuffer)(e.columns,n),s=e.startLine,c=e.startColumn,l=i;l<n;l++){var f=t.charCodeAt(l);a[l]=s,u[l]=c++,10!==f&&13!==f&&12!==f||(13===f&&l+1<n&&10===t.charCodeAt(l+1)&&(a[++l]=s,u[l]=c),s++,c=1)}a[n]=s,u[n]=c,e.lines=a,e.columns=u,e.computed=!0}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lines=null,this.columns=null,this.computed=!1}var t,n;return t=e,(n=[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}},{key:"getLocation",value:function(e,t){return this.computed||a(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}},{key:"getLocationRange",value:function(e,t,n){return this.computed||a(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.OffsetToLocation=u},function(e,t,n){"use strict";var r=n(11),o=n(10),i=n(9),a=n(416),u=n(31),s=n(75),c=n(65),l=n(165),f=a.ArrayBuffer,d=a.DataView,p=d.prototype,h=o(f.prototype.slice),b=o(p.getUint8),y=o(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(u(this),e);for(var n=u(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(l(this,f))(c(o-r)),a=new d(this),p=new d(i),v=0;r<o;)y(p,v++,b(a,r++));return i}})},function(e,t){var n=Array,r=Math.abs,o=Math.pow,i=Math.floor,a=Math.log,u=Math.LN2;e.exports={pack:function(e,t,s){var c,l,f,d=n(s),p=8*s-t-1,h=(1<<p)-1,b=h>>1,y=23===t?o(2,-24)-o(2,-77):0,v=e<0||0===e&&1/e<0?1:0,m=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,c=h):(c=i(a(e)/u),e*(f=o(2,-c))<1&&(c--,f*=2),(e+=c+b>=1?y/f:y*o(2,1-b))*f>=2&&(c++,f/=2),c+b>=h?(l=0,c=h):c+b>=1?(l=(e*f-1)*o(2,t),c+=b):(l=e*o(2,b-1)*o(2,t),c=0));t>=8;)d[m++]=255&l,l/=256,t-=8;for(c=c<<t|l,p+=t;p>0;)d[m++]=255&c,c/=256,p-=8;return d[--m]|=128*v,d},unpack:function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,u=a>>1,s=i-7,c=r-1,l=e[c--],f=127&l;for(l>>=7;s>0;)f=256*f+e[c--],s-=8;for(n=f&(1<<-s)-1,f>>=-s,s+=t;s>0;)n=256*n+e[c--],s-=8;if(0===f)f=1-u;else{if(f===a)return n?NaN:l?-1/0:1/0;n+=o(2,t),f-=u}return(l?-1:1)*n*o(2,f-t)}}},function(e,t,n){n(741)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(11),o=n(13),i=n(20),a=n(23),u=n(742),s=n(22),c=n(416),l=n(78),f=n(83),d=n(63),p=n(743),h=n(65),b=n(418),y=n(419),v=n(117),m=n(25),g=n(76),w=n(24),_=n(97),S=n(67),O=n(61),x=n(86),E=n(74).f,k=n(745),P=n(46).forEach,j=n(163),T=n(34),A=n(71),C=n(44),L=n(159),R=C.get,I=C.set,N=C.enforce,M=T.f,D=A.f,U=Math.round,F=o.RangeError,B=c.ArrayBuffer,z=B.prototype,q=c.DataView,W=s.NATIVE_ARRAY_BUFFER_VIEWS,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,G=s.TypedArrayPrototype,K=s.aTypedArrayConstructor,Y=s.isTypedArray,$=function(e,t){K(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},Q=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},X=function(e){var t;return O(z,e)||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},Z=function(e,t){return Y(e)&&!_(t)&&t in e&&p(+t)&&t>=0},J=function(e,t){return t=v(t),Z(e,t)?f(2,e[t]):D(e,t)},ee=function(e,t,n){return t=v(t),!(Z(e,t)&&w(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};a?(W||(A.f=J,T.f=ee,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:J,defineProperty:ee}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,f="set"+e,p=o[s],v=p,m=v&&v.prototype,g={},_=function(e,t){M(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[c](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=R(e);n&&(r=(r=U(r))<0?0:r>255?255:255&r),o.view[f](t*a+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};W?u&&(v=t((function(e,t,n,r){return l(e,m),L(w(t)?X(t)?void 0!==r?new p(t,y(n,a),r):void 0!==n?new p(t,y(n,a)):new p(t):Y(t)?$(v,t):i(k,v,t):new p(b(t)),e,v)})),x&&x(v,V),P(E(p),(function(e){e in v||d(v,e,p[e])})),v.prototype=m):(v=t((function(e,t,n,r){l(e,m);var o,u,s,c=0,f=0;if(w(t)){if(!X(t))return Y(t)?$(v,t):i(k,v,t);o=t,f=y(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw F("Wrong length");if((u=d-f)<0)throw F("Wrong length")}else if((u=h(r)*a)+f>d)throw F("Wrong length");s=u/a}else s=b(t),o=new B(u=s*a);for(I(e,{buffer:o,byteOffset:f,byteLength:u,length:s,view:new q(o)});c<s;)_(e,c++)})),x&&x(v,V),m=v.prototype=S(G)),m.constructor!==v&&d(m,"constructor",v),N(m).TypedArrayConstructor=v,H&&d(m,H,s);var O=v!=p;g[s]=v,r({global:!0,constructor:!0,forced:O,sham:!W},g),"BYTES_PER_ELEMENT"in v||d(v,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in m||d(m,"BYTES_PER_ELEMENT",a),j(s)}):e.exports=function(){}},function(e,t,n){var r=n(13),o=n(9),i=n(158),a=n(22).NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new u(2),1,void 0).length}))},function(e,t,n){var r=n(24),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(64),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw o("The argument can't be less than 0");return t}},function(e,t,n){var r=n(68),o=n(20),i=n(210),a=n(42),u=n(45),s=n(157),c=n(129),l=n(203),f=n(22).aTypedArrayConstructor;e.exports=function(e){var t,n,d,p,h,b,y=i(this),v=a(e),m=arguments.length,g=m>1?arguments[1]:void 0,w=void 0!==g,_=c(v);if(_&&!l(_))for(b=(h=s(v,_)).next,v=[];!(p=o(b,h)).done;)v.push(p.value);for(w&&m>2&&(g=r(g,arguments[2])),n=u(v),d=new(f(y))(n),t=0;n>t;t++)d[t]=w?g(v[t],t):v[t];return d}},function(e,t,n){"use strict";var r=n(10),o=n(22),i=r(n(747)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(42),o=n(75),i=n(45),a=n(420),u=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n),c=o(e,s),l=o(t,s),f=arguments.length>2?arguments[2]:void 0,d=u((void 0===f?s:o(f,s))-l,s-c),p=1;for(l<c&&c<l+d&&(p=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:a(n,c),c+=p,l+=p;return n}},function(e,t,n){"use strict";var r=n(22),o=n(46).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(247),i=n(750),a=n(76),u=n(20),s=n(10),c=n(9),l=r.aTypedArray,f=r.exportTypedArrayMethod,d=s("".slice);f("fill",(function(e){var t=arguments.length;l(this);var n="Big"===d(a(this),0,3)?i(e):+e;return u(o,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},function(e,t,n){var r=n(195),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},function(e,t,n){"use strict";var r=n(22),o=n(46).filter,i=n(752),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,n){var r=n(753),o=n(191);e.exports=function(e,t){return r(o(e),t)}},function(e,t,n){var r=n(45);e.exports=function(e,t){for(var n=0,o=r(t),i=new e(o);o>n;)i[n]=t[n++];return i}},function(e,t,n){"use strict";var r=n(22),o=n(46).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(46).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(46).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(149).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(149).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(13),o=n(9),i=n(10),a=n(22),u=n(2),s=n(18)("iterator"),c=r.Uint8Array,l=i(u.values),f=i(u.keys),d=i(u.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,b=c&&c.prototype,y=!o((function(){b[s].call([1])})),v=!!b&&b.values&&b[s]===b.values&&"values"===b.values.name,m=function(){return l(p(this))};h("entries",(function(){return d(p(this))}),y),h("keys",(function(){return f(p(this))}),y),h("values",m,y||!v,{name:"values"}),h(s,m,y||!v,{name:"values"})},function(e,t,n){"use strict";var r=n(22),o=n(10),i=r.aTypedArray,a=r.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},function(e,t,n){"use strict";var r=n(22),o=n(77),i=n(762),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,n){"use strict";var r=n(77),o=n(49),i=n(64),a=n(45),u=n(155),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),d=l||!f;e.exports=d?function(e){if(l)return r(c,this,arguments)||0;var t=o(this),n=a(t),u=n-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},function(e,t,n){"use strict";var r=n(22),o=n(46).map,i=n(191),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},function(e,t,n){"use strict";var r=n(22),o=n(421).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(421).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(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(13),o=n(20),i=n(22),a=n(45),u=n(419),s=n(42),c=n(9),l=r.RangeError,f=r.Int8Array,d=f&&f.prototype,p=d&&d.set,h=i.aTypedArray,b=i.exportTypedArrayMethod,y=!c((function(){var e=new Uint8ClampedArray(2);return o(p,e,{length:1,0:3},1),3!==e[1]})),v=y&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));b("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),n=s(e);if(y)return o(p,this,n,t);var r=this.length,i=a(n),c=0;if(i+t>r)throw l("Wrong length");for(;c<i;)this[t+c]=n[c++]}),!y||v)},function(e,t,n){"use strict";var r=n(22),o=n(191),i=n(9),a=n(102),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(u(this),e,t),r=o(this),i=0,s=n.length,c=new r(s);s>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(22),o=n(46).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(13),o=n(10),i=n(9),a=n(53),u=n(208),s=n(22),c=n(422),l=n(423),f=n(99),d=n(424),p=s.aTypedArray,h=s.exportTypedArrayMethod,b=r.Uint16Array,y=b&&o(b.prototype.sort),v=!(!y||i((function(){y(new b(2),null)}))&&i((function(){y(new b(2),{})}))),m=!!y&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(d)return d<602;var e,t,n=new b(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(y(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),m?y(this,e):u(p(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!m||v)},function(e,t,n){"use strict";var r=n(22),o=n(65),i=n(75),a=n(191),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=u(this),r=n.length,s=i(e,r);return new(a(n))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-s))}))},function(e,t,n){"use strict";var r=n(13),o=n(77),i=n(22),a=n(9),u=n(102),s=r.Int8Array,c=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,d=!!s&&a((function(){f.call(new s(1))}));l("toLocaleString",(function(){return o(f,d?u(c(this)):c(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(22).exportTypedArrayMethod,o=n(9),i=n(13),a=n(10),u=i.Uint8Array,s=u&&u.prototype||{},c=[].toString,l=a([].join);o((function(){c.call({})}))&&(c=function(){return l(this)});var f=s.toString!=c;r("toString",c,f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenStream=void 0,n(2),n(108),n(1),n(4),n(5);var r,o=n(415),i=n(413),a=(r=n(414))&&r.__esModule?r:{default:r},u=n(412);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=new Map([[u.Function,u.RightParenthesis],[u.LeftParenthesis,u.RightParenthesis],[u.LeftSquareBracket,u.RightSquareBracket],[u.LeftCurlyBracket,u.RightCurlyBracket]]),l=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.setSource(t,n)}var t,n;return t=e,(n=[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=(e=String(e||"")).length,r=(0,o.adoptBuffer)(this.offsetAndType,e.length+1),i=(0,o.adoptBuffer)(this.balance,e.length+1),a=0,s=0,l=0,f=-1;for(this.offsetAndType=null,this.balance=null,t(e,(function(e,t,o){switch(e){default:i[a]=n;break;case s:var d=16777215&l;for(l=i[d],s=l>>24,i[a]=d,i[d++]=a;d<a;d++)i[d]===n&&(i[d]=a);break;case u.LeftParenthesis:case u.Function:case u.LeftSquareBracket:case u.LeftCurlyBracket:i[a]=l,s=c.get(e),l=s<<24|a}r[a++]=e<<24|o,-1===f&&(f=t)})),r[a]=u.EOF<<24|n,i[a]=n,i[n]=n;0!==l;){var d=16777215&l;l=i[d],i[d]=n}this.source=e,this.firstCharOffset=-1===f?0:f,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}},{key:"lookupType",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>24:u.EOF}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[e-1]:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&(0,i.cmpStr)(this.source,16777215&this.offsetAndType[e-1],16777215&this.offsetAndType[e],t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?16777215&this.offsetAndType[e-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset}},{key:"substrToCursor",value:function(e){return this.source.substring(e,this.tokenStart)}},{key:"isBalanceEdge",value:function(e){return this.balance[this.tokenIndex]<e}},{key:"isDelim",value:function(e,t){return t?this.lookupType(t)===u.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===u.Delim&&this.source.charCodeAt(this.tokenStart)===e}},{key:"skip",value:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=16777215&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=16777215&t):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>24,this.tokenEnd=16777215&e):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=u.EOF,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===u.WhiteSpace||this.tokenType===u.Comment;)this.next()}},{key:"skipUntilBalanced",value:function(e,t){var n,r,o=e;e:for(;o<this.tokenCount&&!((n=this.balance[o])<e);o++)switch(r=o>0?16777215&this.offsetAndType[o-1]:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:o++;break e;default:this.balance[n]===o&&(o=n)}this.skip(o-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,n=this.firstCharOffset;t<this.tokenCount;t++){var r=n,o=this.offsetAndType[t],i=16777215&o;n=i,e(o>>24,r,i,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(n,r,o,i){t[i]={idx:i,type:a.default[n],chunk:e.source.substring(r,o),balance:e.balance[i]}})),t}}])&&s(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.TokenStream=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(776),i=(r=n(782))&&r.__esModule?r:{default:r},a=(0,o.createParser)(i.default);t.default=a},function(e,t,n){"use strict";n(3),n(7),n(1),n(8),n(2),n(4),n(5),n(17),n(30),n(14),n(16),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){var t="",n="<unknown>",u=!1,c=f,h=!1,b=new i.OffsetToLocation,y=Object.assign(new i.TokenStream,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:p(e.atrule),pseudo:p(e.pseudo),node:p(e.node)};for(var n in e.parseContext)switch(l(e.parseContext[n])){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=d(e.parseContext[n])}return s(s({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a.readSequence,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return 123===e?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return 123===e||59===e?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return 33===e||59===e?1:0},consumeUntilSemicolonIncluded:function(e){return 59===e?2:0},createList:function(){return new r.List},createSingleNodeList:function(e){return(new r.List).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var n=this.tokenIndex;try{return e.call(this)}catch(e){if(h)throw e;var r=t.call(this,n);return h=!0,c(e,r),h=!1,r}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==i.WhiteSpace)return t}while(0!==t);return 0},charCodeAt:function(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring:function(e,n){return t.substring(e,n)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,n){return(0,i.cmpChar)(t,e,n)},cmpStr:function(e,n,r){return(0,i.cmpStr)(t,e,n,r)},consume:function(e){var t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName:function(){var e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(i.Function),e},consumeNumber:function(e){var n=t.substring(this.tokenStart,(0,i.consumeNumber)(t,this.tokenStart));return this.eat(e),n},eat:function(e){if(this.tokenType!==e){var t=i.tokenNames[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),n="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),r=this.tokenStart;switch(e){case i.Ident:this.tokenType===i.Function||this.tokenType===i.Url?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case i.Hash:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case i.Percentage:this.tokenType===i.Number&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent:function(e){this.tokenType===i.Ident&&!1!==this.lookupValue(0,e)||this.error('Identifier "'.concat(e,'" is expected')),this.next()},eatDelim:function(e){this.isDelim(e)||this.error('Delim "'.concat(String.fromCharCode(e),'" is expected')),this.next()},getLocation:function(e,t){return u?b.getLocationRange(e,t,n):null},getLocationFromList:function(e){if(u){var t=this.getFirstListNode(e),r=this.getLastListNode(e);return b.getLocationRange(null!==t?t.loc.start.offset-b.startOffset:this.tokenStart,null!==r?r.loc.end.offset-b.startOffset:this.tokenStart,n)}return null},error:function(e,n){var r=void 0!==n&&n<t.length?b.getLocation(n):this.eof?b.getLocation((0,i.findWhiteSpaceStart)(t,t.length-1)):b.getLocation(this.tokenStart);throw new o.SyntaxError(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,r){t=e,r=r||{},y.setSource(t,i.tokenize),b.setSource(t,r.offset,r.line,r.column),n=r.filename||"<unknown>",u=Boolean(r.positions),c="function"==typeof r.onParseError?r.onParseError:f,h=!1,y.parseAtrulePrelude=!("parseAtrulePrelude"in r)||Boolean(r.parseAtrulePrelude),y.parseRulePrelude=!("parseRulePrelude"in r)||Boolean(r.parseRulePrelude),y.parseValue=!("parseValue"in r)||Boolean(r.parseValue),y.parseCustomProperty="parseCustomProperty"in r&&Boolean(r.parseCustomProperty);var o=r,a=o.context,s=void 0===a?"default":a,l=o.onComment;if(s in y.context==0)throw new Error("Unknown context `"+s+"`");"function"==typeof l&&y.forEachToken((function(e,n,r){if(e===i.Comment){var o=y.getLocation(n,r),a=(0,i.cmpStr)(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);l(a,o)}}));var d=y.context[s].call(y,r);return y.eof||y.error(),d}),{SyntaxError:o.SyntaxError,config:y.config})},n(37),n(19),n(92),n(26);var r=n(245),o=n(777),i=n(12),a=n(781);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var f=function(){};function d(e){return function(){return this[e]()}}function p(e){var t=Object.create(null);for(var n in e){var r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=function(e,t,n,i,a){return Object.assign((0,r.createCustomError)("SyntaxError",e),{source:t,offset:n,line:i,column:a,sourceFragment:function(e){return o({source:t,line:i,column:a},isNaN(e)?0:e)},get formattedMessage(){return"Parse error: ".concat(e,"\n")+o({source:t,line:i,column:a},2)}})},n(132),n(47),n(26),n(428),n(19),n(80),n(212),n(92),n(30),n(1),n(37);var r=n(780);function o(e,t){var n=e.source,r=e.line,o=e.column;function i(e,t){return a.slice(e,t).map((function(t,n){return String(e+n+1).padStart(c)+" |"+t})).join("\n")}var a=n.split(/\r\n?|\n|\f/),u=Math.max(1,r-t)-1,s=Math.min(r+t,a.length+1),c=Math.max(4,String(s).length)+1,l=0;(o+=(" ".length-1)*(a[r-1].substr(0,o-1).match(/\t/g)||[]).length)>100&&(l=o-60+3,o=58);for(var f=u;f<=s;f++)f>=0&&f<a.length&&(a[f]=a[f].replace(/\t/g," "),a[f]=(l>0&&a[f].length>l?"…":"")+a[f].substr(l,98)+(a[f].length>l+100-1?"…":""));return[i(u,r),new Array(o+c+2).join("-")+"^",i(r,s)].filter(Boolean).join("\n")}},function(e,t,n){var r=n(10),o=n(65),i=n(39),a=n(352),u=n(60),s=r(a),c=r("".slice),l=Math.ceil,f=function(e){return function(t,n,r){var a,f,d=i(u(t)),p=o(n),h=d.length,b=void 0===r?" ":i(r);return p<=h||""==b?d:((f=s(b,l((a=p-h)/b.length))).length>a&&(f=c(f,0,a)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},function(e,t,n){var r=n(73);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCustomError=function(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})},n(37),n(19),n(92),n(32)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readSequence=function(e){for(var t=this.createList(),n=!1,o={recognizer:e};!this.eof;){switch(this.tokenType){case r.Comment:this.next();continue;case r.WhiteSpace:n=!0,this.next();continue}var i=e.getNode.call(this,o);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o),t};var r=n(12)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n(783)),i=s(n(789)),a=s(n(795)),u=l(n(796));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}var f={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:o,atrule:i.default,pseudo:a.default,node:u};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return i.default}});var r=a(n(784)),o=a(n(785)),i=a(n(786));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={getNode:((r=n(429))&&r.__esModule?r:{default:r}).default};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12),o={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case r.LeftSquareBracket:return this.AttributeSelector();case r.Hash:return this.IdSelector();case r.Colon:return this.lookupType(1)===r.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case r.Ident:return this.TypeSelector();case r.Number:case r.Percentage:return this.Percentage();case r.Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case r.Delim:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(429)),o=a(n(787)),i=a(n(788));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var s={getNode:r.default,onWhiteSpace:function(e,t){u(e)&&(e.value=" "+e.value),u(t.last)&&(t.last.value+=" ")},expression:o.default,var:i.default};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===r.Comma){e.push(this.Operator());var t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(var o=t-this.tokenIndex;o<=0;o++)if(this.lookupType(o)===r.WhiteSpace){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e};var r=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(790)),o=s(n(791)),i=s(n(792)),a=s(n(793)),u=s(n(794));function s(e){return e&&e.__esModule?e:{default:e}}var c={"font-face":r.default,import:o.default,media:i.default,page:a.default,supports:u.default};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:null,block:function(){return this.Block(!0)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12),o={parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case r.String:e.push(this.String());break;case r.Url:case r.Function:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==r.Ident&&this.lookupNonWSType(0)!==r.LeftParenthesis||e.push(this.MediaQueryList()),e},block:null}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12);function o(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function i(){return this.skipSC(),this.tokenType===r.Ident&&this.lookupNonWSType(1)===r.Colon?this.createSingleNodeList(this.Declaration()):a.call(this)}function a(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case r.Comment:case r.WhiteSpace:this.next();continue;case r.Function:e=this.Function(o,this.scope.AtrulePrelude);break;case r.Ident:e=this.Identifier();break;case r.LeftParenthesis:e=this.Parentheses(i,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var u={parse:{prelude:function(){var e=a.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={parse:function(){return this.createSingleNodeList(this.SelectorList())}},o={parse:function(){return this.createSingleNodeList(this.Identifier())}},i={parse:function(){return this.createSingleNodeList(this.Nth())}},a={dir:o,has:r,lang:o,matches:r,is:r,"-moz-any":r,"-webkit-any":r,where:r,not:r,"nth-child":i,"nth-last-child":i,"nth-last-of-type":i,"nth-of-type":i,slotted:{parse:function(){return this.createSingleNodeList(this.Selector())}}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return r.parse}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.parse}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.parse}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.parse}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.parse}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.parse}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.parse}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return p.parse}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return b.parse}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.parse}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return S.parse}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return O.parse}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return k.parse}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return P.parse}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.parse}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.parse}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.parse}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.parse}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.parse}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.parse}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.parse}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.parse}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.parse}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.parse}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.parse}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.parse}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.parse}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return z.parse}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return q.parse}});var r=n(249),o=n(250),i=n(251),a=n(252),u=n(253),s=n(254),c=n(255),l=n(256),f=n(257),d=n(258),p=n(259),h=n(260),b=n(261),y=n(262),v=n(263),m=n(264),g=n(265),w=n(266),_=n(267),S=n(268),O=n(269),x=n(270),E=n(271),k=n(272),P=n(273),j=n(274),T=n(275),A=n(276),C=n(277),L=n(278),R=n(279),I=n(280),N=n(281),M=n(282),D=n(283),U=n(284),F=n(285),B=n(286),z=n(287),q=n(288)},function(e,t,n){var r=n(13),o=n(23),i=n(329),a=n(205),u=n(9),s=r.RegExp,c=s.prototype;o&&u((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(799),i=(r=n(801))&&r.__esModule?r:{default:r},a=(0,o.createWalker)(i.default);t.default=a},function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(36),n(4),n(19),n(8),n(2),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.createWalker=function(e){var t=function(e){var t={};for(var n in e.node)if(i.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=c(n,r)}return t}(e),n={},r={},o=Symbol("break-walk"),d=Symbol("skip-node");for(var p in t)i.call(t,p)&&null!==t[p]&&(n[p]=l(t[p],!1),r[p]=l(t[p],!0));var h=f(n),b=f(r),y=function(e,i){function c(e,t,n){var r=l.call(v,e,t,n);return r===o||r!==d&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,v,c,y))||f.call(v,e,t,n)===o)}var l=a,f=a,p=n,y=function(e,t,n,r){return e||c(t,n,r)},v={break:o,skip:d,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof i)l=i;else if(i&&(l=u(i.enter),f=u(i.leave),i.reverse&&(p=r),i.visit)){if(h.hasOwnProperty(i.visit))p=i.reverse?b[i.visit]:h[i.visit];else if(!t.hasOwnProperty(i.visit))throw new Error("Bad value `"+i.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");l=s(l,i.visit),f=s(f,i.visit)}if(l===a&&f===a)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return y.break=o,y.skip=d,y.find=function(e,t){var n=null;return y(e,(function(e,r,i){if(t.call(this,e,r,i))return n=e,o})),n},y.findLast=function(e,t){var n=null;return y(e,{reverse:!0,enter:function(e,r,i){if(t.call(this,e,r,i))return n=e,o}}),n},y.findAll=function(e,t){var n=[];return y(e,(function(e,r,o){t.call(this,e,r,o)&&n.push(e)})),n},y},n(26),n(6),n(1),n(3),n(7),n(132),n(800),n(17),n(430);var i=Object.prototype.hasOwnProperty,a=function(){};function u(e){return"function"==typeof e?e:a}function s(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function c(e,t){var n=t.structure,o=[];for(var a in n)if(!1!==i.call(n,a)){var u=n[a],s={name:a,type:!1,nullable:!1};Array.isArray(u)||(u=[u]);var c,l=r(u);try{for(l.s();!(c=l.n()).done;){var f=c.value;null===f?s.nullable=!0:"string"==typeof f?s.type="node":Array.isArray(f)&&(s.type="list")}}catch(e){l.e(e)}finally{l.f()}s.type&&o.push(s)}return o.length?{context:t.walkContext,fields:o}:null}function l(e,t){var n=e.fields.slice(),o=e.context,i="string"==typeof o;return t&&n.reverse(),function(e,a,u,s){var c;i&&(c=a[o],a[o]=e);var l,f=r(n);try{for(f.s();!(l=f.n()).done;){var d=l.value,p=e[d.name];if(!d.nullable||p)if("list"===d.type){if(t?p.reduceRight(s,!1):p.reduce(s,!1))return!0}else if(u(p))return!0}}catch(e){f.e(e)}finally{f.f()}i&&(a[o]=c)}}function f(e){var t=e.StyleSheet,n=e.Atrule,r=e.Rule,o=e.Block;return{Atrule:{StyleSheet:t,Atrule:n,Rule:r,Block:o},Rule:{StyleSheet:t,Atrule:n,Rule:r,Block:o},Declaration:{StyleSheet:t,Atrule:n,Rule:r,Block:o,DeclarationList:e.DeclarationList}}}},function(e,t,n){"use strict";var r=n(11),o=n(10),i=n(53),a=n(42),u=n(45),s=n(420),c=n(39),l=n(9),f=n(208),d=n(155),p=n(422),h=n(423),b=n(99),y=n(424),v=[],m=o(v.sort),g=o(v.push),w=l((function(){v.sort(void 0)})),_=l((function(){v.sort(null)})),S=d("sort"),O=!l((function(){if(b)return b<70;if(!(p&&p>3)){if(h)return!0;if(y)return y<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!_||!S||!O},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(O)return void 0===e?m(t):m(t,e);var n,r,o=[],l=u(t);for(r=0;r<l;r++)r in t&&g(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<l;)s(t,r++);return t}})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}(n(802))};t.default=i},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteSpace=t.Value=t.Url=t.UnicodeRange=t.TypeSelector=t.StyleSheet=t.String=t.SelectorList=t.Selector=t.Rule=t.Raw=t.Ratio=t.PseudoElementSelector=t.PseudoClassSelector=t.Percentage=t.Parentheses=t.Operator=t.Number=t.Nth=t.MediaQueryList=t.MediaQuery=t.MediaFeature=t.Identifier=t.IdSelector=t.Hash=t.Function=t.Dimension=t.DeclarationList=t.Declaration=t.Comment=t.Combinator=t.ClassSelector=t.CDO=t.CDC=t.Brackets=t.Block=t.AttributeSelector=t.AtrulePrelude=t.Atrule=t.AnPlusB=void 0;var o=V(n(249));t.AnPlusB=o;var i=V(n(250));t.Atrule=i;var a=V(n(251));t.AtrulePrelude=a;var u=V(n(252));t.AttributeSelector=u;var s=V(n(253));t.Block=s;var c=V(n(254));t.Brackets=c;var l=V(n(255));t.CDC=l;var f=V(n(256));t.CDO=f;var d=V(n(257));t.ClassSelector=d;var p=V(n(258));t.Combinator=p;var h=V(n(259));t.Comment=h;var b=V(n(260));t.Declaration=b;var y=V(n(261));t.DeclarationList=y;var v=V(n(262));t.Dimension=v;var m=V(n(263));t.Function=m;var g=V(n(264));t.Hash=g;var w=V(n(265));t.Identifier=w;var _=V(n(266));t.IdSelector=_;var S=V(n(267));t.MediaFeature=S;var O=V(n(268));t.MediaQuery=O;var x=V(n(269));t.MediaQueryList=x;var E=V(n(270));t.Nth=E;var k=V(n(271));t.Number=k;var P=V(n(272));t.Operator=P;var j=V(n(273));t.Parentheses=j;var T=V(n(274));t.Percentage=T;var A=V(n(275));t.PseudoClassSelector=A;var C=V(n(276));t.PseudoElementSelector=C;var L=V(n(277));t.Ratio=L;var R=V(n(278));t.Raw=R;var I=V(n(279));t.Rule=I;var N=V(n(280));t.Selector=N;var M=V(n(281));t.SelectorList=M;var D=V(n(282));t.String=D;var U=V(n(283));t.StyleSheet=U;var F=V(n(284));t.TypeSelector=F;var B=V(n(285));t.UnicodeRange=B;var z=V(n(286));t.Url=z;var q=V(n(287));t.Value=q;var W=V(n(288));function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(H=function(e){return e?n:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=H(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}t.WhiteSpace=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(804),i=(r=n(812))&&r.__esModule?r:{default:r},a=(0,o.createGenerator)(i.default);t.default=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(15),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerator=function(e){var t=new Map;for(var n in e.node){var r=e.node[n];"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){var r="",c=0,l={node:function(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(f,e)},tokenBefore:a.safe,token:function(e,t){c=this.tokenBefore(c,e,t),this.emit(t,e,!1),e===o.Delim&&92===t.charCodeAt(0)&&this.emit("\n",o.WhiteSpace,!0)},emit:function(e){r+=e},result:function(){return r}};n&&("function"==typeof n.decorator&&(l=n.decorator(l)),n.sourceMap&&(l=(0,i.generateSourceMap)(l)),n.mode in a&&(l.tokenBefore=a[n.mode]));var f={node:function(e){return l.node(e)},children:u,token:function(e,t){return l.token(e,t)},tokenize:s};return l.node(e),l.result()}},n(1),n(16),n(26),n(2),n(108),n(4),n(5);var o=n(12),i=n(805),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(811));function u(e,t){var n=this;if("function"!=typeof t)e.children.forEach(this.node,this);else{var r=null;e.children.forEach((function(e){null!==r&&t.call(n,r),n.node(e),r=e}))}}function s(e){var t=this;(0,o.tokenize)(e,(function(n,r,o){t.token(n,e.slice(r,o))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSourceMap=function(e){var t=new r.SourceMapGenerator,n={line:1,column:0},i={line:0,column:0},a={line:1,column:0},u={generated:a},s=1,c=0,l=!1,f=e.node;e.node=function(e){if(e.loc&&e.loc.start&&o.has(e.type)){var r=e.loc.start.line,d=e.loc.start.column-1;i.line===r&&i.column===d||(i.line=r,i.column=d,n.line=s,n.column=c,l&&(l=!1,n.line===a.line&&n.column===a.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:i,generated:n}))}f.call(this,e),l&&o.has(e.type)&&(a.line=s,a.column=c)};var d=e.emit;e.emit=function(e,t,n){for(var r=0;r<e.length;r++)10===e.charCodeAt(r)?(s++,c=0):c++;d(e,t,n)};var p=e.result;return e.result=function(){return l&&t.addMapping(u),{css:p(),map:t}},e},n(2),n(1),n(89),n(4),n(5);var r=n(806),o=new Set(["Atrule","Selector","Declaration"])},function(e,t,n){var r=n(807),o=n(289),i=n(809).ArraySet,a=n(810).MappingList;function u(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}u.prototype._version=3,u.fromSourceMap=function(e){var t=e.sourceRoot,n=new u({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=o.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 i=r;null!==t&&(i=o.relative(t,r)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},u.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.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=o.relative(a,r));var u=new i,s=new i;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=o.join(n,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var c=t.source;null==c||u.has(c)||u.add(c);var l=t.name;null==l||s.has(l)||s.add(l)}),this),this._sources=u,this._names=s,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,r))}),this)},u.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}))},u.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,u=1,s=0,c=0,l=0,f=0,d="",p=this._mappings.toArray(),h=0,b=p.length;h<b;h++){if(e="",(t=p[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-f),f=i,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),d+=e}return d},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},u.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},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=u},function(e,t,n){var r=n(808);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,u,s=e.length,c=0,l=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),c+=(i&=31)<<l,l+=5}while(o);n.value=(u=(a=c)>>1,1==(1&a)?-u:u),n.rest=t}},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(289),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=i?e:r.toSetString(e),a=i?this.has(e):o.call(this._set,n),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[n]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=r.toSetString(e);return o.call(this._set,t)},a.prototype.indexOf=function(e){if(i){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(o.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){var r=n(289);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,n,o,i,a,u;n=e,o=(t=this._last).generatedLine,i=n.generatedLine,a=t.generatedColumn,u=n.generatedColumn,i>o||i==o&&u>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,n){"use strict";n(3),n(7),n(8),n(26),n(6),n(36),n(19),Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.safe=void 0,n(32),n(2),n(1),n(89),n(4),n(5),n(47);var r=n(12);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=function(e,t){if(e===r.Delim&&(e=t),"string"==typeof e){var n=e.charCodeAt(0);return n>127?32768:n<<8}return e},a=[[r.Ident,r.Ident],[r.Ident,r.Function],[r.Ident,r.Url],[r.Ident,r.BadUrl],[r.Ident,"-"],[r.Ident,r.Number],[r.Ident,r.Percentage],[r.Ident,r.Dimension],[r.Ident,r.CDC],[r.Ident,r.LeftParenthesis],[r.AtKeyword,r.Ident],[r.AtKeyword,r.Function],[r.AtKeyword,r.Url],[r.AtKeyword,r.BadUrl],[r.AtKeyword,"-"],[r.AtKeyword,r.Number],[r.AtKeyword,r.Percentage],[r.AtKeyword,r.Dimension],[r.AtKeyword,r.CDC],[r.Hash,r.Ident],[r.Hash,r.Function],[r.Hash,r.Url],[r.Hash,r.BadUrl],[r.Hash,"-"],[r.Hash,r.Number],[r.Hash,r.Percentage],[r.Hash,r.Dimension],[r.Hash,r.CDC],[r.Dimension,r.Ident],[r.Dimension,r.Function],[r.Dimension,r.Url],[r.Dimension,r.BadUrl],[r.Dimension,"-"],[r.Dimension,r.Number],[r.Dimension,r.Percentage],[r.Dimension,r.Dimension],[r.Dimension,r.CDC],["#",r.Ident],["#",r.Function],["#",r.Url],["#",r.BadUrl],["#","-"],["#",r.Number],["#",r.Percentage],["#",r.Dimension],["#",r.CDC],["-",r.Ident],["-",r.Function],["-",r.Url],["-",r.BadUrl],["-","-"],["-",r.Number],["-",r.Percentage],["-",r.Dimension],["-",r.CDC],[r.Number,r.Ident],[r.Number,r.Function],[r.Number,r.Url],[r.Number,r.BadUrl],[r.Number,r.Number],[r.Number,r.Percentage],[r.Number,r.Dimension],[r.Number,"%"],[r.Number,r.CDC],["@",r.Ident],["@",r.Function],["@",r.Url],["@",r.BadUrl],["@","-"],["@",r.CDC],[".",r.Number],[".",r.Percentage],[".",r.Dimension],["+",r.Number],["+",r.Percentage],["+",r.Dimension],["/","*"]],u=a.concat([[r.Ident,r.Hash],[r.Dimension,r.Hash],[r.Hash,r.Hash],[r.AtKeyword,r.LeftParenthesis],[r.AtKeyword,r.String],[r.AtKeyword,r.Colon],[r.Percentage,r.Percentage],[r.Percentage,r.Dimension],[r.Percentage,r.Function],[r.Percentage,"-"],[r.RightParenthesis,r.Ident],[r.RightParenthesis,r.Function],[r.RightParenthesis,r.Percentage],[r.RightParenthesis,r.Dimension],[r.RightParenthesis,r.Hash],[r.RightParenthesis,"-"]]);function s(e){var t=new Set(e.map((function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,2),n=t[0],r=t[1];return i(n)<<16|i(r)})));return function(e,n,o){var a=i(n,o),u=o.charCodeAt(0);return(45===u&&n!==r.Ident&&n!==r.Function&&n!==r.CDC||43===u?t.has(e<<16|u<<8):t.has(e<<16|a))&&this.emit(" ",r.WhiteSpace,!0),a}}var c=s(a);t.spec=c;var l=s(u);t.safe=l},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}(n(813))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return r.generate}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.generate}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.generate}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.generate}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.generate}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.generate}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.generate}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.generate}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.generate}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return d.generate}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return p.generate}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.generate}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return b.generate}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return y.generate}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return v.generate}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return m.generate}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.generate}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.generate}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return _.generate}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return S.generate}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return O.generate}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.generate}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.generate}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return k.generate}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return P.generate}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.generate}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.generate}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.generate}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.generate}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.generate}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.generate}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.generate}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.generate}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.generate}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.generate}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.generate}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.generate}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.generate}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return z.generate}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return q.generate}});var r=n(249),o=n(250),i=n(251),a=n(252),u=n(253),s=n(254),c=n(255),l=n(256),f=n(257),d=n(258),p=n(259),h=n(260),b=n(261),y=n(262),v=n(263),m=n(264),g=n(265),w=n(266),_=n(267),S=n(268),O=n(269),x=n(270),E=n(271),k=n(272),P=n(273),j=n(274),T=n(275),A=n(276),C=n(277),L=n(278),R=n(279),I=n(280),N=n(281),M=n(282),D=n(283),U=n(284),F=n(285),B=n(286),z=n(287),q=n(288)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(90)),o=i(n(168));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u,s,c,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"get",value:function(t){var n=r.default.createHash(t),i=o.default.get(e.localStorageKey);return i&&i[n]?i[n]:null}},{key:"set",value:function(t,n){var i=r.default.createHash(t),a=o.default.get(e.localStorageKey);a&&(a[i]={data:n},o.default.set(a,e.localStorageKey))}},{key:"clear",value:function(){o.default.clear(e.localStorageKey)}}])&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();c="bber_cache",(s="localStorageKey")in(u=l)?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c;var f=l;t.default=f},function(e,t,n){"use strict";n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(26),n(36),Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0,n(19),n(6),n(2),n(1),n(89),n(4),n(5),n(108),n(47),n(80),n(69);var r=f(n(0)),o=f(n(169)),i=f(n(176)),a=n(389),u=n(106),s=f(n(90)),c=f(n(66)),l=n(57);function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.isValidNode=function(){return!0};var v=new a.ProcessNodeDefinitions(r.default);t.processNodeDefinitions=v,t.processingInstructions=function(e){var t=e.requestedSpineItem;return[{shouldProcessNode:function(e){var t;return"noteref"===(null==e||null===(t=e.attribs)||void 0===t?void 0:t["epub:type"])},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href);return r.default.createElement(u.Footnote,b(b({},o),{},{key:i,href:a}),n)}},{shouldProcessNode:function(e){var t,n,r;return(null===(t=e.attribs)||void 0===t?void 0:t.href)&&(!(null!==(n=e.attribs)&&void 0!==n&&n["epub:type"])||"noteref"!==(null===(r=e.attribs)||void 0===r?void 0:r["epub:type"]))},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=e.attribs.href;return c.default.isRelative(e.attribs.href)&&(a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href)),r.default.createElement(u.Link,b(b({},o),{},{key:i,href:a}),n)}},{shouldProcessNode:function(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&c.default.isRelative(e.attribs.src)},processNode:function(e){var n=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)(),i=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.src);return r.default.createElement(e.name,b(b({},n),{},{key:o,src:i}))}},{shouldProcessNode:function(e){return"audio"===e.name},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o=n.id,a=n.autoPlay,c=(0,l.getControlsPreset)(n),f=o,d=!1;return(0,i.default)(a)||(d=!0,delete n.autoPlay),r.default.createElement(u.Audio,b(b({},n),{},{"data-autoplay":d,controls:c,key:f}),t)}},{shouldProcessNode:function(e){return"video"===e.name},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),a=o.id,f=o.autoPlay,d=(0,l.getControlsPreset)(o),p=a,h=e.attribs.poster?c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.poster):null,y=!1;return(0,i.default)(f)||(y=!0,delete o.autoPlay),r.default.createElement(u.Video,b(b({},o),{},{"data-autoplay":y,controls:d,key:p,poster:h}),n)}},{shouldProcessNode:function(e){return"iframe"===e.name&&e.attribs["data-vimeo"]},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=new Set(["16x9","4x3"]),f=null,p=new Map([["x",16],["y",9]]);if(e.attribs["data-vimeo-poster"]&&(f=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs["data-vimeo-poster"])),e.attribs["data-aspect-ratio"]&&a.has(e.attribs["data-aspect-ratio"])){var h=d(e.attribs["data-aspect-ratio"].split("x").map(Number),2),y=h[0],v=h[1];p.set("x",y),p.set("y",v)}delete o["data-vimeo"],delete o["data-vimeo-poster"],delete o["data-aspect-ratio"];for(var m=e.parent;m;){if("tag"===m.type&&m.attribs["data-marker-reference-figure"]){o.useElementOffsetLeft=!1;break}m=m.parent}return r.default.createElement(u.Vimeo,b(b({},o),{},{key:i,posterImage:f,aspectRatio:p}),n)}},{shouldProcessNode:function(e){return"iframe"===e.name},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)();n.spreadLayout=!1;for(var i=e.parent;i;){if("tag"===i.type&&i.attribs["data-marker-reference-figure"]){n.useElementOffsetLeft=!1,n.spreadLayout=!0;break}i=i.parent}return r.default.createElement(u.Iframe,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"image"===e.name&&e.attribs&&e.attribs["xlink:href"]&&c.default.isRelative(e.attribs["xlink:href"])},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,o.xlinkHref);return r.default.createElement(e.name,b(b({},o),{},{key:i,xlinkHref:a}),n)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference-figure")},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o="spread-figure-".concat(n["data-marker-reference-figure"]);return r.default.createElement(u.SpreadFigure,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-ultimate")},processNode:function(e,t){return r.default.createElement(u.Ultimate,{},t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference")},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o="spread-".concat(n["data-marker-reference"]);return r.default.createElement(u.Spread,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker")},processNode:function(e,t){e.parent.attribs=b(b({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});var n=s.default.convertToReactAttrs(e.attribs),o="marker-".concat(n["data-marker"]);return r.default.createElement(u.Marker,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(){return!0},processNode:v.processDefaultNode}]}},function(e,t,n){"use strict";n(17),n(3),n(14),n(35),n(7),n(8),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(2),n(89),n(4),n(5),n(16),n(91),n(30),n(36),n(26),n(32),n(19),n(92);var r=a(n(176)),o=a(n(353)),i=n(57);function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),d(this,"classListContainsAny",(function(e,t){return t.some((function(t){return e.classList.contains(t)}))})),o.default.getRootDocument()||o.default.setRootDocument(document),o.default.removeStyleSheets(),o.default.removeScripts(),this.settings=c(c({},e.defaults),t),o.default.setRequestURI(this.settings.responseURL),this.fullbleedClassNames=this.settings.fullbleedClassNames,this.blacklistedClassNames=this.settings.blacklistedClassNames,this.markerClassNames=this.settings.markerClassNames,this.markerElement=this.settings.markerElement,this.markerStyles={display:"block",height:"1px",position:"relative",top:0,left:0,width:"100%",lineHeight:0,textindent:0,margin:0,padding:0},this.blackListedNodes={names:new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","A","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME","FIGURE","CITE","BLOCKQUOTE","LI"])}}var t,n;return t=e,(n=[{key:"classListContainsAll",value:function(e,t){return t.some((function(t){return t.every((function(t){return e.classList.contains(t)}))}))}},{key:"classListContainsNone",value:function(e,t){return t.every((function(t){return t.every((function(t){return!e.classList.contains(t)}))}))}},{key:"shouldParse",value:function(e){return 1===e.nodeType&&!1===this.blackListedNodes.names.has(e.nodeName.toUpperCase())&&!1===e.classList.contains(this.markerClassNames)&&this.classListContainsNone(e,this.blacklistedClassNames)}},{key:"isFullbleed",value:function(e){return this.classListContainsAll(e,this.fullbleedClassNames)}},{key:"isMarker",value:function(e){return this.classListContainsAll(e,[[this.markerClassNames]])}},{key:"isMarkerReferenceNode",value:function(e){return this.classListContainsAny(e,["spread__content"])||"FIGURE"===e.nodeName}},{key:"hasChildren",value:function(e){return e&&e.children&&e.children.length}},{key:"getLastChild",value:function(e){for(var t=null,n=e.length-1;n>=0;n--)if(t=e[n],this.shouldParse(t))return this.hasChildren(t)?this.getLastChild(t.children):t;return e[e.length-1].parentNode}},{key:"getSibling",value:function(e){if(null===e)return e;var t=e.previousElementSibling;return t?this.isFullbleed(t)?this.getSibling(t):this.shouldParse(t)?this.hasChildren(t)?this.getLastChild(t.children):t:this.getSibling(t):this.getSibling(e.parentNode)}},{key:"setMarkerStyles",value:function(e){Object.entries(this.markerStyles).forEach((function(t){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),r=n[0],o=n[1];return e.style[r]=o}))}},{key:"createMarker",value:function(e){var t=document.createTextNode(""),n=document.createElement(this.markerElement);return n.setAttribute("class",this.markerClassNames),n.setAttribute("data-marker",e),n.setAttribute("data-unbound",!1),n.setAttribute("data-final",!1),n.appendChild(t),this.setMarkerStyles(n),n}},{key:"createMarkerId",value:function(){return(0,i.rand)()}},{key:"addMarkerReferenceToChild",value:function(e,t){for(var n=0;n<e.children.length;n++)this.isMarkerReferenceNode(e.children[n])&&e.children[n].setAttribute("data-marker-reference-figure",t)}},{key:"insertMarkers",value:function(e,t){for(var n=this,r=Array.from(e.children).filter((function(e){return!n.isMarker(e)})),o=0;o<r.length;o++){var i=r[o],a=this.createMarkerId(),u=void 0,s=this.shouldParse(i),c=this.isFullbleed(i);if(s){if(c)if(u=this.getSibling(i)){var l=this.createMarker(a);u.lastElementChild&&this.isMarker(u.lastElementChild)&&l.setAttribute("data-adjacent",!0),u.appendChild(l),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}else{var f=this.createMarker(a);f.setAttribute("data-unbound",!0),i.parentNode.prepend(f),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}i.children&&i.children.length&&this.insertMarkers(i)}}t&&"function"==typeof t&&t(e)}},{key:"isElementNode",value:function(e){return e.nodeType===window.Node.ELEMENT_NODE}},{key:"removeBottomSpacing",value:function(e){e.style.marginBottom="0",e.style.paddingBottom="0"}},{key:"addLastNode",value:function(e){var t,n,r=new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME"]),o=document.createTextNode(""),i=document.createElement("span");i.setAttribute("class","ultimate"),i.setAttribute("data-ultimate","true"),i.appendChild(o);for(var a=e.body.childNodes.length-1;a>=0;a--)if(t=e.body.childNodes[a],!r.has(t.nodeName)&&this.isElementNode(t)){for(this.removeBottomSpacing(t),n=t.lastElementChild;n;)this.isMarkerReferenceNode(n)||this.removeBottomSpacing(n),n=n.lastElementChild;return void t.appendChild(i)}console.warn("Could not append ultimate node")}},{key:"addIndicesToMarkers",value:function(e){for(var t=e.querySelectorAll("[data-marker]"),n=t.length,r=0;r<n;r++)t[r].setAttribute("data-index",r),t[r].setAttribute("data-final",r===n-1)}},{key:"removeBreakAfterClasses",value:function(e){for(var t=this,n=Array.from(e.children).filter((function(e){return!t.isMarker(e)&&1===e.nodeType})),r=0;r<n.length;r++){var o=n[r],i=o.nextElementSibling;o.classList.contains("break-after")&&i&&this.isFullbleed(i)&&o.classList.remove("break-after"),o.children&&o.children.length&&this.removeBreakAfterClasses(o)}}},{key:"validateDocument",value:function(e){var t,n=e.querySelectorAll("[data-marker]"),o=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(o,0),a={},u=!0,s=!0;t=n.length===o.length,console.assert(t,"Incorrect number of markers");for(var c=0;c<i.length;c++)a[i[c].dataset.markerReference]=!0;for(var l=0;l<n.length;l++){var f=n[l].dataset.marker,d=!(0,r.default)(f);console.assert(d,"Marker ".concat(l," does not have a marker attribute"));var p=a[f];console.assert(p,"Reference for marker ".concat(l," (").concat(f,") could not be found")),d||(u=!1),p||(s=!1)}return t&&u&&s}},{key:"parseXML",value:function(e,t){var n,r=this,i=(new window.DOMParser).parseFromString(e,"text/html"),a=null;o.default.setContextDocument(i),o.default.createStyleSheets(),o.default.createScriptElements(),o.default.parseXML(),this.insertMarkers(i,(function(t){r.validateDocument(t)||(a=new Error("Invalid markup")),r.addLastNode(i),r.addIndicesToMarkers(i),r.removeBreakAfterClasses(i),n=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(function(e,t){return"<body".concat(t,">").concat(i.body.innerHTML,"</body>")}))}));var u={xml:n,doc:i};return t&&"function"==typeof t?t(a,u):u}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(p,"defaults",{fullbleedClassNames:[["figure__inline","figure__large","figure__fullbleed"],["spread"]],blacklistedClassNames:[["gallery__item","figure__items","figure__processed"],["pullquote"],["initial"]],markerClassNames:"marker",markerElement:"span",responseURL:window.location.host});var h=p;t.default=h},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(109),n(3),n(7),n(8),n(110),n(111),n(112),n(113),n(16),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(818),n(2),n(1),n(4),n(5),n(164),n(88),n(19),n(819),n(87),n(26),n(69);var o=f(n(0)),i=n(38),a=f(n(58)),u=f(n(185)),s=f(n(90)),c=f(n(66)),l=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function h(){}function b(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==t&&n.call(m,i)&&(y=m);var g=b.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,s(g,"constructor",b),s(b,"constructor",h),h.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function p(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,u,"next",e)}function u(e){p(i,r,o,a,u,"throw",e)}a(void 0)}))}}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=["SCRIPT","STYLE"],S=function(e){return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,_.includes(t));var t},O=function(e){if(!e.href||c.default.isRelative(e.href))return e.parentNode.removeChild(e);var t=new window.URL(e.href).origin;return new RegExp(window.location.origin).test(t)?e.parentNode.removeChild(e):e.setAttribute("target","_blank")},x=function e(t,n){for(var r=t.children.length-1;r>=0;r--){var o=t.children[r];S(o)&&o.parentNode.removeChild(o),"A"===o.nodeName&&O(o),o.children.length&&e(o)}if(void 0!==n){var i=document.createElement("span"),a=document.createTextNode(n);i.classList.add("footnote__content--count"),i.appendChild(a),t.prepend(i)}return t.innerHTML},E=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),w(m(t=r.call(this,e)),"footnoteContainer",o.default.createRef()),w(m(t),"footnoteElement",o.default.createRef()),w(m(t),"getFootnote",h(d().mark((function e(){var n,r,o,i,a,s,c,l,f,p,h,b,y;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.state.content)){e.next=3;break}return e.abrupt("return");case 3:return r=new window.URL(t.props.href),o=r.hash,i=o.slice(1),e.next=7,u.default.get(t.props.href);case 7:if(a=e.sent,s=a.data,c=new window.DOMParser,l=c.parseFromString(s,"text/html"),f=l.getElementById(i)){e.next=15;break}return console.error("Could not retrieve footnote %s; Document URL %s",o,t.props.href),e.abrupt("return");case 15:for(p=f.parentNode;p&&"UL"!==p.nodeName&&"OL"!==p.nodeName;)p=p.parentNode;p&&(b=Number(p.getAttribute("start"))||1,y=Array.prototype.indexOf.call(p.children,f),h=b+y),n=x(f.firstChild,h),t.setState({content:n});case 20:case"end":return e.stop()}}),e)})))),w(m(t),"handleOnMouseOver",(function(e){e&&e.preventDefault(),l.default.isMobile()||t.toggleFootnote()})),w(m(t),"handleOnMouseMove",(function(e){l.default.isMobile()||"SPAN"===e.target.nodeName&&e.target.classList.contains("footnote__number")&&e.target.dataset.footnote!==t.state.footnote&&t.hideFootnote()})),w(m(t),"handleDocumentClick",(function(e){"A"!==e.target.nodeName&&t.hideFootnote()})),w(m(t),"toggleFootnote",(function(e){return e&&(e.preventDefault(),e.stopPropagation()),t.state.visible?t.hideFootnote():t.showFootnote()})),w(m(t),"showFootnote",function(){var e=h(d().mark((function e(n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n&&n.preventDefault(),e.next=3,t.getFootnote();case 3:t.setState({visible:!0}),document.addEventListener("click",t.handleDocumentClick),document.addEventListener("mousemove",t.handleOnMouseMove);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),w(m(t),"hideFootnote",(function(e){e&&e.preventDefault(),t.setState({visible:!1}),document.removeEventListener("click",t.handleDocumentClick),document.removeEventListener("mousemove",t.handleOnMouseMove)})),t.state={content:"",visible:!1,footnote:s.default.createId()},t}return t=i,(n=[{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleDocumentClick)}},{key:"getFootnoteOffset",value:function(){var e,t;if(null===(e=this.footnoteContainer)||void 0===e||!e.current||null===(t=this.footnoteElement)||void 0===t||!t.current)return console.warn("Footnote elements are not bound"),!1;var n=this.footnoteContainer.current.getBoundingClientRect().top,r=this.props.viewerSettings,o=r.paddingTop,i=r.paddingBottom;return n+this.footnoteElement.current.offsetHeight>window.innerHeight-(o+i)}},{key:"footnoteStyles",value:function(){var e,t=this.props.viewerSettings,n=t.columnWidth,r=t.columnGap,o=t.paddingLeft,i=l.default.isMobile(),a=this.getFootnoteOffset()?"bottom":"top",u="bottom"===a?"1rem":"1.5rem",s=w({width:i?window.innerWidth-2*o:"".concat(n+r,"px"),left:0},a,u);return null!==(e=this.footnoteContainer)&&void 0!==e&&e.current?(s.left=this.footnoteContainer.current.getBoundingClientRect().x,s.left=i?s.left=-1*s.left+o:s.left>=window.innerWidth/2?s.left=-1*s.left+o+n+r:s.left=-1*s.left+o,s.cursor="auto",s):s}},{key:"render",value:function(){var e=this.state,t=e.content,n=e.visible,r=!t||!n;return o.default.createElement("span",{id:this.props.id,className:"footnote-ref"},o.default.createElement("span",{ref:this.footnoteContainer,className:"footnote__container",style:{display:"inline",position:"relative"}},o.default.createElement("span",{className:"footnote__number","data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver},this.props.children),o.default.createElement("span",{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,a.default)("footnote__body",{"footnote__body--hidden":r})},o.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:t}}))))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),k=(0,i.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(){return{}}))(E);t.default=k},function(e,t,n){"use strict";var r=n(11),o=n(149).includes,i=n(9),a=n(156);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){var r=n(23),o=n(13),i=n(10),a=n(120),u=n(159),s=n(63),c=n(74).f,l=n(61),f=n(331),d=n(39),p=n(318),h=n(206),b=n(820),y=n(40),v=n(9),m=n(25),g=n(44).enforce,w=n(163),_=n(18),S=n(319),O=n(320),x=_("match"),E=o.RegExp,k=E.prototype,P=o.SyntaxError,j=i(k.exec),T=i("".charAt),A=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,N=/a/g,M=new E(I)!==I,D=h.MISSED_STICKY,U=h.UNSUPPORTED_Y;if(a("RegExp",r&&(!M||D||S||O||v((function(){return N[x]=!1,E(I)!=I||E(N)==N||"/a/i"!=E(I,"i")}))))){for(var F=function(e,t){var n,r,o,i,a,c,h=l(k,this),b=f(e),y=void 0===t,v=[],w=e;if(!h&&b&&y&&e.constructor===F)return e;if((b||l(k,e))&&(e=e.source,y&&(t=p(w))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),w=e,S&&"dotAll"in I&&(r=!!t&&C(t,"s")>-1)&&(t=A(t,/s/g,"")),n=t,D&&"sticky"in I&&(o=!!t&&C(t,"y")>-1)&&U&&(t=A(t,/y/g,"")),O&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";r<=n;r++){if("\\"===(t=T(e,r)))t+=T(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:j(R,L(e,r+1))&&(r+=2,s=!0),o+=t,c++;continue;case">"===t&&s:if(""===l||m(a,l))throw new P("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],s=!1,l="";continue}s?l+=t:o+=t}return[o,i]}(e))[0],v=i[1]),a=u(E(e,t),h?this:k,F),(r||o||v.length)&&(c=g(a),r&&(c.dotAll=!0,c.raw=F(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=T(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+T(e,++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==w)try{s(a,"source",""===w?"(?:)":w)}catch(e){}return a},B=c(E),z=0;B.length>z;)b(F,E,B[z++]);k.constructor=F,F.prototype=k,y(o,"RegExp",F,{constructor:!0})}w("RegExp")},function(e,t,n){var r=n(34).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(47),n(6);var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("div",null,e.books.map((function(t,n){return o.default.createElement("button",{key:n,onClick:function(){return e.handleClick(t)},style:{width:200,height:300,display:"inline-block",backgroundImage:"url(".concat(t.cover,")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}},t.name)})))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(33),n(109),n(17),n(3),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),n(110),n(111),n(112),n(113),n(6),n(37),n(15),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(430),n(1),n(132),n(26),n(19),n(80),n(30),n(28),n(29);var o=b(n(0)),i=n(59),a=n(38),u=p(n(182)),s=n(106),c=p(n(185)),l=b(n(373)),f=b(n(204)),d=["style","className"];function p(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(k([])));m&&m!==t&&n.call(m,i)&&(b=m);var g=h.prototype=d.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=h,s(g,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(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,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(l,e);var t,n,r,i,a=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}(l);function l(){return S(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"UNSAFE_componentWillMount",value:(r=v().mark((function e(){var t,n,r,o,i,a,s,l,f,d,p,h,b,y,m;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.readerSettings,n=t.manifestURL,r=t.disableBodyStyles,o=this.props.readerSettings,i=o.bookURL,a=o.projectURL,s=[],n&&i&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==r&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),!n){e.next=20;break}return e.prev=6,e.next=9,c.default.get(n);case 9:l=e.sent,f=l.data,d=f.resources.find((function(e){return"application/oebps-package+xml"===e.type})),p=d.href,i=p.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:i}),a||(a=n.slice(0,n.lastIndexOf("/"))),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),console.error("Error loading Webpub manifest",e.t0);case 20:return i&&!a&&(a=i.split("/").slice(0,-2).join("/")),e.prev=21,e.next=24,c.default.getBooks(a);case 24:h=e.sent,s=h.data,e.next=31;break;case 28:e.prev=28,e.t1=e.catch(21),console.warn("Could not load books from API",e.t1);case 31:console.log("---- books",s),console.log("---- bookURL",i),console.log("---- projectURL",a),b=i.split("/").filter(Boolean).pop(),y=(0,u.default)(s,{id:b}),m={},y&&(m.layout=y.layout,m.downloads=y.downloads,m.uiOptions=y.ui_options),m.layout=this.props.readerSettings.layout||m.layout||"columns",this.props.readerSettingsActions.updateSettings(g({books:s,bookURL:i,projectURL:a},m)),this.props.readerLocationActions.setInitialSearchParams();case 41:case"end":return e.stop()}}),e,this,[[6,17],[21,28]])})),i=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){_(i,n,o,a,u,"next",e)}function u(e){_(i,n,o,a,u,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this.props.readerLocation.searchParams,t=this.props.readerSettings.bookURL;if(!e||!t)return null;var n=this.props.readerSettings,r=n.style,i=n.className,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,d);return o.default.createElement(s.Reader,y({style:r,className:i},a))}}])&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.Component),j=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,readerLocation:e.readerLocation}}),(function(e){return{readerSettingsActions:(0,i.bindActionCreators)(l,e),readerLocationActions:(0,i.bindActionCreators)(f,e)}}))(P);t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n(38).connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((function(e){return r.default.createElement("div",{className:(0,o.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},r.default.createElement("div",{className:"bber-spinner__detail"}))}));t.default=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(825),n(47);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(41))&&o.__esModule?o:{default:o},u=n(179);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){return i.default.createElement("span",{style:{display:"table",float:"left",paddingLeft:15}},e.children)}function h(e){return i.default.createElement("span",{style:{display:"table-row"}},e.children)}function b(e){return void 0===e.cond?i.default.createElement("span",{style:{display:"table-cell"}},e.children):i.default.createElement("span",{style:{display:"table-cell",border:"1px solid",height:20,width:20,backgroundColor:e.cond?"red":""}})}function y(){var e=a.default.getColumnCount(),t=a.default.getColumnWidth(),n=a.default.getGutterWidth(),r=t+n,o=new Array(e).fill();return i.default.createElement("div",{className:"bber-grid__debug"},o.map((function(e,n){return i.default.createElement("span",{key:n,style:{left:r*n,width:t},className:"bber-grid__debug__line"},n+1)})))}var v=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(o,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}(o);function o(){return s(this,o),r.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){return u.debug?i.default.createElement(i.default.Fragment,null,u.showBreakpoints&&i.default.createElement("div",{style:{position:"fixed",top:45,right:10}},i.default.createElement(p,null,i.default.createElement(h,null,i.default.createElement(b,null," "),i.default.createElement(b,null,"Breakpoint X:"),i.default.createElement(b,null,a.default.horizontalSmall()&&"SMALL",a.default.horizontalMedium()&&"MEDIUM",a.default.horizontalLarge()&&"LARGE")),i.default.createElement(h,null,i.default.createElement(b,null," "),i.default.createElement(b,null,"Breakpoint Y:"),i.default.createElement(b,null,a.default.verticalSmall()&&"SMALL",a.default.verticalMedium()&&"MEDIUM",a.default.verticalLarge()&&"LARGE"))),i.default.createElement(p,null,i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalSmall()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalSmall()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalSmall()})),i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalMedium()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalMedium()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalMedium()})),i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalLarge()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalLarge()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalLarge()})))),u.showGrid&&i.default.createElement(y,null)):null}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.Component);t.default=v},function(e,t,n){var r=n(11),o=n(247),i=n(156);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(350)),i=["children"];function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default.Consumer,null,(function(t){var n=t.left,o=e.children,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return r.default.createElement("figure",u({style:{left:n}},a),o)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var r=a(n(0)),o=a(n(41)),i=n(27);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.spreadPosition,n=e.markerRefId,a=e.paddingLeft,u=2*a,s=-2*a,c=e.unbound?t-1:t,l=e.layout===i.layouts.SCROLL||o.default.isMobile()?null:"\n /* Previous pages */\n .spread-index__".concat(c-2," #spread__").concat(n," > figure,\n .spread-index__").concat(c-2," #spread__").concat(n," > .spread__content,\n .spread-index__").concat(c-1," #spread__").concat(n," > figure,\n .spread-index__").concat(c-1," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n transform: translateX(").concat(u,"px) translate3d(0, 0, 0);\n /*transform-style: preserve-3d;*/\n }\n\n /* Current page */\n .spread-index__").concat(c," #spread__").concat(n," > figure,\n .spread-index__").concat(c," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(0,"px) translate3d(0, 0, 0);\n }\n\n /* Next pages */\n .spread-index__").concat(c+1," #spread__").concat(n," > figure,\n .spread-index__").concat(c+1," #spread__").concat(n," > .spread__content,\n .spread-index__").concat(c+2," #spread__").concat(n," > figure,\n .spread-index__").concat(c+2," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(s,"px) translate3d(0, 0, 0);\n }\n ");return r.default.createElement("style",{id:"style__".concat(n),"data-position":c},l)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(1);var o,i=(o=n(0))&&o.__esModule?o:{default:o},a=n(38),u=n(59),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(180));function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(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=window,v=y.requestAnimationFrame,m=y.cancelAnimationFrame,g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(o,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}(o);function o(){var e;c(this,o);for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return b(p(e=r.call.apply(r,[this].concat(n))),"node",i.default.createRef()),b(p(e),"rAF",null),b(p(e),"maxChecks",5),b(p(e),"state",{prevLefts:[]}),b(p(e),"cancel",(function(){m(e.rAF)})),b(p(e),"poll",(function(){var t;if(e.rAF=v(e.poll),null!==(t=e.node)&&void 0!==t&&t.current){var n=e.state.prevLefts,r=e.node.current.offsetLeft;if(n.length<e.maxChecks)return n=n.some((function(e){return e!==r}))?[r]:n.concat(r),void e.setState({prevLefts:n});n=[],e.setState({prevLefts:n},(function(){e.props.viewActions.load(),e.props.viewActions.updateUltimateNodePosition({ultimateOffsetLeft:r}),e.cancel()}))}})),e}return t=o,(n=[{key:"componentDidMount",value:function(){this.poll()}},{key:"componentWillUnmount",value:function(){this.cancel()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){!0===this.props.view.loaded&&!1===e.view.loaded&&this.poll()}},{key:"render",value:function(){return i.default.createElement("span",{ref:this.node,className:"bber-ultimate"},this.props.children)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.default.Component),w=(0,a.connect)((function(e){return{view:e.view}}),(function(e){return{viewActions:(0,u.bindActionCreators)(s,e)}}))(g);t.default=w},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(3),n(7),n(8),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(16),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(2),n(108),n(1),n(4),n(5);var o=b(n(0)),i=b(n(830)),a=b(n(838)),u=b(n(839)),s=b(n(181)),c=b(n(434)),l=b(n(95)),f=b(n(41)),d=n(840),p=n(57),h=["autoplay"];function b(e){return e&&e.__esModule?e:{default:e}}function y(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,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 w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=(0,p.isBrowser)("chrome","eq",81),k=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(s,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),x(S(t=r.call(this,e)),"handleUpdatePlaying",(function(){return t.setState((function(e){return{playing:!e.playing}}))})),x(S(t),"handlePause",(function(){return t.setState({playing:!1})})),x(S(t),"handleEnded",(function(){return t.setState({playing:!1})})),x(S(t),"handleUpdatePosition",(function(){})),x(S(t),"handleUpdateVolume",(function(){})),t.state={url:"",loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([["x",16],["y",9]])},t}return t=s,(n=[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.src,n=e.posterImage,r=e.aspectRatio,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.getURLAndQueryParamters)(t),2),i=o[0],a=o[1],u=(0,d.transformSearchParamsToProps)((0,d.getPlayerPropsFromQueryString)(a),s.blacklistedProps),c=u.autoplay,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(u,h),f=u.controls,b=u.muted,y=u.loop;this.setState((function(e){return{url:i,loop:(0,p.unlessDefined)(y,e.loop),muted:(0,p.unlessDefined)(b,e.muted),controls:(0,p.unlessDefined)(f,e.controls),autoplay:(0,p.unlessDefined)(c,e.autoplay),posterImage:n,aspectRatio:r,playerOptions:v({},l)}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var n=(0,d.getPlayingStateOnUpdate)(this.state,this.props,e,t);n&&this.setState(n)}},{key:"render",value:function(){var e,t=this.state,n=t.url,r=t.loop,s=t.muted,c=t.controls,l=t.playing,d=t.posterImage,p=t.playerOptions,h=t.aspectRatio,b=this.props,y=b.iframePlaceholderTop,v=b.iframePlaceholderWidth,m=b.iframePlaceholderHeight,g={};if(E){var w=f.default.isMobile(),_=w?"static":"absolute",S=h.get("x"),O=h.get("y");if(w||(g={top:y,width:v,height:m,position:_}),!w&&v>window.innerWidth){var x=window.innerWidth>=window.innerHeight;g.top="50%",g.left="50%",g.transform="translateX(-50%) translateY(-50%)",x?(g.width="100vw",g.height="100vw",g.minWidth="".concat(S/O*100,"vh")):(g.width="".concat(O/S*100,"vw"),g.height="100vw",g.minHeight="100%")}e=w?0:"".concat(O/S*100,"%")}return o.default.createElement(o.default.Fragment,null,E&&o.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),E&&o.default.createElement("div",{key:"placholder-".concat(n),style:{paddingTop:e},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:g,key:n,ref:this.props.elemRef},o.default.createElement(a.default,{src:d,playing:l,controls:c,handleUpdatePlaying:this.handleUpdatePlaying}),o.default.createElement(i.default,{url:n,width:"100%",height:"100%",loop:r,muted:s,playing:l,controls:c,playsinline:!0,config:{vimeo:{playerOptions:p}},onPause:this.handlePause,onEnded:this.handleEnded}),o.default.createElement(u.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}])&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.default.Component);x(k,"contextType",l.default),x(k,"blacklistedProps",["autopause"]);var P=(0,s.default)((0,c.default)(k,{enabled:E}),{useParentDimensions:!0});t.default=P},function(e,t,n){var r=n(831).createReactPlayer,o=n(836).default;e.exports=r([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=k(n(0)),o=l(n(431)),i=l(n(832)),a=l(n(432)),u=n(433),s=n(192),c=l(n(834));function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="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 d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return(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}).apply(this,arguments)}function b(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(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=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(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(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var P=(0,r.lazy)((function(){return Promise.resolve().then((function(){return k(n(835))}))})),j="undefined"!=typeof window&&window.document,T=void 0!==e&&e.window&&e.window.document,A=Object.keys(u.propTypes),C=j||T?r.Suspense:function(){return null},L=[];t.createReactPlayer=function(e,t){var n,l;return l=n=function(n){!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&&g(e,t)}(y,n);var l,f,d=w(y);function y(){var n;v(this,y);for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return x(S(n=d.call.apply(d,[this].concat(l))),"state",{showPreview:!!n.props.light}),x(S(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),x(S(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),x(S(n),"showPreview",(function(){n.setState({showPreview:!0})})),x(S(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),x(S(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),x(S(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),x(S(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),x(S(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),x(S(n),"handleReady",(function(){n.props.onReady(S(n))})),x(S(n),"getActivePlayer",(0,i.default)((function(n){for(var r=0,o=[].concat(L,b(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),x(S(n),"getConfig",(0,i.default)((function(e,t){var r=n.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},r,r[t]||{}])}))),x(S(n),"getAttributes",(0,i.default)((function(e){return(0,s.omit)(n.props,A)}))),x(S(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var o=n.getConfig(e,t.key);return r.default.createElement(c.default,h({},n.props,{key:t.key,ref:n.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return l=y,(f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(P,{url:e,light:n,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,s=this.state.showPreview,c=this.getAttributes(t);return r.default.createElement(u,h({ref:this.references.wrapper,style:p(p({},n),{},{width:o,height:i})},c),r.default.createElement(C,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&m(l.prototype,f),y}(r.Component),x(n,"displayName","ReactPlayer"),x(n,"propTypes",u.propTypes),x(n,"defaultProps",u.defaultProps),x(n,"addCustomPlayer",(function(e){L.push(e)})),x(n,"removeCustomPlayers",(function(){L.length=0})),x(n,"canPlay",(function(t){for(var n=0,r=[].concat(L,b(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1})),x(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(L,b(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),l}}).call(this,n(52))},function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((o=e[n])===(i=t[n])||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?n:r)(a,o),a.onload||n(a,o),i.appendChild(a)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),a=(o=n(432))&&o.__esModule?o:{default:o},u=n(433),s=n(192);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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(o,e);var t,n,r=function(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=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(o);function o(){var e;l(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return y(h(e=r.call.apply(r,[this].concat(n))),"mounted",!1),y(h(e),"isReady",!1),y(h(e),"isPlaying",!1),y(h(e),"isLoading",!0),y(h(e),"loadOnReady",null),y(h(e),"startOnPlay",!0),y(h(e),"seekOnPlay",null),y(h(e),"onDurationCalled",!1),y(h(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())})),y(h(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),y(h(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),y(h(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),y(h(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),y(h(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),y(h(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),y(h(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),y(h(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),y(h(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=o,(n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,u=n.muted,c=n.playbackRate,l=n.pip,f=n.loop,d=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad&&!p&&!(0,s.isMediaStream)(r))return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&l&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!l&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==u&&(u?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){n.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&f(t.prototype,n),o}(i.Component);t.default=v,y(v,"displayName","Player"),y(v,"propTypes",u.propTypes),y(v,"defaultProps",u.defaultProps)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={},b=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&&c(e,t)}(i,e);var t,n,r=function(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=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}(i);function i(){var e;u(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return p(f(e=r.call.apply(r,[this].concat(n))),"mounted",!1),p(f(e),"state",{image:null}),p(f(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;e.url===n&&e.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,o=e.oEmbedUrl;if("string"!=typeof r){if(!h[n])return this.setState({image:null}),window.fetch(o.replace("{url}",n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480");t.setState({image:r}),h[n]=r}}));this.setState({image:h[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.playIcon,r=e.previewTabIndex,i=this.state.image,u={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:a({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},u),shadow:a({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},u),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},c=o.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:t,tabIndex:r,onKeyPress:this.handleKeyPress},n||c)}}])&&s(t.prototype,n),i}(o.Component);t.default=b},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),i=n(192),a=n(837);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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 b=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)}(a,e);var t,n,r=function(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=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}(a);function a(){var e;s(this,a);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return h(d(e=r.call.apply(r,[this].concat(n))),"callPlayer",i.callPlayer),h(d(e),"duration",null),h(d(e),"currentTime",null),h(d(e),"secondsLoaded",null),h(d(e),"mute",(function(){e.setVolume(0)})),h(d(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),h(d(e),"ref",(function(t){e.container=t})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){if(t.container){var r=t.props.config,o=r.playerOptions,i=r.title;t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},o)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",i&&(e.title=i)})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd)}}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}])&&c(t.prototype,n),a}(o.Component);t.default=b,h(b,"displayName","Vimeo"),h(b,"canPlay",a.canPlay.vimeo),h(b,"forceLoad",!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(192);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var u=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=u;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=l;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var p=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=p;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var b=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=b;var y=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=y;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=v;var m=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=m;var g=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=g;var w=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=w;var _=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=_;var S=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=S;var O=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=O;var x={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return u.test(e)&&!g.test(e)},vimeo:function(e){return s.test(e)&&!w.test(e)&&!_.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return p.test(e)||h.test(e)},dailymotion:function(e){return b.test(e)},mixcloud:function(e){return y.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return m.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("string"==typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||g.test(t)||w.test(t)||_.test(t)||S.test(t)||O.test(t)}};t.canPlay=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.src,n=e.playing,i=e.controls,a=e.handleUpdatePlaying;return t?r.default.createElement("img",{className:(0,o.default)("bber-poster bber-poster--vimeo",{"bber-visible":!n,"bber-controls":i}),onClick:a,src:t,alt:""}):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return null}},function(e,t,n){"use strict";n(3),n(7),n(8),n(36),n(26),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0,n(19),n(80),n(2),n(1),n(89),n(4),n(5),n(32),n(91);var r=u(n(841)),o=u(n(66)),i=u(n(41)),a=n(27);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.getPlayerPropsFromQueryString=function(e){return o.default.parseQueryString(e)},t.getURLAndQueryParamters=function(e){return e.split("?")},t.transformSearchParamsToProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e;t.length&&(n=(0,r.default)(e,t));var o=new Set(["true","1"]),i=new Set(["false","0"]),a=new Set([].concat(c(o),c(i))),u=Object.entries(n).reduce((function(e,t){var n=s(t,2),r=n[0],i=n[1];return e[r]=a.has(i)?o.has(i):i,e}),{});return u.playsinline=!0,u},t.getPlayingStateOnUpdate=function(e,t,n,r){if(!e.autoplay)return!1;if(!t.view.loaded)return!1;if(n.view.pendingDeferredCallbacks)return!1;var o=e.currentSpreadIndex,u=n.spreadIndex,s=r.spreadIndex;return o!==s&&(o=s,{playing:u===s&&!i.default.isMobile()&&t.readerSettings.layout!==a.layouts.SCROLL,currentSpreadIndex:o})}},function(e,t,n){var r=n(334),o=n(842),i=n(864),a=n(170),u=n(143),s=n(867),c=n(868),l=n(439),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),u(e,l(e),n),c&&(n=o(n,7,s));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},function(e,t,n){var r=n(221),o=n(843),i=n(435),a=n(844),u=n(845),s=n(848),c=n(849),l=n(850),f=n(851),d=n(358),p=n(439),h=n(183),b=n(852),y=n(853),v=n(858),m=n(56),g=n(224),w=n(860),_=n(81),S=n(862),O=n(136),x=n(290),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,k,P,j,T){var A,C=1&n,L=2&n,R=4&n;if(k&&(A=j?k(t,P,j,T):k(t)),void 0!==A)return A;if(!_(t))return t;var I=m(t);if(I){if(A=b(t),!C)return c(t,A)}else{var N=h(t),M="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(t))return s(t,C);if("[object Object]"==N||"[object Arguments]"==N||M&&!j){if(A=L||M?{}:v(t),!C)return L?f(t,u(A,t)):l(t,a(A,t))}else{if(!E[N])return j?t:{};A=y(t,N,C)}}T||(T=new r);var D=T.get(t);if(D)return D;T.set(t,A),S(t)?t.forEach((function(r){A.add(e(r,n,k,r,t,T))})):w(t)&&t.forEach((function(r,o){A.set(o,e(r,n,k,o,t,T))}));var U=I?void 0:(R?L?p:d:L?x:O)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(A,o,e(r,n,k,o,t,T))})),A}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(143),o=n(136);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(143),o=n(290);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(81),o=n(228),i=n(847),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&n.push(u);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(55),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(225)(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,n){var r=n(143),o=n(223);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(143),o=n(438);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(291),o=n(854),i=n(855),a=n(856),u=n(857);e.exports=function(e,t,n){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return u(e,n);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Set]":return new s;case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(291);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(104),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(291);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(859),o=n(209),i=n(228);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(81),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(861),o=n(226),i=n(227),a=i&&i.isMap,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(183),o=n(79);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(863),o=n(226),i=n(227),a=i&&i.isSet,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(183),o=n(79);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(170),o=n(865),i=n(866),a=n(134);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(230),o=n(335);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(130);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(869),o=n(872),i=n(874);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(870);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t,n){var r=n(222),o=n(871);e.exports=function e(t,n,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},function(e,t,n){var r=n(104),o=n(216),i=n(56),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(873),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),s=Array(u);++a<u;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},function(e,t){e.exports=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)}},function(e,t,n){var r=n(875),o=n(877)(r);e.exports=o},function(e,t,n){var r=n(876),o=n(437),i=n(365),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(37);var r=a(n(0)),o=a(n(440)),i=a(n(890));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default,u({mediaType:"video",MediaComponent:i.default},e))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=s(n(0)),i=s(n(58)),a=s(n(880)),u=n(27);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(s,e);var t,n,r=p(s);function s(){var e;l(this,s);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return v(b(e=r.call.apply(r,[this].concat(n))),"playbackSlow",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.SLOW)})),v(b(e),"playbackNormal",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.NORMAL)})),v(b(e),"playbackFast",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.FAST)})),e}return t=s,(n=[{key:"render",value:function(){var e=this.props,t=e.mediaType,n=e.config;return n?o.default.createElement("div",{className:(0,i.default)("bber-media__controls","bber-media__controls--".concat(t),"bber-media__controls--".concat(n))},o.default.createElement(a.default,c({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.default.Component);t.default=m},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(881)),i=u(n(887)),a=["mediaType"];function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.mediaType,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a);return"audio"===t?r.default.createElement(o.default,s({playbackSlow:n.playbackSlow,playbackNormal:n.playbackNormal,playbackFast:n.playbackFast},n)):r.default.createElement(i.default,s({playbackSlow:n.playbackSlow,playbackNormal:n.playbackNormal,playbackFast:n.playbackFast},n))}},function(e,t,n){"use strict";n(17),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(0)),o=s(n(882)),i=s(n(883)),a=s(n(884)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.config,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return"simple"===t?r.default.createElement(o.default,n):"normal"===t?r.default.createElement(i.default,n):r.default.createElement(a.default,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(193)),i=u(n(194)),a=u(n(144));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(o.default,{time:e.timeElapsed}),r.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(o.default,{time:e.timeRemaining}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(0)),o=n(441),i=c(n(292)),a=c(n(194)),u=c(n(193)),s=c(n(144));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(o.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(u.default,{time:e.timeElapsed}),r.default.createElement(s.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(u.default,{time:e.timeRemaining}),r.default.createElement(i.default,{volume:e.volume,updateVolume:e.updateVolume}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(0)),o=p(n(885)),i=p(n(442)),a=n(441),u=p(n(194)),s=p(n(193)),c=p(n(144)),l=p(n(886)),f=p(n(292)),d=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return r.default.createElement("div",{className:"bber-media__stacked"},r.default.createElement("div",{className:"bber-media__stacked__row"},r.default.createElement(s.default,{time:e.timeElapsed}),r.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(s.default,{time:e.timeRemaining})),r.default.createElement("div",{className:"bber-media__stacked__separator"},r.default.createElement("div",{className:"bber-media__stacked__separator--line"})),r.default.createElement("div",{className:"bber-media__stacked__row"},r.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),r.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),r.default.createElement("div",{style:{marginRight:"auto"}}),r.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),r.default.createElement(l.default,{currentSrc:e.currentSrc})))}function b(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),r.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),r.default.createElement(s.default,{time:e.timeElapsed}),r.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(s.default,{time:e.timeRemaining}),r.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),r.default.createElement(l.default,{currentSrc:e.currentSrc}))}t.default=function(e){return d.default.isMobile()?r.default.createElement(h,e):r.default.createElement(b,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement("button",{className:(0,o.default)("material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")}},function(e,t,n){"use strict";n(17),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(0)),o=s(n(443)),i=s(n(444)),a=s(n(889)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.config,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return"simple"===t?r.default.createElement(o.default,n):"normal"===t?r.default.createElement(i.default,n):r.default.createElement(a.default,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(444)),i=a(n(442));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.default,e),r.default.createElement(i.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))}},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.elementKey,n=e.elementRef,r=e.handleLoad,u=e.handleEnded,s=e.controls,c=e.children,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return o.default.createElement("video",a({onLoadedMetadata:r,onEnded:u,controls:s,key:t,ref:n},l),c)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(37);var r=a(n(0)),o=a(n(440)),i=a(n(892));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default,u({mediaType:"audio",MediaComponent:i.default},e))}},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.elementKey,n=e.elementRef,r=e.handleLoad,u=e.handleEnded,s=e.controls,c=e.children,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return o.default.createElement("audio",a({onLoadedMetadata:r,onEnded:u,controls:s,key:t,ref:n},l),c)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=c(n(0)),i=c(n(181)),a=c(n(434)),u=c(n(95)),s=c(n(41));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,n(57).isBrowser)("chrome","eq",81),m=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(i);function i(){var e;l(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return y(h(e=r.call.apply(r,[this].concat(n))),"focusWindow",(function(){return setTimeout((function(){return window.focus()}),60)})),e}return t=i,(n=[{key:"componentDidMount",value:function(){window.addEventListener("blur",this.focusWindow)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("blur",this.focusWindow)}},{key:"render",value:function(){var e=this.props,t=e.src,n=e.title,r=e.height,i=e.iframePlaceholderTop,a=e.iframePlaceholderWidth,u=this.props.width,c={};if(v){var l=s.default.isMobile();c={top:i,width:u,maxWidth:l?"100%":a,position:l?"static":"absolute"}}return o.default.createElement(o.default.Fragment,null,v&&o.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),v&&o.default.createElement("div",{key:"placholder-".concat(t),style:{paddingTop:r},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:c,key:t,ref:this.props.elemRef},o.default.createElement("iframe",{src:t,title:n,width:u,height:r,webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:"allowfullscreen",allow:"autoplay",frameBorder:"0",scrolling:"no"})))}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component);y(m,"contextType",u.default);var g=(0,i.default)((0,a.default)(m,{enabled:v}));t.default=g},function(e,t,n){"use strict";n(372),n(895),n(896),n(897)},function(e,t,n){"use strict";/*! npm.im/object-fit-images 3.2.4 */var r="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i="undefined"==typeof Image?{style:{"object-position":1}}:new Image,a="object-fit"in i.style,u="object-position"in i.style,s="background-size"in i.style,c="string"==typeof i.currentSrc,l=i.getAttribute,f=i.setAttribute,d=!1;function p(e,t,n){var r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";l.call(e,"src")!==r&&f.call(e,"src",r)}function h(e,t){e.naturalWidth?t(e):setTimeout(h,100,e,t)}function b(e){var t=function(e){for(var t,n=getComputedStyle(e).fontFamily,r={};null!==(t=o.exec(n));)r[t[1]]=t[2];return r}(e),n=e[r];if(t["object-fit"]=t["object-fit"]||"fill",!n.img){if("fill"===t["object-fit"])return;if(!n.skipTest&&a&&!t["object-position"])return}if(!n.img){n.img=new Image(e.width,e.height),n.img.srcset=l.call(e,"data-ofi-srcset")||e.srcset,n.img.src=l.call(e,"data-ofi-src")||e.src,f.call(e,"data-ofi-src",e.src),e.srcset&&f.call(e,"data-ofi-srcset",e.srcset),p(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[r].img[t||"src"]},set:function(t,n){return e[r].img[n||"src"]=t,f.call(e,"data-ofi-"+n,t),b(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!c&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}(n.img),e.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?h(n.img,(function(){n.img.naturalWidth>e.width||n.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"})):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),h(n.img,(function(t){p(e,t.naturalWidth,t.naturalHeight)}))}function y(e,t){var n=!d&&!e;if(t=t||{},e=e||"img",u&&!t.skipTest||!s)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var o=0;o<e.length;o++)e[o][r]=e[o][r]||{skipTest:t.skipTest},b(e[o]);n&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&y(e.target,{skipTest:t.skipTest})}),!0),d=!0,e="img"),t.watchMQ&&window.addEventListener("resize",y.bind(null,e,{skipTest:t.skipTest}))}y.supportsObjectFit=a,y.supportsObjectPosition=u,function(){function e(e,t){return e[r]&&e[r].img&&("src"===t||"srcset"===t)?e[r].img:e}u||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return f.call(e(this,t),t,String(n))})}(),e.exports=y},function(e,t,n){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),r=t&&"+"===new t("s=%2B").get("s"),o=s.prototype,i=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&r)){o.append=function(e,t){p(this.__URLSearchParams__,e,t)},o.delete=function(e){delete this.__URLSearchParams__[e]},o.get=function(e){var t=this.__URLSearchParams__;return e in t?t[e][0]:null},o.getAll=function(e){var t=this.__URLSearchParams__;return e in t?t[e].slice(0):[]},o.has=function(e){return e in this.__URLSearchParams__},o.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},o.toString=function(){var e,t,n,r,o=this.__URLSearchParams__,i=[];for(t in o)for(n=c(t),e=0,r=o[t];e<r.length;e++)i.push(n+"="+c(r[e]));return i.join("&")};var a=!!r&&t&&!n&&e.Proxy;e.URLSearchParams=a?new Proxy(t,{construct:function(e,t){return new e(new s(t[0]).toString())}}):s;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var n=d(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},u.sort=u.sort||function(){var e,t,n,r=d(this.toString()),o=[];for(e in r)o.push(e);for(o.sort(),t=0;t<o.length;t++)this.delete(o[t]);for(t=0;t<o.length;t++){var i=o[t],a=r[i];for(n=0;n<a.length;n++)this.append(i,a[n])}},u.keys=u.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},u.values=u.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},u.entries=u.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},i&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function s(e){((e=e||"")instanceof URLSearchParams||e instanceof s)&&(e=e.toString()),this.__URLSearchParams__=d(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function l(e){return decodeURIComponent(e.replace(/\+/g," "))}function f(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(n[e.Symbol.iterator]=function(){return n}),n}function d(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),o=0;o<r.length;o++){var i=r[o],a=i.indexOf("=");-1<a?p(t,l(i.slice(0,a)),l(i.slice(a+1))):i&&p(t,l(i),"")}}return t}function p(e,t,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,n(52))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19);var r=function(){for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var n=e[t];window.requestAnimationFrame=window["".concat(n,"RequestAnimationFrame")],window.cancelAnimationFrame=window["".concat(n,"CancelAnimationFrame")]||window["".concat(n,"CancelRequestAnimationFrame")]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var r=0;window.requestAnimationFrame=function(e){var t=Date.now?Date.now():(new Date).getTime(),n=Math.max(r+16,t);return setTimeout((function(){e(r=n)}),n-t)},window.cancelAnimationFrame=clearTimeout}}();t.default=r},,function(e,t,n){"use strict";n.r(t),n.d(t,"createBrowserHistory",(function(){return _})),n.d(t,"createHashHistory",(function(){return k})),n.d(t,"createMemoryHistory",(function(){return j})),n.d(t,"createLocation",(function(){return b})),n.d(t,"locationsAreEqual",(function(){return y})),n.d(t,"parsePath",(function(){return p})),n.d(t,"createPath",(function(){return h}));var r=n(48);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),s=t&&o(t),c=u||s;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function s(e,t){if(!e)throw new Error("Invariant failed")}function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function f(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 d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function b(e,t,n,o){var i;"string"==typeof e?(i=p(e)).state=t:(void 0===(i=Object(r.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),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1}(e.state,t.state)}function v(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!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 m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),m||s(!1);var t,n=window.history,o=(-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")),a=e,u=a.forceRefresh,l=void 0!==u&&u,p=a.getUserConfirmation,y=void 0===p?g:p,_=a.keyLength,S=void 0===_?6:_,O=e.basename?d(c(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return O&&(i=f(i,O)),b(i,r,n)}function E(){return Math.random().toString(36).substr(2,S)}var k=v();function P(e){Object(r.a)(F,e),F.length=n.length,k.notifyListeners(F.location,F.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(x(e.state))}function T(){C(x(w()))}var A=!1;function C(e){A?(A=!1,P()):k.confirmTransitionTo(e,"POP",y,(function(t){t?P({action:"POP",location:e}):function(e){var t=F.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,N(o))}(e)}))}var L=x(w()),R=[L.key];function I(e){return O+h(e)}function N(e){n.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",j),i&&window.addEventListener("hashchange",T)):0===M&&(window.removeEventListener("popstate",j),i&&window.removeEventListener("hashchange",T))}var U=!1,F={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r=b(e,t,E(),F.location);k.confirmTransitionTo(r,"PUSH",y,(function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=R.indexOf(F.location.key),s=R.slice(0,u+1);s.push(r.key),R=s,P({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=b(e,t,E(),F.location);k.confirmTransitionTo(r,"REPLACE",y,(function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=R.indexOf(F.location.key);-1!==u&&(R[u]=r.key),P({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=k.appendListener(e);return D(1),function(){D(-1),t()}}};return F}var S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(O(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),m||s(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?g:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(c(e.basename)):"",p=S[u],y=p.encodePath,w=p.decodePath;function _(){var e=w(x());return l&&(e=f(e,l)),b(e)}var k=v();function P(e){Object(r.a)(F,e),F.length=t.length,k.notifyListeners(F.location,F.action)}var j=!1,T=null;function A(){var e,t,n=x(),r=y(n);if(n!==r)E(r);else{var o=_(),a=F.location;if(!j&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===h(o))return;T=null,function(e){j?(j=!1,P()):k.confirmTransitionTo(e,"POP",i,(function(t){t?P({action:"POP",location:e}):function(e){var t=F.location,n=I.lastIndexOf(h(t));-1===n&&(n=0);var r=I.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(j=!0,N(o))}(e)}))}(o)}}var C=x(),L=y(C);C!==L&&E(L);var R=_(),I=[h(R)];function N(e){t.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?window.addEventListener("hashchange",A):0===M&&window.removeEventListener("hashchange",A)}var U=!1,F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+y(l+h(e))},push:function(e,t){var n=b(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=y(l+t);if(x()!==r){T=t,function(e){window.location.hash=e}(r);var o=I.lastIndexOf(h(F.location)),i=I.slice(0,o+1);i.push(t),I=i,P({action:"PUSH",location:n})}else P()}}))},replace:function(e,t){var n=b(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=y(l+t);x()!==r&&(T=t,E(r));var o=I.indexOf(h(F.location));-1!==o&&(I[o]=t),P({action:"REPLACE",location:n})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=k.appendListener(e);return D(1),function(){D(-1),t()}}};return F}function P(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,s=t.keyLength,c=void 0===s?6:s,l=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=P(u,0,i.length-1),y=i.map((function(e){return b(e,void 0,"string"==typeof e?d():e.key||d())})),m=h;function g(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:y.length,action:"POP",location:y[p],index:p,entries:y,createHref:m,push:function(e,t){var r=b(e,t,d(),w.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=b(e,t,d(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}}]))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(1),a=n(3),u=n.n(a);n(9);Object(i.render)(o.a.createElement(u.a,window.__SERVER_DATA__||{}),document.getElementById("root"))},function(e,t,n){"use strict";
34
+ */var r=60103,o=60106,i=60107,a=60108,u=60114,s=60109,c=60110,l=60112,f=60113,d=60120,p=60115,h=60116,b=60121,y=60122,v=60117,m=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;r=w("react.element"),o=w("react.portal"),i=w("react.fragment"),a=w("react.strict_mode"),u=w("react.profiler"),s=w("react.provider"),c=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),b=w("react.block"),y=w("react.server.block"),v=w("react.fundamental"),m=w("react.debug_trace_mode"),g=w("react.legacy_hidden")}function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case u:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case p:case s:return e;default:return t}}case o:return t}}}var S=s,O=r,x=l,E=i,k=h,P=p,j=o,T=u,A=a,C=f;t.ContextConsumer=c,t.ContextProvider=S,t.Element=O,t.ForwardRef=x,t.Fragment=E,t.Lazy=k,t.Memo=P,t.Portal=j,t.Profiler=T,t.StrictMode=A,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===l},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===h},t.isMemo=function(e){return _(e)===p},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===m||e===a||e===f||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===v||e.$$typeof===b||e[0]===y)},t.typeOf=_},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.r(t);var o=r();o.withExtraArgument=r,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(59),o=l(n(295)),i=l(n(505)),a=l(n(551)),u=l(n(552)),s=l(n(553)),c=l(n(554));function l(e){return e&&e.__esModule?e:{default:e}}var f={readerSettings:o.default,viewerSettings:i.default,readerLocation:a.default,markers:u.default,view:s.default,userInterface:c.default},d=(0,r.combineReducers)(f);t.default=d},function(e,t,n){var r=n(20),o=n(21),i=n(24),a=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&o(n=e.toString)&&!i(u=r(n,e)))return u;if(o(n=e.valueOf)&&!i(u=r(n,e)))return u;if("string"!==t&&o(n=e.toString)&&!i(u=r(n,e)))return u;throw a("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},function(e,t,n){"use strict";var r=n(11),o=n(13),i=n(20),a=n(10),u=n(62),s=n(23),c=n(98),l=n(9),f=n(25),d=n(61),p=n(31),h=n(49),b=n(117),y=n(39),v=n(83),m=n(67),g=n(121),w=n(74),_=n(306),S=n(150),O=n(71),x=n(34),E=n(304),k=n(145),P=n(40),j=n(100),T=n(148),A=n(119),C=n(118),L=n(18),R=n(307),I=n(151),N=n(456),M=n(54),D=n(44),U=n(46).forEach,F=T("hidden"),B=D.set,z=D.getterFor("Symbol"),q=Object.prototype,W=o.Symbol,H=W&&W.prototype,V=o.TypeError,G=o.QObject,K=O.f,Y=x.f,$=_.f,Q=k.f,X=a([].push),Z=j("symbols"),J=j("op-symbols"),ee=j("wks"),te=!G||!G.prototype||!G.prototype.findChild,ne=s&&l((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(q,t);r&&delete q[t],Y(e,t,n),r&&e!==q&&Y(q,t,r)}:Y,re=function(e,t){var n=Z[e]=m(H);return B(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=function(e,t,n){e===q&&oe(J,t,n),p(e);var r=b(t);return p(n),f(Z,r)?(n.enumerable?(f(e,F)&&e[F][r]&&(e[F][r]=!1),n=m(n,{enumerable:v(0,!1)})):(f(e,F)||Y(e,F,v(1,{})),e[F][r]=!0),ne(e,r,n)):Y(e,r,n)},ie=function(e,t){p(e);var n=h(t),r=g(n).concat(ce(n));return U(r,(function(t){s&&!i(ae,n,t)||oe(e,t,n[t])})),e},ae=function(e){var t=b(e),n=i(Q,this,t);return!(this===q&&f(Z,t)&&!f(J,t))&&(!(n||!f(this,t)||!f(Z,t)||f(this,F)&&this[F][t])||n)},ue=function(e,t){var n=h(e),r=b(t);if(n!==q||!f(Z,r)||f(J,r)){var o=K(n,r);return!o||!f(Z,r)||f(n,F)&&n[F][r]||(o.enumerable=!0),o}},se=function(e){var t=$(h(e)),n=[];return U(t,(function(e){f(Z,e)||f(A,e)||X(n,e)})),n},ce=function(e){var t=e===q,n=$(t?J:h(e)),r=[];return U(n,(function(e){!f(Z,e)||t&&!f(q,e)||X(r,Z[e])})),r};c||(P(H=(W=function(){if(d(H,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,t=C(e),n=function(e){this===q&&i(n,J,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),ne(this,t,v(1,e))};return s&&te&&ne(q,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return z(this).tag})),P(W,"withoutSetter",(function(e){return re(C(e),e)})),k.f=ae,x.f=oe,E.f=ie,O.f=ue,w.f=_.f=se,S.f=ce,R.f=function(e){return re(L(e),e)},s&&(Y(H,"description",{configurable:!0,get:function(){return z(this).description}}),u||P(q,"propertyIsEnumerable",ae,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),U(g(ee),(function(e){I(e)})),r({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?m(e):ie(m(e),t)},defineProperty:oe,defineProperties:ie,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se}),N(),M(W,"Symbol"),A[F]=!0},function(e,t,n){var r=n(13);e.exports=r},function(e,t,n){var r=n(20),o=n(50),i=n(18),a=n(40);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return r(n,this)}),{arity:1})}},function(e,t,n){var r=n(152),o=n(153),i=n(24),a=n(18)("species"),u=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===u||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},function(e,t,n){var r=n(11),o=n(50),i=n(25),a=n(39),u=n(100),s=n(309),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,l[n]=t,n}})},function(e,t,n){var r=n(11),o=n(25),i=n(97),a=n(85),u=n(100),s=n(309),c=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},function(e,t,n){var r=n(11),o=n(50),i=n(77),a=n(20),u=n(10),s=n(9),c=n(152),l=n(21),f=n(24),d=n(97),p=n(102),h=n(98),b=o("JSON","stringify"),y=u(/./.exec),v=u("".charAt),m=u("".charCodeAt),g=u("".replace),w=u(1..toString),_=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,x=!h||s((function(){var e=o("Symbol")();return"[null]"!=b([e])||"{}"!=b({a:e})||"{}"!=b(Object(e))})),E=s((function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")})),k=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return c(t)||(t=function(e,t){if(l(r)&&(t=a(r,this,e,t)),!d(t))return t}),n[1]=t,i(b,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return y(S,e)&&!y(O,o)||y(O,e)&&!y(S,r)?"\\u"+w(m(e,0),16):e};b&&r({target:"JSON",stat:!0,arity:3,forced:x||E},{stringify:function(e,t,n){var r=p(arguments),o=i(x?k:b,null,r);return E&&"string"==typeof o?g(o,_,P):o}})},function(e,t,n){var r=n(11),o=n(98),i=n(9),a=n(150),u=n(42);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},function(e,t,n){"use strict";var r=n(199),o=n(76);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(46).forEach,o=n(155)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(21),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},function(e,t,n){"use strict";var r,o=n(13),i=n(10),a=n(126),u=n(127),s=n(202),c=n(467),l=n(24),f=n(315),d=n(44).enforce,p=n(300),h=!o.ActiveXObject&&"ActiveXObject"in o,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},y=s("WeakMap",b,c);if(p&&h){r=c.getConstructor(b,"WeakMap",!0),u.enable();var v=y.prototype,m=i(v.delete),g=i(v.has),w=i(v.get),_=i(v.set);a(v,{delete:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),m(this,e)||t.frozen.delete(e)}return m(this,e)},has:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),g(this,e)||t.frozen.has(e)}return g(this,e)},get:function(e){if(l(e)&&!f(e)){var t=d(this);return t.frozen||(t.frozen=new r),g(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=d(this);n.frozen||(n.frozen=new r),g(this,e)?_(this,e,t):n.frozen.set(e,t)}else _(this,e,t);return this}})}},function(e,t,n){var r=n(9);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){"use strict";var r=n(10),o=n(126),i=n(127).getWeakData,a=n(31),u=n(24),s=n(78),c=n(128),l=n(46),f=n(25),d=n(44),p=d.set,h=d.getterFor,b=l.find,y=l.findIndex,v=r([].splice),m=0,g=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},_=function(e,t){return b(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=y(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var l=e((function(e,o){s(e,d),p(e,{type:t,id:m++,frozen:void 0}),null!=o&&c(o,e[r],{that:e,AS_ENTRIES:n})})),d=l.prototype,b=h(t),y=function(e,t,n){var r=b(e),o=i(a(t),!0);return!0===o?g(r).set(t,n):o[r.id]=n,e};return o(d,{delete:function(e){var t=b(this);if(!u(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=b(this);if(!u(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&f(n,t.id)}}),o(d,n?{get:function(e){var t=b(this);if(u(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return y(this,e,t)}}:{add:function(e){return y(this,e,!0)}}),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=n(104),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[u]=n:delete e[u]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},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=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(26),n(6),n(36),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0,n(2),n(1),n(4),n(5),n(88),n(89),n(16),n(19),n(321);var a=function(e){return e instanceof URLSearchParams?e:new URLSearchParams(e)};t.getUrlParams=a,t.hasSearchParams=function(e,t){if(!e)return!1;var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=!0;return n.has(r)&&n.has(o)||(i=!1),i},t.stripSearchParams=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug,u=new Set([r,o,i]);return n.forEach((function(e,t){u.has(t)||n.delete(t)})),n},t.ensureSearchParams=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex;return n.has(r)||n.set(r,0),n.has(o)||n.set(o,0),n};var u=function(e,t){var n=a(e),r=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug;return n.delete(r),n.delete(o),n.delete(i),n};t.excludeSearchParams=u,t.appendExternalParams=function(e,t){var n,i=a(e),s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}(u(window.location.search,t));try{for(s.s();!(n=s.n()).done;){var c=r(n.value,2),l=c[0],f=c[1];i.set(l,f)}}catch(e){s.e(e)}finally{s.f()}return i}},function(e,t,n){var r=n(31),o=n(317);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},function(e,t,n){"use strict";n(202)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(328))},function(e,t,n){"use strict";n(4);var r,o=n(11),i=n(23),a=n(323),u=n(13),s=n(68),c=n(10),l=n(40),f=n(329),d=n(78),p=n(25),h=n(330),b=n(327),y=n(122),v=n(201).codeAt,m=n(475),g=n(39),w=n(54),_=n(207),S=n(322),O=n(44),x=O.set,E=O.getterFor("URL"),k=S.URLSearchParams,P=S.getState,j=u.URL,T=u.TypeError,A=u.parseInt,C=Math.floor,L=Math.pow,R=c("".charAt),I=c(/./.exec),N=c([].join),M=c(1..toString),D=c([].pop),U=c([].push),F=c("".replace),B=c([].shift),z=c("".split),q=c("".slice),W=c("".toLowerCase),H=c([].unshift),V=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,$=/^[0-7]+$/,Q=/^\d+$/,X=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,J=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,te=/[\t\n\r]/g,ne=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)H(t,e%256),e=C(e/256);return N(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=M(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},re={},oe=h({},re,{" ":1,'"':1,"<":1,">":1,"`":1}),ie=h({},oe,{"#":1,"?":1,"{":1,"}":1}),ae=h({},ie,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var n=v(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var n;return 2==e.length&&I(V,R(e,0))&&(":"==(n=R(e,1))||!t&&"|"==n)},le=function(e){var t;return e.length>1&&ce(q(e,0,2))&&(2==e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===W(e)},de={},pe={},he={},be={},ye={},ve={},me={},ge={},we={},_e={},Se={},Oe={},xe={},Ee={},ke={},Pe={},je={},Te={},Ae={},Ce={},Le={},Re=function(e,t,n){var r,o,i,a=g(e);if(t){if(o=this.parse(a))throw T(o);this.searchParams=null}else{if(void 0!==n&&(r=new Re(n,!0)),o=this.parse(a,null,r))throw T(o);(i=P(new k)).bindURL(this),this.searchParams=i}};Re.prototype={type:"URL",parse:function(e,t,n){var o,i,a,u,s,c=this,l=t||de,f=0,d="",h=!1,v=!1,m=!1;for(e=g(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=F(e,ee,"")),e=F(e,te,""),o=b(e);f<=o.length;){switch(i=o[f],l){case de:if(!i||!I(V,i)){if(t)return"Invalid scheme";l=he;continue}d+=W(i),l=pe;break;case pe:if(i&&(I(G,i)||"+"==i||"-"==i||"."==i))d+=W(i);else{if(":"!=i){if(t)return"Invalid scheme";d="",l=he,f=0;continue}if(t&&(c.isSpecial()!=p(se,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&se[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?l=Ee:c.isSpecial()&&n&&n.scheme==c.scheme?l=be:c.isSpecial()?l=ge:"/"==o[f+1]?(l=ye,f++):(c.cannotBeABaseURL=!0,U(c.path,""),l=Ae)}break;case he:if(!n||n.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==i){c.scheme=n.scheme,c.path=y(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"==n.scheme?Ee:ve;continue;case be:if("/"!=i||"/"!=o[f+1]){l=ve;continue}l=we,f++;break;case ye:if("/"==i){l=_e;break}l=Te;continue;case ve:if(c.scheme=n.scheme,i==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query=n.query;else if("/"==i||"\\"==i&&c.isSpecial())l=me;else if("?"==i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query="",l=Ce;else{if("#"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.path.length--,l=Te;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=y(n.path),c.query=n.query,c.fragment="",l=Le}break;case me:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Te;continue}l=_e}else l=we;break;case ge:if(l=we,"/"!=i||"/"!=R(d,f+1))continue;f++;break;case we:if("/"!=i&&"\\"!=i){l=_e;continue}break;case _e:if("@"==i){h&&(d="%40"+d),h=!0,a=b(d);for(var w=0;w<a.length;w++){var _=a[w];if(":"!=_||m){var S=ue(_,ae);m?c.password+=S:c.username+=S}else m=!0}d=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==d)return"Invalid authority";f-=b(d).length+1,d="",l=Se}else d+=i;break;case Se:case Oe:if(t&&"file"==c.scheme){l=Pe;continue}if(":"!=i||v){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==d)return"Invalid host";if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(d))return u;if(d="",l=je,t)return;continue}"["==i?v=!0:"]"==i&&(v=!1),d+=i}else{if(""==d)return"Invalid host";if(u=c.parseHost(d))return u;if(d="",l=xe,t==Oe)return}break;case xe:if(!I(K,i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=d){var O=A(d,10);if(O>65535)return"Invalid port";c.port=c.isSpecial()&&O===se[c.scheme]?null:O,d=""}if(t)return;l=je;continue}return"Invalid port"}d+=i;break;case Ee:if(c.scheme="file","/"==i||"\\"==i)l=ke;else{if(!n||"file"!=n.scheme){l=Te;continue}if(i==r)c.host=n.host,c.path=y(n.path),c.query=n.query;else if("?"==i)c.host=n.host,c.path=y(n.path),c.query="",l=Ce;else{if("#"!=i){le(N(y(o,f),""))||(c.host=n.host,c.path=y(n.path),c.shortenPath()),l=Te;continue}c.host=n.host,c.path=y(n.path),c.query=n.query,c.fragment="",l=Le}}break;case ke:if("/"==i||"\\"==i){l=Pe;break}n&&"file"==n.scheme&&!le(N(y(o,f),""))&&(ce(n.path[0],!0)?U(c.path,n.path[0]):c.host=n.host),l=Te;continue;case Pe:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&ce(d))l=Te;else if(""==d){if(c.host="",t)return;l=je}else{if(u=c.parseHost(d))return u;if("localhost"==c.host&&(c.host=""),t)return;d="",l=je}continue}d+=i;break;case je:if(c.isSpecial()){if(l=Te,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=r&&(l=Te,"/"!=i))continue}else c.fragment="",l=Le;else c.query="",l=Ce;break;case Te:if(i==r||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=W(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||U(c.path,"")):fe(d)?"/"==i||"\\"==i&&c.isSpecial()||U(c.path,""):("file"==c.scheme&&!c.path.length&&ce(d)&&(c.host&&(c.host=""),d=R(d,0)+":"),U(c.path,d)),d="","file"==c.scheme&&(i==r||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"==i?(c.query="",l=Ce):"#"==i&&(c.fragment="",l=Le)}else d+=ue(i,ie);break;case Ae:"?"==i?(c.query="",l=Ce):"#"==i?(c.fragment="",l=Le):i!=r&&(c.path[0]+=ue(i,re));break;case Ce:t||"#"!=i?i!=r&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":ue(i,re)):(c.fragment="",l=Le);break;case Le:i!=r&&(c.fragment+=ue(i,oe))}f++}},parseHost:function(e){var t,n,r;if("["==R(e,0)){if("]"!=R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,n,r,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return R(e,f)};if(":"==d()){if(":"!=R(e,1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&I(X,d());)t=16*t+A(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!I(K,d()))return;for(;I(K,d());){if(i=A(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!=c)return;return s}(q(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=m(e),I(Z,e))return"Invalid host";if(null===(t=function(e){var t,n,r,o,i,a,u,s=z(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=s[r]))return e;if(i=10,o.length>1&&"0"==R(o,0)&&(i=I(Y,o)?16:8,o=q(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?Q:8==i?$:X,o))return e;a=A(o,i)}U(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=D(n),r=0;r<n.length;r++)u+=n[r]*L(256,3-r);return u}(e)))return"Invalid host";this.host=t}else{if(I(J,e))return"Invalid host";for(t="",n=b(e),r=0;r<n.length;r++)t+=ue(n[r],re);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(se,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ce(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ne(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+N(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ie(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ne(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",de)},getUsername:function(){return this.username},setUsername:function(e){var t=b(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ue(t[n],ae)}},getPassword:function(){return this.password},setPassword:function(e){var t=b(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ue(t[n],ae)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ne(e):ne(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":ne(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=g(e))?this.port=null:this.parse(e,xe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,je))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=g(e))?this.query=null:("?"==R(e,0)&&(e=q(e,1)),this.query="",this.parse(e,Ce)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=g(e))?("#"==R(e,0)&&(e=q(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ie=function(e){var t=d(this,Ne),n=_(arguments.length,1)>1?arguments[1]:void 0,r=x(t,new Re(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Ne=Ie.prototype,Me=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ne,"href",Me("serialize","setHref")),f(Ne,"origin",Me("getOrigin")),f(Ne,"protocol",Me("getProtocol","setProtocol")),f(Ne,"username",Me("getUsername","setUsername")),f(Ne,"password",Me("getPassword","setPassword")),f(Ne,"host",Me("getHost","setHost")),f(Ne,"hostname",Me("getHostname","setHostname")),f(Ne,"port",Me("getPort","setPort")),f(Ne,"pathname",Me("getPathname","setPathname")),f(Ne,"search",Me("getSearch","setSearch")),f(Ne,"searchParams",Me("getSearchParams")),f(Ne,"hash",Me("getHash","setHash"))),l(Ne,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),j){var De=j.createObjectURL,Ue=j.revokeObjectURL;De&&l(Ie,"createObjectURL",s(De,j)),Ue&&l(Ie,"revokeObjectURL",s(Ue,j))}w(Ie,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ie})},function(e,t,n){"use strict";var r=n(10),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,s=r(i.exec),c=Math.floor,l=String.fromCharCode,f=r("".charCodeAt),d=r([].join),p=r([].push),h=r("".replace),b=r("".split),y=r("".toLowerCase),v=function(e){return e+22+75*(e<26)},m=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},g=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=f(e,n++);if(o>=55296&&o<=56319&&n<r){var i=f(e,n++);56320==(64512&i)?p(t,((1023&o)<<10)+(1023&i)+65536):(p(t,o),n--)}else p(t,o)}return t}(e)).length,i=128,s=0,h=72;for(t=0;t<e.length;t++)(n=e[t])<128&&p(r,l(n));var b=r.length,y=b;for(b&&p(r,"-");y<o;){var g=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=i&&n<g&&(g=n);var w=y+1;if(g-i>c((2147483647-s)/w))throw u(a);for(s+=(g-i)*w,i=g,t=0;t<e.length;t++){if((n=e[t])<i&&++s>2147483647)throw u(a);if(n==i){for(var _=s,S=36;;){var O=S<=h?1:S>=h+26?26:S-h;if(_<O)break;var x=_-O,E=36-O;p(r,l(v(O+x%E))),_=c(x/E),S+=36}p(r,l(v(_))),h=m(s,w,y==b),s=0,y++}}s++,i++}return d(r,"")};e.exports=function(e){var t,n,r=[],a=b(h(y(e),i,"."),".");for(t=0;t<a.length;t++)n=a[t],p(r,s(o,n)?"xn--"+g(n):n);return d(r,".")}},function(e,t,n){var r=n(23),o=n(10),i=n(121),a=n(49),u=o(n(145).f),s=o([].push),c=function(e){return function(t){for(var n,o=a(t),c=i(o),l=c.length,f=0,d=[];l>f;)n=c[f++],r&&!u(o,n)||s(d,e?[n,o[n]]:o[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){var r=n(101).PROPER,o=n(9),i=n(333);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},function(e,t,n){var r=n(10),o=n(42),i=Math.floor,a=r("".charAt),u=r("".replace),s=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,b=l;return void 0!==f&&(f=o(f),b=c),u(d,b,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,p);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var d=i(l/10);return 0===d?o:d<=h?void 0===r[d-1]?a(u,1):r[d-1]+a(u,1):o}c=r[l-1]}return void 0===c?"":c}))}},function(e,t,n){"use strict";var r={for:"htmlFor",class:"className",accept:"accept",acceptcharset:"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",async:"async",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",cite:"cite",classid:"classID",classname:"className",colspan:"colSpan",cols:"cols",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",novalidate:"noValidate",nonce:"nonce",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",rel:"rel",required:"required",reversed:"reversed",role:"role",rowspan:"rowSpan",rows:"rows",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",accentheight:"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baseprofile:"baseProfile",baselineshift:"baselineShift",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight",clip:"clip",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity",fillrule:"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodcolor:"floodColor",floodopacity:"floodOpacity",focusable:"focusable",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition",overlinethickness:"overlineThickness",paintorder:"paintOrder",panose1:"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",shaperendering:"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor",stopopacity:"stopOpacity",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering",to:"to",transform:"transform",u1:"u1",u2:"u2",underlineposition:"underlinePosition",underlinethickness:"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange",unitsperem:"unitsPerEm",valphabetic:"vAlphabetic",vhanging:"vHanging",videographic:"vIdeographic",vmathematical:"vMathematical",values:"values",vectoreffect:"vectorEffect",version:"version",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",widths:"widths",wordspacing:"wordSpacing",writingmode:"writingMode",x:"x",x1:"x1",x2:"x2",xchannelselector:"xChannelSelector",xheight:"xHeight",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType",xmlns:"xmlns",xmlnsxlink:"xmlnsXlink",xmlbase:"xmlBase",xmllang:"xmlLang",xmlspace:"xmlSpace",y:"y",y1:"y1",y2:"y2",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan",onabort:"onAbort",onanimationend:"onAnimationEnd",onanimationiteration:"onAnimationIteration",onanimationstart:"onAnimationStart",onblur:"onBlur",oncanplay:"onCanPlay",oncanplaythrough:"onCanPlayThrough",onchange:"onChange",onclick:"onClick",oncompositionend:"onCompositionEnd",oncompositionstart:"onCompositionStart",oncompositionupdate:"onCompositionUpdate",oncontextmenu:"onContextMenu",oncopy:"onCopy",oncut:"onCut",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",ondurationchange:"onDurationChange",onemptied:"onEmptied",onencrypted:"onEncrypted",onended:"onEnded",onerror:"onError",onfocus:"onFocus",oninput:"onInput",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onloadeddata:"onLoadedData",onloadedmetadata:"onLoadedMetadata",onloadstart:"onLoadStart",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onpaste:"onPaste",onpause:"onPause",onplay:"onPlay",onplaying:"onPlaying",onprogress:"onProgress",onratechange:"onRateChange",onscroll:"onScroll",onseeked:"onSeeked",onseeking:"onSeeking",onselect:"onSelect",onstalled:"onStalled",onsubmit:"onSubmit",onsuspend:"onSuspend",ontimeupdate:"onTimeUpdate",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",ontransitionend:"onTransitionEnd",onvolumechange:"onVolumeChange",onwaiting:"onWaiting",onwheel:"onWheel"},o=/[-:]/g,i=function(e){if(/^(data-|aria-)/.test(e))return e;var t=e.replace(o,"").toLowerCase();return r[t]||e};e.exports=i,e.exports.convert=i},function(e,t,n){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function n(e,n){return""===n?t(e):(n[0]!==e.quotes&&(n=e.quotes+n),n[n.length-1]!==e.quotes&&(n+=e.quotes),n)}function r(e,r){return 1===arguments.length&&(r=e,e={quotes:'"'}),"string"==typeof r?n(e,r):null==r?t(e):r}return(e={exports:{}}).exports=function(e){return"object"==typeof e?r.bind(null,e):r(e)},e.exports}()},function(e,t){e.exports=function(e){return(""+e).replace(/["'\\\n\r\u2028\u2029]/g,(function(e){switch(e){case'"':case"'":case"\\":return"\\"+e;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}}))}},function(e,t,n){var r=n(483),o=n(491)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},function(e,t,n){var r=n(131),o=n(485);e.exports=function(e){return o(r(e).toLowerCase())}},function(e,t,n){var r=n(104),o=n(334),i=n(56),a=n(167),u=r?r.prototype:void 0,s=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(486)("toUpperCase");e.exports=r},function(e,t,n){var r=n(487),o=n(336),i=n(488),a=n(131);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,u=n?n[0]:t.charAt(0),s=n?r(n,1).join(""):t.slice(1);return u[e]()+s}}},function(e,t,n){var r=n(335);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},function(e,t,n){var r=n(489),o=n(336),i=n(490);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",s="[\\ufe0e\\ufe0f]?"+u+"(?:\\u200d(?:"+[o,i,a].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*",c="(?:"+[o+n+"?",n,i,a,"[\\ud800-\\udfff]"].join("|")+")",l=RegExp(r+"(?="+r+")|"+c+s,"g");e.exports=function(e){return e.match(l)||[]}},function(e,t,n){var r=n(492),o=n(493),i=n(496),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},function(e,t,n){var r=n(494),o=n(131),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){var r=n(495)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(497),o=n(498),i=n(131),a=n(499);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:"+i+"|"+a+")",f="(?:"+c+"|"+a+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+d+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*",h="(?:"+["[\\u2700-\\u27bf]",u,s].join("|")+")"+p,b=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,c,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,c+l,"$"].join("|")+")",c+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,h].join("|"),"g");e.exports=function(e){return e.match(b)||[]}},function(e,t,n){n(11)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){n(11)({target:"Number",stat:!0},{isFinite:n(502)})},function(e,t,n){var r=n(13).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t){var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(899).createBrowserHistory)();t.default=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(339));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=(new(n(133).ViewerSettings)).get();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.SETTINGS_UPDATE:case o.SETTINGS_SAVE:case o.SETTINGS_LOAD:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(7);var o=function(){function e(t){var n=t.title,r=t.creator,o=t.date,i=t.publisher,a=t.description,u=t.language,s=t.rights,c=t.identifier;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title=n,this.creator=r,this.date=o,this.publisher=i,this.description=a,this.language=u,this.rights=s,this.identifier=c}var t,n;return t=e,(n=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){var n=t.id,r=t.href,o=t.mediaType,i=t.properties,a=t.idref,u=t.linear,s=t.absoluteURL,c=void 0===s?"":s,l=t.title,f=void 0===l?"":l,d=t.slug,p=void 0===d?"":d,h=t.depth,b=void 0===h?0:h,y=t.children,v=void 0===y?[]:y,m=t.inTOC,g=void 0!==m&&m;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n,this.href=r,this.mediaType=o,this.properties=i,this.idref=a,this.linear=u,this.absoluteURL=c,this.title=f,this.slug=p,this.depth=b,this.children=v,this.inTOC=g}var t,n;return t=e,(n=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}},{key:"addChild",value:function(e){this.children.push(e)}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=t.type,r=t.title,o=t.href;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=n,this.title=r,this.href=o,this.absoluteURL=""}));t.default=o},function(e,t,n){"use strict";n(3),n(7),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(16),n(91);var r=s(n(130)),o=s(n(169)),i=n(93),a=n(27),u=s(n(41));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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{enumerable:!0};return Object.entries(t).forEach((function(t){var i=h(t,2),a=i[0],u=i[1],s=(0,o.default)(n,a)?n[a]:u;Object.defineProperty(e,a,d({value:s},r))})),e},v=function(e){return"function"==typeof e?e.call():e},m=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e),p(this,"get",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?(0,o.default)(t.settings,e)?t[e]:void console.error("Attempting to access undefined key %s",e):{width:t.width,height:t.height,paddingTop:t.paddingTop,paddingLeft:t.paddingLeft,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,columns:t.columns,columnGap:t.columnGap,columnWidth:t.columnWidth,transition:t.transition,transitionSpeed:t.transitionSpeed,theme:t.theme,fontSize:t.fontSize}})),p(this,"put",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,r.default)(e))for(var i=0,a=Object.entries(e);i<a.length;i++){var u=h(a[i],2),s=u[0],c=u[1];(0,o.default)(t.settings,s)&&(t[s]=c)}else"string"==typeof e?(0,o.default)(t.settings,e)&&(t[e]=n):console.error("Could not update viewer settings with key: %s val: %s",e,n)})),Object.defineProperty(this,"settings",{value:y({},e.defaults,n,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=function(){return window.innerWidth/2-t.columnGap-t.paddingLeft}}var t,n;return t=e,(n=[{key:"width",get:function(){return this.settings.width},set:function(e){this.settings.width=e}},{key:"height",get:function(){return this.settings.height},set:function(e){this.settings.height=e}},{key:"paddingTop",get:function(){return v(this.settings.paddingTop)},set:function(e){this.settings.paddingTop=e}},{key:"paddingLeft",get:function(){return v(this.settings.paddingLeft)},set:function(e){this.settings.paddingLeft=e}},{key:"paddingRight",get:function(){return v(this.settings.paddingRight)},set:function(e){this.settings.paddingRight=e}},{key:"paddingBottom",get:function(){return v(this.settings.paddingBottom)},set:function(e){this.settings.paddingBottom=e}},{key:"paddingX",get:function(){return this.paddingLeft+this.paddingRight}},{key:"paddingY",get:function(){return this.paddingTop+this.paddingBottom}},{key:"columns",get:function(){return this.settings.columns},set:function(e){this.settings.columns=e}},{key:"columnGap",get:function(){return v(this.settings.columnGap)},set:function(e){this.settings.columnGap=e}},{key:"columnWidth",get:function(){return v(this.settings.columnWidth)},set:function(e){this.settings.columnWidth=e}},{key:"transition",get:function(){return this.settings.transition},set:function(e){this.settings.transition=e}},{key:"theme",get:function(){return this.settings.theme},set:function(e){this.settings.theme=e}},{key:"transitionSpeed",get:function(){return this.settings.transitionSpeed},set:function(e){this.settings.transitionSpeed=e}},{key:"fontSize",get:function(){return this.settings.fontSize},set:function(e){this.settings.fontSize=e}},{key:"padding",set:function(e){var t=h(e,4),n=t[0],r=t[1],o=t[2],a=t[3];(0,i.isNumeric)(n)&&(this.settings.paddingTop=n),(0,i.isNumeric)(r)&&(this.settings.paddingRight=r),(0,i.isNumeric)(o)&&(this.settings.paddingBottom=o),(0,i.isNumeric)(a)&&(this.settings.paddingLeft=a)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();p(m,"defaults",{width:0,height:0,fontSize:"120%",theme:a.themes.DEFAULT,transition:a.transitions.SLIDE,transitionSpeed:400,columns:2,columnGap:function(){return u.default.getGutterWidth()},paddingLeft:function(){return u.default.optimized().left},paddingRight:function(){return u.default.optimized().right},paddingTop:function(){return u.default.optimized().top},paddingBottom:function(){return u.default.optimized().bottom}});var g=m;t.default=g},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(512),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(513);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(214);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(515),o=n(172),i=n(215);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(516),o=n(521),i=n(522),a=n(523),u=n(524);function s(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])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(171);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(341),o=n(518),i=n(81),a=n(342),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:u).test(a(e))}},function(e,t,n){var r,o=n(519),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(55)["__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(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(171);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(173),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(173);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(173);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(173);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(175);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(175);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(175);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(175);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(103),o=n(79);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(16),n(32),n(132);var r=n(57);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(t){var n=t.id,o=t.media,i=t.rules;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n||"_".concat((0,r.rand)()),this.media=o,this.rules=i,this.elem=null}var t,n;return t=e,(n=[{key:"insertRules",value:function(e){var t=this;this.rules.forEach((function(n){return t.elem.appendChild(e.createTextNode("".concat(n.selector," { ").concat(n.declarations.join(";")," }")))}))}},{key:"appendSheet",value:function(e){this.elem=e.createElement("style"),this.elem.setAttribute("id",this.id),this.elem.setAttribute("media",this.media),this.elem.appendChild(e.createTextNode("")),this.insertRules(e),e.body.appendChild(this.elem)}},{key:"removeSheet",value:function(e){e.body.removeChild(this.elem)}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=i},function(e,t,n){var r=n(539),o=n(177)(r);e.exports=o},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(541),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(177)((function(e,t){return e>=t}));e.exports=r},function(e,t,n){var r=n(544),o=n(177)(r);e.exports=o},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,n){var r=n(177)((function(e,t){return e<=t}));e.exports=r},function(e,t,n){(function(t){function r(e){var t=a([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]]).filter((function(t){return t.rule&&t.rule.test(e)}))[0];return t?t.name:null}function o(){return"undefined"==typeof navigator&&void 0!==t?{name:"node",version:t.version.slice(1),os:n(547).type().toLowerCase()}:null}function i(e){var t=a([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\ ([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]]);if(!e)return null;var n=t.map((function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:t.name,version:r.join(".")}})).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&((n=n||{}).bot=!0),n}function a(e){return e.map((function(e){return{name:e[0],rule:e[1]}}))}e.exports={detect:function(){return o()||("undefined"!=typeof navigator?i(navigator.userAgent):null)},detectOS:r,getNodeVersion:o,parseUserAgent:i}}).call(this,n(105))},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=t.spreadIndex,o=t.lastSpreadIndex,i=t.firstChapter,a=t.lastChapter,u=t.firstSpread,s=t.lastSpread,c=t.spreadDelta;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=r.messagesTypes.PAGINATION_EVENT,this.spreadIndex=n,this.lastSpreadIndex=o,this.firstChapter=i,this.lastChapter=a,this.firstSpread=u,this.lastSpread=s,this.spreadDelta=c}));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=r.messagesTypes.DEFERRED_EVENT}));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(166);var r=a(n(176)),o=n(57),i=a(n(66));function a(e){return e&&e.__esModule?e:{default: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)}}var s=function(){function e(t){var n=t.node,i=t.requestURI;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=n.id||"_".concat((0,o.rand)()),this.type=n.type||"application/javascript",this.src=e.getScriptSourceFromNodeValue(n),this.inline=(0,r.default)(this.src),this.body=n.childNodes&&n.childNodes.length?n.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=i}var t,n,a;return t=e,a=[{key:"getScriptSourceFromNodeValue",value:function(e){return(e.attributes.getNamedItem("src")||{}).value}}],(n=[{key:"appendScript",value:function(e){var t=i.default.trimFilenameFromResponse(this.requestURI),n=this.inline?null:i.default.resolveRelativeURL(t,this.src);this.elem=e.createElement("script"),this.elem.id=this.id,this.inline||(this.elem.src=n),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}},{key:"removeScript",value:function(e){e.body.removeChild(this.elem)}}])&&u(t.prototype,n),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(326));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={searchParams:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.LOCATION_UPDATE:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(344)),i=["markerId"];function a(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={},l=function(e,t){var n=t.markerId,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,i);return u(u({},e),{},s({},n,u(u({},e[n]||{}),r)))};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.UPDATE:return l(e,t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(345));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={loaded:!1,pendingDeferredCallbacks:!0,ultimateOffsetLeft:0,lastSpreadIndex:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.LOAD:case o.UNLOAD:return a(a({},e),{},{loaded:t.payload});case o.UPDATE_ULTIMATE_NODE_POSITION:return a(a({},e),t.payload);case o.UPDATE_LAST_SPREAD_INDEX:return a(a({},e),{},{lastSpreadIndex:t.payload});case o.QUEUE_DEFERRED_CALLBACKS:case o.DEQUEUE_DEFERRED_CALLBACKS:return a(a({},e),{},{pendingDeferredCallbacks:t.payload});default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(17),n(3),n(30),n(1),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(346));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.PAGE_TRANSITIONS_UPDATE:return a(a({},e),{},{enableTransitions:t.payload});case o.EVENT_HANDLING_UPDATE:return a(a({},e),{},{handleEvents:t.payload});case o.SPINNER_UPDATE:return a(a({},e),{},{spinnerVisible:t.payload});case o.UPDATE:return a(a({},e),t.payload);default:return e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(28),n(29);var o=h(n(0)),i=n(38),a=n(59),u=n(557),s=d(n(107)),c=d(n(566)),l=n(27),f=h(n(219));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).bindEvents=t.bindEvents.bind(m(t)),t.unbindEvents=t.unbindEvents.bind(m(t)),t.handleKeyDown=t.handleKeyDown.bind(m(t)),t.handleClick=t.handleClick.bind(m(t)),t}return t=i,(n=[{key:"UNSAFE_componentWillMount",value:function(){var e=this;this.bindEvents(),s.default.register((function(t){t.origin&&t.origin===window.location.origin||e.props.handleSidebarButtonClick(null)}),l.messagesTypes.CLICK_EVENT),s.default.register((function(t){var n=t.data;if(!1!==e.props.userInterface.handleEvents){var r=n.scope,o=n.delta;return"page"===r?(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(o)):"chapter"===r?e.props.handleChapterNavigation(o):void 0}}),l.messagesTypes.NAVIGATION_EVENT)}},{key:"componentWillUnmount",value:function(){this.unbindEvents()}},{key:"handleClick",value:function(e){!1!==this.props.userInterface.handleEvents&&(s.default.sendClickEvent(e),null===e.target.closest(".bber-controls__sidebar")&&null===e.target.closest(".bber-nav__button")&&this.props.showSidebar&&this.props.handleSidebarButtonClick(null))}},{key:"handleKeyDown",value:function(e){if(!1!==this.props.userInterface.handleEvents&&e&&void 0!==e.which)switch(s.default.sendKeydownEvent(e),e.which){case 37:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1),this.props.handleSidebarButtonClick(null);break;case 39:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1),this.props.handleSidebarButtonClick(null);break;case 27:this.props.handleSidebarButtonClick(null);break;case 80:e.metaKey&&(e.preventDefault(),e.stopImmediatePropagation(),window.print())}}},{key:"bindEvents",value:function(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("click",this.handleClick),document.addEventListener("touchstart",this.handleClick)}},{key:"unbindEvents",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("click",this.handleClick),document.removeEventListener("touchstart",this.handleClick)}},{key:"render",value:function(){var e=this.props.readerSettings,t=e.NavigationHeader||u.NavigationHeader,n=(0,c.default)(e.NavigationFooter||u.NavigationFooter),r=this.props,i=r.destroyReaderComponent,a=r.handleSidebarButtonClick,s=r.downloads,l=r.uiOptions,f=r.currentSpineItemIndex,d=r.spine,p=r.layout,h=r.metadata,b=r.showSidebar,y=r.spreadIndex,v=r.lastSpreadIndex,m=r.handleChapterNavigation,g=r.handlePageNavigation,w=r.navigateToChapterByURL,_=this.props.userInterfaceActions.enablePageTransitions,S=this.props.userInterface.handleEvents;return o.default.createElement("div",{className:"bber-controls"},o.default.createElement(t,{destroyReaderComponent:i,handleSidebarButtonClick:a,downloads:s,uiOptions:l,showSidebar:b,spine:d,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:h}),this.props.children,o.default.createElement(n,{uiOptions:l,currentSpineItemIndex:f,spine:d,layout:p,spreadIndex:y,lastSpreadIndex:v,handleEvents:S,handleChapterNavigation:m,enablePageTransitions:_,handlePageNavigation:g}))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.Component),_=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,a.bindActionCreators)(f,e)}}))(w);t.default=_},function(e,t,n){"use strict";var r=n(10),o=n(53),i=n(24),a=n(25),u=n(102),s=n(115),c=Function,l=r([].concat),f=r([].join),d={},p=function(e,t,n){if(!a(d,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=s?c.bind:function(e){var t=o(this),n=t.prototype,r=u(arguments,1),a=function(){var n=l(r,u(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationFooter",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationHeader",{enumerable:!0,get:function(){return r.default}});var r=i(n(558)),o=i(n(565));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=s,t.default=void 0;var r=u(n(58)),o=u(n(0)),i=n(559),a=n(347);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,n;if(!e||null===(t=e.uiOptions)||void 0===t||null===(n=t.navigation)||void 0===n||!n.header_icons)return null;var u=e.showSidebar,s=e.downloads,c=e.spine,l=e.currentSpineItemIndex,f=e.navigateToChapterByURL,d=e.metadata,p=e.uiOptions.navigation.header_icons,h=p.toc,b=p.home,y=p.info,v=p.downloads;return o.default.createElement("header",{className:"bber-controls__header"},o.default.createElement("nav",{className:"bber-nav"},o.default.createElement("ul",{className:"bber-ul"},o.default.createElement("li",{className:"bber-li bber-li-home"},b&&o.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.destroyReaderComponent},o.default.createElement(a.Home,null))),o.default.createElement("li",{className:"bber-li"},o.default.createElement("ul",{className:"bber-ul"},h&&o.default.createElement("li",{className:"bber-li bber-li-toc"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"chapters"===u}),onClick:function(){return e.handleSidebarButtonClick("chapters")}},"chapters"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Menu,null)),o.default.createElement(i.SidebarChapters,{showSidebar:u,spine:c,currentSpineItemIndex:l,navigateToChapterByURL:f})),v&&s.length>0&&o.default.createElement("li",{className:"bber-li bber-li-downloads"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"downloads"===u}),onClick:function(){return e.handleSidebarButtonClick("downloads")}},"downloads"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Download,null)),o.default.createElement(i.SidebarDownloads,{showSidebar:u,downloads:s})),!1,y&&o.default.createElement("li",{className:"bber-li bber-li-info"},o.default.createElement("button",{className:(0,r.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"metadata"===u}),onClick:function(){return e.handleSidebarButtonClick("metadata")}},"metadata"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Info,null)),o.default.createElement(i.SidebarMetadata,{showSidebar:u,metadata:d})))))))}var c=s;t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarChapters",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SidebarDownloads",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SidebarMetadata",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"SidebarSettings",{enumerable:!0,get:function(){return a.default}});var r=u(n(560)),o=u(n(561)),i=u(n(563)),a=u(n(564));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(1),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(47),n(91);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(58))&&o.__esModule?o:{default:o};function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=(0,n(38).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if("metadata"!==e.showSidebar)return null;var t=(0,i.useRef)(),n=u((0,i.useState)("0px"),2),r=n[0],o=n[1],s=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){s()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",s),function(){return window.removeEventListener("resize",s)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__metadata","bber-controls__sidebar__metadata--open")},i.default.createElement("dl",{className:"bber-dl"},Object.entries(e.metadata).map((function(e){var t=u(e,2),n=t[0],r=t[1];return n&&r?i.default.createElement("div",{key:n},i.default.createElement("dt",{className:"bber-dt"},n),i.default.createElement("dd",{className:"bber-dd"},r)):null}))))}));t.default=c},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(3),n(7),n(47);var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),i=n(38),a=s(n(58)),u=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){var t=e.url,n=e.label,r=e.description;return o.default.createElement("li",{className:"bber-li"},o.default.createElement("a",{className:"bber-a",download:!0,href:t,onClick:function(){return u.default.sendDownloadEvent(t)}},o.default.createElement("div",{className:"bber-downloads__title"},n),r&&o.default.createElement("div",{className:"bber-downloads__description"},r)))}var f=(0,i.connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if("downloads"!==e.showSidebar)return null;var t=(0,o.useRef)(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,o.useState)("0px"),2),r=n[0],i=n[1],u=function(){var e=t.current.getBoundingClientRect().y;i(window.innerHeight-e)};return(0,o.useEffect)((function(){u()}),[t]),(0,o.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),o.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__downloads","bber-controls__sidebar__downloads--open")},o.default.createElement("ul",{className:"bber-ul"},e.downloads.map((function(e){return o.default.createElement(l,{key:e.url,url:e.url,label:e.label,description:e.description})}))))}));t.default=f},function(e,t,n){"use strict";n(202)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(328))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(8),n(2),n(4),n(5),n(26),n(6),n(36),n(19),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(30),n(1),n(47),n(32);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(58))&&o.__esModule?o:{default:o};function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){var t=e.current,n=e.items,r=e.depth||0,o=n.filter((function(e){return e.depth===r&&e.inTOC}));return i.default.createElement("ol",{className:"bber-ol"},o.map((function(n,o){return i.default.createElement("li",{className:"bber-li",key:n.id},i.default.createElement("button",{onClick:function(){return e.navigateToChapterByURL(n.absoluteURL)},className:(0,a.default)("bber-button bber-indent--".concat(r+1),{"bber-chapter--current":t===n.id})},n.title||"Chapter ".concat(r,".").concat(o)),n.children.length>0&&i.default.createElement(l,{current:t,items:n.children,depth:r+1,navigateToChapterByURL:e.navigateToChapterByURL}))})))}var f=(0,n(38).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if("chapters"!==e.showSidebar)return null;var t=(0,i.useRef)(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useState)("0px"),2),r=n[0],o=n[1],c=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){c()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",c),function(){return window.removeEventListener("resize",c)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},i.default.createElement(l,{items:u(e.spine),current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))}));t.default=f},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(0)),i=a(n(58));function a(e){return e&&e.__esModule?e:{default: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 s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(a,e);var t,n,r=c(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),p(f(t=r.call(this,e)),"handleFontSizeIncrement",(function(){return t.handleFontSizeChange(1)})),p(f(t),"handleFontSizeDecrement",(function(){return t.handleFontSizeChange(-1)})),p(f(t),"handleFontSizeChange",(function(e){var n=t.state,r=n.fontSizeMin,o=n.fontSizeMax,i=n.fontSizeStep,a=t.state.fontSize;(a=i*e+(a=parseInt(a,10)))<r||a>o||(t.setState({fontSize:a}),t.props.update({fontSize:a}),t.props.save())})),p(f(t),"handleOnChange",(function(e){return t.setState({fontSize:e.target.value})})),p(f(t),"handleOnBlur",(function(){var e=t.state,n=e.fontSizeMin,r=e.fontSizeMax,o=t.state.fontSize;(o=10*Math.round(.1*o))<n||o>r||o%10!=0||(t.setState({fontSize:o}),t.props.update({fontSize:o}),t.props.save())})),t.state={fontSize:parseInt(t.props.viewerSettings.fontSize,10),fontSizeMin:50,fontSizeMax:250,fontSizeStep:10},t}return t=a,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.viewerSettings.fontSize;t!==this.state.fontSize&&this.setState({fontSize:t})}},{key:"render",value:function(){var e=this.state,t=e.fontSize,n=e.fontSizeMin,r=e.fontSizeMax,a=e.fontSizeStep;return o.default.createElement("nav",{className:(0,i.default)("bber-controls__sidebar","bber-controls__sidebar__settings",{"bber-controls__sidebar__settings--open":"settings"===this.props.showSidebar})},o.default.createElement("fieldset",{className:"bber-settings__items"},o.default.createElement("div",{className:"bber-settings__item bber-settings__item--font-size"},o.default.createElement("label",{htmlFor:"fontSize"},"Font Size"),o.default.createElement("div",{className:"bber-settings__item__button-group bber-settings__item__button-group--horizontal"},o.default.createElement("button",{onClick:this.handleFontSizeDecrement},"-"),o.default.createElement("span",null,t,"%"),o.default.createElement("input",{id:"fontSize",type:"number",value:t,min:n,max:r,step:a,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),o.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(41)),i=n(27),a=n(347);function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return!(e.currentSpineItemIndex<1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},c=function(e){return!(e.currentSpineItemIndex>=e.spine.length-1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},l=function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex)},f=function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==e.spine.length-1||e.spreadIndex!==e.lastSpreadIndex)};t.default=function(e){return r.default.createElement("footer",{className:"bber-controls__footer"},r.default.createElement("nav",{className:"bber-nav"},r.default.createElement("ul",{className:"bber-ul"},r.default.createElement("li",{className:"bber-li"},s(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},r.default.createElement(a.ChapterPrevious,null))),r.default.createElement("li",{className:"bber-li"},l(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},r.default.createElement(a.PagePrevious,null))),r.default.createElement("li",{className:"bber-li"},f(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},r.default.createElement(a.PageNext,null))),r.default.createElement("li",{className:"bber-li"},c(e)&&r.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},r.default.createElement(a.ChapterNext,null))))))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o,i=(o=n(0))&&o.__esModule?o:{default:o},a=n(38),u=n(59),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(219));function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=function(e){var t=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,t);var n,r,o=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(a);function a(){var e;l(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(h(e=o.call.apply(o,[this].concat(n))),"goToPrevChapter",(function(){!1!==e.props.userInterface.handleEvents&&e.props.handleChapterNavigation(-1)})),y(h(e),"goToNextChapter",(function(){!1!==e.props.handleEvents&&e.props.handleChapterNavigation(1)})),y(h(e),"goToPrevPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(-1))})),y(h(e),"goToNextPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(1))})),e}return n=a,(r=[{key:"render",value:function(){return i.default.createElement(e,c({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}])&&f(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),a}(i.default.Component);return(0,a.connect)((function(e){return{userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,u.bindActionCreators)(s,e)}}))(t)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=d(n(0)),i=d(n(130)),a=n(38),u=n(106),s=d(n(41)),c=n(27),l=d(n(107)),f=d(n(90));function d(e){return e&&e.__esModule?e:{default:e}}function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(a,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w(e);if(t){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}(a);function a(){var e;b(this,a);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return _(g(e=r.call.apply(r,[this].concat(n))),"node",o.default.createRef()),_(g(e),"handleScroll",(function(t){var n=Math.max(e.node.current.scrollHeight,e.node.current.offsetHeight,e.node.current.clientHeight);l.default.sendScrollEvent(t,t.target.scrollTop,n)})),e}return t=a,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t;s.default.isMobile()&&null!==(t=this.node)&&void 0!==t&&t.current&&!1!==e.view.loaded&&this.props.view.loaded!==e.view.loaded&&this.node.current.scrollTo(0,0)}},{key:"componentDidMount",value:function(){this.node.current.addEventListener("scroll",this.handleScroll)}},{key:"componentWillUnmount",value:function(){this.node.current.removeEventListener("scroll",this.handleScroll)}},{key:"style",value:function(){var e={position:"absolute",top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0,fontSize:this.props.viewerSettings.fontSize};return e=this.props.layout===c.layouts.SCROLL||s.default.isMobile()?h(h({},e),{},{WebkitOverflowScrolling:"touch",overflowY:"auto",overflowX:"hidden"}):h(h({},e),{},{overflow:"hidden"}),(0,i.default)(this.props.style)&&(e=h(h({},e),this.props.style)),e}},{key:"className",value:function(){var e=f.default.createHash(this.props.readerSettings.bookURL),t="_".concat(e);return this.props.className&&"string"==typeof this.props.className&&(t="".concat(t," ").concat(this.props.className)),t}},{key:"render",value:function(){return o.default.createElement("div",{id:"frame",className:this.className(),style:this.style(),ref:this.node},o.default.createElement(u.Layout,this.props),o.default.createElement(u.DebugGrid,this.props))}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component),O=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings}}),(function(){return{}}))(S);t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(95)),i=a(n(66));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(o.default.Consumer,null,(function(t){var n=t.navigateToChapterByURL,o=e.className,a=e.style;o=o||"",a=a||{};var u=e.href,s=i.default.isExternal(u)?"_blank":"_top";return r.default.createElement("a",{href:u,style:a,target:s,className:o,onClick:function(e){(i.default.isRelative(u)||i.default.isInternal(u))&&(e.preventDefault(),n(u))}},e.children)}))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(6),n(32);var o=b(n(0)),i=b(n(220)),a=b(n(135)),u=n(38),s=b(n(573)),c=b(n(41)),l=b(n(178)),f=b(n(574)),d=b(n(576)),p=b(n(95)),h=n(27);function b(e){return e&&e.__esModule?e:{default:e}}function y(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}function x(e){var t=e.layout,n=e.leafLeftStyles,r=e.leafRightStyles;return t===h.layouts.SCROLL||c.default.isMobile()?null:o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"bber-leaf bber-leaf--left",style:n}),o.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:r}))}var E=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),O(_(e=r.call(this)),"state",{margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),O(_(e),"onResizeDone",(function(){e.props.updateDimensions(),e.updateTransform()})),O(_(e),"updateTransform",(function(t){var n=e.context.getTranslateX(t),r="translateX(".concat(n,"px) translate3d(0, 0, 0)");e.setState({transform:r})})),e.handleResize=(0,a.default)(e.onResizeDone,h.RESIZE_DEBOUNCE_TIMER,{}).bind(_(e)),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.props.updateDimensions(),this.updateTransform(),this.bindEventListeners()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.spreadIndex;this.updateTransform(t)}},{key:"componentWillUnmount",value:function(){this.unBindEventListeners()}},{key:"bindEventListeners",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"unBindEventListeners",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"layoutStyles",value:function(){var e=this.props.viewerSettings,t=e.width,n=e.height,r=e.columns,o=e.columnGap,i=e.paddingTop,a=e.paddingLeft,u=e.paddingRight,s=e.paddingBottom,c=this.state;return{width:t,height:n,columnGap:o,paddingTop:i,paddingLeft:a,paddingRight:u,paddingBottom:s,margin:c.margin,border:c.border,boxSizing:c.boxSizing,columns:r,columnFill:c.columnFill,transform:c.transform}}},{key:"leafStyles",value:function(e){var t,n=this.props.viewerSettings.transitionSpeed,r={},o=0;return o=this.context.getTranslateX(),"firefox"===l.default.name?("left"===e&&(o*=-1),O(t={},e,"".concat(o,"px")),O(t,"transition","".concat(e," ").concat(n,"ms ease 0s")),r=t):r={transform:"translateX(".concat(o*=-1,"px) translate3d(0, 0, 0)"),transition:"transform ".concat(n,"ms ease 0s")},r}},{key:"render",value:function(){var e,t=this.props.getFrameHeight(),n=this.props,r=n.spreadIndex,i=n.slug,a=n.layout,u=this.props.userInterface.enableTransitions,l=this.props.viewerSettings,f=l.transition,d=l.transitionSpeed,p=l.paddingLeft,b=l.paddingRight;e=a===h.layouts.SCROLL?"scroll":c.default.isMobile()?"mobile":"desktop";var y=v(v({},{padding:0,margin:0}),{},{minHeight:t}),m=(0,s.default)({transitionSpeed:d})[f],g=v(v({},this.layoutStyles()),m),w=v(v({},this.leafStyles("left")),{},{width:p}),_=v(v({},this.leafStyles("right")),{},{width:b});return u||(g=v(v({},g),{},{transition:"none"}),w=v(v({},w),{},{transition:"none"}),_=v(v({},_),{},{transition:"none"})),o.default.createElement("div",{id:"layout",style:g,className:"spread-index__".concat(r," context__").concat(e," ").concat(i)},o.default.createElement("div",{id:"content",style:y,ref:this.props.innerRef},o.default.createElement(this.props.BookContent,null)),o.default.createElement(x,{layout:a,leafLeftStyles:w,leafRightStyles:_}))}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component);O(E,"contextType",p.default),O(E,"propTypes",{viewerSettings:i.default.shape({paddingTop:i.default.number.isRequired,paddingLeft:i.default.number.isRequired,paddingBottom:i.default.number.isRequired,fontSize:i.default.string.isRequired,columnGap:i.default.number.isRequired,transition:i.default.string.isRequired,transitionSpeed:i.default.number.isRequired,theme:i.default.string.isRequired}).isRequired});var k=(0,u.connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((0,d.default)((0,f.default)(E)));t.default=k},function(e,t,n){"use strict";var r=n(571);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};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){var r=n(55);e.exports=function(){return r.Date.now()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27);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}t.default=function(e){var t,n=e.transitionSpeed;return o(t={},r.transitions.SLIDE,{transition:"transform ".concat(n,"ms ease")}),o(t,r.transitions.FADE,{}),t}},function(e,t,n){"use strict";n(28),n(29),n(33),n(37),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(6),n(19),n(575),n(69),n(3),n(7),n(1),n(8),n(2),n(4),n(5);var r=p(n(0)),o=n(38),i=n(59),a=p(n(135)),u=p(n(348)),s=n(93),c=n(179),l=p(n(178)),f=n(27),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==O(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(180));function p(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var x=function(e){if(null==e||!e.current)throw new Error("Cannot observe node:",e||O(e))};t.default=function(e){var t=null,n=null,p=0,g=function(o){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(_,o);var i,d,g=m(_);function _(){var e;b(this,_);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return S(w(e=g.call.apply(g,[this].concat(n))),"node",r.default.createRef()),e}return i=_,(d=[{key:"componentDidMount",value:function(){this.calculateNodePositionAfterResize=(0,a.default)(this.calculateNodePosition,f.RESIZE_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.calculateNodePositionAfterMutation=(0,a.default)(this.calculateNodePosition,f.MUTATION_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.observe()}},{key:"componentWillUnmount",value:function(){this.unobserve()}},{key:"connectResizeObserver",value:function(){x(this.node),(t=new u.default(this.calculateNodePositionAfterResize)).observe(this.node.current)}},{key:"connectMutationObserver",value:function(){x(this.node),(n=new window.MutationObserver(this.calculateNodePositionAfterMutation)).observe(this.node.current,{attributes:!0,subtree:!0,childList:!0})}},{key:"disconnectResizeObserver",value:function(){t.disconnect()}},{key:"disconnectMutationObserver",value:function(){n.disconnect()}},{key:"unobserveResizeObserver",value:function(){x(this.node),t.unobserve(this.node.current)}},{key:"unobserveMutationObserver",value:function(){x(this.node),n.disconnect(this.node.current)}},{key:"calculateNodePosition",value:function(){x(this.node);var e,t,n,r,o=this.props.columns,i=document.querySelector(".bber-ultimate"),a=this.props.viewerSettings.paddingLeft;n=this.props.getFrameHeight(),(0,s.isNumeric)(n)||(n=0);var u=this.props.getFrameWidth();if(("firefox"===l.default.name||"edge"===l.default.name&&/Windows/.test(window.navigator.userAgent))&&i){e=i.offsetLeft-this.props.getSingleColumnWidth();var f=(r=i.offsetLeft+i.offsetWidth+a)/(u+a),d=Math.round(10*(f+Number.EPSILON))/10;console.log(r,f,d),t=d-1,console.log("lastSpreadIndex",t)}else{var h=(e=Math.max(this.node.current.scrollHeight,this.node.current.offsetHeight,this.node.current.clientHeight))/n/2,b=Math.round(10*(h+Number.EPSILON))/10;t=Math.ceil(b)-1}(function(e,t,n,r){c.debug&&c.verboseOutput&&(console.group("Layout#connectResizeObserver"),console.log("lastSpreadIndex: %d; contentDimensions: %d; frameHeight %d; columns %d",e,t,n,r),console.groupEnd())})(t=t<0?0:t,e,n,o),p!==e||null==i?(p=e,this.node.current.style.display="none",this.node.current.style.display="block"):this.props.viewActions.updateLastSpreadIndex(t)}},{key:"observe",value:function(){this.connectResizeObserver(),this.connectMutationObserver()}},{key:"unobserve",value:function(){this.unobserveResizeObserver(),this.unobserveMutationObserver()}},{key:"disconnect",value:function(){this.disconnectResizeObserver(),this.disconnectMutationObserver()}},{key:"render",value:function(){return r.default.createElement(e,h({},this.props,{innerRef:this.node}))}}])&&y(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(r.default.Component);return(0,o.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(d,e)}}))(g)}},function(e,t,n){n(11)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19);var o=f(n(0)),i=n(59),a=n(38),u=f(n(41)),s=n(93),c=n(27),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(349));function f(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(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 h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.default=function(e){var t=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(a,t);var n,r,i=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}(a);function a(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o=function(e){return e?!1===/mobi/i.test(window.navigator.userAgent)?window.innerWidth:window.matchMedia("(orientation: landscape)").matches?window.screen.height:window.screen.width:window.innerWidth},(r="getWidth")in(n=y(t=i.call(this,e)))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.getFrameWidth=t.getFrameWidth.bind(y(t)),t.getFrameHeight=t.getFrameHeight.bind(y(t)),t.getSingleColumnWidth=t.getSingleColumnWidth.bind(y(t)),t.updateDimensions=t.updateDimensions.bind(y(t)),t}return n=a,(r=[{key:"UNSAFE_componentWillMount",value:function(){this.updateDimensions()}},{key:"updateDimensions",value:function(){var e=this.props.layout===c.layouts.SCROLL||u.default.isMobile(),t=this.getWidth(e),n=e?"auto":window.innerHeight,r=e?1:2;this.props.viewerSettingsActions.update({width:t,height:n,columns:r})}},{key:"getFrameHeight",value:function(){if(this.props.layout===c.layouts.SCROLL||u.default.isMobile())return"auto";var e=this.props.viewerSettings.height,t=this.props.viewerSettings,n=t.paddingTop,r=t.paddingBottom;return(0,s.isNumeric)(e)||(e=window.innerHeight),(e-=n)-r}},{key:"getFrameWidth",value:function(){var e=this.props.viewerSettings;return e.width-e.paddingLeft-e.paddingRight-e.columnGap}},{key:"getSingleColumnWidth",value:function(){return this.getFrameWidth()/2}},{key:"render",value:function(){return o.default.createElement(e,d({getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions},this.props))}}])&&p(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),a}(o.default.Component);return(0,a.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(l,e)}}))(t)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(37),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=p(n(0)),i=n(38),a=n(179),u=n(93),s=p(n(41)),c=n(106),l=p(n(350)),f=n(27),d=["viewerSettings","readerSettings","markers"];function p(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function b(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}var x=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}(i);function i(){var e;v(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return O(_(e=r.call.apply(r,[this].concat(n))),"state",{left:"0px",spreadPosition:0,recto:!1,verso:!1,elementEdgeLeft:0,unbound:!1}),O(_(e),"calculateSpreadOffset",(function(){var t=e.props.viewerSettings.height,n=e.props.viewerSettings,r=n.paddingTop+n.paddingBottom;t=(0,u.isNumeric)(t)?2*t-2*r:t,(0,u.isNumeric)(t)&&(t-=1),e.updateChildElementPositions()})),O(_(e),"updateChildElementPositions",(function(){var t=e.props["data-marker-reference"],n=e.props.markers[t];if(!n)return console.error("Cannot update child positions: No marker");var r=n.elementEdgeLeft,o=n.unbound,i=window.innerWidth,a=e.props.viewerSettings,u=i-a.paddingLeft-a.paddingRight+a.columnGap,c=Math.ceil(r/u),l=e.props.readerSettings.layout,d=0;s.default.isMobile()||l===f.layouts.SCROLL||(d=u*c,o&&(d=0)),d="".concat(d,"px"),e.setState({left:d,spreadPosition:c})})),e}return t=i,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker-reference"],n=e.markers[t];if(n){var r=n.recto,o=n.verso,i=n.elementEdgeLeft,a=n.unbound;r===this.state.recto&&o===this.state.verso&&i===this.state.elementEdgeLeft&&a===this.state.unbound||this.setState({recto:r,verso:o,elementEdgeLeft:i,unbound:a},this.updateChildElementPositions)}}},{key:"componentDidMount",value:function(){this.updateChildElementPositions()}},{key:"render",value:function(){var e=this.state.left,t=this.props["data-marker-reference"],n=this.props.markers[t];if(!n)return null;var r=this.state.spreadPosition,i=n.recto,u=n.unbound,s=this.props.viewerSettings.paddingLeft,f=this.props.readerSettings.layout,p=this.props,b=(p.viewerSettings,p.readerSettings,p.markers,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(p,d)),v={};return a.debug&&(v=y(y({},v),{background:"blue"})),o.default.createElement("div",h({},b,{id:"spread__".concat(t),style:v}),o.default.createElement(c.SpreadImageStyles,{recto:i,markerRefId:t,spreadPosition:r,paddingLeft:s,unbound:u,layout:f}),o.default.createElement(l.default.Provider,{value:{left:e,layout:f}},this.props.children))}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),E=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,markers:e.markers}}),(function(){return{}}))(x);t.default=E},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(1),n(33),n(17),n(3),n(30),n(14),n(16),n(35),n(2),n(4),n(15),n(5),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(28),n(29);var o=d(n(0)),i=n(38),a=n(59),u=n(93),s=d(n(41)),c=d(n(181)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(618)),f=n(27);function d(e){return e&&e.__esModule?e:{default:e}}function p(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 h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}d(n(178));var w=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var n=(t=r.call(this,e)).props["data-marker"];return n&&t.props.markerActions.update({recto:!1,verso:!1,elementEdgeLeft:0,markerId:n,unbound:!1}),t.calculateOffsetHeight=t.calculateOffsetHeight.bind(m(t)),t}return t=i,(n=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker"],n=e.recto,r=e.verso,o=e.elementEdgeLeft;!t||n===this.props.recto&&r===this.props.verso&&o===this.props.elementEdgeLeft||this.props.markerActions.update({markerId:t,recto:n,verso:r,elementEdgeLeft:o})}},{key:"componentDidUpdate",value:function(){var e=JSON.parse(this.props["data-unbound"]||"false"),t=this.props["data-marker"],n=this.props.markers[t],r=this.props,o=r.verso,i=r.recto;!n||i===n.recto&&o===n.verso&&e===n.unbound||this.props.markerActions.update({markerId:t,recto:i,verso:o,unbound:e})}},{key:"calculateOffsetHeight",value:function(){var e,t=0;if(null===(e=this.props.elemRef)||void 0===e||!e.current||s.default.isMobile()||this.props.readerSettings.layout===f.layouts.SCROLL)return t;var n=this.props.elemRef.current,r=this.props,o=r.verso,i=r.recto,a=this.props.viewerSettings,c=a.paddingTop,l=a.paddingBottom,d=(a.fontSize,this.props.viewerSettings.height),p=d-c-l,h=JSON.parse(this.props["data-unbound"]||"false"),b=JSON.parse(this.props["data-adjacent"]||"false");(0,u.isNumeric)(d)||(d=0),o&&(b?(t+=p,t+=p,t-=n.offsetHeight):(t+=p,t+=p,t-=n.offsetHeight,t-=Math.round(n.getBoundingClientRect().bottom-c),h||(t+=p,t+=p))),i&&(b?(t+=p,t+=p,t-=n.offsetHeight):(t+=p,t+=p,t-=n.offsetHeight,t+=p,t-=Math.round(n.getBoundingClientRect().top),t+=c)),t=Math.floor(t);var y=parseFloat(window.getComputedStyle(n).fontSize);return t-Math.floor(1.5*y)}},{key:"render",value:function(){var e=this.props,t=e.verso,n=e.recto,r={height:this.calculateOffsetHeight(),display:"block"},i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.style);return o.default.createElement("span",null,o.default.createElement("span",{"data-verso":t,"data-recto":n,"data-index":this.props["data-index"],"data-final":this.props["data-final"],style:i,className:this.props.className,ref:this.props.elemRef}),o.default.createElement("span",{className:"bber-marker__spacer",style:r}))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),_=(0,i.connect)((function(e){return{markers:e.markers}}),(function(e){return{markerActions:(0,a.bindActionCreators)(l,e)}}))((0,c.default)(w,{isMarker:!0}));t.default=_},function(e,t,n){var r=n(354),o=n(229),i=n(136);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var s=r(n,3);t=i(t),n=function(e){return s(u[e],e,u)}}var c=e(t,n,a);return c>-1?u[s?t[c]:c]:void 0}}},function(e,t,n){var r=n(581),o=n(607),i=n(364);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(221),o=n(355);e.exports=function(e,t,n,i){var a=n.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=n[a])[0],f=e[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var h=i(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},function(e,t,n){var r=n(172);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(172),o=n(215),i=n(214);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(221),o=n(356),i=n(593),a=n(596),u=n(183),s=n(56),c=n(224),l=n(362),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,h,b){var y=s(e),v=s(t),m=y?"[object Array]":u(e),g=v?"[object Array]":u(t),w=(m="[object Arguments]"==m?f:m)==f,_=(g="[object Arguments]"==g?f:g)==f,S=m==g;if(S&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(S&&!w)return b||(b=new r),y||l(e)?o(e,t,n,p,h,b):i(e,t,m,n,p,h,b);if(!(1&n)){var O=w&&d.call(e,"__wrapped__"),x=_&&d.call(t,"__wrapped__");if(O||x){var E=O?e.value():e,k=x?t.value():t;return b||(b=new r),h(E,k,n,p,b)}}return!!S&&(b||(b=new r),a(e,t,n,p,h,b))}},function(e,t,n){var r=n(214),o=n(589),i=n(590);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=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),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(104),o=n(357),i=n(174),a=n(356),u=n(594),s=n(595),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=u;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var b=d.get(e);if(b)return b==t;r|=2,d.set(e,t);var y=a(p(e),p(t),r,c,f,d);return d.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},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(358),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var s=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in t:o.call(t,d)))return!1}var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var b=!0;u.set(e,t),u.set(t,e);for(var y=s;++f<l;){var v=e[d=c[f]],m=t[d];if(i)var g=s?i(m,v,d,t,e,u):i(v,m,d,e,t,u);if(!(void 0===g?v===m||a(v,m,n,i,u):g)){b=!1;break}y||(y="constructor"==d)}if(b&&!y){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(b=!1)}return u.delete(e),u.delete(t),b}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},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){e.exports=function(){return!1}},function(e,t,n){var r=n(103),o=n(217),i=n(79),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 i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(228),o=n(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(325)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(94)(n(55),"DataView");e.exports=r},function(e,t,n){var r=n(94)(n(55),"Promise");e.exports=r},function(e,t,n){var r=n(94)(n(55),"Set");e.exports=r},function(e,t,n){var r=n(94)(n(55),"WeakMap");e.exports=r},function(e,t,n){var r=n(363),o=n(136);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(355),o=n(609),i=n(610),a=n(213),u=n(363),s=n(364),c=n(134);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},function(e,t,n){var r=n(230);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(611),o=n(340);e.exports=function(e,t){return null!=e&&o(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(613),o=n(614),i=n(213),a=n(134);e.exports=function(e){return i(e)?r(a(e)):o(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(230);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(218);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaSmall=t.mediaLarge=void 0;var r=n(179);t.mediaLarge=function(){return[{selector:".figure__fullbleed figure,\n .spread .spread__content",declarations:["opacity: ".concat(r.debug?.8:1),"top: 0","z-index: 11","height: 100vh","position: absolute","width: 100vw"]},{selector:".figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video",declarations:["opacity: ".concat(r.debug?.4:1),"position: absolute","object-fit: contain","width: 100%!important","max-width: 100%","max-height: 100%!important","height: 100%","top: 0","left: 0","bottom: 0","right: 0"]}]},t.mediaSmall=function(){return[{selector:".figure__fullbleed figure .spread .spread__content",declarations:["z-index: 11","width: 100vw","position: relative"]},{selector:".figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video",declarations:["opacity: ".concat(r.debug?.4:1),"object-fit: contain","width: 100%!important","max-width: 100%","max-height: 100%!important","height: 100%","top: 0","left: 0","bottom: 0","right: 0"]}]}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(344));t.update=function(e){return{type:o.UPDATE,payload:e}}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(109),n(3),n(7),n(8),n(110),n(111),n(112),n(113),n(16),n(6),n(26),n(15),n(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(370),n(2),n(1),n(4),n(5),n(88),n(69);var o=j(n(0)),i=n(59),a=n(38),u=k(n(182)),s=k(n(135)),c=k(n(634)),l=n(106),f=k(n(90)),d=k(n(66)),p=k(n(635)),h=k(n(95)),b=k(n(41)),y=n(57),v=n(27),m=j(n(180)),g=j(n(349)),w=j(n(373)),_=j(n(204)),S=j(n(219)),O=n(639),x=n(640),E=n(641);function k(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function T(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */T=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(E([])));v&&v!==t&&n.call(v,i)&&(b=v);var m=h.prototype=d.prototype=Object.create(b);function g(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=h,s(m,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),s(m,u,"Generator"),s(m,i,(function(){return this})),s(m,"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=E,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),O(n),f}},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 o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function A(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function C(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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return I(e)}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(){return o.default.createElement("div",{key:"book-content"},E.book.content)}var U=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}(p,e);var t,n,r,i,a=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),M(I(t=a.call(this,e)),"closeSidebars",(function(){return t.setState({showSidebar:null})})),M(I(t),"freeze",(function(){t.props.viewActions.unload(),t.props.viewActions.updateLastSpreadIndex(-1),t.props.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),t.setState({showSidebar:null})})),M(I(t),"handleSidebarButtonClick",(function(e){var n=t.state.showSidebar;n=e===n?null:e,t.setState({showSidebar:n})})),M(I(t),"getTranslateX",(function(e){var n=(0,y.unlessDefined)(e,t.state.spreadIndex),r=t.props.viewerSettings,o=r.width,i=r.paddingLeft,a=r.paddingRight,u=r.columnGap,s=0;return t.props.readerSettings.layout===v.layouts.SCROLL||b.default.isMobile()||(s=0==(s=(o-i-a+u)*n*-1)&&-1===Math.sign(1/s)?0:s),s})),M(I(t),"destroyReaderComponent",(function(){t.props.readerSettingsActions.updateSettings({bookURL:""})})),t.state={__metadata:[],__spine:[],__guide:[],opsURL:"",spine:[],guide:[],metadata:[],spineItemURL:"",currentSpineItem:null,currentSpineItemIndex:0,cache:t.props.cache,spreadIndex:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,delta:0,showSidebar:null,disableMobileResizeEvents:"ontouchstart"in document.documentElement},t.handlePageNavigation=O.handlePageNavigation.bind(I(t)),t.handleChapterNavigation=O.handleChapterNavigation.bind(I(t)),t.navigateToSpreadByIndex=O.navigateToSpreadByIndex.bind(I(t)),t.navigateToElementById=O.navigateToElementById.bind(I(t)),t.navigateToChapterByURL=O.navigateToChapterByURL.bind(I(t)),t.updateQueryString=O.updateQueryString.bind(I(t)),t.savePosition=O.savePosition.bind(I(t)),t.debounceResizeSpeed=400,t.resizeEndTimer=null,t.bindResizeHandlers=x.bindResizeHandlers.bind(I(t)),t.unbindResizeHandlers=x.unbindResizeHandlers.bind(I(t)),t.handleResize=x.handleResize.bind(I(t)),t.handleResizeStart=x.handleResizeStart.bind(I(t)),t.handleResizeEnd=x.handleResizeEnd.bind(I(t)),t.handleResizeStart=(0,s.default)(t.handleResizeStart,t.debounceResizeSpeed,{leading:!0,trailing:!1}).bind(I(t)),t.handleResizeEnd=(0,s.default)(t.handleResizeEnd,t.debounceResizeSpeed,{leading:!1,trailing:!0}).bind(I(t)),t.createStateFromOPF=E.createStateFromOPF.bind(I(t)),t.showSpineItem=E.showSpineItem.bind(I(t)),t.loadSpineItem=E.loadSpineItem.bind(I(t)),t}return t=p,(n=[{key:"UNSAFE_componentWillMount",value:(r=T().mark((function e(){var t=this;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.createStateFromOPF((function(){var e=t.state.spine,n=t.props,r=n.readerSettings,o=n.readerLocation,i=new URLSearchParams(o.searchParams),a=Number(i.get(r.searchParamKeys.currentSpineItemIndex)),u=e[a];u?t.setState({currentSpineItem:u,currentSpineItemIndex:a,spreadIndex:0},(function(){return t.loadSpineItem(u)})):t.loadSpineItem()}));case 1:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){A(i,n,o,a,u,"next",e)}function u(e){A(i,n,o,a,u,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var e=f.default.createHash(this.props.readerSettings.bookURL);f.default.removeBookStyles(e),this.bindResizeHandlers()}},{key:"componentDidMount",value:function(){this.unbindResizeHandlers()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.view,n=t.loaded,r=t.lastSpreadIndex,o=t.pendingDeferredCallbacks,i=this.props.readerLocation.searchParams,a=e.readerLocation.searchParams;if(a!==i){var s=d.default.parseQueryString(a),c=s[this.props.readerSettings.searchParamKeys.slug],l=Number(s[this.props.readerSettings.searchParamKeys.currentSpineItemIndex]),f=Number(s[this.props.readerSettings.searchParamKeys.spreadIndex]),p=d.default.parseQueryString(i)[this.props.readerSettings.searchParamKeys.slug];if(p&&c&&p!==c){var h=(0,u.default)(this.state.spine,{slug:c});return void this.loadSpineItem(h)}this.setState({slug:c,currentSpineItemIndex:l,spreadIndex:f})}n&&-1!==r&&!0===o&&this.props.requestDeferredCallbackExecution()}},{key:"getSlug",value:function(){var e,t=this.state,n=t.spine,r=t.currentSpineItemIndex;return(0,c.default)(r)&&null!=n&&null!==(e=n[r])&&void 0!==e&&e.slug?n[r].slug:""}},{key:"render",value:function(){var e=this.props,t=e.downloads,n=e.uiOptions,r=e.view,i=e.layout,a=e.style,u=e.className,s=this.state,c=s.metadata,f=s.guide,d=s.spine,p=s.currentSpineItemIndex,b=s.showSidebar,y=s.lastSpread,v=s.spreadIndex,m=this.getSlug();return o.default.createElement(l.Controls,{guide:f,spine:d,currentSpineItemIndex:p,metadata:c,showSidebar:b,spreadIndex:v,lastSpreadIndex:r.lastSpreadIndex,handlePageNavigation:this.handlePageNavigation,destroyReaderComponent:this.destroyReaderComponent,handleChapterNavigation:this.handleChapterNavigation,handleSidebarButtonClick:this.handleSidebarButtonClick,navigateToChapterByURL:this.navigateToChapterByURL,downloads:t,uiOptions:n,layout:i},o.default.createElement(h.default.Provider,{value:{lastSpread:y,spreadIndex:v,getTranslateX:this.getTranslateX,navigateToChapterByURL:this.navigateToChapterByURL}},o.default.createElement(l.Frame,{slug:m,spreadIndex:v,lastSpreadIndex:r.lastSpreadIndex,BookContent:D,layout:i,view:r,style:a,className:u})),o.default.createElement(l.Spinner,null))}}])&&C(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.Component),F=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,readerLocation:e.readerLocation,view:e.view,userInterface:e.userInterface}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(g,e),readerSettingsActions:(0,i.bindActionCreators)(w,e),readerLocationActions:(0,i.bindActionCreators)(_,e),viewActions:(0,i.bindActionCreators)(m,e),userInterfaceActions:(0,i.bindActionCreators)(S,e)}}))((0,p.default)(U));t.default=F},function(e,t,n){"use strict";var r,o,i,a=n(11),u=n(62),s=n(231),c=n(13),l=n(20),f=n(40),d=n(86),p=n(54),h=n(163),b=n(53),y=n(21),v=n(24),m=n(78),g=n(165),w=n(184).set,_=n(621),S=n(624),O=n(232),x=n(625),E=n(44),k=n(137),P=n(138),j=n(139),T=P.CONSTRUCTOR,A=P.REJECTION_EVENT,C=P.SUBCLASSING,L=E.getterFor("Promise"),R=E.set,I=k&&k.prototype,N=k,M=I,D=c.TypeError,U=c.document,F=c.process,B=j.f,z=B,q=!!(U&&U.createEvent&&c.dispatchEvent),W=function(e){var t;return!(!v(e)||!y(t=e.then))&&t},H=function(e,t){var n,r,o,i=t.value,a=1==t.state,u=a?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(a||(2===t.rejection&&$(t),t.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===e.promise?c(D("Promise-chain cycle")):(r=W(n))?l(r,n,s,c):s(n)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},V=function(e,t){e.notified||(e.notified=!0,_((function(){for(var n,r=e.reactions;n=r.get();)H(n,e);e.notified=!1,t&&!e.rejection&&K(e)})))},G=function(e,t,n){var r,o;q?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!A&&(o=c["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},K=function(e){l(w,c,(function(){var t,n=e.facade,r=e.value;if(Y(e)&&(t=O((function(){s?F.emit("unhandledRejection",r,n):G("unhandledrejection",n,r)})),e.rejection=s||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},$=function(e){l(w,c,(function(){var t=e.facade;s?F.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},X=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,V(e,!0))},Z=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw D("Promise can't be resolved itself");var r=W(t);r?_((function(){var n={done:!1};try{l(r,t,Q(Z,n,e),Q(X,n,e))}catch(t){X(n,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){X({done:!1},t,e)}}};if(T&&(M=(N=function(e){m(this,M),b(e),l(r,this);var t=L(this);try{e(Q(Z,t),Q(X,t))}catch(e){X(t,e)}}).prototype,(r=function(e){R(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:void 0})}).prototype=f(M,"then",(function(e,t){var n=L(this),r=B(g(this,N));return n.parent=!0,r.ok=!y(e)||e,r.fail=y(t)&&t,r.domain=s?F.domain:void 0,0==n.state?n.reactions.add(r):_((function(){H(r,n)})),r.promise})),o=function(){var e=new r,t=L(e);this.promise=e,this.resolve=Q(Z,t),this.reject=Q(X,t)},j.f=B=function(e){return e===N||void 0===e?new o(e):z(e)},!u&&y(k)&&I!==Object.prototype)){i=I.then,C||f(I,"then",(function(e,t){var n=this;return new N((function(e,t){l(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}d&&d(I,M)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:N}),p(N,"Promise",!1,!0),h("Promise")},function(e,t,n){var r,o,i,a,u,s,c,l,f=n(13),d=n(68),p=n(71).f,h=n(184).set,b=n(368),y=n(622),v=n(623),m=n(231),g=f.MutationObserver||f.WebKitMutationObserver,w=f.document,_=f.process,S=f.Promise,O=p(f,"queueMicrotask"),x=O&&O.value;x||(r=function(){var e,t;for(m&&(e=_.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b||m||v||!g||!w?!y&&S&&S.resolve?((c=S.resolve(void 0)).constructor=S,l=d(c.then,c),a=function(){l(r)}):m?a=function(){_.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(u=!0,s=w.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(73),o=n(13);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},function(e,t,n){var r=n(73);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(13);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){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(53),a=n(139),u=n(232),s=n(128);r({target:"Promise",stat:!0,forced:n(369)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=u((function(){var n=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(n,t,e).then((function(e){s||(s=!0,a[i]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(62),i=n(138).CONSTRUCTOR,a=n(137),u=n(50),s=n(21),c=n(40),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&s(a)){var f=u("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(53),a=n(139),u=n(232),s=n(128);r({target:"Promise",stat:!0,forced:n(369)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(20),i=n(139);r({target:"Promise",stat:!0,forced:n(138).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},function(e,t,n){"use strict";var r=n(11),o=n(50),i=n(62),a=n(137),u=n(138).CONSTRUCTOR,s=n(632),c=o("Promise"),l=i&&!u;r({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},function(e,t,n){var r=n(31),o=n(24),i=n(139);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},function(e,t,n){var r=n(367);e.exports=function(e){return"number"==typeof e&&e==r(e)}},function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(37),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(636),n(1),n(16);var o=f(n(0)),i=n(59),a=n(38),u=f(n(135)),s=f(n(107)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(180)),l=n(27);function f(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}t.default=function(t){var n=[],r=function(r){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(f,r);var i,a,c=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}(f);function f(){var t;p(this,f);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return g(v(t=c.call.apply(c,[this].concat(o))),"registerDeferredCallback",(function(e){if(!e)throw new Error("No callback provided");n.push(e),t.props.viewActions.queueDeferredCallbacks()})),g(v(t),"deRegisterDeferredCallback",(function(){n=[],e((function(){return t.props.viewActions.dequeueDeferredCallbacks()}))})),g(v(t),"requestDeferredCallbackExecution",(0,u.default)((function(){return s.default.sendDeferredEvent(),t.callDeferred()}),l.DEFERRED_CALLBACK_TIMER,{leading:!1,trailing:!0})),g(v(t),"callDeferred",(function(){n.forEach((function(e){return e()})),t.deRegisterDeferredCallback()})),t}return i=f,(a=[{key:"render",value:function(){return o.default.createElement(t,d({registerDeferredCallback:this.registerDeferredCallback,deRegisterDeferredCallback:this.deRegisterDeferredCallback,requestDeferredCallbackExecution:this.requestDeferredCallbackExecution,callDeferred:this.callDeferred},this.props))}}])&&h(i.prototype,a),Object.defineProperty(i,"prototype",{writable:!1}),f}(o.default.Component);return(0,a.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(c,e)}}))(r)}}).call(this,n(371).setImmediate)},function(e,t,n){n(637),n(638)},function(e,t,n){var r=n(11),o=n(13),i=n(184).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,n){var r=n(11),o=n(13),i=n(184).set;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleChapterNavigation=function(e){var t=this,n=this.state.currentSpineItemIndex,r=this.state.spine,o=n+e,i=o<0,a=o>r.length-1;if(i||a)this.setState({firstChapter:i,lastChapter:a},(function(){return u.default.sendPaginationEvent(t.state)}));else{n=o;var s=r[o],c=function(e){return function(){var o=t.props.view.lastSpreadIndex,s=0===o,c=e;a=n===r.length-1,t.setState({firstChapter:i,lastChapter:a,firstSpread:!0,lastSpread:s,spreadDelta:c},(function(){-1===e&&t.navigateToSpreadByIndex(o),t.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),u.default.sendPaginationEvent(t.state)}))}};c=c(e),this.setState({spreadIndex:0,currentSpineItem:s,currentSpineItemIndex:n,showSidebar:null,firstChapter:i,lastChapter:a},(function(){t.loadSpineItem(s,c),t.savePosition()}))}},t.handlePageNavigation=function(e){var t=this,n=this.state.spreadIndex,r=this.props.view.lastSpreadIndex,o=n+e;if(o>r||o<0){var i=Math.sign(e);this.handleChapterNavigation(i)}else{var a=0===o,s=o===r,c=o>n?1:-1;n=o,this.setState({spreadIndex:n,firstSpread:a,lastSpread:s,spreadDelta:c,showSidebar:null},(function(){t.updateQueryString(),u.default.sendPaginationEvent(t.state)}))}},t.navigateToChapterByURL=function(e){var t,n=this,o=this.state.spine,i=new window.URL(e),a="".concat(i.origin).concat(i.pathname),u=i.hash;u&&(t=function(){n.navigateToElementById(u),n.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})});var s=(0,r.default)(o,{absoluteURL:a});if(s===this.state.currentSpineItemIndex)return this.closeSidebars();if(s<0)console.warn("No spine item found for ".concat(a));else{var c=o[s];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:c,currentSpineItemIndex:s,spreadIndex:0},(function(){n.loadSpineItem(c,t),n.savePosition()}))}},t.navigateToElementById=function(e){var t=document.querySelector(e);if(!t)return console.warn("Could not find element ".concat(e));if(this.props.readerSettings.layout===o.layouts.SCROLL||a.default.isMobile()){var n=document.querySelector(".bber-controls__header").offsetHeight+25,r=t.offsetTop-n;document.getElementById("frame").scrollTo(0,r)}var i=this.props.viewerSettings,u=i.paddingTop,s=i.paddingBottom,c=i.columnGap,l=window.innerHeight,f=Math.round(l-u-s),d=t.offsetLeft-c,p=Math.floor(d/f/2);this.setState({spreadIndex:p},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){var e=this.state,t=e.currentSpineItemIndex,n=e.spreadIndex,r=this.props.readerSettings.searchParamKeys,o=new URLSearchParams;o.set(r.currentSpineItemIndex,t),o.set(r.spreadIndex,n);var i={searchParams:o.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){var t=this.state,n=t.spreadIndex,r=t.currentSpineItem,o=t.currentSpineItemIndex,a=r.slug,u=this.props.readerLocation.searchParams,s=new window.URLSearchParams(u);s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.slug),i.default.queryStringValue(a)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),i.default.queryStringValue(o)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),i.default.queryStringValue(n));var c={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(c),e&&e()},n(370),n(2),n(1),n(4),n(5),n(164),n(88),n(32),n(87);var r=s(n(366)),o=n(27),i=s(n(66)),a=s(n(41)),u=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindResizeHandlers=function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("resize",this.handleResizeStart),window.removeEventListener("resize",this.handleResizeEnd),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)},t.handleResize=function(){if(!this.state.disableMobileResizeEvents){var e=new r.ViewerSettings;this.props.viewerSettingsActions.update(e.get())}},t.handleResizeEnd=function(){var e=this;if(!this.state.disableMobileResizeEvents){var t=this.state,n=t.spreadIndex,r=t.relativeSpreadPosition,o=this.props.view.lastSpreadIndex;if(o<0)return window.clearTimeout(this.resizeEndTimer),void(this.resizeEndTimer=setTimeout((function(){return e.handleResizeEnd()}),200));var i=n*r;i=(i=i<1?0:i)>o?o:i,this.navigateToSpreadByIndex(i),this.props.userInterfaceActions.hideSpinner()}},t.handleResizeStart=function(){var e=this;if(!this.state.disableMobileResizeEvents){var t=this.state.spreadIndex,n=this.props.view.lastSpreadIndex,r=0;t>0&&n>0&&(r=t/n),this.setState({relativeSpreadPosition:r},(function(){e.props.viewActions.unload(),e.props.viewActions.updateLastSpreadIndex(-1),e.props.userInterfaceActions.disablePageTransitions(),e.props.userInterfaceActions.showSpinner()}))}},t.unbindResizeHandlers=function(){window.addEventListener("resize",this.handleResize),window.addEventListener("resize",this.handleResizeStart),window.addEventListener("resize",this.handleResizeEnd),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)};var r=n(133)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(7),n(8),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(16),n(35),n(110),n(111),n(112),n(113),n(29),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.book=void 0,t.createStateFromOPF=function(e){return g.apply(this,arguments)},t.loadSpineItem=function(e,t){return w.apply(this,arguments)},t.showSpineItem=function(){var e=this,t=this.state,n=t.spine,r=t.spreadIndex,o=t.currentSpineItemIndex,i=this.props.view.lastSpreadIndex,a=0===o,u=o===n.length-1,c=0===r,l=r===i;this.setState({firstChapter:a,lastChapter:u,firstSpread:c,lastSpread:l},(function(){e.savePosition(),e.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),s.default.sendPaginationEvent(e.state)}))},n(1),n(109),n(2),n(4),n(5);var o=c(n(90)),i=c(n(185)),a=c(n(168)),u=c(n(661)),s=c(n(107));function c(e){return e&&e.__esModule?e:{default:e}}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function h(){}function b(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==t&&n.call(m,i)&&(y=m);var g=b.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){l.value=e,u(l)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,s(g,"constructor",b),s(b,"constructor",h),h.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):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),d},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),x(n),d}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function f(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var m={content:null};function g(){return(g=v(l().mark((function e(t){var n,r,o,a,s,c,f,p,b,y;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.readerSettings.bookURL,r=u.default.opfURL(n),o=u.default.opsURL(n),e.next=5,i.default.get(r);case 5:return a=e.sent,e.next=8,u.default.parseOPF(a);case 8:return a=e.sent,e.next=11,u.default.parseNCX(a,o);case 11:return a=e.sent,e.next=14,Promise.all([u.default.createGuideItems(a),u.default.createSpineItems(a)]);case 14:return f=e.sent,p=h(f,2),s=p[0],c=p[1],a=d(d({},s),c),e.next=21,Promise.all([u.default.udpateGuideItemURLs(a,o),u.default.udpateSpineItemURLs(a,o)]);case 21:return b=e.sent,y=h(b,2),s=y[0],c=y[1],a=d(d({},s),c),e.next=28,u.default.createBookMetadata(a);case 28:a=e.sent,this.setState(d({opsURL:o},a),t);case 30:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function w(){return(w=v(l().mark((function e(t,n){var r,s,c,f,d,p,b,y,v,g,w,_,S,O,x=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.default.createHash(this.props.readerSettings.bookURL),(s=t)||(c=h(this.state.spine,1),s=c[0]),this.freeze(),e.prev=4,d=this.state,p=d.cache,b=d.opsURL,e.next=8,i.default.get(s.absoluteURL);case 8:return y=e.sent,v=y.data,g=y.request,e.next=13,u.default.parseSpineItemResponse({data:v,hash:r,cache:p,opsURL:b,request:g,requestedSpineItem:s,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap});case 13:f=e.sent,e.next=23;break;case 16:return e.prev=16,e.t0=e.catch(4),console.error(e.t0),delete(w=a.default.get()||{})[r],a.default.set(w),e.abrupt("return");case 23:S=(_=f).bookContent,O=_.scopedCSS,m.content=S,o.default.appendBookStyles(O,r),this.setState({currentSpineItem:s,spineItemURL:s.absoluteURL},(function(){return x.updateQueryString((function(){return x.props.registerDeferredCallback(n||x.showSpineItem)}))}));case 27:case"end":return e.stop()}}),e,this,[[4,16]])})))).apply(this,arguments)}t.book=m},function(e,t,n){e.exports=n(643)},function(e,t,n){"use strict";var r=n(51),o=n(374),i=n(644),a=n(380);function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var s=u(n(233));s.Axios=i,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=n(381),s.CancelToken=n(658),s.isCancel=n(379),s.all=function(e){return Promise.all(e)},s.spread=n(659),s.isAxiosError=n(660),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(51),o=n(375),i=n(645),a=n(646),u=n(380),s=n(656),c=s.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var r=n(51);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(51),o=n(647),i=n(379),a=n(233);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,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 u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(51),o=n(233);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},function(e,t,n){"use strict";var r=n(51);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(378);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var r=n(51);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.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(652),o=n(653);e.exports=function(e,t){return e&&!r(t)?o(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(51),o=["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,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.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(51);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(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=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(657),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function u(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&u(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,u){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,u)}},e.exports={isOlderVersion:u,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(e){e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(e,t,n){"use strict";var r=n(381);function o(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))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(3),n(14),n(35),n(7),n(8),n(110),n(111),n(112),n(113),n(29),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(109),n(6),n(47),n(19),n(80),n(30),n(16),n(26),n(17),n(92),n(212),n(36),n(4),n(32),n(2),n(5);var o=m(n(662)),i=m(n(169)),a=n(389),u=m(n(182)),s=n(733),c=m(n(775)),l=m(n(798)),f=m(n(803)),d=m(n(66)),p=m(n(185)),h=m(n(814)),b=n(133),y=n(815),v=m(n(816));function m(e){return e&&e.__esModule?e:{default:e}}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(k([])));v&&v!==t&&n.call(v,i)&&(b=v);var m=h.prototype=d.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=h,s(m,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(m),s(m,u,"Generator"),s(m,i,(function(){return this})),s(m,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function w(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r,m;return t=e,(n=[{key:"opfURL",value:function(e){var t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",window.encodeURI(t)}},{key:"opsURL",value:function(e){var t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",window.encodeURI(t)}},{key:"parseOPF",value:function(e){return new Promise((function(t){for(var n=JSON.parse(o.default.xml2json(e.data)).elements[0].elements,r={},i=0;i<n.length;i++)r["__".concat(n[i].name)]=n[i];t(r)}))}},{key:"parseNCX",value:function(e,t){var n=e.__manifest,r=e.__spine;return new Promise((function(i){var a=r.attributes.toc;if(a){var s=(0,u.default)(n.elements,(function(e){return e.attributes.id===a}));if(s){var c=s.attributes.href;p.default.get(d.default.resolveRelativeURL(t,c)).then((function(t){var n=t.data;i(S(S({},e),{},{__ncx:JSON.parse(o.default.xml2json(n))}))}))}else i(S(S({},e),{},{__ncx:null}))}else i(S(S({},e),{},{__ncx:null}))}))}},{key:"createSpineItems",value:function(t){var n=t.__manifest,r=t.__spine,o=t.__ncx,i=t.__guide;return new Promise((function(a){var s;if(s=(s=r.elements.map((function(e){var t=e.attributes,r=t.idref,o=t.linear,a=(0,u.default)(n.elements,(function(e){return e.attributes.id===r}));if(!a||"yes"!==o)return null;var s=a.attributes,c=s.id,l=s.href,f=a.attributes["media-type"],p=a.attributes.properties?a.attributes.properties.split(" "):[],h=(0,u.default)(i.elements,(function(e){return e.attributes.href===l})),y="",v="";return h&&(y=h.attributes.title,v=d.default.slug(y)),new b.SpineItem({id:c,href:l,mediaType:f,properties:p,idref:r,linear:o,title:y,slug:v})}))).filter(Boolean),o){var c=o.elements[0].elements;(0,u.default)(c,{name:"navMap"}).elements.forEach((function(t){return e.parseNavPoints(s,n,t)}))}a(S(S({},t),{},{spine:s}))}))}},{key:"createGuideItems",value:function(e){var t=e.__guide;return new Promise((function(n){if(t.elements&&t.elements.length){var r=t.elements.map((function(e){var t=e.attributes,n=t.type,r=t.title,o=t.href;return new b.GuideItem({type:n,title:r,href:o})}));n(S(S({},e),{},{guide:r}))}else n(S(S({},e),{},{guide:[]}))}))}},{key:"udpateSpineItemURLs",value:function(e,t){return new Promise((function(n){var r=e.spine;r.map((function(e){return e.absoluteURL=d.default.resolveRelativeURL(t,e.href)})),n(S(S({},e),{},{spine:r}))}))}},{key:"udpateGuideItemURLs",value:function(e,t){return new Promise((function(n){var r=e.guide;r.map((function(e){return e.absoluteURL=d.default.resolveRelativeURL(t,e.href)})),n(S(S({},e),{},{guide:r}))}))}},{key:"parseNavPoints",value:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=(0,u.default)(r.elements,{name:"content"});if(a){var s=a.attributes.src;s=d.default.ensureDecodedURL(s);var c=(0,u.default)(n.elements,(function(e){return d.default.ensureDecodedURL(e.attributes.href)===s}));if(!c)return console.error("Could not find manifest item: ".concat(s));var l=c.attributes.id,f=(0,u.default)(t,{id:l});if(!f)return console.error("Can not find spine item: ".concat(l));var p=(0,u.default)(r.elements,{name:"navLabel"}),h=(0,u.default)(p.elements,{name:"text"}),b=(0,u.default)(h.elements,{type:"text"}).text,y=d.default.slug(b);f.title||f.set("title",b),f.slug||f.set("slug",y),f.set("depth",o),f.set("inTOC",!0),i&&i.addChild(f);var v=o+1;r.elements.forEach((function(r){return e.parseNavPoints(t,n,r,v,f)}))}}},{key:"createBookMetadata",value:function(e){var t=e.__metadata.elements.filter((function(e){return/^dc:/.test(e.name)})).map((function(e){return O({},e.name.slice(3),e.elements[0].text)}));return new Promise((function(n){var r=new b.BookMetadata({});t.forEach((function(e,n){var o=Object.keys(t[n]);(0,i.default)(r,o)&&r.set(o,e[o])})),n(S(S({},e),{},{metadata:r}))}))}},{key:"createScopedCSS",value:function(e,t,n){var r="";return e.forEach((function(e){var o=e.base,i=e.data,a=d.default.resolveRelativeURL(n,o),u=(0,c.default)(i);(0,l.default)(u,{enter:function(e,n,r){var o,i=s.List.createItem({name:t,type:"ClassSelector"}),u=s.List.createItem({type:"WhiteSpace",value:" "});r&&"TypeSelector"===e.type&&"html"===e.name&&(e.name=t,e.type="ClassSelector"),r&&"TypeSelector"===e.type&&"body"===e.name&&(e.name="content",e.type="IdSelector"),!r||e.name===t||r.head.data.name===t||"TypeSelector"!==e.type&&"IdSelector"!==e.type&&"ClassSelector"!==e.type&&"AttributeSelector"!==e.type||(r.prepend(u),r.prepend(i)),"Url"===e.type&&(o=e.value.replace(/(?:^['"]+|['"]+$)/g,""),d.default.isRelative(o)&&(o=d.default.resolveRelativeURL(a,o),e.value=o))}}),r+=(0,f.default)(u)})),r}},{key:"parseSpineItemResponse",value:(r=g().mark((function t(n){var r,o,i,u,s,c,l,f,b,m,w,_,S,O,x,E,k,P,j,T,A,C;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.request.responseURL,o=n.hash,i=n.opsURL,u=n.paddingLeft,s=n.columnGap,c=n.cache,l=new a.Parser,f=new v.default({paddingLeft:u,columnGap:s,responseURL:r}),b=f.parseXML(n.data),m=b.xml,w=b.doc,_=/<body[^>]*?>([\s\S]*)<\/body>/,S=(S=(S=m.match(_))[1]).replace(/>\s*?</g,"><"),O=l.parseWithInstructions(S,y.isValidNode,(0,y.processingInstructions)(n)),x=Array.from(w.querySelectorAll("link")),E=Array.from(w.querySelectorAll("style")),k=x.reduce((function(e,t){if("stylesheet"!==t.rel)return e;var n=d.default.trimFilenameFromResponse(r),o=d.default.trimSlashes(t.getAttribute("href")),i=d.default.resolveRelativeURL(n,o);return e.concat({url:i,base:n})}),[]),P=k.map((function(e){var t=e.url,n=e.base;return new Promise((function(e){p.default.get(t).then((function(r){c&&(console.log("No CSS cache - setting cache for %s",t),h.default.set(t,r.data)),e({base:n,data:r.data})}))}))})),t.next=16,Promise.all(P);case 16:return j=t.sent,T=E.reduce((function(e,t){var n=t.textContent;if(!n)return e;var o=d.default.trimFilenameFromResponse(r);return e.concat({base:o,data:n})}),j),A="_".concat(o),C=e.createScopedCSS(T,A,i),t.abrupt("return",{bookContent:O,scopedCSS:C});case 21:case"end":return t.stop()}}),t)})),m=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){w(i,n,o,a,u,"next",e)}function u(e){w(i,n,o,a,u,"throw",e)}a(void 0)}))},function(e){return m.apply(this,arguments)})}])&&x(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=E},function(e,t,n){var r=n(382),o=n(677),i=n(388),a=n(678);e.exports={xml2js:r,xml2json:o,js2xml:i,json2xml:a}},function(e,t,n){(function(e){!function(t){t.parser=function(e,t){return new i(e,t)},t.SAXParser=i,t.SAXStream=u,t.createStream=function(e,t){return new u(e,t)},t.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,n){if(!(this instanceof i))return new i(e,n);!function(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=n||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!e,this.noscript=!(!e&&!this.opt.noscript),this.state=S.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),x(this,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),i.prototype={end:function(){T(this)},write:function(e){if(this.error)throw this.error;if(this.closed)return j(this,"Cannot write after close. Assign an onready handler.");if(null===e)return T(this);"object"==typeof e&&(e=e.toString());for(var n=0,r="";r=U(e,n++),this.c=r,r;)switch(this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++),this.state){case S.BEGIN:if(this.state=S.BEGIN_WHITESPACE,"\ufeff"===r)continue;D(this,r);continue;case S.BEGIN_WHITESPACE:D(this,r);continue;case S.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=n-1;r&&"<"!==r&&"&"!==r;)(r=U(e,n++))&&this.trackPosition&&(this.position++,"\n"===r?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,n-1)}"<"!==r||this.sawRoot&&this.closedRoot&&!this.strict?(h(r)||this.sawRoot&&!this.closedRoot||A(this,"Text data outside of root node."),"&"===r?this.state=S.TEXT_ENTITY:this.textNode+=r):(this.state=S.OPEN_WAKA,this.startTagPosition=this.position);continue;case S.SCRIPT:"<"===r?this.state=S.SCRIPT_ENDING:this.script+=r;continue;case S.SCRIPT_ENDING:"/"===r?this.state=S.CLOSE_TAG:(this.script+="<"+r,this.state=S.SCRIPT);continue;case S.OPEN_WAKA:if("!"===r)this.state=S.SGML_DECL,this.sgmlDecl="";else if(h(r));else if(v(l,r))this.state=S.OPEN_TAG,this.tagName=r;else if("/"===r)this.state=S.CLOSE_TAG,this.tagName="";else if("?"===r)this.state=S.PROC_INST,this.procInstName=this.procInstBody="";else{if(A(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;r=new Array(a).join(" ")+r}this.textNode+="<"+r,this.state=S.TEXT}continue;case S.SGML_DECL:"[CDATA["===(this.sgmlDecl+r).toUpperCase()?(E(this,"onopencdata"),this.state=S.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+r==="--"?(this.state=S.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+r).toUpperCase()?(this.state=S.DOCTYPE,(this.doctype||this.sawRoot)&&A(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===r?(E(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=S.TEXT):b(r)?(this.state=S.SGML_DECL_QUOTED,this.sgmlDecl+=r):this.sgmlDecl+=r;continue;case S.SGML_DECL_QUOTED:r===this.q&&(this.state=S.SGML_DECL,this.q=""),this.sgmlDecl+=r;continue;case S.DOCTYPE:">"===r?(this.state=S.TEXT,E(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=r,"["===r?this.state=S.DOCTYPE_DTD:b(r)&&(this.state=S.DOCTYPE_QUOTED,this.q=r));continue;case S.DOCTYPE_QUOTED:this.doctype+=r,r===this.q&&(this.q="",this.state=S.DOCTYPE);continue;case S.DOCTYPE_DTD:this.doctype+=r,"]"===r?this.state=S.DOCTYPE:b(r)&&(this.state=S.DOCTYPE_DTD_QUOTED,this.q=r);continue;case S.DOCTYPE_DTD_QUOTED:this.doctype+=r,r===this.q&&(this.state=S.DOCTYPE_DTD,this.q="");continue;case S.COMMENT:"-"===r?this.state=S.COMMENT_ENDING:this.comment+=r;continue;case S.COMMENT_ENDING:"-"===r?(this.state=S.COMMENT_ENDED,this.comment=P(this.opt,this.comment),this.comment&&E(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+r,this.state=S.COMMENT);continue;case S.COMMENT_ENDED:">"!==r?(A(this,"Malformed comment"),this.comment+="--"+r,this.state=S.COMMENT):this.state=S.TEXT;continue;case S.CDATA:"]"===r?this.state=S.CDATA_ENDING:this.cdata+=r;continue;case S.CDATA_ENDING:"]"===r?this.state=S.CDATA_ENDING_2:(this.cdata+="]"+r,this.state=S.CDATA);continue;case S.CDATA_ENDING_2:">"===r?(this.cdata&&E(this,"oncdata",this.cdata),E(this,"onclosecdata"),this.cdata="",this.state=S.TEXT):"]"===r?this.cdata+="]":(this.cdata+="]]"+r,this.state=S.CDATA);continue;case S.PROC_INST:"?"===r?this.state=S.PROC_INST_ENDING:h(r)?this.state=S.PROC_INST_BODY:this.procInstName+=r;continue;case S.PROC_INST_BODY:if(!this.procInstBody&&h(r))continue;"?"===r?this.state=S.PROC_INST_ENDING:this.procInstBody+=r;continue;case S.PROC_INST_ENDING:">"===r?(E(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=S.TEXT):(this.procInstBody+="?"+r,this.state=S.PROC_INST_BODY);continue;case S.OPEN_TAG:v(f,r)?this.tagName+=r:(C(this),">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:(h(r)||A(this,"Invalid character in tag name"),this.state=S.ATTRIB));continue;case S.OPEN_TAG_SLASH:">"===r?(I(this,!0),N(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=S.ATTRIB);continue;case S.ATTRIB:if(h(r))continue;">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:v(l,r)?(this.attribName=r,this.attribValue="",this.state=S.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case S.ATTRIB_NAME:"="===r?this.state=S.ATTRIB_VALUE:">"===r?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(r)?this.state=S.ATTRIB_NAME_SAW_WHITE:v(f,r)?this.attribName+=r:A(this,"Invalid attribute name");continue;case S.ATTRIB_NAME_SAW_WHITE:if("="===r)this.state=S.ATTRIB_VALUE;else{if(h(r))continue;A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",E(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===r?I(this):v(l,r)?(this.attribName=r,this.state=S.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=S.ATTRIB)}continue;case S.ATTRIB_VALUE:if(h(r))continue;b(r)?(this.q=r,this.state=S.ATTRIB_VALUE_QUOTED):(A(this,"Unquoted attribute value"),this.state=S.ATTRIB_VALUE_UNQUOTED,this.attribValue=r);continue;case S.ATTRIB_VALUE_QUOTED:if(r!==this.q){"&"===r?this.state=S.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=r;continue}R(this),this.q="",this.state=S.ATTRIB_VALUE_CLOSED;continue;case S.ATTRIB_VALUE_CLOSED:h(r)?this.state=S.ATTRIB:">"===r?I(this):"/"===r?this.state=S.OPEN_TAG_SLASH:v(l,r)?(A(this,"No whitespace between attributes"),this.attribName=r,this.attribValue="",this.state=S.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case S.ATTRIB_VALUE_UNQUOTED:if(!y(r)){"&"===r?this.state=S.ATTRIB_VALUE_ENTITY_U:this.attribValue+=r;continue}R(this),">"===r?I(this):this.state=S.ATTRIB;continue;case S.CLOSE_TAG:if(this.tagName)">"===r?N(this):v(f,r)?this.tagName+=r:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=S.SCRIPT):(h(r)||A(this,"Invalid tagname in closing tag"),this.state=S.CLOSE_TAG_SAW_WHITE);else{if(h(r))continue;m(l,r)?this.script?(this.script+="</"+r,this.state=S.SCRIPT):A(this,"Invalid tagname in closing tag."):this.tagName=r}continue;case S.CLOSE_TAG_SAW_WHITE:if(h(r))continue;">"===r?N(this):A(this,"Invalid characters in closing tag");continue;case S.TEXT_ENTITY:case S.ATTRIB_VALUE_ENTITY_Q:case S.ATTRIB_VALUE_ENTITY_U:var u,s;switch(this.state){case S.TEXT_ENTITY:u=S.TEXT,s="textNode";break;case S.ATTRIB_VALUE_ENTITY_Q:u=S.ATTRIB_VALUE_QUOTED,s="attribValue";break;case S.ATTRIB_VALUE_ENTITY_U:u=S.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===r?(this[s]+=M(this),this.entity="",this.state=u):v(this.entity.length?p:d,r)?this.entity+=r:(A(this,"Invalid character in entity name"),this[s]+="&"+this.entity+r,this.entity="",this.state=u);continue;default:throw new Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),r=0,i=0,a=o.length;i<a;i++){var u=e[o[i]].length;if(u>n)switch(o[i]){case"textNode":k(e);break;case"cdata":E(e,"oncdata",e.cdata),e.cdata="";break;case"script":E(e,"onscript",e.script),e.script="";break;default:j(e,"Max buffer length exceeded: "+o[i])}r=Math.max(r,u)}var s=t.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=s+e.position}(this),this}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;k(e=this),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}};try{r=n(666).Stream}catch(e){r=function(){}}var a=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function u(e,t){if(!(this instanceof u))return new u(e,t);r.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}u.prototype=Object.create(r.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var r=n(238).StringDecoder;this._decoder=new r("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},u.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},u.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===a.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var s="http://www.w3.org/XML/1998/namespace",c={xml:s,xmlns:"http://www.w3.org/2000/xmlns/"},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function b(e){return'"'===e||"'"===e}function y(e){return">"===e||h(e)}function v(e,t){return e.test(t)}function m(e,t){return!v(e,t)}var g,w,_,S=0;for(var O in t.STATE={BEGIN:S++,BEGIN_WHITESPACE:S++,TEXT:S++,TEXT_ENTITY:S++,OPEN_WAKA:S++,SGML_DECL:S++,SGML_DECL_QUOTED:S++,DOCTYPE:S++,DOCTYPE_QUOTED:S++,DOCTYPE_DTD:S++,DOCTYPE_DTD_QUOTED:S++,COMMENT_STARTING:S++,COMMENT:S++,COMMENT_ENDING:S++,COMMENT_ENDED:S++,CDATA:S++,CDATA_ENDING:S++,CDATA_ENDING_2:S++,PROC_INST:S++,PROC_INST_BODY:S++,PROC_INST_ENDING:S++,OPEN_TAG:S++,OPEN_TAG_SLASH:S++,ATTRIB:S++,ATTRIB_NAME:S++,ATTRIB_NAME_SAW_WHITE:S++,ATTRIB_VALUE:S++,ATTRIB_VALUE_QUOTED:S++,ATTRIB_VALUE_CLOSED:S++,ATTRIB_VALUE_UNQUOTED:S++,ATTRIB_VALUE_ENTITY_Q:S++,ATTRIB_VALUE_ENTITY_U:S++,CLOSE_TAG:S++,CLOSE_TAG_SAW_WHITE:S++,SCRIPT:S++,SCRIPT_ENDING:S++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[O]]=O;function x(e,t,n){e[t]&&e[t](n)}function E(e,t,n){e.textNode&&k(e),x(e,t,n)}function k(e){e.textNode=P(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function P(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function j(e,t){return k(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,x(e,"onerror",t),e}function T(e){return e.sawRoot&&!e.closedRoot&&A(e,"Unclosed root tag"),e.state!==S.BEGIN&&e.state!==S.BEGIN_WHITESPACE&&e.state!==S.TEXT&&j(e,"Unexpected end"),k(e),e.c="",e.closed=!0,x(e,"onend"),i.call(e,e.strict,e.opt),e}function A(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&j(e,t)}function C(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",n)}function L(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=L(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==s)A(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===r&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)A(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var n=e.tag,r=L(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(A(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,a=e.attribList.length;i<a;i++){var u=e.attribList[i],s=u[0],c=u[1],l=L(s,!0),f=l.prefix,d=l.local,p=""===f?"":n.ns[f]||"",h={name:s,value:c,prefix:f,local:d,uri:p};f&&"xmlns"!==f&&!p&&(A(e,"Unbound namespace prefix: "+JSON.stringify(f)),h.uri=f),e.tag.attributes[s]=h,E(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=S.TEXT:e.state=S.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function N(e){if(!e.tagName)return A(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=S.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=S.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)A(e,"Unexpected close tag");if(t<0)return A(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=S.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var a={};for(var u in i.ns)a[u]=i.ns[u];var s=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==s.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];E(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=S.TEXT}function M(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(A(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function D(e,t){"<"===t?(e.state=S.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(A(e,"Non-whitespace before first tag."),e.textNode=t,e.state=S.TEXT)}function U(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}S=t.STATE,String.fromCodePoint||(g=String.fromCharCode,w=Math.floor,_=function(){var e,t,n=16384,r=[],o=-1,i=arguments.length;if(!i)return"";for(var a="";++o<i;){var u=Number(arguments[o]);if(!isFinite(u)||u<0||u>1114111||w(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?r.push(u):(e=55296+((u-=65536)>>10),t=u%1024+56320,r.push(e,t)),(o+1===i||r.length>n)&&(a+=g.apply(null,r),r.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_,configurable:!0,writable:!0}):String.fromCodePoint=_)}(t)}).call(this,n(140).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],u=r[1],s=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===u&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,s[l++]=255&t),1===u&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(l(e,a,a+16383>u?u:a+16383));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],o[a.charCodeAt(u)]=u;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,i,a=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,c=s>>1,l=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*b}},function(e,t,n){e.exports=o;var r=n(234).EventEmitter;function o(){r.call(this)}n(114)(o,r),o.Readable=n(235),o.Writable=n(673),o.Duplex=n(674),o.Transform=n(675),o.PassThrough=n(676),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",u),n.on("close",s));var a=!1;function u(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",u),n.removeListener("close",s),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},function(e,t){},function(e,t,n){"use strict";var r=n(236).Buffer,o=n(669);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,o=r.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=o,n=a,i.data.copy(t,n),a+=i.data.length,i=i.next;return o},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},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(52))},function(e,t,n){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=n(140),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(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 o(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";e.exports=i;var r=n(387),o=Object.create(n(141));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}o.inherits=n(114),o.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(237)},function(e,t,n){e.exports=n(96)},function(e,t,n){e.exports=n(235).Transform},function(e,t,n){e.exports=n(235).PassThrough},function(e,t,n){var r=n(239),o=n(382);e.exports=function(e,t){var n,i,a;return n=function(e){var t=r.copyOptions(e);return r.ensureSpacesExists(t),t}(t),i=o(e,n),a="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,n){(function(t){var r=n(388);e.exports=function(e,n){e instanceof t&&(e=e.toString());var o=null;if("string"==typeof e)try{o=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else o=e;return r(o,n)}}).call(this,n(140).Buffer)},function(e,t,n){"use strict";const r=n(680),o=n(681),i=n(684),a=n(695),u=n(698),s=n(701).Parser,c=n(70).DomHandler,l=n(406),f=n(411),d=n(408);e.exports=function(e){function t(t,n,l,f){const p=function(t){(e=e||{}).decodeEntities=!0;const n=new c;return new s(n,e).parseComplete(t),n.dom.filter((function(e){return"directive"!==e.type}))}(t).map((function(e,t){return function e(t,n,s,c,l){if(n(t)){r((function(e){e.shouldPreprocessNode(t)&&e.preprocessNode(t,l)}),c||[]);const f=o((function(e){return e.shouldProcessNode(t)}),s||[]);if(null!=f){const r=i((function(e){return null==e||!1===e}),a(u)((function(t,r){return e(t,n,s,c,r)}),t.children||[]));return f.replaceChildren?d.createElement(t,l,t.data,[f.processNode(t,r,l)]):f.processNode(t,r,l)}return!1}return!1}(e,n,l,f,t)}));return p.length<=1?p[0]:p}return{parse:function(e){const n=new l;return t(e,f.alwaysValid,n.defaultProcessingInstructions)},parseWithInstructions:t}}},function(e,t,n){var r=n(390),o=n(43)(r("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})));e.exports=o},function(e,t,n){var r=n(43)(n(188)(["find"],n(683),(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})));e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(43),o=n(391),i=n(189),a=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=i.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=o(this.xf["@@transducer/step"](e,t))),e},e}(),u=r((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,n){var r=n(685),o=n(43),i=n(686),a=o((function(e,t){return i(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(43),o=n(188),i=n(687),a=n(688),u=n(242),s=n(693),c=n(244),l=r(o(["fantasy-land/filter","filter"],s,(function(e,t){return a(t)?u((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):i(e,t)})));e.exports=l},function(e,t){e.exports=function(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(82),o=n(241),i=n(690),a=r((function(e){return!!o(e)||!!e&&"object"==typeof e&&!i(e)&&(0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}));e.exports=a},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(243),o=n(43)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=o},function(e,t,n){var r=n(43),o=n(189),i=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):e},e}(),a=r((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,n){var r=n(190),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(e){return"[object Arguments]"===o.call(e)}:function(e){return r("callee",e)}}();e.exports=i},function(e,t,n){var r=n(696),o=n(82),i=n(392),a=o((function(e){return i(e.length,(function(){var t=0,n=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,r(arguments,[t,o]));return t+=1,e},e.apply(this,i)}))}));e.exports=a},function(e,t){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<o;)i[i.length]=t[n],n+=1;return i}},function(e,t,n){var r=n(243),o=n(187);e.exports=function e(t,n,i){return function(){for(var a=[],u=0,s=t,c=0;c<n.length||u<arguments.length;){var l;c<n.length&&(!o(n[c])||u>=arguments.length)?l=n[c]:(l=arguments[u],u+=1),a[c]=l,o(l)||(s-=1),c+=1}return s<=0?i.apply(this,a):r(s,e(t,a,i))}}},function(e,t,n){var r=n(43),o=n(188),i=n(699),a=n(242),u=n(700),s=n(392),c=n(244),l=r(o(["fantasy-land/map","map"],u,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return s(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},c(t));default:return i(e,t)}})));e.exports=l},function(e,t){e.exports=function(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}},function(e,t,n){var r=n(43),o=n(189),i=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.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var s=n(393);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=n(70);function l(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=l,t.parseDOM=function(e,t){return l(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var f=n(394);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return u(f).default}});var d=i(n(142));t.ElementType=d,a(n(397),t),t.DomUtils=i(n(398));var p=n(397);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=r(n(703));t.htmlDecodeTree=o.default;var i=r(n(704));t.xmlDecodeTree=i.default;var a,u=r(n(395));function s(e){return function(t,n){for(var r="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(r+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var s=null,l=1,f=0,d=e[f];i<t.length&&!((f=c(e,d,f+1,t.charCodeAt(i)))<0);i++,l++)(d=e[f])&a.HAS_VALUE&&(n&&59!==t.charCodeAt(i)?f+=1:(s=d&a.MULTI_BYTE?String.fromCharCode(e[++f],e[++f]):String.fromCharCode(e[++f]),l=0));null!=s&&(r+=s,o=i-l+1)}else{var p=i+1,h=10,b=t.charCodeAt(p);for(120==(32|b)&&(h=16,i+=1,p+=1);(b=t.charCodeAt(++i))>=48&&b<=57||16===h&&(32|b)>=97&&(32|b)<=102;);if(p!==i){var y=t.substring(p,i),v=parseInt(y,h);if(59===t.charCodeAt(i))i+=1;else if(n)continue;r+=u.default(v),o=i}}return r+t.slice(o)}}function c(e,n,r,o){if(n<=128)return o===n?r:-1;var i=(n&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[r]?r+1:-1;var u=n&a.JUMP_TABLE;if(u){var s=o-t.JUMP_OFFSET_BASE-u;return s<0||s>i?-1:e[r+s]-1}for(var c=r,l=c+i-1;c<=l;){var f=c+l>>>1,d=e[f];if(d<o)c=f+1;else{if(!(d>o))return e[f+i];l=f-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(a=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=c;var l=s(o.default),f=s(i.default);t.decodeHTML=function(e){return l(e,!1)},t.decodeHTMLStrict=function(e){return l(e,!0)},t.decodeXML=function(e){return f(e,!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(n(142)),s=n(706),c=n(710),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function d(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",o=0;o<n.length;o++)r+=p(n[o],t);return r}function p(e,t){switch(e.type){case u.Root:return d(e.children,t);case u.Directive:case u.Doctype:return"<"+e.data+">";case u.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case u.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case u.Script:case u.Style:case u.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&b.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(n){var r,o,i=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==i?n+'="'+(!1!==t.decodeEntities?s.encodeXML(i):i.replace(/"/g,"&quot;"))+'"':n})).join(" ")}(e.attribs,t);return i&&(o+=" "+i),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=d(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</"+e.name+">")),o}(e,t);case u.Text:return function(e,t){var n=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(n=s.encodeXML(n)),n}(e,t)}}t.default=d;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),b=new Set(["svg","math"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(400),o=n(403);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?o.encodeXML:o.encodeHTML)(e)};var i=n(403);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=n(400);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},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 o=r(n(709)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(e))}},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["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"]]),t.attributeNames=new Map([["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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(70),o=[];function i(e){var t;return null!==(t=e.children)&&void 0!==t?t:o}function a(e){return e.parent||null}t.getChildren=i,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,o=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=o;)n.push(o),o=o.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},function(e,t,n){"use strict";function r(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,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 o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=n,o){if(o.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(o),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var o=n.children;o.splice(o.indexOf(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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(70);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var i=(0,r.hasChildren)(e)?e:e.parent;i;)n.unshift(i),i=i.parent;for(i=(0,r.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(n.length,o.length),u=0;u<a&&n[u]===o[u];)u++;if(0===u)return 1;var s=n[u-1],c=s.children,l=n[u],f=o[u];return c.indexOf(l)>c.indexOf(f)?s===t?20:4:s===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return 2&n?-1:4&n?1:0})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(399),o=n(405);t.getFeed=function(e){var t=s(f,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,o.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:u(n)};l(r,"id","id",n),l(r,"title","title",n);var o=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);var i=c("summary",n)||c("content",n);i&&(r.description=i);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};l(r,"id","id",n),l(r,"title","title",n);var i=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i),l(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),l(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:u(t)};l(n,"id","guid",t),l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t);var r=c("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};l(i,"title","title",r),l(i,"link","link",r),l(i,"description","description",r);var a=c("lastBuildDate",r);return a&&(i.updated=new Date(a)),l(i,"author","managingEditor",r,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function u(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,o=i;r<o.length;r++)t[c=o[r]]&&(n[c]=t[c]);for(var u=0,s=a;u<s.length;u++){var c;t[c=s[u]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,o.getElementsByTagName)(e,t,n,1)).trim()}function l(e,t,n,r,o){void 0===o&&(o=!1);var i=c(n,r,o);i&&(e[t]=i)}function f(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,n){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},function(e,t,n){(function(t){var n,r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",s="\\d+",c="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+i+s+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",f="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",b="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+c+"|"+l+")",v="(?:"+b+"|"+l+")",m="(?:"+u+"|"+f+")?",g="[\\ufe0e\\ufe0f]?"+m+"(?:\\u200d(?:"+[d,p,h].join("|")+")[\\ufe0e\\ufe0f]?"+m+")*",w="(?:"+["[\\u2700-\\u27bf]",p,h].join("|")+")"+g,_="(?:"+[d+u+"?",u,p,h,"[\\ud800-\\udfff]"].join("|")+")",S=RegExp("['’]","g"),O=RegExp(u,"g"),x=RegExp(f+"(?="+f+")|"+_+g,"g"),E=RegExp([b+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,b,"$"].join("|")+")",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,b+y,"$"].join("|")+")",b+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",s,w].join("|"),"g"),k=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),P=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,j="object"==typeof t&&t&&t.Object===Object&&t,T="object"==typeof self&&self&&self.Object===Object&&self,A=j||T||Function("return this")(),C=(n={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==n?void 0:n[e]});function L(e){return k.test(e)}var R=Object.prototype.toString,I=A.Symbol,N=I?I.prototype:void 0,M=N?N.toString:void 0;function D(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==R.call(e)}(e))return M?M.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var U,F=(U=function(e,t,n){return t=t.toLowerCase(),e+(n?B(D(t).toLowerCase()):t)},function(e){return function(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;)n=t(n,e[o],o,e);return n}(function(e,t,n){return e=D(e),void 0===(t=t)?function(e){return P.test(e)}(e)?function(e){return e.match(E)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=D(e))&&e.replace(o,C).replace(O,"")}(e).replace(S,"")),U,"")}),B=function(e){var t=L(e=D(e))?function(e){return L(e)?function(e){return e.match(x)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,n=t?t[0]:e.charAt(0),r=t?function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)}(t,1).join(""):e.slice(1);return n.toUpperCase()+r};e.exports=F}).call(this,n(52))},function(e,t,n){var r=n(82),o=n(190),i=r((function(e){var t=[];for(var n in e)o(n,e)&&(t[t.length]=[n,e[n]]);return t}));e.exports=i},function(e,t,n){var r=n(409)(n(242));e.exports=r},function(e,t,n){var r=n(43),o=n(410),i=n(726),a=r((function(e,t){return o(i(e.length,t),e)}));e.exports=a},function(e,t,n){var r=n(721),o=n(722),i=n(723),a=n(190),u=n(724),s=n(244),c=n(725);function l(e,t,n,i){var a=r(e),u=r(t);function s(e,t){return f(e,t,n.slice(),i.slice())}return!o((function(e,t){return!o(s,t,e)}),u,a)}function f(e,t,n,r){if(u(e,t))return!0;var o=c(e);if(o!==c(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===i(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!u(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!u(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 d=n.length-1;d>=0;){if(n[d]===e)return r[d]===t;d-=1}switch(o){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),n.concat([e]),r.concat([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 p=s(e);if(p.length!==s(t).length)return!1;var h=n.concat([e]),b=r.concat([t]);for(d=p.length-1;d>=0;){var y=p[d];if(!a(y,t)||!f(t[y],e[y],h,b))return!1;d-=1}return!0}e.exports=f},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,o=n.length;r<o;){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){e.exports="function"==typeof Object.is?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(82)((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));e.exports=r},function(e,t,n){var r=n(43),o=n(188),i=n(727),a=n(728),u=r(o(["take"],i,(function(e,t){return a(0,e<0?1/0:e,t)})));e.exports=u},function(e,t,n){var r=n(43),o=n(391),i=n(189),a=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.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?o(n):n},e}(),u=r((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,n){var r=n(390),o=n(409)(r("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));e.exports=o},function(e,t,n){var r=n(730),o=n(43)(r);e.exports=o},function(e,t,n){var r=n(731);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(410);e.exports=function(e,t,n){var o,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(i=e[n])&&1/i===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(i=e[n])&&i!=i)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){"use strict";const r=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap","onClick"].concat(["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"]).concat(["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlns","xmlnsXlink","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"]).reduce((function(e,t){const n=t.toLowerCase();return n!==t&&(e[n]=t),e}),{});e.exports=r},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(16),n(17),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0});var o={ident:!0,string:!0,url:!0};t.url=t.string=t.ident=void 0;var i=n(734);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=d(n(735));t.ident=a;var u=n(245);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=n(425);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=d(n(248));t.string=c;var l=d(n(427));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}t.url=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t){var n={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof r.List?i=i.map(e):i.constructor===Object&&(i=e(i))),n[o]=i}return n},n(47);var r=n(245)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length-1,n="",o=0;o<e.length;o++){var i=e.charCodeAt(o);if(92===i){if(o===t)break;if(i=e.charCodeAt(++o),(0,r.isValidEscape)(92,i)){var a=o-1,u=(0,r.consumeEscaped)(e,a);o=u-1,n+=(0,r.decodeEscaped)(e.substring(a+1,u))}else 13===i&&10===e.charCodeAt(o+1)&&o++}else n+=e[o]}return n},t.encode=function(e){var t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(var n=0;n<e.length;n++){var o=e.charCodeAt(n);0!==o?o<=31||127===o||o>=48&&o<=57&&(0===n||1===n&&45===e.charCodeAt(0))?t+="\\"+o.toString(16)+" ":(0,r.isName)(o)?t+=e.charAt(n):t+="\\"+e.charAt(n):t+="�"}return t},n(1),n(87);var r=n(12)},function(e,t,n){var r=n(11),o=n(10),i=n(75),a=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);r({target:"String",stat:!0,arity:1,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");n[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffsetToLocation=void 0;var r=n(415),o=n(246);function i(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 a(e){for(var t=e.source,n=t.length,i=t.length>0?(0,o.isBOM)(t.charCodeAt(0)):0,a=(0,r.adoptBuffer)(e.lines,n),u=(0,r.adoptBuffer)(e.columns,n),s=e.startLine,c=e.startColumn,l=i;l<n;l++){var f=t.charCodeAt(l);a[l]=s,u[l]=c++,10!==f&&13!==f&&12!==f||(13===f&&l+1<n&&10===t.charCodeAt(l+1)&&(a[++l]=s,u[l]=c),s++,c=1)}a[n]=s,u[n]=c,e.lines=a,e.columns=u,e.computed=!0}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lines=null,this.columns=null,this.computed=!1}var t,n;return t=e,(n=[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}},{key:"getLocation",value:function(e,t){return this.computed||a(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}},{key:"getLocationRange",value:function(e,t,n){return this.computed||a(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.OffsetToLocation=u},function(e,t,n){"use strict";var r=n(11),o=n(10),i=n(9),a=n(416),u=n(31),s=n(75),c=n(65),l=n(165),f=a.ArrayBuffer,d=a.DataView,p=d.prototype,h=o(f.prototype.slice),b=o(p.getUint8),y=o(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(u(this),e);for(var n=u(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(l(this,f))(c(o-r)),a=new d(this),p=new d(i),v=0;r<o;)y(p,v++,b(a,r++));return i}})},function(e,t){var n=Array,r=Math.abs,o=Math.pow,i=Math.floor,a=Math.log,u=Math.LN2;e.exports={pack:function(e,t,s){var c,l,f,d=n(s),p=8*s-t-1,h=(1<<p)-1,b=h>>1,y=23===t?o(2,-24)-o(2,-77):0,v=e<0||0===e&&1/e<0?1:0,m=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,c=h):(c=i(a(e)/u),e*(f=o(2,-c))<1&&(c--,f*=2),(e+=c+b>=1?y/f:y*o(2,1-b))*f>=2&&(c++,f/=2),c+b>=h?(l=0,c=h):c+b>=1?(l=(e*f-1)*o(2,t),c+=b):(l=e*o(2,b-1)*o(2,t),c=0));t>=8;)d[m++]=255&l,l/=256,t-=8;for(c=c<<t|l,p+=t;p>0;)d[m++]=255&c,c/=256,p-=8;return d[--m]|=128*v,d},unpack:function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,u=a>>1,s=i-7,c=r-1,l=e[c--],f=127&l;for(l>>=7;s>0;)f=256*f+e[c--],s-=8;for(n=f&(1<<-s)-1,f>>=-s,s+=t;s>0;)n=256*n+e[c--],s-=8;if(0===f)f=1-u;else{if(f===a)return n?NaN:l?-1/0:1/0;n+=o(2,t),f-=u}return(l?-1:1)*n*o(2,f-t)}}},function(e,t,n){n(741)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(11),o=n(13),i=n(20),a=n(23),u=n(742),s=n(22),c=n(416),l=n(78),f=n(83),d=n(63),p=n(743),h=n(65),b=n(418),y=n(419),v=n(117),m=n(25),g=n(76),w=n(24),_=n(97),S=n(67),O=n(61),x=n(86),E=n(74).f,k=n(745),P=n(46).forEach,j=n(163),T=n(34),A=n(71),C=n(44),L=n(159),R=C.get,I=C.set,N=C.enforce,M=T.f,D=A.f,U=Math.round,F=o.RangeError,B=c.ArrayBuffer,z=B.prototype,q=c.DataView,W=s.NATIVE_ARRAY_BUFFER_VIEWS,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,G=s.TypedArrayPrototype,K=s.aTypedArrayConstructor,Y=s.isTypedArray,$=function(e,t){K(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},Q=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},X=function(e){var t;return O(z,e)||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},Z=function(e,t){return Y(e)&&!_(t)&&t in e&&p(+t)&&t>=0},J=function(e,t){return t=v(t),Z(e,t)?f(2,e[t]):D(e,t)},ee=function(e,t,n){return t=v(t),!(Z(e,t)&&w(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};a?(W||(A.f=J,T.f=ee,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:J,defineProperty:ee}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,f="set"+e,p=o[s],v=p,m=v&&v.prototype,g={},_=function(e,t){M(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[c](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=R(e);n&&(r=(r=U(r))<0?0:r>255?255:255&r),o.view[f](t*a+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};W?u&&(v=t((function(e,t,n,r){return l(e,m),L(w(t)?X(t)?void 0!==r?new p(t,y(n,a),r):void 0!==n?new p(t,y(n,a)):new p(t):Y(t)?$(v,t):i(k,v,t):new p(b(t)),e,v)})),x&&x(v,V),P(E(p),(function(e){e in v||d(v,e,p[e])})),v.prototype=m):(v=t((function(e,t,n,r){l(e,m);var o,u,s,c=0,f=0;if(w(t)){if(!X(t))return Y(t)?$(v,t):i(k,v,t);o=t,f=y(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw F("Wrong length");if((u=d-f)<0)throw F("Wrong length")}else if((u=h(r)*a)+f>d)throw F("Wrong length");s=u/a}else s=b(t),o=new B(u=s*a);for(I(e,{buffer:o,byteOffset:f,byteLength:u,length:s,view:new q(o)});c<s;)_(e,c++)})),x&&x(v,V),m=v.prototype=S(G)),m.constructor!==v&&d(m,"constructor",v),N(m).TypedArrayConstructor=v,H&&d(m,H,s);var O=v!=p;g[s]=v,r({global:!0,constructor:!0,forced:O,sham:!W},g),"BYTES_PER_ELEMENT"in v||d(v,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in m||d(m,"BYTES_PER_ELEMENT",a),j(s)}):e.exports=function(){}},function(e,t,n){var r=n(13),o=n(9),i=n(158),a=n(22).NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new u(2),1,void 0).length}))},function(e,t,n){var r=n(24),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(64),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw o("The argument can't be less than 0");return t}},function(e,t,n){var r=n(68),o=n(20),i=n(210),a=n(42),u=n(45),s=n(157),c=n(129),l=n(203),f=n(22).aTypedArrayConstructor;e.exports=function(e){var t,n,d,p,h,b,y=i(this),v=a(e),m=arguments.length,g=m>1?arguments[1]:void 0,w=void 0!==g,_=c(v);if(_&&!l(_))for(b=(h=s(v,_)).next,v=[];!(p=o(b,h)).done;)v.push(p.value);for(w&&m>2&&(g=r(g,arguments[2])),n=u(v),d=new(f(y))(n),t=0;n>t;t++)d[t]=w?g(v[t],t):v[t];return d}},function(e,t,n){"use strict";var r=n(10),o=n(22),i=r(n(747)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(42),o=n(75),i=n(45),a=n(420),u=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n),c=o(e,s),l=o(t,s),f=arguments.length>2?arguments[2]:void 0,d=u((void 0===f?s:o(f,s))-l,s-c),p=1;for(l<c&&c<l+d&&(p=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:a(n,c),c+=p,l+=p;return n}},function(e,t,n){"use strict";var r=n(22),o=n(46).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(247),i=n(750),a=n(76),u=n(20),s=n(10),c=n(9),l=r.aTypedArray,f=r.exportTypedArrayMethod,d=s("".slice);f("fill",(function(e){var t=arguments.length;l(this);var n="Big"===d(a(this),0,3)?i(e):+e;return u(o,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},function(e,t,n){var r=n(195),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},function(e,t,n){"use strict";var r=n(22),o=n(46).filter,i=n(752),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,n){var r=n(753),o=n(191);e.exports=function(e,t){return r(o(e),t)}},function(e,t,n){var r=n(45);e.exports=function(e,t){for(var n=0,o=r(t),i=new e(o);o>n;)i[n]=t[n++];return i}},function(e,t,n){"use strict";var r=n(22),o=n(46).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(46).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(46).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(149).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(149).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(13),o=n(9),i=n(10),a=n(22),u=n(2),s=n(18)("iterator"),c=r.Uint8Array,l=i(u.values),f=i(u.keys),d=i(u.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,b=c&&c.prototype,y=!o((function(){b[s].call([1])})),v=!!b&&b.values&&b[s]===b.values&&"values"===b.values.name,m=function(){return l(p(this))};h("entries",(function(){return d(p(this))}),y),h("keys",(function(){return f(p(this))}),y),h("values",m,y||!v,{name:"values"}),h(s,m,y||!v,{name:"values"})},function(e,t,n){"use strict";var r=n(22),o=n(10),i=r.aTypedArray,a=r.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},function(e,t,n){"use strict";var r=n(22),o=n(77),i=n(762),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,n){"use strict";var r=n(77),o=n(49),i=n(64),a=n(45),u=n(155),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),d=l||!f;e.exports=d?function(e){if(l)return r(c,this,arguments)||0;var t=o(this),n=a(t),u=n-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},function(e,t,n){"use strict";var r=n(22),o=n(46).map,i=n(191),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},function(e,t,n){"use strict";var r=n(22),o=n(421).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=n(421).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(22),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(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(13),o=n(20),i=n(22),a=n(45),u=n(419),s=n(42),c=n(9),l=r.RangeError,f=r.Int8Array,d=f&&f.prototype,p=d&&d.set,h=i.aTypedArray,b=i.exportTypedArrayMethod,y=!c((function(){var e=new Uint8ClampedArray(2);return o(p,e,{length:1,0:3},1),3!==e[1]})),v=y&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));b("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),n=s(e);if(y)return o(p,this,n,t);var r=this.length,i=a(n),c=0;if(i+t>r)throw l("Wrong length");for(;c<i;)this[t+c]=n[c++]}),!y||v)},function(e,t,n){"use strict";var r=n(22),o=n(191),i=n(9),a=n(102),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(u(this),e,t),r=o(this),i=0,s=n.length,c=new r(s);s>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(22),o=n(46).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(13),o=n(10),i=n(9),a=n(53),u=n(208),s=n(22),c=n(422),l=n(423),f=n(99),d=n(424),p=s.aTypedArray,h=s.exportTypedArrayMethod,b=r.Uint16Array,y=b&&o(b.prototype.sort),v=!(!y||i((function(){y(new b(2),null)}))&&i((function(){y(new b(2),{})}))),m=!!y&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(d)return d<602;var e,t,n=new b(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(y(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),m?y(this,e):u(p(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!m||v)},function(e,t,n){"use strict";var r=n(22),o=n(65),i=n(75),a=n(191),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=u(this),r=n.length,s=i(e,r);return new(a(n))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-s))}))},function(e,t,n){"use strict";var r=n(13),o=n(77),i=n(22),a=n(9),u=n(102),s=r.Int8Array,c=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,d=!!s&&a((function(){f.call(new s(1))}));l("toLocaleString",(function(){return o(f,d?u(c(this)):c(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(22).exportTypedArrayMethod,o=n(9),i=n(13),a=n(10),u=i.Uint8Array,s=u&&u.prototype||{},c=[].toString,l=a([].join);o((function(){c.call({})}))&&(c=function(){return l(this)});var f=s.toString!=c;r("toString",c,f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenStream=void 0,n(2),n(108),n(1),n(4),n(5);var r,o=n(415),i=n(413),a=(r=n(414))&&r.__esModule?r:{default:r},u=n(412);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=new Map([[u.Function,u.RightParenthesis],[u.LeftParenthesis,u.RightParenthesis],[u.LeftSquareBracket,u.RightSquareBracket],[u.LeftCurlyBracket,u.RightCurlyBracket]]),l=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.setSource(t,n)}var t,n;return t=e,(n=[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=(e=String(e||"")).length,r=(0,o.adoptBuffer)(this.offsetAndType,e.length+1),i=(0,o.adoptBuffer)(this.balance,e.length+1),a=0,s=0,l=0,f=-1;for(this.offsetAndType=null,this.balance=null,t(e,(function(e,t,o){switch(e){default:i[a]=n;break;case s:var d=16777215&l;for(l=i[d],s=l>>24,i[a]=d,i[d++]=a;d<a;d++)i[d]===n&&(i[d]=a);break;case u.LeftParenthesis:case u.Function:case u.LeftSquareBracket:case u.LeftCurlyBracket:i[a]=l,s=c.get(e),l=s<<24|a}r[a++]=e<<24|o,-1===f&&(f=t)})),r[a]=u.EOF<<24|n,i[a]=n,i[n]=n;0!==l;){var d=16777215&l;l=i[d],i[d]=n}this.source=e,this.firstCharOffset=-1===f?0:f,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}},{key:"lookupType",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>24:u.EOF}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[e-1]:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&(0,i.cmpStr)(this.source,16777215&this.offsetAndType[e-1],16777215&this.offsetAndType[e],t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?16777215&this.offsetAndType[e-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset}},{key:"substrToCursor",value:function(e){return this.source.substring(e,this.tokenStart)}},{key:"isBalanceEdge",value:function(e){return this.balance[this.tokenIndex]<e}},{key:"isDelim",value:function(e,t){return t?this.lookupType(t)===u.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===u.Delim&&this.source.charCodeAt(this.tokenStart)===e}},{key:"skip",value:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=16777215&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=16777215&t):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>24,this.tokenEnd=16777215&e):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=u.EOF,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===u.WhiteSpace||this.tokenType===u.Comment;)this.next()}},{key:"skipUntilBalanced",value:function(e,t){var n,r,o=e;e:for(;o<this.tokenCount&&!((n=this.balance[o])<e);o++)switch(r=o>0?16777215&this.offsetAndType[o-1]:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:o++;break e;default:this.balance[n]===o&&(o=n)}this.skip(o-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,n=this.firstCharOffset;t<this.tokenCount;t++){var r=n,o=this.offsetAndType[t],i=16777215&o;n=i,e(o>>24,r,i,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(n,r,o,i){t[i]={idx:i,type:a.default[n],chunk:e.source.substring(r,o),balance:e.balance[i]}})),t}}])&&s(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.TokenStream=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(776),i=(r=n(782))&&r.__esModule?r:{default:r},a=(0,o.createParser)(i.default);t.default=a},function(e,t,n){"use strict";n(3),n(7),n(1),n(8),n(2),n(4),n(5),n(17),n(30),n(14),n(16),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){var t="",n="<unknown>",u=!1,c=f,h=!1,b=new i.OffsetToLocation,y=Object.assign(new i.TokenStream,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:p(e.atrule),pseudo:p(e.pseudo),node:p(e.node)};for(var n in e.parseContext)switch(l(e.parseContext[n])){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=d(e.parseContext[n])}return s(s({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a.readSequence,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return 123===e?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return 123===e||59===e?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return 33===e||59===e?1:0},consumeUntilSemicolonIncluded:function(e){return 59===e?2:0},createList:function(){return new r.List},createSingleNodeList:function(e){return(new r.List).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var n=this.tokenIndex;try{return e.call(this)}catch(e){if(h)throw e;var r=t.call(this,n);return h=!0,c(e,r),h=!1,r}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==i.WhiteSpace)return t}while(0!==t);return 0},charCodeAt:function(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring:function(e,n){return t.substring(e,n)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,n){return(0,i.cmpChar)(t,e,n)},cmpStr:function(e,n,r){return(0,i.cmpStr)(t,e,n,r)},consume:function(e){var t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName:function(){var e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(i.Function),e},consumeNumber:function(e){var n=t.substring(this.tokenStart,(0,i.consumeNumber)(t,this.tokenStart));return this.eat(e),n},eat:function(e){if(this.tokenType!==e){var t=i.tokenNames[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),n="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),r=this.tokenStart;switch(e){case i.Ident:this.tokenType===i.Function||this.tokenType===i.Url?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case i.Hash:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case i.Percentage:this.tokenType===i.Number&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent:function(e){this.tokenType===i.Ident&&!1!==this.lookupValue(0,e)||this.error('Identifier "'.concat(e,'" is expected')),this.next()},eatDelim:function(e){this.isDelim(e)||this.error('Delim "'.concat(String.fromCharCode(e),'" is expected')),this.next()},getLocation:function(e,t){return u?b.getLocationRange(e,t,n):null},getLocationFromList:function(e){if(u){var t=this.getFirstListNode(e),r=this.getLastListNode(e);return b.getLocationRange(null!==t?t.loc.start.offset-b.startOffset:this.tokenStart,null!==r?r.loc.end.offset-b.startOffset:this.tokenStart,n)}return null},error:function(e,n){var r=void 0!==n&&n<t.length?b.getLocation(n):this.eof?b.getLocation((0,i.findWhiteSpaceStart)(t,t.length-1)):b.getLocation(this.tokenStart);throw new o.SyntaxError(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,r){t=e,r=r||{},y.setSource(t,i.tokenize),b.setSource(t,r.offset,r.line,r.column),n=r.filename||"<unknown>",u=Boolean(r.positions),c="function"==typeof r.onParseError?r.onParseError:f,h=!1,y.parseAtrulePrelude=!("parseAtrulePrelude"in r)||Boolean(r.parseAtrulePrelude),y.parseRulePrelude=!("parseRulePrelude"in r)||Boolean(r.parseRulePrelude),y.parseValue=!("parseValue"in r)||Boolean(r.parseValue),y.parseCustomProperty="parseCustomProperty"in r&&Boolean(r.parseCustomProperty);var o=r,a=o.context,s=void 0===a?"default":a,l=o.onComment;if(s in y.context==0)throw new Error("Unknown context `"+s+"`");"function"==typeof l&&y.forEachToken((function(e,n,r){if(e===i.Comment){var o=y.getLocation(n,r),a=(0,i.cmpStr)(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);l(a,o)}}));var d=y.context[s].call(y,r);return y.eof||y.error(),d}),{SyntaxError:o.SyntaxError,config:y.config})},n(37),n(19),n(92),n(26);var r=n(245),o=n(777),i=n(12),a=n(781);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var f=function(){};function d(e){return function(){return this[e]()}}function p(e){var t=Object.create(null);for(var n in e){var r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=function(e,t,n,i,a){return Object.assign((0,r.createCustomError)("SyntaxError",e),{source:t,offset:n,line:i,column:a,sourceFragment:function(e){return o({source:t,line:i,column:a},isNaN(e)?0:e)},get formattedMessage(){return"Parse error: ".concat(e,"\n")+o({source:t,line:i,column:a},2)}})},n(132),n(47),n(26),n(428),n(19),n(80),n(212),n(92),n(30),n(1),n(37);var r=n(780);function o(e,t){var n=e.source,r=e.line,o=e.column;function i(e,t){return a.slice(e,t).map((function(t,n){return String(e+n+1).padStart(c)+" |"+t})).join("\n")}var a=n.split(/\r\n?|\n|\f/),u=Math.max(1,r-t)-1,s=Math.min(r+t,a.length+1),c=Math.max(4,String(s).length)+1,l=0;(o+=(" ".length-1)*(a[r-1].substr(0,o-1).match(/\t/g)||[]).length)>100&&(l=o-60+3,o=58);for(var f=u;f<=s;f++)f>=0&&f<a.length&&(a[f]=a[f].replace(/\t/g," "),a[f]=(l>0&&a[f].length>l?"…":"")+a[f].substr(l,98)+(a[f].length>l+100-1?"…":""));return[i(u,r),new Array(o+c+2).join("-")+"^",i(r,s)].filter(Boolean).join("\n")}},function(e,t,n){var r=n(10),o=n(65),i=n(39),a=n(352),u=n(60),s=r(a),c=r("".slice),l=Math.ceil,f=function(e){return function(t,n,r){var a,f,d=i(u(t)),p=o(n),h=d.length,b=void 0===r?" ":i(r);return p<=h||""==b?d:((f=s(b,l((a=p-h)/b.length))).length>a&&(f=c(f,0,a)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},function(e,t,n){var r=n(73);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCustomError=function(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})},n(37),n(19),n(92),n(32)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readSequence=function(e){for(var t=this.createList(),n=!1,o={recognizer:e};!this.eof;){switch(this.tokenType){case r.Comment:this.next();continue;case r.WhiteSpace:n=!0,this.next();continue}var i=e.getNode.call(this,o);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o),t};var r=n(12)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n(783)),i=s(n(789)),a=s(n(795)),u=l(n(796));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}var f={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:o,atrule:i.default,pseudo:a.default,node:u};t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return i.default}});var r=a(n(784)),o=a(n(785)),i=a(n(786));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={getNode:((r=n(429))&&r.__esModule?r:{default:r}).default};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12),o={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case r.LeftSquareBracket:return this.AttributeSelector();case r.Hash:return this.IdSelector();case r.Colon:return this.lookupType(1)===r.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case r.Ident:return this.TypeSelector();case r.Number:case r.Percentage:return this.Percentage();case r.Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case r.Delim:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(429)),o=a(n(787)),i=a(n(788));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var s={getNode:r.default,onWhiteSpace:function(e,t){u(e)&&(e.value=" "+e.value),u(t.last)&&(t.last.value+=" ")},expression:o.default,var:i.default};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===r.Comma){e.push(this.Operator());var t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(var o=t-this.tokenIndex;o<=0;o++)if(this.lookupType(o)===r.WhiteSpace){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e};var r=n(12)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(790)),o=s(n(791)),i=s(n(792)),a=s(n(793)),u=s(n(794));function s(e){return e&&e.__esModule?e:{default:e}}var c={"font-face":r.default,import:o.default,media:i.default,page:a.default,supports:u.default};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:null,block:function(){return this.Block(!0)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12),o={parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case r.String:e.push(this.String());break;case r.Url:case r.Function:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==r.Ident&&this.lookupNonWSType(0)!==r.LeftParenthesis||e.push(this.MediaQueryList()),e},block:null}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(12);function o(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function i(){return this.skipSC(),this.tokenType===r.Ident&&this.lookupNonWSType(1)===r.Colon?this.createSingleNodeList(this.Declaration()):a.call(this)}function a(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case r.Comment:case r.WhiteSpace:this.next();continue;case r.Function:e=this.Function(o,this.scope.AtrulePrelude);break;case r.Ident:e=this.Identifier();break;case r.LeftParenthesis:e=this.Parentheses(i,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var u={parse:{prelude:function(){var e=a.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={parse:function(){return this.createSingleNodeList(this.SelectorList())}},o={parse:function(){return this.createSingleNodeList(this.Identifier())}},i={parse:function(){return this.createSingleNodeList(this.Nth())}},a={dir:o,has:r,lang:o,matches:r,is:r,"-moz-any":r,"-webkit-any":r,where:r,not:r,"nth-child":i,"nth-last-child":i,"nth-last-of-type":i,"nth-of-type":i,slotted:{parse:function(){return this.createSingleNodeList(this.Selector())}}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return r.parse}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.parse}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.parse}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.parse}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.parse}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.parse}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.parse}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return p.parse}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return b.parse}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.parse}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return S.parse}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return O.parse}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return k.parse}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return P.parse}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.parse}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.parse}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.parse}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.parse}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.parse}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.parse}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.parse}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.parse}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.parse}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.parse}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.parse}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.parse}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.parse}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return z.parse}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return q.parse}});var r=n(249),o=n(250),i=n(251),a=n(252),u=n(253),s=n(254),c=n(255),l=n(256),f=n(257),d=n(258),p=n(259),h=n(260),b=n(261),y=n(262),v=n(263),m=n(264),g=n(265),w=n(266),_=n(267),S=n(268),O=n(269),x=n(270),E=n(271),k=n(272),P=n(273),j=n(274),T=n(275),A=n(276),C=n(277),L=n(278),R=n(279),I=n(280),N=n(281),M=n(282),D=n(283),U=n(284),F=n(285),B=n(286),z=n(287),q=n(288)},function(e,t,n){var r=n(13),o=n(23),i=n(329),a=n(205),u=n(9),s=r.RegExp,c=s.prototype;o&&u((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(799),i=(r=n(801))&&r.__esModule?r:{default:r},a=(0,o.createWalker)(i.default);t.default=a},function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(36),n(4),n(19),n(8),n(2),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.createWalker=function(e){var t=function(e){var t={};for(var n in e.node)if(i.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=c(n,r)}return t}(e),n={},r={},o=Symbol("break-walk"),d=Symbol("skip-node");for(var p in t)i.call(t,p)&&null!==t[p]&&(n[p]=l(t[p],!1),r[p]=l(t[p],!0));var h=f(n),b=f(r),y=function(e,i){function c(e,t,n){var r=l.call(v,e,t,n);return r===o||r!==d&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,v,c,y))||f.call(v,e,t,n)===o)}var l=a,f=a,p=n,y=function(e,t,n,r){return e||c(t,n,r)},v={break:o,skip:d,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof i)l=i;else if(i&&(l=u(i.enter),f=u(i.leave),i.reverse&&(p=r),i.visit)){if(h.hasOwnProperty(i.visit))p=i.reverse?b[i.visit]:h[i.visit];else if(!t.hasOwnProperty(i.visit))throw new Error("Bad value `"+i.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");l=s(l,i.visit),f=s(f,i.visit)}if(l===a&&f===a)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return y.break=o,y.skip=d,y.find=function(e,t){var n=null;return y(e,(function(e,r,i){if(t.call(this,e,r,i))return n=e,o})),n},y.findLast=function(e,t){var n=null;return y(e,{reverse:!0,enter:function(e,r,i){if(t.call(this,e,r,i))return n=e,o}}),n},y.findAll=function(e,t){var n=[];return y(e,(function(e,r,o){t.call(this,e,r,o)&&n.push(e)})),n},y},n(26),n(6),n(1),n(3),n(7),n(132),n(800),n(17),n(430);var i=Object.prototype.hasOwnProperty,a=function(){};function u(e){return"function"==typeof e?e:a}function s(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function c(e,t){var n=t.structure,o=[];for(var a in n)if(!1!==i.call(n,a)){var u=n[a],s={name:a,type:!1,nullable:!1};Array.isArray(u)||(u=[u]);var c,l=r(u);try{for(l.s();!(c=l.n()).done;){var f=c.value;null===f?s.nullable=!0:"string"==typeof f?s.type="node":Array.isArray(f)&&(s.type="list")}}catch(e){l.e(e)}finally{l.f()}s.type&&o.push(s)}return o.length?{context:t.walkContext,fields:o}:null}function l(e,t){var n=e.fields.slice(),o=e.context,i="string"==typeof o;return t&&n.reverse(),function(e,a,u,s){var c;i&&(c=a[o],a[o]=e);var l,f=r(n);try{for(f.s();!(l=f.n()).done;){var d=l.value,p=e[d.name];if(!d.nullable||p)if("list"===d.type){if(t?p.reduceRight(s,!1):p.reduce(s,!1))return!0}else if(u(p))return!0}}catch(e){f.e(e)}finally{f.f()}i&&(a[o]=c)}}function f(e){var t=e.StyleSheet,n=e.Atrule,r=e.Rule,o=e.Block;return{Atrule:{StyleSheet:t,Atrule:n,Rule:r,Block:o},Rule:{StyleSheet:t,Atrule:n,Rule:r,Block:o},Declaration:{StyleSheet:t,Atrule:n,Rule:r,Block:o,DeclarationList:e.DeclarationList}}}},function(e,t,n){"use strict";var r=n(11),o=n(10),i=n(53),a=n(42),u=n(45),s=n(420),c=n(39),l=n(9),f=n(208),d=n(155),p=n(422),h=n(423),b=n(99),y=n(424),v=[],m=o(v.sort),g=o(v.push),w=l((function(){v.sort(void 0)})),_=l((function(){v.sort(null)})),S=d("sort"),O=!l((function(){if(b)return b<70;if(!(p&&p>3)){if(h)return!0;if(y)return y<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!_||!S||!O},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(O)return void 0===e?m(t):m(t,e);var n,r,o=[],l=u(t);for(r=0;r<l;r++)r in t&&g(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<l;)s(t,r++);return t}})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}(n(802))};t.default=i},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteSpace=t.Value=t.Url=t.UnicodeRange=t.TypeSelector=t.StyleSheet=t.String=t.SelectorList=t.Selector=t.Rule=t.Raw=t.Ratio=t.PseudoElementSelector=t.PseudoClassSelector=t.Percentage=t.Parentheses=t.Operator=t.Number=t.Nth=t.MediaQueryList=t.MediaQuery=t.MediaFeature=t.Identifier=t.IdSelector=t.Hash=t.Function=t.Dimension=t.DeclarationList=t.Declaration=t.Comment=t.Combinator=t.ClassSelector=t.CDO=t.CDC=t.Brackets=t.Block=t.AttributeSelector=t.AtrulePrelude=t.Atrule=t.AnPlusB=void 0;var o=V(n(249));t.AnPlusB=o;var i=V(n(250));t.Atrule=i;var a=V(n(251));t.AtrulePrelude=a;var u=V(n(252));t.AttributeSelector=u;var s=V(n(253));t.Block=s;var c=V(n(254));t.Brackets=c;var l=V(n(255));t.CDC=l;var f=V(n(256));t.CDO=f;var d=V(n(257));t.ClassSelector=d;var p=V(n(258));t.Combinator=p;var h=V(n(259));t.Comment=h;var b=V(n(260));t.Declaration=b;var y=V(n(261));t.DeclarationList=y;var v=V(n(262));t.Dimension=v;var m=V(n(263));t.Function=m;var g=V(n(264));t.Hash=g;var w=V(n(265));t.Identifier=w;var _=V(n(266));t.IdSelector=_;var S=V(n(267));t.MediaFeature=S;var O=V(n(268));t.MediaQuery=O;var x=V(n(269));t.MediaQueryList=x;var E=V(n(270));t.Nth=E;var k=V(n(271));t.Number=k;var P=V(n(272));t.Operator=P;var j=V(n(273));t.Parentheses=j;var T=V(n(274));t.Percentage=T;var A=V(n(275));t.PseudoClassSelector=A;var C=V(n(276));t.PseudoElementSelector=C;var L=V(n(277));t.Ratio=L;var R=V(n(278));t.Raw=R;var I=V(n(279));t.Rule=I;var N=V(n(280));t.Selector=N;var M=V(n(281));t.SelectorList=M;var D=V(n(282));t.String=D;var U=V(n(283));t.StyleSheet=U;var F=V(n(284));t.TypeSelector=F;var B=V(n(285));t.UnicodeRange=B;var z=V(n(286));t.Url=z;var q=V(n(287));t.Value=q;var W=V(n(288));function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(H=function(e){return e?n:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=H(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}t.WhiteSpace=W},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(804),i=(r=n(812))&&r.__esModule?r:{default:r},a=(0,o.createGenerator)(i.default);t.default=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(15),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerator=function(e){var t=new Map;for(var n in e.node){var r=e.node[n];"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){var r="",c=0,l={node:function(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(f,e)},tokenBefore:a.safe,token:function(e,t){c=this.tokenBefore(c,e,t),this.emit(t,e,!1),e===o.Delim&&92===t.charCodeAt(0)&&this.emit("\n",o.WhiteSpace,!0)},emit:function(e){r+=e},result:function(){return r}};n&&("function"==typeof n.decorator&&(l=n.decorator(l)),n.sourceMap&&(l=(0,i.generateSourceMap)(l)),n.mode in a&&(l.tokenBefore=a[n.mode]));var f={node:function(e){return l.node(e)},children:u,token:function(e,t){return l.token(e,t)},tokenize:s};return l.node(e),l.result()}},n(1),n(16),n(26),n(2),n(108),n(4),n(5);var o=n(12),i=n(805),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(811));function u(e,t){var n=this;if("function"!=typeof t)e.children.forEach(this.node,this);else{var r=null;e.children.forEach((function(e){null!==r&&t.call(n,r),n.node(e),r=e}))}}function s(e){var t=this;(0,o.tokenize)(e,(function(n,r,o){t.token(n,e.slice(r,o))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSourceMap=function(e){var t=new r.SourceMapGenerator,n={line:1,column:0},i={line:0,column:0},a={line:1,column:0},u={generated:a},s=1,c=0,l=!1,f=e.node;e.node=function(e){if(e.loc&&e.loc.start&&o.has(e.type)){var r=e.loc.start.line,d=e.loc.start.column-1;i.line===r&&i.column===d||(i.line=r,i.column=d,n.line=s,n.column=c,l&&(l=!1,n.line===a.line&&n.column===a.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:i,generated:n}))}f.call(this,e),l&&o.has(e.type)&&(a.line=s,a.column=c)};var d=e.emit;e.emit=function(e,t,n){for(var r=0;r<e.length;r++)10===e.charCodeAt(r)?(s++,c=0):c++;d(e,t,n)};var p=e.result;return e.result=function(){return l&&t.addMapping(u),{css:p(),map:t}},e},n(2),n(1),n(89),n(4),n(5);var r=n(806),o=new Set(["Atrule","Selector","Declaration"])},function(e,t,n){var r=n(807),o=n(289),i=n(809).ArraySet,a=n(810).MappingList;function u(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}u.prototype._version=3,u.fromSourceMap=function(e){var t=e.sourceRoot,n=new u({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=o.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 i=r;null!==t&&(i=o.relative(t,r)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},u.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.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=o.relative(a,r));var u=new i,s=new i;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=o.join(n,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var c=t.source;null==c||u.has(c)||u.add(c);var l=t.name;null==l||s.has(l)||s.add(l)}),this),this._sources=u,this._names=s,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,r))}),this)},u.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}))},u.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,u=1,s=0,c=0,l=0,f=0,d="",p=this._mappings.toArray(),h=0,b=p.length;h<b;h++){if(e="",(t=p[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-f),f=i,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),d+=e}return d},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},u.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},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=u},function(e,t,n){var r=n(808);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,u,s=e.length,c=0,l=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),c+=(i&=31)<<l,l+=5}while(o);n.value=(u=(a=c)>>1,1==(1&a)?-u:u),n.rest=t}},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(289),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=i?e:r.toSetString(e),a=i?this.has(e):o.call(this._set,n),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[n]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=r.toSetString(e);return o.call(this._set,t)},a.prototype.indexOf=function(e){if(i){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(o.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){var r=n(289);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,n,o,i,a,u;n=e,o=(t=this._last).generatedLine,i=n.generatedLine,a=t.generatedColumn,u=n.generatedColumn,i>o||i==o&&u>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,n){"use strict";n(3),n(7),n(8),n(26),n(6),n(36),n(19),Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.safe=void 0,n(32),n(2),n(1),n(89),n(4),n(5),n(47);var r=n(12);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=function(e,t){if(e===r.Delim&&(e=t),"string"==typeof e){var n=e.charCodeAt(0);return n>127?32768:n<<8}return e},a=[[r.Ident,r.Ident],[r.Ident,r.Function],[r.Ident,r.Url],[r.Ident,r.BadUrl],[r.Ident,"-"],[r.Ident,r.Number],[r.Ident,r.Percentage],[r.Ident,r.Dimension],[r.Ident,r.CDC],[r.Ident,r.LeftParenthesis],[r.AtKeyword,r.Ident],[r.AtKeyword,r.Function],[r.AtKeyword,r.Url],[r.AtKeyword,r.BadUrl],[r.AtKeyword,"-"],[r.AtKeyword,r.Number],[r.AtKeyword,r.Percentage],[r.AtKeyword,r.Dimension],[r.AtKeyword,r.CDC],[r.Hash,r.Ident],[r.Hash,r.Function],[r.Hash,r.Url],[r.Hash,r.BadUrl],[r.Hash,"-"],[r.Hash,r.Number],[r.Hash,r.Percentage],[r.Hash,r.Dimension],[r.Hash,r.CDC],[r.Dimension,r.Ident],[r.Dimension,r.Function],[r.Dimension,r.Url],[r.Dimension,r.BadUrl],[r.Dimension,"-"],[r.Dimension,r.Number],[r.Dimension,r.Percentage],[r.Dimension,r.Dimension],[r.Dimension,r.CDC],["#",r.Ident],["#",r.Function],["#",r.Url],["#",r.BadUrl],["#","-"],["#",r.Number],["#",r.Percentage],["#",r.Dimension],["#",r.CDC],["-",r.Ident],["-",r.Function],["-",r.Url],["-",r.BadUrl],["-","-"],["-",r.Number],["-",r.Percentage],["-",r.Dimension],["-",r.CDC],[r.Number,r.Ident],[r.Number,r.Function],[r.Number,r.Url],[r.Number,r.BadUrl],[r.Number,r.Number],[r.Number,r.Percentage],[r.Number,r.Dimension],[r.Number,"%"],[r.Number,r.CDC],["@",r.Ident],["@",r.Function],["@",r.Url],["@",r.BadUrl],["@","-"],["@",r.CDC],[".",r.Number],[".",r.Percentage],[".",r.Dimension],["+",r.Number],["+",r.Percentage],["+",r.Dimension],["/","*"]],u=a.concat([[r.Ident,r.Hash],[r.Dimension,r.Hash],[r.Hash,r.Hash],[r.AtKeyword,r.LeftParenthesis],[r.AtKeyword,r.String],[r.AtKeyword,r.Colon],[r.Percentage,r.Percentage],[r.Percentage,r.Dimension],[r.Percentage,r.Function],[r.Percentage,"-"],[r.RightParenthesis,r.Ident],[r.RightParenthesis,r.Function],[r.RightParenthesis,r.Percentage],[r.RightParenthesis,r.Dimension],[r.RightParenthesis,r.Hash],[r.RightParenthesis,"-"]]);function s(e){var t=new Set(e.map((function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,2),n=t[0],r=t[1];return i(n)<<16|i(r)})));return function(e,n,o){var a=i(n,o),u=o.charCodeAt(0);return(45===u&&n!==r.Ident&&n!==r.Function&&n!==r.CDC||43===u?t.has(e<<16|u<<8):t.has(e<<16|a))&&this.emit(" ",r.WhiteSpace,!0),a}}var c=s(a);t.spec=c;var l=s(u);t.safe=l},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}n(2),n(1),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}(n(813))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return r.generate}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.generate}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.generate}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.generate}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.generate}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.generate}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.generate}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.generate}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.generate}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return d.generate}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return p.generate}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.generate}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return b.generate}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return y.generate}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return v.generate}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return m.generate}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.generate}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.generate}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return _.generate}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return S.generate}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return O.generate}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.generate}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.generate}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return k.generate}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return P.generate}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.generate}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.generate}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.generate}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.generate}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.generate}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.generate}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.generate}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.generate}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.generate}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.generate}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.generate}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.generate}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.generate}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return z.generate}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return q.generate}});var r=n(249),o=n(250),i=n(251),a=n(252),u=n(253),s=n(254),c=n(255),l=n(256),f=n(257),d=n(258),p=n(259),h=n(260),b=n(261),y=n(262),v=n(263),m=n(264),g=n(265),w=n(266),_=n(267),S=n(268),O=n(269),x=n(270),E=n(271),k=n(272),P=n(273),j=n(274),T=n(275),A=n(276),C=n(277),L=n(278),R=n(279),I=n(280),N=n(281),M=n(282),D=n(283),U=n(284),F=n(285),B=n(286),z=n(287),q=n(288)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(90)),o=i(n(168));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u,s,c,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"get",value:function(t){var n=r.default.createHash(t),i=o.default.get(e.localStorageKey);return i&&i[n]?i[n]:null}},{key:"set",value:function(t,n){var i=r.default.createHash(t),a=o.default.get(e.localStorageKey);a&&(a[i]={data:n},o.default.set(a,e.localStorageKey))}},{key:"clear",value:function(){o.default.clear(e.localStorageKey)}}])&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();c="bber_cache",(s="localStorageKey")in(u=l)?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c;var f=l;t.default=f},function(e,t,n){"use strict";n(17),n(3),n(30),n(14),n(16),n(35),n(7),n(8),n(26),n(36),Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0,n(19),n(6),n(2),n(1),n(89),n(4),n(5),n(108),n(47),n(80),n(69);var r=f(n(0)),o=f(n(169)),i=f(n(176)),a=n(389),u=n(106),s=f(n(90)),c=f(n(66)),l=n(57);function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.isValidNode=function(){return!0};var v=new a.ProcessNodeDefinitions(r.default);t.processNodeDefinitions=v,t.processingInstructions=function(e){var t=e.requestedSpineItem;return[{shouldProcessNode:function(e){var t;return"noteref"===(null==e||null===(t=e.attribs)||void 0===t?void 0:t["epub:type"])},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href);return r.default.createElement(u.Footnote,b(b({},o),{},{key:i,href:a}),n)}},{shouldProcessNode:function(e){var t,n,r;return(null===(t=e.attribs)||void 0===t?void 0:t.href)&&(!(null!==(n=e.attribs)&&void 0!==n&&n["epub:type"])||"noteref"!==(null===(r=e.attribs)||void 0===r?void 0:r["epub:type"]))},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=e.attribs.href;return c.default.isRelative(e.attribs.href)&&(a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href)),r.default.createElement(u.Link,b(b({},o),{},{key:i,href:a}),n)}},{shouldProcessNode:function(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&c.default.isRelative(e.attribs.src)},processNode:function(e){var n=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)(),i=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.src);return r.default.createElement(e.name,b(b({},n),{},{key:o,src:i}))}},{shouldProcessNode:function(e){return"audio"===e.name},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o=n.id,a=n.autoPlay,c=(0,l.getControlsPreset)(n),f=o,d=!1;return(0,i.default)(a)||(d=!0,delete n.autoPlay),r.default.createElement(u.Audio,b(b({},n),{},{"data-autoplay":d,controls:c,key:f}),t)}},{shouldProcessNode:function(e){return"video"===e.name},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),a=o.id,f=o.autoPlay,d=(0,l.getControlsPreset)(o),p=a,h=e.attribs.poster?c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.poster):null,y=!1;return(0,i.default)(f)||(y=!0,delete o.autoPlay),r.default.createElement(u.Video,b(b({},o),{},{"data-autoplay":y,controls:d,key:p,poster:h}),n)}},{shouldProcessNode:function(e){return"iframe"===e.name&&e.attribs["data-vimeo"]},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=new Set(["16x9","4x3"]),f=null,p=new Map([["x",16],["y",9]]);if(e.attribs["data-vimeo-poster"]&&(f=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs["data-vimeo-poster"])),e.attribs["data-aspect-ratio"]&&a.has(e.attribs["data-aspect-ratio"])){var h=d(e.attribs["data-aspect-ratio"].split("x").map(Number),2),y=h[0],v=h[1];p.set("x",y),p.set("y",v)}delete o["data-vimeo"],delete o["data-vimeo-poster"],delete o["data-aspect-ratio"];for(var m=e.parent;m;){if("tag"===m.type&&m.attribs["data-marker-reference-figure"]){o.useElementOffsetLeft=!1;break}m=m.parent}return r.default.createElement(u.Vimeo,b(b({},o),{},{key:i,posterImage:f,aspectRatio:p}),n)}},{shouldProcessNode:function(e){return"iframe"===e.name},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)();n.spreadLayout=!1;for(var i=e.parent;i;){if("tag"===i.type&&i.attribs["data-marker-reference-figure"]){n.useElementOffsetLeft=!1,n.spreadLayout=!0;break}i=i.parent}return r.default.createElement(u.Iframe,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"image"===e.name&&e.attribs&&e.attribs["xlink:href"]&&c.default.isRelative(e.attribs["xlink:href"])},processNode:function(e,n){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,o.xlinkHref);return r.default.createElement(e.name,b(b({},o),{},{key:i,xlinkHref:a}),n)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference-figure")},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o="spread-figure-".concat(n["data-marker-reference-figure"]);return r.default.createElement(u.SpreadFigure,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-ultimate")},processNode:function(e,t){return r.default.createElement(u.Ultimate,{},t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference")},processNode:function(e,t){var n=s.default.convertToReactAttrs(e.attribs),o="spread-".concat(n["data-marker-reference"]);return r.default.createElement(u.Spread,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker")},processNode:function(e,t){e.parent.attribs=b(b({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});var n=s.default.convertToReactAttrs(e.attribs),o="marker-".concat(n["data-marker"]);return r.default.createElement(u.Marker,b(b({},n),{},{key:o}),t)}},{shouldProcessNode:function(){return!0},processNode:v.processDefaultNode}]}},function(e,t,n){"use strict";n(17),n(3),n(14),n(35),n(7),n(8),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1),n(2),n(89),n(4),n(5),n(16),n(91),n(30),n(36),n(26),n(32),n(19),n(92);var r=a(n(176)),o=a(n(353)),i=n(57);function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),d(this,"classListContainsAny",(function(e,t){return t.some((function(t){return e.classList.contains(t)}))})),o.default.getRootDocument()||o.default.setRootDocument(document),o.default.removeStyleSheets(),o.default.removeScripts(),this.settings=c(c({},e.defaults),t),o.default.setRequestURI(this.settings.responseURL),this.fullbleedClassNames=this.settings.fullbleedClassNames,this.blacklistedClassNames=this.settings.blacklistedClassNames,this.markerClassNames=this.settings.markerClassNames,this.markerElement=this.settings.markerElement,this.markerStyles={display:"block",height:"1px",position:"relative",top:0,left:0,width:"100%",lineHeight:0,textindent:0,margin:0,padding:0},this.blackListedNodes={names:new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","A","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME","FIGURE","CITE","BLOCKQUOTE","LI"])}}var t,n;return t=e,(n=[{key:"classListContainsAll",value:function(e,t){return t.some((function(t){return t.every((function(t){return e.classList.contains(t)}))}))}},{key:"classListContainsNone",value:function(e,t){return t.every((function(t){return t.every((function(t){return!e.classList.contains(t)}))}))}},{key:"shouldParse",value:function(e){return 1===e.nodeType&&!1===this.blackListedNodes.names.has(e.nodeName.toUpperCase())&&!1===e.classList.contains(this.markerClassNames)&&this.classListContainsNone(e,this.blacklistedClassNames)}},{key:"isFullbleed",value:function(e){return this.classListContainsAll(e,this.fullbleedClassNames)}},{key:"isMarker",value:function(e){return this.classListContainsAll(e,[[this.markerClassNames]])}},{key:"isMarkerReferenceNode",value:function(e){return this.classListContainsAny(e,["spread__content"])||"FIGURE"===e.nodeName}},{key:"hasChildren",value:function(e){return e&&e.children&&e.children.length}},{key:"getLastChild",value:function(e){for(var t=null,n=e.length-1;n>=0;n--)if(t=e[n],this.shouldParse(t))return this.hasChildren(t)?this.getLastChild(t.children):t;return e[e.length-1].parentNode}},{key:"getSibling",value:function(e){if(null===e)return e;var t=e.previousElementSibling;return t?this.isFullbleed(t)?this.getSibling(t):this.shouldParse(t)?this.hasChildren(t)?this.getLastChild(t.children):t:this.getSibling(t):this.getSibling(e.parentNode)}},{key:"setMarkerStyles",value:function(e){Object.entries(this.markerStyles).forEach((function(t){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),r=n[0],o=n[1];return e.style[r]=o}))}},{key:"createMarker",value:function(e){var t=document.createTextNode(""),n=document.createElement(this.markerElement);return n.setAttribute("class",this.markerClassNames),n.setAttribute("data-marker",e),n.setAttribute("data-unbound",!1),n.setAttribute("data-final",!1),n.appendChild(t),this.setMarkerStyles(n),n}},{key:"createMarkerId",value:function(){return(0,i.rand)()}},{key:"addMarkerReferenceToChild",value:function(e,t){for(var n=0;n<e.children.length;n++)this.isMarkerReferenceNode(e.children[n])&&e.children[n].setAttribute("data-marker-reference-figure",t)}},{key:"insertMarkers",value:function(e,t){for(var n=this,r=Array.from(e.children).filter((function(e){return!n.isMarker(e)})),o=0;o<r.length;o++){var i=r[o],a=this.createMarkerId(),u=void 0,s=this.shouldParse(i),c=this.isFullbleed(i);if(s){if(c)if(u=this.getSibling(i)){var l=this.createMarker(a);u.lastElementChild&&this.isMarker(u.lastElementChild)&&l.setAttribute("data-adjacent",!0),u.appendChild(l),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}else{var f=this.createMarker(a);f.setAttribute("data-unbound",!0),i.parentNode.prepend(f),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}i.children&&i.children.length&&this.insertMarkers(i)}}t&&"function"==typeof t&&t(e)}},{key:"isElementNode",value:function(e){return e.nodeType===window.Node.ELEMENT_NODE}},{key:"removeBottomSpacing",value:function(e){e.style.marginBottom="0",e.style.paddingBottom="0"}},{key:"addLastNode",value:function(e){var t,n,r=new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME"]),o=document.createTextNode(""),i=document.createElement("span");i.setAttribute("class","ultimate"),i.setAttribute("data-ultimate","true"),i.appendChild(o);for(var a=e.body.childNodes.length-1;a>=0;a--)if(t=e.body.childNodes[a],!r.has(t.nodeName)&&this.isElementNode(t)){for(this.removeBottomSpacing(t),n=t.lastElementChild;n;)this.isMarkerReferenceNode(n)||this.removeBottomSpacing(n),n=n.lastElementChild;return void t.appendChild(i)}console.warn("Could not append ultimate node")}},{key:"addIndicesToMarkers",value:function(e){for(var t=e.querySelectorAll("[data-marker]"),n=t.length,r=0;r<n;r++)t[r].setAttribute("data-index",r),t[r].setAttribute("data-final",r===n-1)}},{key:"removeBreakAfterClasses",value:function(e){for(var t=this,n=Array.from(e.children).filter((function(e){return!t.isMarker(e)&&1===e.nodeType})),r=0;r<n.length;r++){var o=n[r],i=o.nextElementSibling;o.classList.contains("break-after")&&i&&this.isFullbleed(i)&&o.classList.remove("break-after"),o.children&&o.children.length&&this.removeBreakAfterClasses(o)}}},{key:"validateDocument",value:function(e){var t,n=e.querySelectorAll("[data-marker]"),o=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(o,0),a={},u=!0,s=!0;t=n.length===o.length,console.assert(t,"Incorrect number of markers");for(var c=0;c<i.length;c++)a[i[c].dataset.markerReference]=!0;for(var l=0;l<n.length;l++){var f=n[l].dataset.marker,d=!(0,r.default)(f);console.assert(d,"Marker ".concat(l," does not have a marker attribute"));var p=a[f];console.assert(p,"Reference for marker ".concat(l," (").concat(f,") could not be found")),d||(u=!1),p||(s=!1)}return t&&u&&s}},{key:"parseXML",value:function(e,t){var n,r=this,i=(new window.DOMParser).parseFromString(e,"text/html"),a=null;o.default.setContextDocument(i),o.default.createStyleSheets(),o.default.createScriptElements(),o.default.parseXML(),this.insertMarkers(i,(function(t){r.validateDocument(t)||(a=new Error("Invalid markup")),r.addLastNode(i),r.addIndicesToMarkers(i),r.removeBreakAfterClasses(i),n=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(function(e,t){return"<body".concat(t,">").concat(i.body.innerHTML,"</body>")}))}));var u={xml:n,doc:i};return t&&"function"==typeof t?t(a,u):u}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(p,"defaults",{fullbleedClassNames:[["figure__inline","figure__large","figure__fullbleed"],["spread"]],blacklistedClassNames:[["gallery__item","figure__items","figure__processed"],["pullquote"],["initial"]],markerClassNames:"marker",markerElement:"span",responseURL:window.location.host});var h=p;t.default=h},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(109),n(3),n(7),n(8),n(110),n(111),n(112),n(113),n(16),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(818),n(2),n(1),n(4),n(5),n(164),n(88),n(19),n(819),n(87),n(26),n(69);var o=f(n(0)),i=n(38),a=f(n(58)),u=f(n(185)),s=f(n(90)),c=f(n(66)),l=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function h(){}function b(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==t&&n.call(m,i)&&(y=m);var g=b.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,s(g,"constructor",b),s(b,"constructor",h),h.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function p(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,u,"next",e)}function u(e){p(i,r,o,a,u,"throw",e)}a(void 0)}))}}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=["SCRIPT","STYLE"],S=function(e){return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,_.includes(t));var t},O=function(e){if(!e.href||c.default.isRelative(e.href))return e.parentNode.removeChild(e);var t=new window.URL(e.href).origin;return new RegExp(window.location.origin).test(t)?e.parentNode.removeChild(e):e.setAttribute("target","_blank")},x=function e(t,n){for(var r=t.children.length-1;r>=0;r--){var o=t.children[r];S(o)&&o.parentNode.removeChild(o),"A"===o.nodeName&&O(o),o.children.length&&e(o)}if(void 0!==n){var i=document.createElement("span"),a=document.createTextNode(n);i.classList.add("footnote__content--count"),i.appendChild(a),t.prepend(i)}return t.innerHTML},E=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),w(m(t=r.call(this,e)),"footnoteContainer",o.default.createRef()),w(m(t),"footnoteElement",o.default.createRef()),w(m(t),"getFootnote",h(d().mark((function e(){var n,r,o,i,a,s,c,l,f,p,h,b,y;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.state.content)){e.next=3;break}return e.abrupt("return");case 3:return r=new window.URL(t.props.href),o=r.hash,i=o.slice(1),e.next=7,u.default.get(t.props.href);case 7:if(a=e.sent,s=a.data,c=new window.DOMParser,l=c.parseFromString(s,"text/html"),f=l.getElementById(i)){e.next=15;break}return console.error("Could not retrieve footnote %s; Document URL %s",o,t.props.href),e.abrupt("return");case 15:for(p=f.parentNode;p&&"UL"!==p.nodeName&&"OL"!==p.nodeName;)p=p.parentNode;p&&(b=Number(p.getAttribute("start"))||1,y=Array.prototype.indexOf.call(p.children,f),h=b+y),n=x(f.firstChild,h),t.setState({content:n});case 20:case"end":return e.stop()}}),e)})))),w(m(t),"handleOnMouseOver",(function(e){e&&e.preventDefault(),l.default.isMobile()||t.toggleFootnote()})),w(m(t),"handleOnMouseMove",(function(e){l.default.isMobile()||"SPAN"===e.target.nodeName&&e.target.classList.contains("footnote__number")&&e.target.dataset.footnote!==t.state.footnote&&t.hideFootnote()})),w(m(t),"handleDocumentClick",(function(e){"A"!==e.target.nodeName&&t.hideFootnote()})),w(m(t),"toggleFootnote",(function(e){return e&&(e.preventDefault(),e.stopPropagation()),t.state.visible?t.hideFootnote():t.showFootnote()})),w(m(t),"showFootnote",function(){var e=h(d().mark((function e(n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n&&n.preventDefault(),e.next=3,t.getFootnote();case 3:t.setState({visible:!0}),document.addEventListener("click",t.handleDocumentClick),document.addEventListener("mousemove",t.handleOnMouseMove);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),w(m(t),"hideFootnote",(function(e){e&&e.preventDefault(),t.setState({visible:!1}),document.removeEventListener("click",t.handleDocumentClick),document.removeEventListener("mousemove",t.handleOnMouseMove)})),t.state={content:"",visible:!1,footnote:s.default.createId()},t}return t=i,(n=[{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleDocumentClick)}},{key:"getFootnoteOffset",value:function(){var e,t;if(null===(e=this.footnoteContainer)||void 0===e||!e.current||null===(t=this.footnoteElement)||void 0===t||!t.current)return console.warn("Footnote elements are not bound"),!1;var n=this.footnoteContainer.current.getBoundingClientRect().top,r=this.props.viewerSettings,o=r.paddingTop,i=r.paddingBottom;return n+this.footnoteElement.current.offsetHeight>window.innerHeight-(o+i)}},{key:"footnoteStyles",value:function(){var e,t=this.props.viewerSettings,n=t.columnWidth,r=t.columnGap,o=t.paddingLeft,i=l.default.isMobile(),a=this.getFootnoteOffset()?"bottom":"top",u="bottom"===a?"1rem":"1.5rem",s=w({width:i?window.innerWidth-2*o:"".concat(n+r,"px"),left:0},a,u);return null!==(e=this.footnoteContainer)&&void 0!==e&&e.current?(s.left=this.footnoteContainer.current.getBoundingClientRect().x,s.left=i?s.left=-1*s.left+o:s.left>=window.innerWidth/2?s.left=-1*s.left+o+n+r:s.left=-1*s.left+o,s.cursor="auto",s):s}},{key:"render",value:function(){var e=this.state,t=e.content,n=e.visible,r=!t||!n;return o.default.createElement("span",{id:this.props.id,className:"footnote-ref"},o.default.createElement("span",{ref:this.footnoteContainer,className:"footnote__container",style:{display:"inline",position:"relative"}},o.default.createElement("span",{className:"footnote__number","data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver},this.props.children),o.default.createElement("span",{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,a.default)("footnote__body",{"footnote__body--hidden":r})},o.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:t}}))))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component),k=(0,i.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(){return{}}))(E);t.default=k},function(e,t,n){"use strict";var r=n(11),o=n(149).includes,i=n(9),a=n(156);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){var r=n(23),o=n(13),i=n(10),a=n(120),u=n(159),s=n(63),c=n(74).f,l=n(61),f=n(331),d=n(39),p=n(318),h=n(206),b=n(820),y=n(40),v=n(9),m=n(25),g=n(44).enforce,w=n(163),_=n(18),S=n(319),O=n(320),x=_("match"),E=o.RegExp,k=E.prototype,P=o.SyntaxError,j=i(k.exec),T=i("".charAt),A=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,N=/a/g,M=new E(I)!==I,D=h.MISSED_STICKY,U=h.UNSUPPORTED_Y;if(a("RegExp",r&&(!M||D||S||O||v((function(){return N[x]=!1,E(I)!=I||E(N)==N||"/a/i"!=E(I,"i")}))))){for(var F=function(e,t){var n,r,o,i,a,c,h=l(k,this),b=f(e),y=void 0===t,v=[],w=e;if(!h&&b&&y&&e.constructor===F)return e;if((b||l(k,e))&&(e=e.source,y&&(t=p(w))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),w=e,S&&"dotAll"in I&&(r=!!t&&C(t,"s")>-1)&&(t=A(t,/s/g,"")),n=t,D&&"sticky"in I&&(o=!!t&&C(t,"y")>-1)&&U&&(t=A(t,/y/g,"")),O&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";r<=n;r++){if("\\"===(t=T(e,r)))t+=T(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:j(R,L(e,r+1))&&(r+=2,s=!0),o+=t,c++;continue;case">"===t&&s:if(""===l||m(a,l))throw new P("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],s=!1,l="";continue}s?l+=t:o+=t}return[o,i]}(e))[0],v=i[1]),a=u(E(e,t),h?this:k,F),(r||o||v.length)&&(c=g(a),r&&(c.dotAll=!0,c.raw=F(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=T(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+T(e,++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==w)try{s(a,"source",""===w?"(?:)":w)}catch(e){}return a},B=c(E),z=0;B.length>z;)b(F,E,B[z++]);k.constructor=F,F.prototype=k,y(o,"RegExp",F,{constructor:!0})}w("RegExp")},function(e,t,n){var r=n(34).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(47),n(6);var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("div",null,e.books.map((function(t,n){return o.default.createElement("button",{key:n,onClick:function(){return e.handleClick(t)},style:{width:200,height:300,display:"inline-block",backgroundImage:"url(".concat(t.cover,")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}},t.name)})))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(33),n(109),n(17),n(3),n(14),n(16),n(35),n(7),n(8),n(2),n(4),n(5),n(110),n(111),n(112),n(113),n(6),n(37),n(15),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(430),n(1),n(132),n(26),n(19),n(80),n(30),n(28),n(29);var o=b(n(0)),i=n(59),a=n(38),u=p(n(182)),s=n(106),c=p(n(185)),l=b(n(373)),f=b(n(204)),d=["style","className"];function p(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=S(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var b={};s(b,i,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(k([])));m&&m!==t&&n.call(m,i)&&(b=m);var g=h.prototype=d.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(d).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=h,s(g,"constructor",h),s(h,"constructor",p),p.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(_.prototype),s(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"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=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),x(n),f}},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 o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(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,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(l,e);var t,n,r,i,a=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}(l);function l(){return S(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"UNSAFE_componentWillMount",value:(r=v().mark((function e(){var t,n,r,o,i,a,s,l,f,d,p,h,b,y,m;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.readerSettings,n=t.manifestURL,r=t.disableBodyStyles,o=this.props.readerSettings,i=o.bookURL,a=o.projectURL,s=[],n&&i&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==r&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),!n){e.next=20;break}return e.prev=6,e.next=9,c.default.get(n);case 9:l=e.sent,f=l.data,d=f.resources.find((function(e){return"application/oebps-package+xml"===e.type})),p=d.href,i=p.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:i}),a||(a=n.slice(0,n.lastIndexOf("/"))),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),console.error("Error loading Webpub manifest",e.t0);case 20:return i&&!a&&(a=i.split("/").slice(0,-2).join("/")),e.prev=21,e.next=24,c.default.getBooks(a);case 24:h=e.sent,s=h.data,e.next=31;break;case 28:e.prev=28,e.t1=e.catch(21),console.warn("Could not load books from API",e.t1);case 31:console.log("---- books",s),console.log("---- bookURL",i),console.log("---- projectURL",a),b=i.split("/").filter(Boolean).pop(),y=(0,u.default)(s,{id:b}),m={},y&&(m.layout=y.layout,m.downloads=y.downloads,m.uiOptions=y.ui_options),m.layout=this.props.readerSettings.layout||m.layout||"columns",this.props.readerSettingsActions.updateSettings(g({books:s,bookURL:i,projectURL:a},m)),this.props.readerLocationActions.setInitialSearchParams();case 41:case"end":return e.stop()}}),e,this,[[6,17],[21,28]])})),i=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){_(i,n,o,a,u,"next",e)}function u(e){_(i,n,o,a,u,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this.props.readerLocation.searchParams,t=this.props.readerSettings.bookURL;if(!e||!t)return null;var n=this.props.readerSettings,r=n.style,i=n.className,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,d);return o.default.createElement(s.Reader,y({style:r,className:i},a))}}])&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.Component),j=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,readerLocation:e.readerLocation}}),(function(e){return{readerSettingsActions:(0,i.bindActionCreators)(l,e),readerLocationActions:(0,i.bindActionCreators)(f,e)}}))(P);t.default=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n(38).connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((function(e){return r.default.createElement("div",{className:(0,o.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},r.default.createElement("div",{className:"bber-spinner__detail"}))}));t.default=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(825),n(47);var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(0)),a=(o=n(41))&&o.__esModule?o:{default:o},u=n(179);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){return i.default.createElement("span",{style:{display:"table",float:"left",paddingLeft:15}},e.children)}function h(e){return i.default.createElement("span",{style:{display:"table-row"}},e.children)}function b(e){return void 0===e.cond?i.default.createElement("span",{style:{display:"table-cell"}},e.children):i.default.createElement("span",{style:{display:"table-cell",border:"1px solid",height:20,width:20,backgroundColor:e.cond?"red":""}})}function y(){var e=a.default.getColumnCount(),t=a.default.getColumnWidth(),n=a.default.getGutterWidth(),r=t+n,o=new Array(e).fill();return i.default.createElement("div",{className:"bber-grid__debug"},o.map((function(e,n){return i.default.createElement("span",{key:n,style:{left:r*n,width:t},className:"bber-grid__debug__line"},n+1)})))}var v=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(o,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}(o);function o(){return s(this,o),r.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){return u.debug?i.default.createElement(i.default.Fragment,null,u.showBreakpoints&&i.default.createElement("div",{style:{position:"fixed",top:45,right:10}},i.default.createElement(p,null,i.default.createElement(h,null,i.default.createElement(b,null," "),i.default.createElement(b,null,"Breakpoint X:"),i.default.createElement(b,null,a.default.horizontalSmall()&&"SMALL",a.default.horizontalMedium()&&"MEDIUM",a.default.horizontalLarge()&&"LARGE")),i.default.createElement(h,null,i.default.createElement(b,null," "),i.default.createElement(b,null,"Breakpoint Y:"),i.default.createElement(b,null,a.default.verticalSmall()&&"SMALL",a.default.verticalMedium()&&"MEDIUM",a.default.verticalLarge()&&"LARGE"))),i.default.createElement(p,null,i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalSmall()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalSmall()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalSmall()})),i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalMedium()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalMedium()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalMedium()})),i.default.createElement(h,null,i.default.createElement(b,{cond:a.default.horizontalSmall()&&a.default.verticalLarge()}),i.default.createElement(b,{cond:a.default.horizontalMedium()&&a.default.verticalLarge()}),i.default.createElement(b,{cond:a.default.horizontalLarge()&&a.default.verticalLarge()})))),u.showGrid&&i.default.createElement(y,null)):null}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.Component);t.default=v},function(e,t,n){var r=n(11),o=n(247),i=n(156);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(350)),i=["children"];function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default.Consumer,null,(function(t){var n=t.left,o=e.children,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return r.default.createElement("figure",u({style:{left:n}},a),o)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var r=a(n(0)),o=a(n(41)),i=n(27);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.spreadPosition,n=e.markerRefId,a=e.paddingLeft,u=2*a,s=-2*a,c=e.unbound?t-1:t,l=e.layout===i.layouts.SCROLL||o.default.isMobile()?null:"\n /* Previous pages */\n .spread-index__".concat(c-2," #spread__").concat(n," > figure,\n .spread-index__").concat(c-2," #spread__").concat(n," > .spread__content,\n .spread-index__").concat(c-1," #spread__").concat(n," > figure,\n .spread-index__").concat(c-1," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n transform: translateX(").concat(u,"px) translate3d(0, 0, 0);\n /*transform-style: preserve-3d;*/\n }\n\n /* Current page */\n .spread-index__").concat(c," #spread__").concat(n," > figure,\n .spread-index__").concat(c," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(0,"px) translate3d(0, 0, 0);\n }\n\n /* Next pages */\n .spread-index__").concat(c+1," #spread__").concat(n," > figure,\n .spread-index__").concat(c+1," #spread__").concat(n," > .spread__content,\n .spread-index__").concat(c+2," #spread__").concat(n," > figure,\n .spread-index__").concat(c+2," #spread__").concat(n," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(s,"px) translate3d(0, 0, 0);\n }\n ");return r.default.createElement("style",{id:"style__".concat(n),"data-position":c},l)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(2),n(4),n(15),n(5),n(14),n(3),n(7),n(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32),n(1);var o,i=(o=n(0))&&o.__esModule?o:{default:o},a=n(38),u=n(59),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=function(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return function(e){return e?n:t}(e)}(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(180));function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(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=window,v=y.requestAnimationFrame,m=y.cancelAnimationFrame,g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(o,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}(o);function o(){var e;c(this,o);for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return b(p(e=r.call.apply(r,[this].concat(n))),"node",i.default.createRef()),b(p(e),"rAF",null),b(p(e),"maxChecks",5),b(p(e),"state",{prevLefts:[]}),b(p(e),"cancel",(function(){m(e.rAF)})),b(p(e),"poll",(function(){var t;if(e.rAF=v(e.poll),null!==(t=e.node)&&void 0!==t&&t.current){var n=e.state.prevLefts,r=e.node.current.offsetLeft;if(n.length<e.maxChecks)return n=n.some((function(e){return e!==r}))?[r]:n.concat(r),void e.setState({prevLefts:n});n=[],e.setState({prevLefts:n},(function(){e.props.viewActions.load(),e.props.viewActions.updateUltimateNodePosition({ultimateOffsetLeft:r}),e.cancel()}))}})),e}return t=o,(n=[{key:"componentDidMount",value:function(){this.poll()}},{key:"componentWillUnmount",value:function(){this.cancel()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){!0===this.props.view.loaded&&!1===e.view.loaded&&this.poll()}},{key:"render",value:function(){return i.default.createElement("span",{ref:this.node,className:"bber-ultimate"},this.props.children)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),o}(i.default.Component),w=(0,a.connect)((function(e){return{view:e.view}}),(function(e){return{viewActions:(0,u.bindActionCreators)(s,e)}}))(g);t.default=w},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(33),n(3),n(7),n(8),n(26),n(6),n(36),n(19),n(17),n(30),n(14),n(16),n(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(2),n(108),n(1),n(4),n(5);var o=b(n(0)),i=b(n(830)),a=b(n(838)),u=b(n(839)),s=b(n(181)),c=b(n(434)),l=b(n(95)),f=b(n(41)),d=n(840),p=n(57),h=["autoplay"];function b(e){return e&&e.__esModule?e:{default:e}}function y(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,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 w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=(0,p.isBrowser)("chrome","eq",81),k=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(s,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),x(S(t=r.call(this,e)),"handleUpdatePlaying",(function(){return t.setState((function(e){return{playing:!e.playing}}))})),x(S(t),"handlePause",(function(){return t.setState({playing:!1})})),x(S(t),"handleEnded",(function(){return t.setState({playing:!1})})),x(S(t),"handleUpdatePosition",(function(){})),x(S(t),"handleUpdateVolume",(function(){})),t.state={url:"",loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([["x",16],["y",9]])},t}return t=s,(n=[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.src,n=e.posterImage,r=e.aspectRatio,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,d.getURLAndQueryParamters)(t),2),i=o[0],a=o[1],u=(0,d.transformSearchParamsToProps)((0,d.getPlayerPropsFromQueryString)(a),s.blacklistedProps),c=u.autoplay,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(u,h),f=u.controls,b=u.muted,y=u.loop;this.setState((function(e){return{url:i,loop:(0,p.unlessDefined)(y,e.loop),muted:(0,p.unlessDefined)(b,e.muted),controls:(0,p.unlessDefined)(f,e.controls),autoplay:(0,p.unlessDefined)(c,e.autoplay),posterImage:n,aspectRatio:r,playerOptions:v({},l)}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var n=(0,d.getPlayingStateOnUpdate)(this.state,this.props,e,t);n&&this.setState(n)}},{key:"render",value:function(){var e,t=this.state,n=t.url,r=t.loop,s=t.muted,c=t.controls,l=t.playing,d=t.posterImage,p=t.playerOptions,h=t.aspectRatio,b=this.props,y=b.iframePlaceholderTop,v=b.iframePlaceholderWidth,m=b.iframePlaceholderHeight,g={};if(E){var w=f.default.isMobile(),_=w?"static":"absolute",S=h.get("x"),O=h.get("y");if(w||(g={top:y,width:v,height:m,position:_}),!w&&v>window.innerWidth){var x=window.innerWidth>=window.innerHeight;g.top="50%",g.left="50%",g.transform="translateX(-50%) translateY(-50%)",x?(g.width="100vw",g.height="100vw",g.minWidth="".concat(S/O*100,"vh")):(g.width="".concat(O/S*100,"vw"),g.height="100vw",g.minHeight="100%")}e=w?0:"".concat(O/S*100,"%")}return o.default.createElement(o.default.Fragment,null,E&&o.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),E&&o.default.createElement("div",{key:"placholder-".concat(n),style:{paddingTop:e},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:g,key:n,ref:this.props.elemRef},o.default.createElement(a.default,{src:d,playing:l,controls:c,handleUpdatePlaying:this.handleUpdatePlaying}),o.default.createElement(i.default,{url:n,width:"100%",height:"100%",loop:r,muted:s,playing:l,controls:c,playsinline:!0,config:{vimeo:{playerOptions:p}},onPause:this.handlePause,onEnded:this.handleEnded}),o.default.createElement(u.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}])&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.default.Component);x(k,"contextType",l.default),x(k,"blacklistedProps",["autopause"]);var P=(0,s.default)((0,c.default)(k,{enabled:E}),{useParentDimensions:!0});t.default=P},function(e,t,n){var r=n(831).createReactPlayer,o=n(836).default;e.exports=r([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=k(n(0)),o=l(n(431)),i=l(n(832)),a=l(n(432)),u=n(433),s=n(192),c=l(n(834));function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="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 d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return(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}).apply(this,arguments)}function b(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(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=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(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(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var P=(0,r.lazy)((function(){return Promise.resolve().then((function(){return k(n(835))}))})),j="undefined"!=typeof window&&window.document,T=void 0!==e&&e.window&&e.window.document,A=Object.keys(u.propTypes),C=j||T?r.Suspense:function(){return null},L=[];t.createReactPlayer=function(e,t){var n,l;return l=n=function(n){!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&&g(e,t)}(y,n);var l,f,d=w(y);function y(){var n;v(this,y);for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return x(S(n=d.call.apply(d,[this].concat(l))),"state",{showPreview:!!n.props.light}),x(S(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),x(S(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),x(S(n),"showPreview",(function(){n.setState({showPreview:!0})})),x(S(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),x(S(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),x(S(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),x(S(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),x(S(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),x(S(n),"handleReady",(function(){n.props.onReady(S(n))})),x(S(n),"getActivePlayer",(0,i.default)((function(n){for(var r=0,o=[].concat(L,b(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),x(S(n),"getConfig",(0,i.default)((function(e,t){var r=n.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},r,r[t]||{}])}))),x(S(n),"getAttributes",(0,i.default)((function(e){return(0,s.omit)(n.props,A)}))),x(S(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var o=n.getConfig(e,t.key);return r.default.createElement(c.default,h({},n.props,{key:t.key,ref:n.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return l=y,(f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(P,{url:e,light:n,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,s=this.state.showPreview,c=this.getAttributes(t);return r.default.createElement(u,h({ref:this.references.wrapper,style:p(p({},n),{},{width:o,height:i})},c),r.default.createElement(C,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&m(l.prototype,f),y}(r.Component),x(n,"displayName","ReactPlayer"),x(n,"propTypes",u.propTypes),x(n,"defaultProps",u.defaultProps),x(n,"addCustomPlayer",(function(e){L.push(e)})),x(n,"removeCustomPlayers",(function(){L.length=0})),x(n,"canPlay",(function(t){for(var n=0,r=[].concat(L,b(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1})),x(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(L,b(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),l}}).call(this,n(52))},function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((o=e[n])===(i=t[n])||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?n:r)(a,o),a.onload||n(a,o),i.appendChild(a)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),a=(o=n(432))&&o.__esModule?o:{default:o},u=n(433),s=n(192);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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(o,e);var t,n,r=function(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=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(o);function o(){var e;l(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return y(h(e=r.call.apply(r,[this].concat(n))),"mounted",!1),y(h(e),"isReady",!1),y(h(e),"isPlaying",!1),y(h(e),"isLoading",!0),y(h(e),"loadOnReady",null),y(h(e),"startOnPlay",!0),y(h(e),"seekOnPlay",null),y(h(e),"onDurationCalled",!1),y(h(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())})),y(h(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),y(h(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),y(h(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),y(h(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),y(h(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),y(h(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),y(h(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),y(h(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),y(h(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=o,(n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,u=n.muted,c=n.playbackRate,l=n.pip,f=n.loop,d=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad&&!p&&!(0,s.isMediaStream)(r))return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&l&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!l&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==u&&(u?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){n.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&f(t.prototype,n),o}(i.Component);t.default=v,y(v,"displayName","Player"),y(v,"propTypes",u.propTypes),y(v,"defaultProps",u.defaultProps)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={},b=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&&c(e,t)}(i,e);var t,n,r=function(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=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}(i);function i(){var e;u(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return p(f(e=r.call.apply(r,[this].concat(n))),"mounted",!1),p(f(e),"state",{image:null}),p(f(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;e.url===n&&e.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,o=e.oEmbedUrl;if("string"!=typeof r){if(!h[n])return this.setState({image:null}),window.fetch(o.replace("{url}",n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480");t.setState({image:r}),h[n]=r}}));this.setState({image:h[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.playIcon,r=e.previewTabIndex,i=this.state.image,u={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:a({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},u),shadow:a({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},u),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},c=o.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:t,tabIndex:r,onKeyPress:this.handleKeyPress},n||c)}}])&&s(t.prototype,n),i}(o.Component);t.default=b},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),i=n(192),a=n(837);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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 b=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)}(a,e);var t,n,r=function(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=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}(a);function a(){var e;s(this,a);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return h(d(e=r.call.apply(r,[this].concat(n))),"callPlayer",i.callPlayer),h(d(e),"duration",null),h(d(e),"currentTime",null),h(d(e),"secondsLoaded",null),h(d(e),"mute",(function(){e.setVolume(0)})),h(d(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),h(d(e),"ref",(function(t){e.container=t})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){if(t.container){var r=t.props.config,o=r.playerOptions,i=r.title;t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},o)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",i&&(e.title=i)})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd)}}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}])&&c(t.prototype,n),a}(o.Component);t.default=b,h(b,"displayName","Vimeo"),h(b,"canPlay",a.canPlay.vimeo),h(b,"forceLoad",!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(192);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var u=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=u;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=l;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var p=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=p;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var b=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=b;var y=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=y;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=v;var m=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=m;var g=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=g;var w=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=w;var _=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=_;var S=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=S;var O=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=O;var x={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return u.test(e)&&!g.test(e)},vimeo:function(e){return s.test(e)&&!w.test(e)&&!_.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return p.test(e)||h.test(e)},dailymotion:function(e){return b.test(e)},mixcloud:function(e){return y.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return m.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("string"==typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||g.test(t)||w.test(t)||_.test(t)||S.test(t)||O.test(t)}};t.canPlay=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.src,n=e.playing,i=e.controls,a=e.handleUpdatePlaying;return t?r.default.createElement("img",{className:(0,o.default)("bber-poster bber-poster--vimeo",{"bber-visible":!n,"bber-controls":i}),onClick:a,src:t,alt:""}):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return null}},function(e,t,n){"use strict";n(3),n(7),n(8),n(36),n(26),n(6),Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0,n(19),n(80),n(2),n(1),n(89),n(4),n(5),n(32),n(91);var r=u(n(841)),o=u(n(66)),i=u(n(41)),a=n(27);function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.getPlayerPropsFromQueryString=function(e){return o.default.parseQueryString(e)},t.getURLAndQueryParamters=function(e){return e.split("?")},t.transformSearchParamsToProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e;t.length&&(n=(0,r.default)(e,t));var o=new Set(["true","1"]),i=new Set(["false","0"]),a=new Set([].concat(c(o),c(i))),u=Object.entries(n).reduce((function(e,t){var n=s(t,2),r=n[0],i=n[1];return e[r]=a.has(i)?o.has(i):i,e}),{});return u.playsinline=!0,u},t.getPlayingStateOnUpdate=function(e,t,n,r){if(!e.autoplay)return!1;if(!t.view.loaded)return!1;if(n.view.pendingDeferredCallbacks)return!1;var o=e.currentSpreadIndex,u=n.spreadIndex,s=r.spreadIndex;return o!==s&&(o=s,{playing:u===s&&!i.default.isMobile()&&t.readerSettings.layout!==a.layouts.SCROLL,currentSpreadIndex:o})}},function(e,t,n){var r=n(334),o=n(842),i=n(864),a=n(170),u=n(143),s=n(867),c=n(868),l=n(439),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),u(e,l(e),n),c&&(n=o(n,7,s));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},function(e,t,n){var r=n(221),o=n(843),i=n(435),a=n(844),u=n(845),s=n(848),c=n(849),l=n(850),f=n(851),d=n(358),p=n(439),h=n(183),b=n(852),y=n(853),v=n(858),m=n(56),g=n(224),w=n(860),_=n(81),S=n(862),O=n(136),x=n(290),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,k,P,j,T){var A,C=1&n,L=2&n,R=4&n;if(k&&(A=j?k(t,P,j,T):k(t)),void 0!==A)return A;if(!_(t))return t;var I=m(t);if(I){if(A=b(t),!C)return c(t,A)}else{var N=h(t),M="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(t))return s(t,C);if("[object Object]"==N||"[object Arguments]"==N||M&&!j){if(A=L||M?{}:v(t),!C)return L?f(t,u(A,t)):l(t,a(A,t))}else{if(!E[N])return j?t:{};A=y(t,N,C)}}T||(T=new r);var D=T.get(t);if(D)return D;T.set(t,A),S(t)?t.forEach((function(r){A.add(e(r,n,k,r,t,T))})):w(t)&&t.forEach((function(r,o){A.set(o,e(r,n,k,o,t,T))}));var U=I?void 0:(R?L?p:d:L?x:O)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(A,o,e(r,n,k,o,t,T))})),A}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(143),o=n(136);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(143),o=n(290);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(81),o=n(228),i=n(847),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&n.push(u);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(55),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(225)(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,n){var r=n(143),o=n(223);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(143),o=n(438);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(291),o=n(854),i=n(855),a=n(856),u=n(857);e.exports=function(e,t,n){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return u(e,n);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Set]":return new s;case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(291);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(104),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(291);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(859),o=n(209),i=n(228);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(81),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(861),o=n(226),i=n(227),a=i&&i.isMap,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(183),o=n(79);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(863),o=n(226),i=n(227),a=i&&i.isSet,u=a?o(a):r;e.exports=u},function(e,t,n){var r=n(183),o=n(79);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(170),o=n(865),i=n(866),a=n(134);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(230),o=n(335);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(130);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(869),o=n(872),i=n(874);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(870);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t,n){var r=n(222),o=n(871);e.exports=function e(t,n,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},function(e,t,n){var r=n(104),o=n(216),i=n(56),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(873),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),s=Array(u);++a<u;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},function(e,t){e.exports=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)}},function(e,t,n){var r=n(875),o=n(877)(r);e.exports=o},function(e,t,n){var r=n(876),o=n(437),i=n(365),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(37);var r=a(n(0)),o=a(n(440)),i=a(n(890));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default,u({mediaType:"video",MediaComponent:i.default},e))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(37),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=s(n(0)),i=s(n(58)),a=s(n(880)),u=n(27);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(s,e);var t,n,r=p(s);function s(){var e;l(this,s);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return v(b(e=r.call.apply(r,[this].concat(n))),"playbackSlow",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.SLOW)})),v(b(e),"playbackNormal",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.NORMAL)})),v(b(e),"playbackFast",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.FAST)})),e}return t=s,(n=[{key:"render",value:function(){var e=this.props,t=e.mediaType,n=e.config;return n?o.default.createElement("div",{className:(0,i.default)("bber-media__controls","bber-media__controls--".concat(t),"bber-media__controls--".concat(n))},o.default.createElement(a.default,c({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.default.Component);t.default=m},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(881)),i=u(n(887)),a=["mediaType"];function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.mediaType,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a);return"audio"===t?r.default.createElement(o.default,s({playbackSlow:n.playbackSlow,playbackNormal:n.playbackNormal,playbackFast:n.playbackFast},n)):r.default.createElement(i.default,s({playbackSlow:n.playbackSlow,playbackNormal:n.playbackNormal,playbackFast:n.playbackFast},n))}},function(e,t,n){"use strict";n(17),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(0)),o=s(n(882)),i=s(n(883)),a=s(n(884)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.config,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return"simple"===t?r.default.createElement(o.default,n):"normal"===t?r.default.createElement(i.default,n):r.default.createElement(a.default,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),o=u(n(193)),i=u(n(194)),a=u(n(144));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(o.default,{time:e.timeElapsed}),r.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(o.default,{time:e.timeRemaining}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(0)),o=n(441),i=c(n(292)),a=c(n(194)),u=c(n(193)),s=c(n(144));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(o.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(u.default,{time:e.timeElapsed}),r.default.createElement(s.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(u.default,{time:e.timeRemaining}),r.default.createElement(i.default,{volume:e.volume,updateVolume:e.updateVolume}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(0)),o=p(n(885)),i=p(n(442)),a=n(441),u=p(n(194)),s=p(n(193)),c=p(n(144)),l=p(n(886)),f=p(n(292)),d=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return r.default.createElement("div",{className:"bber-media__stacked"},r.default.createElement("div",{className:"bber-media__stacked__row"},r.default.createElement(s.default,{time:e.timeElapsed}),r.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(s.default,{time:e.timeRemaining})),r.default.createElement("div",{className:"bber-media__stacked__separator"},r.default.createElement("div",{className:"bber-media__stacked__separator--line"})),r.default.createElement("div",{className:"bber-media__stacked__row"},r.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),r.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),r.default.createElement("div",{style:{marginRight:"auto"}}),r.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),r.default.createElement(l.default,{currentSrc:e.currentSrc})))}function b(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),r.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),r.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),r.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),r.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),r.default.createElement(s.default,{time:e.timeElapsed}),r.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),r.default.createElement(s.default,{time:e.timeRemaining}),r.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),r.default.createElement(l.default,{currentSrc:e.currentSrc}))}t.default=function(e){return d.default.isMobile()?r.default.createElement(h,e):r.default.createElement(b,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(0)),o=i(n(58));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement("button",{className:(0,o.default)("bber-button material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")}},function(e,t,n){"use strict";n(17),n(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(0)),o=s(n(443)),i=s(n(444)),a=s(n(889)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.config,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);return"simple"===t?r.default.createElement(o.default,n):"normal"===t?r.default.createElement(i.default,n):r.default.createElement(a.default,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r};t.default=function(e){return o.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),o=a(n(444)),i=a(n(442));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return r.default.createElement(r.default.Fragment,null,r.default.createElement(o.default,e),r.default.createElement(i.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))}},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.elementKey,n=e.elementRef,r=e.handleLoad,u=e.handleEnded,s=e.controls,c=e.children,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return o.default.createElement("video",a({onLoadedMetadata:r,onEnded:u,controls:s,key:t,ref:n},l),c)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(37);var r=a(n(0)),o=a(n(440)),i=a(n(892));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return r.default.createElement(o.default,u({mediaType:"audio",MediaComponent:i.default},e))}},function(e,t,n){"use strict";n(17),n(3),n(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){var t=e.elementKey,n=e.elementRef,r=e.handleLoad,u=e.handleEnded,s=e.controls,c=e.children,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,i);return o.default.createElement("audio",a({onLoadedMetadata:r,onEnded:u,controls:s,key:t,ref:n},l),c)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(28),n(29),n(1),n(33),n(3),n(7),n(8),n(2),n(4),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(32);var o=c(n(0)),i=c(n(181)),a=c(n(434)),u=c(n(95)),s=c(n(41));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,n(57).isBrowser)("chrome","eq",81),m=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(i,e);var t,n,r=function(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(i);function i(){var e;l(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return y(h(e=r.call.apply(r,[this].concat(n))),"focusWindow",(function(){return setTimeout((function(){return window.focus()}),60)})),e}return t=i,(n=[{key:"componentDidMount",value:function(){window.addEventListener("blur",this.focusWindow)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("blur",this.focusWindow)}},{key:"render",value:function(){var e=this.props,t=e.src,n=e.title,r=e.height,i=e.iframePlaceholderTop,a=e.iframePlaceholderWidth,u=this.props.width,c={};if(v){var l=s.default.isMobile();c={top:i,width:u,maxWidth:l?"100%":a,position:l?"static":"absolute"}}return o.default.createElement(o.default.Fragment,null,v&&o.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),v&&o.default.createElement("div",{key:"placholder-".concat(t),style:{paddingTop:r},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:c,key:t,ref:this.props.elemRef},o.default.createElement("iframe",{src:t,title:n,width:u,height:r,webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:"allowfullscreen",allow:"autoplay",frameBorder:"0",scrolling:"no"})))}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.default.Component);y(m,"contextType",u.default);var g=(0,i.default)((0,a.default)(m,{enabled:v}));t.default=g},function(e,t,n){"use strict";n(372),n(895),n(896),n(897)},function(e,t,n){"use strict";/*! npm.im/object-fit-images 3.2.4 */var r="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i="undefined"==typeof Image?{style:{"object-position":1}}:new Image,a="object-fit"in i.style,u="object-position"in i.style,s="background-size"in i.style,c="string"==typeof i.currentSrc,l=i.getAttribute,f=i.setAttribute,d=!1;function p(e,t,n){var r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";l.call(e,"src")!==r&&f.call(e,"src",r)}function h(e,t){e.naturalWidth?t(e):setTimeout(h,100,e,t)}function b(e){var t=function(e){for(var t,n=getComputedStyle(e).fontFamily,r={};null!==(t=o.exec(n));)r[t[1]]=t[2];return r}(e),n=e[r];if(t["object-fit"]=t["object-fit"]||"fill",!n.img){if("fill"===t["object-fit"])return;if(!n.skipTest&&a&&!t["object-position"])return}if(!n.img){n.img=new Image(e.width,e.height),n.img.srcset=l.call(e,"data-ofi-srcset")||e.srcset,n.img.src=l.call(e,"data-ofi-src")||e.src,f.call(e,"data-ofi-src",e.src),e.srcset&&f.call(e,"data-ofi-srcset",e.srcset),p(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[r].img[t||"src"]},set:function(t,n){return e[r].img[n||"src"]=t,f.call(e,"data-ofi-"+n,t),b(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!c&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}(n.img),e.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?h(n.img,(function(){n.img.naturalWidth>e.width||n.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"})):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),h(n.img,(function(t){p(e,t.naturalWidth,t.naturalHeight)}))}function y(e,t){var n=!d&&!e;if(t=t||{},e=e||"img",u&&!t.skipTest||!s)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var o=0;o<e.length;o++)e[o][r]=e[o][r]||{skipTest:t.skipTest},b(e[o]);n&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&y(e.target,{skipTest:t.skipTest})}),!0),d=!0,e="img"),t.watchMQ&&window.addEventListener("resize",y.bind(null,e,{skipTest:t.skipTest}))}y.supportsObjectFit=a,y.supportsObjectPosition=u,function(){function e(e,t){return e[r]&&e[r].img&&("src"===t||"srcset"===t)?e[r].img:e}u||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return f.call(e(this,t),t,String(n))})}(),e.exports=y},function(e,t,n){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),r=t&&"+"===new t("s=%2B").get("s"),o=s.prototype,i=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&r)){o.append=function(e,t){p(this.__URLSearchParams__,e,t)},o.delete=function(e){delete this.__URLSearchParams__[e]},o.get=function(e){var t=this.__URLSearchParams__;return e in t?t[e][0]:null},o.getAll=function(e){var t=this.__URLSearchParams__;return e in t?t[e].slice(0):[]},o.has=function(e){return e in this.__URLSearchParams__},o.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},o.toString=function(){var e,t,n,r,o=this.__URLSearchParams__,i=[];for(t in o)for(n=c(t),e=0,r=o[t];e<r.length;e++)i.push(n+"="+c(r[e]));return i.join("&")};var a=!!r&&t&&!n&&e.Proxy;e.URLSearchParams=a?new Proxy(t,{construct:function(e,t){return new e(new s(t[0]).toString())}}):s;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var n=d(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},u.sort=u.sort||function(){var e,t,n,r=d(this.toString()),o=[];for(e in r)o.push(e);for(o.sort(),t=0;t<o.length;t++)this.delete(o[t]);for(t=0;t<o.length;t++){var i=o[t],a=r[i];for(n=0;n<a.length;n++)this.append(i,a[n])}},u.keys=u.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},u.values=u.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},u.entries=u.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},i&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function s(e){((e=e||"")instanceof URLSearchParams||e instanceof s)&&(e=e.toString()),this.__URLSearchParams__=d(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function l(e){return decodeURIComponent(e.replace(/\+/g," "))}function f(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(n[e.Symbol.iterator]=function(){return n}),n}function d(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),o=0;o<r.length;o++){var i=r[o],a=i.indexOf("=");-1<a?p(t,l(i.slice(0,a)),l(i.slice(a+1))):i&&p(t,l(i),"")}}return t}function p(e,t,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,n(52))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19);var r=function(){for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var n=e[t];window.requestAnimationFrame=window["".concat(n,"RequestAnimationFrame")],window.cancelAnimationFrame=window["".concat(n,"CancelAnimationFrame")]||window["".concat(n,"CancelRequestAnimationFrame")]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var r=0;window.requestAnimationFrame=function(e){var t=Date.now?Date.now():(new Date).getTime(),n=Math.max(r+16,t);return setTimeout((function(){e(r=n)}),n-t)},window.cancelAnimationFrame=clearTimeout}}();t.default=r},,function(e,t,n){"use strict";n.r(t),n.d(t,"createBrowserHistory",(function(){return _})),n.d(t,"createHashHistory",(function(){return k})),n.d(t,"createMemoryHistory",(function(){return j})),n.d(t,"createLocation",(function(){return b})),n.d(t,"locationsAreEqual",(function(){return y})),n.d(t,"parsePath",(function(){return p})),n.d(t,"createPath",(function(){return h}));var r=n(48);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),s=t&&o(t),c=u||s;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function s(e,t){if(!e)throw new Error("Invariant failed")}function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function f(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 d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function b(e,t,n,o){var i;"string"==typeof e?(i=p(e)).state=t:(void 0===(i=Object(r.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),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=u(t),o=u(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1}(e.state,t.state)}function v(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!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 m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),m||s(!1);var t,n=window.history,o=(-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")),a=e,u=a.forceRefresh,l=void 0!==u&&u,p=a.getUserConfirmation,y=void 0===p?g:p,_=a.keyLength,S=void 0===_?6:_,O=e.basename?d(c(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return O&&(i=f(i,O)),b(i,r,n)}function E(){return Math.random().toString(36).substr(2,S)}var k=v();function P(e){Object(r.a)(F,e),F.length=n.length,k.notifyListeners(F.location,F.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(x(e.state))}function T(){C(x(w()))}var A=!1;function C(e){A?(A=!1,P()):k.confirmTransitionTo(e,"POP",y,(function(t){t?P({action:"POP",location:e}):function(e){var t=F.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,N(o))}(e)}))}var L=x(w()),R=[L.key];function I(e){return O+h(e)}function N(e){n.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",j),i&&window.addEventListener("hashchange",T)):0===M&&(window.removeEventListener("popstate",j),i&&window.removeEventListener("hashchange",T))}var U=!1,F={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r=b(e,t,E(),F.location);k.confirmTransitionTo(r,"PUSH",y,(function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=R.indexOf(F.location.key),s=R.slice(0,u+1);s.push(r.key),R=s,P({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=b(e,t,E(),F.location);k.confirmTransitionTo(r,"REPLACE",y,(function(e){if(e){var t=I(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=R.indexOf(F.location.key);-1!==u&&(R[u]=r.key),P({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=k.appendListener(e);return D(1),function(){D(-1),t()}}};return F}var S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(O(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),m||s(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?g:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?d(c(e.basename)):"",p=S[u],y=p.encodePath,w=p.decodePath;function _(){var e=w(x());return l&&(e=f(e,l)),b(e)}var k=v();function P(e){Object(r.a)(F,e),F.length=t.length,k.notifyListeners(F.location,F.action)}var j=!1,T=null;function A(){var e,t,n=x(),r=y(n);if(n!==r)E(r);else{var o=_(),a=F.location;if(!j&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===h(o))return;T=null,function(e){j?(j=!1,P()):k.confirmTransitionTo(e,"POP",i,(function(t){t?P({action:"POP",location:e}):function(e){var t=F.location,n=I.lastIndexOf(h(t));-1===n&&(n=0);var r=I.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(j=!0,N(o))}(e)}))}(o)}}var C=x(),L=y(C);C!==L&&E(L);var R=_(),I=[h(R)];function N(e){t.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?window.addEventListener("hashchange",A):0===M&&window.removeEventListener("hashchange",A)}var U=!1,F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+y(l+h(e))},push:function(e,t){var n=b(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=y(l+t);if(x()!==r){T=t,function(e){window.location.hash=e}(r);var o=I.lastIndexOf(h(F.location)),i=I.slice(0,o+1);i.push(t),I=i,P({action:"PUSH",location:n})}else P()}}))},replace:function(e,t){var n=b(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=y(l+t);x()!==r&&(T=t,E(r));var o=I.indexOf(h(F.location));-1!==o&&(I[o]=t),P({action:"REPLACE",location:n})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=k.appendListener(e);return D(1),function(){D(-1),t()}}};return F}function P(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,s=t.keyLength,c=void 0===s?6:s,l=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=P(u,0,i.length-1),y=i.map((function(e){return b(e,void 0,"string"==typeof e?d():e.key||d())})),m=h;function g(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:y.length,action:"POP",location:y[p],index:p,entries:y,createHref:m,push:function(e,t){var r=b(e,t,d(),w.location);l.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=b(e,t,d(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}}]))},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(1),a=n(3),u=n.n(a);n(9);Object(i.render)(o.a.createElement(u.a,window.__SERVER_DATA__||{}),document.getElementById("root"))},function(e,t,n){"use strict";
35
35
  /** @license React v17.0.2
36
36
  * react.production.min.js
37
37
  *
@@ -55,4 +55,4 @@ var r=n(664),o=n(665),i=n(383);function a(){return s.TYPED_ARRAY_SUPPORT?2147483
55
55
  *
56
56
  * This source code is licensed under the MIT license found in the
57
57
  * LICENSE file in the root directory of this source tree.
58
- */var r,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,f=null,d=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(d,0))},o=function(e,t){f=setTimeout(e,t)},i=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var b=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://reactjs.org/link/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,v=null,m=-1,g=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();w=e+g;try{v(!0,e)?S.postMessage(null):(y=!1,v=null)}catch(e){throw S.postMessage(null),e}}else y=!1},r=function(e){v=e,y||(y=!0,S.postMessage(null))},o=function(e,n){m=p((function(){e(t.unstable_now())}),n)},i=function(){h(m),m=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,s=e[u];if(void 0!==a&&0>k(a,n))void 0!==s&&0>k(s,a)?(e[r]=s,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>k(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],j=[],T=1,A=null,C=3,L=!1,R=!1,I=!1;function N(e){for(var t=x(j);null!==t;){if(null===t.callback)E(j);else{if(!(t.startTime<=e))break;E(j),t.sortIndex=t.expirationTime,O(P,t)}t=x(j)}}function M(e){if(I=!1,N(e),!R)if(null!==x(P))R=!0,r(D);else{var t=x(j);null!==t&&o(M,t.startTime-e)}}function D(e,n){R=!1,I&&(I=!1,i()),L=!0;var r=C;try{for(N(n),A=x(P);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"==typeof a){A.callback=null,C=A.priorityLevel;var u=a(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?A.callback=u:A===x(P)&&E(P),N(n)}else E(P);A=x(P)}if(null!==A)var s=!0;else{var c=x(j);null!==c&&o(M,c.startTime-n),s=!1}return s}finally{A=null,C=r,L=!1}}var U=a;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(){R||L||(R=!0,r(D))},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:T++,callback:n,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>u?(e.sortIndex=a,O(j,e),null===x(P)&&e===x(j)&&(I?i():I=!0,o(M,a-u))):(e.sortIndex=s,O(P,e),R||L||(R=!0,r(D))),e},t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}}},function(e,t,n){var r=n(10);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(11);(e.exports=n(12)(!1)).push([e.i,"@font-face{font-family:CrimsonPro;font-style:normal;font-weight:400;src:url("+r(n(13))+') format("truetype")}@font-face{font-family:CrimsonPro;font-style:normal;font-weight:600;src:url('+r(n(14))+') format("truetype")}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url('+r(n(15))+'?#iefix) format("embedded-opentype"),local("Material Icons"),local("MaterialIcons-Regular"),url('+r(n(16))+') format("woff2"),url('+r(n(17))+') format("woff"),url('+r(n(18))+') format("truetype")}.material-icons{display:inline-block;font-family:Material Icons;font-weight:400;font-style:normal;font-size:20px;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.bber-controls .bber-ol,.bber-controls .bber-ul{list-style:none}.bber-controls .bber-a,.bber-controls .bber-button{color:#333;cursor:pointer}.bber-controls .bber-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;display:block;outline:none}.bber-controls,.bber-controls *{margin:0;padding:0;touch-action:manipulation;box-sizing:border-box;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bber-controls__header{z-index:2;position:fixed;top:0;left:0;right:0;background-color:transparent;height:0;opacity:1!important}.bber-controls__header>.bber-nav>.bber-ul{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;justify-content:center;height:0;margin:15px 15px 0}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul{margin:10px 10px 0}}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul{display:flex}.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul>.bber-li{margin-right:7px}.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul>.bber-li:last-child{margin-right:0}}.bber-controls__header>.bber-nav>.bber-ul .bber-li{display:flex;flex-direction:column;position:relative}.bber-controls__header>.bber-nav>.bber-ul .bber-li.bber-li-home{flex:1}.bber-controls__header>.bber-nav>.bber-ul .bber-li>.bber-ul>.bber-li{margin-bottom:10px}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button{border:1px solid #333;transition:background-color .1s ease;box-sizing:border-box;background-color:#fff;border-radius:50%;width:clamp(35px,3vw,45px);height:clamp(35px,3vw,45px);padding:7px 5px 5px;position:relative}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button.bber-nav__button--open{z-index:2}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg{position:relative;-o-object-fit:contain;object-fit:contain;width:43%;height:43%}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg{width:63%;height:63%}}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg path,.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg polygon{transition:fill .1s ease,stroke .1s ease;fill:#333;stroke:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg circle{transition:fill .1s ease,stroke .1s ease;stroke:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover{background-color:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg path,.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg polygon{fill:#fff;stroke:#fff}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg circle{stroke:#fff}@media screen and (max-width:768px){.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-button,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-button,.bber-controls__sidebar .bber-ul .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-button{padding:23.5px 16px!important}}.bber-controls__sidebar{font-family:CrimsonPro,Georgia,Iowan,Times,serif;font-weight:400;font-size:16px;letter-spacing:.02em}.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-button,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-button,.bber-controls__sidebar .bber-ul .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-button{border-bottom:1px solid #d3d3d3;text-align:left;display:block;width:100%;padding:23.5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-family:CrimsonPro,Georgia,Iowan,Times,serif;font-weight:400;letter-spacing:.02em}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-chapter--current,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-chapter--current,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-chapter--current{font-weight:600}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--1,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--1,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--1{text-indent:0}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--2,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--2,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--2{text-indent:17.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--3,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--3,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--3{text-indent:35px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--4,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--4,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--4{text-indent:52.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--5,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--5,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--5{text-indent:70px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--6,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--6,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--6{text-indent:87.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--7,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--7,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--7{text-indent:105px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--8,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--8,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--8{text-indent:122.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--9,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--9,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--9{text-indent:140px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--10,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--10,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--10{text-indent:157.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-ol .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-ol .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-ol .bber-a{text-indent:47px}.bber-controls__sidebar .bber-dl .bber-dt,.bber-controls__sidebar .bber-ol .bber-dt,.bber-controls__sidebar .bber-ul .bber-dt{padding:23.5px 0 0 17.5px;text-transform:capitalize}.bber-controls__sidebar .bber-dl .bber-dd,.bber-controls__sidebar .bber-ol .bber-dd,.bber-controls__sidebar .bber-ul .bber-dd{border-bottom:1px solid #d3d3d3;padding:5px 17.5px 23.5px}.bber-controls__sidebar .bber-dl .bber-dt .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-dt .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-dt .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-a{text-decoration:none;color:#333}.bber-controls__sidebar__chapters,.bber-controls__sidebar__downloads,.bber-controls__sidebar__metadata,.bber-controls__sidebar__settings{border:1px solid #333;display:none;position:absolute;right:-15px;top:12px;height:auto;background:#fff;min-width:350px;overflow-y:auto;-webkit-overflow-scrolling:touch}@media screen and (max-width:768px){.bber-controls__sidebar__chapters,.bber-controls__sidebar__downloads,.bber-controls__sidebar__metadata,.bber-controls__sidebar__settings{width:100vw!important;left:0;right:0;position:fixed;top:22px}}.bber-controls__sidebar__chapters.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__settings--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__settings--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__settings--open,.bber-controls__sidebar__settings.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__settings.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__settings.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__settings.bber-controls__sidebar__settings--open{display:block;z-index:1}.bber-downloads__description{padding-top:5px}.bber-controls__footer{z-index:1;position:fixed;left:0;right:0;bottom:0;background:transparent;height:60px;opacity:1!important}@media screen and (max-width:768px){.bber-controls__footer{background:#fff;height:42px}}.bber-controls__footer .bber-nav .bber-ul{display:flex;flex-direction:row;align-items:center;justify-content:center;height:60px;padding:0 10px}@media screen and (max-width:768px){.bber-controls__footer .bber-nav .bber-ul{height:42px}}.bber-controls__footer .bber-nav .bber-ul .bber-li{display:flex}.bber-controls__footer .bber-nav .bber-ul .bber-li:nth-child(2){flex:1}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button svg path{transition:fill .1s ease,stroke .1s ease;stroke:#fff;fill:#333}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button:hover svg path{stroke:#333;fill:#fff}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button.bber-nav__button--page-prev{position:fixed;top:50vh;transform:translateY(-50%);left:15px;padding:0;margin:0}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button.bber-nav__button--page-next{position:fixed;top:50vh;transform:translateY(-50%);right:15px;padding:0;margin:0}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button:hover{color:#5050c5}#frame::-webkit-scrollbar{background:transparent;width:0}#frame{scrollbar-width:none;-ms-overflow-style:none}.bber-spinner{width:100vw;height:100vh;position:fixed;top:0;left:0;display:none;background:#fff}.bber-spinner--visible{display:block}@-webkit-keyframes pulse{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}@keyframes pulse{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.bber-spinner__detail{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);width:40px;height:40px;margin:0;padding:0;background-color:#333;border-radius:100%;-webkit-animation:pulse 1s ease-in-out infinite;animation:pulse 1s ease-in-out infinite}@media print{.bber-controls__footer,.bber-controls__header,.bber-leaf{display:none!important}#frame{position:static!important;overflow:visible!important}#frame #layout{transform:none!important;height:auto!important;width:auto!important;-moz-columns:unset!important;columns:unset!important}}[data-vimeo-initialized]{overflow:unset!important}.bber-poster--vimeo{transition:opacity .1s ease,.2s ease .1s;z-index:1!important;opacity:0}.bber-poster--vimeo.bber-controls{pointer-events:none}.bber-poster--vimeo.bber-visible{pointer-events:auto!important;opacity:1}.bber-media__controls{display:flex;align-items:center;font-size:.8rem;font-family:Arial,Helvetica,sans-serif;border:1px solid #272727;border-radius:6px;padding:9px 3px 9px 12px}.bber-media__controls a,.bber-media__controls button,.bber-media__controls input:not([type=range]){padding-right:12px}.bber-media__controls .bber-media__time{display:flex;padding:0 12px 0 0;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bber-media__controls .bber-a,.bber-media__controls .bber-button{text-decoration:none!important;transition:color .2s ease}.bber-media__controls .bber-a.bber-hover,.bber-media__controls .bber-a:hover,.bber-media__controls .bber-button.bber-hover,.bber-media__controls .bber-button:hover{color:#5050c5!important}.bber-media__controls+.bber-caption__audio{margin-top:.5rem}.bber-slider__volume{width:0;flex-grow:0;overflow:hidden;transition:flex-grow .2s ease}.bber-slider__volume.bber-open{overflow:visible;flex-grow:1}.bber-media__slider{flex:1;display:flex;align-items:center;position:relative;font:1em/1 arial,sans-serif;margin:6px 15px 6px 3px}.bber-input[type=range]{flex:1;margin:0;padding:0;min-height:12px;background:transparent;font:inherit;outline:none;width:100%;max-width:100%}.bber-input[type=range],.bber-input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.bber-input[type=range]::-webkit-slider-runnable-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-moz-range-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-ms-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-webkit-slider-thumb{margin-top:-5px;box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-webkit-slider-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-moz-range-thumb{box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-moz-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-moz-range-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-ms-thumb{margin-top:0;box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-ms-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-ms-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-ms-tooltip{display:none}.bber-media__slider--before{background:#333;height:2px;position:absolute;left:0;z-index:0;pointer-events:none}.bber-media__stacked{width:100%;display:flex;flex-wrap:wrap}.bber-media__stacked .bber-media__stacked__row{display:flex;flex:1 0 100%;align-items:center;padding-right:6px}.bber-media__stacked .bber-media__stacked__separator{position:relative;width:calc(100% + 10px);margin-left:-13px;margin-top:9px;margin-bottom:9px}.bber-media__stacked .bber-media__stacked__separator .bber-media__stacked__separator--line{width:calc(100% + 7px);background:#333;height:1px}.bber-button__media__playback-rate{position:relative;top:1px;font-size:.7rem;font-weight:700;font-variation-settings:"wght" 700;letter-spacing:.035em;width:33px}.bber-times__media__playback-rate{position:relative;top:1px}.bber-media__button__pause,.bber-media__button__play{font-size:24px}.bber-media__button__file_download,.bber-media__button__volume_up{font-size:17px}.bber-media__button__file_download{position:relative;top:1px}.bber-media__button__forward_30,.bber-media__button__replay_30{font-size:18px}:-moz-ui-invalid{box-shadow:none}.footnote__body{visibility:visible;display:block;background:#fff;padding-left:1.5em;padding-right:1.5em;position:absolute;font-size:16px;line-height:1.6;z-index:1000}.footnote__body.footnote__body--hidden{visibility:hidden}.footnote__content--count{padding-right:10px}#layout,.bber-leaf{transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden}.bber-leaf{position:fixed;top:0;height:100vh;z-index:10;background-color:#fff}.bber-leaf.bber-leaf--left{left:0}.bber-leaf.bber-leaf--right{right:0}\n',""])},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){e.exports=n.p+"63317f448c1a714c3788e9521ddf44e0.ttf"},function(e,t,n){e.exports=n.p+"24c470ffa809758ee7f56a596b0bf5ec.ttf"},function(e,t,n){e.exports=n.p+"e79bfd88537def476913f3ed52f4f4b3.eot"},function(e,t,n){e.exports=n.p+"570eb83859dc23dd0eec423a49e147fe.woff2"},function(e,t,n){e.exports=n.p+"012cf6a10129e2275d79d6adac7f3b02.woff"},function(e,t,n){e.exports=n.p+"a37b0c01c0baf1888ca812cc0508f6e2.ttf"},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),u=function(e){return document.querySelector(e)},s=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=u.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,l=0,f=[],d=n(20);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(g(r.parts[a],t))}else{var u=[];for(a=0;a<r.parts.length;a++)u.push(g(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:u}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],u={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function b(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function y(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function v(e){var t=document.createElement("style");return e.attrs.type="text/css",m(t,e.attrs),b(e,t),t}function m(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function g(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=l++;n=c||(c=v(t)),r=S.bind(null,n,a,!1),o=S.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",m(t,e.attrs),b(e,t),t}(t),r=x.bind(null,n,t),o=function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=O.bind(null,n),o=function(){y(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(u=i[a.id]).refs--,r.push(u)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var u;if(0===(u=r[o]).refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}};var w,_=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function S(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function O(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function x(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),u=e.href;e.href=URL.createObjectURL(a),u&&URL.revokeObjectURL(u)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}}]);
58
+ */var r,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,f=null,d=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(d,0))},o=function(e,t){f=setTimeout(e,t)},i=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var b=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://reactjs.org/link/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,v=null,m=-1,g=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();w=e+g;try{v(!0,e)?S.postMessage(null):(y=!1,v=null)}catch(e){throw S.postMessage(null),e}}else y=!1},r=function(e){v=e,y||(y=!0,S.postMessage(null))},o=function(e,n){m=p((function(){e(t.unstable_now())}),n)},i=function(){h(m),m=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,s=e[u];if(void 0!==a&&0>k(a,n))void 0!==s&&0>k(s,a)?(e[r]=s,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>k(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],j=[],T=1,A=null,C=3,L=!1,R=!1,I=!1;function N(e){for(var t=x(j);null!==t;){if(null===t.callback)E(j);else{if(!(t.startTime<=e))break;E(j),t.sortIndex=t.expirationTime,O(P,t)}t=x(j)}}function M(e){if(I=!1,N(e),!R)if(null!==x(P))R=!0,r(D);else{var t=x(j);null!==t&&o(M,t.startTime-e)}}function D(e,n){R=!1,I&&(I=!1,i()),L=!0;var r=C;try{for(N(n),A=x(P);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"==typeof a){A.callback=null,C=A.priorityLevel;var u=a(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?A.callback=u:A===x(P)&&E(P),N(n)}else E(P);A=x(P)}if(null!==A)var s=!0;else{var c=x(j);null!==c&&o(M,c.startTime-n),s=!1}return s}finally{A=null,C=r,L=!1}}var U=a;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(){R||L||(R=!0,r(D))},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:T++,callback:n,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>u?(e.sortIndex=a,O(j,e),null===x(P)&&e===x(j)&&(I?i():I=!0,o(M,a-u))):(e.sortIndex=s,O(P,e),R||L||(R=!0,r(D))),e},t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}}},function(e,t,n){var r=n(10);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(11);(e.exports=n(12)(!1)).push([e.i,"@font-face{font-family:CrimsonPro;font-style:normal;font-weight:400;src:url("+r(n(13))+') format("truetype")}@font-face{font-family:CrimsonPro;font-style:normal;font-weight:600;src:url('+r(n(14))+') format("truetype")}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url('+r(n(15))+'?#iefix) format("embedded-opentype"),local("Material Icons"),local("MaterialIcons-Regular"),url('+r(n(16))+') format("woff2"),url('+r(n(17))+') format("woff"),url('+r(n(18))+') format("truetype")}.material-icons{display:inline-block;font-family:Material Icons;font-weight:400;font-style:normal;font-size:20px;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.bber-controls .bber-ol,.bber-controls .bber-ul{list-style:none}.bber-controls .bber-a,.bber-controls .bber-button{color:#333;cursor:pointer}.bber-controls .bber-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;display:block;outline:none}.bber-controls,.bber-controls *{margin:0;padding:0;touch-action:manipulation;box-sizing:border-box;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bber-controls__header{z-index:2;position:fixed;top:0;left:0;right:0;background-color:transparent;height:0;opacity:1!important}.bber-controls__header>.bber-nav>.bber-ul{box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;justify-content:center;height:0;margin:15px 15px 0}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul{margin:10px 10px 0}}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul{display:flex}.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul>.bber-li{margin-right:7px}.bber-controls__header>.bber-nav>.bber-ul>.bber-li>.bber-ul>.bber-li:last-child{margin-right:0}}.bber-controls__header>.bber-nav>.bber-ul .bber-li{display:flex;flex-direction:column;position:relative}.bber-controls__header>.bber-nav>.bber-ul .bber-li.bber-li-home{flex:1}.bber-controls__header>.bber-nav>.bber-ul .bber-li>.bber-ul>.bber-li{margin-bottom:10px}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button{border:1px solid #333;transition:background-color .1s ease;box-sizing:border-box;background-color:#fff;border-radius:50%;width:clamp(35px,3vw,45px);height:clamp(35px,3vw,45px);padding:7px 5px 5px;position:relative}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button.bber-nav__button--open{z-index:2}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg{position:relative;-o-object-fit:contain;object-fit:contain;width:43%;height:43%}@media screen and (max-width:768px){.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg{width:63%;height:63%}}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg path,.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg polygon{transition:fill .1s ease,stroke .1s ease;fill:#333;stroke:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button svg circle{transition:fill .1s ease,stroke .1s ease;stroke:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover{background-color:#333}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg path,.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg polygon{fill:#fff;stroke:#fff}.bber-controls__header>.bber-nav>.bber-ul .bber-li .bber-nav__button:hover svg circle{stroke:#fff}@media screen and (max-width:768px){.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-button,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-button,.bber-controls__sidebar .bber-ul .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-button{padding:23.5px 16px!important}}.bber-controls__sidebar{font-family:CrimsonPro,Georgia,Iowan,Times,serif;font-weight:400;font-size:16px;letter-spacing:.02em}.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-button,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-button,.bber-controls__sidebar .bber-ul .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-button{border-bottom:1px solid #d3d3d3;text-align:left;display:block;width:100%;padding:23.5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-family:CrimsonPro,Georgia,Iowan,Times,serif;font-weight:400;letter-spacing:.02em}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-chapter--current,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-chapter--current,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-chapter--current,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-chapter--current{font-weight:600}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--1,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--1,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--1,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--1{text-indent:0}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--2,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--2,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--2,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--2{text-indent:17.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--3,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--3,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--3,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--3{text-indent:35px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--4,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--4,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--4,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--4{text-indent:52.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--5,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--5,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--5,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--5{text-indent:70px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--6,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--6,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--6,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--6{text-indent:87.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--7,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--7,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--7,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--7{text-indent:105px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--8,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--8,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--8,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--8{text-indent:122.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--9,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--9,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--9,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--9{text-indent:140px}.bber-controls__sidebar .bber-dl .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-dl .bber-li .bber-button.bber-indent--10,.bber-controls__sidebar .bber-ol .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-ol .bber-li .bber-button.bber-indent--10,.bber-controls__sidebar .bber-ul .bber-li .bber-a.bber-indent--10,.bber-controls__sidebar .bber-ul .bber-li .bber-button.bber-indent--10{text-indent:157.5px}.bber-controls__sidebar .bber-dl .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-ol .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-ol .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-dl .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-ol .bber-a{text-indent:47px}.bber-controls__sidebar .bber-dl .bber-dt,.bber-controls__sidebar .bber-ol .bber-dt,.bber-controls__sidebar .bber-ul .bber-dt{padding:23.5px 0 0 17.5px;text-transform:capitalize}.bber-controls__sidebar .bber-dl .bber-dd,.bber-controls__sidebar .bber-ol .bber-dd,.bber-controls__sidebar .bber-ul .bber-dd{border-bottom:1px solid #d3d3d3;padding:5px 17.5px 23.5px}.bber-controls__sidebar .bber-dl .bber-dt .bber-a,.bber-controls__sidebar .bber-dl .bber-li .bber-a,.bber-controls__sidebar .bber-ol .bber-dt .bber-a,.bber-controls__sidebar .bber-ol .bber-li .bber-a,.bber-controls__sidebar .bber-ul .bber-dt .bber-a,.bber-controls__sidebar .bber-ul .bber-li .bber-a{text-decoration:none;color:#333}.bber-controls__sidebar__chapters,.bber-controls__sidebar__downloads,.bber-controls__sidebar__metadata,.bber-controls__sidebar__settings{border:1px solid #333;display:none;position:absolute;right:-15px;top:12px;height:auto;background:#fff;min-width:350px;overflow-y:auto;-webkit-overflow-scrolling:touch}@media screen and (max-width:768px){.bber-controls__sidebar__chapters,.bber-controls__sidebar__downloads,.bber-controls__sidebar__metadata,.bber-controls__sidebar__settings{width:100vw!important;left:0;right:0;position:fixed;top:22px}}.bber-controls__sidebar__chapters.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__chapters.bber-controls__sidebar__settings--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__downloads.bber-controls__sidebar__settings--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__metadata.bber-controls__sidebar__settings--open,.bber-controls__sidebar__settings.bber-controls__sidebar__chapters--open,.bber-controls__sidebar__settings.bber-controls__sidebar__downloads--open,.bber-controls__sidebar__settings.bber-controls__sidebar__metadata--open,.bber-controls__sidebar__settings.bber-controls__sidebar__settings--open{display:block;z-index:1}.bber-downloads__description{padding-top:5px}.bber-controls__footer{z-index:1;position:fixed;left:0;right:0;bottom:0;background:transparent;height:60px;opacity:1!important}@media screen and (max-width:768px){.bber-controls__footer{background:#fff;height:42px}}.bber-controls__footer .bber-nav .bber-ul{display:flex;flex-direction:row;align-items:center;justify-content:center;height:60px;padding:0 10px}@media screen and (max-width:768px){.bber-controls__footer .bber-nav .bber-ul{height:42px}}.bber-controls__footer .bber-nav .bber-ul .bber-li{display:flex}.bber-controls__footer .bber-nav .bber-ul .bber-li:nth-child(2){flex:1}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button svg path{transition:fill .1s ease,stroke .1s ease;stroke:#fff;fill:#333}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button:hover svg path{stroke:#333;fill:#fff}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button.bber-nav__button--page-prev{position:fixed;top:50vh;transform:translateY(-50%);left:15px;padding:0;margin:0}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button.bber-nav__button--page-next{position:fixed;top:50vh;transform:translateY(-50%);right:15px;padding:0;margin:0}.bber-controls__footer .bber-nav .bber-ul .bber-li .bber-nav__button:hover{color:#5050c5}#frame::-webkit-scrollbar{background:transparent;width:0}#frame{scrollbar-width:none;-ms-overflow-style:none}.bber-spinner{width:100vw;height:100vh;position:fixed;top:0;left:0;display:none;background:#fff}.bber-spinner--visible{display:block}@-webkit-keyframes pulse{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}@keyframes pulse{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.bber-spinner__detail{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);width:40px;height:40px;margin:0;padding:0;background-color:#333;border-radius:100%;-webkit-animation:pulse 1s ease-in-out infinite;animation:pulse 1s ease-in-out infinite}@media print{.bber-controls__footer,.bber-controls__header,.bber-leaf{display:none!important}#frame{position:static!important;overflow:visible!important}#frame #layout{transform:none!important;height:auto!important;width:auto!important;-moz-columns:unset!important;columns:unset!important}}[data-vimeo-initialized]{overflow:unset!important}.bber-poster--vimeo{transition:opacity .1s ease,.2s ease .1s;z-index:1!important;opacity:0}.bber-poster--vimeo.bber-controls{pointer-events:none}.bber-poster--vimeo.bber-visible{pointer-events:auto!important;opacity:1}.bber-media__controls{display:flex;align-items:center;font-size:.8rem;font-family:Arial,Helvetica,sans-serif;border:1px solid #272727;border-radius:6px;padding:9px 3px 9px 12px;background-color:#fff}.bber-media__controls a,.bber-media__controls button,.bber-media__controls input:not([type=range]){padding-right:12px}.bber-media__controls .bber-media__time{display:flex;padding:0 12px 0 0;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bber-media__controls .bber-a,.bber-media__controls .bber-button{text-decoration:none!important;transition:color .2s ease}.bber-media__controls .bber-a.bber-hover,.bber-media__controls .bber-a:hover,.bber-media__controls .bber-button.bber-hover,.bber-media__controls .bber-button:hover{color:#5050c5!important}.bber-media__controls+.bber-caption__audio,.bber-media__controls+.caption__audio{margin-top:8px}.bber-slider__volume{width:0;flex-grow:0;overflow:hidden;transition:flex-grow .2s ease}.bber-slider__volume.bber-open{overflow:visible;flex-grow:1}.bber-media__slider{flex:1;display:flex;align-items:center;position:relative;font:1em/1 arial,sans-serif;margin:6px 15px 6px 3px}.bber-input[type=range]{flex:1;margin:0;padding:0;min-height:12px;background:transparent;font:inherit;outline:none;width:100%;max-width:100%}.bber-input[type=range],.bber-input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.bber-input[type=range]::-webkit-slider-runnable-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-moz-range-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-ms-track{box-sizing:border-box;border:none;width:100%;height:2px;background:#d7d7d7}.bber-input[type=range]::-webkit-slider-thumb{margin-top:-5px;box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-webkit-slider-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-moz-range-thumb{box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-moz-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-moz-range-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-ms-thumb{margin-top:0;box-sizing:border-box;position:relative;z-index:1;border:none;width:12px;height:12px;border-radius:50%;background-color:#272727;-ms-transition:background-color .2s ease;transition:background-color .2s ease}.bber-input[type=range]::-ms-thumb:hover{background-color:#5050c5}.bber-input[type=range]::-ms-tooltip{display:none}.bber-media__slider--before{background:#333;height:2px;position:absolute;left:0;z-index:0;pointer-events:none}.bber-media__stacked{width:100%;display:flex;flex-wrap:wrap}.bber-media__stacked .bber-media__stacked__row{display:flex;flex:1 0 100%;align-items:center;padding-right:6px}.bber-media__stacked .bber-media__stacked__separator{position:relative;width:calc(100% + 10px);margin-left:-13px;margin-top:9px;margin-bottom:9px}.bber-media__stacked .bber-media__stacked__separator .bber-media__stacked__separator--line{width:calc(100% + 7px);background:#333;height:1px}.bber-button__media__playback-rate{position:relative;top:1px;font-size:.7rem;font-weight:700;font-variation-settings:"wght" 700;letter-spacing:.035em;width:33px}.bber-times__media__playback-rate{position:relative;top:1px}.bber-media__button__pause,.bber-media__button__play{font-size:24px}.bber-media__button__file_download,.bber-media__button__volume_up{font-size:17px}.bber-media__button__file_download{position:relative;top:1px}.bber-media__button__forward_30,.bber-media__button__replay_30{font-size:18px}:-moz-ui-invalid{box-shadow:none}.footnote__body{visibility:visible;display:block;background:#fff;padding-left:1.5em;padding-right:1.5em;position:absolute;font-size:16px;line-height:1.6;z-index:1000}.footnote__body.footnote__body--hidden{visibility:hidden}.footnote__content--count{padding-right:10px}#layout,.bber-leaf{transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden}.bber-leaf{position:fixed;top:0;height:100vh;z-index:10;background-color:#fff}.bber-leaf.bber-leaf--left{left:0}.bber-leaf.bber-leaf--right{right:0}\n',""])},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){e.exports=n.p+"63317f448c1a714c3788e9521ddf44e0.ttf"},function(e,t,n){e.exports=n.p+"24c470ffa809758ee7f56a596b0bf5ec.ttf"},function(e,t,n){e.exports=n.p+"e79bfd88537def476913f3ed52f4f4b3.eot"},function(e,t,n){e.exports=n.p+"570eb83859dc23dd0eec423a49e147fe.woff2"},function(e,t,n){e.exports=n.p+"012cf6a10129e2275d79d6adac7f3b02.woff"},function(e,t,n){e.exports=n.p+"a37b0c01c0baf1888ca812cc0508f6e2.ttf"},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),u=function(e){return document.querySelector(e)},s=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=u.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,l=0,f=[],d=n(20);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(g(r.parts[a],t))}else{var u=[];for(a=0;a<r.parts.length;a++)u.push(g(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:u}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],u={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function b(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function y(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function v(e){var t=document.createElement("style");return e.attrs.type="text/css",m(t,e.attrs),b(e,t),t}function m(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function g(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=l++;n=c||(c=v(t)),r=S.bind(null,n,a,!1),o=S.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",m(t,e.attrs),b(e,t),t}(t),r=x.bind(null,n,t),o=function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=O.bind(null,n),o=function(){y(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(u=i[a.id]).refs--,r.push(u)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){var u;if(0===(u=r[o]).refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}};var w,_=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function S(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function O(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function x(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),u=e.href;e.href=URL.createObjectURL(a),u&&URL.revokeObjectURL(u)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}}]);