@canopycanopycanopy/b-ber-reader-react 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.
- package/dist/index.js +2 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -26,10 +26,10 @@ var n=r(664),o=r(665),i=r(383);function a(){return s.TYPED_ARRAY_SUPPORT?2147483
|
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var n=60103,o=60106,i=60107,a=60108,u=60114,s=60109,c=60110,l=60112,f=60113,p=60120,d=60115,h=60116,y=60121,v=60122,m=60117,b=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=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"),p=w("react.suspense_list"),d=w("react.memo"),h=w("react.lazy"),y=w("react.block"),v=w("react.server.block"),m=w("react.fundamental"),b=w("react.debug_trace_mode"),g=w("react.legacy_hidden")}function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case u:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case d:case s:return e;default:return t}}case o:return t}}}var O=s,_=n,E=l,x=i,P=h,k=d,j=o,T=u,A=a,C=f;t.ContextConsumer=c,t.ContextProvider=O,t.Element=_,t.ForwardRef=E,t.Fragment=x,t.Lazy=P,t.Memo=k,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 S(e)===c},t.isContextProvider=function(e){return S(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===l},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===d},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===b||e===a||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===m||e.$$typeof===y||e[0]===v)},t.typeOf=S},function(e,t,r){"use strict";function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"==typeof o?o(r,n,e):t(o)}}}}r.r(t);var o=n();o.withExtraArgument=n,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(59),o=l(r(295)),i=l(r(505)),a=l(r(551)),u=l(r(552)),s=l(r(553)),c=l(r(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},p=(0,n.combineReducers)(f);t.default=p},function(e,t,r){var n=r(20),o=r(21),i=r(24),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw a("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},function(e,t,r){"use strict";var n=r(11),o=r(13),i=r(20),a=r(10),u=r(62),s=r(23),c=r(98),l=r(9),f=r(25),p=r(61),d=r(31),h=r(49),y=r(117),v=r(39),m=r(83),b=r(67),g=r(121),w=r(74),S=r(306),O=r(150),_=r(71),E=r(34),x=r(304),P=r(145),k=r(40),j=r(100),T=r(148),A=r(119),C=r(118),L=r(18),R=r(307),I=r(151),M=r(456),N=r(54),D=r(44),U=r(46).forEach,F=T("hidden"),B=D.set,q=D.getterFor("Symbol"),W=Object.prototype,z=o.Symbol,H=z&&z.prototype,V=o.TypeError,G=o.QObject,K=_.f,Y=E.f,$=S.f,X=P.f,Q=a([].push),Z=j("symbols"),J=j("op-symbols"),ee=j("wks"),te=!G||!G.prototype||!G.prototype.findChild,re=s&&l((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(W,t);n&&delete W[t],Y(e,t,r),n&&e!==W&&Y(W,t,n)}:Y,ne=function(e,t){var r=Z[e]=b(H);return B(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},oe=function(e,t,r){e===W&&oe(J,t,r),d(e);var n=y(t);return d(r),f(Z,n)?(r.enumerable?(f(e,F)&&e[F][n]&&(e[F][n]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,F)||Y(e,F,m(1,{})),e[F][n]=!0),re(e,n,r)):Y(e,n,r)},ie=function(e,t){d(e);var r=h(t),n=g(r).concat(ce(r));return U(n,(function(t){s&&!i(ae,r,t)||oe(e,t,r[t])})),e},ae=function(e){var t=y(e),r=i(X,this,t);return!(this===W&&f(Z,t)&&!f(J,t))&&(!(r||!f(this,t)||!f(Z,t)||f(this,F)&&this[F][t])||r)},ue=function(e,t){var r=h(e),n=y(t);if(r!==W||!f(Z,n)||f(J,n)){var o=K(r,n);return!o||!f(Z,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},se=function(e){var t=$(h(e)),r=[];return U(t,(function(e){f(Z,e)||f(A,e)||Q(r,e)})),r},ce=function(e){var t=e===W,r=$(t?J:h(e)),n=[];return U(r,(function(e){!f(Z,e)||t&&!f(W,e)||Q(n,Z[e])})),n};c||(k(H=(z=function(){if(p(H,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){this===W&&i(r,J,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,m(1,e))};return s&&te&&re(W,t,{configurable:!0,set:r}),ne(t,e)}).prototype,"toString",(function(){return q(this).tag})),k(z,"withoutSetter",(function(e){return ne(C(e),e)})),P.f=ae,E.f=oe,x.f=ie,_.f=ue,w.f=S.f=se,O.f=ce,R.f=function(e){return ne(L(e),e)},s&&(Y(H,"description",{configurable:!0,get:function(){return q(this).description}}),u||k(W,"propertyIsEnumerable",ae,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),U(g(ee),(function(e){I(e)})),n({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){te=!0},useSimple:function(){te=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):ie(b(e),t)},defineProperty:oe,defineProperties:ie,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se}),M(),N(z,"Symbol"),A[F]=!0},function(e,t,r){var n=r(13);e.exports=n},function(e,t,r){var n=r(20),o=r(50),i=r(18),a=r(40);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return n(r,this)}),{arity:1})}},function(e,t,r){var n=r(152),o=r(153),i=r(24),a=r(18)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},function(e,t,r){var n=r(11),o=r(50),i=r(25),a=r(39),u=r(100),s=r(309),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},function(e,t,r){var n=r(11),o=r(25),i=r(97),a=r(85),u=r(100),s=r(309),c=u("symbol-to-string-registry");n({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,r){var n=r(11),o=r(50),i=r(77),a=r(20),u=r(10),s=r(9),c=r(152),l=r(21),f=r(24),p=r(97),d=r(102),h=r(98),y=o("JSON","stringify"),v=u(/./.exec),m=u("".charAt),b=u("".charCodeAt),g=u("".replace),w=u(1..toString),S=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,E=!h||s((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),x=s((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),P=function(e,t){var r=d(arguments),n=t;if((f(t)||void 0!==e)&&!p(e))return c(t)||(t=function(e,t){if(l(n)&&(t=a(n,this,e,t)),!p(t))return t}),r[1]=t,i(y,null,r)},k=function(e,t,r){var n=m(r,t-1),o=m(r,t+1);return v(O,e)&&!v(_,o)||v(_,e)&&!v(O,n)?"\\u"+w(b(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:E||x},{stringify:function(e,t,r){var n=d(arguments),o=i(E?P:y,null,n);return x&&"string"==typeof o?g(o,S,k):o}})},function(e,t,r){var n=r(11),o=r(98),i=r(9),a=r(150),u=r(42);n({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,r){"use strict";var n=r(199),o=r(76);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){"use strict";var n=r(46).forEach,o=r(155)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(21),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},function(e,t,r){"use strict";var n,o=r(13),i=r(10),a=r(126),u=r(127),s=r(202),c=r(467),l=r(24),f=r(315),p=r(44).enforce,d=r(300),h=!o.ActiveXObject&&"ActiveXObject"in o,y=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=s("WeakMap",y,c);if(d&&h){n=c.getConstructor(y,"WeakMap",!0),u.enable();var m=v.prototype,b=i(m.delete),g=i(m.has),w=i(m.get),S=i(m.set);a(m,{delete:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)||t.frozen.has(e)}return g(this,e)},get:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(l(e)&&!f(e)){var r=p(this);r.frozen||(r.frozen=new n),g(this,e)?S(this,e,t):r.frozen.set(e,t)}else S(this,e,t);return this}})}},function(e,t,r){var n=r(9);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,r){"use strict";var n=r(10),o=r(126),i=r(127).getWeakData,a=r(31),u=r(24),s=r(78),c=r(128),l=r(46),f=r(25),p=r(44),d=p.set,h=p.getterFor,y=l.find,v=l.findIndex,m=n([].splice),b=0,g=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},S=function(e,t){return y(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=S(this,e);if(t)return t[1]},has:function(e){return!!S(this,e)},set:function(e,t){var r=S(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var l=e((function(e,o){s(e,p),d(e,{type:t,id:b++,frozen:void 0}),null!=o&&c(o,e[n],{that:e,AS_ENTRIES:r})})),p=l.prototype,y=h(t),v=function(e,t,r){var n=y(e),o=i(a(t),!0);return!0===o?g(n).set(t,r):o[n.id]=r,e};return o(p,{delete:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).delete(e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).has(e):r&&f(r,t.id)}}),o(p,r?{get:function(e){var t=y(this);if(u(e)){var r=i(e);return!0===r?g(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(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,r){var n=r(104),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(26),r(6),r(36),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0,r(2),r(1),r(4),r(5),r(88),r(89),r(16),r(19),r(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 r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=!0;return r.has(n)&&r.has(o)||(i=!1),i};t.stripSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug,u=new Set([n,o,i]);return r.forEach((function(e,t){u.has(t)||r.delete(t)})),r};t.ensureSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex;return r.has(n)||r.set(n,0),r.has(o)||r.set(o,0),r};var u=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug;return r.delete(n),r.delete(o),r.delete(i),r};t.excludeSearchParams=u;t.appendExternalParams=function(e,t){var r,i=a(e),s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(u(window.location.search,t));try{for(s.s();!(r=s.n()).done;){var c=n(r.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,r){var n=r(31),o=r(317);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";r(202)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(328))},function(e,t,r){"use strict";r(4);var n,o=r(11),i=r(23),a=r(323),u=r(13),s=r(68),c=r(10),l=r(40),f=r(329),p=r(78),d=r(25),h=r(330),y=r(327),v=r(122),m=r(201).codeAt,b=r(475),g=r(39),w=r(54),S=r(207),O=r(322),_=r(44),E=_.set,x=_.getterFor("URL"),P=O.URLSearchParams,k=O.getState,j=u.URL,T=u.TypeError,A=u.parseInt,C=Math.floor,L=Math.pow,R=c("".charAt),I=c(/./.exec),M=c([].join),N=c(1..toString),D=c([].pop),U=c([].push),F=c("".replace),B=c([].shift),q=c("".split),W=c("".slice),z=c("".toLowerCase),H=c([].unshift),V=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,$=/^[0-7]+$/,X=/^\d+$/,Q=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,J=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,te=/[\t\n\r]/g,re=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=C(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=N(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ne={},oe=h({},ne,{" ":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 r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var r;return 2==e.length&&I(V,R(e,0))&&(":"==(r=R(e,1))||!t&&"|"==r)},le=function(e){var t;return e.length>1&&ce(W(e,0,2))&&(2==e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===z(e)},pe={},de={},he={},ye={},ve={},me={},be={},ge={},we={},Se={},Oe={},_e={},Ee={},xe={},Pe={},ke={},je={},Te={},Ae={},Ce={},Le={},Re=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a))throw T(o);this.searchParams=null}else{if(void 0!==r&&(n=new Re(r,!0)),o=this.parse(a,null,n))throw T(o);(i=k(new P)).bindURL(this),this.searchParams=i}};Re.prototype={type:"URL",parse:function(e,t,r){var o,i,a,u,s,c=this,l=t||pe,f=0,p="",h=!1,m=!1,b=!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=y(e);f<=o.length;){switch(i=o[f],l){case pe:if(!i||!I(V,i)){if(t)return"Invalid scheme";l=he;continue}p+=z(i),l=de;break;case de:if(i&&(I(G,i)||"+"==i||"-"==i||"."==i))p+=z(i);else{if(":"!=i){if(t)return"Invalid scheme";p="",l=he,f=0;continue}if(t&&(c.isSpecial()!=d(se,p)||"file"==p&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=p,t)return void(c.isSpecial()&&se[c.scheme]==c.port&&(c.port=null));p="","file"==c.scheme?l=xe:c.isSpecial()&&r&&r.scheme==c.scheme?l=ye:c.isSpecial()?l=ge:"/"==o[f+1]?(l=ve,f++):(c.cannotBeABaseURL=!0,U(c.path,""),l=Ae)}break;case he:if(!r||r.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==i){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"==r.scheme?xe:me;continue;case ye:if("/"!=i||"/"!=o[f+1]){l=me;continue}l=we,f++;break;case ve:if("/"==i){l=Se;break}l=Te;continue;case me:if(c.scheme=r.scheme,i==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"==i||"\\"==i&&c.isSpecial())l=be;else if("?"==i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=Te;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}break;case be:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=Te;continue}l=Se}else l=we;break;case ge:if(l=we,"/"!=i||"/"!=R(p,f+1))continue;f++;break;case we:if("/"!=i&&"\\"!=i){l=Se;continue}break;case Se:if("@"==i){h&&(p="%40"+p),h=!0,a=y(p);for(var w=0;w<a.length;w++){var S=a[w];if(":"!=S||b){var O=ue(S,ae);b?c.password+=O:c.username+=O}else b=!0}p=""}else if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==p)return"Invalid authority";f-=y(p).length+1,p="",l=Oe}else p+=i;break;case Oe:case _e:if(t&&"file"==c.scheme){l=ke;continue}if(":"!=i||m){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==p)return"Invalid host";if(t&&""==p&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(p))return u;if(p="",l=je,t)return;continue}"["==i?m=!0:"]"==i&&(m=!1),p+=i}else{if(""==p)return"Invalid host";if(u=c.parseHost(p))return u;if(p="",l=Ee,t==_e)return}break;case Ee:if(!I(K,i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=p){var _=A(p,10);if(_>65535)return"Invalid port";c.port=c.isSpecial()&&_===se[c.scheme]?null:_,p=""}if(t)return;l=je;continue}return"Invalid port"}p+=i;break;case xe:if(c.scheme="file","/"==i||"\\"==i)l=Pe;else{if(!r||"file"!=r.scheme){l=Te;continue}if(i==n)c.host=r.host,c.path=v(r.path),c.query=r.query;else if("?"==i)c.host=r.host,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){le(M(v(o,f),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=Te;continue}c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}}break;case Pe:if("/"==i||"\\"==i){l=ke;break}r&&"file"==r.scheme&&!le(M(v(o,f),""))&&(ce(r.path[0],!0)?U(c.path,r.path[0]):c.host=r.host),l=Te;continue;case ke:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&ce(p))l=Te;else if(""==p){if(c.host="",t)return;l=je}else{if(u=c.parseHost(p))return u;if("localhost"==c.host&&(c.host=""),t)return;p="",l=je}continue}p+=i;break;case je:if(c.isSpecial()){if(l=Te,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=n&&(l=Te,"/"!=i))continue}else c.fragment="",l=Le;else c.query="",l=Ce;break;case Te:if(i==n||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=z(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||U(c.path,"")):fe(p)?"/"==i||"\\"==i&&c.isSpecial()||U(c.path,""):("file"==c.scheme&&!c.path.length&&ce(p)&&(c.host&&(c.host=""),p=R(p,0)+":"),U(c.path,p)),p="","file"==c.scheme&&(i==n||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"==i?(c.query="",l=Ce):"#"==i&&(c.fragment="",l=Le)}else p+=ue(i,ie);break;case Ae:"?"==i?(c.query="",l=Ce):"#"==i?(c.fragment="",l=Le):i!=n&&(c.path[0]+=ue(i,ne));break;case Ce:t||"#"!=i?i!=n&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":ue(i,ne)):(c.fragment="",l=Le);break;case Le:i!=n&&(c.fragment+=ue(i,oe))}f++}},parseHost:function(e){var t,r,n;if("["==R(e,0)){if("]"!=R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return R(e,f)};if(":"==p()){if(":"!=R(e,1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&I(Q,p());)t=16*t+A(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;f++}if(!I(K,p()))return;for(;I(K,p());){if(i=A(p(),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!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())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}(W(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=b(e),I(Z,e))return"Invalid host";if(null===(t=function(e){var t,r,n,o,i,a,u,s=q(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=s[n]))return e;if(i=10,o.length>1&&"0"==R(o,0)&&(i=I(Y,o)?16:8,o=W(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?X:8==i?$:Q,o))return e;a=A(o,i)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=D(r),n=0;n<r.length;n++)u+=r[n]*L(256,3-n);return u}(e)))return"Invalid host";this.host=t}else{if(I(J,e))return"Invalid host";for(t="",r=y(e),n=0;n<r.length;n++)t+=ue(r[n],ne);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(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,r=e.username,n=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+=r+(n?":"+n:"")+"@"),c+=re(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+M(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+"://"+re(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",pe)},getUsername:function(){return this.username},setUsername:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ae)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ae)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?re(e):re(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getHostname:function(){var e=this.host;return null===e?"":re(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,_e)},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,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(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=W(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=W(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=p(this,Me),r=S(arguments.length,1)>1?arguments[1]:void 0,n=E(t,new Re(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Me=Ie.prototype,Ne=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Me,"href",Ne("serialize","setHref")),f(Me,"origin",Ne("getOrigin")),f(Me,"protocol",Ne("getProtocol","setProtocol")),f(Me,"username",Ne("getUsername","setUsername")),f(Me,"password",Ne("getPassword","setPassword")),f(Me,"host",Ne("getHost","setHost")),f(Me,"hostname",Ne("getHostname","setHostname")),f(Me,"port",Ne("getPort","setPort")),f(Me,"pathname",Ne("getPathname","setPathname")),f(Me,"search",Ne("getSearch","setSearch")),f(Me,"searchParams",Ne("getSearchParams")),f(Me,"hash",Ne("getHash","setHash"))),l(Me,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),l(Me,"toString",(function(){return x(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,r){"use strict";var n=r(10),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,s=n(i.exec),c=Math.floor,l=String.fromCharCode,f=n("".charCodeAt),p=n([].join),d=n([].push),h=n("".replace),y=n("".split),v=n("".toLowerCase),m=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),n+=36;return c(n+36*e/(e+38))},g=function(e){var t,r,n=[],o=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=f(e,r++);if(o>=55296&&o<=56319&&r<n){var i=f(e,r++);56320==(64512&i)?d(t,((1023&o)<<10)+(1023&i)+65536):(d(t,o),r--)}else d(t,o)}return t}(e)).length,i=128,s=0,h=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,l(r));var y=n.length,v=y;for(y&&d(n,"-");v<o;){var g=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=i&&r<g&&(g=r);var w=v+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((r=e[t])<i&&++s>2147483647)throw u(a);if(r==i){for(var S=s,O=36;;){var _=O<=h?1:O>=h+26?26:O-h;if(S<_)break;var E=S-_,x=36-_;d(n,l(m(_+E%x))),S=c(E/x),O+=36}d(n,l(m(S))),h=b(s,w,v==y),s=0,v++}}s++,i++}return p(n,"")};e.exports=function(e){var t,r,n=[],a=y(h(v(e),i,"."),".");for(t=0;t<a.length;t++)r=a[t],d(n,s(o,r)?"xn--"+g(r):r);return p(n,".")}},function(e,t,r){var n=r(23),o=r(10),i=r(121),a=r(49),u=o(r(145).f),s=o([].push),c=function(e){return function(t){for(var r,o=a(t),c=i(o),l=c.length,f=0,p=[];l>f;)r=c[f++],n&&!u(o,r)||s(p,e?[r,o[r]]:o[r]);return p}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,r){var n=r(101).PROPER,o=r(9),i=r(333);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},function(e,t,r){var n=r(10),o=r(42),i=Math.floor,a=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=c),u(p,y,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,r);case"'":return s(t,d);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}c=n[l-1]}return void 0===c?"":c}))}},function(e,t,r){"use strict";var n={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 n[t]||e};e.exports=i,e.exports.convert=i},function(e,t,r){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function r(e,r){return""===r?t(e):(r[0]!==e.quotes&&(r=e.quotes+r),r[r.length-1]!==e.quotes&&(r+=e.quotes),r)}function n(e,n){return 1===arguments.length&&(n=e,e={quotes:'"'}),"string"==typeof n?r(e,n):null==n?t(e):n}return(e={exports:{}}).exports=function(e){return"object"==typeof e?n.bind(null,e):n(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,r){var n=r(483),o=r(491)((function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)}));e.exports=o},function(e,t,r){var n=r(131),o=r(485);e.exports=function(e){return o(n(e).toLowerCase())}},function(e,t,r){var n=r(104),o=r(334),i=r(56),a=r(167),u=n?n.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 r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(486)("toUpperCase");e.exports=n},function(e,t,r){var n=r(487),o=r(336),i=r(488),a=r(131);e.exports=function(e){return function(t){t=a(t);var r=o(t)?i(t):void 0,u=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return u[e]()+s}}},function(e,t,r){var n=r(335);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t,r){var n=r(489),o=r(336),i=r(490);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),l="(?:"+[i+n+"?",n,a,u,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,r){var n=r(492),o=r(493),i=r(496),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},function(e,t,r){var n=r(494),o=r(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,n).replace(a,"")}},function(e,t,r){var n=r(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=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(497),o=r(498),i=r(131),a=r(499);e.exports=function(e,t,r){return e=i(e),void 0===(t=r?void 0:t)?o(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[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 r.test(e)}},function(e,t){var r="\\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",n="["+r+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+r+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+u+")",p="(?:"+l+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,c].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),y="(?:"+[i,s,c].join("|")+")"+h,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?: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,y].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,r){r(11)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){r(11)({target:"Number",stat:!0},{isFinite:r(502)})},function(e,t,r){var n=r(13).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},function(e,t){var r=TypeError;e.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(899).createBrowserHistory)();t.default=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(339));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(new(r(133).ViewerSettings)).get(),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,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 u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7);var o=function(){function e(t){var r=t.title,n=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=r,this.creator=n,this.date=o,this.publisher=i,this.description=a,this.language=u,this.rights=s,this.identifier=c}var t,r,o;return t=e,(r=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){var r=t.id,n=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,p=t.slug,d=void 0===p?"":p,h=t.depth,y=void 0===h?0:h,v=t.children,m=void 0===v?[]:v,b=t.inTOC,g=void 0!==b&&b;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=r,this.href=n,this.mediaType=o,this.properties=i,this.idref=a,this.linear=u,this.absoluteURL=c,this.title=f,this.slug=d,this.depth=y,this.children=m,this.inTOC=g}var t,r,o;return t=e,(r=[{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)}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o((function e(t){var r=t.type,n=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=r,this.title=n,this.href=o,this.absoluteURL=""}));t.default=i},function(e,t,r){"use strict";r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(16),r(91);var n=s(r(130)),o=s(r(169)),i=r(93),a=r(27),u=s(r(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e,t,r){var n=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)(r,a)?r[a]:u;Object.defineProperty(e,a,p({value:s},n))})),e},m=function(e){return"function"==typeof e?e.call():e},b=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e),d(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}})),d(this,"put",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,n.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]=r):console.error("Could not update viewer settings with key: %s val: %s",e,r)})),Object.defineProperty(this,"settings",{value:v({},e.defaults,r,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=function(){return window.innerWidth/2-t.columnGap-t.paddingLeft}}var t,r,a;return t=e,(r=[{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 m(this.settings.paddingTop)},set:function(e){this.settings.paddingTop=e}},{key:"paddingLeft",get:function(){return m(this.settings.paddingLeft)},set:function(e){this.settings.paddingLeft=e}},{key:"paddingRight",get:function(){return m(this.settings.paddingRight)},set:function(e){this.settings.paddingRight=e}},{key:"paddingBottom",get:function(){return m(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 m(this.settings.columnGap)},set:function(e){this.settings.columnGap=e}},{key:"columnWidth",get:function(){return m(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),r=t[0],n=t[1],o=t[2],a=t[3];(0,i.isNumeric)(r)&&(this.settings.paddingTop=r),(0,i.isNumeric)(n)&&(this.settings.paddingRight=n),(0,i.isNumeric)(o)&&(this.settings.paddingBottom=o),(0,i.isNumeric)(a)&&(this.settings.paddingLeft=a)}}])&&l(t.prototype,r),a&&l(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(b,"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=b;t.default=g},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(512),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},function(e,t,r){var n=r(513);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(214);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(515),o=r(172),i=r(215);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(516),o=r(521),i=r(522),a=r(523),u=r(524);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,r){var n=r(171);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(341),o=r(518),i=r(81),a=r(342),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:u).test(a(e))}},function(e,t,r){var n,o=r(519),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var n=r(55)["__core-js_shared__"];e.exports=n},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,r){var n=r(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(171);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(173),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(173);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(173);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(173);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(175);e.exports=function(e){var t=n(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,r){var n=r(175);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(175);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(175);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(103),o=r(79);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(16),r(32),r(132);var n=r(57);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(t){var r=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=r||"_".concat((0,n.rand)()),this.media=o,this.rules=i,this.elem=null}var t,r,i;return t=e,(r=[{key:"insertRules",value:function(e){var t=this;this.rules.forEach((function(r){return t.elem.appendChild(e.createTextNode("".concat(r.selector," { ").concat(r.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,r),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=i},function(e,t,r){var n=r(539),o=r(177)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,r){var n=r(541),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},function(e,t){var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},function(e,t,r){var n=r(177)((function(e,t){return e>=t}));e.exports=n},function(e,t,r){var n=r(544),o=r(177)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,r){var n=r(177)((function(e,t){return e<=t}));e.exports=n},function(e,t,r){(function(t){function n(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:r(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 r=t.map((function(t){var r=t.rule.exec(e),n=r&&r[1].split(/[._]/).slice(0,3);return n&&n.length<3&&(n=n.concat(1==n.length?[0,0]:[0])),r&&{name:t.name,version:n.join(".")}})).filter(Boolean)[0]||null;return r&&(r.os=n(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&((r=r||{}).bot=!0),r}function a(e){return e.map((function(e){return{name:e[0],rule:e[1]}}))}e.exports={detect:function(){var e=o();return e||("undefined"!=typeof navigator?i(navigator.userAgent):null)},detectOS:n,getNodeVersion:o,parseUserAgent:i}}).call(this,r(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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((function e(t){var r=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=n.messagesTypes.PAGINATION_EVENT,this.spreadIndex=r,this.lastSpreadIndex=o,this.firstChapter=i,this.lastChapter=a,this.firstSpread=u,this.lastSpread=s,this.spreadDelta=c}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((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=n.messagesTypes.DEFERRED_EVENT}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(166);var n=a(r(176)),o=r(57),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(t){var r=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=r.id||"_".concat((0,o.rand)()),this.type=r.type||"application/javascript",this.src=e.getScriptSourceFromNodeValue(r),this.inline=(0,n.default)(this.src),this.body=r.childNodes&&r.childNodes.length?r.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=i}var t,r,a;return t=e,a=[{key:"getScriptSourceFromNodeValue",value:function(e){return(e.attributes.getNamedItem("src")||{}).value}}],(r=[{key:"appendScript",value:function(e){var t=i.default.trimFilenameFromResponse(this.requestURI),r=this.inline?null:i.default.resolveRelativeURL(t,this.src);this.elem=e.createElement("script"),this.elem.id=this.id,this.inline||(this.elem.src=r),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,r),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(326));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={searchParams:""},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.LOCATION_UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344)),i=["markerId"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f={},p=function(e,t){var r=t.markerId,n=l(t,i);return s(s({},e),{},c({},r,s(s({},e[r]||{}),n)))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.UPDATE:return p(e,t.payload);default:return e}};t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(345));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={loaded:!1,pendingDeferredCallbacks:!0,ultimateOffsetLeft:0,lastSpreadIndex:0},l=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.LOAD:case o.UNLOAD:return u(u({},e),{},{loaded:t.payload});case o.UPDATE_ULTIMATE_NODE_POSITION:return u(u({},e),t.payload);case o.UPDATE_LAST_SPREAD_INDEX:return u(u({},e),{},{lastSpreadIndex:t.payload});case o.QUEUE_DEFERRED_CALLBACKS:case o.DEQUEUE_DEFERRED_CALLBACKS:return u(u({},e),{},{pendingDeferredCallbacks:t.payload});default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(346));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.PAGE_TRANSITIONS_UPDATE:return u(u({},e),{},{enableTransitions:t.payload});case o.EVENT_HANDLING_UPDATE:return u(u({},e),{},{handleEvents:t.payload});case o.SPINNER_UPDATE:return u(u({},e),{},{spinnerVisible:t.payload});case o.UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28),r(29);var o=h(r(0)),i=r(38),a=r(59),u=r(557),s=p(r(107)),c=p(r(566)),l=r(27),f=h(r(219));function p(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 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,r,n,i=m(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),(t=i.call(this,e)).bindEvents=t.bindEvents.bind(g(t)),t.unbindEvents=t.unbindEvents.bind(g(t)),t.handleKeyDown=t.handleKeyDown.bind(g(t)),t.handleClick=t.handleClick.bind(g(t)),t}return t=a,(r=[{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 r=t.data;if(!1!==e.props.userInterface.handleEvents){var n=r.scope,o=r.delta;return"page"===n?(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(o)):"chapter"===n?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,r=(0,c.default)(e.NavigationFooter||u.NavigationFooter),n=this.props,i=n.destroyReaderComponent,a=n.handleSidebarButtonClick,s=n.downloads,l=n.uiOptions,f=n.currentSpineItemIndex,p=n.spine,d=n.layout,h=n.metadata,y=n.showSidebar,v=n.spreadIndex,m=n.lastSpreadIndex,b=n.handleChapterNavigation,g=n.handlePageNavigation,w=n.navigateToChapterByURL,S=this.props.userInterfaceActions.enablePageTransitions,O=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:y,spine:p,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:h}),this.props.children,o.default.createElement(r,{uiOptions:l,currentSpineItemIndex:f,spine:p,layout:d,spreadIndex:v,lastSpreadIndex:m,handleEvents:O,handleChapterNavigation:b,enablePageTransitions:S,handlePageNavigation:g}))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.Component),O=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,a.bindActionCreators)(f,e)}}))(S);t.default=O},function(e,t,r){"use strict";var n=r(10),o=r(53),i=r(24),a=r(25),u=r(102),s=r(115),c=Function,l=n([].concat),f=n([].join),p={},d=function(e,t,r){if(!a(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=c("C,a","return new C("+f(n,",")+")")}return p[t](e,r)};e.exports=s?c.bind:function(e){var t=o(this),r=t.prototype,n=u(arguments,1),a=function(){var r=l(n,u(arguments));return this instanceof a?d(t,r.length,r):t.apply(e,r)};return i(r)&&(a.prototype=r),a}},function(e,t,r){"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 n.default}});var n=i(r(558)),o=i(r(565));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=s,t.default=void 0;var n=u(r(58)),o=u(r(0)),i=r(559),a=r(347);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,r;if(!e||null===(t=e.uiOptions)||void 0===t||null===(r=t.navigation)||void 0===r||!r.header_icons)return null;var u=e.showSidebar,s=e.downloads,c=e.spine,l=e.currentSpineItemIndex,f=e.navigateToChapterByURL,p=e.metadata,d=e.uiOptions.navigation.header_icons,h=d.toc,y=d.home,v=d.info,m=d.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"},y&&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,n.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})),m&&s.length>0&&o.default.createElement("li",{className:"bber-li bber-li-downloads"},o.default.createElement("button",{className:(0,n.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,v&&o.default.createElement("li",{className:"bber-li bber-li-info"},o.default.createElement("button",{className:(0,n.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:p})))))))}var c=s;t.default=c},function(e,t,r){"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 n.default}}),Object.defineProperty(t,"SidebarSettings",{enumerable:!0,get:function(){return a.default}});var n=u(r(560)),o=u(r(561)),i=u(r(563)),a=u(r(564));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(47),r(91);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(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,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=(0,r(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)(),r=s((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},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=s(e,2),r=t[0],n=t[1];return r&&n?i.default.createElement("div",{key:r},i.default.createElement("dt",{className:"bber-dt"},r),i.default.createElement("dd",{className:"bber-dd"},n)):null}))))}));t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7),r(47);var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(0)),i=r(38),a=s(r(58)),u=s(r(107));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.url,r=e.label,n=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"},r),n&&o.default.createElement("div",{className:"bber-downloads__description"},n)))}var d=(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)(),r=l((0,o.useState)("0px"),2),n=r[0],i=r[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:n},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(p,{key:e.url,url:e.url,label:e.label,description:e.description})}))))}));t.default=d},function(e,t,r){"use strict";r(202)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(328))},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(30),r(1),r(47),r(32);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(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 c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 l(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.current,r=e.items,n=e.depth||0,o=r.filter((function(e){return e.depth===n&&e.inTOC}));return i.default.createElement("ol",{className:"bber-ol"},o.map((function(r,o){return i.default.createElement("li",{className:"bber-li",key:r.id},i.default.createElement("button",{onClick:function(){return e.navigateToChapterByURL(r.absoluteURL)},className:(0,a.default)("bber-button bber-indent--".concat(n+1),{"bber-chapter--current":t===r.id})},r.title||"Chapter ".concat(n,".").concat(o)),r.children.length>0&&i.default.createElement(p,{current:t,items:r.children,depth:n+1,navigateToChapterByURL:e.navigateToChapterByURL}))})))}var d=(0,r(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)(),r=c((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},i.default.createElement(p,{items:s(e.spine),current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))}));t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(0)),i=a(r(58));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=p(e);if(t){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){if(t&&("object"===n(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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)}(l,e);var t,r,n,a=c(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),d(f(t=a.call(this,e)),"handleFontSizeIncrement",(function(){return t.handleFontSizeChange(1)})),d(f(t),"handleFontSizeDecrement",(function(){return t.handleFontSizeChange(-1)})),d(f(t),"handleFontSizeChange",(function(e){var r=t.state,n=r.fontSizeMin,o=r.fontSizeMax,i=r.fontSizeStep,a=t.state.fontSize;(a=i*e+(a=parseInt(a,10)))<n||a>o||(t.setState({fontSize:a}),t.props.update({fontSize:a}),t.props.save())})),d(f(t),"handleOnChange",(function(e){return t.setState({fontSize:e.target.value})})),d(f(t),"handleOnBlur",(function(){var e=t.state,r=e.fontSizeMin,n=e.fontSizeMax,o=t.state.fontSize;(o=10*Math.round(.1*o))<r||o>n||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=l,(r=[{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,r=e.fontSizeMin,n=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:r,max:n,step:a,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),o.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}])&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default.Component);t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(41)),i=r(27),a=r(347);function u(e){return e&&e.__esModule?e:{default:e}}var s={prev:function(e){return!(e.currentSpineItemIndex<1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},next:function(e){return!(e.currentSpineItemIndex>=e.spine.length-1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())}},c={prev:function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex)},next: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)}};var l=function(e){return n.default.createElement("footer",{className:"bber-controls__footer"},n.default.createElement("nav",{className:"bber-nav"},n.default.createElement("ul",{className:"bber-ul"},n.default.createElement("li",{className:"bber-li"},s.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},n.default.createElement(a.ChapterPrevious,null))),n.default.createElement("li",{className:"bber-li"},c.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},n.default.createElement(a.PagePrevious,null))),n.default.createElement("li",{className:"bber-li"},c.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},n.default.createElement(a.PageNext,null))),n.default.createElement("li",{className:"bber-li"},s.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},n.default.createElement(a.ChapterNext,null))))))};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(38),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(219));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(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 r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===n(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 b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=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)}(u,t);var r,n,o,a=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=a.call.apply(a,[this].concat(r))),"goToPrevChapter",(function(){!1!==e.props.userInterface.handleEvents&&e.props.handleChapterNavigation(-1)})),b(v(e),"goToNextChapter",(function(){!1!==e.props.handleEvents&&e.props.handleChapterNavigation(1)})),b(v(e),"goToPrevPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(-1))})),b(v(e),"goToNextPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(1))})),e}return r=u,(n=[{key:"render",value:function(){return i.default.createElement(e,l({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}])&&p(r.prototype,n),o&&p(r,o),Object.defineProperty(r,"prototype",{writable:!1}),u}(i.default.Component);return(0,a.connect)((function(e){return{userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,u.bindActionCreators)(s,e)}}))(t)};t.default=g},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=p(r(0)),i=p(r(130)),a=r(38),u=r(106),s=p(r(41)),c=r(27),l=p(r(107)),f=p(r(90));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(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 r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){if(t&&("object"===n(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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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&&m(e,t)}(p,e);var t,r,n,a=b(p);function p(){var e;y(this,p);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(w(e=a.call.apply(a,[this].concat(r))),"node",o.default.createRef()),O(w(e),"handleScroll",(function(t){var r=Math.max(e.node.current.scrollHeight,e.node.current.offsetHeight,e.node.current.clientHeight);l.default.sendScrollEvent(t,t.target.scrollTop,r)})),e}return t=p,(r=[{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))}}])&&v(t.prototype,r),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.default.Component),E=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings}}),(function(){return{}}))(_);t.default=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(95)),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.navigateToChapterByURL,o=e.className,a=e.style;o=o||"",a=a||{};var u=e.href,s=i.default.isExternal(u)?"_blank":"_top";return n.default.createElement("a",{href:u,style:a,target:s,className:o,onClick:function(e){(i.default.isRelative(u)||i.default.isInternal(u))&&(e.preventDefault(),r(u))}},e.children)}))};t.default=u},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(6),r(32);var o=y(r(0)),i=y(r(220)),a=y(r(135)),u=r(38),s=y(r(573)),c=y(r(41)),l=y(r(178)),f=y(r(574)),p=y(r(576)),d=y(r(95)),h=r(27);function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(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 E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){var t=e.layout,r=e.leafLeftStyles,n=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:r}),o.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:n}))}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&&g(e,t)}(u,e);var t,r,n,i=w(u);function u(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),E(O(e=i.call(this)),"state",{margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),E(O(e),"onResizeDone",(function(){e.props.updateDimensions(),e.updateTransform()})),E(O(e),"updateTransform",(function(t){var r=e.context.getTranslateX(t),n="translateX(".concat(r,"px) translate3d(0, 0, 0)");e.setState({transform:n})})),e.handleResize=(0,a.default)(e.onResizeDone,h.RESIZE_DEBOUNCE_TIMER,{}).bind(O(e)),e}return t=u,(r=[{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,r=e.height,n=e.columns,o=e.columnGap,i=e.paddingTop,a=e.paddingLeft,u=e.paddingRight,s=e.paddingBottom,c=this.state;return{width:t,height:r,columnGap:o,paddingTop:i,paddingLeft:a,paddingRight:u,paddingBottom:s,margin:c.margin,border:c.border,boxSizing:c.boxSizing,columns:n,columnFill:c.columnFill,transform:c.transform}}},{key:"leafStyles",value:function(e){var t,r=this.props.viewerSettings.transitionSpeed,n={},o=0;return o=this.context.getTranslateX(),"firefox"===l.default.name?("left"===e&&(o*=-1),E(t={},e,"".concat(o,"px")),E(t,"transition","".concat(e," ").concat(r,"ms ease 0s")),n=t):n={transform:"translateX(".concat(o*=-1,"px) translate3d(0, 0, 0)"),transition:"transform ".concat(r,"ms ease 0s")},n}},{key:"render",value:function(){var e=this.props.getFrameHeight(),t=this.props,r=t.spreadIndex,n=t.slug,i=t.layout,a=this.props.userInterface.enableTransitions,u=this.props.viewerSettings,l=u.transition,f=u.transitionSpeed,p=u.paddingLeft,d=u.paddingRight,y="";y=i===h.layouts.SCROLL?"scroll":c.default.isMobile()?"mobile":"desktop";var v=m(m({},{padding:0,margin:0}),{},{minHeight:e}),b=(0,s.default)({transitionSpeed:f})[l],g=m(m({},this.layoutStyles()),b),w=m(m({},this.leafStyles("left")),{},{width:p}),S=m(m({},this.leafStyles("right")),{},{width:d});return a||(g=m(m({},g),{},{transition:"none"}),w=m(m({},w),{},{transition:"none"}),S=m(m({},S),{},{transition:"none"})),o.default.createElement("div",{id:"layout",style:g,className:"spread-index__".concat(r," context__").concat(y," ").concat(n)},o.default.createElement("div",{id:"content",style:v,ref:this.props.innerRef},o.default.createElement(this.props.BookContent,null)),o.default.createElement(x,{layout:i,leafLeftStyles:w,leafRightStyles:S}))}}])&&b(t.prototype,r),n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.Component);E(P,"contextType",d.default),E(P,"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,p.default)((0,f.default)(P)));t.default=k},function(e,t,r){"use strict";var n=r(571);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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 r={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 r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n=r(55);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=function(e){var t,r=e.transitionSpeed;return o(t={},n.transitions.SLIDE,{transition:"transform ".concat(r,"ms ease")}),o(t,n.transitions.FADE,{}),t};t.default=i},function(e,t,r){"use strict";r(28),r(29),r(33),r(37),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(6),r(19),r(575),r(69),r(3),r(7),r(1),r(8),r(2),r(4),r(5);var n=h(r(0)),o=r(38),i=r(59),a=h(r(135)),u=h(r(348)),s=r(93),c=r(179),l=h(r(178)),f=r(27),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==E(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},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(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(180));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(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 r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===E(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 _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){return(E="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||E(e))},P=function(e){var t=null,r=null,d=0,h=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&&b(e,t)}(O,o);var i,p,h,w=g(O);function O(){var e;v(this,O);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return _(S(e=w.call.apply(w,[this].concat(r))),"node",n.default.createRef()),e}return i=O,(p=[{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),(r=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(){r.disconnect()}},{key:"unobserveResizeObserver",value:function(){x(this.node),t.unobserve(this.node.current)}},{key:"unobserveMutationObserver",value:function(){x(this.node),r.disconnect(this.node.current)}},{key:"calculateNodePosition",value:function(){x(this.node);var e,t,r,n,o=this.props.columns,i=document.querySelector(".bber-ultimate"),a=this.props.viewerSettings.paddingLeft;r=this.props.getFrameHeight(),(0,s.isNumeric)(r)||(r=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=(n=i.offsetLeft+i.offsetWidth+a)/(u+a),p=Math.round(10*(f+Number.EPSILON))/10;console.log(n,f,p),t=p-1,console.log("lastSpreadIndex",t)}else{var h=(e=Math.max(this.node.current.scrollHeight,this.node.current.offsetHeight,this.node.current.clientHeight))/r/2,y=Math.round(10*(h+Number.EPSILON))/10;t=Math.ceil(y)-1}(function(e,t,r,n){c.debug&&c.verboseOutput&&(console.group("Layout#connectResizeObserver"),console.log("lastSpreadIndex: %d; contentDimensions: %d; frameHeight %d; columns %d",e,t,r,n),console.groupEnd())})(t=t<0?0:t,e,r,o),d!==e||null==i?(d=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 n.default.createElement(e,y({},this.props,{innerRef:this.node}))}}])&&m(i.prototype,p),h&&m(i,h),Object.defineProperty(i,"prototype",{writable:!1}),O}(n.default.Component);return(0,o.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(p,e)}}))(h)};t.default=P},function(e,t,r){r(11)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(19);var o=p(r(0)),i=r(59),a=r(38),u=p(r(41)),s=r(93),c=r(27),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(349));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(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 r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&("object"===n(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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&y(e,t)}(l,t);var r,n,i,a=v(l);function l(e){var t,r,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=a.call(this,e),r=b(t),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},(n="getWidth")in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.getFrameWidth=t.getFrameWidth.bind(b(t)),t.getFrameHeight=t.getFrameHeight.bind(b(t)),t.getSingleColumnWidth=t.getSingleColumnWidth.bind(b(t)),t.updateDimensions=t.updateDimensions.bind(b(t)),t}return r=l,(n=[{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),r=e?"auto":window.innerHeight,n=e?1:2;this.props.viewerSettingsActions.update({width:t,height:r,columns:n})}},{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,r=t.paddingTop,n=t.paddingBottom;return(0,s.isNumeric)(e)||(e=window.innerHeight),e-=r,e-=n}},{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))}}])&&h(r.prototype,n),i&&h(r,i),Object.defineProperty(r,"prototype",{writable:!1}),l}(o.default.Component);return(0,a.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(l,e)}}))(t)};t.default=w},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(37),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=d(r(0)),i=r(38),a=r(179),u=r(93),s=d(r(41)),c=r(106),l=d(r(350)),f=r(27),p=["viewerSettings","readerSettings","markers"];function d(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(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 r,n=E(e);if(t){var o=E(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){if(t&&("object"===n(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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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&&w(e,t)}(d,e);var t,r,n,i=S(d);function d(){var e;b(this,d);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return x(_(e=i.call.apply(i,[this].concat(r))),"state",{left:"0px",spreadPosition:0,recto:!1,verso:!1,elementEdgeLeft:0,unbound:!1}),x(_(e),"calculateSpreadOffset",(function(){var t=e.props.viewerSettings.height,r=e.props.viewerSettings,n=r.paddingTop+r.paddingBottom;t=(0,u.isNumeric)(t)?2*t-2*n:t,(0,u.isNumeric)(t)&&(t-=1),e.updateChildElementPositions()})),x(_(e),"updateChildElementPositions",(function(){var t=e.props["data-marker-reference"],r=e.props.markers[t];if(!r)return console.error("Cannot update child positions: No marker");var n=r.elementEdgeLeft,o=r.unbound,i=window.innerWidth,a=e.props.viewerSettings,u=i-a.paddingLeft-a.paddingRight+a.columnGap,c=Math.ceil(n/u),l=e.props.readerSettings.layout,p=0;s.default.isMobile()||l===f.layouts.SCROLL||(p=u*c,o&&(p=0)),p="".concat(p,"px"),e.setState({left:p,spreadPosition:c})})),e}return t=d,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker-reference"],r=e.markers[t];if(r){var n=r.recto,o=r.verso,i=r.elementEdgeLeft,a=r.unbound;n===this.state.recto&&o===this.state.verso&&i===this.state.elementEdgeLeft&&a===this.state.unbound||this.setState({recto:n,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"],r=this.props.markers[t];if(!r)return null;var n=this.state.spreadPosition,i=r.recto,u=r.unbound,s=this.props.viewerSettings.paddingLeft,f=this.props.readerSettings.layout,d=this.props,y=(d.viewerSettings,d.readerSettings,d.markers,m(d,p)),b={};return a.debug&&(b=v(v({},b),{background:"blue"})),o.default.createElement("div",h({},y,{id:"spread__".concat(t),style:b}),o.default.createElement(c.SpreadImageStyles,{recto:i,markerRefId:t,spreadPosition:n,paddingLeft:s,unbound:u,layout:f}),o.default.createElement(l.default.Provider,{value:{left:e,layout:f}},this.props.children))}}])&&g(t.prototype,r),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.default.Component),k=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,markers:e.markers}}),(function(){return{}}))(P);t.default=k},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(6),r(28),r(29);var o=h(r(0)),i=r(38),a=r(59),u=r(93),s=h(r(41)),c=h(r(181)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(618)),f=r(27),p=h(r(178));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(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)}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)}(a,e);var t,r,n,i=w(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(t=i.call(this,e)).props["data-marker"];return r&&t.props.markerActions.update({recto:!1,verso:!1,elementEdgeLeft:0,markerId:r,unbound:!1}),t.calculateOffsetHeight=t.calculateOffsetHeight.bind(O(t)),t}return t=a,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker"],r=e.recto,n=e.verso,o=e.elementEdgeLeft;!t||r===this.props.recto&&n===this.props.verso&&o===this.props.elementEdgeLeft||this.props.markerActions.update({markerId:t,recto:r,verso:n,elementEdgeLeft:o})}},{key:"componentDidUpdate",value:function(){var e=JSON.parse(this.props["data-unbound"]||"false"),t=this.props["data-marker"],r=this.props.markers[t],n=this.props,o=n.verso,i=n.recto;!r||i===r.recto&&o===r.verso&&e===r.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 r=this.props.elemRef.current,n=this.props,o=n.verso,i=n.recto,a=this.props.viewerSettings,c=a.paddingTop,l=a.paddingBottom,d=(a.fontSize,this.props.viewerSettings.height),h=d-c-l,y=JSON.parse(this.props["data-unbound"]||"false"),v=JSON.parse(this.props["data-adjacent"]||"false");(0,u.isNumeric)(d)||(d=0),o&&(v?(t+=h,t+=h,t-=r.offsetHeight):(t+=h,t+=h,t-=r.offsetHeight,t-=Math.round(r.getBoundingClientRect().bottom-c),y||(t+=h,t+=h))),i&&(v?(t+=h,t+=h,t-=r.offsetHeight):(t+=h,t+=h,t-=r.offsetHeight,t+=h,t-=Math.round(r.getBoundingClientRect().top),t+=c)),t=Math.floor(t);var m=parseFloat(window.getComputedStyle(r).fontSize);return"safari"===p.default.name?t-=Math.floor(1.3*m):t-=m,t}},{key:"render",value:function(){var e=this.props,t=e.verso,r=e.recto,n={height:this.calculateOffsetHeight(),display:"block"},i=v({},this.props.style);return o.default.createElement("span",null,o.default.createElement("span",{"data-verso":t,"data-recto":r,"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:n}))}}])&&b(t.prototype,r),n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component),x=(0,i.connect)((function(e){return{markers:e.markers}}),(function(e){return{markerActions:(0,a.bindActionCreators)(l,e)}}))((0,c.default)(E,{isMarker:!0}));t.default=x},function(e,t,r){var n=r(354),o=r(229),i=r(136);e.exports=function(e){return function(t,r,a){var u=Object(t);if(!o(t)){var s=n(r,3);t=i(t),r=function(e){return s(u[e],e,u)}}var c=e(t,r,a);return c>-1?u[s?t[c]:c]:void 0}}},function(e,t,r){var n=r(581),o=r(607),i=r(364);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(221),o=r(355);e.exports=function(e,t,r,i){var a=r.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=r[a])[0],f=e[l],p=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},function(e,t,r){var n=r(172);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r){var n=r(172),o=r(215),i=r(214);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(221),o=r(356),i=r(593),a=r(596),u=r(183),s=r(56),c=r(224),l=r(362),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,h,y){var v=s(e),m=s(t),b=v?"[object Array]":u(e),g=m?"[object Array]":u(t),w=(b="[object Arguments]"==b?f:b)==f,S=(g="[object Arguments]"==g?f:g)==f,O=b==g;if(O&&c(e)){if(!c(t))return!1;v=!0,w=!1}if(O&&!w)return y||(y=new n),v||l(e)?o(e,t,r,d,h,y):i(e,t,b,r,d,h,y);if(!(1&r)){var _=w&&p.call(e,"__wrapped__"),E=S&&p.call(t,"__wrapped__");if(_||E){var x=_?e.value():e,P=E?t.value():t;return y||(y=new n),h(x,P,r,d,y)}}return!!O&&(y||(y=new n),a(e,t,r,d,h,y))}},function(e,t,r){var n=r(214),o=r(589),i=r(590);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)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 r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(104),o=r(357),i=r(174),a=r(356),u=r(594),s=r(595),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){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 d=u;case"[object Set]":var h=1&n;if(d||(d=s),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},function(e,t,r){var n=r(358),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var s=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!s)return!1;for(var f=l;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=s;++f<l;){var m=e[p=c[f]],b=t[p];if(i)var g=s?i(b,m,p,t,e,u):i(m,b,p,e,t,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(103),o=r(217),i=r(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[n(e)]}},function(e,t,r){var n=r(228),o=r(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(325)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(94)(r(55),"DataView");e.exports=n},function(e,t,r){var n=r(94)(r(55),"Promise");e.exports=n},function(e,t,r){var n=r(94)(r(55),"Set");e.exports=n},function(e,t,r){var n=r(94)(r(55),"WeakMap");e.exports=n},function(e,t,r){var n=r(363),o=r(136);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},function(e,t,r){var n=r(355),o=r(609),i=r(610),a=r(213),u=r(363),s=r(364),c=r(134);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},function(e,t,r){var n=r(230);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(611),o=r(340);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(613),o=r(614),i=r(213),a=r(134);e.exports=function(e){return i(e)?n(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(230);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,r){var n=r(218);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaSmall=t.mediaLarge=void 0;var n=r(179);t.mediaLarge=function(){return[{selector:".figure__fullbleed figure,\n .spread .spread__content",declarations:["opacity: ".concat(n.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(n.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(n.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,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.update=function(e){return{type:o.UPDATE,payload:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(109),r(3),r(7),r(8),r(110),r(111),r(112),r(113),r(16),r(6),r(26),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(370),r(2),r(1),r(4),r(5),r(88),r(69);var o=j(r(0)),i=r(59),a=r(38),u=P(r(182)),s=P(r(135)),c=P(r(634)),l=r(106),f=P(r(90)),p=P(r(66)),d=P(r(635)),h=P(r(95)),y=P(r(41)),v=r(57),m=r(27),b=j(r(180)),g=j(r(349)),w=j(r(373)),S=j(r(204)),O=j(r(219)),_=r(639),E=r(640),x=r(641);function P(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(k=function(e){return e?r:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=k(t);if(r&&r.has(e))return r.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,r&&r.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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(x([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.prototype=p.prototype=Object.create(y);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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 r=e.iterator[t.method];if(void 0===r){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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(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 x(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(b),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,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=x,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(_),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:x(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function A(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L(e,t){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(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 r,n=N(e);if(t){var o=N(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return I(this,r)}}function I(e,t){if(t&&("object"===n(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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(){return o.default.createElement("div",{key:"book-content"},x.book.content)}var F=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)}(b,e);var t,r,n,i,a,d=R(b);function b(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),D(M(t=d.call(this,e)),"closeSidebars",(function(){return t.setState({showSidebar:null})})),D(M(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})})),D(M(t),"handleSidebarButtonClick",(function(e){var r=t.state.showSidebar;r=e===r?null:e,t.setState({showSidebar:r})})),D(M(t),"getTranslateX",(function(e){var r=(0,v.unlessDefined)(e,t.state.spreadIndex),n=t.props.viewerSettings,o=n.width,i=n.paddingLeft,a=n.paddingRight,u=n.columnGap,s=0;return t.props.readerSettings.layout===m.layouts.SCROLL||y.default.isMobile()||(s=0===(s=(o-i-a+u)*r*-1)&&-1===Math.sign(1/s)?0:s),s})),D(M(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=_.handlePageNavigation.bind(M(t)),t.handleChapterNavigation=_.handleChapterNavigation.bind(M(t)),t.navigateToSpreadByIndex=_.navigateToSpreadByIndex.bind(M(t)),t.navigateToElementById=_.navigateToElementById.bind(M(t)),t.navigateToChapterByURL=_.navigateToChapterByURL.bind(M(t)),t.updateQueryString=_.updateQueryString.bind(M(t)),t.savePosition=_.savePosition.bind(M(t)),t.debounceResizeSpeed=400,t.resizeEndTimer=null,t.bindResizeHandlers=E.bindResizeHandlers.bind(M(t)),t.unbindResizeHandlers=E.unbindResizeHandlers.bind(M(t)),t.handleResize=E.handleResize.bind(M(t)),t.handleResizeStart=E.handleResizeStart.bind(M(t)),t.handleResizeEnd=E.handleResizeEnd.bind(M(t)),t.handleResizeStart=(0,s.default)(t.handleResizeStart,t.debounceResizeSpeed,{leading:!0,trailing:!1}).bind(M(t)),t.handleResizeEnd=(0,s.default)(t.handleResizeEnd,t.debounceResizeSpeed,{leading:!1,trailing:!0}).bind(M(t)),t.createStateFromOPF=x.createStateFromOPF.bind(M(t)),t.showSpineItem=x.showSpineItem.bind(M(t)),t.loadSpineItem=x.loadSpineItem.bind(M(t)),t}return t=b,(r=[{key:"UNSAFE_componentWillMount",value:(i=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,r=t.props,n=r.readerSettings,o=r.readerLocation,i=new URLSearchParams(o.searchParams),a=Number(i.get(n.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)})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){A(o,r,n,a,u,"next",e)}function u(e){A(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.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,r=t.loaded,n=t.lastSpreadIndex,o=t.pendingDeferredCallbacks,i=this.props.readerLocation.searchParams,a=e.readerLocation.searchParams;if(a!==i){var s=p.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]),d=p.default.parseQueryString(i)[this.props.readerSettings.searchParamKeys.slug];if(d&&c&&d!==c){var h=(0,u.default)(this.state.spine,{slug:c});return void this.loadSpineItem(h)}this.setState({slug:c,currentSpineItemIndex:l,spreadIndex:f})}r&&-1!==n&&!0===o&&this.props.requestDeferredCallbackExecution()}},{key:"getSlug",value:function(){var e,t=this.state,r=t.spine,n=t.currentSpineItemIndex;return(0,c.default)(n)&&null!=r&&null!==(e=r[n])&&void 0!==e&&e.slug?r[n].slug:""}},{key:"render",value:function(){var e=this.props,t=e.downloads,r=e.uiOptions,n=e.view,i=e.layout,a=e.style,u=e.className,s=this.state,c=s.metadata,f=s.guide,p=s.spine,d=s.currentSpineItemIndex,y=s.showSidebar,v=s.lastSpread,m=s.spreadIndex,b=this.getSlug();return o.default.createElement(l.Controls,{guide:f,spine:p,currentSpineItemIndex:d,metadata:c,showSidebar:y,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,handlePageNavigation:this.handlePageNavigation,destroyReaderComponent:this.destroyReaderComponent,handleChapterNavigation:this.handleChapterNavigation,handleSidebarButtonClick:this.handleSidebarButtonClick,navigateToChapterByURL:this.navigateToChapterByURL,downloads:t,uiOptions:r,layout:i},o.default.createElement(h.default.Provider,{value:{lastSpread:v,spreadIndex:m,getTranslateX:this.getTranslateX,navigateToChapterByURL:this.navigateToChapterByURL}},o.default.createElement(l.Frame,{slug:b,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,BookContent:U,layout:i,view:n,style:a,className:u})),o.default.createElement(l.Spinner,null))}}])&&C(t.prototype,r),n&&C(t,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(o.Component),B=(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)(S,e),viewActions:(0,i.bindActionCreators)(b,e),userInterfaceActions:(0,i.bindActionCreators)(O,e)}}))((0,d.default)(F));t.default=B},function(e,t,r){"use strict";var n,o,i,a=r(11),u=r(62),s=r(231),c=r(13),l=r(20),f=r(40),p=r(86),d=r(54),h=r(163),y=r(53),v=r(21),m=r(24),b=r(78),g=r(165),w=r(184).set,S=r(621),O=r(624),_=r(232),E=r(625),x=r(44),P=r(137),k=r(138),j=r(139),T=k.CONSTRUCTOR,A=k.REJECTION_EVENT,C=k.SUBCLASSING,L=x.getterFor("Promise"),R=x.set,I=P&&P.prototype,M=P,N=I,D=c.TypeError,U=c.document,F=c.process,B=j.f,q=B,W=!!(U&&U.createEvent&&c.dispatchEvent),z=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},H=function(e,t){var r,n,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?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===e.promise?c(D("Promise-chain cycle")):(n=z(r))?l(n,r,s,c):s(r)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},V=function(e,t){e.notified||(e.notified=!0,S((function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},G=function(e,t,r){var n,o;W?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!A&&(o=c["on"+e])?o(n):"unhandledrejection"===e&&O("Unhandled promise rejection",r)},K=function(e){l(w,c,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=_((function(){s?F.emit("unhandledRejection",n,r):G("unhandledrejection",r,n)})),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)}))},X=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,V(e,!0))},Z=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw D("Promise can't be resolved itself");var n=z(t);n?S((function(){var r={done:!1};try{l(n,t,X(Z,r,e),X(Q,r,e))}catch(t){Q(r,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){Q({done:!1},t,e)}}};if(T&&(N=(M=function(e){b(this,N),y(e),l(n,this);var t=L(this);try{e(X(Z,t),X(Q,t))}catch(e){Q(t,e)}}).prototype,(n=function(e){R(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(N,"then",(function(e,t){var r=L(this),n=B(g(this,M));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=s?F.domain:void 0,0==r.state?r.reactions.add(n):S((function(){H(n,r)})),n.promise})),o=function(){var e=new n,t=L(e);this.promise=e,this.resolve=X(Z,t),this.reject=X(Q,t)},j.f=B=function(e){return e===M||void 0===e?new o(e):q(e)},!u&&v(P)&&I!==Object.prototype)){i=I.then,C||f(I,"then",(function(e,t){var r=this;return new M((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}p&&p(I,N)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:M}),d(M,"Promise",!1,!0),h("Promise")},function(e,t,r){var n,o,i,a,u,s,c,l,f=r(13),p=r(68),d=r(71).f,h=r(184).set,y=r(368),v=r(622),m=r(623),b=r(231),g=f.MutationObserver||f.WebKitMutationObserver,w=f.document,S=f.process,O=f.Promise,_=d(f,"queueMicrotask"),E=_&&_.value;E||(n=function(){var e,t;for(b&&(e=S.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()},y||b||m||!g||!w?!v&&O&&O.resolve?((c=O.resolve(void 0)).constructor=O,l=p(c.then,c),a=function(){l(n)}):b?a=function(){S.nextTick(n)}:(h=p(h,f),a=function(){h(n)}):(u=!0,s=w.createTextNode(""),new g(n).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,r){var n=r(73),o=r(13);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},function(e,t,r){var n=r(73);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t,r){var n=r(13);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},function(e,t){var r=function(){this.head=null,this.tail=null};r.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=r},function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},function(e,t,r){"use strict";var n=r(11),o=r(20),i=r(53),a=r(139),u=r(232),s=r(128);n({target:"Promise",stat:!0,forced:r(369)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=u((function(){var r=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(r,t,e).then((function(e){s||(s=!0,a[i]=e,--l||n(a))}),c)})),--l||n(a)}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(62),i=r(138).CONSTRUCTOR,a=r(137),u=r(50),s=r(21),c=r(40),l=a&&a.prototype;if(n({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,r){"use strict";var n=r(11),o=r(20),i=r(53),a=r(139),u=r(232),s=r(128);n({target:"Promise",stat:!0,forced:r(369)},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(20),i=r(139);n({target:"Promise",stat:!0,forced:r(138).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(50),i=r(62),a=r(137),u=r(138).CONSTRUCTOR,s=r(632),c=o("Promise"),l=i&&!u;n({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},function(e,t,r){var n=r(31),o=r(24),i=r(139);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.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,r){var n=r(367);e.exports=function(e){return"number"==typeof e&&e==n(e)}},function(e,t,r){"use strict";(function(e){function n(e){return(n="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)}r(28),r(29),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(636),r(1),r(16);var o=p(r(0)),i=r(59),a=r(38),u=p(r(135)),s=p(r(107)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(180)),l=r(27);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=function(t){var r=[],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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(p,n);var i,a,c,f=m(p);function p(){var t;h(this,p);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return S(g(t=f.call.apply(f,[this].concat(o))),"registerDeferredCallback",(function(e){if(!e)throw new Error("No callback provided");r.push(e),t.props.viewActions.queueDeferredCallbacks()})),S(g(t),"deRegisterDeferredCallback",(function(){r=[],e((function(){return t.props.viewActions.dequeueDeferredCallbacks()}))})),S(g(t),"requestDeferredCallbackExecution",(0,u.default)((function(){return s.default.sendDeferredEvent(),t.callDeferred()}),l.DEFERRED_CALLBACK_TIMER,{leading:!1,trailing:!0})),S(g(t),"callDeferred",(function(){r.forEach((function(e){return e()})),t.deRegisterDeferredCallback()})),t}return i=p,(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))}}])&&y(i.prototype,a),c&&y(i,c),Object.defineProperty(i,"prototype",{writable:!1}),p}(o.default.Component);return(0,a.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(c,e)}}))(n)};t.default=O}).call(this,r(371).setImmediate)},function(e,t,r){r(637),r(638)},function(e,t,r){var n=r(11),o=r(13),i=r(184).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,r){var n=r(11),o=r(13),i=r(184).set;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleChapterNavigation=function(e){var t=this,r=this.state.currentSpineItemIndex,n=this.state.spine,o=r+e,i=o<0,a=o>n.length-1;if(i||a)return void this.setState({firstChapter:i,lastChapter:a},(function(){return u.default.sendPaginationEvent(t.state)}));r=o;var s=n[o],c=function(e){return function(){var o=t.props.view.lastSpreadIndex,s=0===o,c=e;a=r===n.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:r,showSidebar:null,firstChapter:i,lastChapter:a},(function(){t.loadSpineItem(s,c),t.savePosition()}))},t.handlePageNavigation=function(e){var t=this,r=this.state.spreadIndex,n=this.props.view.lastSpreadIndex,o=r+e;if(o>n||o<0){var i=Math.sign(e);return void this.handleChapterNavigation(i)}var a=0===o,s=o===n,c=o>r?1:-1;r=o,this.setState({spreadIndex:r,firstSpread:a,lastSpread:s,spreadDelta:c,showSidebar:null},(function(){t.updateQueryString(),u.default.sendPaginationEvent(t.state)}))},t.navigateToChapterByURL=function(e){var t,r=this,o=this.state.spine,i=new window.URL(e),a="".concat(i.origin).concat(i.pathname),u=i.hash;u&&(t=function(){r.navigateToElementById(u),r.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})});var s=(0,n.default)(o,{absoluteURL:a});if(s===this.state.currentSpineItemIndex)return this.closeSidebars();if(s<0)return void console.warn("No spine item found for ".concat(a));var c=o[s];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:c,currentSpineItemIndex:s,spreadIndex:0},(function(){r.loadSpineItem(c,t),r.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 r=document.querySelector(".bber-controls__header").offsetHeight+25,n=t.offsetTop-r;document.getElementById("frame").scrollTo(0,n)}var i=this.props.viewerSettings,u=i.paddingTop,s=i.paddingBottom,c=i.columnGap,l=window.innerHeight,f=Math.round(l-u-s),p=t.offsetLeft-c,d=Math.floor(p/f/2);this.setState({spreadIndex:d},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){var e=this.state,t=e.currentSpineItemIndex,r=e.spreadIndex,n=this.props.readerSettings.searchParamKeys,o=new URLSearchParams;o.set(n.currentSpineItemIndex,t),o.set(n.spreadIndex,r);var i={searchParams:o.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){var t=this.state,r=t.spreadIndex,n=t.currentSpineItem,o=t.currentSpineItemIndex,a=n.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(r));var c={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(c),e&&e()},r(370),r(2),r(1),r(4),r(5),r(164),r(88),r(32),r(87);var n=s(r(366)),o=r(27),i=s(r(66)),a=s(r(41)),u=s(r(107));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"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)return;var e=new n.ViewerSettings;this.props.viewerSettingsActions.update(e.get())},t.handleResizeEnd=function(){var e=this;if(this.state.disableMobileResizeEvents)return;var t=this.state,r=t.spreadIndex,n=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=r*n;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)return;var t=this.state.spreadIndex,r=this.props.view.lastSpreadIndex,n=0;t>0&&r>0&&(n=t/r);this.setState({relativeSpreadPosition:n},(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 n=r(133)},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(16),r(35),r(110),r(111),r(112),r(113),r(29),r(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,r=t.spine,n=t.spreadIndex,o=t.currentSpineItemIndex,i=this.props.view.lastSpreadIndex,a=0===o,u=o===r.length-1,c=0===n,l=n===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)}))},r(1),r(109),r(2),r(4),r(5);var o=c(r(90)),i=c(r(185)),a=c(r(168)),u=c(r(661)),s=c(r(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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(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,p=l.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.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,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,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,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){v(i,n,o,a,u,"next",e)}function u(e){v(i,n,o,a,u,"throw",e)}a(void 0)}))}}var b={content:null};function g(){return(g=m(l().mark((function e(t){var r,n,o,a,s,c,f,d,y,v;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.readerSettings.bookURL,n=u.default.opfURL(r),o=u.default.opsURL(r),e.next=5,i.default.get(n);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,d=h(f,2),s=d[0],c=d[1],a=p(p({},s),c),e.next=21,Promise.all([u.default.udpateGuideItemURLs(a,o),u.default.udpateSpineItemURLs(a,o)]);case 21:return y=e.sent,v=h(y,2),s=v[0],c=v[1],a=p(p({},s),c),e.next=28,u.default.createBookMetadata(a);case 28:a=e.sent,this.setState(p({opsURL:o},a),t);case 30:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function w(){return(w=m(l().mark((function e(t,r){var n,s,c,f,p,d,y,v,m,g,w,S,O,_,E=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.default.createHash(this.props.readerSettings.bookURL),(s=t)||(c=h(this.state.spine,1),s=c[0]),this.freeze(),e.prev=4,p=this.state,d=p.cache,y=p.opsURL,e.next=8,i.default.get(s.absoluteURL);case 8:return v=e.sent,m=v.data,g=v.request,e.next=13,u.default.parseSpineItemResponse({data:m,hash:n,cache:d,opsURL:y,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()||{})[n],a.default.set(w),e.abrupt("return");case 23:O=(S=f).bookContent,_=S.scopedCSS,b.content=O,o.default.appendBookStyles(_,n),this.setState({currentSpineItem:s,spineItemURL:s.absoluteURL},(function(){return E.updateQueryString((function(){return E.props.registerDeferredCallback(r||E.showSpineItem)}))}));case 27:case"end":return e.stop()}}),e,this,[[4,16]])})))).apply(this,arguments)}t.book=b},function(e,t,r){e.exports=r(643)},function(e,t,r){"use strict";var n=r(51),o=r(374),i=r(644),a=r(380);function u(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=u(r(233));s.Axios=i,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=r(381),s.CancelToken=r(658),s.isCancel=r(379),s.all=function(e){return Promise.all(e)},s.spread=r(659),s.isAxiosError=r(660),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(51),o=r(375),i=r(645),a=r(646),u=r(380),s=r(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 r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var l=[a,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;r.length;){var p=r.shift(),d=r.shift();try{f=p(f)}catch(e){d(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(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(u(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(u(n||{},{method:e,url:t,data:r}))}})),e.exports=l},function(e,t,r){"use strict";var n=r(51);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(51),o=r(647),i=r(379),a=r(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=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.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,r){"use strict";var n=r(51),o=r(233);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},function(e,t,r){"use strict";var n=r(51);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(378);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(51);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.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,r){"use strict";var n=r(652),o=r(653);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(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,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(51);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(657),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=n.version.split(".");function u(e,t){for(var r=t?t.split("."):a,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}o.transitional=function(e,t,r){var o=t&&u(t);function a(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,u){if(!1===e)throw new Error(a(n," has been removed in "+t));return o&&!i[n]&&(i[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,u)}},e.exports={isOlderVersion:u,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[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!==r)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,r){"use strict";var n=r(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 r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.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,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(14),r(35),r(7),r(8),r(110),r(111),r(112),r(113),r(29),r(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(109),r(6),r(47),r(19),r(80),r(30),r(16),r(26),r(17),r(92),r(212),r(36),r(4),r(32),r(2),r(5);var o=b(r(662)),i=b(r(169)),a=r(389),u=b(r(182)),s=r(733),c=b(r(775)),l=b(r(798)),f=b(r(803)),p=b(r(66)),d=b(r(185)),h=b(r(814)),y=r(133),v=r(815),m=b(r(816));function b(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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.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 S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(b),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function w(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n,b,S;return t=e,r=null,n=[{key:"opfURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",t=window.encodeURI(t)}},{key:"opsURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t=window.encodeURI(t)}},{key:"parseOPF",value:function(e){return new Promise((function(t){for(var r=JSON.parse(o.default.xml2json(e.data)).elements[0].elements,n={},i=0;i<r.length;i++)n["__".concat(r[i].name)]=r[i];t(n)}))}},{key:"parseNCX",value:function(e,t){var r=e.__manifest,n=e.__spine;return new Promise((function(i){var a=n.attributes.toc;if(a){var s=(0,u.default)(r.elements,(function(e){return e.attributes.id===a}));if(s){var c=s.attributes.href;d.default.get(p.default.resolveRelativeURL(t,c)).then((function(t){var r=t.data;i(O(O({},e),{},{__ncx:JSON.parse(o.default.xml2json(r))}))}))}else i(O(O({},e),{},{__ncx:null}))}else i(O(O({},e),{},{__ncx:null}))}))}},{key:"createSpineItems",value:function(t){var r=t.__manifest,n=t.__spine,o=t.__ncx,i=t.__guide;return new Promise((function(a){var s;if(s=(s=n.elements.map((function(e){var t=e.attributes,n=t.idref,o=t.linear,a=(0,u.default)(r.elements,(function(e){return e.attributes.id===n}));if(!a||"yes"!==o)return null;var s=a.attributes,c=s.id,l=s.href,f=a.attributes["media-type"],d=a.attributes.properties?a.attributes.properties.split(" "):[],h=(0,u.default)(i.elements,(function(e){return e.attributes.href===l})),v="",m="";return h&&(v=h.attributes.title,m=p.default.slug(v)),new y.SpineItem({id:c,href:l,mediaType:f,properties:d,idref:n,linear:o,title:v,slug:m})}))).filter(Boolean),o){var c=o.elements[0].elements;(0,u.default)(c,{name:"navMap"}).elements.forEach((function(t){return e.parseNavPoints(s,r,t)}))}a(O(O({},t),{},{spine:s}))}))}},{key:"createGuideItems",value:function(e){var t=e.__guide;return new Promise((function(r){if(t.elements&&t.elements.length){var n=t.elements.map((function(e){var t=e.attributes,r=t.type,n=t.title,o=t.href;return new y.GuideItem({type:r,title:n,href:o})}));r(O(O({},e),{},{guide:n}))}else r(O(O({},e),{},{guide:[]}))}))}},{key:"udpateSpineItemURLs",value:function(e,t){return new Promise((function(r){var n=e.spine;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{spine:n}))}))}},{key:"udpateGuideItemURLs",value:function(e,t){return new Promise((function(r){var n=e.guide;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{guide:n}))}))}},{key:"parseNavPoints",value:function(t,r,n){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)(n.elements,{name:"content"});if(a){var s=a.attributes.src;s=p.default.ensureDecodedURL(s);var c=(0,u.default)(r.elements,(function(e){return p.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 d=(0,u.default)(n.elements,{name:"navLabel"}),h=(0,u.default)(d.elements,{name:"text"}),y=(0,u.default)(h.elements,{type:"text"}).text,v=p.default.slug(y);f.title||f.set("title",y),f.slug||f.set("slug",v),f.set("depth",o),f.set("inTOC",!0),i&&i.addChild(f);var m=o+1;n.elements.forEach((function(n){return e.parseNavPoints(t,r,n,m,f)}))}}},{key:"createBookMetadata",value:function(e){var t=e.__metadata.elements.filter((function(e){return/^dc:/.test(e.name)})).map((function(e){return _({},e.name.slice(3),e.elements[0].text)}));return new Promise((function(r){var n=new y.BookMetadata({});t.forEach((function(e,r){var o=Object.keys(t[r]);(0,i.default)(n,o)&&n.set(o,e[o])})),r(O(O({},e),{},{metadata:n}))}))}},{key:"createScopedCSS",value:function(e,t,r){var n="";return e.forEach((function(e){var o=e.base,i=e.data,a=p.default.resolveRelativeURL(r,o),u=(0,c.default)(i);(0,l.default)(u,{enter:function(e,r,n){var o,i=s.List.createItem({name:t,type:"ClassSelector"}),u=s.List.createItem({type:"WhiteSpace",value:" "});n&&"TypeSelector"===e.type&&"html"===e.name&&(e.name=t,e.type="ClassSelector"),n&&"TypeSelector"===e.type&&"body"===e.name&&(e.name="content",e.type="IdSelector"),!n||e.name===t||n.head.data.name===t||"TypeSelector"!==e.type&&"IdSelector"!==e.type&&"ClassSelector"!==e.type&&"AttributeSelector"!==e.type||(n.prepend(u),n.prepend(i)),"Url"===e.type&&(o=e.value.replace(/(?:^['"]+|['"]+$)/g,""),p.default.isRelative(o)&&(o=p.default.resolveRelativeURL(a,o),e.value=o))}}),n+=(0,f.default)(u)})),n}},{key:"parseSpineItemResponse",value:(b=g().mark((function t(r){var n,o,i,u,s,c,l,f,y,b,w,S,O,_,E,x,P,k,j,T,A,C;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.request.responseURL,o=r.hash,i=r.opsURL,u=r.paddingLeft,s=r.columnGap,c=r.cache,l=new a.Parser,f=new m.default({paddingLeft:u,columnGap:s,responseURL:n}),y=f.parseXML(r.data),b=y.xml,w=y.doc,S=/<body[^>]*?>([\s\S]*)<\/body>/,O=(O=(O=b.match(S))[1]).replace(/>\s*?</g,"><"),_=l.parseWithInstructions(O,v.isValidNode,(0,v.processingInstructions)(r)),E=Array.from(w.querySelectorAll("link")),x=Array.from(w.querySelectorAll("style")),P=E.reduce((function(e,t){if("stylesheet"!==t.rel)return e;var r=p.default.trimFilenameFromResponse(n),o=p.default.trimSlashes(t.getAttribute("href")),i=p.default.resolveRelativeURL(r,o);return e.concat({url:i,base:r})}),[]),k=P.map((function(e){var t=e.url,r=e.base;return new Promise((function(e){d.default.get(t).then((function(n){c&&(console.log("No CSS cache - setting cache for %s",t),h.default.set(t,n.data)),e({base:r,data:n.data})}))}))})),t.next=16,Promise.all(k);case 16:return j=t.sent,T=x.reduce((function(e,t){var r=t.textContent;if(!r)return e;var o=p.default.trimFilenameFromResponse(n);return e.concat({base:o,data:r})}),j),A="_".concat(o),C=e.createScopedCSS(T,A,i),t.abrupt("return",{bookContent:_,scopedCSS:C});case 21:case"end":return t.stop()}}),t)})),S=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=b.apply(e,t);function i(e){w(o,r,n,i,a,"next",e)}function a(e){w(o,r,n,i,a,"throw",e)}i(void 0)}))},function(e){return S.apply(this,arguments)})}],r&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=x},function(e,t,r){var n=r(382),o=r(677),i=r(388),a=r(678);e.exports={xml2js:n,xml2json:o,js2xml:i,json2xml:a}},function(e,t,r){(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 n,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,r){if(!(this instanceof i))return new i(e,r);!function(e){for(var t=0,r=o.length;t<r;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=r||{},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=O.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),E(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 r in e)e.hasOwnProperty(r)&&t.push(r);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());var r=0,n="";for(;n=U(e,r++),this.c=n,n;)switch(this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++),this.state){case O.BEGIN:if(this.state=O.BEGIN_WHITESPACE,"\ufeff"===n)continue;D(this,n);continue;case O.BEGIN_WHITESPACE:D(this,n);continue;case O.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=r-1;n&&"<"!==n&&"&"!==n;)(n=U(e,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,r-1)}"<"!==n||this.sawRoot&&this.closedRoot&&!this.strict?(h(n)||this.sawRoot&&!this.closedRoot||A(this,"Text data outside of root node."),"&"===n?this.state=O.TEXT_ENTITY:this.textNode+=n):(this.state=O.OPEN_WAKA,this.startTagPosition=this.position);continue;case O.SCRIPT:"<"===n?this.state=O.SCRIPT_ENDING:this.script+=n;continue;case O.SCRIPT_ENDING:"/"===n?this.state=O.CLOSE_TAG:(this.script+="<"+n,this.state=O.SCRIPT);continue;case O.OPEN_WAKA:if("!"===n)this.state=O.SGML_DECL,this.sgmlDecl="";else if(h(n));else if(m(l,n))this.state=O.OPEN_TAG,this.tagName=n;else if("/"===n)this.state=O.CLOSE_TAG,this.tagName="";else if("?"===n)this.state=O.PROC_INST,this.procInstName=this.procInstBody="";else{if(A(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;n=new Array(a).join(" ")+n}this.textNode+="<"+n,this.state=O.TEXT}continue;case O.SGML_DECL:"[CDATA["===(this.sgmlDecl+n).toUpperCase()?(x(this,"onopencdata"),this.state=O.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+n==="--"?(this.state=O.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+n).toUpperCase()?(this.state=O.DOCTYPE,(this.doctype||this.sawRoot)&&A(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===n?(x(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=O.TEXT):y(n)?(this.state=O.SGML_DECL_QUOTED,this.sgmlDecl+=n):this.sgmlDecl+=n;continue;case O.SGML_DECL_QUOTED:n===this.q&&(this.state=O.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case O.DOCTYPE:">"===n?(this.state=O.TEXT,x(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=O.DOCTYPE_DTD:y(n)&&(this.state=O.DOCTYPE_QUOTED,this.q=n));continue;case O.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:this.doctype+=n,"]"===n?this.state=O.DOCTYPE:y(n)&&(this.state=O.DOCTYPE_DTD_QUOTED,this.q=n);continue;case O.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=O.DOCTYPE_DTD,this.q="");continue;case O.COMMENT:"-"===n?this.state=O.COMMENT_ENDING:this.comment+=n;continue;case O.COMMENT_ENDING:"-"===n?(this.state=O.COMMENT_ENDED,this.comment=k(this.opt,this.comment),this.comment&&x(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=O.COMMENT);continue;case O.COMMENT_ENDED:">"!==n?(A(this,"Malformed comment"),this.comment+="--"+n,this.state=O.COMMENT):this.state=O.TEXT;continue;case O.CDATA:"]"===n?this.state=O.CDATA_ENDING:this.cdata+=n;continue;case O.CDATA_ENDING:"]"===n?this.state=O.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=O.CDATA);continue;case O.CDATA_ENDING_2:">"===n?(this.cdata&&x(this,"oncdata",this.cdata),x(this,"onclosecdata"),this.cdata="",this.state=O.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=O.CDATA);continue;case O.PROC_INST:"?"===n?this.state=O.PROC_INST_ENDING:h(n)?this.state=O.PROC_INST_BODY:this.procInstName+=n;continue;case O.PROC_INST_BODY:if(!this.procInstBody&&h(n))continue;"?"===n?this.state=O.PROC_INST_ENDING:this.procInstBody+=n;continue;case O.PROC_INST_ENDING:">"===n?(x(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=O.TEXT):(this.procInstBody+="?"+n,this.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:m(f,n)?this.tagName+=n:(C(this),">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:(h(n)||A(this,"Invalid character in tag name"),this.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:">"===n?(I(this,!0),M(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=O.ATTRIB);continue;case O.ATTRIB:if(h(n))continue;">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME:"="===n?this.state=O.ATTRIB_VALUE:">"===n?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(n)?this.state=O.ATTRIB_NAME_SAW_WHITE:m(f,n)?this.attribName+=n:A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if("="===n)this.state=O.ATTRIB_VALUE;else{if(h(n))continue;A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",x(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?I(this):m(l,n)?(this.attribName=n,this.state=O.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(h(n))continue;y(n)?(this.q=n,this.state=O.ATTRIB_VALUE_QUOTED):(A(this,"Unquoted attribute value"),this.state=O.ATTRIB_VALUE_UNQUOTED,this.attribValue=n);continue;case O.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}R(this),this.q="",this.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:h(n)?this.state=O.ATTRIB:">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(A(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!v(n)){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}R(this),">"===n?I(this):this.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(this.tagName)">"===n?M(this):m(f,n)?this.tagName+=n:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=O.SCRIPT):(h(n)||A(this,"Invalid tagname in closing tag"),this.state=O.CLOSE_TAG_SAW_WHITE);else{if(h(n))continue;b(l,n)?this.script?(this.script+="</"+n,this.state=O.SCRIPT):A(this,"Invalid tagname in closing tag."):this.tagName=n}continue;case O.CLOSE_TAG_SAW_WHITE:if(h(n))continue;">"===n?M(this):A(this,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var u,s;switch(this.state){case O.TEXT_ENTITY:u=O.TEXT,s="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:u=O.ATTRIB_VALUE_QUOTED,s="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:u=O.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===n?(this[s]+=N(this),this.entity="",this.state=u):m(this.entity.length?d:p,n)?this.entity+=n:(A(this,"Invalid character in entity name"),this[s]+="&"+this.entity+n,this.entity="",this.state=u);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(e){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),n=0,i=0,a=o.length;i<a;i++){var u=e[o[i]].length;if(u>r)switch(o[i]){case"textNode":P(e);break;case"cdata":x(e,"oncdata",e.cdata),e.cdata="";break;case"script":x(e,"onscript",e.script),e.script="";break;default:j(e,"Max buffer length exceeded: "+o[i])}n=Math.max(n,u)}var s=t.MAX_BUFFER_LENGTH-n;e.bufferCheckPosition=s+e.position}(this);return this}
|
|
29
|
+
*/var n=60103,o=60106,i=60107,a=60108,u=60114,s=60109,c=60110,l=60112,f=60113,p=60120,d=60115,h=60116,y=60121,v=60122,m=60117,b=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=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"),p=w("react.suspense_list"),d=w("react.memo"),h=w("react.lazy"),y=w("react.block"),v=w("react.server.block"),m=w("react.fundamental"),b=w("react.debug_trace_mode"),g=w("react.legacy_hidden")}function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case u:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case d:case s:return e;default:return t}}case o:return t}}}var O=s,_=n,E=l,x=i,P=h,k=d,j=o,T=u,A=a,C=f;t.ContextConsumer=c,t.ContextProvider=O,t.Element=_,t.ForwardRef=E,t.Fragment=x,t.Lazy=P,t.Memo=k,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 S(e)===c},t.isContextProvider=function(e){return S(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===l},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===d},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===b||e===a||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===m||e.$$typeof===y||e[0]===v)},t.typeOf=S},function(e,t,r){"use strict";function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"==typeof o?o(r,n,e):t(o)}}}}r.r(t);var o=n();o.withExtraArgument=n,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(59),o=l(r(295)),i=l(r(505)),a=l(r(551)),u=l(r(552)),s=l(r(553)),c=l(r(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},p=(0,n.combineReducers)(f);t.default=p},function(e,t,r){var n=r(20),o=r(21),i=r(24),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw a("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},function(e,t,r){"use strict";var n=r(11),o=r(13),i=r(20),a=r(10),u=r(62),s=r(23),c=r(98),l=r(9),f=r(25),p=r(61),d=r(31),h=r(49),y=r(117),v=r(39),m=r(83),b=r(67),g=r(121),w=r(74),S=r(306),O=r(150),_=r(71),E=r(34),x=r(304),P=r(145),k=r(40),j=r(100),T=r(148),A=r(119),C=r(118),L=r(18),R=r(307),I=r(151),M=r(456),N=r(54),D=r(44),U=r(46).forEach,F=T("hidden"),B=D.set,q=D.getterFor("Symbol"),W=Object.prototype,z=o.Symbol,H=z&&z.prototype,V=o.TypeError,G=o.QObject,K=_.f,Y=E.f,$=S.f,X=P.f,Q=a([].push),Z=j("symbols"),J=j("op-symbols"),ee=j("wks"),te=!G||!G.prototype||!G.prototype.findChild,re=s&&l((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(W,t);n&&delete W[t],Y(e,t,r),n&&e!==W&&Y(W,t,n)}:Y,ne=function(e,t){var r=Z[e]=b(H);return B(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},oe=function(e,t,r){e===W&&oe(J,t,r),d(e);var n=y(t);return d(r),f(Z,n)?(r.enumerable?(f(e,F)&&e[F][n]&&(e[F][n]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,F)||Y(e,F,m(1,{})),e[F][n]=!0),re(e,n,r)):Y(e,n,r)},ie=function(e,t){d(e);var r=h(t),n=g(r).concat(ce(r));return U(n,(function(t){s&&!i(ae,r,t)||oe(e,t,r[t])})),e},ae=function(e){var t=y(e),r=i(X,this,t);return!(this===W&&f(Z,t)&&!f(J,t))&&(!(r||!f(this,t)||!f(Z,t)||f(this,F)&&this[F][t])||r)},ue=function(e,t){var r=h(e),n=y(t);if(r!==W||!f(Z,n)||f(J,n)){var o=K(r,n);return!o||!f(Z,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},se=function(e){var t=$(h(e)),r=[];return U(t,(function(e){f(Z,e)||f(A,e)||Q(r,e)})),r},ce=function(e){var t=e===W,r=$(t?J:h(e)),n=[];return U(r,(function(e){!f(Z,e)||t&&!f(W,e)||Q(n,Z[e])})),n};c||(k(H=(z=function(){if(p(H,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){this===W&&i(r,J,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,m(1,e))};return s&&te&&re(W,t,{configurable:!0,set:r}),ne(t,e)}).prototype,"toString",(function(){return q(this).tag})),k(z,"withoutSetter",(function(e){return ne(C(e),e)})),P.f=ae,E.f=oe,x.f=ie,_.f=ue,w.f=S.f=se,O.f=ce,R.f=function(e){return ne(L(e),e)},s&&(Y(H,"description",{configurable:!0,get:function(){return q(this).description}}),u||k(W,"propertyIsEnumerable",ae,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),U(g(ee),(function(e){I(e)})),n({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){te=!0},useSimple:function(){te=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):ie(b(e),t)},defineProperty:oe,defineProperties:ie,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se}),M(),N(z,"Symbol"),A[F]=!0},function(e,t,r){var n=r(13);e.exports=n},function(e,t,r){var n=r(20),o=r(50),i=r(18),a=r(40);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return n(r,this)}),{arity:1})}},function(e,t,r){var n=r(152),o=r(153),i=r(24),a=r(18)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},function(e,t,r){var n=r(11),o=r(50),i=r(25),a=r(39),u=r(100),s=r(309),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},function(e,t,r){var n=r(11),o=r(25),i=r(97),a=r(85),u=r(100),s=r(309),c=u("symbol-to-string-registry");n({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,r){var n=r(11),o=r(50),i=r(77),a=r(20),u=r(10),s=r(9),c=r(152),l=r(21),f=r(24),p=r(97),d=r(102),h=r(98),y=o("JSON","stringify"),v=u(/./.exec),m=u("".charAt),b=u("".charCodeAt),g=u("".replace),w=u(1..toString),S=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,E=!h||s((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),x=s((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),P=function(e,t){var r=d(arguments),n=t;if((f(t)||void 0!==e)&&!p(e))return c(t)||(t=function(e,t){if(l(n)&&(t=a(n,this,e,t)),!p(t))return t}),r[1]=t,i(y,null,r)},k=function(e,t,r){var n=m(r,t-1),o=m(r,t+1);return v(O,e)&&!v(_,o)||v(_,e)&&!v(O,n)?"\\u"+w(b(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:E||x},{stringify:function(e,t,r){var n=d(arguments),o=i(E?P:y,null,n);return x&&"string"==typeof o?g(o,S,k):o}})},function(e,t,r){var n=r(11),o=r(98),i=r(9),a=r(150),u=r(42);n({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,r){"use strict";var n=r(199),o=r(76);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){"use strict";var n=r(46).forEach,o=r(155)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(21),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},function(e,t,r){"use strict";var n,o=r(13),i=r(10),a=r(126),u=r(127),s=r(202),c=r(467),l=r(24),f=r(315),p=r(44).enforce,d=r(300),h=!o.ActiveXObject&&"ActiveXObject"in o,y=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=s("WeakMap",y,c);if(d&&h){n=c.getConstructor(y,"WeakMap",!0),u.enable();var m=v.prototype,b=i(m.delete),g=i(m.has),w=i(m.get),S=i(m.set);a(m,{delete:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)||t.frozen.has(e)}return g(this,e)},get:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(l(e)&&!f(e)){var r=p(this);r.frozen||(r.frozen=new n),g(this,e)?S(this,e,t):r.frozen.set(e,t)}else S(this,e,t);return this}})}},function(e,t,r){var n=r(9);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,r){"use strict";var n=r(10),o=r(126),i=r(127).getWeakData,a=r(31),u=r(24),s=r(78),c=r(128),l=r(46),f=r(25),p=r(44),d=p.set,h=p.getterFor,y=l.find,v=l.findIndex,m=n([].splice),b=0,g=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},S=function(e,t){return y(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=S(this,e);if(t)return t[1]},has:function(e){return!!S(this,e)},set:function(e,t){var r=S(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var l=e((function(e,o){s(e,p),d(e,{type:t,id:b++,frozen:void 0}),null!=o&&c(o,e[n],{that:e,AS_ENTRIES:r})})),p=l.prototype,y=h(t),v=function(e,t,r){var n=y(e),o=i(a(t),!0);return!0===o?g(n).set(t,r):o[n.id]=r,e};return o(p,{delete:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).delete(e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).has(e):r&&f(r,t.id)}}),o(p,r?{get:function(e){var t=y(this);if(u(e)){var r=i(e);return!0===r?g(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(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,r){var n=r(104),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(26),r(6),r(36),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0,r(2),r(1),r(4),r(5),r(88),r(89),r(16),r(19),r(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 r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=!0;return r.has(n)&&r.has(o)||(i=!1),i};t.stripSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug,u=new Set([n,o,i]);return r.forEach((function(e,t){u.has(t)||r.delete(t)})),r};t.ensureSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex;return r.has(n)||r.set(n,0),r.has(o)||r.set(o,0),r};var u=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug;return r.delete(n),r.delete(o),r.delete(i),r};t.excludeSearchParams=u;t.appendExternalParams=function(e,t){var r,i=a(e),s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(u(window.location.search,t));try{for(s.s();!(r=s.n()).done;){var c=n(r.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,r){var n=r(31),o=r(317);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";r(202)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(328))},function(e,t,r){"use strict";r(4);var n,o=r(11),i=r(23),a=r(323),u=r(13),s=r(68),c=r(10),l=r(40),f=r(329),p=r(78),d=r(25),h=r(330),y=r(327),v=r(122),m=r(201).codeAt,b=r(475),g=r(39),w=r(54),S=r(207),O=r(322),_=r(44),E=_.set,x=_.getterFor("URL"),P=O.URLSearchParams,k=O.getState,j=u.URL,T=u.TypeError,A=u.parseInt,C=Math.floor,L=Math.pow,R=c("".charAt),I=c(/./.exec),M=c([].join),N=c(1..toString),D=c([].pop),U=c([].push),F=c("".replace),B=c([].shift),q=c("".split),W=c("".slice),z=c("".toLowerCase),H=c([].unshift),V=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,$=/^[0-7]+$/,X=/^\d+$/,Q=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,J=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,te=/[\t\n\r]/g,re=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=C(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=N(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ne={},oe=h({},ne,{" ":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 r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var r;return 2==e.length&&I(V,R(e,0))&&(":"==(r=R(e,1))||!t&&"|"==r)},le=function(e){var t;return e.length>1&&ce(W(e,0,2))&&(2==e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===z(e)},pe={},de={},he={},ye={},ve={},me={},be={},ge={},we={},Se={},Oe={},_e={},Ee={},xe={},Pe={},ke={},je={},Te={},Ae={},Ce={},Le={},Re=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a))throw T(o);this.searchParams=null}else{if(void 0!==r&&(n=new Re(r,!0)),o=this.parse(a,null,n))throw T(o);(i=k(new P)).bindURL(this),this.searchParams=i}};Re.prototype={type:"URL",parse:function(e,t,r){var o,i,a,u,s,c=this,l=t||pe,f=0,p="",h=!1,m=!1,b=!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=y(e);f<=o.length;){switch(i=o[f],l){case pe:if(!i||!I(V,i)){if(t)return"Invalid scheme";l=he;continue}p+=z(i),l=de;break;case de:if(i&&(I(G,i)||"+"==i||"-"==i||"."==i))p+=z(i);else{if(":"!=i){if(t)return"Invalid scheme";p="",l=he,f=0;continue}if(t&&(c.isSpecial()!=d(se,p)||"file"==p&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=p,t)return void(c.isSpecial()&&se[c.scheme]==c.port&&(c.port=null));p="","file"==c.scheme?l=xe:c.isSpecial()&&r&&r.scheme==c.scheme?l=ye:c.isSpecial()?l=ge:"/"==o[f+1]?(l=ve,f++):(c.cannotBeABaseURL=!0,U(c.path,""),l=Ae)}break;case he:if(!r||r.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==i){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"==r.scheme?xe:me;continue;case ye:if("/"!=i||"/"!=o[f+1]){l=me;continue}l=we,f++;break;case ve:if("/"==i){l=Se;break}l=Te;continue;case me:if(c.scheme=r.scheme,i==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"==i||"\\"==i&&c.isSpecial())l=be;else if("?"==i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=Te;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}break;case be:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=Te;continue}l=Se}else l=we;break;case ge:if(l=we,"/"!=i||"/"!=R(p,f+1))continue;f++;break;case we:if("/"!=i&&"\\"!=i){l=Se;continue}break;case Se:if("@"==i){h&&(p="%40"+p),h=!0,a=y(p);for(var w=0;w<a.length;w++){var S=a[w];if(":"!=S||b){var O=ue(S,ae);b?c.password+=O:c.username+=O}else b=!0}p=""}else if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==p)return"Invalid authority";f-=y(p).length+1,p="",l=Oe}else p+=i;break;case Oe:case _e:if(t&&"file"==c.scheme){l=ke;continue}if(":"!=i||m){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==p)return"Invalid host";if(t&&""==p&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(p))return u;if(p="",l=je,t)return;continue}"["==i?m=!0:"]"==i&&(m=!1),p+=i}else{if(""==p)return"Invalid host";if(u=c.parseHost(p))return u;if(p="",l=Ee,t==_e)return}break;case Ee:if(!I(K,i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=p){var _=A(p,10);if(_>65535)return"Invalid port";c.port=c.isSpecial()&&_===se[c.scheme]?null:_,p=""}if(t)return;l=je;continue}return"Invalid port"}p+=i;break;case xe:if(c.scheme="file","/"==i||"\\"==i)l=Pe;else{if(!r||"file"!=r.scheme){l=Te;continue}if(i==n)c.host=r.host,c.path=v(r.path),c.query=r.query;else if("?"==i)c.host=r.host,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){le(M(v(o,f),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=Te;continue}c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}}break;case Pe:if("/"==i||"\\"==i){l=ke;break}r&&"file"==r.scheme&&!le(M(v(o,f),""))&&(ce(r.path[0],!0)?U(c.path,r.path[0]):c.host=r.host),l=Te;continue;case ke:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&ce(p))l=Te;else if(""==p){if(c.host="",t)return;l=je}else{if(u=c.parseHost(p))return u;if("localhost"==c.host&&(c.host=""),t)return;p="",l=je}continue}p+=i;break;case je:if(c.isSpecial()){if(l=Te,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=n&&(l=Te,"/"!=i))continue}else c.fragment="",l=Le;else c.query="",l=Ce;break;case Te:if(i==n||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=z(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||U(c.path,"")):fe(p)?"/"==i||"\\"==i&&c.isSpecial()||U(c.path,""):("file"==c.scheme&&!c.path.length&&ce(p)&&(c.host&&(c.host=""),p=R(p,0)+":"),U(c.path,p)),p="","file"==c.scheme&&(i==n||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"==i?(c.query="",l=Ce):"#"==i&&(c.fragment="",l=Le)}else p+=ue(i,ie);break;case Ae:"?"==i?(c.query="",l=Ce):"#"==i?(c.fragment="",l=Le):i!=n&&(c.path[0]+=ue(i,ne));break;case Ce:t||"#"!=i?i!=n&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":ue(i,ne)):(c.fragment="",l=Le);break;case Le:i!=n&&(c.fragment+=ue(i,oe))}f++}},parseHost:function(e){var t,r,n;if("["==R(e,0)){if("]"!=R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return R(e,f)};if(":"==p()){if(":"!=R(e,1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&I(Q,p());)t=16*t+A(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;f++}if(!I(K,p()))return;for(;I(K,p());){if(i=A(p(),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!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())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}(W(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=b(e),I(Z,e))return"Invalid host";if(null===(t=function(e){var t,r,n,o,i,a,u,s=q(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=s[n]))return e;if(i=10,o.length>1&&"0"==R(o,0)&&(i=I(Y,o)?16:8,o=W(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?X:8==i?$:Q,o))return e;a=A(o,i)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=D(r),n=0;n<r.length;n++)u+=r[n]*L(256,3-n);return u}(e)))return"Invalid host";this.host=t}else{if(I(J,e))return"Invalid host";for(t="",r=y(e),n=0;n<r.length;n++)t+=ue(r[n],ne);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(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,r=e.username,n=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+=r+(n?":"+n:"")+"@"),c+=re(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+M(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+"://"+re(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",pe)},getUsername:function(){return this.username},setUsername:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ae)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ae)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?re(e):re(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getHostname:function(){var e=this.host;return null===e?"":re(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,_e)},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,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(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=W(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=W(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=p(this,Me),r=S(arguments.length,1)>1?arguments[1]:void 0,n=E(t,new Re(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Me=Ie.prototype,Ne=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Me,"href",Ne("serialize","setHref")),f(Me,"origin",Ne("getOrigin")),f(Me,"protocol",Ne("getProtocol","setProtocol")),f(Me,"username",Ne("getUsername","setUsername")),f(Me,"password",Ne("getPassword","setPassword")),f(Me,"host",Ne("getHost","setHost")),f(Me,"hostname",Ne("getHostname","setHostname")),f(Me,"port",Ne("getPort","setPort")),f(Me,"pathname",Ne("getPathname","setPathname")),f(Me,"search",Ne("getSearch","setSearch")),f(Me,"searchParams",Ne("getSearchParams")),f(Me,"hash",Ne("getHash","setHash"))),l(Me,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),l(Me,"toString",(function(){return x(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,r){"use strict";var n=r(10),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,s=n(i.exec),c=Math.floor,l=String.fromCharCode,f=n("".charCodeAt),p=n([].join),d=n([].push),h=n("".replace),y=n("".split),v=n("".toLowerCase),m=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),n+=36;return c(n+36*e/(e+38))},g=function(e){var t,r,n=[],o=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=f(e,r++);if(o>=55296&&o<=56319&&r<n){var i=f(e,r++);56320==(64512&i)?d(t,((1023&o)<<10)+(1023&i)+65536):(d(t,o),r--)}else d(t,o)}return t}(e)).length,i=128,s=0,h=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,l(r));var y=n.length,v=y;for(y&&d(n,"-");v<o;){var g=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=i&&r<g&&(g=r);var w=v+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((r=e[t])<i&&++s>2147483647)throw u(a);if(r==i){for(var S=s,O=36;;){var _=O<=h?1:O>=h+26?26:O-h;if(S<_)break;var E=S-_,x=36-_;d(n,l(m(_+E%x))),S=c(E/x),O+=36}d(n,l(m(S))),h=b(s,w,v==y),s=0,v++}}s++,i++}return p(n,"")};e.exports=function(e){var t,r,n=[],a=y(h(v(e),i,"."),".");for(t=0;t<a.length;t++)r=a[t],d(n,s(o,r)?"xn--"+g(r):r);return p(n,".")}},function(e,t,r){var n=r(23),o=r(10),i=r(121),a=r(49),u=o(r(145).f),s=o([].push),c=function(e){return function(t){for(var r,o=a(t),c=i(o),l=c.length,f=0,p=[];l>f;)r=c[f++],n&&!u(o,r)||s(p,e?[r,o[r]]:o[r]);return p}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,r){var n=r(101).PROPER,o=r(9),i=r(333);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},function(e,t,r){var n=r(10),o=r(42),i=Math.floor,a=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=c),u(p,y,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,r);case"'":return s(t,d);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}c=n[l-1]}return void 0===c?"":c}))}},function(e,t,r){"use strict";var n={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 n[t]||e};e.exports=i,e.exports.convert=i},function(e,t,r){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function r(e,r){return""===r?t(e):(r[0]!==e.quotes&&(r=e.quotes+r),r[r.length-1]!==e.quotes&&(r+=e.quotes),r)}function n(e,n){return 1===arguments.length&&(n=e,e={quotes:'"'}),"string"==typeof n?r(e,n):null==n?t(e):n}return(e={exports:{}}).exports=function(e){return"object"==typeof e?n.bind(null,e):n(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,r){var n=r(483),o=r(491)((function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)}));e.exports=o},function(e,t,r){var n=r(131),o=r(485);e.exports=function(e){return o(n(e).toLowerCase())}},function(e,t,r){var n=r(104),o=r(334),i=r(56),a=r(167),u=n?n.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 r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(486)("toUpperCase");e.exports=n},function(e,t,r){var n=r(487),o=r(336),i=r(488),a=r(131);e.exports=function(e){return function(t){t=a(t);var r=o(t)?i(t):void 0,u=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return u[e]()+s}}},function(e,t,r){var n=r(335);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t,r){var n=r(489),o=r(336),i=r(490);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),l="(?:"+[i+n+"?",n,a,u,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,r){var n=r(492),o=r(493),i=r(496),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},function(e,t,r){var n=r(494),o=r(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,n).replace(a,"")}},function(e,t,r){var n=r(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=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(497),o=r(498),i=r(131),a=r(499);e.exports=function(e,t,r){return e=i(e),void 0===(t=r?void 0:t)?o(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[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 r.test(e)}},function(e,t){var r="\\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",n="["+r+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+r+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+u+")",p="(?:"+l+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,c].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),y="(?:"+[i,s,c].join("|")+")"+h,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?: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,y].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,r){r(11)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){r(11)({target:"Number",stat:!0},{isFinite:r(502)})},function(e,t,r){var n=r(13).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},function(e,t){var r=TypeError;e.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(899).createBrowserHistory)();t.default=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(339));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(new(r(133).ViewerSettings)).get(),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,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 u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7);var o=function(){function e(t){var r=t.title,n=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=r,this.creator=n,this.date=o,this.publisher=i,this.description=a,this.language=u,this.rights=s,this.identifier=c}var t,r,o;return t=e,(r=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){var r=t.id,n=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,p=t.slug,d=void 0===p?"":p,h=t.depth,y=void 0===h?0:h,v=t.children,m=void 0===v?[]:v,b=t.inTOC,g=void 0!==b&&b;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=r,this.href=n,this.mediaType=o,this.properties=i,this.idref=a,this.linear=u,this.absoluteURL=c,this.title=f,this.slug=d,this.depth=y,this.children=m,this.inTOC=g}var t,r,o;return t=e,(r=[{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)}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o((function e(t){var r=t.type,n=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=r,this.title=n,this.href=o,this.absoluteURL=""}));t.default=i},function(e,t,r){"use strict";r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(16),r(91);var n=s(r(130)),o=s(r(169)),i=r(93),a=r(27),u=s(r(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e,t,r){var n=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)(r,a)?r[a]:u;Object.defineProperty(e,a,p({value:s},n))})),e},m=function(e){return"function"==typeof e?e.call():e},b=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e),d(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}})),d(this,"put",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,n.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]=r):console.error("Could not update viewer settings with key: %s val: %s",e,r)})),Object.defineProperty(this,"settings",{value:v({},e.defaults,r,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=function(){return window.innerWidth/2-t.columnGap-t.paddingLeft}}var t,r,a;return t=e,(r=[{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 m(this.settings.paddingTop)},set:function(e){this.settings.paddingTop=e}},{key:"paddingLeft",get:function(){return m(this.settings.paddingLeft)},set:function(e){this.settings.paddingLeft=e}},{key:"paddingRight",get:function(){return m(this.settings.paddingRight)},set:function(e){this.settings.paddingRight=e}},{key:"paddingBottom",get:function(){return m(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 m(this.settings.columnGap)},set:function(e){this.settings.columnGap=e}},{key:"columnWidth",get:function(){return m(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),r=t[0],n=t[1],o=t[2],a=t[3];(0,i.isNumeric)(r)&&(this.settings.paddingTop=r),(0,i.isNumeric)(n)&&(this.settings.paddingRight=n),(0,i.isNumeric)(o)&&(this.settings.paddingBottom=o),(0,i.isNumeric)(a)&&(this.settings.paddingLeft=a)}}])&&l(t.prototype,r),a&&l(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(b,"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=b;t.default=g},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(512),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},function(e,t,r){var n=r(513);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(214);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(515),o=r(172),i=r(215);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(516),o=r(521),i=r(522),a=r(523),u=r(524);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,r){var n=r(171);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(341),o=r(518),i=r(81),a=r(342),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:u).test(a(e))}},function(e,t,r){var n,o=r(519),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var n=r(55)["__core-js_shared__"];e.exports=n},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,r){var n=r(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(171),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(171);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(173),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(173);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(173);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(173);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(175);e.exports=function(e){var t=n(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,r){var n=r(175);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(175);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(175);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(103),o=r(79);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(16),r(32),r(132);var n=r(57);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(t){var r=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=r||"_".concat((0,n.rand)()),this.media=o,this.rules=i,this.elem=null}var t,r,i;return t=e,(r=[{key:"insertRules",value:function(e){var t=this;this.rules.forEach((function(r){return t.elem.appendChild(e.createTextNode("".concat(r.selector," { ").concat(r.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,r),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=i},function(e,t,r){var n=r(539),o=r(177)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,r){var n=r(541),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},function(e,t){var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},function(e,t,r){var n=r(177)((function(e,t){return e>=t}));e.exports=n},function(e,t,r){var n=r(544),o=r(177)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,r){var n=r(177)((function(e,t){return e<=t}));e.exports=n},function(e,t,r){(function(t){function n(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:r(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 r=t.map((function(t){var r=t.rule.exec(e),n=r&&r[1].split(/[._]/).slice(0,3);return n&&n.length<3&&(n=n.concat(1==n.length?[0,0]:[0])),r&&{name:t.name,version:n.join(".")}})).filter(Boolean)[0]||null;return r&&(r.os=n(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&((r=r||{}).bot=!0),r}function a(e){return e.map((function(e){return{name:e[0],rule:e[1]}}))}e.exports={detect:function(){var e=o();return e||("undefined"!=typeof navigator?i(navigator.userAgent):null)},detectOS:n,getNodeVersion:o,parseUserAgent:i}}).call(this,r(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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((function e(t){var r=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=n.messagesTypes.PAGINATION_EVENT,this.spreadIndex=r,this.lastSpreadIndex=o,this.firstChapter=i,this.lastChapter=a,this.firstSpread=u,this.lastSpread=s,this.spreadDelta=c}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((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=n.messagesTypes.DEFERRED_EVENT}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(166);var n=a(r(176)),o=r(57),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(t){var r=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=r.id||"_".concat((0,o.rand)()),this.type=r.type||"application/javascript",this.src=e.getScriptSourceFromNodeValue(r),this.inline=(0,n.default)(this.src),this.body=r.childNodes&&r.childNodes.length?r.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=i}var t,r,a;return t=e,a=[{key:"getScriptSourceFromNodeValue",value:function(e){return(e.attributes.getNamedItem("src")||{}).value}}],(r=[{key:"appendScript",value:function(e){var t=i.default.trimFilenameFromResponse(this.requestURI),r=this.inline?null:i.default.resolveRelativeURL(t,this.src);this.elem=e.createElement("script"),this.elem.id=this.id,this.inline||(this.elem.src=r),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,r),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(326));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={searchParams:""},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.LOCATION_UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344)),i=["markerId"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f={},p=function(e,t){var r=t.markerId,n=l(t,i);return s(s({},e),{},c({},r,s(s({},e[r]||{}),n)))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.UPDATE:return p(e,t.payload);default:return e}};t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(345));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={loaded:!1,pendingDeferredCallbacks:!0,ultimateOffsetLeft:0,lastSpreadIndex:0},l=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.LOAD:case o.UNLOAD:return u(u({},e),{},{loaded:t.payload});case o.UPDATE_ULTIMATE_NODE_POSITION:return u(u({},e),t.payload);case o.UPDATE_LAST_SPREAD_INDEX:return u(u({},e),{},{lastSpreadIndex:t.payload});case o.QUEUE_DEFERRED_CALLBACKS:case o.DEQUEUE_DEFERRED_CALLBACKS:return u(u({},e),{},{pendingDeferredCallbacks:t.payload});default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(17),r(3),r(30),r(1),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(346));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.PAGE_TRANSITIONS_UPDATE:return u(u({},e),{},{enableTransitions:t.payload});case o.EVENT_HANDLING_UPDATE:return u(u({},e),{},{handleEvents:t.payload});case o.SPINNER_UPDATE:return u(u({},e),{},{spinnerVisible:t.payload});case o.UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28),r(29);var o=h(r(0)),i=r(38),a=r(59),u=r(557),s=p(r(107)),c=p(r(566)),l=r(27),f=h(r(219));function p(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 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,r,n,i=m(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),(t=i.call(this,e)).bindEvents=t.bindEvents.bind(g(t)),t.unbindEvents=t.unbindEvents.bind(g(t)),t.handleKeyDown=t.handleKeyDown.bind(g(t)),t.handleClick=t.handleClick.bind(g(t)),t}return t=a,(r=[{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 r=t.data;if(!1!==e.props.userInterface.handleEvents){var n=r.scope,o=r.delta;return"page"===n?(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(o)):"chapter"===n?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,r=(0,c.default)(e.NavigationFooter||u.NavigationFooter),n=this.props,i=n.destroyReaderComponent,a=n.handleSidebarButtonClick,s=n.downloads,l=n.uiOptions,f=n.currentSpineItemIndex,p=n.spine,d=n.layout,h=n.metadata,y=n.showSidebar,v=n.spreadIndex,m=n.lastSpreadIndex,b=n.handleChapterNavigation,g=n.handlePageNavigation,w=n.navigateToChapterByURL,S=this.props.userInterfaceActions.enablePageTransitions,O=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:y,spine:p,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:h}),this.props.children,o.default.createElement(r,{uiOptions:l,currentSpineItemIndex:f,spine:p,layout:d,spreadIndex:v,lastSpreadIndex:m,handleEvents:O,handleChapterNavigation:b,enablePageTransitions:S,handlePageNavigation:g}))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.Component),O=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,a.bindActionCreators)(f,e)}}))(S);t.default=O},function(e,t,r){"use strict";var n=r(10),o=r(53),i=r(24),a=r(25),u=r(102),s=r(115),c=Function,l=n([].concat),f=n([].join),p={},d=function(e,t,r){if(!a(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=c("C,a","return new C("+f(n,",")+")")}return p[t](e,r)};e.exports=s?c.bind:function(e){var t=o(this),r=t.prototype,n=u(arguments,1),a=function(){var r=l(n,u(arguments));return this instanceof a?d(t,r.length,r):t.apply(e,r)};return i(r)&&(a.prototype=r),a}},function(e,t,r){"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 n.default}});var n=i(r(558)),o=i(r(565));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=s,t.default=void 0;var n=u(r(58)),o=u(r(0)),i=r(559),a=r(347);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,r;if(!e||null===(t=e.uiOptions)||void 0===t||null===(r=t.navigation)||void 0===r||!r.header_icons)return null;var u=e.showSidebar,s=e.downloads,c=e.spine,l=e.currentSpineItemIndex,f=e.navigateToChapterByURL,p=e.metadata,d=e.uiOptions.navigation.header_icons,h=d.toc,y=d.home,v=d.info,m=d.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"},y&&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,n.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})),m&&s.length>0&&o.default.createElement("li",{className:"bber-li bber-li-downloads"},o.default.createElement("button",{className:(0,n.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,v&&o.default.createElement("li",{className:"bber-li bber-li-info"},o.default.createElement("button",{className:(0,n.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:p})))))))}var c=s;t.default=c},function(e,t,r){"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 n.default}}),Object.defineProperty(t,"SidebarSettings",{enumerable:!0,get:function(){return a.default}});var n=u(r(560)),o=u(r(561)),i=u(r(563)),a=u(r(564));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(47),r(91);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(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,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=(0,r(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)(),r=s((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},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=s(e,2),r=t[0],n=t[1];return r&&n?i.default.createElement("div",{key:r},i.default.createElement("dt",{className:"bber-dt"},r),i.default.createElement("dd",{className:"bber-dd"},n)):null}))))}));t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7),r(47);var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(0)),i=r(38),a=s(r(58)),u=s(r(107));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.url,r=e.label,n=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"},r),n&&o.default.createElement("div",{className:"bber-downloads__description"},n)))}var d=(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)(),r=l((0,o.useState)("0px"),2),n=r[0],i=r[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:n},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(p,{key:e.url,url:e.url,label:e.label,description:e.description})}))))}));t.default=d},function(e,t,r){"use strict";r(202)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(328))},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(36),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(30),r(1),r(47),r(32);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(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 c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 l(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.current,r=e.items,n=e.depth||0,o=r.filter((function(e){return e.depth===n&&e.inTOC}));return i.default.createElement("ol",{className:"bber-ol"},o.map((function(r,o){return i.default.createElement("li",{className:"bber-li",key:r.id},i.default.createElement("button",{onClick:function(){return e.navigateToChapterByURL(r.absoluteURL)},className:(0,a.default)("bber-button bber-indent--".concat(n+1),{"bber-chapter--current":t===r.id})},r.title||"Chapter ".concat(n,".").concat(o)),r.children.length>0&&i.default.createElement(p,{current:t,items:r.children,depth:n+1,navigateToChapterByURL:e.navigateToChapterByURL}))})))}var d=(0,r(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)(),r=c((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},i.default.createElement(p,{items:s(e.spine),current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))}));t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(0)),i=a(r(58));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=p(e);if(t){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){if(t&&("object"===n(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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)}(l,e);var t,r,n,a=c(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),d(f(t=a.call(this,e)),"handleFontSizeIncrement",(function(){return t.handleFontSizeChange(1)})),d(f(t),"handleFontSizeDecrement",(function(){return t.handleFontSizeChange(-1)})),d(f(t),"handleFontSizeChange",(function(e){var r=t.state,n=r.fontSizeMin,o=r.fontSizeMax,i=r.fontSizeStep,a=t.state.fontSize;(a=i*e+(a=parseInt(a,10)))<n||a>o||(t.setState({fontSize:a}),t.props.update({fontSize:a}),t.props.save())})),d(f(t),"handleOnChange",(function(e){return t.setState({fontSize:e.target.value})})),d(f(t),"handleOnBlur",(function(){var e=t.state,r=e.fontSizeMin,n=e.fontSizeMax,o=t.state.fontSize;(o=10*Math.round(.1*o))<r||o>n||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=l,(r=[{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,r=e.fontSizeMin,n=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:r,max:n,step:a,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),o.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}])&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default.Component);t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(41)),i=r(27),a=r(347);function u(e){return e&&e.__esModule?e:{default:e}}var s={prev:function(e){return!(e.currentSpineItemIndex<1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())},next:function(e){return!(e.currentSpineItemIndex>=e.spine.length-1)&&(e.uiOptions.navigation.footer_icons.chapter||e.layout===i.layouts.SCROLL||o.default.isMobile())}},c={prev:function(e){return e.layout!==i.layouts.SCROLL&&!o.default.isMobile()&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex)},next: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)}};var l=function(e){return n.default.createElement("footer",{className:"bber-controls__footer"},n.default.createElement("nav",{className:"bber-nav"},n.default.createElement("ul",{className:"bber-ul"},n.default.createElement("li",{className:"bber-li"},s.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},n.default.createElement(a.ChapterPrevious,null))),n.default.createElement("li",{className:"bber-li"},c.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},n.default.createElement(a.PagePrevious,null))),n.default.createElement("li",{className:"bber-li"},c.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},n.default.createElement(a.PageNext,null))),n.default.createElement("li",{className:"bber-li"},s.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},n.default.createElement(a.ChapterNext,null))))))};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(38),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(219));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(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 r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===n(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 b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=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)}(u,t);var r,n,o,a=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=a.call.apply(a,[this].concat(r))),"goToPrevChapter",(function(){!1!==e.props.userInterface.handleEvents&&e.props.handleChapterNavigation(-1)})),b(v(e),"goToNextChapter",(function(){!1!==e.props.handleEvents&&e.props.handleChapterNavigation(1)})),b(v(e),"goToPrevPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(-1))})),b(v(e),"goToNextPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(1))})),e}return r=u,(n=[{key:"render",value:function(){return i.default.createElement(e,l({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}])&&p(r.prototype,n),o&&p(r,o),Object.defineProperty(r,"prototype",{writable:!1}),u}(i.default.Component);return(0,a.connect)((function(e){return{userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,u.bindActionCreators)(s,e)}}))(t)};t.default=g},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=p(r(0)),i=p(r(130)),a=r(38),u=r(106),s=p(r(41)),c=r(27),l=p(r(107)),f=p(r(90));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(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 r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){if(t&&("object"===n(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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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&&m(e,t)}(p,e);var t,r,n,a=b(p);function p(){var e;y(this,p);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(w(e=a.call.apply(a,[this].concat(r))),"node",o.default.createRef()),O(w(e),"handleScroll",(function(t){var r=Math.max(e.node.current.scrollHeight,e.node.current.offsetHeight,e.node.current.clientHeight);l.default.sendScrollEvent(t,t.target.scrollTop,r)})),e}return t=p,(r=[{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))}}])&&v(t.prototype,r),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(o.default.Component),E=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings}}),(function(){return{}}))(_);t.default=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(95)),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.navigateToChapterByURL,o=e.className,a=e.style;o=o||"",a=a||{};var u=e.href,s=i.default.isExternal(u)?"_blank":"_top";return n.default.createElement("a",{href:u,style:a,target:s,className:o,onClick:function(e){(i.default.isRelative(u)||i.default.isInternal(u))&&(e.preventDefault(),r(u))}},e.children)}))};t.default=u},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(6),r(32);var o=y(r(0)),i=y(r(220)),a=y(r(135)),u=r(38),s=y(r(573)),c=y(r(41)),l=y(r(178)),f=y(r(574)),p=y(r(576)),d=y(r(95)),h=r(27);function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(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 E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){var t=e.layout,r=e.leafLeftStyles,n=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:r}),o.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:n}))}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&&g(e,t)}(u,e);var t,r,n,i=w(u);function u(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),E(O(e=i.call(this)),"state",{margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),E(O(e),"onResizeDone",(function(){e.props.updateDimensions(),e.updateTransform()})),E(O(e),"updateTransform",(function(t){var r=e.context.getTranslateX(t),n="translateX(".concat(r,"px) translate3d(0, 0, 0)");e.setState({transform:n})})),e.handleResize=(0,a.default)(e.onResizeDone,h.RESIZE_DEBOUNCE_TIMER,{}).bind(O(e)),e}return t=u,(r=[{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,r=e.height,n=e.columns,o=e.columnGap,i=e.paddingTop,a=e.paddingLeft,u=e.paddingRight,s=e.paddingBottom,c=this.state;return{width:t,height:r,columnGap:o,paddingTop:i,paddingLeft:a,paddingRight:u,paddingBottom:s,margin:c.margin,border:c.border,boxSizing:c.boxSizing,columns:n,columnFill:c.columnFill,transform:c.transform}}},{key:"leafStyles",value:function(e){var t,r=this.props.viewerSettings.transitionSpeed,n={},o=0;return o=this.context.getTranslateX(),"firefox"===l.default.name?("left"===e&&(o*=-1),E(t={},e,"".concat(o,"px")),E(t,"transition","".concat(e," ").concat(r,"ms ease 0s")),n=t):n={transform:"translateX(".concat(o*=-1,"px) translate3d(0, 0, 0)"),transition:"transform ".concat(r,"ms ease 0s")},n}},{key:"render",value:function(){var e=this.props.getFrameHeight(),t=this.props,r=t.spreadIndex,n=t.slug,i=t.layout,a=this.props.userInterface.enableTransitions,u=this.props.viewerSettings,l=u.transition,f=u.transitionSpeed,p=u.paddingLeft,d=u.paddingRight,y="";y=i===h.layouts.SCROLL?"scroll":c.default.isMobile()?"mobile":"desktop";var v=m(m({},{padding:0,margin:0}),{},{minHeight:e}),b=(0,s.default)({transitionSpeed:f})[l],g=m(m({},this.layoutStyles()),b),w=m(m({},this.leafStyles("left")),{},{width:p}),S=m(m({},this.leafStyles("right")),{},{width:d});return a||(g=m(m({},g),{},{transition:"none"}),w=m(m({},w),{},{transition:"none"}),S=m(m({},S),{},{transition:"none"})),o.default.createElement("div",{id:"layout",style:g,className:"spread-index__".concat(r," context__").concat(y," ").concat(n)},o.default.createElement("div",{id:"content",style:v,ref:this.props.innerRef},o.default.createElement(this.props.BookContent,null)),o.default.createElement(x,{layout:i,leafLeftStyles:w,leafRightStyles:S}))}}])&&b(t.prototype,r),n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.Component);E(P,"contextType",d.default),E(P,"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,p.default)((0,f.default)(P)));t.default=k},function(e,t,r){"use strict";var n=r(571);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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 r={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 r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n=r(55);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=function(e){var t,r=e.transitionSpeed;return o(t={},n.transitions.SLIDE,{transition:"transform ".concat(r,"ms ease")}),o(t,n.transitions.FADE,{}),t};t.default=i},function(e,t,r){"use strict";r(28),r(29),r(33),r(37),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(6),r(19),r(575),r(69),r(3),r(7),r(1),r(8),r(2),r(4),r(5);var n=h(r(0)),o=r(38),i=r(59),a=h(r(135)),u=h(r(348)),s=r(93),c=r(179),l=h(r(178)),f=r(27),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==E(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},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(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(180));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(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 r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===E(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 _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){return(E="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||E(e))},P=function(e){var t=null,r=null,d=0,h=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&&b(e,t)}(O,o);var i,p,h,w=g(O);function O(){var e;v(this,O);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return _(S(e=w.call.apply(w,[this].concat(r))),"node",n.default.createRef()),e}return i=O,(p=[{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),(r=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(){r.disconnect()}},{key:"unobserveResizeObserver",value:function(){x(this.node),t.unobserve(this.node.current)}},{key:"unobserveMutationObserver",value:function(){x(this.node),r.disconnect(this.node.current)}},{key:"calculateNodePosition",value:function(){x(this.node);var e,t,r,n,o=this.props.columns,i=document.querySelector(".bber-ultimate"),a=this.props.viewerSettings.paddingLeft;r=this.props.getFrameHeight(),(0,s.isNumeric)(r)||(r=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=(n=i.offsetLeft+i.offsetWidth+a)/(u+a),p=Math.round(10*(f+Number.EPSILON))/10;console.log(n,f,p),t=p-1,console.log("lastSpreadIndex",t)}else{var h=(e=Math.max(this.node.current.scrollHeight,this.node.current.offsetHeight,this.node.current.clientHeight))/r/2,y=Math.round(10*(h+Number.EPSILON))/10;t=Math.ceil(y)-1}(function(e,t,r,n){c.debug&&c.verboseOutput&&(console.group("Layout#connectResizeObserver"),console.log("lastSpreadIndex: %d; contentDimensions: %d; frameHeight %d; columns %d",e,t,r,n),console.groupEnd())})(t=t<0?0:t,e,r,o),d!==e||null==i?(d=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 n.default.createElement(e,y({},this.props,{innerRef:this.node}))}}])&&m(i.prototype,p),h&&m(i,h),Object.defineProperty(i,"prototype",{writable:!1}),O}(n.default.Component);return(0,o.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(p,e)}}))(h)};t.default=P},function(e,t,r){r(11)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(19);var o=p(r(0)),i=r(59),a=r(38),u=p(r(41)),s=r(93),c=r(27),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(349));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(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 r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&("object"===n(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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&y(e,t)}(l,t);var r,n,i,a=v(l);function l(e){var t,r,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=a.call(this,e),r=b(t),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},(n="getWidth")in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.getFrameWidth=t.getFrameWidth.bind(b(t)),t.getFrameHeight=t.getFrameHeight.bind(b(t)),t.getSingleColumnWidth=t.getSingleColumnWidth.bind(b(t)),t.updateDimensions=t.updateDimensions.bind(b(t)),t}return r=l,(n=[{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),r=e?"auto":window.innerHeight,n=e?1:2;this.props.viewerSettingsActions.update({width:t,height:r,columns:n})}},{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,r=t.paddingTop,n=t.paddingBottom;return(0,s.isNumeric)(e)||(e=window.innerHeight),e-=r,e-=n}},{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))}}])&&h(r.prototype,n),i&&h(r,i),Object.defineProperty(r,"prototype",{writable:!1}),l}(o.default.Component);return(0,a.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(l,e)}}))(t)};t.default=w},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(37),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=d(r(0)),i=r(38),a=r(179),u=r(93),s=d(r(41)),c=r(106),l=d(r(350)),f=r(27),p=["viewerSettings","readerSettings","markers"];function d(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(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 r,n=E(e);if(t){var o=E(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){if(t&&("object"===n(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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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&&w(e,t)}(d,e);var t,r,n,i=S(d);function d(){var e;b(this,d);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return x(_(e=i.call.apply(i,[this].concat(r))),"state",{left:"0px",spreadPosition:0,recto:!1,verso:!1,elementEdgeLeft:0,unbound:!1}),x(_(e),"calculateSpreadOffset",(function(){var t=e.props.viewerSettings.height,r=e.props.viewerSettings,n=r.paddingTop+r.paddingBottom;t=(0,u.isNumeric)(t)?2*t-2*n:t,(0,u.isNumeric)(t)&&(t-=1),e.updateChildElementPositions()})),x(_(e),"updateChildElementPositions",(function(){var t=e.props["data-marker-reference"],r=e.props.markers[t];if(!r)return console.error("Cannot update child positions: No marker");var n=r.elementEdgeLeft,o=r.unbound,i=window.innerWidth,a=e.props.viewerSettings,u=i-a.paddingLeft-a.paddingRight+a.columnGap,c=Math.ceil(n/u),l=e.props.readerSettings.layout,p=0;s.default.isMobile()||l===f.layouts.SCROLL||(p=u*c,o&&(p=0)),p="".concat(p,"px"),e.setState({left:p,spreadPosition:c})})),e}return t=d,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker-reference"],r=e.markers[t];if(r){var n=r.recto,o=r.verso,i=r.elementEdgeLeft,a=r.unbound;n===this.state.recto&&o===this.state.verso&&i===this.state.elementEdgeLeft&&a===this.state.unbound||this.setState({recto:n,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"],r=this.props.markers[t];if(!r)return null;var n=this.state.spreadPosition,i=r.recto,u=r.unbound,s=this.props.viewerSettings.paddingLeft,f=this.props.readerSettings.layout,d=this.props,y=(d.viewerSettings,d.readerSettings,d.markers,m(d,p)),b={};return a.debug&&(b=v(v({},b),{background:"blue"})),o.default.createElement("div",h({},y,{id:"spread__".concat(t),style:b}),o.default.createElement(c.SpreadImageStyles,{recto:i,markerRefId:t,spreadPosition:n,paddingLeft:s,unbound:u,layout:f}),o.default.createElement(l.default.Provider,{value:{left:e,layout:f}},this.props.children))}}])&&g(t.prototype,r),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.default.Component),k=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,markers:e.markers}}),(function(){return{}}))(P);t.default=k},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(17),r(3),r(30),r(14),r(16),r(35),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28),r(29);var o=d(r(0)),i=r(38),a=r(59),u=r(93),s=d(r(41)),c=d(r(181)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(618)),f=r(27);d(r(178));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(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 r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===n(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)}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&&b(e,t)}(a,e);var t,r,n,i=g(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(t=i.call(this,e)).props["data-marker"];return r&&t.props.markerActions.update({recto:!1,verso:!1,elementEdgeLeft:0,markerId:r,unbound:!1}),t.calculateOffsetHeight=t.calculateOffsetHeight.bind(S(t)),t}return t=a,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker"],r=e.recto,n=e.verso,o=e.elementEdgeLeft;!t||r===this.props.recto&&n===this.props.verso&&o===this.props.elementEdgeLeft||this.props.markerActions.update({markerId:t,recto:r,verso:n,elementEdgeLeft:o})}},{key:"componentDidUpdate",value:function(){var e=JSON.parse(this.props["data-unbound"]||"false"),t=this.props["data-marker"],r=this.props.markers[t],n=this.props,o=n.verso,i=n.recto;!r||i===r.recto&&o===r.verso&&e===r.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 r=this.props.elemRef.current,n=this.props,o=n.verso,i=n.recto,a=this.props.viewerSettings,c=a.paddingTop,l=a.paddingBottom,p=(a.fontSize,this.props.viewerSettings.height),d=p-c-l,h=JSON.parse(this.props["data-unbound"]||"false"),y=JSON.parse(this.props["data-adjacent"]||"false");(0,u.isNumeric)(p)||(p=0),o&&(y?(t+=d,t+=d,t-=r.offsetHeight):(t+=d,t+=d,t-=r.offsetHeight,t-=Math.round(r.getBoundingClientRect().bottom-c),h||(t+=d,t+=d))),i&&(y?(t+=d,t+=d,t-=r.offsetHeight):(t+=d,t+=d,t-=r.offsetHeight,t+=d,t-=Math.round(r.getBoundingClientRect().top),t+=c)),t=Math.floor(t);var v=parseFloat(window.getComputedStyle(r).fontSize);return t-=Math.floor(1.5*v)}},{key:"render",value:function(){var e=this.props,t=e.verso,r=e.recto,n={height:this.calculateOffsetHeight(),display:"block"},i=y({},this.props.style);return o.default.createElement("span",null,o.default.createElement("span",{"data-verso":t,"data-recto":r,"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:n}))}}])&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component),E=(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=E},function(e,t,r){var n=r(354),o=r(229),i=r(136);e.exports=function(e){return function(t,r,a){var u=Object(t);if(!o(t)){var s=n(r,3);t=i(t),r=function(e){return s(u[e],e,u)}}var c=e(t,r,a);return c>-1?u[s?t[c]:c]:void 0}}},function(e,t,r){var n=r(581),o=r(607),i=r(364);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(221),o=r(355);e.exports=function(e,t,r,i){var a=r.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=r[a])[0],f=e[l],p=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},function(e,t,r){var n=r(172);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r){var n=r(172),o=r(215),i=r(214);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(221),o=r(356),i=r(593),a=r(596),u=r(183),s=r(56),c=r(224),l=r(362),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,h,y){var v=s(e),m=s(t),b=v?"[object Array]":u(e),g=m?"[object Array]":u(t),w=(b="[object Arguments]"==b?f:b)==f,S=(g="[object Arguments]"==g?f:g)==f,O=b==g;if(O&&c(e)){if(!c(t))return!1;v=!0,w=!1}if(O&&!w)return y||(y=new n),v||l(e)?o(e,t,r,d,h,y):i(e,t,b,r,d,h,y);if(!(1&r)){var _=w&&p.call(e,"__wrapped__"),E=S&&p.call(t,"__wrapped__");if(_||E){var x=_?e.value():e,P=E?t.value():t;return y||(y=new n),h(x,P,r,d,y)}}return!!O&&(y||(y=new n),a(e,t,r,d,h,y))}},function(e,t,r){var n=r(214),o=r(589),i=r(590);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)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 r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(104),o=r(357),i=r(174),a=r(356),u=r(594),s=r(595),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){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 d=u;case"[object Set]":var h=1&n;if(d||(d=s),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},function(e,t,r){var n=r(358),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var s=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!s)return!1;for(var f=l;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=s;++f<l;){var m=e[p=c[f]],b=t[p];if(i)var g=s?i(b,m,p,t,e,u):i(m,b,p,e,t,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(103),o=r(217),i=r(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[n(e)]}},function(e,t,r){var n=r(228),o=r(602),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(325)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(94)(r(55),"DataView");e.exports=n},function(e,t,r){var n=r(94)(r(55),"Promise");e.exports=n},function(e,t,r){var n=r(94)(r(55),"Set");e.exports=n},function(e,t,r){var n=r(94)(r(55),"WeakMap");e.exports=n},function(e,t,r){var n=r(363),o=r(136);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},function(e,t,r){var n=r(355),o=r(609),i=r(610),a=r(213),u=r(363),s=r(364),c=r(134);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},function(e,t,r){var n=r(230);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(611),o=r(340);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(613),o=r(614),i=r(213),a=r(134);e.exports=function(e){return i(e)?n(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(230);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,r){var n=r(218);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaSmall=t.mediaLarge=void 0;var n=r(179);t.mediaLarge=function(){return[{selector:".figure__fullbleed figure,\n .spread .spread__content",declarations:["opacity: ".concat(n.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(n.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(n.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,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},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(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.update=function(e){return{type:o.UPDATE,payload:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(109),r(3),r(7),r(8),r(110),r(111),r(112),r(113),r(16),r(6),r(26),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(370),r(2),r(1),r(4),r(5),r(88),r(69);var o=j(r(0)),i=r(59),a=r(38),u=P(r(182)),s=P(r(135)),c=P(r(634)),l=r(106),f=P(r(90)),p=P(r(66)),d=P(r(635)),h=P(r(95)),y=P(r(41)),v=r(57),m=r(27),b=j(r(180)),g=j(r(349)),w=j(r(373)),S=j(r(204)),O=j(r(219)),_=r(639),E=r(640),x=r(641);function P(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(k=function(e){return e?r:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=k(t);if(r&&r.has(e))return r.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,r&&r.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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(x([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.prototype=p.prototype=Object.create(y);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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 r=e.iterator[t.method];if(void 0===r){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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(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 x(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(b),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,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=x,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(_),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:x(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function A(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L(e,t){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(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 r,n=N(e);if(t){var o=N(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return I(this,r)}}function I(e,t){if(t&&("object"===n(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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(){return o.default.createElement("div",{key:"book-content"},x.book.content)}var F=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)}(b,e);var t,r,n,i,a,d=R(b);function b(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),D(M(t=d.call(this,e)),"closeSidebars",(function(){return t.setState({showSidebar:null})})),D(M(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})})),D(M(t),"handleSidebarButtonClick",(function(e){var r=t.state.showSidebar;r=e===r?null:e,t.setState({showSidebar:r})})),D(M(t),"getTranslateX",(function(e){var r=(0,v.unlessDefined)(e,t.state.spreadIndex),n=t.props.viewerSettings,o=n.width,i=n.paddingLeft,a=n.paddingRight,u=n.columnGap,s=0;return t.props.readerSettings.layout===m.layouts.SCROLL||y.default.isMobile()||(s=0===(s=(o-i-a+u)*r*-1)&&-1===Math.sign(1/s)?0:s),s})),D(M(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=_.handlePageNavigation.bind(M(t)),t.handleChapterNavigation=_.handleChapterNavigation.bind(M(t)),t.navigateToSpreadByIndex=_.navigateToSpreadByIndex.bind(M(t)),t.navigateToElementById=_.navigateToElementById.bind(M(t)),t.navigateToChapterByURL=_.navigateToChapterByURL.bind(M(t)),t.updateQueryString=_.updateQueryString.bind(M(t)),t.savePosition=_.savePosition.bind(M(t)),t.debounceResizeSpeed=400,t.resizeEndTimer=null,t.bindResizeHandlers=E.bindResizeHandlers.bind(M(t)),t.unbindResizeHandlers=E.unbindResizeHandlers.bind(M(t)),t.handleResize=E.handleResize.bind(M(t)),t.handleResizeStart=E.handleResizeStart.bind(M(t)),t.handleResizeEnd=E.handleResizeEnd.bind(M(t)),t.handleResizeStart=(0,s.default)(t.handleResizeStart,t.debounceResizeSpeed,{leading:!0,trailing:!1}).bind(M(t)),t.handleResizeEnd=(0,s.default)(t.handleResizeEnd,t.debounceResizeSpeed,{leading:!1,trailing:!0}).bind(M(t)),t.createStateFromOPF=x.createStateFromOPF.bind(M(t)),t.showSpineItem=x.showSpineItem.bind(M(t)),t.loadSpineItem=x.loadSpineItem.bind(M(t)),t}return t=b,(r=[{key:"UNSAFE_componentWillMount",value:(i=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,r=t.props,n=r.readerSettings,o=r.readerLocation,i=new URLSearchParams(o.searchParams),a=Number(i.get(n.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)})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){A(o,r,n,a,u,"next",e)}function u(e){A(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.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,r=t.loaded,n=t.lastSpreadIndex,o=t.pendingDeferredCallbacks,i=this.props.readerLocation.searchParams,a=e.readerLocation.searchParams;if(a!==i){var s=p.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]),d=p.default.parseQueryString(i)[this.props.readerSettings.searchParamKeys.slug];if(d&&c&&d!==c){var h=(0,u.default)(this.state.spine,{slug:c});return void this.loadSpineItem(h)}this.setState({slug:c,currentSpineItemIndex:l,spreadIndex:f})}r&&-1!==n&&!0===o&&this.props.requestDeferredCallbackExecution()}},{key:"getSlug",value:function(){var e,t=this.state,r=t.spine,n=t.currentSpineItemIndex;return(0,c.default)(n)&&null!=r&&null!==(e=r[n])&&void 0!==e&&e.slug?r[n].slug:""}},{key:"render",value:function(){var e=this.props,t=e.downloads,r=e.uiOptions,n=e.view,i=e.layout,a=e.style,u=e.className,s=this.state,c=s.metadata,f=s.guide,p=s.spine,d=s.currentSpineItemIndex,y=s.showSidebar,v=s.lastSpread,m=s.spreadIndex,b=this.getSlug();return o.default.createElement(l.Controls,{guide:f,spine:p,currentSpineItemIndex:d,metadata:c,showSidebar:y,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,handlePageNavigation:this.handlePageNavigation,destroyReaderComponent:this.destroyReaderComponent,handleChapterNavigation:this.handleChapterNavigation,handleSidebarButtonClick:this.handleSidebarButtonClick,navigateToChapterByURL:this.navigateToChapterByURL,downloads:t,uiOptions:r,layout:i},o.default.createElement(h.default.Provider,{value:{lastSpread:v,spreadIndex:m,getTranslateX:this.getTranslateX,navigateToChapterByURL:this.navigateToChapterByURL}},o.default.createElement(l.Frame,{slug:b,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,BookContent:U,layout:i,view:n,style:a,className:u})),o.default.createElement(l.Spinner,null))}}])&&C(t.prototype,r),n&&C(t,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(o.Component),B=(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)(S,e),viewActions:(0,i.bindActionCreators)(b,e),userInterfaceActions:(0,i.bindActionCreators)(O,e)}}))((0,d.default)(F));t.default=B},function(e,t,r){"use strict";var n,o,i,a=r(11),u=r(62),s=r(231),c=r(13),l=r(20),f=r(40),p=r(86),d=r(54),h=r(163),y=r(53),v=r(21),m=r(24),b=r(78),g=r(165),w=r(184).set,S=r(621),O=r(624),_=r(232),E=r(625),x=r(44),P=r(137),k=r(138),j=r(139),T=k.CONSTRUCTOR,A=k.REJECTION_EVENT,C=k.SUBCLASSING,L=x.getterFor("Promise"),R=x.set,I=P&&P.prototype,M=P,N=I,D=c.TypeError,U=c.document,F=c.process,B=j.f,q=B,W=!!(U&&U.createEvent&&c.dispatchEvent),z=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},H=function(e,t){var r,n,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?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===e.promise?c(D("Promise-chain cycle")):(n=z(r))?l(n,r,s,c):s(r)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},V=function(e,t){e.notified||(e.notified=!0,S((function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},G=function(e,t,r){var n,o;W?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!A&&(o=c["on"+e])?o(n):"unhandledrejection"===e&&O("Unhandled promise rejection",r)},K=function(e){l(w,c,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=_((function(){s?F.emit("unhandledRejection",n,r):G("unhandledrejection",r,n)})),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)}))},X=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,V(e,!0))},Z=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw D("Promise can't be resolved itself");var n=z(t);n?S((function(){var r={done:!1};try{l(n,t,X(Z,r,e),X(Q,r,e))}catch(t){Q(r,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){Q({done:!1},t,e)}}};if(T&&(N=(M=function(e){b(this,N),y(e),l(n,this);var t=L(this);try{e(X(Z,t),X(Q,t))}catch(e){Q(t,e)}}).prototype,(n=function(e){R(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(N,"then",(function(e,t){var r=L(this),n=B(g(this,M));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=s?F.domain:void 0,0==r.state?r.reactions.add(n):S((function(){H(n,r)})),n.promise})),o=function(){var e=new n,t=L(e);this.promise=e,this.resolve=X(Z,t),this.reject=X(Q,t)},j.f=B=function(e){return e===M||void 0===e?new o(e):q(e)},!u&&v(P)&&I!==Object.prototype)){i=I.then,C||f(I,"then",(function(e,t){var r=this;return new M((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}p&&p(I,N)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:M}),d(M,"Promise",!1,!0),h("Promise")},function(e,t,r){var n,o,i,a,u,s,c,l,f=r(13),p=r(68),d=r(71).f,h=r(184).set,y=r(368),v=r(622),m=r(623),b=r(231),g=f.MutationObserver||f.WebKitMutationObserver,w=f.document,S=f.process,O=f.Promise,_=d(f,"queueMicrotask"),E=_&&_.value;E||(n=function(){var e,t;for(b&&(e=S.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()},y||b||m||!g||!w?!v&&O&&O.resolve?((c=O.resolve(void 0)).constructor=O,l=p(c.then,c),a=function(){l(n)}):b?a=function(){S.nextTick(n)}:(h=p(h,f),a=function(){h(n)}):(u=!0,s=w.createTextNode(""),new g(n).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,r){var n=r(73),o=r(13);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},function(e,t,r){var n=r(73);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t,r){var n=r(13);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},function(e,t){var r=function(){this.head=null,this.tail=null};r.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=r},function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},function(e,t,r){"use strict";var n=r(11),o=r(20),i=r(53),a=r(139),u=r(232),s=r(128);n({target:"Promise",stat:!0,forced:r(369)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=u((function(){var r=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(r,t,e).then((function(e){s||(s=!0,a[i]=e,--l||n(a))}),c)})),--l||n(a)}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(62),i=r(138).CONSTRUCTOR,a=r(137),u=r(50),s=r(21),c=r(40),l=a&&a.prototype;if(n({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,r){"use strict";var n=r(11),o=r(20),i=r(53),a=r(139),u=r(232),s=r(128);n({target:"Promise",stat:!0,forced:r(369)},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(20),i=r(139);n({target:"Promise",stat:!0,forced:r(138).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},function(e,t,r){"use strict";var n=r(11),o=r(50),i=r(62),a=r(137),u=r(138).CONSTRUCTOR,s=r(632),c=o("Promise"),l=i&&!u;n({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},function(e,t,r){var n=r(31),o=r(24),i=r(139);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.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,r){var n=r(367);e.exports=function(e){return"number"==typeof e&&e==n(e)}},function(e,t,r){"use strict";(function(e){function n(e){return(n="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)}r(28),r(29),r(33),r(37),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(636),r(1),r(16);var o=p(r(0)),i=r(59),a=r(38),u=p(r(135)),s=p(r(107)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(180)),l=r(27);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=function(t){var r=[],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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(p,n);var i,a,c,f=m(p);function p(){var t;h(this,p);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return S(g(t=f.call.apply(f,[this].concat(o))),"registerDeferredCallback",(function(e){if(!e)throw new Error("No callback provided");r.push(e),t.props.viewActions.queueDeferredCallbacks()})),S(g(t),"deRegisterDeferredCallback",(function(){r=[],e((function(){return t.props.viewActions.dequeueDeferredCallbacks()}))})),S(g(t),"requestDeferredCallbackExecution",(0,u.default)((function(){return s.default.sendDeferredEvent(),t.callDeferred()}),l.DEFERRED_CALLBACK_TIMER,{leading:!1,trailing:!0})),S(g(t),"callDeferred",(function(){r.forEach((function(e){return e()})),t.deRegisterDeferredCallback()})),t}return i=p,(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))}}])&&y(i.prototype,a),c&&y(i,c),Object.defineProperty(i,"prototype",{writable:!1}),p}(o.default.Component);return(0,a.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(c,e)}}))(n)};t.default=O}).call(this,r(371).setImmediate)},function(e,t,r){r(637),r(638)},function(e,t,r){var n=r(11),o=r(13),i=r(184).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,r){var n=r(11),o=r(13),i=r(184).set;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleChapterNavigation=function(e){var t=this,r=this.state.currentSpineItemIndex,n=this.state.spine,o=r+e,i=o<0,a=o>n.length-1;if(i||a)return void this.setState({firstChapter:i,lastChapter:a},(function(){return u.default.sendPaginationEvent(t.state)}));r=o;var s=n[o],c=function(e){return function(){var o=t.props.view.lastSpreadIndex,s=0===o,c=e;a=r===n.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:r,showSidebar:null,firstChapter:i,lastChapter:a},(function(){t.loadSpineItem(s,c),t.savePosition()}))},t.handlePageNavigation=function(e){var t=this,r=this.state.spreadIndex,n=this.props.view.lastSpreadIndex,o=r+e;if(o>n||o<0){var i=Math.sign(e);return void this.handleChapterNavigation(i)}var a=0===o,s=o===n,c=o>r?1:-1;r=o,this.setState({spreadIndex:r,firstSpread:a,lastSpread:s,spreadDelta:c,showSidebar:null},(function(){t.updateQueryString(),u.default.sendPaginationEvent(t.state)}))},t.navigateToChapterByURL=function(e){var t,r=this,o=this.state.spine,i=new window.URL(e),a="".concat(i.origin).concat(i.pathname),u=i.hash;u&&(t=function(){r.navigateToElementById(u),r.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})});var s=(0,n.default)(o,{absoluteURL:a});if(s===this.state.currentSpineItemIndex)return this.closeSidebars();if(s<0)return void console.warn("No spine item found for ".concat(a));var c=o[s];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:c,currentSpineItemIndex:s,spreadIndex:0},(function(){r.loadSpineItem(c,t),r.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 r=document.querySelector(".bber-controls__header").offsetHeight+25,n=t.offsetTop-r;document.getElementById("frame").scrollTo(0,n)}var i=this.props.viewerSettings,u=i.paddingTop,s=i.paddingBottom,c=i.columnGap,l=window.innerHeight,f=Math.round(l-u-s),p=t.offsetLeft-c,d=Math.floor(p/f/2);this.setState({spreadIndex:d},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){var e=this.state,t=e.currentSpineItemIndex,r=e.spreadIndex,n=this.props.readerSettings.searchParamKeys,o=new URLSearchParams;o.set(n.currentSpineItemIndex,t),o.set(n.spreadIndex,r);var i={searchParams:o.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){var t=this.state,r=t.spreadIndex,n=t.currentSpineItem,o=t.currentSpineItemIndex,a=n.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(r));var c={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(c),e&&e()},r(370),r(2),r(1),r(4),r(5),r(164),r(88),r(32),r(87);var n=s(r(366)),o=r(27),i=s(r(66)),a=s(r(41)),u=s(r(107));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"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)return;var e=new n.ViewerSettings;this.props.viewerSettingsActions.update(e.get())},t.handleResizeEnd=function(){var e=this;if(this.state.disableMobileResizeEvents)return;var t=this.state,r=t.spreadIndex,n=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=r*n;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)return;var t=this.state.spreadIndex,r=this.props.view.lastSpreadIndex,n=0;t>0&&r>0&&(n=t/r);this.setState({relativeSpreadPosition:n},(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 n=r(133)},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(16),r(35),r(110),r(111),r(112),r(113),r(29),r(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,r=t.spine,n=t.spreadIndex,o=t.currentSpineItemIndex,i=this.props.view.lastSpreadIndex,a=0===o,u=o===r.length-1,c=0===n,l=n===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)}))},r(1),r(109),r(2),r(4),r(5);var o=c(r(90)),i=c(r(185)),a=c(r(168)),u=c(r(661)),s=c(r(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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(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,p=l.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.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,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,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,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){v(i,n,o,a,u,"next",e)}function u(e){v(i,n,o,a,u,"throw",e)}a(void 0)}))}}var b={content:null};function g(){return(g=m(l().mark((function e(t){var r,n,o,a,s,c,f,d,y,v;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.readerSettings.bookURL,n=u.default.opfURL(r),o=u.default.opsURL(r),e.next=5,i.default.get(n);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,d=h(f,2),s=d[0],c=d[1],a=p(p({},s),c),e.next=21,Promise.all([u.default.udpateGuideItemURLs(a,o),u.default.udpateSpineItemURLs(a,o)]);case 21:return y=e.sent,v=h(y,2),s=v[0],c=v[1],a=p(p({},s),c),e.next=28,u.default.createBookMetadata(a);case 28:a=e.sent,this.setState(p({opsURL:o},a),t);case 30:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function w(){return(w=m(l().mark((function e(t,r){var n,s,c,f,p,d,y,v,m,g,w,S,O,_,E=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.default.createHash(this.props.readerSettings.bookURL),(s=t)||(c=h(this.state.spine,1),s=c[0]),this.freeze(),e.prev=4,p=this.state,d=p.cache,y=p.opsURL,e.next=8,i.default.get(s.absoluteURL);case 8:return v=e.sent,m=v.data,g=v.request,e.next=13,u.default.parseSpineItemResponse({data:m,hash:n,cache:d,opsURL:y,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()||{})[n],a.default.set(w),e.abrupt("return");case 23:O=(S=f).bookContent,_=S.scopedCSS,b.content=O,o.default.appendBookStyles(_,n),this.setState({currentSpineItem:s,spineItemURL:s.absoluteURL},(function(){return E.updateQueryString((function(){return E.props.registerDeferredCallback(r||E.showSpineItem)}))}));case 27:case"end":return e.stop()}}),e,this,[[4,16]])})))).apply(this,arguments)}t.book=b},function(e,t,r){e.exports=r(643)},function(e,t,r){"use strict";var n=r(51),o=r(374),i=r(644),a=r(380);function u(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=u(r(233));s.Axios=i,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=r(381),s.CancelToken=r(658),s.isCancel=r(379),s.all=function(e){return Promise.all(e)},s.spread=r(659),s.isAxiosError=r(660),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(51),o=r(375),i=r(645),a=r(646),u=r(380),s=r(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 r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var l=[a,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;r.length;){var p=r.shift(),d=r.shift();try{f=p(f)}catch(e){d(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(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(u(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(u(n||{},{method:e,url:t,data:r}))}})),e.exports=l},function(e,t,r){"use strict";var n=r(51);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(51),o=r(647),i=r(379),a=r(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=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.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,r){"use strict";var n=r(51),o=r(233);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},function(e,t,r){"use strict";var n=r(51);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(378);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(51);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.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,r){"use strict";var n=r(652),o=r(653);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(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,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(51);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(657),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=n.version.split(".");function u(e,t){for(var r=t?t.split("."):a,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}o.transitional=function(e,t,r){var o=t&&u(t);function a(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,u){if(!1===e)throw new Error(a(n," has been removed in "+t));return o&&!i[n]&&(i[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,u)}},e.exports={isOlderVersion:u,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[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!==r)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,r){"use strict";var n=r(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 r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.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,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(14),r(35),r(7),r(8),r(110),r(111),r(112),r(113),r(29),r(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(109),r(6),r(47),r(19),r(80),r(30),r(16),r(26),r(17),r(92),r(212),r(36),r(4),r(32),r(2),r(5);var o=b(r(662)),i=b(r(169)),a=r(389),u=b(r(182)),s=r(733),c=b(r(775)),l=b(r(798)),f=b(r(803)),p=b(r(66)),d=b(r(185)),h=b(r(814)),y=r(133),v=r(815),m=b(r(816));function b(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,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.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 S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(b),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function w(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n,b,S;return t=e,r=null,n=[{key:"opfURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",t=window.encodeURI(t)}},{key:"opsURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t=window.encodeURI(t)}},{key:"parseOPF",value:function(e){return new Promise((function(t){for(var r=JSON.parse(o.default.xml2json(e.data)).elements[0].elements,n={},i=0;i<r.length;i++)n["__".concat(r[i].name)]=r[i];t(n)}))}},{key:"parseNCX",value:function(e,t){var r=e.__manifest,n=e.__spine;return new Promise((function(i){var a=n.attributes.toc;if(a){var s=(0,u.default)(r.elements,(function(e){return e.attributes.id===a}));if(s){var c=s.attributes.href;d.default.get(p.default.resolveRelativeURL(t,c)).then((function(t){var r=t.data;i(O(O({},e),{},{__ncx:JSON.parse(o.default.xml2json(r))}))}))}else i(O(O({},e),{},{__ncx:null}))}else i(O(O({},e),{},{__ncx:null}))}))}},{key:"createSpineItems",value:function(t){var r=t.__manifest,n=t.__spine,o=t.__ncx,i=t.__guide;return new Promise((function(a){var s;if(s=(s=n.elements.map((function(e){var t=e.attributes,n=t.idref,o=t.linear,a=(0,u.default)(r.elements,(function(e){return e.attributes.id===n}));if(!a||"yes"!==o)return null;var s=a.attributes,c=s.id,l=s.href,f=a.attributes["media-type"],d=a.attributes.properties?a.attributes.properties.split(" "):[],h=(0,u.default)(i.elements,(function(e){return e.attributes.href===l})),v="",m="";return h&&(v=h.attributes.title,m=p.default.slug(v)),new y.SpineItem({id:c,href:l,mediaType:f,properties:d,idref:n,linear:o,title:v,slug:m})}))).filter(Boolean),o){var c=o.elements[0].elements;(0,u.default)(c,{name:"navMap"}).elements.forEach((function(t){return e.parseNavPoints(s,r,t)}))}a(O(O({},t),{},{spine:s}))}))}},{key:"createGuideItems",value:function(e){var t=e.__guide;return new Promise((function(r){if(t.elements&&t.elements.length){var n=t.elements.map((function(e){var t=e.attributes,r=t.type,n=t.title,o=t.href;return new y.GuideItem({type:r,title:n,href:o})}));r(O(O({},e),{},{guide:n}))}else r(O(O({},e),{},{guide:[]}))}))}},{key:"udpateSpineItemURLs",value:function(e,t){return new Promise((function(r){var n=e.spine;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{spine:n}))}))}},{key:"udpateGuideItemURLs",value:function(e,t){return new Promise((function(r){var n=e.guide;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{guide:n}))}))}},{key:"parseNavPoints",value:function(t,r,n){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)(n.elements,{name:"content"});if(a){var s=a.attributes.src;s=p.default.ensureDecodedURL(s);var c=(0,u.default)(r.elements,(function(e){return p.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 d=(0,u.default)(n.elements,{name:"navLabel"}),h=(0,u.default)(d.elements,{name:"text"}),y=(0,u.default)(h.elements,{type:"text"}).text,v=p.default.slug(y);f.title||f.set("title",y),f.slug||f.set("slug",v),f.set("depth",o),f.set("inTOC",!0),i&&i.addChild(f);var m=o+1;n.elements.forEach((function(n){return e.parseNavPoints(t,r,n,m,f)}))}}},{key:"createBookMetadata",value:function(e){var t=e.__metadata.elements.filter((function(e){return/^dc:/.test(e.name)})).map((function(e){return _({},e.name.slice(3),e.elements[0].text)}));return new Promise((function(r){var n=new y.BookMetadata({});t.forEach((function(e,r){var o=Object.keys(t[r]);(0,i.default)(n,o)&&n.set(o,e[o])})),r(O(O({},e),{},{metadata:n}))}))}},{key:"createScopedCSS",value:function(e,t,r){var n="";return e.forEach((function(e){var o=e.base,i=e.data,a=p.default.resolveRelativeURL(r,o),u=(0,c.default)(i);(0,l.default)(u,{enter:function(e,r,n){var o,i=s.List.createItem({name:t,type:"ClassSelector"}),u=s.List.createItem({type:"WhiteSpace",value:" "});n&&"TypeSelector"===e.type&&"html"===e.name&&(e.name=t,e.type="ClassSelector"),n&&"TypeSelector"===e.type&&"body"===e.name&&(e.name="content",e.type="IdSelector"),!n||e.name===t||n.head.data.name===t||"TypeSelector"!==e.type&&"IdSelector"!==e.type&&"ClassSelector"!==e.type&&"AttributeSelector"!==e.type||(n.prepend(u),n.prepend(i)),"Url"===e.type&&(o=e.value.replace(/(?:^['"]+|['"]+$)/g,""),p.default.isRelative(o)&&(o=p.default.resolveRelativeURL(a,o),e.value=o))}}),n+=(0,f.default)(u)})),n}},{key:"parseSpineItemResponse",value:(b=g().mark((function t(r){var n,o,i,u,s,c,l,f,y,b,w,S,O,_,E,x,P,k,j,T,A,C;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.request.responseURL,o=r.hash,i=r.opsURL,u=r.paddingLeft,s=r.columnGap,c=r.cache,l=new a.Parser,f=new m.default({paddingLeft:u,columnGap:s,responseURL:n}),y=f.parseXML(r.data),b=y.xml,w=y.doc,S=/<body[^>]*?>([\s\S]*)<\/body>/,O=(O=(O=b.match(S))[1]).replace(/>\s*?</g,"><"),_=l.parseWithInstructions(O,v.isValidNode,(0,v.processingInstructions)(r)),E=Array.from(w.querySelectorAll("link")),x=Array.from(w.querySelectorAll("style")),P=E.reduce((function(e,t){if("stylesheet"!==t.rel)return e;var r=p.default.trimFilenameFromResponse(n),o=p.default.trimSlashes(t.getAttribute("href")),i=p.default.resolveRelativeURL(r,o);return e.concat({url:i,base:r})}),[]),k=P.map((function(e){var t=e.url,r=e.base;return new Promise((function(e){d.default.get(t).then((function(n){c&&(console.log("No CSS cache - setting cache for %s",t),h.default.set(t,n.data)),e({base:r,data:n.data})}))}))})),t.next=16,Promise.all(k);case 16:return j=t.sent,T=x.reduce((function(e,t){var r=t.textContent;if(!r)return e;var o=p.default.trimFilenameFromResponse(n);return e.concat({base:o,data:r})}),j),A="_".concat(o),C=e.createScopedCSS(T,A,i),t.abrupt("return",{bookContent:_,scopedCSS:C});case 21:case"end":return t.stop()}}),t)})),S=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=b.apply(e,t);function i(e){w(o,r,n,i,a,"next",e)}function a(e){w(o,r,n,i,a,"throw",e)}i(void 0)}))},function(e){return S.apply(this,arguments)})}],r&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=x},function(e,t,r){var n=r(382),o=r(677),i=r(388),a=r(678);e.exports={xml2js:n,xml2json:o,js2xml:i,json2xml:a}},function(e,t,r){(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 n,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,r){if(!(this instanceof i))return new i(e,r);!function(e){for(var t=0,r=o.length;t<r;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=r||{},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=O.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),E(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 r in e)e.hasOwnProperty(r)&&t.push(r);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());var r=0,n="";for(;n=U(e,r++),this.c=n,n;)switch(this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++),this.state){case O.BEGIN:if(this.state=O.BEGIN_WHITESPACE,"\ufeff"===n)continue;D(this,n);continue;case O.BEGIN_WHITESPACE:D(this,n);continue;case O.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=r-1;n&&"<"!==n&&"&"!==n;)(n=U(e,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,r-1)}"<"!==n||this.sawRoot&&this.closedRoot&&!this.strict?(h(n)||this.sawRoot&&!this.closedRoot||A(this,"Text data outside of root node."),"&"===n?this.state=O.TEXT_ENTITY:this.textNode+=n):(this.state=O.OPEN_WAKA,this.startTagPosition=this.position);continue;case O.SCRIPT:"<"===n?this.state=O.SCRIPT_ENDING:this.script+=n;continue;case O.SCRIPT_ENDING:"/"===n?this.state=O.CLOSE_TAG:(this.script+="<"+n,this.state=O.SCRIPT);continue;case O.OPEN_WAKA:if("!"===n)this.state=O.SGML_DECL,this.sgmlDecl="";else if(h(n));else if(m(l,n))this.state=O.OPEN_TAG,this.tagName=n;else if("/"===n)this.state=O.CLOSE_TAG,this.tagName="";else if("?"===n)this.state=O.PROC_INST,this.procInstName=this.procInstBody="";else{if(A(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;n=new Array(a).join(" ")+n}this.textNode+="<"+n,this.state=O.TEXT}continue;case O.SGML_DECL:"[CDATA["===(this.sgmlDecl+n).toUpperCase()?(x(this,"onopencdata"),this.state=O.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+n==="--"?(this.state=O.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+n).toUpperCase()?(this.state=O.DOCTYPE,(this.doctype||this.sawRoot)&&A(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===n?(x(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=O.TEXT):y(n)?(this.state=O.SGML_DECL_QUOTED,this.sgmlDecl+=n):this.sgmlDecl+=n;continue;case O.SGML_DECL_QUOTED:n===this.q&&(this.state=O.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case O.DOCTYPE:">"===n?(this.state=O.TEXT,x(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=O.DOCTYPE_DTD:y(n)&&(this.state=O.DOCTYPE_QUOTED,this.q=n));continue;case O.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:this.doctype+=n,"]"===n?this.state=O.DOCTYPE:y(n)&&(this.state=O.DOCTYPE_DTD_QUOTED,this.q=n);continue;case O.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=O.DOCTYPE_DTD,this.q="");continue;case O.COMMENT:"-"===n?this.state=O.COMMENT_ENDING:this.comment+=n;continue;case O.COMMENT_ENDING:"-"===n?(this.state=O.COMMENT_ENDED,this.comment=k(this.opt,this.comment),this.comment&&x(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=O.COMMENT);continue;case O.COMMENT_ENDED:">"!==n?(A(this,"Malformed comment"),this.comment+="--"+n,this.state=O.COMMENT):this.state=O.TEXT;continue;case O.CDATA:"]"===n?this.state=O.CDATA_ENDING:this.cdata+=n;continue;case O.CDATA_ENDING:"]"===n?this.state=O.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=O.CDATA);continue;case O.CDATA_ENDING_2:">"===n?(this.cdata&&x(this,"oncdata",this.cdata),x(this,"onclosecdata"),this.cdata="",this.state=O.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=O.CDATA);continue;case O.PROC_INST:"?"===n?this.state=O.PROC_INST_ENDING:h(n)?this.state=O.PROC_INST_BODY:this.procInstName+=n;continue;case O.PROC_INST_BODY:if(!this.procInstBody&&h(n))continue;"?"===n?this.state=O.PROC_INST_ENDING:this.procInstBody+=n;continue;case O.PROC_INST_ENDING:">"===n?(x(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=O.TEXT):(this.procInstBody+="?"+n,this.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:m(f,n)?this.tagName+=n:(C(this),">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:(h(n)||A(this,"Invalid character in tag name"),this.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:">"===n?(I(this,!0),M(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=O.ATTRIB);continue;case O.ATTRIB:if(h(n))continue;">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME:"="===n?this.state=O.ATTRIB_VALUE:">"===n?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(n)?this.state=O.ATTRIB_NAME_SAW_WHITE:m(f,n)?this.attribName+=n:A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if("="===n)this.state=O.ATTRIB_VALUE;else{if(h(n))continue;A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",x(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?I(this):m(l,n)?(this.attribName=n,this.state=O.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(h(n))continue;y(n)?(this.q=n,this.state=O.ATTRIB_VALUE_QUOTED):(A(this,"Unquoted attribute value"),this.state=O.ATTRIB_VALUE_UNQUOTED,this.attribValue=n);continue;case O.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}R(this),this.q="",this.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:h(n)?this.state=O.ATTRIB:">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(A(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!v(n)){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}R(this),">"===n?I(this):this.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(this.tagName)">"===n?M(this):m(f,n)?this.tagName+=n:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=O.SCRIPT):(h(n)||A(this,"Invalid tagname in closing tag"),this.state=O.CLOSE_TAG_SAW_WHITE);else{if(h(n))continue;b(l,n)?this.script?(this.script+="</"+n,this.state=O.SCRIPT):A(this,"Invalid tagname in closing tag."):this.tagName=n}continue;case O.CLOSE_TAG_SAW_WHITE:if(h(n))continue;">"===n?M(this):A(this,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var u,s;switch(this.state){case O.TEXT_ENTITY:u=O.TEXT,s="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:u=O.ATTRIB_VALUE_QUOTED,s="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:u=O.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===n?(this[s]+=N(this),this.entity="",this.state=u):m(this.entity.length?d:p,n)?this.entity+=n:(A(this,"Invalid character in entity name"),this[s]+="&"+this.entity+n,this.entity="",this.state=u);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(e){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),n=0,i=0,a=o.length;i<a;i++){var u=e[o[i]].length;if(u>r)switch(o[i]){case"textNode":P(e);break;case"cdata":x(e,"oncdata",e.cdata),e.cdata="";break;case"script":x(e,"onscript",e.script),e.script="";break;default:j(e,"Max buffer length exceeded: "+o[i])}n=Math.max(n,u)}var s=t.MAX_BUFFER_LENGTH-n;e.bufferCheckPosition=s+e.position}(this);return this}
|
|
30
30
|
/*! 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;P(e=this),""!==e.cdata&&(x(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(x(e,"onscript",e.script),e.script="")}};try{n=r(666).Stream}catch(e){n=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);n.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})}))}u.prototype=Object.create(n.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var n=r(238).StringDecoder;this._decoder=new n("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 r=this;return r._parser["on"+e]||-1===a.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),n.prototype.on.call(r,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-]/,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]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function y(e){return'"'===e||"'"===e}function v(e){return">"===e||h(e)}function m(e,t){return e.test(t)}function b(e,t){return!m(e,t)}var g,w,S,O=0;for(var _ in t.STATE={BEGIN:O++,BEGIN_WHITESPACE:O++,TEXT:O++,TEXT_ENTITY:O++,OPEN_WAKA:O++,SGML_DECL:O++,SGML_DECL_QUOTED:O++,DOCTYPE:O++,DOCTYPE_QUOTED:O++,DOCTYPE_DTD:O++,DOCTYPE_DTD_QUOTED:O++,COMMENT_STARTING:O++,COMMENT:O++,COMMENT_ENDING:O++,COMMENT_ENDED:O++,CDATA:O++,CDATA_ENDING:O++,CDATA_ENDING_2:O++,PROC_INST:O++,PROC_INST_BODY:O++,PROC_INST_ENDING:O++,OPEN_TAG:O++,OPEN_TAG_SLASH:O++,ATTRIB:O++,ATTRIB_NAME:O++,ATTRIB_NAME_SAW_WHITE:O++,ATTRIB_VALUE:O++,ATTRIB_VALUE_QUOTED:O++,ATTRIB_VALUE_CLOSED:O++,ATTRIB_VALUE_UNQUOTED:O++,ATTRIB_VALUE_ENTITY_Q:O++,ATTRIB_VALUE_ENTITY_U:O++,CLOSE_TAG:O++,CLOSE_TAG_SAW_WHITE:O++,SCRIPT:O++,SCRIPT_ENDING:O++},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 r=t.ENTITIES[e],n="number"==typeof r?String.fromCharCode(r):r;t.ENTITIES[e]=n})),t.STATE)t.STATE[t.STATE[_]]=_;function E(e,t,r){e[t]&&e[t](r)}function x(e,t,r){e.textNode&&P(e),E(e,t,r)}function P(e){e.textNode=k(e.opt,e.textNode),e.textNode&&E(e,"ontext",e.textNode),e.textNode=""}function k(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function j(e,t){return P(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,E(e,"onerror",t),e}function T(e){return e.sawRoot&&!e.closedRoot&&A(e,"Unclosed root tag"),e.state!==O.BEGIN&&e.state!==O.BEGIN_WHITESPACE&&e.state!==O.TEXT&&j(e,"Unexpected end"),P(e),e.c="",e.closed=!0,E(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,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,x(e,"onopentagstart",r)}function L(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),n=r[0],o=r[1];return t&&"xmlns"===e&&(n="xmlns",o=""),{prefix:n,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),r=t.prefix,n=t.local;if("xmlns"===r)if("xml"===n&&e.attribValue!==s)A(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===n&&"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[n]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,x(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var r=e.tag,n=L(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(A(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var o=e.tags[e.tags.length-1]||e;r.ns&&o.ns!==r.ns&&Object.keys(r.ns).forEach((function(t){x(e,"onopennamespace",{prefix:t,uri:r.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,p=l.local,d=""===f?"":r.ns[f]||"",h={name:s,value:c,prefix:f,local:p,uri:d};f&&"xmlns"!==f&&!d&&(A(e,"Unbound namespace prefix: "+JSON.stringify(f)),h.uri=f),e.tag.attributes[s]=h,x(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),x(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=O.TEXT:e.state=O.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function M(e){if(!e.tagName)return A(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=O.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=O.SCRIPT);x(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var n=r;t--;){if(e.tags[t].name===n)break;A(e,"Unexpected close tag")}if(t<0)return A(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=O.TEXT);e.tagName=r;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,x(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 r=i.ns[t];x(e,"onclosenamespace",{prefix:t,uri:r})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=O.TEXT}function N(e){var t,r=e.entity,n=r.toLowerCase(),o="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),o=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),o=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==r?(A(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function D(e,t){"<"===t?(e.state=O.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(A(e,"Non-whitespace before first tag."),e.textNode=t,e.state=O.TEXT)}function U(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}O=t.STATE,String.fromCodePoint||(g=String.fromCharCode,w=Math.floor,S=function(){var e,t,r=16384,n=[],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?n.push(u):(e=55296+((u-=65536)>>10),t=u%1024+56320,n.push(e,t)),(o+1===i||n.length>r)&&(a+=g.apply(null,n),n.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:S,configurable:!0,writable:!0}):String.fromCodePoint=S)}(t)}).call(this,r(140).Buffer)},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),a=n[0],u=n[1],s=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;2===u&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,s[l++]=255&t);1===u&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,u=r-o;a<u;a+=16383)i.push(l(e,a,a+16383>u?u:a+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)n[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 r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,i,a=[],u=t;u<r;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){
|
|
31
31
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
32
32
|
t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,l=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),i-=c}return(d?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,h=n?1:-1,y=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?p/s:p*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[r+d]=255&u,d+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*y}},function(e,t,r){e.exports=o;var n=r(234).EventEmitter;function o(){n.call(this)}r(114)(o,n),o.Readable=r(235),o.Writable=r(673),o.Duplex=r(674),o.Transform=r(675),o.PassThrough=r(676),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.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===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",s),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},function(e,t){},function(e,t,r){"use strict";var n=r(236).Buffer,o=r(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,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,i=n.allocUnsafe(e>>>0),a=this.head,u=0;a;)t=a.data,r=i,o=u,t.copy(r,o),u+=a.data.length,a=a.next;return i},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,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(52))},function(e,t,r){
|
|
33
33
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
34
|
-
var n=r(140),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},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 n.SlowBuffer(e)}},function(e,t,r){"use strict";e.exports=i;var n=r(387),o=Object.create(r(141));function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}o.inherits=r(114),o.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(237)},function(e,t,r){e.exports=r(96)},function(e,t,r){e.exports=r(235).Transform},function(e,t,r){e.exports=r(235).PassThrough},function(e,t,r){var n=r(239),o=r(382);e.exports=function(e,t){var r,i,a;return r=function(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}(t),i=o(e,r),a="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),r.spaces):JSON.stringify(i,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,r){(function(t){var n=r(388);e.exports=function(e,r){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 n(o,r)}}).call(this,r(140).Buffer)},function(e,t,r){"use strict";const n=r(680),o=r(681),i=r(684),a=r(695),u=r(698),s=r(701).Parser,c=r(70).DomHandler,l=r(406),f=r(411),p=r(408);e.exports=function(e){function t(t,r,l,f){const d=function(t){(e=e||{}).decodeEntities=!0;const r=new c;return new s(r,e).parseComplete(t),r.dom.filter((function(e){return"directive"!==e.type}))}(t).map((function(e,t){return function e(t,r,s,c,l){if(r(t)){n((function(e){e.shouldPreprocessNode(t)&&e.preprocessNode(t,l)}),c||[]);const f=o((function(e){return e.shouldProcessNode(t)}),s||[]);if(null!=f){const n=i((function(e){return null==e||!1===e}),a(u)((function(t,n){return e(t,r,s,c,n)}),t.children||[]));return f.replaceChildren?p.createElement(t,l,t.data,[f.processNode(t,n,l)]):f.processNode(t,n,l)}return!1}return!1}(e,r,l,f,t)}));return d.length<=1?d[0]:d}return{parse:function(e){const r=new l;return t(e,f.alwaysValid,r.defaultProcessingInstructions)},parseWithInstructions:t}}},function(e,t,r){var n=r(390),o=r(43)(n("forEach",(function(e,t){for(var r=t.length,n=0;n<r;)e(t[n]),n+=1;return t})));e.exports=o},function(e,t,r){var n=r(43)(r(188)(["find"],r(683),(function(e,t){for(var r=0,n=t.length;r<n;){if(e(t[r]))return t[r];r+=1}})));e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,r){var n=r(43),o=r(391),i=r(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=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(685),o=r(43),i=r(686),a=o((function(e,t){return i(n(e),t)}));e.exports=a},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,r){var n=r(43),o=r(188),i=r(687),a=r(688),u=r(242),s=r(693),c=r(244),l=n(o(["fantasy-land/filter","filter"],s,(function(e,t){return a(t)?u((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},c(t)):i(e,t)})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=[];r<n;)e(t[r])&&(o[o.length]=t[r]),r+=1;return o}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,r){var n=r(82),o=r(241),i=r(690),a=n((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 r=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 r(e)}},function(e,t,r){var n=r(243),o=r(43)((function(e,t){return n(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=o},function(e,t,r){var n=r(43),o=r(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=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){var n=r(190),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(e){return"[object Arguments]"===o.call(e)}:function(e){return n("callee",e)}}();e.exports=i},function(e,t,r){var n=r(696),o=r(82),i=r(392),a=o((function(e){return i(e.length,(function(){var t=0,r=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=r.apply(this,n(arguments,[t,o]));return t+=1,e},e.apply(this,i)}))}));e.exports=a},function(e,t){e.exports=function(e,t){var r;t=t||[];var n=(e=e||[]).length,o=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<o;)i[i.length]=t[r],r+=1;return i}},function(e,t,r){var n=r(243),o=r(187);e.exports=function e(t,r,i){return function(){for(var a=[],u=0,s=t,c=0;c<r.length||u<arguments.length;){var l;c<r.length&&(!o(r[c])||u>=arguments.length)?l=r[c]:(l=arguments[u],u+=1),a[c]=l,o(l)||(s-=1),c+=1}return s<=0?i.apply(this,a):n(s,e(t,a,i))}}},function(e,t,r){var n=r(43),o=r(188),i=r(699),a=r(242),u=r(700),s=r(392),c=r(244),l=n(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(r,n){return r[n]=e(t[n]),r}),{},c(t));default:return i(e,t)}})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=Array(n);r<n;)o[r]=e(t[r]),r+=1;return o}},function(e,t,r){var n=r(43),o=r(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=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},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=r(393);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=r(70);function l(e,t){var r=new c.DomHandler(void 0,t);return new s.Parser(r,t).end(e),r.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,r){var n=new c.DomHandler(e,t,r);return new s.Parser(n,t)};var f=r(394);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return u(f).default}});var p=i(r(142));t.ElementType=p,a(r(397),t),t.DomUtils=i(r(398));var d=r(397);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return d.FeedHandler}})},function(e,t,r){"use strict";var n=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=n(r(703));t.htmlDecodeTree=o.default;var i=n(r(704));t.xmlDecodeTree=i.default;var a,u=n(r(395));function s(e){return function(t,r){for(var n="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(n+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var s=null,l=1,f=0,p=e[f];i<t.length&&!((f=c(e,p,f+1,t.charCodeAt(i)))<0);i++,l++)(p=e[f])&a.HAS_VALUE&&(r&&59!==t.charCodeAt(i)?f+=1:(s=p&a.MULTI_BYTE?String.fromCharCode(e[++f],e[++f]):String.fromCharCode(e[++f]),l=0));null!=s&&(n+=s,o=i-l+1)}else{var d=i+1,h=10,y=t.charCodeAt(d);for(120==(32|y)&&(h=16,i+=1,d+=1);(y=t.charCodeAt(++i))>=48&&y<=57||16===h&&(32|y)>=97&&(32|y)<=102;);if(d!==i){var v=t.substring(d,i),m=parseInt(v,h);if(59===t.charCodeAt(i))i+=1;else if(r)continue;n+=u.default(m),o=i}}return n+t.slice(o)}}function c(e,r,n,o){if(r<=128)return o===r?n:-1;var i=(r&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[n]?n+1:-1;var u=r&a.JUMP_TABLE;if(u){var s=o-t.JUMP_OFFSET_BASE-u;return s<0||s>i?-1:e[n+s]-1}for(var c=n,l=c+i-1;c<=l;){var f=c+l>>>1,p=e[f];if(p<o)c=f+1;else{if(!(p>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,r){"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,r){"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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(r(142)),s=r(706),c=r(710),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",o=0;o<r.length;o++)n+=d(r[o],t);return n}function d(e,t){switch(e.type){case u.Root:return p(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 r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&h.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1})));!t.xmlMode&&y.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(r){var n,o,i=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(o=c.attributeNames.get(r))&&void 0!==o?o:r),t.emptyAttrs||t.xmlMode||""!==i?r+'="'+(!1!==t.decodeEntities?s.encodeXML(i):i.replace(/"/g,"""))+'"':r})).join(" ")}(e.attribs,t);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+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</"+e.name+">"));return o}(e,t);case u.Text:return function(e,t){var r=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(r=s.encodeXML(r));return r}(e,t)}}t.default=p;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y=new Set(["svg","math"])},function(e,t,r){"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 n=r(400),o=r(403);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=r(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=r(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,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(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,r){"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,r){"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 n=r(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 r=[e],n=e.prev,o=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=o;)r.push(o),o=o.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[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,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},function(e,t,r){"use strict";function n(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=n,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.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(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(70);function o(e,t){var r=[],o=[];if(e===t)return 0;for(var i=(0,n.hasChildren)(e)?e:e.parent;i;)r.unshift(i),i=i.parent;for(i=(0,n.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(r.length,o.length),u=0;u<a&&r[u]===o[u];)u++;if(0===u)return 1;var s=r[u-1],c=s.children,l=r[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 r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(399),o=r(405);t.getFeed=function(e){var t=s(f,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,o.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:u(r)};l(n,"id","id",r),l(n,"title","title",r);var o=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);var i=c("summary",r)||c("content",r);i&&(n.description=i);var a=c("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);l(n,"description","subtitle",r);var a=c("updated",r);a&&(n.updated=new Date(a));return l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:u(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};l(i,"title","title",n),l(i,"link","link",n),l(i,"description","description",n);var a=c("lastBuildDate",n);a&&(i.updated=new Date(a));return l(i,"author","managingEditor",n,!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,r={medium:t.medium,isDefault:!!t.isDefault},n=0,o=i;n<o.length;n++){t[c=o[n]]&&(r[c]=t[c])}for(var u=0,s=a;u<s.length;u++){var c;t[c=s[u]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,o.getElementsByTagName)(e,t,r,1)).trim()}function l(e,t,r,n,o){void 0===o&&(o=!1);var i=c(r,n,o);i&&(e[t]=i)}function f(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,r){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},function(e,t,r){(function(t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\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",i="[\\ud800-\\udfff]",a="["+o+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",s="\\d+",c="[\\u2700-\\u27bf]",l="[a-z\\xdf-\\xf6\\xf8-\\xff]",f="[^\\ud800-\\udfff"+o+s+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",p="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",v="[A-Z\\xc0-\\xd6\\xd8-\\xde]",m="(?:"+l+"|"+f+")",b="(?:"+v+"|"+f+")",g="(?:"+u+"|"+p+")"+"?",w="[\\ufe0e\\ufe0f]?"+g+("(?:\\u200d(?:"+[d,h,y].join("|")+")[\\ufe0e\\ufe0f]?"+g+")*"),S="(?:"+[c,h,y].join("|")+")"+w,O="(?:"+[d+u+"?",u,h,y,i].join("|")+")",_=RegExp("['’]","g"),E=RegExp(u,"g"),x=RegExp(p+"(?="+p+")|"+O+w,"g"),P=RegExp([v+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,v,"$"].join("|")+")",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,v+m,"$"].join("|")+")",v+"?"+m+"+(?:['’](?:d|ll|m|re|s|t|ve))?",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",s,S].join("|"),"g"),k=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),j=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,T="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,C=T||A||Function("return this")();var L,R=(L={"À":"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==L?void 0:L[e]});function I(e){return k.test(e)}function M(e){return I(e)?function(e){return e.match(x)||[]}(e):function(e){return e.split("")}(e)}var N=Object.prototype.toString,D=C.Symbol,U=D?D.prototype:void 0,F=U?U.toString:void 0;function B(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==N.call(e)}(e))return F?F.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function q(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}(e,t,r)}function W(e){return null==e?"":B(e)}var z,H=(z=function(e,t,r){return t=t.toLowerCase(),e+(r?G(W(t).toLowerCase()):t)},function(e){return function(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}(function(e,t,n){return e=W(e),void 0===(t=n?void 0:t)?function(e){return j.test(e)}(e)?function(e){return e.match(P)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=W(e))&&e.replace(n,R).replace(E,"")}(e).replace(_,"")),z,"")});var V,G=(V="toUpperCase",function(e){var t=I(e=W(e))?M(e):void 0,r=t?t[0]:e.charAt(0),n=t?q(t,1).join(""):e.slice(1);return r[V]()+n});e.exports=H}).call(this,r(52))},function(e,t,r){var n=r(82),o=r(190),i=n((function(e){var t=[];for(var r in e)o(r,e)&&(t[t.length]=[r,e[r]]);return t}));e.exports=i},function(e,t,r){var n=r(409)(r(242));e.exports=n},function(e,t,r){var n=r(43),o=r(410),i=r(726),a=n((function(e,t){return o(i(e.length,t),e)}));e.exports=a},function(e,t,r){var n=r(721),o=r(722),i=r(723),a=r(190),u=r(724),s=r(244),c=r(725);function l(e,t,r,i){var a=n(e),u=n(t);function s(e,t){return f(e,t,r.slice(),i.slice())}return!o((function(e,t){return!o(s,t,e)}),u,a)}function f(e,t,r,n){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 p=r.length-1;p>=0;){if(r[p]===e)return n[p]===t;p-=1}switch(o){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),r.concat([e]),n.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 d=s(e);if(d.length!==s(t).length)return!1;var h=r.concat([e]),y=n.concat([t]);for(p=d.length-1;p>=0;){var v=d[p];if(!a(v,t)||!f(t[v],e[v],h,y))return!1;p-=1}return!0}e.exports=f},function(e,t){e.exports=function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}},function(e,t){e.exports=function(e,t,r){for(var n=0,o=r.length;n<o;){if(e(t,r[n]))return!0;n+=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,r){var n=r(82)((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));e.exports=n},function(e,t,r){var n=r(43),o=r(188),i=r(727),a=r(728),u=n(o(["take"],i,(function(e,t){return a(0,e<0?1/0:e,t)})));e.exports=u},function(e,t,r){var n=r(43),o=r(391),i=r(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 r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?o(r):r},e}(),u=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(390),o=r(409)(n("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));e.exports=o},function(e,t,r){var n=r(730),o=r(43)(n);e.exports=o},function(e,t,r){var n=r(731);e.exports=function(e,t){return n(t,e,0)>=0}},function(e,t,r){var n=r(410);e.exports=function(e,t,r){var o,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;r<e.length;){if(0===(i=e[r])&&1/i===o)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(i=e[r])&&i!=i)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(n(e[r],t))return r;r+=1}return-1}},function(e,t,r){"use strict";const n=["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 r=t.toLowerCase();return r!==t&&(e[r]=t),e}),{});e.exports=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(16),r(17),r(3),r(7),r(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=r(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=p(r(735));t.ident=a;var u=r(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=r(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=p(r(248));t.string=c;var l=p(r(427));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}t.url=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t){var r={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof n.List?i=i.map(e):i.constructor===Object&&(i=e(i))),r[o]=i}return r},r(47);var n=r(245)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length-1,r="",o=0;o<e.length;o++){var i=e.charCodeAt(o);if(92===i){if(o===t)break;if(i=e.charCodeAt(++o),(0,n.isValidEscape)(92,i)){var a=o-1,u=(0,n.consumeEscaped)(e,a);o=u-1,r+=(0,n.decodeEscaped)(e.substring(a+1,u))}else 13===i&&10===e.charCodeAt(o+1)&&o++}else r+=e[o]}return r},t.encode=function(e){var t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(var r=0;r<e.length;r++){var o=e.charCodeAt(r);0!==o?o<=31||127===o||o>=48&&o<=57&&(0===r||1===r&&45===e.charCodeAt(0))?t+="\\"+o.toString(16)+" ":(0,n.isName)(o)?t+=e.charAt(r):t+="\\"+e.charAt(r):t+="�"}return t},r(1),r(87);var n=r(12)},function(e,t,r){var n=r(11),o=r(10),i=r(75),a=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);n({target:"String",stat:!0,arity:1,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");r[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return c(r,"")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffsetToLocation=void 0;var n=r(415),o=r(246);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){for(var t=e.source,r=t.length,i=t.length>0?(0,o.isBOM)(t.charCodeAt(0)):0,a=(0,n.adoptBuffer)(e.lines,r),u=(0,n.adoptBuffer)(e.columns,r),s=e.startLine,c=e.startColumn,l=i;l<r;l++){var f=t.charCodeAt(l);a[l]=s,u[l]=c++,10!==f&&13!==f&&12!==f||(13===f&&l+1<r&&10===t.charCodeAt(l+1)&&(a[++l]=s,u[l]=c),s++,c=1)}a[r]=s,u[r]=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,r,n;return t=e,(r=[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,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,r){return this.computed||a(this),{source:r,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,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.OffsetToLocation=u},function(e,t,r){"use strict";var n=r(11),o=r(10),i=r(9),a=r(416),u=r(31),s=r(75),c=r(65),l=r(165),f=a.ArrayBuffer,p=a.DataView,d=p.prototype,h=o(f.prototype.slice),y=o(d.getUint8),v=o(d.setUint8);n({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 r=u(this).byteLength,n=s(e,r),o=s(void 0===t?r:t,r),i=new(l(this,f))(c(o-n)),a=new p(this),d=new p(i),m=0;n<o;)v(d,m++,y(a,n++));return i}})},function(e,t){var r=Array,n=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,p=r(s),d=8*s-t-1,h=(1<<d)-1,y=h>>1,v=23===t?o(2,-24)-o(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;for((e=n(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+y>=1?v/f:v*o(2,1-y))*f>=2&&(c++,f/=2),c+y>=h?(l=0,c=h):c+y>=1?(l=(e*f-1)*o(2,t),c+=y):(l=e*o(2,y-1)*o(2,t),c=0));t>=8;)p[b++]=255&l,l/=256,t-=8;for(c=c<<t|l,d+=t;d>0;)p[b++]=255&c,c/=256,d-=8;return p[--b]|=128*m,p},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,u=a>>1,s=i-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;s>0;)f=256*f+e[c--],s-=8;for(r=f&(1<<-s)-1,f>>=-s,s+=t;s>0;)r=256*r+e[c--],s-=8;if(0===f)f=1-u;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=o(2,t),f-=u}return(l?-1:1)*r*o(2,f-t)}}},function(e,t,r){r(741)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},function(e,t,r){"use strict";var n=r(11),o=r(13),i=r(20),a=r(23),u=r(742),s=r(22),c=r(416),l=r(78),f=r(83),p=r(63),d=r(743),h=r(65),y=r(418),v=r(419),m=r(117),b=r(25),g=r(76),w=r(24),S=r(97),O=r(67),_=r(61),E=r(86),x=r(74).f,P=r(745),k=r(46).forEach,j=r(163),T=r(34),A=r(71),C=r(44),L=r(159),R=C.get,I=C.set,M=C.enforce,N=T.f,D=A.f,U=Math.round,F=o.RangeError,B=c.ArrayBuffer,q=B.prototype,W=c.DataView,z=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 r=0,n=t.length,o=new e(n);n>r;)o[r]=t[r++];return o},X=function(e,t){N(e,t,{get:function(){return R(this)[t]}})},Q=function(e){var t;return _(q,e)||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},Z=function(e,t){return Y(e)&&!S(t)&&t in e&&d(+t)&&t>=0},J=function(e,t){return t=m(t),Z(e,t)?f(2,e[t]):D(e,t)},ee=function(e,t,r){return t=m(t),!(Z(e,t)&&w(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?N(e,t,r):(e[t]=r.value,e)};a?(z||(A.f=J,T.f=ee,X(G,"buffer"),X(G,"byteOffset"),X(G,"byteLength"),X(G,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:J,defineProperty:ee}),e.exports=function(e,t,r){var a=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,f="set"+e,d=o[s],m=d,b=m&&m.prototype,g={},S=function(e,t){N(e,t,{get:function(){return function(e,t){var r=R(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=R(e);r&&(n=(n=U(n))<0?0:n>255?255:255&n),o.view[f](t*a+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};z?u&&(m=t((function(e,t,r,n){return l(e,b),L(w(t)?Q(t)?void 0!==n?new d(t,v(r,a),n):void 0!==r?new d(t,v(r,a)):new d(t):Y(t)?$(m,t):i(P,m,t):new d(y(t)),e,m)})),E&&E(m,V),k(x(d),(function(e){e in m||p(m,e,d[e])})),m.prototype=b):(m=t((function(e,t,r,n){l(e,b);var o,u,s,c=0,f=0;if(w(t)){if(!Q(t))return Y(t)?$(m,t):i(P,m,t);o=t,f=v(r,a);var p=t.byteLength;if(void 0===n){if(p%a)throw F("Wrong length");if((u=p-f)<0)throw F("Wrong length")}else if((u=h(n)*a)+f>p)throw F("Wrong length");s=u/a}else s=y(t),o=new B(u=s*a);for(I(e,{buffer:o,byteOffset:f,byteLength:u,length:s,view:new W(o)});c<s;)S(e,c++)})),E&&E(m,V),b=m.prototype=O(G)),b.constructor!==m&&p(b,"constructor",m),M(b).TypedArrayConstructor=m,H&&p(b,H,s);var _=m!=d;g[s]=m,n({global:!0,constructor:!0,forced:_,sham:!z},g),"BYTES_PER_ELEMENT"in m||p(m,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in b||p(b,"BYTES_PER_ELEMENT",a),j(s)}):e.exports=function(){}},function(e,t,r){var n=r(13),o=r(9),i=r(158),a=r(22).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,s=n.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,r){var n=r(24),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},function(e,t,r){var n=r(64),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw o("The argument can't be less than 0");return t}},function(e,t,r){var n=r(68),o=r(20),i=r(210),a=r(42),u=r(45),s=r(157),c=r(129),l=r(203),f=r(22).aTypedArrayConstructor;e.exports=function(e){var t,r,p,d,h,y,v=i(this),m=a(e),b=arguments.length,g=b>1?arguments[1]:void 0,w=void 0!==g,S=c(m);if(S&&!l(S))for(y=(h=s(m,S)).next,m=[];!(d=o(y,h)).done;)m.push(d.value);for(w&&b>2&&(g=n(g,arguments[2])),r=u(m),p=new(f(v))(r),t=0;r>t;t++)p[t]=w?g(m[t],t):m[t];return p}},function(e,t,r){"use strict";var n=r(10),o=r(22),i=n(r(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,r){"use strict";var n=r(42),o=r(75),i=r(45),a=r(420),u=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=i(r),c=o(e,s),l=o(t,s),f=arguments.length>2?arguments[2]:void 0,p=u((void 0===f?s:o(f,s))-l,s-c),d=1;for(l<c&&c<l+p&&(d=-1,l+=p-1,c+=p-1);p-- >0;)l in r?r[c]=r[l]:a(r,c),c+=d,l+=d;return r}},function(e,t,r){"use strict";var n=r(22),o=r(46).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(247),i=r(750),a=r(76),u=r(20),s=r(10),c=r(9),l=n.aTypedArray,f=n.exportTypedArrayMethod,p=s("".slice);f("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(a(this),0,3)?i(e):+e;return u(o,this,r,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,r){var n=r(195),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},function(e,t,r){"use strict";var n=r(22),o=r(46).filter,i=r(752),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,r){var n=r(753),o=r(191);e.exports=function(e,t){return n(o(e),t)}},function(e,t,r){var n=r(45);e.exports=function(e,t){for(var r=0,o=n(t),i=new e(o);o>r;)i[r]=t[r++];return i}},function(e,t,r){"use strict";var n=r(22),o=r(46).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(149).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(149).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(9),i=r(10),a=r(22),u=r(2),s=r(18)("iterator"),c=n.Uint8Array,l=i(u.values),f=i(u.keys),p=i(u.entries),d=a.aTypedArray,h=a.exportTypedArrayMethod,y=c&&c.prototype,v=!o((function(){y[s].call([1])})),m=!!y&&y.values&&y[s]===y.values&&"values"===y.values.name,b=function(){return l(d(this))};h("entries",(function(){return p(d(this))}),v),h("keys",(function(){return f(d(this))}),v),h("values",b,v||!m,{name:"values"}),h(s,b,v||!m,{name:"values"})},function(e,t,r){"use strict";var n=r(22),o=r(10),i=n.aTypedArray,a=n.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},function(e,t,r){"use strict";var n=r(22),o=r(77),i=r(762),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,r){"use strict";var n=r(77),o=r(49),i=r(64),a=r(45),u=r(155),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),p=l||!f;e.exports=p?function(e){if(l)return n(c,this,arguments)||0;var t=o(this),r=a(t),u=r-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=r+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},function(e,t,r){"use strict";var n=r(22),o=r(46).map,i=r(191),a=n.aTypedArray;(0,n.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,r){"use strict";var n=r(22),o=r(421).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(421).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,r=a(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}))},function(e,t,r){"use strict";var n=r(13),o=r(20),i=r(22),a=r(45),u=r(419),s=r(42),c=r(9),l=n.RangeError,f=n.Int8Array,p=f&&f.prototype,d=p&&p.set,h=i.aTypedArray,y=i.exportTypedArrayMethod,v=!c((function(){var e=new Uint8ClampedArray(2);return o(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&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]}));y("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),r=s(e);if(v)return o(d,this,r,t);var n=this.length,i=a(r),c=0;if(i+t>n)throw l("Wrong length");for(;c<i;)this[t+c]=r[c++]}),!v||m)},function(e,t,r){"use strict";var n=r(22),o=r(191),i=r(9),a=r(102),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(u(this),e,t),n=o(this),i=0,s=r.length,c=new n(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,r){"use strict";var n=r(22),o=r(46).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(10),i=r(9),a=r(53),u=r(208),s=r(22),c=r(422),l=r(423),f=r(99),p=r(424),d=s.aTypedArray,h=s.exportTypedArrayMethod,y=n.Uint16Array,v=y&&o(y.prototype.sort),m=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),b=!!v&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(p)return p<602;var e,t,r=new y(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):u(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!b||m)},function(e,t,r){"use strict";var n=r(22),o=r(65),i=r(75),a=r(191),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=u(this),n=r.length,s=i(e,n);return new(a(r))(r.buffer,r.byteOffset+s*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-s))}))},function(e,t,r){"use strict";var n=r(13),o=r(77),i=r(22),a=r(9),u=r(102),s=n.Int8Array,c=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,p=!!s&&a((function(){f.call(new s(1))}));l("toLocaleString",(function(){return o(f,p?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,r){"use strict";var n=r(22).exportTypedArrayMethod,o=r(9),i=r(13),a=r(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;n("toString",c,f)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenStream=void 0,r(2),r(108),r(1),r(4),r(5);var n,o=r(415),i=r(413),a=(n=r(414))&&n.__esModule?n:{default:n},u=r(412);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setSource(t,r)}var t,r,n;return t=e,(r=[{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(){},r=(e=String(e||"")).length,n=(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]=r;break;case s:var p=16777215&l;for(l=i[p],s=l>>24,i[a]=p,i[p++]=a;p<a;p++)i[p]===r&&(i[p]=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}n[a++]=e<<24|o,-1===f&&(f=t)})),n[a]=u.EOF<<24|r,i[a]=r,i[r]=r;0!==l;){var p=16777215&l;l=i[p],i[p]=r}this.source=e,this.firstCharOffset=-1===f?0:f,this.tokenCount=a,this.offsetAndType=n,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 r,n,o=e;e:for(;o<this.tokenCount&&!((r=this.balance[o])<e);o++)switch(n=o>0?16777215&this.offsetAndType[o-1]:this.firstCharOffset,t(this.source.charCodeAt(n))){case 1:break e;case 2:o++;break e;default:this.balance[r]===o&&(o=r)}this.skip(o-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,r=this.firstCharOffset;t<this.tokenCount;t++){var n=r,o=this.offsetAndType[t],i=16777215&o;r=i,e(o>>24,n,i,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(r,n,o,i){t[i]={idx:i,type:a.default[r],chunk:e.source.substring(n,o),balance:e.balance[i]}})),t}}])&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.TokenStream=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(776),i=(n=r(782))&&n.__esModule?n:{default:n};var a=(0,o.createParser)(i.default);t.default=a},function(e,t,r){"use strict";r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(17),r(30),r(14),r(16),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){var t="",r="<unknown>",u=!1,c=f,h=!1,y=new i.OffsetToLocation,v=Object.assign(new i.TokenStream,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:d(e.atrule),pseudo:d(e.pseudo),node:d(e.node)};for(var r in e.parseContext)switch(l(e.parseContext[r])){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=p(e.parseContext[r])}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 n.List},createSingleNodeList:function(e){return(new n.List).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var r=this.tokenIndex;try{return e.call(this)}catch(e){if(h)throw e;var n=t.call(this,r);return h=!0,c(e,n),h=!1,n}},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,r){return t.substring(e,r)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,r){return(0,i.cmpChar)(t,e,r)},cmpStr:function(e,r,n){return(0,i.cmpStr)(t,e,r,n)},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 r=t.substring(this.tokenStart,(0,i.consumeNumber)(t,this.tokenStart));return this.eat(e),r},eat:function(e){if(this.tokenType!==e){var t=i.tokenNames[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),r="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),n=this.tokenStart;switch(e){case i.Ident:this.tokenType===i.Function||this.tokenType===i.Url?(n=this.tokenEnd-1,r="Identifier is expected but function found"):r="Identifier is expected";break;case i.Hash:this.isDelim(35)&&(this.next(),n++,r="Name is expected");break;case i.Percentage:this.tokenType===i.Number&&(n=this.tokenEnd,r="Percent sign is expected")}this.error(r,n)}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?y.getLocationRange(e,t,r):null},getLocationFromList:function(e){if(u){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return y.getLocationRange(null!==t?t.loc.start.offset-y.startOffset:this.tokenStart,null!==n?n.loc.end.offset-y.startOffset:this.tokenStart,r)}return null},error:function(e,r){var n=void 0!==r&&r<t.length?y.getLocation(r):this.eof?y.getLocation((0,i.findWhiteSpaceStart)(t,t.length-1)):y.getLocation(this.tokenStart);throw new o.SyntaxError(e||"Unexpected input",t,n.offset,n.line,n.column)}});return Object.assign((function(e,n){t=e,n=n||{},v.setSource(t,i.tokenize),y.setSource(t,n.offset,n.line,n.column),r=n.filename||"<unknown>",u=Boolean(n.positions),c="function"==typeof n.onParseError?n.onParseError:f,h=!1,v.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),v.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),v.parseValue=!("parseValue"in n)||Boolean(n.parseValue),v.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty);var o=n,a=o.context,s=void 0===a?"default":a,l=o.onComment;if(s in v.context==!1)throw new Error("Unknown context `"+s+"`");"function"==typeof l&&v.forEachToken((function(e,r,n){if(e===i.Comment){var o=v.getLocation(r,n),a=(0,i.cmpStr)(t,n-2,n,"*/")?t.slice(r+2,n-2):t.slice(r+2,n);l(a,o)}}));var p=v.context[s].call(v,n);return v.eof||v.error(),p}),{SyntaxError:o.SyntaxError,config:v.config})},r(37),r(19),r(92),r(26);var n=r(245),o=r(777),i=r(12),a=r(781);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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 p(e){return function(){return this[e]()}}function d(e){var t=Object.create(null);for(var r in e){var n=e[r],o=n.parse||n;o&&(t[r]=o)}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=function(e,t,r,i,a){return Object.assign((0,n.createCustomError)("SyntaxError",e),{source:t,offset:r,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)}})},r(132),r(47),r(26),r(428),r(19),r(80),r(212),r(92),r(30),r(1),r(37);var n=r(780);function o(e,t){var r=e.source,n=e.line,o=e.column;function i(e,t){return a.slice(e,t).map((function(t,r){return String(e+r+1).padStart(c)+" |"+t})).join("\n")}var a=r.split(/\r\n?|\n|\f/),u=Math.max(1,n-t)-1,s=Math.min(n+t,a.length+1),c=Math.max(4,String(s).length)+1,l=0;(o+=(" ".length-1)*(a[n-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,n),new Array(o+c+2).join("-")+"^",i(n,s)].filter(Boolean).join("\n")}},function(e,t,r){var n=r(10),o=r(65),i=r(39),a=r(352),u=r(60),s=n(a),c=n("".slice),l=Math.ceil,f=function(e){return function(t,r,n){var a,f,p=i(u(t)),d=o(r),h=p.length,y=void 0===n?" ":i(n);return d<=h||""==y?p:((f=s(y,l((a=d-h)/y.length))).length>a&&(f=c(f,0,a)),e?p+f:f+p)}};e.exports={start:f(!1),end:f(!0)}},function(e,t,r){var n=r(73);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCustomError=function(e,t){var r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})},r(37),r(19),r(92),r(32)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readSequence=function(e){var t=this.createList(),r=!1,o={recognizer:e};for(;!this.eof;){switch(this.tokenType){case n.Comment:this.next();continue;case n.WhiteSpace:r=!0,this.next();continue}var i=e.getNode.call(this,o);if(void 0===i)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),r=!1),t.push(i)}r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o);return t};var n=r(12)},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(783)),i=s(r(789)),a=s(r(795)),u=l(r(796));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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,r&&r.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return i.default}});var n=a(r(784)),o=a(r(785)),i=a(r(786));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={getNode:((n=r(429))&&n.__esModule?n:{default:n}).default};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12);var 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 n.LeftSquareBracket:return this.AttributeSelector();case n.Hash:return this.IdSelector();case n.Colon:return this.lookupType(1)===n.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case n.Ident:return this.TypeSelector();case n.Number:case n.Percentage:return this.Percentage();case n.Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(429)),o=a(r(787)),i=a(r(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:n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},function(e,t,r){"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===n.Comma){e.push(this.Operator());var t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===r.type&&r.children.isEmpty)for(var o=t-this.tokenIndex;o<=0;o++)if(this.lookupType(o)===n.WhiteSpace){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(r)}return e};var n=r(12)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(790)),o=s(r(791)),i=s(r(792)),a=s(r(793)),u=s(r(794));function s(e){return e&&e.__esModule?e:{default:e}}var c={"font-face":n.default,import:o.default,media:i.default,page:a.default,supports:u.default};t.default=c},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12),o={parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case n.String:e.push(this.String());break;case n.Url:case n.Function:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==n.Ident&&this.lookupNonWSType(0)!==n.LeftParenthesis||e.push(this.MediaQueryList()),e},block:null}};t.default=o},function(e,t,r){"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,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12);function o(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function i(){return this.skipSC(),this.tokenType===n.Ident&&this.lookupNonWSType(1)===n.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 n.Comment:case n.WhiteSpace:this.next();continue;case n.Function:e=this.Function(o,this.scope.AtrulePrelude);break;case n.Ident:e=this.Identifier();break;case n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={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:n,lang:o,matches:n,is:n,"-moz-any":n,"-webkit-any":n,where:n,not:n,"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.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 p.parse}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.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 S.parse}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.parse}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.parse}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.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 M.parse}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return N.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 q.parse}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.parse}});var n=r(249),o=r(250),i=r(251),a=r(252),u=r(253),s=r(254),c=r(255),l=r(256),f=r(257),p=r(258),d=r(259),h=r(260),y=r(261),v=r(262),m=r(263),b=r(264),g=r(265),w=r(266),S=r(267),O=r(268),_=r(269),E=r(270),x=r(271),P=r(272),k=r(273),j=r(274),T=r(275),A=r(276),C=r(277),L=r(278),R=r(279),I=r(280),M=r(281),N=r(282),D=r(283),U=r(284),F=r(285),B=r(286),q=r(287),W=r(288)},function(e,t,r){var n=r(13),o=r(23),i=r(329),a=r(205),u=r(9),s=n.RegExp,c=s.prototype;o&&u((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!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)!==n||r!==n}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(799),i=(n=r(801))&&n.__esModule?n:{default:n};var a=(0,o.createWalker)(i.default);t.default=a},function(e,t,r){"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(36),r(4),r(19),r(8),r(2),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.createWalker=function(e){var t=function(e){var t={};for(var r in e.node)if(i.call(e.node,r)){var n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=c(r,n)}return t}(e),r={},n={},o=Symbol("break-walk"),p=Symbol("skip-node");for(var d in t)i.call(t,d)&&null!==t[d]&&(r[d]=l(t[d],!1),n[d]=l(t[d],!0));var h=f(r),y=f(n),v=function(e,i){function c(e,t,r){var n=l.call(m,e,t,r);return n===o||n!==p&&(!(!d.hasOwnProperty(e.type)||!d[e.type](e,m,c,v))||f.call(m,e,t,r)===o)}var l=a,f=a,d=r,v=function(e,t,r,n){return e||c(t,r,n)},m={break:o,skip:p,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&&(d=n),i.visit)){if(h.hasOwnProperty(i.visit))d=i.reverse?y[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 v.break=o,v.skip=p,v.find=function(e,t){var r=null;return v(e,(function(e,n,i){if(t.call(this,e,n,i))return r=e,o})),r},v.findLast=function(e,t){var r=null;return v(e,{reverse:!0,enter:function(e,n,i){if(t.call(this,e,n,i))return r=e,o}}),r},v.findAll=function(e,t){var r=[];return v(e,(function(e,n,o){t.call(this,e,n,o)&&r.push(e)})),r},v},r(26),r(6),r(1),r(3),r(7),r(132),r(800),r(17),r(430);var i=Object.prototype.hasOwnProperty,a=function(){};function u(e){return"function"==typeof e?e:a}function s(e,t){return function(r,n,o){r.type===t&&e.call(this,r,n,o)}}function c(e,t){var r=t.structure,o=[];for(var a in r)if(!1!==i.call(r,a)){var u=r[a],s={name:a,type:!1,nullable:!1};Array.isArray(u)||(u=[u]);var c,l=n(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 r=e.fields.slice(),o=e.context,i="string"==typeof o;return t&&r.reverse(),function(e,a,u,s){var c;i&&(c=a[o],a[o]=e);var l,f=n(r);try{for(f.s();!(l=f.n()).done;){var p=l.value,d=e[p.name];if(!p.nullable||d)if("list"===p.type){if(t?d.reduceRight(s,!1):d.reduce(s,!1))return!0}else if(u(d))return!0}}catch(e){f.e(e)}finally{f.f()}i&&(a[o]=c)}}function f(e){var t=e.StyleSheet,r=e.Atrule,n=e.Rule,o=e.Block;return{Atrule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Rule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Declaration:{StyleSheet:t,Atrule:r,Rule:n,Block:o,DeclarationList:e.DeclarationList}}}},function(e,t,r){"use strict";var n=r(11),o=r(10),i=r(53),a=r(42),u=r(45),s=r(420),c=r(39),l=r(9),f=r(208),p=r(155),d=r(422),h=r(423),y=r(99),v=r(424),m=[],b=o(m.sort),g=o(m.push),w=l((function(){m.sort(void 0)})),S=l((function(){m.sort(null)})),O=p("sort"),_=!l((function(){if(y)return y<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!S||!O||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?b(t):b(t,e);var r,n,o=[],l=u(t);for(n=0;n<l;n++)n in t&&g(o,t[n]);for(f(o,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o.length,n=0;n<r;)t[n]=o[n++];for(;n<l;)s(t,n++);return t}})},function(e,t,r){"use strict";function n(e){return(n="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,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.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]}i.default=e,r&&r.set(e,i);return i}(r(802))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(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(r(249));t.AnPlusB=o;var i=V(r(250));t.Atrule=i;var a=V(r(251));t.AtrulePrelude=a;var u=V(r(252));t.AttributeSelector=u;var s=V(r(253));t.Block=s;var c=V(r(254));t.Brackets=c;var l=V(r(255));t.CDC=l;var f=V(r(256));t.CDO=f;var p=V(r(257));t.ClassSelector=p;var d=V(r(258));t.Combinator=d;var h=V(r(259));t.Comment=h;var y=V(r(260));t.Declaration=y;var v=V(r(261));t.DeclarationList=v;var m=V(r(262));t.Dimension=m;var b=V(r(263));t.Function=b;var g=V(r(264));t.Hash=g;var w=V(r(265));t.Identifier=w;var S=V(r(266));t.IdSelector=S;var O=V(r(267));t.MediaFeature=O;var _=V(r(268));t.MediaQuery=_;var E=V(r(269));t.MediaQueryList=E;var x=V(r(270));t.Nth=x;var P=V(r(271));t.Number=P;var k=V(r(272));t.Operator=k;var j=V(r(273));t.Parentheses=j;var T=V(r(274));t.Percentage=T;var A=V(r(275));t.PseudoClassSelector=A;var C=V(r(276));t.PseudoElementSelector=C;var L=V(r(277));t.Ratio=L;var R=V(r(278));t.Raw=R;var I=V(r(279));t.Rule=I;var M=V(r(280));t.Selector=M;var N=V(r(281));t.SelectorList=N;var D=V(r(282));t.String=D;var U=V(r(283));t.StyleSheet=U;var F=V(r(284));t.TypeSelector=F;var B=V(r(285));t.UnicodeRange=B;var q=V(r(286));t.Url=q;var W=V(r(287));t.Value=W;var z=V(r(288));function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(H=function(e){return e?r:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=H(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}t.WhiteSpace=z},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(804),i=(n=r(812))&&n.__esModule?n:{default:n};var a=(0,o.createGenerator)(i.default);t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(15),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerator=function(e){var t=new Map;for(var r in e.node){var n=e.node[r];"function"==typeof(n.generate||n)&&t.set(r,n.generate||n)}return function(e,r){var n="",u=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){u=this.tokenBefore(u,e,t),this.emit(t,e,!1),e===o.Delim&&92===t.charCodeAt(0)&&this.emit("\n",o.WhiteSpace,!0)},emit:function(e){n+=e},result:function(){return n}};r&&("function"==typeof r.decorator&&(l=r.decorator(l)),r.sourceMap&&(l=(0,i.generateSourceMap)(l)),r.mode in a&&(l.tokenBefore=a[r.mode]));var f={node:function(e){return l.node(e)},children:s,token:function(e,t){return l.token(e,t)},tokenize:c};return l.node(e),l.result()}},r(1),r(16),r(26),r(2),r(108),r(4),r(5);var o=r(12),i=r(805),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(811));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){var r=this;if("function"!=typeof t)e.children.forEach(this.node,this);else{var n=null;e.children.forEach((function(e){null!==n&&t.call(r,n),r.node(e),n=e}))}}function c(e){var t=this;(0,o.tokenize)(e,(function(r,n,o){t.token(r,e.slice(n,o))}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSourceMap=function(e){var t=new n.SourceMapGenerator,r={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 n=e.loc.start.line,p=e.loc.start.column-1;i.line===n&&i.column===p||(i.line=n,i.column=p,r.line=s,r.column=c,l&&(l=!1,r.line===a.line&&r.column===a.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:i,generated:r}))}f.call(this,e),l&&o.has(e.type)&&(a.line=s,a.column=c)};var p=e.emit;e.emit=function(e,t,r){for(var n=0;n<e.length;n++)10===e.charCodeAt(n)?(s++,c=0):c++;p(e,t,r)};var d=e.result;return e.result=function(){return l&&t.addMapping(u),{css:d(),map:t}},e},r(2),r(1),r(89),r(4),r(5);var n=r(806),o=new Set(["Atrule","Selector","Declaration"])},function(e,t,r){var n=r(807),o=r(289),i=r(809).ArraySet,a=r(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,r=new u({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=o.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var i=n;null!==t&&(i=o.relative(t,n)),r._sources.has(i)||r._sources.add(i);var a=e.sourceContentFor(n);null!=a&&r.setSourceContent(n,a)})),r},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),r=o.getArg(e,"original",null),n=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},u.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=o.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(e,t,r){var n=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.');n=e.file}var a=this._sourceRoot;null!=a&&(n=o.relative(a,n));var u=new i,s=new i;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=r&&(t.source=o.join(r,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 n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=o.join(r,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,n))}),this)},u.prototype._validateMapping=function(e,t,r,n){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||r||n)&&!(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&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},u.prototype._serializeMappings=function(){for(var e,t,r,i,a=0,u=1,s=0,c=0,l=0,f=0,p="",d=this._mappings.toArray(),h=0,y=d.length;h<y;h++){if(e="",(t=d[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=n.encode(i-f),f=i,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-l),l=r)),p+=e}return p},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var r=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]: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,r){var n=r(808);t.encode=function(e){var t,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),r+=n.encode(t)}while(o>0);return r},t.decode=function(e,t,r){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=n.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);r.value=(u=(a=c)>>1,1==(1&a)?-u:u),r.rest=t}},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[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,r){var n=r(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 r=new a,n=0,o=e.length;n<o;n++)r.add(e[n],t);return r},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var r=i?e:n.toSetString(e),a=i?this.has(e):o.call(this._set,r),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[r]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=n.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 r=n.toSetString(e);if(o.call(this._set,r))return this._set[r]}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,r){var n=r(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,r,o,i,a,u;t=this._last,r=e,o=t.generatedLine,i=r.generatedLine,a=t.generatedColumn,u=r.generatedColumn,i>o||i==o&&u>=a||n.compareByGeneratedPositionsInflated(t,r)<=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(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,r){"use strict";r(3),r(7),r(8),r(26),r(6),r(36),r(19),Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.safe=void 0,r(32),r(2),r(1),r(89),r(4),r(5),r(47);var n=r(12);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(e,t){if(e===n.Delim&&(e=t),"string"==typeof e){var r=e.charCodeAt(0);return r>127?32768:r<<8}return e},u=[[n.Ident,n.Ident],[n.Ident,n.Function],[n.Ident,n.Url],[n.Ident,n.BadUrl],[n.Ident,"-"],[n.Ident,n.Number],[n.Ident,n.Percentage],[n.Ident,n.Dimension],[n.Ident,n.CDC],[n.Ident,n.LeftParenthesis],[n.AtKeyword,n.Ident],[n.AtKeyword,n.Function],[n.AtKeyword,n.Url],[n.AtKeyword,n.BadUrl],[n.AtKeyword,"-"],[n.AtKeyword,n.Number],[n.AtKeyword,n.Percentage],[n.AtKeyword,n.Dimension],[n.AtKeyword,n.CDC],[n.Hash,n.Ident],[n.Hash,n.Function],[n.Hash,n.Url],[n.Hash,n.BadUrl],[n.Hash,"-"],[n.Hash,n.Number],[n.Hash,n.Percentage],[n.Hash,n.Dimension],[n.Hash,n.CDC],[n.Dimension,n.Ident],[n.Dimension,n.Function],[n.Dimension,n.Url],[n.Dimension,n.BadUrl],[n.Dimension,"-"],[n.Dimension,n.Number],[n.Dimension,n.Percentage],[n.Dimension,n.Dimension],[n.Dimension,n.CDC],["#",n.Ident],["#",n.Function],["#",n.Url],["#",n.BadUrl],["#","-"],["#",n.Number],["#",n.Percentage],["#",n.Dimension],["#",n.CDC],["-",n.Ident],["-",n.Function],["-",n.Url],["-",n.BadUrl],["-","-"],["-",n.Number],["-",n.Percentage],["-",n.Dimension],["-",n.CDC],[n.Number,n.Ident],[n.Number,n.Function],[n.Number,n.Url],[n.Number,n.BadUrl],[n.Number,n.Number],[n.Number,n.Percentage],[n.Number,n.Dimension],[n.Number,"%"],[n.Number,n.CDC],["@",n.Ident],["@",n.Function],["@",n.Url],["@",n.BadUrl],["@","-"],["@",n.CDC],[".",n.Number],[".",n.Percentage],[".",n.Dimension],["+",n.Number],["+",n.Percentage],["+",n.Dimension],["/","*"]],s=u.concat([[n.Ident,n.Hash],[n.Dimension,n.Hash],[n.Hash,n.Hash],[n.AtKeyword,n.LeftParenthesis],[n.AtKeyword,n.String],[n.AtKeyword,n.Colon],[n.Percentage,n.Percentage],[n.Percentage,n.Dimension],[n.Percentage,n.Function],[n.Percentage,"-"],[n.RightParenthesis,n.Ident],[n.RightParenthesis,n.Function],[n.RightParenthesis,n.Percentage],[n.RightParenthesis,n.Dimension],[n.RightParenthesis,n.Hash],[n.RightParenthesis,"-"]]);function c(e){var t=new Set(e.map((function(e){var t=o(e,2),r=t[0],n=t[1];return a(r)<<16|a(n)})));return function(e,r,o){var i=a(r,o),u=o.charCodeAt(0);return(45===u&&r!==n.Ident&&r!==n.Function&&r!==n.CDC||43===u?t.has(e<<16|u<<8):t.has(e<<16|i))&&this.emit(" ",n.WhiteSpace,!0),i}}var l=c(u);t.spec=l;var f=c(s);t.safe=f},function(e,t,r){"use strict";function n(e){return(n="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,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.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]}i.default=e,r&&r.set(e,i);return i}(r(813))};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.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 p.generate}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.generate}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.generate}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.generate}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.generate}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.generate}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.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 S.generate}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.generate}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.generate}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return E.generate}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return x.generate}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.generate}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.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 M.generate}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return N.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 q.generate}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.generate}});var n=r(249),o=r(250),i=r(251),a=r(252),u=r(253),s=r(254),c=r(255),l=r(256),f=r(257),p=r(258),d=r(259),h=r(260),y=r(261),v=r(262),m=r(263),b=r(264),g=r(265),w=r(266),S=r(267),O=r(268),_=r(269),E=r(270),x=r(271),P=r(272),k=r(273),j=r(274),T=r(275),A=r(276),C=r(277),L=r(278),R=r(279),I=r(280),M=r(281),N=r(282),D=r(283),U=r(284),F=r(285),B=r(286),q=r(287),W=r(288)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(90)),o=i(r(168));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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,r,i;return t=e,i=[{key:"get",value:function(t){var r=n.default.createHash(t),i=o.default.get(e.localStorageKey);return i&&i[r]?i[r]:null}},{key:"set",value:function(t,r){var i=n.default.createHash(t),a=o.default.get(e.localStorageKey);a&&(a[i]={data:r},o.default.set(a,e.localStorageKey))}},{key:"clear",value:function(){o.default.clear(e.localStorageKey)}}],(r=null)&&a(t.prototype,r),i&&a(t,i),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,r){"use strict";r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(26),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0,r(19),r(6),r(2),r(1),r(89),r(4),r(5),r(108),r(47),r(80),r(69);var n=f(r(0)),o=f(r(169)),i=f(r(176)),a=r(389),u=r(106),s=f(r(90)),c=f(r(66)),l=r(57);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.isValidNode=function(){return!0};var m=new a.ProcessNodeDefinitions(n.default);t.processNodeDefinitions=m;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,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href);return n.default.createElement(u.Footnote,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){var t,r,n;return(null===(t=e.attribs)||void 0===t?void 0:t.href)&&(!(null!==(r=e.attribs)&&void 0!==r&&r["epub:type"])||"noteref"!==(null===(n=e.attribs)||void 0===n?void 0:n["epub:type"]))},processNode:function(e,r){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)),n.default.createElement(u.Link,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&c.default.isRelative(e.attribs.src)},processNode:function(e){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)(),i=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.src);return n.default.createElement(e.name,y(y({},r),{},{key:o,src:i}))}},{shouldProcessNode:function(e){return"audio"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=r.id,a=r.autoPlay,c=(0,l.getControlsPreset)(r),f=o,p=!1;return(0,i.default)(a)||(p=!0,delete r.autoPlay),n.default.createElement(u.Audio,y(y({},r),{},{"data-autoplay":p,controls:c,key:f}),t)}},{shouldProcessNode:function(e){return"video"===e.name},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),a=o.id,f=o.autoPlay,p=(0,l.getControlsPreset)(o),d=a,h=e.attribs.poster?c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.poster):null,v=!1;return(0,i.default)(f)||(v=!0,delete o.autoPlay),n.default.createElement(u.Video,y(y({},o),{},{"data-autoplay":v,controls:p,key:d,poster:h}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name&&e.attribs["data-vimeo"]},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=new Set(["16x9","4x3"]),f=null,d=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=p(e.attribs["data-aspect-ratio"].split("x").map(Number),2),v=h[0],m=h[1];d.set("x",v),d.set("y",m)}delete o["data-vimeo"],delete o["data-vimeo-poster"],delete o["data-aspect-ratio"];for(var b=e.parent;b;){if("tag"===b.type&&b.attribs["data-marker-reference-figure"]){o.useElementOffsetLeft=!1;break}b=b.parent}return n.default.createElement(u.Vimeo,y(y({},o),{},{key:i,posterImage:f,aspectRatio:d}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)();r.spreadLayout=!1;for(var i=e.parent;i;){if("tag"===i.type&&i.attribs["data-marker-reference-figure"]){r.useElementOffsetLeft=!1,r.spreadLayout=!0;break}i=i.parent}return n.default.createElement(u.Iframe,y(y({},r),{},{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,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,o.xlinkHref);return n.default.createElement(e.name,y(y({},o),{},{key:i,xlinkHref:a}),r)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference-figure")},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o="spread-figure-".concat(r["data-marker-reference-figure"]);return n.default.createElement(u.SpreadFigure,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-ultimate")},processNode:function(e,t){return n.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 r=s.default.convertToReactAttrs(e.attribs),o="spread-".concat(r["data-marker-reference"]);return n.default.createElement(u.Spread,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker")},processNode:function(e,t){e.parent.attribs=y(y({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});var r=s.default.convertToReactAttrs(e.attribs),o="marker-".concat(r["data-marker"]);return n.default.createElement(u.Marker,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(){return!0},processNode:m.processDefaultNode}]}},function(e,t,r){"use strict";r(17),r(3),r(14),r(35),r(7),r(8),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(2),r(89),r(4),r(5),r(16),r(91),r(30),r(36),r(26),r(32),r(19),r(92);var n=a(r(176)),o=a(r(353)),i=r(57);function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(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=l(l({},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,r,a;return t=e,(r=[{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,r=e.length-1;r>=0;r--)if(t=e[r],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 r=u(t,2),n=r[0],o=r[1];return e.style[n]=o}))}},{key:"createMarker",value:function(e){var t=document.createTextNode(""),r=document.createElement(this.markerElement);return r.setAttribute("class",this.markerClassNames),r.setAttribute("data-marker",e),r.setAttribute("data-unbound",!1),r.setAttribute("data-final",!1),r.appendChild(t),this.setMarkerStyles(r),r}},{key:"createMarkerId",value:function(){return(0,i.rand)()}},{key:"addMarkerReferenceToChild",value:function(e,t){for(var r=0;r<e.children.length;r++)this.isMarkerReferenceNode(e.children[r])&&e.children[r].setAttribute("data-marker-reference-figure",t)}},{key:"insertMarkers",value:function(e,t){for(var r=this,n=Array.from(e.children).filter((function(e){return!r.isMarker(e)})),o=0;o<n.length;o++){var i=n[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,r,n=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],!n.has(t.nodeName)&&this.isElementNode(t)){for(this.removeBottomSpacing(t),r=t.lastElementChild;r;)this.isMarkerReferenceNode(r)||this.removeBottomSpacing(r),r=r.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]"),r=t.length,n=0;n<r;n++)t[n].setAttribute("data-index",n),t[n].setAttribute("data-final",n===r-1)}},{key:"removeBreakAfterClasses",value:function(e){for(var t=this,r=Array.from(e.children).filter((function(e){return!t.isMarker(e)&&1===e.nodeType})),n=0;n<r.length;n++){var o=r[n],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,r=e.querySelectorAll("[data-marker]"),o=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(o,0),a={},u=!0,s=!0;t=r.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<r.length;l++){var f=r[l].dataset.marker,p=!(0,n.default)(f);console.assert(p,"Marker ".concat(l," does not have a marker attribute"));var d=a[f];console.assert(d,"Reference for marker ".concat(l," (").concat(f,") could not be found")),p||(u=!1),d||(s=!1)}return t&&u&&s}},{key:"parseXML",value:function(e,t){var r,n=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){n.validateDocument(t)||(a=new Error("Invalid markup")),n.addLastNode(i),n.addIndicesToMarkers(i),n.removeBreakAfterClasses(i),r=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(function(e,t){return"<body".concat(t,">").concat(i.body.innerHTML,"</body>")}))}));var u={xml:r,doc:i};return t&&"function"==typeof t?t(a,u):u}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(h,"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 y=h;t.default=y},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(109),r(3),r(7),r(8),r(110),r(111),r(112),r(113),r(16),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(818),r(2),r(1),r(4),r(5),r(164),r(88),r(19),r(819),r(87),r(26),r(69);var o=f(r(0)),i=r(38),a=f(r(58)),u=f(r(185)),s=f(r(90)),c=f(r(66)),l=f(r(41));function f(e){return e&&e.__esModule?e:{default:e}}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,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,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,u,"next",e)}function u(e){d(i,n,o,a,u,"throw",e)}a(void 0)}))}}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=["SCRIPT","STYLE"],_=function(e){return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,O.includes(t));var t},E=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,r){for(var n=t.children.length-1;n>=0;n--){var o=t.children[n];_(o)&&o.parentNode.removeChild(o),"A"===o.nodeName&&E(o),o.children.length&&e(o)}if(void 0!==r){var i=document.createElement("span"),a=document.createTextNode(r);i.classList.add("footnote__content--count"),i.appendChild(a),t.prepend(i)}return t.innerHTML},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&&v(e,t)}(c,e);var t,r,n,i=m(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),S(g(t=i.call(this,e)),"footnoteContainer",o.default.createRef()),S(g(t),"footnoteElement",o.default.createRef()),S(g(t),"getFootnote",h(p().mark((function e(){var r,n,o,i,a,s,c,l,f,d,h,y,v;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.state.content)){e.next=3;break}return e.abrupt("return");case 3:return n=new window.URL(t.props.href),o=n.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(d=f.parentNode;d&&"UL"!==d.nodeName&&"OL"!==d.nodeName;)d=d.parentNode;d&&(y=Number(d.getAttribute("start"))||1,v=Array.prototype.indexOf.call(d.children,f),h=y+v),r=x(f.firstChild,h),t.setState({content:r});case 20:case"end":return e.stop()}}),e)})))),S(g(t),"handleOnMouseOver",(function(e){e&&e.preventDefault(),l.default.isMobile()||t.toggleFootnote()})),S(g(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()})),S(g(t),"handleDocumentClick",(function(e){"A"!==e.target.nodeName&&t.hideFootnote()})),S(g(t),"toggleFootnote",(function(e){return e&&(e.preventDefault(),e.stopPropagation()),t.state.visible?t.hideFootnote():t.showFootnote()})),S(g(t),"showFootnote",function(){var e=h(p().mark((function e(r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r&&r.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)}}()),S(g(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=c,(r=[{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 r=this.footnoteContainer.current.getBoundingClientRect().top,n=this.props.viewerSettings,o=n.paddingTop,i=n.paddingBottom;return r+this.footnoteElement.current.offsetHeight>window.innerHeight-(o+i)}},{key:"footnoteStyles",value:function(){var e,t=this.props.viewerSettings,r=t.columnWidth,n=t.columnGap,o=t.paddingLeft,i=l.default.isMobile(),a=this.getFootnoteOffset()?"bottom":"top",u="bottom"===a?"1rem":"1.5rem",s=S({width:i?window.innerWidth-2*o:"".concat(r+n,"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+r+n:s.left=-1*s.left+o,s.cursor="auto",s):s}},{key:"render",value:function(){var e=this.state,t=e.content,r=e.visible,n=!t||!r;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":n})},o.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:t}}))))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component),k=(0,i.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(){return{}}))(P);t.default=k},function(e,t,r){"use strict";var n=r(11),o=r(149).includes,i=r(9),a=r(156);n({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,r){var n=r(23),o=r(13),i=r(10),a=r(120),u=r(159),s=r(63),c=r(74).f,l=r(61),f=r(331),p=r(39),d=r(318),h=r(206),y=r(820),v=r(40),m=r(9),b=r(25),g=r(44).enforce,w=r(163),S=r(18),O=r(319),_=r(320),E=S("match"),x=o.RegExp,P=x.prototype,k=o.SyntaxError,j=i(P.exec),T=i("".charAt),A=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,M=/a/g,N=new x(I)!==I,D=h.MISSED_STICKY,U=h.UNSUPPORTED_Y,F=n&&(!N||D||O||_||m((function(){return M[E]=!1,x(I)!=I||x(M)==M||"/a/i"!=x(I,"i")})));if(a("RegExp",F)){for(var B=function(e,t){var r,n,o,i,a,c,h=l(P,this),y=f(e),v=void 0===t,m=[],w=e;if(!h&&y&&v&&e.constructor===B)return e;if((y||l(P,e))&&(e=e.source,v&&(t=d(w))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),w=e,O&&"dotAll"in I&&(n=!!t&&C(t,"s")>-1)&&(t=A(t,/s/g,"")),r=t,D&&"sticky"in I&&(o=!!t&&C(t,"y")>-1)&&U&&(t=A(t,/y/g,"")),_&&(e=(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";n<=r;n++){if("\\"===(t=T(e,n)))t+=T(e,++n);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:j(R,L(e,n+1))&&(n+=2,s=!0),o+=t,c++;continue;case">"===t&&s:if(""===l||b(a,l))throw new k("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],m=i[1]),a=u(x(e,t),h?this:P,B),(n||o||m.length)&&(c=g(a),n&&(c.dotAll=!0,c.raw=B(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=T(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+T(e,++n);return o}(e),r)),o&&(c.sticky=!0),m.length&&(c.groups=m)),e!==w)try{s(a,"source",""===w?"(?:)":w)}catch(e){}return a},q=c(x),W=0;q.length>W;)y(B,x,q[W++]);P.constructor=B,B.prototype=P,v(o,"RegExp",B,{constructor:!0})}w("RegExp")},function(e,t,r){var n=r(34).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(47),r(6);var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("div",null,e.books.map((function(t,r){return o.default.createElement("button",{key:r,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)})))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(33),r(109),r(17),r(3),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),r(110),r(111),r(112),r(113),r(6),r(37),r(15),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(430),r(1),r(132),r(26),r(19),r(80),r(30),r(28),r(29);var o=y(r(0)),i=r(59),a=r(38),u=d(r(182)),s=r(106),c=d(r(185)),l=y(r(373)),f=y(r(204)),p=["style","className"];function d(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var g=h.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 S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(g,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return(x=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 r,n=j(e);if(t){var o=j(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){if(t&&("object"===n(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 j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=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)}(f,e);var t,r,n,i,a,l=P(f);function f(){return _(this,f),l.apply(this,arguments)}return t=f,(r=[{key:"UNSAFE_componentWillMount",value:(i=b().mark((function e(){var t,r,n,o,i,a,s,l,f,p,d,h,y,v,m;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.readerSettings,r=t.manifestURL,n=t.disableBodyStyles,o=this.props.readerSettings,i=o.bookURL,a=o.projectURL,s=[],r&&i&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==n&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),!r){e.next=20;break}return e.prev=6,e.next=9,c.default.get(r);case 9:l=e.sent,f=l.data,p=f.resources.find((function(e){return"application/oebps-package+xml"===e.type})),d=p.href,i=d.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:i}),a||(a=r.slice(0,r.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),y=i.split("/").filter(Boolean).pop(),v=(0,u.default)(s,{id:y}),m={},v&&(m.layout=v.layout,m.downloads=v.downloads,m.uiOptions=v.ui_options),m.layout=this.props.readerSettings.layout||m.layout||"columns",this.props.readerSettingsActions.updateSettings(w({books:s,bookURL:i,projectURL:a},m)),this.props.readerLocationActions.setInitialSearchParams();case 41:case"end":return e.stop()}}),e,this,[[6,17],[21,28]])})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){O(o,r,n,a,u,"next",e)}function u(e){O(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var e=this.props.readerLocation.searchParams,t=this.props.readerSettings.bookURL;if(!e||!t)return null;var r=this.props.readerSettings,n=r.style,i=r.className,a=m(r,p);return o.default.createElement(s.Reader,v({style:n,className:i},a))}}])&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.Component),A=(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)}}))(T);t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,r(38).connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((function(e){return n.default.createElement("div",{className:(0,o.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},n.default.createElement("div",{className:"bber-spinner__detail"}))}));t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(825),r(47);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(41))&&o.__esModule?o:{default:o},u=r(179);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){if(t&&("object"===n(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){return i.default.createElement("span",{style:{display:"table",float:"left",paddingLeft:15}},e.children)}function v(e){return i.default.createElement("span",{style:{display:"table-row"}},e.children)}function m(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 b(){var e=a.default.getColumnCount(),t=a.default.getColumnWidth(),r=a.default.getGutterWidth(),n=t+r,o=new Array(e).fill();return i.default.createElement("div",{className:"bber-grid__debug"},o.map((function(e,r){return i.default.createElement("span",{key:r,style:{left:n*r,width:t},className:"bber-grid__debug__line"},r+1)})))}var 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)}(s,e);var t,r,n,o=p(s);function s(){return c(this,s),o.apply(this,arguments)}return t=s,(r=[{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(y,null,i.default.createElement(v,null,i.default.createElement(m,null," "),i.default.createElement(m,null,"Breakpoint X:"),i.default.createElement(m,null,a.default.horizontalSmall()&&"SMALL",a.default.horizontalMedium()&&"MEDIUM",a.default.horizontalLarge()&&"LARGE")),i.default.createElement(v,null,i.default.createElement(m,null," "),i.default.createElement(m,null,"Breakpoint Y:"),i.default.createElement(m,null,a.default.verticalSmall()&&"SMALL",a.default.verticalMedium()&&"MEDIUM",a.default.verticalLarge()&&"LARGE"))),i.default.createElement(y,null,i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalSmall()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalSmall()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalSmall()})),i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalMedium()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalMedium()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalMedium()})),i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalLarge()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalLarge()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalLarge()})))),u.showGrid&&i.default.createElement(b,null)):null}}])&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(i.Component);t.default=g},function(e,t,r){var n=r(11),o=r(247),i=r(156);n({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.left,o=e.children,a=s(e,i);return n.default.createElement("figure",u({style:{left:r}},a),o)}))};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var n=a(r(0)),o=a(r(41)),i=r(27);function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.spreadPosition,r=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(r," > figure,\n .spread-index__").concat(c-2," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(c-1," #spread__").concat(r," > figure,\n .spread-index__").concat(c-1," #spread__").concat(r," > .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(r," > figure,\n .spread-index__").concat(c," #spread__").concat(r," > .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(r," > figure,\n .spread-index__").concat(c+1," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(c+2," #spread__").concat(r," > figure,\n .spread-index__").concat(c+2," #spread__").concat(r," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(s,"px) translate3d(0, 0, 0);\n }\n ");return n.default.createElement("style",{id:"style__".concat(r),"data-position":c},l)};t.default=u},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(1);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(38),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(180));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=window,g=b.requestAnimationFrame,w=b.cancelAnimationFrame,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&&p(e,t)}(a,e);var t,r,n,o=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=o.call.apply(o,[this].concat(r))),"node",i.default.createRef()),m(y(e),"rAF",null),m(y(e),"maxChecks",5),m(y(e),"state",{prevLefts:[]}),m(y(e),"cancel",(function(){w(e.rAF)})),m(y(e),"poll",(function(){var t;if(e.rAF=g(e.poll),null!==(t=e.node)&&void 0!==t&&t.current){var r=e.state.prevLefts,n=e.node.current.offsetLeft;if(r.length<e.maxChecks)return r=r.some((function(e){return e!==n}))?[n]:r.concat(n),void e.setState({prevLefts:r});r=[],e.setState({prevLefts:r},(function(){e.props.viewActions.load(),e.props.viewActions.updateUltimateNodePosition({ultimateOffsetLeft:n}),e.cancel()}))}})),e}return t=a,(r=[{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)}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default.Component),O=(0,a.connect)((function(e){return{view:e.view}}),(function(e){return{viewActions:(0,u.bindActionCreators)(s,e)}}))(S);t.default=O},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(3),r(7),r(8),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(16),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2),r(108),r(1),r(4),r(5);var o=y(r(0)),i=y(r(830)),a=y(r(838)),u=y(r(839)),s=y(r(181)),c=y(r(434)),l=y(r(95)),f=y(r(41)),p=r(840),d=r(57),h=["autoplay"];function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(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 w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O(e,t){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}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 r,n=P(e);if(t){var o=P(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}function x(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=(0,d.isBrowser)("chrome","eq",81),T=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&&O(e,t)}(c,e);var t,r,n,s=_(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),k(x(t=s.call(this,e)),"handleUpdatePlaying",(function(){return t.setState((function(e){return{playing:!e.playing}}))})),k(x(t),"handlePause",(function(){return t.setState({playing:!1})})),k(x(t),"handleEnded",(function(){return t.setState({playing:!1})})),k(x(t),"handleUpdatePosition",(function(){})),k(x(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=c,(r=[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.src,r=e.posterImage,n=e.aspectRatio,o=g((0,p.getURLAndQueryParamters)(t),2),i=o[0],a=o[1],u=(0,p.transformSearchParamsToProps)((0,p.getPlayerPropsFromQueryString)(a),c.blacklistedProps),s=u.autoplay,l=b(u,h),f=u.controls,y=u.muted,v=u.loop;this.setState((function(e){return{url:i,loop:(0,d.unlessDefined)(v,e.loop),muted:(0,d.unlessDefined)(y,e.muted),controls:(0,d.unlessDefined)(f,e.controls),autoplay:(0,d.unlessDefined)(s,e.autoplay),posterImage:r,aspectRatio:n,playerOptions:m({},l)}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var r=(0,p.getPlayingStateOnUpdate)(this.state,this.props,e,t);r&&this.setState(r)}},{key:"render",value:function(){var e,t=this.state,r=t.url,n=t.loop,s=t.muted,c=t.controls,l=t.playing,p=t.posterImage,d=t.playerOptions,h=t.aspectRatio,y=this.props,v=y.iframePlaceholderTop,m=y.iframePlaceholderWidth,b=y.iframePlaceholderHeight,g={};if(j){var w=f.default.isMobile(),S=w?"static":"absolute",O=h.get("x"),_=h.get("y");if(w||(g={top:v,width:m,height:b,position:S}),!w&&m>window.innerWidth){var E=window.innerWidth>=window.innerHeight;g.top="50%",g.left="50%",g.transform="translateX(-50%) translateY(-50%)",E?(g.width="100vw",g.height="100vw",g.minWidth="".concat(O/_*100,"vh")):(g.width="".concat(_/O*100,"vw"),g.height="100vw",g.minHeight="100%")}e=w?0:"".concat(_/O*100,"%")}return o.default.createElement(o.default.Fragment,null,j&&o.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),j&&o.default.createElement("div",{key:"placholder-".concat(r),style:{paddingTop:e},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:g,key:r,ref:this.props.elemRef},o.default.createElement(a.default,{src:p,playing:l,controls:c,handleUpdatePlaying:this.handleUpdatePlaying}),o.default.createElement(i.default,{url:r,width:"100%",height:"100%",loop:n,muted:s,playing:l,controls:c,playsinline:!0,config:{vimeo:{playerOptions:d}},onPause:this.handlePause,onEnded:this.handleEnded}),o.default.createElement(u.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}])&&S(t.prototype,r),n&&S(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component);k(T,"contextType",l.default),k(T,"blacklistedProps",["autopause"]);var A=(0,s.default)((0,c.default)(T,{enabled:j}),{useParentDimensions:!0});t.default=A},function(e,t,r){var n=r(831).createReactPlayer,o=r(836).default;e.exports=n([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var n=P(r(0)),o=l(r(431)),i=l(r(832)),a=l(r(432)),u=r(433),s=r(192),c=l(r(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 p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}function O(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:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}var k=(0,n.lazy)((function(){return Promise.resolve().then((function(){return P(r(835))}))})),j="undefined"!=typeof window&&window.document,T=void 0!==e&&e.window&&e.window.document,A=Object.keys(u.propTypes),C=j||T?n.Suspense:function(){return null},L=[];t.createReactPlayer=function(e,t){var r,l;return l=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}}),t&&g(e,t)}(S,r);var l,f,p,v=w(S);function S(){var r;m(this,S);for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return E(O(r=v.call.apply(v,[this].concat(l))),"state",{showPreview:!!r.props.light}),E(O(r),"references",{wrapper:function(e){r.wrapper=e},player:function(e){r.player=e}}),E(O(r),"handleClickPreview",(function(e){r.setState({showPreview:!1}),r.props.onClickPreview(e)})),E(O(r),"showPreview",(function(){r.setState({showPreview:!0})})),E(O(r),"getDuration",(function(){return r.player?r.player.getDuration():null})),E(O(r),"getCurrentTime",(function(){return r.player?r.player.getCurrentTime():null})),E(O(r),"getSecondsLoaded",(function(){return r.player?r.player.getSecondsLoaded():null})),E(O(r),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null})),E(O(r),"seekTo",(function(e,t){if(!r.player)return null;r.player.seekTo(e,t)})),E(O(r),"handleReady",(function(){r.props.onReady(O(r))})),E(O(r),"getActivePlayer",(0,i.default)((function(r){for(var n=0,o=[].concat(L,y(e));n<o.length;n++){var i=o[n];if(i.canPlay(r))return i}return t||null}))),E(O(r),"getConfig",(0,i.default)((function(e,t){var n=r.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},n,n[t]||{}])}))),E(O(r),"getAttributes",(0,i.default)((function(e){return(0,s.omit)(r.props,A)}))),E(O(r),"renderActivePlayer",(function(e){if(!e)return null;var t=r.getActivePlayer(e);if(!t)return null;var o=r.getConfig(e,t.key);return n.default.createElement(c.default,h({},r.props,{key:t.key,ref:r.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:r.handleReady}))})),r}return l=S,(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,r=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return n.default.createElement(k,{url:e,light:r,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,r=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,s=this.state.showPreview,c=this.getAttributes(t);return n.default.createElement(u,h({ref:this.references.wrapper,style:d(d({},r),{},{width:o,height:i})},c),n.default.createElement(C,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&b(l.prototype,f),p&&b(l,p),S}(n.Component),E(r,"displayName","ReactPlayer"),E(r,"propTypes",u.propTypes),E(r,"defaultProps",u.defaultProps),E(r,"addCustomPlayer",(function(e){L.push(e)})),E(r,"removeCustomPlayers",(function(){L.length=0})),E(r,"canPlay",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){if(n[r].canPlay(t))return!0}return!1})),E(r,"canEnablePIP",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){var o=n[r];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),l}}).call(this,r(52))},function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(o=e[r],i=t[r],!(o===i||n(o)&&n(i)))return!1;var o,i;return!0}t.default=function(e,t){var r;void 0===t&&(t=o);var n,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&r===this&&t(o,i)||(n=e.apply(this,o),a=!0,r=this,i=o),n}}},function(e,t){function r(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 n(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 r in t)e.setAttribute(r,t[r])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?r:n)(a,o),a.onload||r(a,o),i.appendChild(a)}},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},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(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),a=(o=r(432))&&o.__esModule?o:{default:o},u=r(433),s=r(192);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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 r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?v(e):t}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:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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}}),t&&d(e,t)}(u,e);var t,r,n,o=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=o.call.apply(o,[this].concat(r))),"mounted",!1),b(v(e),"isReady",!1),b(v(e),"isPlaying",!1),b(v(e),"isLoading",!0),b(v(e),"loadOnReady",null),b(v(e),"startOnPlay",!0),b(v(e),"seekOnPlay",null),b(v(e),"onDurationCalled",!1),b(v(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())})),b(v(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),b(v(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,r=e.getSecondsLoaded(),n=e.getDuration();if(n){var o={playedSeconds:t,played:t/n};null!==r&&(o.loadedSeconds=r,o.loaded=r/n),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)})),b(v(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,r=t.onReady,n=t.playing,o=t.volume,i=t.muted;r(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):n&&e.player.play(),e.handleDurationCheck()}})),b(v(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,r=t.onStart,n=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),r(),e.startOnPlay=!1),n(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),b(v(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),b(v(e),"handleEnded",(function(){var t=e.props,r=t.activePlayer,n=t.loop,o=t.onEnded;r.loopOnEnded&&n&&e.seekTo(0),n||(e.isPlaying=!1,o())})),b(v(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),b(v(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)})),b(v(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=u,(r=[{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 r=this.props,n=r.url,o=r.playing,i=r.volume,u=r.muted,c=r.playbackRate,l=r.pip,f=r.loop,p=r.activePlayer,d=r.disableDeferredLoading;if(!(0,a.default)(e.url,n)){if(this.isLoading&&!p.forceLoad&&!d&&!(0,s.isMediaStream)(n))return console.warn("ReactPlayer: the attempt to load ".concat(n," is being deferred until the player has loaded")),void(this.loadOnReady=n);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(n,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 r=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var n=this.player.getDuration();return n?void this.player.seekTo(n*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(){r.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&p(t.prototype,r),n&&p(t,n),u}(i.Component);t.default=g,b(g,"displayName","Player"),b(g,"propTypes",u.propTypes),b(g,"defaultProps",u.defaultProps)},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v={},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}}),t&&l(e,t)}(a,e);var t,r,n,i=f(a);function a(){var e;s(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return y(d(e=i.call.apply(i,[this].concat(r))),"mounted",!1),y(d(e),"state",{image:null}),y(d(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.url,n=t.light;e.url===r&&e.light===n||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,r=e.url,n=e.light,o=e.oEmbedUrl;if("string"!=typeof n){if(!v[r])return this.setState({image:null}),window.fetch(o.replace("{url}",r)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var n=e.thumbnail_url.replace("height=100","height=480");t.setState({image:n}),v[r]=n}}));this.setState({image:v[r]})}else this.setState({image:n})}},{key:"render",value:function(){var e=this.props,t=e.onClick,r=e.playIcon,n=e.previewTabIndex,i=this.state.image,a={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:u({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},a),shadow:u({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},a),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:n,onKeyPress:this.handleKeyPress},r||c)}}])&&c(t.prototype,r),n&&c(t,n),a}(o.Component);t.default=m},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},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(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),i=r(192),a=r(837);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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}}),t&&f(e,t)}(u,e);var t,r,n,a=p(u);function u(){var e;c(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(h(e=a.call.apply(a,[this].concat(r))),"callPlayer",i.callPlayer),v(h(e),"duration",null),v(h(e),"currentTime",null),v(h(e),"secondsLoaded",null),v(h(e),"mute",(function(){e.setVolume(0)})),v(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),v(h(e),"ref",(function(t){e.container=t})),e}return t=u,(r=[{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(r){if(t.container){var n=t.props.config,o=n.playerOptions,i=n.title;t.player=new r.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,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 r=e.seconds;t.currentTime=r})),t.player.on("progress",(function(e){var r=e.seconds;t.secondsLoaded=r})),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})}}])&&l(t.prototype,r),n&&l(t,n),u}(o.Component);t.default=m,v(m,"displayName","Vimeo"),v(m,"canPlay",a.canPlay.vimeo),v(m,"forceLoad",!0)},function(e,t,r){"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 n=r(192);function o(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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 p=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=p;var d=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=d;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var y=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=y;var v=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=v;var m=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=m;var b=/^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=b;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 S=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=S;var O=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=O;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_;var E={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)&&!S.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return p.test(e)},twitch:function(e){return d.test(e)||h.test(e)},dailymotion:function(e){return y.test(e)},mixcloud:function(e){return v.test(e)},vidyard:function(e){return m.test(e)},kaltura:function(e){return b.test(e)},file:function e(t){if(t instanceof Array){var r,i=o(t);try{for(i.s();!(r=i.n()).done;){var a=r.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,n.isMediaStream)(t)&&!(0,n.isBlobUrl)(t))||(g.test(t)||w.test(t)||S.test(t)||O.test(t)||_.test(t))}};t.canPlay=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.src,r=e.playing,i=e.controls,a=e.handleUpdatePlaying;return t?n.default.createElement("img",{className:(0,o.default)("bber-poster bber-poster--vimeo",{"bber-visible":!r,"bber-controls":i}),onClick:a,src:t,alt:""}):null};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){return null};t.default=n},function(e,t,r){"use strict";r(3),r(7),r(8),r(36),r(26),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0,r(19),r(80),r(2),r(1),r(89),r(4),r(5),r(32),r(91);var n=u(r(841)),o=u(r(66)),i=u(r(41)),a=r(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 r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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]:[],r=e;t.length&&(r=(0,n.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(r).reduce((function(e,t){var r=s(t,2),n=r[0],i=r[1];return e[n]=a.has(i)?o.has(i):i,e}),{});return u.playsinline=!0,u};t.getPlayingStateOnUpdate=function(e,t,r,n){if(!e.autoplay)return!1;if(!t.view.loaded)return!1;if(r.view.pendingDeferredCallbacks)return!1;var o=e.currentSpreadIndex,u=r.spreadIndex,s=n.spreadIndex;return o!==s&&(o=s,{playing:u===s&&!i.default.isMobile()&&t.readerSettings.layout!==a.layouts.SCROLL,currentSpreadIndex:o})}},function(e,t,r){var n=r(334),o=r(842),i=r(864),a=r(170),u=r(143),s=r(867),c=r(868),l=r(439),f=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),u(e,l(e),r),c&&(r=o(r,7,s));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},function(e,t,r){var n=r(221),o=r(843),i=r(435),a=r(844),u=r(845),s=r(848),c=r(849),l=r(850),f=r(851),p=r(358),d=r(439),h=r(183),y=r(852),v=r(853),m=r(858),b=r(56),g=r(224),w=r(860),S=r(81),O=r(862),_=r(136),E=r(290),x={};x["[object Arguments]"]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object DataView]"]=x["[object Boolean]"]=x["[object Date]"]=x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Map]"]=x["[object Number]"]=x["[object Object]"]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object Symbol]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Error]"]=x["[object Function]"]=x["[object WeakMap]"]=!1,e.exports=function e(t,r,P,k,j,T){var A,C=1&r,L=2&r,R=4&r;if(P&&(A=j?P(t,k,j,T):P(t)),void 0!==A)return A;if(!S(t))return t;var I=b(t);if(I){if(A=y(t),!C)return c(t,A)}else{var M=h(t),N="[object Function]"==M||"[object GeneratorFunction]"==M;if(g(t))return s(t,C);if("[object Object]"==M||"[object Arguments]"==M||N&&!j){if(A=L||N?{}:m(t),!C)return L?f(t,u(A,t)):l(t,a(A,t))}else{if(!x[M])return j?t:{};A=v(t,M,C)}}T||(T=new n);var D=T.get(t);if(D)return D;T.set(t,A),O(t)?t.forEach((function(n){A.add(e(n,r,P,n,t,T))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,P,o,t,T))}));var U=I?void 0:(R?L?d:p:L?E:_)(t);return o(U||t,(function(n,o){U&&(n=t[o=n]),i(A,o,e(n,r,P,o,t,T))})),A}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(143),o=r(136);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(143),o=r(290);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(81),o=r(228),i=r(847),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&r.push(u);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(55),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(225)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(143),o=r(223);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(143),o=r(438);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(291),o=r(854),i=r(855),a=r(856),u=r(857);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,r);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,r);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,r){var n=r(291);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(104),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,r){var n=r(291);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(859),o=r(209),i=r(228);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(81),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e,t,r){var n=r(861),o=r(226),i=r(227),a=i&&i.isMap,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(183),o=r(79);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(863),o=r(226),i=r(227),a=i&&i.isSet,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(183),o=r(79);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(170),o=r(865),i=r(866),a=r(134);e.exports=function(e,t){return t=n(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,r){var n=r(230),o=r(335);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},function(e,t,r){var n=r(130);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(869),o=r(872),i=r(874);e.exports=function(e){return i(o(e,void 0,n),e+"")}},function(e,t,r){var n=r(870);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(222),o=r(871);e.exports=function e(t,r,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];r>0&&i(l)?r>1?e(l,r-1,i,a,u):n(u,l):a||(u[u.length]=l)}return u}},function(e,t,r){var n=r(104),o=r(216),i=r(56),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,r){var n=r(873),o=Math.max;e.exports=function(e,t,r){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]=r(s),n(e,this,c)}}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(875),o=r(877)(n);e.exports=o},function(e,t,r){var n=r(876),o=r(437),i=r(365),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(37);var n=a(r(0)),o=a(r(440)),i=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"video",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=s(r(0)),i=s(r(58)),a=s(r(880)),u=r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(h,e);var t,r,n,s=d(h);function h(){var e;l(this,h);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=s.call.apply(s,[this].concat(r))),"playbackSlow",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.SLOW)})),m(y(e),"playbackNormal",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.NORMAL)})),m(y(e),"playbackFast",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.FAST)})),e}return t=h,(r=[{key:"render",value:function(){var e=this.props,t=e.mediaType,r=e.config;return r?o.default.createElement("div",{className:(0,i.default)("bber-media__controls","bber-media__controls--".concat(t),"bber-media__controls--".concat(r))},o.default.createElement(a.default,c({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.default.Component);t.default=b},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(881)),i=u(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.mediaType,r=c(e,a);return"audio"===t?n.default.createElement(o.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r)):n.default.createElement(i.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r))};t.default=l},function(e,t,r){"use strict";r(17),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(882)),i=s(r(883)),a=s(r(884)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(193)),i=u(r(194)),a=u(r(144));function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(i.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.default,{time:e.timeElapsed}),n.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(o.default,{time:e.timeRemaining}))};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),o=r(441),i=c(r(292)),a=c(r(194)),u=c(r(193)),s=c(r(144));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(u.default,{time:e.timeElapsed}),n.default.createElement(s.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(u.default,{time:e.timeRemaining}),n.default.createElement(i.default,{volume:e.volume,updateVolume:e.updateVolume}))};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(0)),o=d(r(885)),i=d(r(442)),a=r(441),u=d(r(194)),s=d(r(193)),c=d(r(144)),l=d(r(886)),f=d(r(292)),p=d(r(41));function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return n.default.createElement("div",{className:"bber-media__stacked"},n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining})),n.default.createElement("div",{className:"bber-media__stacked__separator"},n.default.createElement("div",{className:"bber-media__stacked__separator--line"})),n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement("div",{style:{marginRight:"auto"}}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc})))}function y(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc}))}var v=function(e){return p.default.isMobile()?n.default.createElement(h,e):n.default.createElement(y,e)};t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return n.default.createElement("button",{className:(0,o.default)("material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")};t.default=i},function(e,t,r){"use strict";r(17),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(443)),i=s(r(444)),a=s(r(889)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(444)),i=a(r(442));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.default,e),n.default.createElement(i.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))};t.default=u},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("video",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(37);var n=a(r(0)),o=a(r(440)),i=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"audio",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("audio",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=c(r(0)),i=c(r(181)),a=c(r(434)),u=c(r(95)),s=c(r(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=(0,r(57).isBrowser)("chrome","eq",81),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&&p(e,t)}(a,e);var t,r,n,i=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=i.call.apply(i,[this].concat(r))),"focusWindow",(function(){return setTimeout((function(){return window.focus()}),60)})),e}return t=a,(r=[{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,r=e.title,n=e.height,i=e.iframePlaceholderTop,a=e.iframePlaceholderWidth,u=this.props.width,c={};if(b){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,b&&o.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),b&&o.default.createElement("div",{key:"placholder-".concat(t),style:{paddingTop:n},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:r,width:u,height:n,webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:"allowfullscreen",allow:"autoplay",frameBorder:"0",scrolling:"no"})))}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);m(g,"contextType",u.default);var w=(0,i.default)((0,a.default)(g,{enabled:b}));t.default=w},function(e,t,r){"use strict";r(372),r(895),r(896),r(897)},function(e,t,r){"use strict";
|
|
34
|
+
var n=r(140),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},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 n.SlowBuffer(e)}},function(e,t,r){"use strict";e.exports=i;var n=r(387),o=Object.create(r(141));function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}o.inherits=r(114),o.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(237)},function(e,t,r){e.exports=r(96)},function(e,t,r){e.exports=r(235).Transform},function(e,t,r){e.exports=r(235).PassThrough},function(e,t,r){var n=r(239),o=r(382);e.exports=function(e,t){var r,i,a;return r=function(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}(t),i=o(e,r),a="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),r.spaces):JSON.stringify(i,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,r){(function(t){var n=r(388);e.exports=function(e,r){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 n(o,r)}}).call(this,r(140).Buffer)},function(e,t,r){"use strict";const n=r(680),o=r(681),i=r(684),a=r(695),u=r(698),s=r(701).Parser,c=r(70).DomHandler,l=r(406),f=r(411),p=r(408);e.exports=function(e){function t(t,r,l,f){const d=function(t){(e=e||{}).decodeEntities=!0;const r=new c;return new s(r,e).parseComplete(t),r.dom.filter((function(e){return"directive"!==e.type}))}(t).map((function(e,t){return function e(t,r,s,c,l){if(r(t)){n((function(e){e.shouldPreprocessNode(t)&&e.preprocessNode(t,l)}),c||[]);const f=o((function(e){return e.shouldProcessNode(t)}),s||[]);if(null!=f){const n=i((function(e){return null==e||!1===e}),a(u)((function(t,n){return e(t,r,s,c,n)}),t.children||[]));return f.replaceChildren?p.createElement(t,l,t.data,[f.processNode(t,n,l)]):f.processNode(t,n,l)}return!1}return!1}(e,r,l,f,t)}));return d.length<=1?d[0]:d}return{parse:function(e){const r=new l;return t(e,f.alwaysValid,r.defaultProcessingInstructions)},parseWithInstructions:t}}},function(e,t,r){var n=r(390),o=r(43)(n("forEach",(function(e,t){for(var r=t.length,n=0;n<r;)e(t[n]),n+=1;return t})));e.exports=o},function(e,t,r){var n=r(43)(r(188)(["find"],r(683),(function(e,t){for(var r=0,n=t.length;r<n;){if(e(t[r]))return t[r];r+=1}})));e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,r){var n=r(43),o=r(391),i=r(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=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(685),o=r(43),i=r(686),a=o((function(e,t){return i(n(e),t)}));e.exports=a},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,r){var n=r(43),o=r(188),i=r(687),a=r(688),u=r(242),s=r(693),c=r(244),l=n(o(["fantasy-land/filter","filter"],s,(function(e,t){return a(t)?u((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},c(t)):i(e,t)})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=[];r<n;)e(t[r])&&(o[o.length]=t[r]),r+=1;return o}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,r){var n=r(82),o=r(241),i=r(690),a=n((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 r=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 r(e)}},function(e,t,r){var n=r(243),o=r(43)((function(e,t){return n(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=o},function(e,t,r){var n=r(43),o=r(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=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){var n=r(190),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(e){return"[object Arguments]"===o.call(e)}:function(e){return n("callee",e)}}();e.exports=i},function(e,t,r){var n=r(696),o=r(82),i=r(392),a=o((function(e){return i(e.length,(function(){var t=0,r=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=r.apply(this,n(arguments,[t,o]));return t+=1,e},e.apply(this,i)}))}));e.exports=a},function(e,t){e.exports=function(e,t){var r;t=t||[];var n=(e=e||[]).length,o=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<o;)i[i.length]=t[r],r+=1;return i}},function(e,t,r){var n=r(243),o=r(187);e.exports=function e(t,r,i){return function(){for(var a=[],u=0,s=t,c=0;c<r.length||u<arguments.length;){var l;c<r.length&&(!o(r[c])||u>=arguments.length)?l=r[c]:(l=arguments[u],u+=1),a[c]=l,o(l)||(s-=1),c+=1}return s<=0?i.apply(this,a):n(s,e(t,a,i))}}},function(e,t,r){var n=r(43),o=r(188),i=r(699),a=r(242),u=r(700),s=r(392),c=r(244),l=n(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(r,n){return r[n]=e(t[n]),r}),{},c(t));default:return i(e,t)}})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=Array(n);r<n;)o[r]=e(t[r]),r+=1;return o}},function(e,t,r){var n=r(43),o=r(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=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},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=r(393);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=r(70);function l(e,t){var r=new c.DomHandler(void 0,t);return new s.Parser(r,t).end(e),r.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,r){var n=new c.DomHandler(e,t,r);return new s.Parser(n,t)};var f=r(394);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return u(f).default}});var p=i(r(142));t.ElementType=p,a(r(397),t),t.DomUtils=i(r(398));var d=r(397);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return d.FeedHandler}})},function(e,t,r){"use strict";var n=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=n(r(703));t.htmlDecodeTree=o.default;var i=n(r(704));t.xmlDecodeTree=i.default;var a,u=n(r(395));function s(e){return function(t,r){for(var n="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(n+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var s=null,l=1,f=0,p=e[f];i<t.length&&!((f=c(e,p,f+1,t.charCodeAt(i)))<0);i++,l++)(p=e[f])&a.HAS_VALUE&&(r&&59!==t.charCodeAt(i)?f+=1:(s=p&a.MULTI_BYTE?String.fromCharCode(e[++f],e[++f]):String.fromCharCode(e[++f]),l=0));null!=s&&(n+=s,o=i-l+1)}else{var d=i+1,h=10,y=t.charCodeAt(d);for(120==(32|y)&&(h=16,i+=1,d+=1);(y=t.charCodeAt(++i))>=48&&y<=57||16===h&&(32|y)>=97&&(32|y)<=102;);if(d!==i){var v=t.substring(d,i),m=parseInt(v,h);if(59===t.charCodeAt(i))i+=1;else if(r)continue;n+=u.default(m),o=i}}return n+t.slice(o)}}function c(e,r,n,o){if(r<=128)return o===r?n:-1;var i=(r&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[n]?n+1:-1;var u=r&a.JUMP_TABLE;if(u){var s=o-t.JUMP_OFFSET_BASE-u;return s<0||s>i?-1:e[n+s]-1}for(var c=n,l=c+i-1;c<=l;){var f=c+l>>>1,p=e[f];if(p<o)c=f+1;else{if(!(p>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,r){"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,r){"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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(r(142)),s=r(706),c=r(710),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",o=0;o<r.length;o++)n+=d(r[o],t);return n}function d(e,t){switch(e.type){case u.Root:return p(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 r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&h.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1})));!t.xmlMode&&y.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(r){var n,o,i=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(o=c.attributeNames.get(r))&&void 0!==o?o:r),t.emptyAttrs||t.xmlMode||""!==i?r+'="'+(!1!==t.decodeEntities?s.encodeXML(i):i.replace(/"/g,"""))+'"':r})).join(" ")}(e.attribs,t);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+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</"+e.name+">"));return o}(e,t);case u.Text:return function(e,t){var r=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(r=s.encodeXML(r));return r}(e,t)}}t.default=p;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y=new Set(["svg","math"])},function(e,t,r){"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 n=r(400),o=r(403);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=r(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=r(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,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(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,r){"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,r){"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 n=r(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 r=[e],n=e.prev,o=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=o;)r.push(o),o=o.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[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,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},function(e,t,r){"use strict";function n(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=n,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.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(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(70);function o(e,t){var r=[],o=[];if(e===t)return 0;for(var i=(0,n.hasChildren)(e)?e:e.parent;i;)r.unshift(i),i=i.parent;for(i=(0,n.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(r.length,o.length),u=0;u<a&&r[u]===o[u];)u++;if(0===u)return 1;var s=r[u-1],c=s.children,l=r[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 r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(399),o=r(405);t.getFeed=function(e){var t=s(f,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,o.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:u(r)};l(n,"id","id",r),l(n,"title","title",r);var o=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);var i=c("summary",r)||c("content",r);i&&(n.description=i);var a=c("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);l(n,"description","subtitle",r);var a=c("updated",r);a&&(n.updated=new Date(a));return l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:u(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};l(i,"title","title",n),l(i,"link","link",n),l(i,"description","description",n);var a=c("lastBuildDate",n);a&&(i.updated=new Date(a));return l(i,"author","managingEditor",n,!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,r={medium:t.medium,isDefault:!!t.isDefault},n=0,o=i;n<o.length;n++){t[c=o[n]]&&(r[c]=t[c])}for(var u=0,s=a;u<s.length;u++){var c;t[c=s[u]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,o.getElementsByTagName)(e,t,r,1)).trim()}function l(e,t,r,n,o){void 0===o&&(o=!1);var i=c(r,n,o);i&&(e[t]=i)}function f(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,r){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},function(e,t,r){(function(t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\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",i="[\\ud800-\\udfff]",a="["+o+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",s="\\d+",c="[\\u2700-\\u27bf]",l="[a-z\\xdf-\\xf6\\xf8-\\xff]",f="[^\\ud800-\\udfff"+o+s+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",p="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",v="[A-Z\\xc0-\\xd6\\xd8-\\xde]",m="(?:"+l+"|"+f+")",b="(?:"+v+"|"+f+")",g="(?:"+u+"|"+p+")"+"?",w="[\\ufe0e\\ufe0f]?"+g+("(?:\\u200d(?:"+[d,h,y].join("|")+")[\\ufe0e\\ufe0f]?"+g+")*"),S="(?:"+[c,h,y].join("|")+")"+w,O="(?:"+[d+u+"?",u,h,y,i].join("|")+")",_=RegExp("['’]","g"),E=RegExp(u,"g"),x=RegExp(p+"(?="+p+")|"+O+w,"g"),P=RegExp([v+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,v,"$"].join("|")+")",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,v+m,"$"].join("|")+")",v+"?"+m+"+(?:['’](?:d|ll|m|re|s|t|ve))?",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",s,S].join("|"),"g"),k=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),j=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,T="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,C=T||A||Function("return this")();var L,R=(L={"À":"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==L?void 0:L[e]});function I(e){return k.test(e)}function M(e){return I(e)?function(e){return e.match(x)||[]}(e):function(e){return e.split("")}(e)}var N=Object.prototype.toString,D=C.Symbol,U=D?D.prototype:void 0,F=U?U.toString:void 0;function B(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==N.call(e)}(e))return F?F.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function q(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}(e,t,r)}function W(e){return null==e?"":B(e)}var z,H=(z=function(e,t,r){return t=t.toLowerCase(),e+(r?G(W(t).toLowerCase()):t)},function(e){return function(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}(function(e,t,n){return e=W(e),void 0===(t=n?void 0:t)?function(e){return j.test(e)}(e)?function(e){return e.match(P)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=W(e))&&e.replace(n,R).replace(E,"")}(e).replace(_,"")),z,"")});var V,G=(V="toUpperCase",function(e){var t=I(e=W(e))?M(e):void 0,r=t?t[0]:e.charAt(0),n=t?q(t,1).join(""):e.slice(1);return r[V]()+n});e.exports=H}).call(this,r(52))},function(e,t,r){var n=r(82),o=r(190),i=n((function(e){var t=[];for(var r in e)o(r,e)&&(t[t.length]=[r,e[r]]);return t}));e.exports=i},function(e,t,r){var n=r(409)(r(242));e.exports=n},function(e,t,r){var n=r(43),o=r(410),i=r(726),a=n((function(e,t){return o(i(e.length,t),e)}));e.exports=a},function(e,t,r){var n=r(721),o=r(722),i=r(723),a=r(190),u=r(724),s=r(244),c=r(725);function l(e,t,r,i){var a=n(e),u=n(t);function s(e,t){return f(e,t,r.slice(),i.slice())}return!o((function(e,t){return!o(s,t,e)}),u,a)}function f(e,t,r,n){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 p=r.length-1;p>=0;){if(r[p]===e)return n[p]===t;p-=1}switch(o){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),r.concat([e]),n.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 d=s(e);if(d.length!==s(t).length)return!1;var h=r.concat([e]),y=n.concat([t]);for(p=d.length-1;p>=0;){var v=d[p];if(!a(v,t)||!f(t[v],e[v],h,y))return!1;p-=1}return!0}e.exports=f},function(e,t){e.exports=function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}},function(e,t){e.exports=function(e,t,r){for(var n=0,o=r.length;n<o;){if(e(t,r[n]))return!0;n+=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,r){var n=r(82)((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));e.exports=n},function(e,t,r){var n=r(43),o=r(188),i=r(727),a=r(728),u=n(o(["take"],i,(function(e,t){return a(0,e<0?1/0:e,t)})));e.exports=u},function(e,t,r){var n=r(43),o=r(391),i=r(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 r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?o(r):r},e}(),u=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(390),o=r(409)(n("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));e.exports=o},function(e,t,r){var n=r(730),o=r(43)(n);e.exports=o},function(e,t,r){var n=r(731);e.exports=function(e,t){return n(t,e,0)>=0}},function(e,t,r){var n=r(410);e.exports=function(e,t,r){var o,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;r<e.length;){if(0===(i=e[r])&&1/i===o)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(i=e[r])&&i!=i)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(n(e[r],t))return r;r+=1}return-1}},function(e,t,r){"use strict";const n=["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 r=t.toLowerCase();return r!==t&&(e[r]=t),e}),{});e.exports=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(16),r(17),r(3),r(7),r(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=r(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=p(r(735));t.ident=a;var u=r(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=r(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=p(r(248));t.string=c;var l=p(r(427));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}t.url=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t){var r={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof n.List?i=i.map(e):i.constructor===Object&&(i=e(i))),r[o]=i}return r},r(47);var n=r(245)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length-1,r="",o=0;o<e.length;o++){var i=e.charCodeAt(o);if(92===i){if(o===t)break;if(i=e.charCodeAt(++o),(0,n.isValidEscape)(92,i)){var a=o-1,u=(0,n.consumeEscaped)(e,a);o=u-1,r+=(0,n.decodeEscaped)(e.substring(a+1,u))}else 13===i&&10===e.charCodeAt(o+1)&&o++}else r+=e[o]}return r},t.encode=function(e){var t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(var r=0;r<e.length;r++){var o=e.charCodeAt(r);0!==o?o<=31||127===o||o>=48&&o<=57&&(0===r||1===r&&45===e.charCodeAt(0))?t+="\\"+o.toString(16)+" ":(0,n.isName)(o)?t+=e.charAt(r):t+="\\"+e.charAt(r):t+="�"}return t},r(1),r(87);var n=r(12)},function(e,t,r){var n=r(11),o=r(10),i=r(75),a=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);n({target:"String",stat:!0,arity:1,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");r[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return c(r,"")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffsetToLocation=void 0;var n=r(415),o=r(246);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){for(var t=e.source,r=t.length,i=t.length>0?(0,o.isBOM)(t.charCodeAt(0)):0,a=(0,n.adoptBuffer)(e.lines,r),u=(0,n.adoptBuffer)(e.columns,r),s=e.startLine,c=e.startColumn,l=i;l<r;l++){var f=t.charCodeAt(l);a[l]=s,u[l]=c++,10!==f&&13!==f&&12!==f||(13===f&&l+1<r&&10===t.charCodeAt(l+1)&&(a[++l]=s,u[l]=c),s++,c=1)}a[r]=s,u[r]=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,r,n;return t=e,(r=[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,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,r){return this.computed||a(this),{source:r,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,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.OffsetToLocation=u},function(e,t,r){"use strict";var n=r(11),o=r(10),i=r(9),a=r(416),u=r(31),s=r(75),c=r(65),l=r(165),f=a.ArrayBuffer,p=a.DataView,d=p.prototype,h=o(f.prototype.slice),y=o(d.getUint8),v=o(d.setUint8);n({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 r=u(this).byteLength,n=s(e,r),o=s(void 0===t?r:t,r),i=new(l(this,f))(c(o-n)),a=new p(this),d=new p(i),m=0;n<o;)v(d,m++,y(a,n++));return i}})},function(e,t){var r=Array,n=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,p=r(s),d=8*s-t-1,h=(1<<d)-1,y=h>>1,v=23===t?o(2,-24)-o(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;for((e=n(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+y>=1?v/f:v*o(2,1-y))*f>=2&&(c++,f/=2),c+y>=h?(l=0,c=h):c+y>=1?(l=(e*f-1)*o(2,t),c+=y):(l=e*o(2,y-1)*o(2,t),c=0));t>=8;)p[b++]=255&l,l/=256,t-=8;for(c=c<<t|l,d+=t;d>0;)p[b++]=255&c,c/=256,d-=8;return p[--b]|=128*m,p},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,u=a>>1,s=i-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;s>0;)f=256*f+e[c--],s-=8;for(r=f&(1<<-s)-1,f>>=-s,s+=t;s>0;)r=256*r+e[c--],s-=8;if(0===f)f=1-u;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=o(2,t),f-=u}return(l?-1:1)*r*o(2,f-t)}}},function(e,t,r){r(741)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},function(e,t,r){"use strict";var n=r(11),o=r(13),i=r(20),a=r(23),u=r(742),s=r(22),c=r(416),l=r(78),f=r(83),p=r(63),d=r(743),h=r(65),y=r(418),v=r(419),m=r(117),b=r(25),g=r(76),w=r(24),S=r(97),O=r(67),_=r(61),E=r(86),x=r(74).f,P=r(745),k=r(46).forEach,j=r(163),T=r(34),A=r(71),C=r(44),L=r(159),R=C.get,I=C.set,M=C.enforce,N=T.f,D=A.f,U=Math.round,F=o.RangeError,B=c.ArrayBuffer,q=B.prototype,W=c.DataView,z=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 r=0,n=t.length,o=new e(n);n>r;)o[r]=t[r++];return o},X=function(e,t){N(e,t,{get:function(){return R(this)[t]}})},Q=function(e){var t;return _(q,e)||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},Z=function(e,t){return Y(e)&&!S(t)&&t in e&&d(+t)&&t>=0},J=function(e,t){return t=m(t),Z(e,t)?f(2,e[t]):D(e,t)},ee=function(e,t,r){return t=m(t),!(Z(e,t)&&w(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?N(e,t,r):(e[t]=r.value,e)};a?(z||(A.f=J,T.f=ee,X(G,"buffer"),X(G,"byteOffset"),X(G,"byteLength"),X(G,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:J,defineProperty:ee}),e.exports=function(e,t,r){var a=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,f="set"+e,d=o[s],m=d,b=m&&m.prototype,g={},S=function(e,t){N(e,t,{get:function(){return function(e,t){var r=R(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=R(e);r&&(n=(n=U(n))<0?0:n>255?255:255&n),o.view[f](t*a+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};z?u&&(m=t((function(e,t,r,n){return l(e,b),L(w(t)?Q(t)?void 0!==n?new d(t,v(r,a),n):void 0!==r?new d(t,v(r,a)):new d(t):Y(t)?$(m,t):i(P,m,t):new d(y(t)),e,m)})),E&&E(m,V),k(x(d),(function(e){e in m||p(m,e,d[e])})),m.prototype=b):(m=t((function(e,t,r,n){l(e,b);var o,u,s,c=0,f=0;if(w(t)){if(!Q(t))return Y(t)?$(m,t):i(P,m,t);o=t,f=v(r,a);var p=t.byteLength;if(void 0===n){if(p%a)throw F("Wrong length");if((u=p-f)<0)throw F("Wrong length")}else if((u=h(n)*a)+f>p)throw F("Wrong length");s=u/a}else s=y(t),o=new B(u=s*a);for(I(e,{buffer:o,byteOffset:f,byteLength:u,length:s,view:new W(o)});c<s;)S(e,c++)})),E&&E(m,V),b=m.prototype=O(G)),b.constructor!==m&&p(b,"constructor",m),M(b).TypedArrayConstructor=m,H&&p(b,H,s);var _=m!=d;g[s]=m,n({global:!0,constructor:!0,forced:_,sham:!z},g),"BYTES_PER_ELEMENT"in m||p(m,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in b||p(b,"BYTES_PER_ELEMENT",a),j(s)}):e.exports=function(){}},function(e,t,r){var n=r(13),o=r(9),i=r(158),a=r(22).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,s=n.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,r){var n=r(24),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},function(e,t,r){var n=r(64),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw o("The argument can't be less than 0");return t}},function(e,t,r){var n=r(68),o=r(20),i=r(210),a=r(42),u=r(45),s=r(157),c=r(129),l=r(203),f=r(22).aTypedArrayConstructor;e.exports=function(e){var t,r,p,d,h,y,v=i(this),m=a(e),b=arguments.length,g=b>1?arguments[1]:void 0,w=void 0!==g,S=c(m);if(S&&!l(S))for(y=(h=s(m,S)).next,m=[];!(d=o(y,h)).done;)m.push(d.value);for(w&&b>2&&(g=n(g,arguments[2])),r=u(m),p=new(f(v))(r),t=0;r>t;t++)p[t]=w?g(m[t],t):m[t];return p}},function(e,t,r){"use strict";var n=r(10),o=r(22),i=n(r(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,r){"use strict";var n=r(42),o=r(75),i=r(45),a=r(420),u=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=i(r),c=o(e,s),l=o(t,s),f=arguments.length>2?arguments[2]:void 0,p=u((void 0===f?s:o(f,s))-l,s-c),d=1;for(l<c&&c<l+p&&(d=-1,l+=p-1,c+=p-1);p-- >0;)l in r?r[c]=r[l]:a(r,c),c+=d,l+=d;return r}},function(e,t,r){"use strict";var n=r(22),o=r(46).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(247),i=r(750),a=r(76),u=r(20),s=r(10),c=r(9),l=n.aTypedArray,f=n.exportTypedArrayMethod,p=s("".slice);f("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(a(this),0,3)?i(e):+e;return u(o,this,r,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,r){var n=r(195),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},function(e,t,r){"use strict";var n=r(22),o=r(46).filter,i=r(752),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,r){var n=r(753),o=r(191);e.exports=function(e,t){return n(o(e),t)}},function(e,t,r){var n=r(45);e.exports=function(e,t){for(var r=0,o=n(t),i=new e(o);o>r;)i[r]=t[r++];return i}},function(e,t,r){"use strict";var n=r(22),o=r(46).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(149).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(149).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(9),i=r(10),a=r(22),u=r(2),s=r(18)("iterator"),c=n.Uint8Array,l=i(u.values),f=i(u.keys),p=i(u.entries),d=a.aTypedArray,h=a.exportTypedArrayMethod,y=c&&c.prototype,v=!o((function(){y[s].call([1])})),m=!!y&&y.values&&y[s]===y.values&&"values"===y.values.name,b=function(){return l(d(this))};h("entries",(function(){return p(d(this))}),v),h("keys",(function(){return f(d(this))}),v),h("values",b,v||!m,{name:"values"}),h(s,b,v||!m,{name:"values"})},function(e,t,r){"use strict";var n=r(22),o=r(10),i=n.aTypedArray,a=n.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},function(e,t,r){"use strict";var n=r(22),o=r(77),i=r(762),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,r){"use strict";var n=r(77),o=r(49),i=r(64),a=r(45),u=r(155),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),p=l||!f;e.exports=p?function(e){if(l)return n(c,this,arguments)||0;var t=o(this),r=a(t),u=r-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=r+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},function(e,t,r){"use strict";var n=r(22),o=r(46).map,i=r(191),a=n.aTypedArray;(0,n.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,r){"use strict";var n=r(22),o=r(421).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(421).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,r=a(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}))},function(e,t,r){"use strict";var n=r(13),o=r(20),i=r(22),a=r(45),u=r(419),s=r(42),c=r(9),l=n.RangeError,f=n.Int8Array,p=f&&f.prototype,d=p&&p.set,h=i.aTypedArray,y=i.exportTypedArrayMethod,v=!c((function(){var e=new Uint8ClampedArray(2);return o(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&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]}));y("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),r=s(e);if(v)return o(d,this,r,t);var n=this.length,i=a(r),c=0;if(i+t>n)throw l("Wrong length");for(;c<i;)this[t+c]=r[c++]}),!v||m)},function(e,t,r){"use strict";var n=r(22),o=r(191),i=r(9),a=r(102),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(u(this),e,t),n=o(this),i=0,s=r.length,c=new n(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,r){"use strict";var n=r(22),o=r(46).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(10),i=r(9),a=r(53),u=r(208),s=r(22),c=r(422),l=r(423),f=r(99),p=r(424),d=s.aTypedArray,h=s.exportTypedArrayMethod,y=n.Uint16Array,v=y&&o(y.prototype.sort),m=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),b=!!v&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(p)return p<602;var e,t,r=new y(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):u(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!b||m)},function(e,t,r){"use strict";var n=r(22),o=r(65),i=r(75),a=r(191),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=u(this),n=r.length,s=i(e,n);return new(a(r))(r.buffer,r.byteOffset+s*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-s))}))},function(e,t,r){"use strict";var n=r(13),o=r(77),i=r(22),a=r(9),u=r(102),s=n.Int8Array,c=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,p=!!s&&a((function(){f.call(new s(1))}));l("toLocaleString",(function(){return o(f,p?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,r){"use strict";var n=r(22).exportTypedArrayMethod,o=r(9),i=r(13),a=r(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;n("toString",c,f)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenStream=void 0,r(2),r(108),r(1),r(4),r(5);var n,o=r(415),i=r(413),a=(n=r(414))&&n.__esModule?n:{default:n},u=r(412);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setSource(t,r)}var t,r,n;return t=e,(r=[{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(){},r=(e=String(e||"")).length,n=(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]=r;break;case s:var p=16777215&l;for(l=i[p],s=l>>24,i[a]=p,i[p++]=a;p<a;p++)i[p]===r&&(i[p]=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}n[a++]=e<<24|o,-1===f&&(f=t)})),n[a]=u.EOF<<24|r,i[a]=r,i[r]=r;0!==l;){var p=16777215&l;l=i[p],i[p]=r}this.source=e,this.firstCharOffset=-1===f?0:f,this.tokenCount=a,this.offsetAndType=n,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 r,n,o=e;e:for(;o<this.tokenCount&&!((r=this.balance[o])<e);o++)switch(n=o>0?16777215&this.offsetAndType[o-1]:this.firstCharOffset,t(this.source.charCodeAt(n))){case 1:break e;case 2:o++;break e;default:this.balance[r]===o&&(o=r)}this.skip(o-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,r=this.firstCharOffset;t<this.tokenCount;t++){var n=r,o=this.offsetAndType[t],i=16777215&o;r=i,e(o>>24,n,i,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(r,n,o,i){t[i]={idx:i,type:a.default[r],chunk:e.source.substring(n,o),balance:e.balance[i]}})),t}}])&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.TokenStream=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(776),i=(n=r(782))&&n.__esModule?n:{default:n};var a=(0,o.createParser)(i.default);t.default=a},function(e,t,r){"use strict";r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(17),r(30),r(14),r(16),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){var t="",r="<unknown>",u=!1,c=f,h=!1,y=new i.OffsetToLocation,v=Object.assign(new i.TokenStream,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:d(e.atrule),pseudo:d(e.pseudo),node:d(e.node)};for(var r in e.parseContext)switch(l(e.parseContext[r])){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=p(e.parseContext[r])}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 n.List},createSingleNodeList:function(e){return(new n.List).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var r=this.tokenIndex;try{return e.call(this)}catch(e){if(h)throw e;var n=t.call(this,r);return h=!0,c(e,n),h=!1,n}},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,r){return t.substring(e,r)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,r){return(0,i.cmpChar)(t,e,r)},cmpStr:function(e,r,n){return(0,i.cmpStr)(t,e,r,n)},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 r=t.substring(this.tokenStart,(0,i.consumeNumber)(t,this.tokenStart));return this.eat(e),r},eat:function(e){if(this.tokenType!==e){var t=i.tokenNames[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),r="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),n=this.tokenStart;switch(e){case i.Ident:this.tokenType===i.Function||this.tokenType===i.Url?(n=this.tokenEnd-1,r="Identifier is expected but function found"):r="Identifier is expected";break;case i.Hash:this.isDelim(35)&&(this.next(),n++,r="Name is expected");break;case i.Percentage:this.tokenType===i.Number&&(n=this.tokenEnd,r="Percent sign is expected")}this.error(r,n)}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?y.getLocationRange(e,t,r):null},getLocationFromList:function(e){if(u){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return y.getLocationRange(null!==t?t.loc.start.offset-y.startOffset:this.tokenStart,null!==n?n.loc.end.offset-y.startOffset:this.tokenStart,r)}return null},error:function(e,r){var n=void 0!==r&&r<t.length?y.getLocation(r):this.eof?y.getLocation((0,i.findWhiteSpaceStart)(t,t.length-1)):y.getLocation(this.tokenStart);throw new o.SyntaxError(e||"Unexpected input",t,n.offset,n.line,n.column)}});return Object.assign((function(e,n){t=e,n=n||{},v.setSource(t,i.tokenize),y.setSource(t,n.offset,n.line,n.column),r=n.filename||"<unknown>",u=Boolean(n.positions),c="function"==typeof n.onParseError?n.onParseError:f,h=!1,v.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),v.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),v.parseValue=!("parseValue"in n)||Boolean(n.parseValue),v.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty);var o=n,a=o.context,s=void 0===a?"default":a,l=o.onComment;if(s in v.context==!1)throw new Error("Unknown context `"+s+"`");"function"==typeof l&&v.forEachToken((function(e,r,n){if(e===i.Comment){var o=v.getLocation(r,n),a=(0,i.cmpStr)(t,n-2,n,"*/")?t.slice(r+2,n-2):t.slice(r+2,n);l(a,o)}}));var p=v.context[s].call(v,n);return v.eof||v.error(),p}),{SyntaxError:o.SyntaxError,config:v.config})},r(37),r(19),r(92),r(26);var n=r(245),o=r(777),i=r(12),a=r(781);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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 p(e){return function(){return this[e]()}}function d(e){var t=Object.create(null);for(var r in e){var n=e[r],o=n.parse||n;o&&(t[r]=o)}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=function(e,t,r,i,a){return Object.assign((0,n.createCustomError)("SyntaxError",e),{source:t,offset:r,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)}})},r(132),r(47),r(26),r(428),r(19),r(80),r(212),r(92),r(30),r(1),r(37);var n=r(780);function o(e,t){var r=e.source,n=e.line,o=e.column;function i(e,t){return a.slice(e,t).map((function(t,r){return String(e+r+1).padStart(c)+" |"+t})).join("\n")}var a=r.split(/\r\n?|\n|\f/),u=Math.max(1,n-t)-1,s=Math.min(n+t,a.length+1),c=Math.max(4,String(s).length)+1,l=0;(o+=(" ".length-1)*(a[n-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,n),new Array(o+c+2).join("-")+"^",i(n,s)].filter(Boolean).join("\n")}},function(e,t,r){var n=r(10),o=r(65),i=r(39),a=r(352),u=r(60),s=n(a),c=n("".slice),l=Math.ceil,f=function(e){return function(t,r,n){var a,f,p=i(u(t)),d=o(r),h=p.length,y=void 0===n?" ":i(n);return d<=h||""==y?p:((f=s(y,l((a=d-h)/y.length))).length>a&&(f=c(f,0,a)),e?p+f:f+p)}};e.exports={start:f(!1),end:f(!0)}},function(e,t,r){var n=r(73);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCustomError=function(e,t){var r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})},r(37),r(19),r(92),r(32)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readSequence=function(e){var t=this.createList(),r=!1,o={recognizer:e};for(;!this.eof;){switch(this.tokenType){case n.Comment:this.next();continue;case n.WhiteSpace:r=!0,this.next();continue}var i=e.getNode.call(this,o);if(void 0===i)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),r=!1),t.push(i)}r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o);return t};var n=r(12)},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(783)),i=s(r(789)),a=s(r(795)),u=l(r(796));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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,r&&r.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return i.default}});var n=a(r(784)),o=a(r(785)),i=a(r(786));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={getNode:((n=r(429))&&n.__esModule?n:{default:n}).default};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12);var 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 n.LeftSquareBracket:return this.AttributeSelector();case n.Hash:return this.IdSelector();case n.Colon:return this.lookupType(1)===n.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case n.Ident:return this.TypeSelector();case n.Number:case n.Percentage:return this.Percentage();case n.Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(429)),o=a(r(787)),i=a(r(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:n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},function(e,t,r){"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===n.Comma){e.push(this.Operator());var t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===r.type&&r.children.isEmpty)for(var o=t-this.tokenIndex;o<=0;o++)if(this.lookupType(o)===n.WhiteSpace){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(r)}return e};var n=r(12)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(790)),o=s(r(791)),i=s(r(792)),a=s(r(793)),u=s(r(794));function s(e){return e&&e.__esModule?e:{default:e}}var c={"font-face":n.default,import:o.default,media:i.default,page:a.default,supports:u.default};t.default=c},function(e,t,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12),o={parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case n.String:e.push(this.String());break;case n.Url:case n.Function:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==n.Ident&&this.lookupNonWSType(0)!==n.LeftParenthesis||e.push(this.MediaQueryList()),e},block:null}};t.default=o},function(e,t,r){"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,r){"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12);function o(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function i(){return this.skipSC(),this.tokenType===n.Ident&&this.lookupNonWSType(1)===n.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 n.Comment:case n.WhiteSpace:this.next();continue;case n.Function:e=this.Function(o,this.scope.AtrulePrelude);break;case n.Ident:e=this.Identifier();break;case n.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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={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:n,lang:o,matches:n,is:n,"-moz-any":n,"-webkit-any":n,where:n,not:n,"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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.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 p.parse}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.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 S.parse}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.parse}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.parse}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.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 M.parse}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return N.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 q.parse}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.parse}});var n=r(249),o=r(250),i=r(251),a=r(252),u=r(253),s=r(254),c=r(255),l=r(256),f=r(257),p=r(258),d=r(259),h=r(260),y=r(261),v=r(262),m=r(263),b=r(264),g=r(265),w=r(266),S=r(267),O=r(268),_=r(269),E=r(270),x=r(271),P=r(272),k=r(273),j=r(274),T=r(275),A=r(276),C=r(277),L=r(278),R=r(279),I=r(280),M=r(281),N=r(282),D=r(283),U=r(284),F=r(285),B=r(286),q=r(287),W=r(288)},function(e,t,r){var n=r(13),o=r(23),i=r(329),a=r(205),u=r(9),s=n.RegExp,c=s.prototype;o&&u((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!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)!==n||r!==n}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(799),i=(n=r(801))&&n.__esModule?n:{default:n};var a=(0,o.createWalker)(i.default);t.default=a},function(e,t,r){"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(36),r(4),r(19),r(8),r(2),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.createWalker=function(e){var t=function(e){var t={};for(var r in e.node)if(i.call(e.node,r)){var n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=c(r,n)}return t}(e),r={},n={},o=Symbol("break-walk"),p=Symbol("skip-node");for(var d in t)i.call(t,d)&&null!==t[d]&&(r[d]=l(t[d],!1),n[d]=l(t[d],!0));var h=f(r),y=f(n),v=function(e,i){function c(e,t,r){var n=l.call(m,e,t,r);return n===o||n!==p&&(!(!d.hasOwnProperty(e.type)||!d[e.type](e,m,c,v))||f.call(m,e,t,r)===o)}var l=a,f=a,d=r,v=function(e,t,r,n){return e||c(t,r,n)},m={break:o,skip:p,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&&(d=n),i.visit)){if(h.hasOwnProperty(i.visit))d=i.reverse?y[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 v.break=o,v.skip=p,v.find=function(e,t){var r=null;return v(e,(function(e,n,i){if(t.call(this,e,n,i))return r=e,o})),r},v.findLast=function(e,t){var r=null;return v(e,{reverse:!0,enter:function(e,n,i){if(t.call(this,e,n,i))return r=e,o}}),r},v.findAll=function(e,t){var r=[];return v(e,(function(e,n,o){t.call(this,e,n,o)&&r.push(e)})),r},v},r(26),r(6),r(1),r(3),r(7),r(132),r(800),r(17),r(430);var i=Object.prototype.hasOwnProperty,a=function(){};function u(e){return"function"==typeof e?e:a}function s(e,t){return function(r,n,o){r.type===t&&e.call(this,r,n,o)}}function c(e,t){var r=t.structure,o=[];for(var a in r)if(!1!==i.call(r,a)){var u=r[a],s={name:a,type:!1,nullable:!1};Array.isArray(u)||(u=[u]);var c,l=n(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 r=e.fields.slice(),o=e.context,i="string"==typeof o;return t&&r.reverse(),function(e,a,u,s){var c;i&&(c=a[o],a[o]=e);var l,f=n(r);try{for(f.s();!(l=f.n()).done;){var p=l.value,d=e[p.name];if(!p.nullable||d)if("list"===p.type){if(t?d.reduceRight(s,!1):d.reduce(s,!1))return!0}else if(u(d))return!0}}catch(e){f.e(e)}finally{f.f()}i&&(a[o]=c)}}function f(e){var t=e.StyleSheet,r=e.Atrule,n=e.Rule,o=e.Block;return{Atrule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Rule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Declaration:{StyleSheet:t,Atrule:r,Rule:n,Block:o,DeclarationList:e.DeclarationList}}}},function(e,t,r){"use strict";var n=r(11),o=r(10),i=r(53),a=r(42),u=r(45),s=r(420),c=r(39),l=r(9),f=r(208),p=r(155),d=r(422),h=r(423),y=r(99),v=r(424),m=[],b=o(m.sort),g=o(m.push),w=l((function(){m.sort(void 0)})),S=l((function(){m.sort(null)})),O=p("sort"),_=!l((function(){if(y)return y<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!S||!O||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?b(t):b(t,e);var r,n,o=[],l=u(t);for(n=0;n<l;n++)n in t&&g(o,t[n]);for(f(o,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o.length,n=0;n<r;)t[n]=o[n++];for(;n<l;)s(t,n++);return t}})},function(e,t,r){"use strict";function n(e){return(n="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,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.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]}i.default=e,r&&r.set(e,i);return i}(r(802))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(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(r(249));t.AnPlusB=o;var i=V(r(250));t.Atrule=i;var a=V(r(251));t.AtrulePrelude=a;var u=V(r(252));t.AttributeSelector=u;var s=V(r(253));t.Block=s;var c=V(r(254));t.Brackets=c;var l=V(r(255));t.CDC=l;var f=V(r(256));t.CDO=f;var p=V(r(257));t.ClassSelector=p;var d=V(r(258));t.Combinator=d;var h=V(r(259));t.Comment=h;var y=V(r(260));t.Declaration=y;var v=V(r(261));t.DeclarationList=v;var m=V(r(262));t.Dimension=m;var b=V(r(263));t.Function=b;var g=V(r(264));t.Hash=g;var w=V(r(265));t.Identifier=w;var S=V(r(266));t.IdSelector=S;var O=V(r(267));t.MediaFeature=O;var _=V(r(268));t.MediaQuery=_;var E=V(r(269));t.MediaQueryList=E;var x=V(r(270));t.Nth=x;var P=V(r(271));t.Number=P;var k=V(r(272));t.Operator=k;var j=V(r(273));t.Parentheses=j;var T=V(r(274));t.Percentage=T;var A=V(r(275));t.PseudoClassSelector=A;var C=V(r(276));t.PseudoElementSelector=C;var L=V(r(277));t.Ratio=L;var R=V(r(278));t.Raw=R;var I=V(r(279));t.Rule=I;var M=V(r(280));t.Selector=M;var N=V(r(281));t.SelectorList=N;var D=V(r(282));t.String=D;var U=V(r(283));t.StyleSheet=U;var F=V(r(284));t.TypeSelector=F;var B=V(r(285));t.UnicodeRange=B;var q=V(r(286));t.Url=q;var W=V(r(287));t.Value=W;var z=V(r(288));function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(H=function(e){return e?r:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=H(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}t.WhiteSpace=z},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(804),i=(n=r(812))&&n.__esModule?n:{default:n};var a=(0,o.createGenerator)(i.default);t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(15),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerator=function(e){var t=new Map;for(var r in e.node){var n=e.node[r];"function"==typeof(n.generate||n)&&t.set(r,n.generate||n)}return function(e,r){var n="",u=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){u=this.tokenBefore(u,e,t),this.emit(t,e,!1),e===o.Delim&&92===t.charCodeAt(0)&&this.emit("\n",o.WhiteSpace,!0)},emit:function(e){n+=e},result:function(){return n}};r&&("function"==typeof r.decorator&&(l=r.decorator(l)),r.sourceMap&&(l=(0,i.generateSourceMap)(l)),r.mode in a&&(l.tokenBefore=a[r.mode]));var f={node:function(e){return l.node(e)},children:s,token:function(e,t){return l.token(e,t)},tokenize:c};return l.node(e),l.result()}},r(1),r(16),r(26),r(2),r(108),r(4),r(5);var o=r(12),i=r(805),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(811));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){var r=this;if("function"!=typeof t)e.children.forEach(this.node,this);else{var n=null;e.children.forEach((function(e){null!==n&&t.call(r,n),r.node(e),n=e}))}}function c(e){var t=this;(0,o.tokenize)(e,(function(r,n,o){t.token(r,e.slice(n,o))}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSourceMap=function(e){var t=new n.SourceMapGenerator,r={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 n=e.loc.start.line,p=e.loc.start.column-1;i.line===n&&i.column===p||(i.line=n,i.column=p,r.line=s,r.column=c,l&&(l=!1,r.line===a.line&&r.column===a.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:i,generated:r}))}f.call(this,e),l&&o.has(e.type)&&(a.line=s,a.column=c)};var p=e.emit;e.emit=function(e,t,r){for(var n=0;n<e.length;n++)10===e.charCodeAt(n)?(s++,c=0):c++;p(e,t,r)};var d=e.result;return e.result=function(){return l&&t.addMapping(u),{css:d(),map:t}},e},r(2),r(1),r(89),r(4),r(5);var n=r(806),o=new Set(["Atrule","Selector","Declaration"])},function(e,t,r){var n=r(807),o=r(289),i=r(809).ArraySet,a=r(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,r=new u({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=o.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var i=n;null!==t&&(i=o.relative(t,n)),r._sources.has(i)||r._sources.add(i);var a=e.sourceContentFor(n);null!=a&&r.setSourceContent(n,a)})),r},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),r=o.getArg(e,"original",null),n=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},u.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=o.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(e,t,r){var n=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.');n=e.file}var a=this._sourceRoot;null!=a&&(n=o.relative(a,n));var u=new i,s=new i;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=r&&(t.source=o.join(r,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 n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=o.join(r,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,n))}),this)},u.prototype._validateMapping=function(e,t,r,n){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||r||n)&&!(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&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},u.prototype._serializeMappings=function(){for(var e,t,r,i,a=0,u=1,s=0,c=0,l=0,f=0,p="",d=this._mappings.toArray(),h=0,y=d.length;h<y;h++){if(e="",(t=d[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=n.encode(i-f),f=i,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-l),l=r)),p+=e}return p},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var r=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]: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,r){var n=r(808);t.encode=function(e){var t,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),r+=n.encode(t)}while(o>0);return r},t.decode=function(e,t,r){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=n.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);r.value=(u=(a=c)>>1,1==(1&a)?-u:u),r.rest=t}},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[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,r){var n=r(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 r=new a,n=0,o=e.length;n<o;n++)r.add(e[n],t);return r},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var r=i?e:n.toSetString(e),a=i?this.has(e):o.call(this._set,r),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[r]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=n.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 r=n.toSetString(e);if(o.call(this._set,r))return this._set[r]}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,r){var n=r(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,r,o,i,a,u;t=this._last,r=e,o=t.generatedLine,i=r.generatedLine,a=t.generatedColumn,u=r.generatedColumn,i>o||i==o&&u>=a||n.compareByGeneratedPositionsInflated(t,r)<=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(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,r){"use strict";r(3),r(7),r(8),r(26),r(6),r(36),r(19),Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.safe=void 0,r(32),r(2),r(1),r(89),r(4),r(5),r(47);var n=r(12);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(e,t){if(e===n.Delim&&(e=t),"string"==typeof e){var r=e.charCodeAt(0);return r>127?32768:r<<8}return e},u=[[n.Ident,n.Ident],[n.Ident,n.Function],[n.Ident,n.Url],[n.Ident,n.BadUrl],[n.Ident,"-"],[n.Ident,n.Number],[n.Ident,n.Percentage],[n.Ident,n.Dimension],[n.Ident,n.CDC],[n.Ident,n.LeftParenthesis],[n.AtKeyword,n.Ident],[n.AtKeyword,n.Function],[n.AtKeyword,n.Url],[n.AtKeyword,n.BadUrl],[n.AtKeyword,"-"],[n.AtKeyword,n.Number],[n.AtKeyword,n.Percentage],[n.AtKeyword,n.Dimension],[n.AtKeyword,n.CDC],[n.Hash,n.Ident],[n.Hash,n.Function],[n.Hash,n.Url],[n.Hash,n.BadUrl],[n.Hash,"-"],[n.Hash,n.Number],[n.Hash,n.Percentage],[n.Hash,n.Dimension],[n.Hash,n.CDC],[n.Dimension,n.Ident],[n.Dimension,n.Function],[n.Dimension,n.Url],[n.Dimension,n.BadUrl],[n.Dimension,"-"],[n.Dimension,n.Number],[n.Dimension,n.Percentage],[n.Dimension,n.Dimension],[n.Dimension,n.CDC],["#",n.Ident],["#",n.Function],["#",n.Url],["#",n.BadUrl],["#","-"],["#",n.Number],["#",n.Percentage],["#",n.Dimension],["#",n.CDC],["-",n.Ident],["-",n.Function],["-",n.Url],["-",n.BadUrl],["-","-"],["-",n.Number],["-",n.Percentage],["-",n.Dimension],["-",n.CDC],[n.Number,n.Ident],[n.Number,n.Function],[n.Number,n.Url],[n.Number,n.BadUrl],[n.Number,n.Number],[n.Number,n.Percentage],[n.Number,n.Dimension],[n.Number,"%"],[n.Number,n.CDC],["@",n.Ident],["@",n.Function],["@",n.Url],["@",n.BadUrl],["@","-"],["@",n.CDC],[".",n.Number],[".",n.Percentage],[".",n.Dimension],["+",n.Number],["+",n.Percentage],["+",n.Dimension],["/","*"]],s=u.concat([[n.Ident,n.Hash],[n.Dimension,n.Hash],[n.Hash,n.Hash],[n.AtKeyword,n.LeftParenthesis],[n.AtKeyword,n.String],[n.AtKeyword,n.Colon],[n.Percentage,n.Percentage],[n.Percentage,n.Dimension],[n.Percentage,n.Function],[n.Percentage,"-"],[n.RightParenthesis,n.Ident],[n.RightParenthesis,n.Function],[n.RightParenthesis,n.Percentage],[n.RightParenthesis,n.Dimension],[n.RightParenthesis,n.Hash],[n.RightParenthesis,"-"]]);function c(e){var t=new Set(e.map((function(e){var t=o(e,2),r=t[0],n=t[1];return a(r)<<16|a(n)})));return function(e,r,o){var i=a(r,o),u=o.charCodeAt(0);return(45===u&&r!==n.Ident&&r!==n.Function&&r!==n.CDC||43===u?t.has(e<<16|u<<8):t.has(e<<16|i))&&this.emit(" ",n.WhiteSpace,!0),i}}var l=c(u);t.spec=l;var f=c(s);t.safe=f},function(e,t,r){"use strict";function n(e){return(n="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,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.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]}i.default=e,r&&r.set(e,i);return i}(r(813))};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.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 p.generate}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.generate}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.generate}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.generate}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.generate}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.generate}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.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 S.generate}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.generate}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.generate}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return E.generate}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return x.generate}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.generate}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.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 M.generate}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return N.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 q.generate}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.generate}});var n=r(249),o=r(250),i=r(251),a=r(252),u=r(253),s=r(254),c=r(255),l=r(256),f=r(257),p=r(258),d=r(259),h=r(260),y=r(261),v=r(262),m=r(263),b=r(264),g=r(265),w=r(266),S=r(267),O=r(268),_=r(269),E=r(270),x=r(271),P=r(272),k=r(273),j=r(274),T=r(275),A=r(276),C=r(277),L=r(278),R=r(279),I=r(280),M=r(281),N=r(282),D=r(283),U=r(284),F=r(285),B=r(286),q=r(287),W=r(288)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(90)),o=i(r(168));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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,r,i;return t=e,i=[{key:"get",value:function(t){var r=n.default.createHash(t),i=o.default.get(e.localStorageKey);return i&&i[r]?i[r]:null}},{key:"set",value:function(t,r){var i=n.default.createHash(t),a=o.default.get(e.localStorageKey);a&&(a[i]={data:r},o.default.set(a,e.localStorageKey))}},{key:"clear",value:function(){o.default.clear(e.localStorageKey)}}],(r=null)&&a(t.prototype,r),i&&a(t,i),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,r){"use strict";r(17),r(3),r(30),r(14),r(16),r(35),r(7),r(8),r(26),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0,r(19),r(6),r(2),r(1),r(89),r(4),r(5),r(108),r(47),r(80),r(69);var n=f(r(0)),o=f(r(169)),i=f(r(176)),a=r(389),u=r(106),s=f(r(90)),c=f(r(66)),l=r(57);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.isValidNode=function(){return!0};var m=new a.ProcessNodeDefinitions(n.default);t.processNodeDefinitions=m;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,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href);return n.default.createElement(u.Footnote,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){var t,r,n;return(null===(t=e.attribs)||void 0===t?void 0:t.href)&&(!(null!==(r=e.attribs)&&void 0!==r&&r["epub:type"])||"noteref"!==(null===(n=e.attribs)||void 0===n?void 0:n["epub:type"]))},processNode:function(e,r){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)),n.default.createElement(u.Link,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&c.default.isRelative(e.attribs.src)},processNode:function(e){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)(),i=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.src);return n.default.createElement(e.name,y(y({},r),{},{key:o,src:i}))}},{shouldProcessNode:function(e){return"audio"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=r.id,a=r.autoPlay,c=(0,l.getControlsPreset)(r),f=o,p=!1;return(0,i.default)(a)||(p=!0,delete r.autoPlay),n.default.createElement(u.Audio,y(y({},r),{},{"data-autoplay":p,controls:c,key:f}),t)}},{shouldProcessNode:function(e){return"video"===e.name},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),a=o.id,f=o.autoPlay,p=(0,l.getControlsPreset)(o),d=a,h=e.attribs.poster?c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.poster):null,v=!1;return(0,i.default)(f)||(v=!0,delete o.autoPlay),n.default.createElement(u.Video,y(y({},o),{},{"data-autoplay":v,controls:p,key:d,poster:h}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name&&e.attribs["data-vimeo"]},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=new Set(["16x9","4x3"]),f=null,d=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=p(e.attribs["data-aspect-ratio"].split("x").map(Number),2),v=h[0],m=h[1];d.set("x",v),d.set("y",m)}delete o["data-vimeo"],delete o["data-vimeo-poster"],delete o["data-aspect-ratio"];for(var b=e.parent;b;){if("tag"===b.type&&b.attribs["data-marker-reference-figure"]){o.useElementOffsetLeft=!1;break}b=b.parent}return n.default.createElement(u.Vimeo,y(y({},o),{},{key:i,posterImage:f,aspectRatio:d}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)();r.spreadLayout=!1;for(var i=e.parent;i;){if("tag"===i.type&&i.attribs["data-marker-reference-figure"]){r.useElementOffsetLeft=!1,r.spreadLayout=!0;break}i=i.parent}return n.default.createElement(u.Iframe,y(y({},r),{},{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,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,o.xlinkHref);return n.default.createElement(e.name,y(y({},o),{},{key:i,xlinkHref:a}),r)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference-figure")},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o="spread-figure-".concat(r["data-marker-reference-figure"]);return n.default.createElement(u.SpreadFigure,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-ultimate")},processNode:function(e,t){return n.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 r=s.default.convertToReactAttrs(e.attribs),o="spread-".concat(r["data-marker-reference"]);return n.default.createElement(u.Spread,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker")},processNode:function(e,t){e.parent.attribs=y(y({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});var r=s.default.convertToReactAttrs(e.attribs),o="marker-".concat(r["data-marker"]);return n.default.createElement(u.Marker,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(){return!0},processNode:m.processDefaultNode}]}},function(e,t,r){"use strict";r(17),r(3),r(14),r(35),r(7),r(8),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(2),r(89),r(4),r(5),r(16),r(91),r(30),r(36),r(26),r(32),r(19),r(92);var n=a(r(176)),o=a(r(353)),i=r(57);function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(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=l(l({},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,r,a;return t=e,(r=[{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,r=e.length-1;r>=0;r--)if(t=e[r],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 r=u(t,2),n=r[0],o=r[1];return e.style[n]=o}))}},{key:"createMarker",value:function(e){var t=document.createTextNode(""),r=document.createElement(this.markerElement);return r.setAttribute("class",this.markerClassNames),r.setAttribute("data-marker",e),r.setAttribute("data-unbound",!1),r.setAttribute("data-final",!1),r.appendChild(t),this.setMarkerStyles(r),r}},{key:"createMarkerId",value:function(){return(0,i.rand)()}},{key:"addMarkerReferenceToChild",value:function(e,t){for(var r=0;r<e.children.length;r++)this.isMarkerReferenceNode(e.children[r])&&e.children[r].setAttribute("data-marker-reference-figure",t)}},{key:"insertMarkers",value:function(e,t){for(var r=this,n=Array.from(e.children).filter((function(e){return!r.isMarker(e)})),o=0;o<n.length;o++){var i=n[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,r,n=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],!n.has(t.nodeName)&&this.isElementNode(t)){for(this.removeBottomSpacing(t),r=t.lastElementChild;r;)this.isMarkerReferenceNode(r)||this.removeBottomSpacing(r),r=r.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]"),r=t.length,n=0;n<r;n++)t[n].setAttribute("data-index",n),t[n].setAttribute("data-final",n===r-1)}},{key:"removeBreakAfterClasses",value:function(e){for(var t=this,r=Array.from(e.children).filter((function(e){return!t.isMarker(e)&&1===e.nodeType})),n=0;n<r.length;n++){var o=r[n],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,r=e.querySelectorAll("[data-marker]"),o=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(o,0),a={},u=!0,s=!0;t=r.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<r.length;l++){var f=r[l].dataset.marker,p=!(0,n.default)(f);console.assert(p,"Marker ".concat(l," does not have a marker attribute"));var d=a[f];console.assert(d,"Reference for marker ".concat(l," (").concat(f,") could not be found")),p||(u=!1),d||(s=!1)}return t&&u&&s}},{key:"parseXML",value:function(e,t){var r,n=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){n.validateDocument(t)||(a=new Error("Invalid markup")),n.addLastNode(i),n.addIndicesToMarkers(i),n.removeBreakAfterClasses(i),r=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(function(e,t){return"<body".concat(t,">").concat(i.body.innerHTML,"</body>")}))}));var u={xml:r,doc:i};return t&&"function"==typeof t?t(a,u):u}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(h,"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 y=h;t.default=y},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(109),r(3),r(7),r(8),r(110),r(111),r(112),r(113),r(16),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(818),r(2),r(1),r(4),r(5),r(164),r(88),r(19),r(819),r(87),r(26),r(69);var o=f(r(0)),i=r(38),a=f(r(58)),u=f(r(185)),s=f(r(90)),c=f(r(66)),l=f(r(41));function f(e){return e&&e.__esModule?e:{default:e}}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,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,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,u,"next",e)}function u(e){d(i,n,o,a,u,"throw",e)}a(void 0)}))}}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(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 S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=["SCRIPT","STYLE"],_=function(e){return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,O.includes(t));var t},E=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,r){for(var n=t.children.length-1;n>=0;n--){var o=t.children[n];_(o)&&o.parentNode.removeChild(o),"A"===o.nodeName&&E(o),o.children.length&&e(o)}if(void 0!==r){var i=document.createElement("span"),a=document.createTextNode(r);i.classList.add("footnote__content--count"),i.appendChild(a),t.prepend(i)}return t.innerHTML},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&&v(e,t)}(c,e);var t,r,n,i=m(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),S(g(t=i.call(this,e)),"footnoteContainer",o.default.createRef()),S(g(t),"footnoteElement",o.default.createRef()),S(g(t),"getFootnote",h(p().mark((function e(){var r,n,o,i,a,s,c,l,f,d,h,y,v;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.state.content)){e.next=3;break}return e.abrupt("return");case 3:return n=new window.URL(t.props.href),o=n.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(d=f.parentNode;d&&"UL"!==d.nodeName&&"OL"!==d.nodeName;)d=d.parentNode;d&&(y=Number(d.getAttribute("start"))||1,v=Array.prototype.indexOf.call(d.children,f),h=y+v),r=x(f.firstChild,h),t.setState({content:r});case 20:case"end":return e.stop()}}),e)})))),S(g(t),"handleOnMouseOver",(function(e){e&&e.preventDefault(),l.default.isMobile()||t.toggleFootnote()})),S(g(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()})),S(g(t),"handleDocumentClick",(function(e){"A"!==e.target.nodeName&&t.hideFootnote()})),S(g(t),"toggleFootnote",(function(e){return e&&(e.preventDefault(),e.stopPropagation()),t.state.visible?t.hideFootnote():t.showFootnote()})),S(g(t),"showFootnote",function(){var e=h(p().mark((function e(r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r&&r.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)}}()),S(g(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=c,(r=[{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 r=this.footnoteContainer.current.getBoundingClientRect().top,n=this.props.viewerSettings,o=n.paddingTop,i=n.paddingBottom;return r+this.footnoteElement.current.offsetHeight>window.innerHeight-(o+i)}},{key:"footnoteStyles",value:function(){var e,t=this.props.viewerSettings,r=t.columnWidth,n=t.columnGap,o=t.paddingLeft,i=l.default.isMobile(),a=this.getFootnoteOffset()?"bottom":"top",u="bottom"===a?"1rem":"1.5rem",s=S({width:i?window.innerWidth-2*o:"".concat(r+n,"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+r+n:s.left=-1*s.left+o,s.cursor="auto",s):s}},{key:"render",value:function(){var e=this.state,t=e.content,r=e.visible,n=!t||!r;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":n})},o.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:t}}))))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component),k=(0,i.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(){return{}}))(P);t.default=k},function(e,t,r){"use strict";var n=r(11),o=r(149).includes,i=r(9),a=r(156);n({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,r){var n=r(23),o=r(13),i=r(10),a=r(120),u=r(159),s=r(63),c=r(74).f,l=r(61),f=r(331),p=r(39),d=r(318),h=r(206),y=r(820),v=r(40),m=r(9),b=r(25),g=r(44).enforce,w=r(163),S=r(18),O=r(319),_=r(320),E=S("match"),x=o.RegExp,P=x.prototype,k=o.SyntaxError,j=i(P.exec),T=i("".charAt),A=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,M=/a/g,N=new x(I)!==I,D=h.MISSED_STICKY,U=h.UNSUPPORTED_Y,F=n&&(!N||D||O||_||m((function(){return M[E]=!1,x(I)!=I||x(M)==M||"/a/i"!=x(I,"i")})));if(a("RegExp",F)){for(var B=function(e,t){var r,n,o,i,a,c,h=l(P,this),y=f(e),v=void 0===t,m=[],w=e;if(!h&&y&&v&&e.constructor===B)return e;if((y||l(P,e))&&(e=e.source,v&&(t=d(w))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),w=e,O&&"dotAll"in I&&(n=!!t&&C(t,"s")>-1)&&(t=A(t,/s/g,"")),r=t,D&&"sticky"in I&&(o=!!t&&C(t,"y")>-1)&&U&&(t=A(t,/y/g,"")),_&&(e=(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";n<=r;n++){if("\\"===(t=T(e,n)))t+=T(e,++n);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:j(R,L(e,n+1))&&(n+=2,s=!0),o+=t,c++;continue;case">"===t&&s:if(""===l||b(a,l))throw new k("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],m=i[1]),a=u(x(e,t),h?this:P,B),(n||o||m.length)&&(c=g(a),n&&(c.dotAll=!0,c.raw=B(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=T(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+T(e,++n);return o}(e),r)),o&&(c.sticky=!0),m.length&&(c.groups=m)),e!==w)try{s(a,"source",""===w?"(?:)":w)}catch(e){}return a},q=c(x),W=0;q.length>W;)y(B,x,q[W++]);P.constructor=B,B.prototype=P,v(o,"RegExp",B,{constructor:!0})}w("RegExp")},function(e,t,r){var n=r(34).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(47),r(6);var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("div",null,e.books.map((function(t,r){return o.default.createElement("button",{key:r,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)})))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(33),r(109),r(17),r(3),r(14),r(16),r(35),r(7),r(8),r(2),r(4),r(5),r(110),r(111),r(112),r(113),r(6),r(37),r(15),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(430),r(1),r(132),r(26),r(19),r(80),r(30),r(28),r(29);var o=y(r(0)),i=r(59),a=r(38),u=d(r(182)),s=r(106),c=d(r(185)),l=y(r(373)),f=y(r(204)),p=["style","className"];function d(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.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,r&&r.set(e,o),o}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var g=h.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 S(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,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).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 O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(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 n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.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 _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],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 d.prototype=h,s(g,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"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(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?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 r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,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(E),!e)for(var t in this)"t"===t.charAt(0)&&r.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 n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t){return(x=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 r,n=j(e);if(t){var o=j(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){if(t&&("object"===n(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 j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=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)}(f,e);var t,r,n,i,a,l=P(f);function f(){return _(this,f),l.apply(this,arguments)}return t=f,(r=[{key:"UNSAFE_componentWillMount",value:(i=b().mark((function e(){var t,r,n,o,i,a,s,l,f,p,d,h,y,v,m;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.readerSettings,r=t.manifestURL,n=t.disableBodyStyles,o=this.props.readerSettings,i=o.bookURL,a=o.projectURL,s=[],r&&i&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==n&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),!r){e.next=20;break}return e.prev=6,e.next=9,c.default.get(r);case 9:l=e.sent,f=l.data,p=f.resources.find((function(e){return"application/oebps-package+xml"===e.type})),d=p.href,i=d.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:i}),a||(a=r.slice(0,r.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),y=i.split("/").filter(Boolean).pop(),v=(0,u.default)(s,{id:y}),m={},v&&(m.layout=v.layout,m.downloads=v.downloads,m.uiOptions=v.ui_options),m.layout=this.props.readerSettings.layout||m.layout||"columns",this.props.readerSettingsActions.updateSettings(w({books:s,bookURL:i,projectURL:a},m)),this.props.readerLocationActions.setInitialSearchParams();case 41:case"end":return e.stop()}}),e,this,[[6,17],[21,28]])})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){O(o,r,n,a,u,"next",e)}function u(e){O(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var e=this.props.readerLocation.searchParams,t=this.props.readerSettings.bookURL;if(!e||!t)return null;var r=this.props.readerSettings,n=r.style,i=r.className,a=m(r,p);return o.default.createElement(s.Reader,v({style:n,className:i},a))}}])&&E(t.prototype,r),n&&E(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.Component),A=(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)}}))(T);t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,r(38).connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((function(e){return n.default.createElement("div",{className:(0,o.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},n.default.createElement("div",{className:"bber-spinner__detail"}))}));t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(825),r(47);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(41))&&o.__esModule?o:{default:o},u=r(179);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){if(t&&("object"===n(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){return i.default.createElement("span",{style:{display:"table",float:"left",paddingLeft:15}},e.children)}function v(e){return i.default.createElement("span",{style:{display:"table-row"}},e.children)}function m(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 b(){var e=a.default.getColumnCount(),t=a.default.getColumnWidth(),r=a.default.getGutterWidth(),n=t+r,o=new Array(e).fill();return i.default.createElement("div",{className:"bber-grid__debug"},o.map((function(e,r){return i.default.createElement("span",{key:r,style:{left:n*r,width:t},className:"bber-grid__debug__line"},r+1)})))}var 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)}(s,e);var t,r,n,o=p(s);function s(){return c(this,s),o.apply(this,arguments)}return t=s,(r=[{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(y,null,i.default.createElement(v,null,i.default.createElement(m,null," "),i.default.createElement(m,null,"Breakpoint X:"),i.default.createElement(m,null,a.default.horizontalSmall()&&"SMALL",a.default.horizontalMedium()&&"MEDIUM",a.default.horizontalLarge()&&"LARGE")),i.default.createElement(v,null,i.default.createElement(m,null," "),i.default.createElement(m,null,"Breakpoint Y:"),i.default.createElement(m,null,a.default.verticalSmall()&&"SMALL",a.default.verticalMedium()&&"MEDIUM",a.default.verticalLarge()&&"LARGE"))),i.default.createElement(y,null,i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalSmall()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalSmall()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalSmall()})),i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalMedium()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalMedium()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalMedium()})),i.default.createElement(v,null,i.default.createElement(m,{cond:a.default.horizontalSmall()&&a.default.verticalLarge()}),i.default.createElement(m,{cond:a.default.horizontalMedium()&&a.default.verticalLarge()}),i.default.createElement(m,{cond:a.default.horizontalLarge()&&a.default.verticalLarge()})))),u.showGrid&&i.default.createElement(b,null)):null}}])&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(i.Component);t.default=g},function(e,t,r){var n=r(11),o=r(247),i=r(156);n({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.left,o=e.children,a=s(e,i);return n.default.createElement("figure",u({style:{left:r}},a),o)}))};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var n=a(r(0)),o=a(r(41)),i=r(27);function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.spreadPosition,r=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(r," > figure,\n .spread-index__").concat(c-2," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(c-1," #spread__").concat(r," > figure,\n .spread-index__").concat(c-1," #spread__").concat(r," > .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(r," > figure,\n .spread-index__").concat(c," #spread__").concat(r," > .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(r," > figure,\n .spread-index__").concat(c+1," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(c+2," #spread__").concat(r," > figure,\n .spread-index__").concat(c+2," #spread__").concat(r," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(s,"px) translate3d(0, 0, 0);\n }\n ");return n.default.createElement("style",{id:"style__".concat(r),"data-position":c},l)};t.default=u},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(1);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(38),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.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]}o.default=e,r&&r.set(e,o);return o}(r(180));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=window,g=b.requestAnimationFrame,w=b.cancelAnimationFrame,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&&p(e,t)}(a,e);var t,r,n,o=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=o.call.apply(o,[this].concat(r))),"node",i.default.createRef()),m(y(e),"rAF",null),m(y(e),"maxChecks",5),m(y(e),"state",{prevLefts:[]}),m(y(e),"cancel",(function(){w(e.rAF)})),m(y(e),"poll",(function(){var t;if(e.rAF=g(e.poll),null!==(t=e.node)&&void 0!==t&&t.current){var r=e.state.prevLefts,n=e.node.current.offsetLeft;if(r.length<e.maxChecks)return r=r.some((function(e){return e!==n}))?[n]:r.concat(n),void e.setState({prevLefts:r});r=[],e.setState({prevLefts:r},(function(){e.props.viewActions.load(),e.props.viewActions.updateUltimateNodePosition({ultimateOffsetLeft:n}),e.cancel()}))}})),e}return t=a,(r=[{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)}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default.Component),O=(0,a.connect)((function(e){return{view:e.view}}),(function(e){return{viewActions:(0,u.bindActionCreators)(s,e)}}))(S);t.default=O},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(3),r(7),r(8),r(26),r(6),r(36),r(19),r(17),r(30),r(14),r(16),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2),r(108),r(1),r(4),r(5);var o=y(r(0)),i=y(r(830)),a=y(r(838)),u=y(r(839)),s=y(r(181)),c=y(r(434)),l=y(r(95)),f=y(r(41)),p=r(840),d=r(57),h=["autoplay"];function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(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 w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O(e,t){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}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 r,n=P(e);if(t){var o=P(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}function x(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=(0,d.isBrowser)("chrome","eq",81),T=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&&O(e,t)}(c,e);var t,r,n,s=_(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),k(x(t=s.call(this,e)),"handleUpdatePlaying",(function(){return t.setState((function(e){return{playing:!e.playing}}))})),k(x(t),"handlePause",(function(){return t.setState({playing:!1})})),k(x(t),"handleEnded",(function(){return t.setState({playing:!1})})),k(x(t),"handleUpdatePosition",(function(){})),k(x(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=c,(r=[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.src,r=e.posterImage,n=e.aspectRatio,o=g((0,p.getURLAndQueryParamters)(t),2),i=o[0],a=o[1],u=(0,p.transformSearchParamsToProps)((0,p.getPlayerPropsFromQueryString)(a),c.blacklistedProps),s=u.autoplay,l=b(u,h),f=u.controls,y=u.muted,v=u.loop;this.setState((function(e){return{url:i,loop:(0,d.unlessDefined)(v,e.loop),muted:(0,d.unlessDefined)(y,e.muted),controls:(0,d.unlessDefined)(f,e.controls),autoplay:(0,d.unlessDefined)(s,e.autoplay),posterImage:r,aspectRatio:n,playerOptions:m({},l)}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var r=(0,p.getPlayingStateOnUpdate)(this.state,this.props,e,t);r&&this.setState(r)}},{key:"render",value:function(){var e,t=this.state,r=t.url,n=t.loop,s=t.muted,c=t.controls,l=t.playing,p=t.posterImage,d=t.playerOptions,h=t.aspectRatio,y=this.props,v=y.iframePlaceholderTop,m=y.iframePlaceholderWidth,b=y.iframePlaceholderHeight,g={};if(j){var w=f.default.isMobile(),S=w?"static":"absolute",O=h.get("x"),_=h.get("y");if(w||(g={top:v,width:m,height:b,position:S}),!w&&m>window.innerWidth){var E=window.innerWidth>=window.innerHeight;g.top="50%",g.left="50%",g.transform="translateX(-50%) translateY(-50%)",E?(g.width="100vw",g.height="100vw",g.minWidth="".concat(O/_*100,"vh")):(g.width="".concat(_/O*100,"vw"),g.height="100vw",g.minHeight="100%")}e=w?0:"".concat(_/O*100,"%")}return o.default.createElement(o.default.Fragment,null,j&&o.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),j&&o.default.createElement("div",{key:"placholder-".concat(r),style:{paddingTop:e},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:g,key:r,ref:this.props.elemRef},o.default.createElement(a.default,{src:p,playing:l,controls:c,handleUpdatePlaying:this.handleUpdatePlaying}),o.default.createElement(i.default,{url:r,width:"100%",height:"100%",loop:n,muted:s,playing:l,controls:c,playsinline:!0,config:{vimeo:{playerOptions:d}},onPause:this.handlePause,onEnded:this.handleEnded}),o.default.createElement(u.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}])&&S(t.prototype,r),n&&S(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component);k(T,"contextType",l.default),k(T,"blacklistedProps",["autopause"]);var A=(0,s.default)((0,c.default)(T,{enabled:j}),{useParentDimensions:!0});t.default=A},function(e,t,r){var n=r(831).createReactPlayer,o=r(836).default;e.exports=n([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var n=P(r(0)),o=l(r(431)),i=l(r(832)),a=l(r(432)),u=r(433),s=r(192),c=l(r(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 p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}function O(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:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}var k=(0,n.lazy)((function(){return Promise.resolve().then((function(){return P(r(835))}))})),j="undefined"!=typeof window&&window.document,T=void 0!==e&&e.window&&e.window.document,A=Object.keys(u.propTypes),C=j||T?n.Suspense:function(){return null},L=[];t.createReactPlayer=function(e,t){var r,l;return l=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}}),t&&g(e,t)}(S,r);var l,f,p,v=w(S);function S(){var r;m(this,S);for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return E(O(r=v.call.apply(v,[this].concat(l))),"state",{showPreview:!!r.props.light}),E(O(r),"references",{wrapper:function(e){r.wrapper=e},player:function(e){r.player=e}}),E(O(r),"handleClickPreview",(function(e){r.setState({showPreview:!1}),r.props.onClickPreview(e)})),E(O(r),"showPreview",(function(){r.setState({showPreview:!0})})),E(O(r),"getDuration",(function(){return r.player?r.player.getDuration():null})),E(O(r),"getCurrentTime",(function(){return r.player?r.player.getCurrentTime():null})),E(O(r),"getSecondsLoaded",(function(){return r.player?r.player.getSecondsLoaded():null})),E(O(r),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null})),E(O(r),"seekTo",(function(e,t){if(!r.player)return null;r.player.seekTo(e,t)})),E(O(r),"handleReady",(function(){r.props.onReady(O(r))})),E(O(r),"getActivePlayer",(0,i.default)((function(r){for(var n=0,o=[].concat(L,y(e));n<o.length;n++){var i=o[n];if(i.canPlay(r))return i}return t||null}))),E(O(r),"getConfig",(0,i.default)((function(e,t){var n=r.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},n,n[t]||{}])}))),E(O(r),"getAttributes",(0,i.default)((function(e){return(0,s.omit)(r.props,A)}))),E(O(r),"renderActivePlayer",(function(e){if(!e)return null;var t=r.getActivePlayer(e);if(!t)return null;var o=r.getConfig(e,t.key);return n.default.createElement(c.default,h({},r.props,{key:t.key,ref:r.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:r.handleReady}))})),r}return l=S,(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,r=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return n.default.createElement(k,{url:e,light:r,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,r=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,s=this.state.showPreview,c=this.getAttributes(t);return n.default.createElement(u,h({ref:this.references.wrapper,style:d(d({},r),{},{width:o,height:i})},c),n.default.createElement(C,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&b(l.prototype,f),p&&b(l,p),S}(n.Component),E(r,"displayName","ReactPlayer"),E(r,"propTypes",u.propTypes),E(r,"defaultProps",u.defaultProps),E(r,"addCustomPlayer",(function(e){L.push(e)})),E(r,"removeCustomPlayers",(function(){L.length=0})),E(r,"canPlay",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){if(n[r].canPlay(t))return!0}return!1})),E(r,"canEnablePIP",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){var o=n[r];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),l}}).call(this,r(52))},function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(o=e[r],i=t[r],!(o===i||n(o)&&n(i)))return!1;var o,i;return!0}t.default=function(e,t){var r;void 0===t&&(t=o);var n,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&r===this&&t(o,i)||(n=e.apply(this,o),a=!0,r=this,i=o),n}}},function(e,t){function r(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 n(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 r in t)e.setAttribute(r,t[r])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?r:n)(a,o),a.onload||r(a,o),i.appendChild(a)}},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},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(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),a=(o=r(432))&&o.__esModule?o:{default:o},u=r(433),s=r(192);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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 r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?v(e):t}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:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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}}),t&&d(e,t)}(u,e);var t,r,n,o=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=o.call.apply(o,[this].concat(r))),"mounted",!1),b(v(e),"isReady",!1),b(v(e),"isPlaying",!1),b(v(e),"isLoading",!0),b(v(e),"loadOnReady",null),b(v(e),"startOnPlay",!0),b(v(e),"seekOnPlay",null),b(v(e),"onDurationCalled",!1),b(v(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())})),b(v(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),b(v(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,r=e.getSecondsLoaded(),n=e.getDuration();if(n){var o={playedSeconds:t,played:t/n};null!==r&&(o.loadedSeconds=r,o.loaded=r/n),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)})),b(v(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,r=t.onReady,n=t.playing,o=t.volume,i=t.muted;r(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):n&&e.player.play(),e.handleDurationCheck()}})),b(v(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,r=t.onStart,n=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),r(),e.startOnPlay=!1),n(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),b(v(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),b(v(e),"handleEnded",(function(){var t=e.props,r=t.activePlayer,n=t.loop,o=t.onEnded;r.loopOnEnded&&n&&e.seekTo(0),n||(e.isPlaying=!1,o())})),b(v(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),b(v(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)})),b(v(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=u,(r=[{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 r=this.props,n=r.url,o=r.playing,i=r.volume,u=r.muted,c=r.playbackRate,l=r.pip,f=r.loop,p=r.activePlayer,d=r.disableDeferredLoading;if(!(0,a.default)(e.url,n)){if(this.isLoading&&!p.forceLoad&&!d&&!(0,s.isMediaStream)(n))return console.warn("ReactPlayer: the attempt to load ".concat(n," is being deferred until the player has loaded")),void(this.loadOnReady=n);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(n,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 r=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var n=this.player.getDuration();return n?void this.player.seekTo(n*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(){r.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&p(t.prototype,r),n&&p(t,n),u}(i.Component);t.default=g,b(g,"displayName","Player"),b(g,"propTypes",u.propTypes),b(g,"defaultProps",u.defaultProps)},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v={},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}}),t&&l(e,t)}(a,e);var t,r,n,i=f(a);function a(){var e;s(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return y(d(e=i.call.apply(i,[this].concat(r))),"mounted",!1),y(d(e),"state",{image:null}),y(d(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.url,n=t.light;e.url===r&&e.light===n||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,r=e.url,n=e.light,o=e.oEmbedUrl;if("string"!=typeof n){if(!v[r])return this.setState({image:null}),window.fetch(o.replace("{url}",r)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var n=e.thumbnail_url.replace("height=100","height=480");t.setState({image:n}),v[r]=n}}));this.setState({image:v[r]})}else this.setState({image:n})}},{key:"render",value:function(){var e=this.props,t=e.onClick,r=e.playIcon,n=e.previewTabIndex,i=this.state.image,a={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:u({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},a),shadow:u({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},a),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:n,onKeyPress:this.handleKeyPress},r||c)}}])&&c(t.prototype,r),n&&c(t,n),a}(o.Component);t.default=m},function(e,t,r){"use strict";function n(e){return(n="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"!==n(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},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(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),i=r(192),a=r(837);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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}}),t&&f(e,t)}(u,e);var t,r,n,a=p(u);function u(){var e;c(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(h(e=a.call.apply(a,[this].concat(r))),"callPlayer",i.callPlayer),v(h(e),"duration",null),v(h(e),"currentTime",null),v(h(e),"secondsLoaded",null),v(h(e),"mute",(function(){e.setVolume(0)})),v(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),v(h(e),"ref",(function(t){e.container=t})),e}return t=u,(r=[{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(r){if(t.container){var n=t.props.config,o=n.playerOptions,i=n.title;t.player=new r.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,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 r=e.seconds;t.currentTime=r})),t.player.on("progress",(function(e){var r=e.seconds;t.secondsLoaded=r})),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})}}])&&l(t.prototype,r),n&&l(t,n),u}(o.Component);t.default=m,v(m,"displayName","Vimeo"),v(m,"canPlay",a.canPlay.vimeo),v(m,"forceLoad",!0)},function(e,t,r){"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 n=r(192);function o(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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 p=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=p;var d=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=d;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var y=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=y;var v=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=v;var m=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=m;var b=/^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=b;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 S=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=S;var O=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=O;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_;var E={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)&&!S.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return p.test(e)},twitch:function(e){return d.test(e)||h.test(e)},dailymotion:function(e){return y.test(e)},mixcloud:function(e){return v.test(e)},vidyard:function(e){return m.test(e)},kaltura:function(e){return b.test(e)},file:function e(t){if(t instanceof Array){var r,i=o(t);try{for(i.s();!(r=i.n()).done;){var a=r.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,n.isMediaStream)(t)&&!(0,n.isBlobUrl)(t))||(g.test(t)||w.test(t)||S.test(t)||O.test(t)||_.test(t))}};t.canPlay=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.src,r=e.playing,i=e.controls,a=e.handleUpdatePlaying;return t?n.default.createElement("img",{className:(0,o.default)("bber-poster bber-poster--vimeo",{"bber-visible":!r,"bber-controls":i}),onClick:a,src:t,alt:""}):null};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){return null};t.default=n},function(e,t,r){"use strict";r(3),r(7),r(8),r(36),r(26),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0,r(19),r(80),r(2),r(1),r(89),r(4),r(5),r(32),r(91);var n=u(r(841)),o=u(r(66)),i=u(r(41)),a=r(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 r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.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 r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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]:[],r=e;t.length&&(r=(0,n.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(r).reduce((function(e,t){var r=s(t,2),n=r[0],i=r[1];return e[n]=a.has(i)?o.has(i):i,e}),{});return u.playsinline=!0,u};t.getPlayingStateOnUpdate=function(e,t,r,n){if(!e.autoplay)return!1;if(!t.view.loaded)return!1;if(r.view.pendingDeferredCallbacks)return!1;var o=e.currentSpreadIndex,u=r.spreadIndex,s=n.spreadIndex;return o!==s&&(o=s,{playing:u===s&&!i.default.isMobile()&&t.readerSettings.layout!==a.layouts.SCROLL,currentSpreadIndex:o})}},function(e,t,r){var n=r(334),o=r(842),i=r(864),a=r(170),u=r(143),s=r(867),c=r(868),l=r(439),f=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),u(e,l(e),r),c&&(r=o(r,7,s));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},function(e,t,r){var n=r(221),o=r(843),i=r(435),a=r(844),u=r(845),s=r(848),c=r(849),l=r(850),f=r(851),p=r(358),d=r(439),h=r(183),y=r(852),v=r(853),m=r(858),b=r(56),g=r(224),w=r(860),S=r(81),O=r(862),_=r(136),E=r(290),x={};x["[object Arguments]"]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object DataView]"]=x["[object Boolean]"]=x["[object Date]"]=x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Map]"]=x["[object Number]"]=x["[object Object]"]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object Symbol]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Error]"]=x["[object Function]"]=x["[object WeakMap]"]=!1,e.exports=function e(t,r,P,k,j,T){var A,C=1&r,L=2&r,R=4&r;if(P&&(A=j?P(t,k,j,T):P(t)),void 0!==A)return A;if(!S(t))return t;var I=b(t);if(I){if(A=y(t),!C)return c(t,A)}else{var M=h(t),N="[object Function]"==M||"[object GeneratorFunction]"==M;if(g(t))return s(t,C);if("[object Object]"==M||"[object Arguments]"==M||N&&!j){if(A=L||N?{}:m(t),!C)return L?f(t,u(A,t)):l(t,a(A,t))}else{if(!x[M])return j?t:{};A=v(t,M,C)}}T||(T=new n);var D=T.get(t);if(D)return D;T.set(t,A),O(t)?t.forEach((function(n){A.add(e(n,r,P,n,t,T))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,P,o,t,T))}));var U=I?void 0:(R?L?d:p:L?E:_)(t);return o(U||t,(function(n,o){U&&(n=t[o=n]),i(A,o,e(n,r,P,o,t,T))})),A}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(143),o=r(136);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(143),o=r(290);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(81),o=r(228),i=r(847),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&r.push(u);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(55),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(225)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(143),o=r(223);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(143),o=r(438);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(291),o=r(854),i=r(855),a=r(856),u=r(857);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,r);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,r);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,r){var n=r(291);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(104),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,r){var n=r(291);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(859),o=r(209),i=r(228);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(81),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e,t,r){var n=r(861),o=r(226),i=r(227),a=i&&i.isMap,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(183),o=r(79);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(863),o=r(226),i=r(227),a=i&&i.isSet,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(183),o=r(79);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(170),o=r(865),i=r(866),a=r(134);e.exports=function(e,t){return t=n(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,r){var n=r(230),o=r(335);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},function(e,t,r){var n=r(130);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(869),o=r(872),i=r(874);e.exports=function(e){return i(o(e,void 0,n),e+"")}},function(e,t,r){var n=r(870);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(222),o=r(871);e.exports=function e(t,r,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];r>0&&i(l)?r>1?e(l,r-1,i,a,u):n(u,l):a||(u[u.length]=l)}return u}},function(e,t,r){var n=r(104),o=r(216),i=r(56),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,r){var n=r(873),o=Math.max;e.exports=function(e,t,r){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]=r(s),n(e,this,c)}}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(875),o=r(877)(n);e.exports=o},function(e,t,r){var n=r(876),o=r(437),i=r(365),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(37);var n=a(r(0)),o=a(r(440)),i=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"video",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(37),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=s(r(0)),i=s(r(58)),a=s(r(880)),u=r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(h,e);var t,r,n,s=d(h);function h(){var e;l(this,h);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=s.call.apply(s,[this].concat(r))),"playbackSlow",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.SLOW)})),m(y(e),"playbackNormal",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.NORMAL)})),m(y(e),"playbackFast",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.FAST)})),e}return t=h,(r=[{key:"render",value:function(){var e=this.props,t=e.mediaType,r=e.config;return r?o.default.createElement("div",{className:(0,i.default)("bber-media__controls","bber-media__controls--".concat(t),"bber-media__controls--".concat(r))},o.default.createElement(a.default,c({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.default.Component);t.default=b},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(881)),i=u(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.mediaType,r=c(e,a);return"audio"===t?n.default.createElement(o.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r)):n.default.createElement(i.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r))};t.default=l},function(e,t,r){"use strict";r(17),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(882)),i=s(r(883)),a=s(r(884)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(193)),i=u(r(194)),a=u(r(144));function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(i.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.default,{time:e.timeElapsed}),n.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(o.default,{time:e.timeRemaining}))};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),o=r(441),i=c(r(292)),a=c(r(194)),u=c(r(193)),s=c(r(144));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(u.default,{time:e.timeElapsed}),n.default.createElement(s.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(u.default,{time:e.timeRemaining}),n.default.createElement(i.default,{volume:e.volume,updateVolume:e.updateVolume}))};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(0)),o=d(r(885)),i=d(r(442)),a=r(441),u=d(r(194)),s=d(r(193)),c=d(r(144)),l=d(r(886)),f=d(r(292)),p=d(r(41));function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return n.default.createElement("div",{className:"bber-media__stacked"},n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining})),n.default.createElement("div",{className:"bber-media__stacked__separator"},n.default.createElement("div",{className:"bber-media__stacked__separator--line"})),n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement("div",{style:{marginRight:"auto"}}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc})))}function y(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc}))}var v=function(e){return p.default.isMobile()?n.default.createElement(h,e):n.default.createElement(y,e)};t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return n.default.createElement("button",{className:(0,o.default)("bber-button material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")};t.default=i},function(e,t,r){"use strict";r(17),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(443)),i=s(r(444)),a=s(r(889)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(444)),i=a(r(442));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.default,e),n.default.createElement(i.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))};t.default=u},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("video",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(37);var n=a(r(0)),o=a(r(440)),i=a(r(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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"audio",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";r(17),r(3),r(37),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("audio",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=c(r(0)),i=c(r(181)),a=c(r(434)),u=c(r(95)),s=c(r(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 r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(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)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=(0,r(57).isBrowser)("chrome","eq",81),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&&p(e,t)}(a,e);var t,r,n,i=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=i.call.apply(i,[this].concat(r))),"focusWindow",(function(){return setTimeout((function(){return window.focus()}),60)})),e}return t=a,(r=[{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,r=e.title,n=e.height,i=e.iframePlaceholderTop,a=e.iframePlaceholderWidth,u=this.props.width,c={};if(b){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,b&&o.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),b&&o.default.createElement("div",{key:"placholder-".concat(t),style:{paddingTop:n},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:r,width:u,height:n,webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:"allowfullscreen",allow:"autoplay",frameBorder:"0",scrolling:"no"})))}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);m(g,"contextType",u.default);var w=(0,i.default)((0,a.default)(g,{enabled:b}));t.default=w},function(e,t,r){"use strict";r(372),r(895),r(896),r(897)},function(e,t,r){"use strict";
|
|
35
35
|
/*! npm.im/object-fit-images 3.2.4 */var n="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,p=!1;function d(e,t,r){var n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(r||0)+"'%3E%3C/svg%3E";l.call(e,"src")!==n&&f.call(e,"src",n)}function h(e,t){e.naturalWidth?t(e):setTimeout(h,100,e,t)}function y(e){var t=function(e){for(var t,r=getComputedStyle(e).fontFamily,n={};null!==(t=o.exec(r));)n[t[1]]=t[2];return n}(e),r=e[n];if(t["object-fit"]=t["object-fit"]||"fill",!r.img){if("fill"===t["object-fit"])return;if(!r.skipTest&&a&&!t["object-position"])return}if(!r.img){r.img=new Image(e.width,e.height),r.img.srcset=l.call(e,"data-ofi-srcset")||e.srcset,r.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),d(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[n].img[t||"src"]},set:function(t,r){return e[n].img[r||"src"]=t,f.call(e,"data-ofi-"+r,t),y(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}}(r.img),e.style.backgroundImage='url("'+(r.img.currentSrc||r.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(r.img,(function(){r.img.naturalWidth>e.width||r.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(r.img,(function(t){d(e,t.naturalWidth,t.naturalHeight)}))}function v(e,t){var r=!p&&!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][n]=e[o][n]||{skipTest:t.skipTest},y(e[o]);r&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&v(e.target,{skipTest:t.skipTest})}),!0),p=!0,e="img"),t.watchMQ&&window.addEventListener("resize",v.bind(null,e,{skipTest:t.skipTest}))}v.supportsObjectFit=a,v.supportsObjectPosition=u,function(){function e(e,t){return e[n]&&e[n].img&&("src"===t||"srcset"===t)?e[n].img:e}u||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,r){return f.call(e(this,t),t,String(r))})}(),e.exports=v},function(e,t,r){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,r=t&&"a=1"===new t({a:1}).toString(),n=t&&"+"===new t("s=%2B").get("s"),o=s.prototype,i=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&r&&n)){o.append=function(e,t){d(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,r,n,o=this.__URLSearchParams__,i=[];for(t in o)for(r=c(t),e=0,n=o[t];e<n.length;e++)i.push(r+"="+c(n[e]));return i.join("&")};var a=!!n&&t&&!r&&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 r=p(this.toString());Object.getOwnPropertyNames(r).forEach((function(n){r[n].forEach((function(r){e.call(t,r,n,this)}),this)}),this)},u.sort=u.sort||function(){var e,t,r,n=p(this.toString()),o=[];for(e in n)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=n[i];for(r=0;r<a.length;r++)this.append(i,a[r])}},u.keys=u.keys||function(){var e=[];return this.forEach((function(t,r){e.push(r)})),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,r){e.push([r,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__=p(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 r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(r[e.Symbol.iterator]=function(){return r}),r}function p(e){var t={};if("object"==typeof e)for(var r in e)e.hasOwnProperty(r)&&d(t,r,e[r]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var n=e.split("&"),o=0;o<n.length;o++){var i=n[o],a=i.indexOf("=");-1<a?d(t,l(i.slice(0,a)),l(i.slice(a+1))):i&&d(t,l(i),"")}}return t}function d(e,t,r){var n="string"==typeof r?r:null!=r&&"function"==typeof r.toString?r.toString():JSON.stringify(r);t in e?e[t].push(n):e[t]=[n]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,r(52))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(19);var n=function(){for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var r=e[t];window.requestAnimationFrame=window["".concat(r,"RequestAnimationFrame")],window.cancelAnimationFrame=window["".concat(r,"CancelAnimationFrame")]||window["".concat(r,"CancelRequestAnimationFrame")]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(e){var t=Date.now?Date.now():(new Date).getTime(),r=Math.max(n+16,t);return setTimeout((function(){e(n=r)}),r-t)},window.cancelAnimationFrame=clearTimeout}}();t.default=n},,function(e,t,r){"use strict";r.r(t),r.d(t,"createBrowserHistory",(function(){return _})),r.d(t,"createHashHistory",(function(){return j})),r.d(t,"createMemoryHistory",(function(){return A})),r.d(t,"createLocation",(function(){return m})),r.d(t,"locationsAreEqual",(function(){return b})),r.d(t,"parsePath",(function(){return y})),r.d(t,"createPath",(function(){return v}));var n=r(48);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var a=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),s=t&&o(t),c=u||s;if(e&&o(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var l=a[a.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=u(t),o=u(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},c="Invariant failed";function l(e,t){if(!e)throw new Error(c)}function f(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function d(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 h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function y(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}function v(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function m(e,t,r,o){var i;"string"==typeof e?(i=y(e)).state=t:(void 0===(i=Object(n.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 r&&(i.key=r),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function b(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function S(e,t){t(window.confirm(e))}function O(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),w||l(!1);var t,r=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,s=void 0!==u&&u,c=a.getUserConfirmation,p=void 0===c?S:c,y=a.keyLength,b=void 0===y?6:y,_=e.basename?h(f(e.basename)):"";function E(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=d(i,_)),m(i,n,r)}function x(){return Math.random().toString(36).substr(2,b)}var P=g();function k(e){Object(n.a)(F,e),F.length=r.length,P.notifyListeners(F.location,F.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(E(e.state))}function T(){C(E(O()))}var A=!1;function C(e){if(A)A=!1,k();else{P.confirmTransitionTo(e,"POP",p,(function(t){t?k({action:"POP",location:e}):function(e){var t=F.location,r=R.indexOf(t.key);-1===r&&(r=0);var n=R.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(A=!0,M(o))}(e)}))}}var L=E(O()),R=[L.key];function I(e){return _+v(e)}function M(e){r.go(e)}var N=0;function D(e){1===(N+=e)&&1===e?(window.addEventListener("popstate",j),i&&window.addEventListener("hashchange",T)):0===N&&(window.removeEventListener("popstate",j),i&&window.removeEventListener("hashchange",T))}var U=!1;var F={length:r.length,action:"POP",location:L,createHref:I,push:function(e,t){var n=m(e,t,x(),F.location);P.confirmTransitionTo(n,"PUSH",p,(function(e){if(e){var t=I(n),i=n.key,a=n.state;if(o)if(r.pushState({key:i,state:a},null,t),s)window.location.href=t;else{var u=R.indexOf(F.location.key),c=R.slice(0,u+1);c.push(n.key),R=c,k({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=m(e,t,x(),F.location);P.confirmTransitionTo(n,"REPLACE",p,(function(e){if(e){var t=I(n),i=n.key,a=n.state;if(o)if(r.replaceState({key:i,state:a},null,t),s)window.location.replace(t);else{var u=R.indexOf(F.location.key);-1!==u&&(R[u]=n.key),k({action:"REPLACE",location:n})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=P.appendListener(e);return D(1),function(){D(-1),t()}}};return F}var E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:f},slash:{encodePath:f,decodePath:f}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(x(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),w||l(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),o=r.getUserConfirmation,i=void 0===o?S:o,a=r.hashType,u=void 0===a?"slash":a,s=e.basename?h(f(e.basename)):"",c=E[u],p=c.encodePath,y=c.decodePath;function b(){var e=y(P());return s&&(e=d(e,s)),m(e)}var O=g();function _(e){Object(n.a)(F,e),F.length=t.length,O.notifyListeners(F.location,F.action)}var j=!1,T=null;function A(){var e,t,r=P(),n=p(r);if(r!==n)k(n);else{var o=b(),a=F.location;if(!j&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===v(o))return;T=null,function(e){if(j)j=!1,_();else{O.confirmTransitionTo(e,"POP",i,(function(t){t?_({action:"POP",location:e}):function(e){var t=F.location,r=I.lastIndexOf(v(t));-1===r&&(r=0);var n=I.lastIndexOf(v(e));-1===n&&(n=0);var o=r-n;o&&(j=!0,M(o))}(e)}))}}(o)}}var C=P(),L=p(C);C!==L&&k(L);var R=b(),I=[v(R)];function M(e){t.go(e)}var N=0;function D(e){1===(N+=e)&&1===e?window.addEventListener("hashchange",A):0===N&&window.removeEventListener("hashchange",A)}var U=!1;var F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=x(window.location.href)),r+"#"+p(s+v(e))},push:function(e,t){var r=m(e,void 0,void 0,F.location);O.confirmTransitionTo(r,"PUSH",i,(function(e){if(e){var t=v(r),n=p(s+t);if(P()!==n){T=t,function(e){window.location.hash=e}(n);var o=I.lastIndexOf(v(F.location)),i=I.slice(0,o+1);i.push(t),I=i,_({action:"PUSH",location:r})}else _()}}))},replace:function(e,t){var r=m(e,void 0,void 0,F.location);O.confirmTransitionTo(r,"REPLACE",i,(function(e){if(e){var t=v(r),n=p(s+t);P()!==n&&(T=t,k(n));var o=I.indexOf(v(F.location));-1!==o&&(I[o]=t),_({action:"REPLACE",location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=O.appendListener(e);return D(1),function(){D(-1),t()}}};return F}function T(e,t,r){return Math.min(Math.max(e,t),r)}function A(e){void 0===e&&(e={});var t=e,r=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=g();function f(e){Object(n.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=T(u,0,i.length-1),h=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),y=v;function b(e){var t=T(w.index+e,0,w.entries.length-1),n=w.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var w={length:h.length,action:"POP",location:h[d],index:d,entries:h,createHref:y,push:function(e,t){var n=m(e,t,p(),w.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=w.index+1,r=w.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=m(e,t,p(),w.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(w.entries[w.index]=n,f({action:"REPLACE",location:n}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(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}}])}));
|