@canopycanopycanopy/b-ber-reader 3.0.10 → 4.0.0
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/README.md +20 -4
- package/dist/assets/index-DXK0PtxJ.js +74 -0
- package/dist/assets/index-XD-rE-if.css +1 -0
- package/dist/index.html +30 -1
- package/package.json +12 -22
- package/dist/0c35d18bf06992036b691da73d635fc4.woff2 +0 -0
- package/dist/4d73cb90e394b34b767077d75cce0c4c.woff +0 -0
- package/dist/main.f9f4b68d1a462243d872.js +0 -2
- package/dist/main.f9f4b68d1a462243d872.js.LICENSE.txt +0 -32
- /package/dist/{737fa3c878dc13e7c16c6c2503890888.ttf → assets/CrimsonPro-Regular-YIgnp80a.ttf} +0 -0
- /package/dist/{7609101514b0166981d789f88c7d87f3.ttf → assets/CrimsonPro-SemiBold-Ciw-G16G.ttf} +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S={H:null,A:null,T:null,S:null,V:null},C=Object.prototype.hasOwnProperty;function w(e,n,r,i,a,o){return r=o.ref,{$$typeof:t,type:e,key:n,ref:r===void 0?null:r,props:o}}function T(e,t){return w(e.type,t,void 0,void 0,void 0,e.props)}function E(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function D(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var O=/\/+/g;function k(e,t){return typeof e==`object`&&e&&e.key!=null?D(``+e.key):t.toString(36)}function A(){}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(A,A):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+k(e,0):a,x(o)?(i=``,c!=null&&(i=c.replace(O,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(E(o)&&(o=T(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(O,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(x(e))for(var u=0;u<e.length;u++)a=e[u],s=l+k(a,u),c+=M(a,r,i,s,o);else if(u=p(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+k(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ee(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function N(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var P=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function F(){}e.Children={map:ee,forEach:function(e,t,n){ee(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ee(e,function(){t++}),t},toArray:function(e){return ee(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=h({},e.props),i=e.key,a=void 0;if(t!=null)for(o in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(i=``+t.key),t)!C.call(t,o)||o===`key`||o===`__self`||o===`__source`||o===`ref`&&t.ref===void 0||(r[o]=t[o]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];r.children=s}return w(e.type,i,void 0,void 0,a,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)C.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return w(e,a,void 0,void 0,null,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=E,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=S.T,n={};S.T=n;try{var r=e(),i=S.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(F,P)}catch(e){P(e)}finally{S.T=t}},e.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},e.use=function(e){return S.H.use(e)},e.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},e.useCallback=function(e,t){return S.H.useCallback(e,t)},e.useContext=function(e){return S.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},e.useEffect=function(e,t,n){var r=S.H;if(typeof n==`function`)throw Error(`useEffect CRUD overload is not enabled in this build of React.`);return r.useEffect(e,t)},e.useId=function(){return S.H.useId()},e.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return S.H.useMemo(e,t)},e.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},e.useRef=function(e){return S.H.useRef(e)},e.useState=function(e){return S.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return S.H.useTransition()},e.version=`19.1.0`})),p=s(((e,t)=>{t.exports=f()})),m=s(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),h=s(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),g=s(((e,t)=>{var n=h();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),_=s(((e,t)=>{var n=g(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),v=s(((e,t)=>{var n=g();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),y=s(((e,t)=>{var n=g();function r(e){return n(this.__data__,e)>-1}t.exports=r})),b=s(((e,t)=>{var n=g();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),x=s(((e,t)=>{var n=m(),r=_(),i=v(),a=y(),o=b();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),S=s(((e,t)=>{var n=x();function r(){this.__data__=new n,this.size=0}t.exports=r})),C=s(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),w=s(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),T=s(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),E=s(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),D=s(((e,t)=>{var n=E(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),O=s(((e,t)=>{t.exports=D().Symbol})),k=s(((e,t)=>{var n=O(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),A=s(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),j=s(((e,t)=>{var n=O(),r=k(),i=A(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),M=s(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),ee=s(((e,t)=>{var n=j(),r=M(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),N=s(((e,t)=>{t.exports=D()[`__core-js_shared__`]})),P=s(((e,t)=>{var n=N(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),F=s(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),I=s(((e,t)=>{var n=ee(),r=P(),i=M(),a=F(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),L=s(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),R=s(((e,t)=>{var n=I(),r=L();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),z=s(((e,t)=>{t.exports=R()(D(),`Map`)})),B=s(((e,t)=>{t.exports=R()(Object,`create`)})),te=s(((e,t)=>{var n=B();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),ne=s(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),re=s(((e,t)=>{var n=B(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),ie=s(((e,t)=>{var n=B(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),ae=s(((e,t)=>{var n=B(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),oe=s(((e,t)=>{var n=te(),r=ne(),i=re(),a=ie(),o=ae();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),se=s(((e,t)=>{var n=oe(),r=x(),i=z();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),ce=s(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),le=s(((e,t)=>{var n=ce();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),ue=s(((e,t)=>{var n=le();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),de=s(((e,t)=>{var n=le();function r(e){return n(this,e).get(e)}t.exports=r})),fe=s(((e,t)=>{var n=le();function r(e){return n(this,e).has(e)}t.exports=r})),V=s(((e,t)=>{var n=le();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),pe=s(((e,t)=>{var n=se(),r=ue(),i=de(),a=fe(),o=V();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),me=s(((e,t)=>{var n=x(),r=z(),i=pe(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),he=s(((e,t)=>{var n=x(),r=S(),i=C(),a=w(),o=T(),s=me();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),ge=s(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),_e=s(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ve=s(((e,t)=>{var n=pe(),r=ge(),i=_e();function a(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=i,t.exports=a})),ye=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),be=s(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),xe=s(((e,t)=>{var n=ve(),r=ye(),i=be(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),Se=s(((e,t)=>{t.exports=D().Uint8Array})),Ce=s(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),we=s(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),Te=s(((e,t)=>{var n=O(),r=Se(),i=h(),a=xe(),o=Ce(),s=we(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,g=`[object RegExp]`,_=`[object Set]`,v=`[object String]`,y=`[object Symbol]`,b=`[object ArrayBuffer]`,x=`[object DataView]`,S=n?n.prototype:void 0,C=S?S.valueOf:void 0;function w(e,t,n,h,S,w,T){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!w(new r(e),new r(t)));case u:case d:case m:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case g:case v:return e==t+``;case p:var E=o;case _:var D=h&c;if(E||=s,e.size!=t.size&&!D)return!1;var O=T.get(e);if(O)return O==t;h|=l,T.set(e,t);var k=a(E(e),E(t),h,S,w,T);return T.delete(e),k;case y:if(C)return C.call(e)==C.call(t)}return!1}t.exports=w})),Ee=s(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),De=s(((e,t)=>{t.exports=Array.isArray})),Oe=s(((e,t)=>{var n=Ee(),r=De();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),ke=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),Ae=s(((e,t)=>{function n(){return[]}t.exports=n})),je=s(((e,t)=>{var n=ke(),r=Ae(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),Me=s(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),Ne=s(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Pe=s(((e,t)=>{var n=j(),r=Ne(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Fe=s(((e,t)=>{var n=Pe(),r=Ne(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Ie=s(((e,t)=>{function n(){return!1}t.exports=n})),Le=s(((e,t)=>{var n=D(),r=Ie(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),Re=s(((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t??=n,!!t&&(i==`number`||i!=`symbol`&&r.test(e))&&e>-1&&e%1==0&&e<t}t.exports=i})),ze=s(((e,t)=>{var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r})),Be=s(((e,t)=>{var n=j(),r=ze(),i=Ne(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A})),Ve=s(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),He=s(((e,t)=>{var n=E(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),Ue=s(((e,t)=>{var n=Be(),r=Ve(),i=He(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),We=s(((e,t)=>{var n=Me(),r=Fe(),i=De(),a=Le(),o=Re(),s=Ue(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),Ge=s(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),Ke=s(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),qe=s(((e,t)=>{t.exports=Ke()(Object.keys,Object)})),Je=s(((e,t)=>{var n=Ge(),r=qe(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),Ye=s(((e,t)=>{var n=ee(),r=ze();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),Xe=s(((e,t)=>{var n=We(),r=Je(),i=Ye();function a(e){return i(e)?n(e):r(e)}t.exports=a})),Ze=s(((e,t)=>{var n=Oe(),r=je(),i=Xe();function a(e){return n(e,i,r)}t.exports=a})),Qe=s(((e,t)=>{var n=Ze(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),$e=s(((e,t)=>{t.exports=R()(D(),`DataView`)})),et=s(((e,t)=>{t.exports=R()(D(),`Promise`)})),tt=s(((e,t)=>{t.exports=R()(D(),`Set`)})),nt=s(((e,t)=>{t.exports=R()(D(),`WeakMap`)})),rt=s(((e,t)=>{var n=$e(),r=z(),i=et(),a=tt(),o=nt(),s=j(),c=F(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),it=s(((e,t)=>{var n=he(),r=xe(),i=Te(),a=Qe(),o=rt(),s=De(),c=Le(),l=Ue(),u=1,d=`[object Arguments]`,f=`[object Array]`,p=`[object Object]`,m=Object.prototype.hasOwnProperty;function h(e,t,h,g,_,v){var y=s(e),b=s(t),x=y?f:o(e),S=b?f:o(t);x=x==d?p:x,S=S==d?p:S;var C=x==p,w=S==p,T=x==S;if(T&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(T&&!C)return v||=new n,y||l(e)?r(e,t,h,g,_,v):i(e,t,x,h,g,_,v);if(!(h&u)){var E=C&&m.call(e,`__wrapped__`),D=w&&m.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return v||=new n,_(O,k,h,g,v)}}return T?(v||=new n,a(e,t,h,g,_,v)):!1}t.exports=h})),at=s(((e,t)=>{var n=it(),r=Ne();function i(e,t,a,o,s){return e===t?!0:e==null||t==null||!r(e)&&!r(t)?e!==e&&t!==t:n(e,t,a,o,i,s)}t.exports=i})),ot=s(((e,t)=>{var n=he(),r=at(),i=1,a=2;function o(e,t,o,s){var c=o.length,l=c,u=!s;if(e==null)return!l;for(e=Object(e);c--;){var d=o[c];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<l;){d=o[c];var f=d[0],p=e[f],m=d[1];if(u&&d[2]){if(p===void 0&&!(f in e))return!1}else{var h=new n;if(s)var g=s(p,m,f,e,t,h);if(!(g===void 0?r(m,p,i|a,s,h):g))return!1}}return!0}t.exports=o})),st=s(((e,t)=>{var n=M();function r(e){return e===e&&!n(e)}t.exports=r})),ct=s(((e,t)=>{var n=st(),r=Xe();function i(e){for(var t=r(e),i=t.length;i--;){var a=t[i],o=e[a];t[i]=[a,o,n(o)]}return t}t.exports=i})),lt=s(((e,t)=>{function n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}t.exports=n})),ut=s(((e,t)=>{var n=ot(),r=ct(),i=lt();function a(e){var t=r(e);return t.length==1&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}t.exports=a})),dt=s(((e,t)=>{var n=j(),r=Ne(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),ft=s(((e,t)=>{var n=De(),r=dt(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),pt=s(((e,t)=>{var n=pe(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i})),mt=s(((e,t)=>{var n=pt(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),ht=s(((e,t)=>{var n=mt(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),gt=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),_t=s(((e,t)=>{var n=O(),r=gt(),i=De(),a=dt(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),vt=s(((e,t)=>{var n=_t();function r(e){return e==null?``:n(e)}t.exports=r})),yt=s(((e,t)=>{var n=De(),r=ft(),i=ht(),a=vt();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),bt=s(((e,t)=>{var n=dt(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),xt=s(((e,t)=>{var n=yt(),r=bt();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),St=s(((e,t)=>{var n=xt();function r(e,t,r){var i=e==null?void 0:n(e,t);return i===void 0?r:i}t.exports=r})),Ct=s(((e,t)=>{function n(e,t){return e!=null&&t in Object(e)}t.exports=n})),wt=s(((e,t)=>{var n=yt(),r=Fe(),i=De(),a=Re(),o=ze(),s=bt();function c(e,t,c){t=n(t,e);for(var l=-1,u=t.length,d=!1;++l<u;){var f=s(t[l]);if(!(d=e!=null&&c(e,f)))break;e=e[f]}return d||++l!=u?d:(u=e==null?0:e.length,!!u&&o(u)&&a(f,u)&&(i(e)||r(e)))}t.exports=c})),Tt=s(((e,t)=>{var n=Ct(),r=wt();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),Et=s(((e,t)=>{var n=at(),r=St(),i=Tt(),a=ft(),o=st(),s=lt(),c=bt(),l=1,u=2;function d(e,t){return a(e)&&o(t)?s(c(e),t):function(a){var o=r(a,e);return o===void 0&&o===t?i(a,e):n(t,o,l|u)}}t.exports=d})),Dt=s(((e,t)=>{function n(e){return e}t.exports=n})),Ot=s(((e,t)=>{function n(e){return function(t){return t?.[e]}}t.exports=n})),kt=s(((e,t)=>{var n=xt();function r(e){return function(t){return n(t,e)}}t.exports=r})),At=s(((e,t)=>{var n=Ot(),r=kt(),i=ft(),a=bt();function o(e){return i(e)?n(a(e)):r(e)}t.exports=o})),jt=s(((e,t)=>{var n=ut(),r=Et(),i=Dt(),a=De(),o=At();function s(e){return typeof e==`function`?e:e==null?i:typeof e==`object`?a(e)?r(e[0],e[1]):n(e):o(e)}t.exports=s})),Mt=s(((e,t)=>{var n=jt(),r=Ye(),i=Xe();function a(e){return function(t,a,o){var s=Object(t);if(!r(t)){var c=n(a,3);t=i(t),a=function(e){return c(s[e],e,s)}}var l=e(t,a,o);return l>-1?s[c?t[l]:l]:void 0}}t.exports=a})),Nt=s(((e,t)=>{function n(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}t.exports=n})),Pt=s(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),Ft=s(((e,t)=>{var n=Pt(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),It=s(((e,t)=>{var n=Ft(),r=M(),i=dt(),a=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function u(e){if(typeof e==`number`)return e;if(i(e))return a;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=n(e);var u=s.test(e);return u||c.test(e)?l(e.slice(2),u?2:8):o.test(e)?a:+e}t.exports=u})),Lt=s(((e,t)=>{var n=It(),r=1/0,i=17976931348623157e292;function a(e){return e?(e=n(e),e===r||e===-r?(e<0?-1:1)*i:e===e?e:0):e===0?e:0}t.exports=a})),Rt=s(((e,t)=>{var n=Lt();function r(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}t.exports=r})),zt=s(((e,t)=>{var n=Nt(),r=jt(),i=Rt(),a=Math.max;function o(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:i(o);return c<0&&(c=a(s+c,0)),n(e,r(t,3),c)}t.exports=o})),Bt=s(((e,t)=>{t.exports=Mt()(zt())})),H=u(p()),Vt=u(Bt()),{decodeURI:Ht,encodeURI:Ut,encodeURIComponent:Wt,URLSearchParams:Gt}=window;function Kt(e){return String(e).toLowerCase().trim().replace(/[\s-]+/g,`-`).replace(/[^\w-]+/g,``).replace(/-+/g,`-`)}function qt(e){return Wt(e)}function Jt(e){return Wt(e&&e.constructor===Array?JSON.stringify(e):e)}function Yt(e){let t=new Gt(e),n={};return t.forEach((e,t)=>{n[t]=e}),n}function Xt(e){let t=String(e);if(!t)return t;for(;t!==Ht(t);)t=Ht(t);return t}function Zt(e){return/^mailto:/.test(e)}function Qt(e){return/^http/.test(e)===!1&&Zt(e)===!1}function $t(e){return e.replace(/\/+$/,``)}function en(e){return e.replace(/(^\/+|\/+$)/g,``)}function tn(e){return`${$t(e)}/`}function nn(e){let t=en(e);return t=t.slice(0,t.lastIndexOf(`/`)),t}function rn(e,t){if(!e||!t)return console.warn(`Url#resolveRelativeURL: No 'url' or 'path' param provided`,e,t),`/`;let n=en(t),r=e;if(/^http/.test(r)!==!0)return r=rn(`${window.location.origin}${window.location.pathname}`,r),rn(r,n);r=tn(e);let{href:i}=new window.URL(n,r);return i=Xt(i),Ut(i)}function an(e,t){let n=new window.URL(e),r=en(t).split(`/`),{origin:i,pathname:a}=n,o=en(a).split(`/`);o.pop();for(let e=o.length-1;e>=0;e--)o[e]===r[0]&&r.shift();let s=[...o,...r].join(`/`),{href:c}=new window.URL(Xt(s),i);return Ut(c)}function on(e,t){if(Qt(e))return!1;try{let{host:n}=new URL(e),{host:r}=new URL(t);return n!==r}catch(e){return console.error(e),!0}}async function sn(e,t){let n=await fetch(e),{ok:r,status:i,url:a}=n;return{data:await n[t](),request:{ok:r,status:i,url:a}}}async function cn(e){return sn(e,`json`)}async function ln(e){return sn(e,`text`)}function un(e=``){return cn(`${$t(e)}/api/books.json`)}var dn=s(((e,t)=>{t.exports=Ke()(Object.getPrototypeOf,Object)})),fn=s(((e,t)=>{var n=j(),r=dn(),i=Ne(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),pn=s(((e,t)=>{t.exports=function(e){return(``+e).replace(/["'\\\n\r\u2028\u2029]/g,function(e){switch(e){case`"`:case`'`:case`\\`:return`\\`+e;case`
|
|
2
|
+
`:return`\\n`;case`\r`:return`\\r`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`}})}})),mn=s(((e,t)=>{function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}t.exports=n})),hn=s(((e,t)=>{var n=mn();function r(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:n(e,t,r)}t.exports=r})),gn=s(((e,t)=>{var n=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function r(e){return n.test(e)}t.exports=r})),_n=s(((e,t)=>{function n(e){return e.split(``)}t.exports=n})),vn=s(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\ufe0e\\ufe0f`,a=`[`+n+`]`,o=`[`+r+`]`,s=`\\ud83c[\\udffb-\\udfff]`,c=`(?:`+o+`|`+s+`)`,l=`[^`+n+`]`,u=`(?:\\ud83c[\\udde6-\\uddff]){2}`,d=`[\\ud800-\\udbff][\\udc00-\\udfff]`,f=`\\u200d`,p=c+`?`,m=`[`+i+`]?`,h=`(?:`+f+`(?:`+[l,u,d].join(`|`)+`)`+m+p+`)*`,g=m+p+h,_=`(?:`+[l+o+`?`,o,u,d,a].join(`|`)+`)`,v=RegExp(s+`(?=`+s+`)|`+_+g,`g`);function y(e){return e.match(v)||[]}t.exports=y})),yn=s(((e,t)=>{var n=_n(),r=gn(),i=vn();function a(e){return r(e)?i(e):n(e)}t.exports=a})),bn=s(((e,t)=>{var n=hn(),r=gn(),i=yn(),a=vt();function o(e){return function(t){t=a(t);var o=r(t)?i(t):void 0,s=o?o[0]:t.charAt(0),c=o?n(o,1).join(``):t.slice(1);return s[e]()+c}}t.exports=o})),xn=s(((e,t)=>{t.exports=bn()(`toUpperCase`)})),Sn=s(((e,t)=>{var n=vt(),r=xn();function i(e){return r(n(e).toLowerCase())}t.exports=i})),Cn=s(((e,t)=>{function n(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}t.exports=n})),wn=s(((e,t)=>{function n(e){return function(t){return e?.[t]}}t.exports=n})),Tn=s(((e,t)=>{t.exports=wn()({À:`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`})})),En=s(((e,t)=>{var n=Tn(),r=vt(),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp(`[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]`,`g`);function o(e){return e=r(e),e&&e.replace(i,n).replace(a,``)}t.exports=o})),Dn=s(((e,t)=>{var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function r(e){return e.match(n)||[]}t.exports=r})),On=s(((e,t)=>{var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function r(e){return n.test(e)}t.exports=r})),kn=s(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\u2700-\\u27bf`,a=`a-z\\xdf-\\xf6\\xf8-\\xff`,o=`\\xac\\xb1\\xd7\\xf7`,s=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,c=`\\u2000-\\u206f`,l=` \\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`,u=`A-Z\\xc0-\\xd6\\xd8-\\xde`,d=`\\ufe0e\\ufe0f`,f=o+s+c+l,p=`['’]`,m=`[`+f+`]`,h=`[`+r+`]`,g=`\\d+`,_=`[`+i+`]`,v=`[`+a+`]`,y=`[^`+n+f+g+i+a+u+`]`,b=`(?:`+h+`|\\ud83c[\\udffb-\\udfff])`,x=`[^`+n+`]`,S=`(?:\\ud83c[\\udde6-\\uddff]){2}`,C=`[\\ud800-\\udbff][\\udc00-\\udfff]`,w=`[`+u+`]`,T=`\\u200d`,E=`(?:`+v+`|`+y+`)`,D=`(?:`+w+`|`+y+`)`,O=`(?:`+p+`(?:d|ll|m|re|s|t|ve))?`,k=`(?:`+p+`(?:D|LL|M|RE|S|T|VE))?`,A=b+`?`,j=`[`+d+`]?`,M=`(?:`+T+`(?:`+[x,S,C].join(`|`)+`)`+j+A+`)*`,ee=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,N=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,P=j+A+M,F=`(?:`+[_,S,C].join(`|`)+`)`+P,I=RegExp([w+`?`+v+`+`+O+`(?=`+[m,w,`$`].join(`|`)+`)`,D+`+`+k+`(?=`+[m,w+E,`$`].join(`|`)+`)`,w+`?`+E+`+`+O,w+`+`+k,N,ee,g,F].join(`|`),`g`);function L(e){return e.match(I)||[]}t.exports=L})),An=s(((e,t)=>{var n=Dn(),r=On(),i=vt(),a=kn();function o(e,t,o){return e=i(e),t=o?void 0:t,t===void 0?r(e)?a(e):n(e):e.match(t)||[]}t.exports=o})),jn=s(((e,t)=>{var n=Cn(),r=En(),i=An(),a=RegExp(`['’]`,`g`);function o(e){return function(t){return n(i(r(t).replace(a,``)),e,``)}}t.exports=o})),Mn=s(((e,t)=>{var n=Sn();t.exports=jn()(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)})})),Nn=s(((e,t)=>{(function(n){if(typeof e==`object`&&t!==void 0)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r;typeof window<`u`?r=window:typeof global<`u`?r=global:typeof self<`u`&&(r=self),r.quote=n()}})(function(){var e={exports:{}};function t(e){return e.quotes+e.quotes}function n(e,n){return n===``?t(e):(n[0]!==e.quotes&&(n=e.quotes+n),n[n.length-1]!==e.quotes&&(n+=e.quotes),n)}function r(e,r){return arguments.length===1&&(r=e,e={quotes:`"`}),typeof r==`string`?n(e,r):r??t(e)}function i(e){return typeof e==`object`?r.bind(null,e):r(e)}return e.exports=i,e.exports})})),Pn=s(((e,t)=>{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`},r=/[-:]/g,i=function(e){return/^(data-|aria-)/.test(e)?e:n[e.replace(r,``).toLowerCase()]||e};t.exports=i,t.exports.convert=i})),Fn=u(fn()),In=u(pn()),Ln=u(Mn()),Rn=u(Nn()),zn=u(Pn()),Bn=e=>typeof e==`number`&&Number.isNaN(e)===!1&&Number.isFinite(e)===!0,Vn=(0,Rn.default)({quotes:`'`});function Hn(e){let t=0,n,r=String(e);if(r.length===0)return String(t);for(let e=0;e<r.length;e++)n=r.charCodeAt(e),t=(t<<5)-t+n,t|=0;return t>>>=0,String(t)}function Un(){return`_${Math.random().toString(36).substr(2,9)}`}function Wn(e,t){let n=new window.Blob([e],{type:`text/css`}),r=document.createElement(`link`),i=document.querySelector(`head`);r.rel=`stylesheet`,r.type=`text/css`,r.id=`_${t}`,r.href=window.URL.createObjectURL(n),i?.appendChild(r)}function Gn(e){let t=document.querySelector(`#_${e}`);if(t){let e=t.getAttribute(`href`);e&&/^blob:/.test(e)&&window.URL.revokeObjectURL(e),t.parentNode?.removeChild(t)}}function Kn(e){let t={};if(Object.entries(e).forEach(([e,n])=>{e===`playsinline`?t.playsInline=n:t[(0,zn.default)(e)]=n}),!e||Object.keys(e).length<1||!e.style)return t;let n={},r={moz:`Moz`,webkit:`Webkit`,o:`O`},i=/^-(moz|webkit|o)-/;return e.style.split(`;`).map(e=>{let[t,a]=e.split(`:`).map(e=>e.trim()),o=null;return!t||!a?null:(o=t.match(i),o?(t=t.replace(i,`${r[o[1]]}-`),t=(0,Ln.default)(t),t=t[0].toUpperCase()+t.slice(1)):t=(0,Ln.default)(t),a=Bn(a)?Vn((0,In.default)(a)):a,n[t]=a,n)}),t.style=n,t}var qn=`bber_reader`;function Jn(e=qn){let t=`{}`;try{t=window.localStorage.getItem(e)||t}catch{console.warn(`window.localStorage is unavailable.`)}return JSON.parse(t)}function Yn(e,t=qn){let n=typeof e==`string`?e:JSON.stringify(e);try{window.localStorage.setItem(t,n)}catch{console.warn(`window.localStorage is unavailable`)}}var Xn=e=>e instanceof URLSearchParams?e:new URLSearchParams(e),Zn=(e,t)=>{if(!e)return!1;let n=Xn(e),{currentSpineItemIndex:r,spreadIndex:i}=t,a=!0;return(!n.has(r)||!n.has(i))&&(a=!1),a},Qn=(e,t)=>{let n=Xn(e),{currentSpineItemIndex:r,spreadIndex:i}=t;return n.has(r)||n.set(r,`0`),n.has(i)||n.set(i,`0`),n},$n=(e,t)=>{let n=Xn(e),{currentSpineItemIndex:r,spreadIndex:i,slug:a}=t;return n.delete(r),n.delete(i),n.delete(a),n},er=(e,t)=>{let n=Xn(e),r=$n(window.location.search,t);for(let[e,t]of r)n.set(e,t);return n};function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tr.apply(this,arguments)}function nr(e){return e.charAt(0)===`/`}function rr(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function ir(e,t){t===void 0&&(t=``);var n=e&&e.split(`/`)||[],r=t&&t.split(`/`)||[],i=e&&nr(e),a=t&&nr(t),o=i||a;if(e&&nr(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return`/`;var s;if(r.length){var c=r[r.length-1];s=c===`.`||c===`..`||c===``}else s=!1;for(var l=0,u=r.length;u>=0;u--){var d=r[u];d===`.`?rr(r,u):d===`..`?(rr(r,u),l++):l&&(rr(r,u),l--)}if(!o)for(;l--;)r.unshift(`..`);o&&r[0]!==``&&(!r[0]||!nr(r[0]))&&r.unshift(``);var f=r.join(`/`);return s&&f.substr(-1)!==`/`&&(f+=`/`),f}var ar=!0,or=`Invariant failed`;function sr(e,t){if(!e){if(ar)throw Error(or);var n=typeof t==`function`?t():t,r=n?or+`: `+n:or;throw Error(r)}}function cr(e){return e.charAt(0)===`/`?e:`/`+e}function lr(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&`/?#`.indexOf(e.charAt(t.length))!==-1}function ur(e,t){return lr(e,t)?e.substr(t.length):e}function dr(e){return e.charAt(e.length-1)===`/`?e.slice(0,-1):e}function fr(e){var t=e||`/`,n=``,r=``,i=t.indexOf(`#`);i!==-1&&(r=t.substr(i),t=t.substr(0,i));var a=t.indexOf(`?`);return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:n===`?`?``:n,hash:r===`#`?``:r}}function pr(e){var t=e.pathname,n=e.search,r=e.hash,i=t||`/`;return n&&n!==`?`&&(i+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(i+=r.charAt(0)===`#`?r:`#`+r),i}function mr(e,t,n,r){var i;typeof e==`string`?(i=fr(e),i.state=t):(i=tr({},e),i.pathname===void 0&&(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=``,t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?URIError(`Pathname "`+i.pathname+`" could not be decoded. This is likely caused by an invalid percent-encoding.`):e}return n&&(i.key=n),r?i.pathname?i.pathname.charAt(0)!==`/`&&(i.pathname=ir(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||=`/`,i}function hr(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,i){if(e!=null){var a=typeof e==`function`?e(t,n):e;typeof a==`string`?typeof r==`function`?r(a,i):i(!0):i(a!==!1)}else i(!0)}var r=[];function i(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}}function a(){var e=[...arguments];r.forEach(function(t){return t.apply(void 0,e)})}return{setPrompt:t,confirmTransitionTo:n,appendListener:i,notifyListeners:a}}var gr=!!(typeof window<`u`&&window.document&&window.document.createElement);function _r(e,t){t(window.confirm(e))}function vr(){var e=window.navigator.userAgent;return(e.indexOf(`Android 2.`)!==-1||e.indexOf(`Android 4.0`)!==-1)&&e.indexOf(`Mobile Safari`)!==-1&&e.indexOf(`Chrome`)===-1&&e.indexOf(`Windows Phone`)===-1?!1:window.history&&`pushState`in window.history}function yr(){return window.navigator.userAgent.indexOf(`Trident`)===-1}function br(e){return e.state===void 0&&navigator.userAgent.indexOf(`CriOS`)===-1}var xr=`popstate`,Sr=`hashchange`;function Cr(){try{return window.history.state||{}}catch{return{}}}function wr(e){e===void 0&&(e={}),!gr&&sr(!1);var t=window.history,n=vr(),r=!yr(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,s=i.getUserConfirmation,c=s===void 0?_r:s,l=i.keyLength,u=l===void 0?6:l,d=e.basename?dr(cr(e.basename)):``;function f(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname,o=i.search,s=i.hash,c=a+o+s;return d&&(c=ur(c,d)),mr(c,r,n)}function p(){return Math.random().toString(36).substr(2,u)}var m=hr();function h(e){tr(N,e),N.length=t.length,m.notifyListeners(N.location,N.action)}function g(e){br(e)||y(f(e.state))}function _(){y(f(Cr()))}var v=!1;function y(e){if(v)v=!1,h();else{var t=`POP`;m.confirmTransitionTo(e,t,c,function(n){n?h({action:t,location:e}):b(e)})}}function b(e){var t=N.location,n=S.indexOf(t.key);n===-1&&(n=0);var r=S.indexOf(e.key);r===-1&&(r=0);var i=n-r;i&&(v=!0,E(i))}var x=f(Cr()),S=[x.key];function C(e){return d+pr(e)}function w(e,r){var i=`PUSH`,a=mr(e,r,p(),N.location);m.confirmTransitionTo(a,i,c,function(e){if(e){var r=C(a),s=a.key,c=a.state;if(n)if(t.pushState({key:s,state:c},null,r),o)window.location.href=r;else{var l=S.indexOf(N.location.key),u=S.slice(0,l+1);u.push(a.key),S=u,h({action:i,location:a})}else window.location.href=r}})}function T(e,r){var i=`REPLACE`,a=mr(e,r,p(),N.location);m.confirmTransitionTo(a,i,c,function(e){if(e){var r=C(a),s=a.key,c=a.state;if(n)if(t.replaceState({key:s,state:c},null,r),o)window.location.replace(r);else{var l=S.indexOf(N.location.key);l!==-1&&(S[l]=a.key),h({action:i,location:a})}else window.location.replace(r)}})}function E(e){t.go(e)}function D(){E(-1)}function O(){E(1)}var k=0;function A(e){k+=e,k===1&&e===1?(window.addEventListener(xr,g),r&&window.addEventListener(Sr,_)):k===0&&(window.removeEventListener(xr,g),r&&window.removeEventListener(Sr,_))}var j=!1;function M(e){e===void 0&&(e=!1);var t=m.setPrompt(e);return j||=(A(1),!0),function(){return j&&(j=!1,A(-1)),t()}}function ee(e){var t=m.appendListener(e);return A(1),function(){A(-1),t()}}var N={length:t.length,action:`POP`,location:x,createHref:C,push:w,replace:T,go:E,goBack:D,goForward:O,block:M,listen:ee};return N}var Tr=wr(),Er=s((e=>{var t=p();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useSyncExternalStore,a=t.useRef,o=t.useEffect,s=t.useMemo,c=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}})),Dr=s(((e,t)=>{t.exports=Er()})),Or=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),kr=s(((e,t)=>{t.exports=Or()})),Ar=Dr(),U=kr(),jr=(0,H.createContext)(null);function Mr({store:e,children:t}){return(0,U.jsx)(jr.Provider,{value:e,children:t})}function Nr(){let e=(0,H.useContext)(jr);if(e===null)throw Error(`useReaderStore must be used within a StoreProvider`);return e}var Pr=(e,t)=>Object.is(e,t);function Fr(e,t=Pr){let n=Nr();return(0,Ar.useSyncExternalStoreWithSelector)(n.subscribe,n.getSnapshot,n.getSnapshot,e,t)}var Ir={MEMORY:`memory`,QUERY_PARAMS:`searchParams`,LOCAL_STORAGE:`localStorage`};function Lr(e){let t=t=>e.setState(e=>({readerLocation:{...e.readerLocation,...t}})),n=n=>{let{bookURL:r}=e.getSnapshot().readerSettings,i=Hn(r),a=Jn()||{};a[i]=a[i]||{},a[i].location=n,Yn(a),t(n)},r=n=>{let{searchParamKeys:r}=e.getSnapshot().readerSettings,{searchParams:i}=e.getSnapshot().readerLocation,{searchParams:a}=n,{slug:o}=r,s=Yt(i),c=Yt(a),l=s[o],u=c[o],d=!l||l===u?`replace`:`push`,f=er(a,r).toString();Tr[d]({search:f}),t(n)};return{updateLocalStorage:n,updateQueryString:r,setInitialSearchParams:()=>{let{readerSettings:n}=e.getSnapshot(),{bookURL:r,searchParamKeys:i,locationState:a}=n,{searchParams:o}=n;(0,Fn.default)(o)&&(o=Qn(o,i).toString());let s={searchParams:``};if(o)s.searchParams=o;else if(a===Ir.QUERY_PARAMS){let e;if(window.location.search&&Zn(window.location.search,i))e=new URLSearchParams(window.location.search);else{let t=Hn(r);e=(Jn()||{})[t]?.location?.searchParams||``}e=Qn(e,i),e=er(e,i),s={searchParams:e.toString()}}else if(a===Ir.LOCAL_STORAGE){r||console.error("Err! No `bookURL` provided");let e,t=Hn(r),n=Jn()||{};n[t]=n[t]||{},e=n[t].location?.searchParams||``,e=Qn(e,i),s={searchParams:e.toString()},n[t].location=s,Yn(n)}t(s)},updateLocation:t=>{let{locationState:i}=e.getSnapshot().readerSettings;if(i===Ir.QUERY_PARAMS){r(t);return}i===Ir.LOCAL_STORAGE&&n(t)}}}function Rr(){let e=Nr();return(0,H.useMemo)(()=>Lr(e),[e])}var zr=s(((e,t)=>{var n=Rt();function r(e){return typeof e==`number`&&e==n(e)}t.exports=r})),Br=s(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e,t){return e!=null&&n.call(e,t)}t.exports=r})),Vr=s(((e,t)=>{var n=Br(),r=wt();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),Hr=s(((e,t)=>{function n(e){return e===void 0}t.exports=n})),Ur=u(De()),Wr=u(zr()),Gr=u(Vr()),Kr=u(Hr()),qr={SLIDE:`slide`,FADE:`fade`},Jr={DEFAULT:`default`,LIGHT:`light`,DARK:`dark`},Yr={SLOW:.5,NORMAL:1,FAST:1.5},Xr=new Set([`simple`,`normal`,`full`]),Zr={SCROLL:`scroll`,COLUMNS:`columns`},Qr={ONE:`auto auto`,TWO:`2 auto`},$r=`only screen and (min-aspect-ratio: 13 / 5)`,ei=`only screen and (max-width: 768px)`,ti=`only screen and (min-width: 768px) and (max-width: 1140px)`,ni=`only screen and (min-width: 1140px)`,ri=`only screen and (min-width: 1140px) and (max-width: 1140px)`,ii=`only screen and (min-width: 1140px) and (max-width: 1440px)`,ai=`only screen and (min-width: 1440px) and (max-width: 1920px)`,oi=`only screen and (min-width: 1920px)`,si=`only screen and (max-width: 1140px), (min-aspect-ratio: 13 / 5)`,ci=`only screen and (min-width: 1140px) and (max-aspect-ratio: 13 / 5)`,li=new Map([[ei,{maxWidth:`100%`,maxHeight:`auto`,columnGap:`45px`,columns:Qr.ONE,paddingLeft:`15px`,paddingRight:`15px`,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(140%, 1.5vw, 160%)`}],[ti,{maxWidth:`738px`,maxHeight:`auto`,columnGap:`45px`,columns:Qr.ONE,paddingLeft:0,paddingRight:0,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(150%, 1.5vw, 160%)`}],[ri,{maxWidth:`900px`,maxHeight:`500px`,columnGap:`45px`,columns:Qr.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`137%`}],[ii,{maxWidth:`1080px`,maxHeight:`600px`,columnGap:`65px`,columns:Qr.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`130%`}],[ai,{maxWidth:`1280px`,maxHeight:`675px`,columnGap:`80px`,columns:Qr.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`150%`}],[oi,{maxWidth:`1680px`,maxHeight:`880px`,columnGap:`125px`,columns:Qr.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`195%`}]]),ui=()=>{},di=()=>String(Math.random()).substring(2),fi=(...e)=>{let t;do t=e.shift();while((0,Kr.default)(t)&&e.length);return t},pi=(e,...t)=>{let n=e;for(let e=0;e<t.length;e++)if((0,Ur.default)(t[e]))n=[...n||[],...t[e]];else if((0,Fn.default)(t[e]))for(let[r,i]of Object.entries(t[e]))(0,Gr.default)(t[e],r)&&(typeof n[r]==typeof i?n[r]=pi(n[r],i):n[r]=i);else n=t[e];return n},mi=({controls:e})=>Xr.has(e)?e:!(0,Kr.default)(e),W={isMediaQueryMobile:()=>window.matchMedia(ei).matches,isMediaQueryTablet:()=>window.matchMedia(ti).matches,isMediaQueryDesktop:()=>window.matchMedia(ni).matches,isMinimumScrollingAspectRatio:()=>window.matchMedia($r).matches,isSingleColumn:()=>{let{css:e}=W.getCss();return e.columns===Qr.ONE||W.isMinimumScrollingAspectRatio()},isVerticalScrollConfigured:e=>e===Zr.SCROLL,isVerticallyScrolling:({layout:e})=>W.isSingleColumn()||W.isVerticalScrollConfigured(e),isTouch:()=>`ontouchstart`in window||window.navigator.msPointerEnabled||`ontouchstart`in document.documentElement,isPixelValue:e=>(e||``).substring(e.length-2)===`px`,isPercentageValue:e=>(e||``).substring(e.length-1)===`%`,parseStringWidthValue:e=>{let t=0;return W.isPixelValue(e)?t=parseInt(e,10):W.isPercentageValue(e)?t=window.innerWidth*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t},parseStringHeightValue:e=>{let t=0;return W.isPixelValue(e)?t=parseInt(e,10):W.isPercentageValue(e)?t=window.innerHeight*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t},getHorizontalSpacing:e=>{if(e===`auto`)return 0;let t=W.parseStringWidthValue(e);return(window.innerWidth-t)/2},getVerticalSpacing:e=>{if(e===`auto`)return 0;let t=W.parseStringHeightValue(e);return t=(window.innerHeight-t)/2,t=Math.max(0,t),t},getPageWidth:({width:e,paddingLeft:t,paddingRight:n,columnGap:r})=>e-t-n+r,getCss:()=>{let e=ii,t=li.get(e);for(let[n,r]of li)if(window.matchMedia(n).matches){t={...r},e=n;break}return{css:t,mediaQuery:e}},getStyles:()=>{let{css:e}=W.getCss(),{maxWidth:t,maxHeight:n,columnGap:r,columns:i,paddingLeft:a,paddingRight:o,paddingTop:s,paddingBottom:c,fontSize:l}=e,u=W.getHorizontalSpacing(t),d=W.getVerticalSpacing(n);return{paddingLeft:u+parseInt(a,10),paddingRight:u+parseInt(o,10),paddingTop:d+parseInt(s,10),paddingBottom:d+parseInt(c,10),columnGap:parseInt(r,10),fontSize:l,columns:i}},styles:()=>W.getStyles()},hi={getTranslateX:()=>0,navigateToChapterByURL:ui,getSpineItemByAbsoluteUrl:ui},gi=H.createContext(hi);gi.displayName=`ReaderApiContext`;var _i=H.createContext({lastSpread:!1,spreadIndex:0});_i.displayName=`ReaderContext`;function vi(e){return{setContent:t=>e.setState({content:t})}}function yi(){let e=Nr();return(0,H.useMemo)(()=>vi(e),[e])}function bi(e){let t=t=>e.setState(e=>({userInterface:{...e.userInterface,...t}}));return{update:t,enablePageTransitions:()=>t({enableTransitions:!0}),disablePageTransitions:()=>t({enableTransitions:!1}),enableEventHandling:()=>t({handleEvents:!0}),disableEventHandling:()=>t({handleEvents:!1}),showSpinner:()=>t({spinnerVisible:!0}),hideSpinner:()=>t({spinnerVisible:!1})}}function xi(){let e=Nr();return(0,H.useMemo)(()=>bi(e),[e])}function G(e){let t=t=>e.setState(e=>({view:{...e.view,...t}}));return{update:t,load:()=>t({loaded:!0}),unload:()=>t({loaded:!1}),updateUltimateNodePosition:e=>t(e),updateLastSpreadIndex:e=>t({lastSpreadIndex:e})}}function Si(){let e=Nr();return(0,H.useMemo)(()=>G(e),[e])}function Ci(e){return{update:(t={})=>e.setState(e=>({viewerSettings:{...e.viewerSettings,...t}}))}}function wi(){let e=Nr();return(0,H.useMemo)(()=>Ci(e),[e])}var Ti=(e,t)=>{let n=Fr(e=>e.userInterface.handleEvents),{enablePageTransitions:r}=xi();return{goToPrevChapter:(0,H.useCallback)(()=>{n&&e(-1)},[n,e]),goToNextChapter:(0,H.useCallback)(()=>{n&&e(1)},[n,e]),goToPrevPage:(0,H.useCallback)(()=>{n&&(r(),t(-1))},[n,r,t]),goToNextPage:(0,H.useCallback)(()=>{n&&(r(),t(1))},[n,r,t])}},Ei=()=>(0,U.jsx)(`svg`,{width:`16px`,height:`24px`,viewBox:`0 0 16 24`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`path`,{d:`M11.5200443,3.81700476 L10.912505,19.866168 L7.51421865,19.6662688 L7.63313975,7.70390934 L-4.32921972,7.82283044 L-4.52911892,4.42454406 L11.5200443,3.81700476 Z`,stroke:`#FFFFFF`,fill:`#333333`,fillRule:`nonzero`,transform:`translate(3.500000, 11.837049) rotate(-315.000000) translate(-3.500000, -11.837049) `})})}),Di=()=>(0,U.jsx)(`svg`,{style:{transform:`scale(-1)`},width:`16px`,height:`24px`,viewBox:`0 0 16 24`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`path`,{d:`M11.5200443,3.81700476 L10.912505,19.866168 L7.51421865,19.6662688 L7.63313975,7.70390934 L-4.32921972,7.82283044 L-4.52911892,4.42454406 L11.5200443,3.81700476 Z`,stroke:`#FFFFFF`,fill:`#333333`,fillRule:`nonzero`,transform:`translate(3.500000, 11.837049) rotate(-315.000000) translate(-3.500000, -11.837049) `})})}),Oi=()=>(0,U.jsx)(`svg`,{viewBox:`0 0 12 13`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`g`,{transform:`translate(0.000000, 0.422836)`,fill:`#000000`,fillRule:`nonzero`,children:(0,U.jsx)(`polygon`,{points:`5.97909408 6.7 1.6097561 12 0 12 5.18466899 5.83333333 0.209059233 0 1.86062718 0 5.97909408 5.05 10.1184669 0 11.7700348 0 6.83623693 5.83333333 12 12 10.369338 12`})})})}),ki=()=>(0,U.jsx)(`svg`,{viewBox:`0 0 18 22`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`g`,{transform:`translate(-6.000000, -3.000000)`,fill:`#000000`,children:(0,U.jsx)(`path`,{d:`M23.75,11.25 L18.75,11.25 L18.75,3.75 L11.25,3.75 L11.25,11.25 L6.25,11.25 L15,20 L23.75,11.25 L23.75,11.25 Z M6.25,22.5 L6.25,25 L23.75,25 L23.75,22.5 L6.25,22.5 L6.25,22.5 Z`})})})}),Ai=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M480-80q-78 0-145.5-29T219-187q-49-49-78-116.5T112-449h60q5 130 96.5 221.5T480-136q132 0 226-94t94-226q0-132-94-226t-226-94q-67 0-126.5 27T250-680h110v60H140v-220h60v100q56-60 130.5-95T480-870q83 0 156 31.5T763-757q53 53 84.5 124.5T880-481q0 83-31.5 155t-86 127q-54.5 55-127 86.5T480-80Zm-78-220v-208h-50v-40h90v248h-40Zm180 0q-17 0-28.5-11.5T542-340v-120q0-17 11.5-28.5T582-500h70q17 0 28.5 11.5T692-460v120q0 17-11.5 28.5T652-300h-70Zm10-40h50v-120h-50v120Z`})}),ji=()=>(0,U.jsx)(`svg`,{style:{top:1},viewBox:`0 0 32 32`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsxs)(`g`,{transform:`translate(1.000000, 0.615224)`,stroke:`#222222`,children:[(0,U.jsx)(`circle`,{id:`Oval`,cx:`15`,cy:`15`,r:`15`}),(0,U.jsx)(`circle`,{id:`Oval`,cx:`15.5`,cy:`15.5`,r:`7.5`})]})})}),Mi=()=>(0,U.jsx)(`svg`,{style:{top:1},viewBox:`0 0 26 26`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`g`,{transform:`translate(-2.000000, -2.000000)`,fill:`#222222`,children:(0,U.jsx)(`path`,{d:`M13.75,21.25 L16.25,21.25 L16.25,13.75 L13.75,13.75 L13.75,21.25 L13.75,21.25 Z M15,2.5 C8.1,2.5 2.5,8.1 2.5,15 C2.5,21.9 8.1,27.5 15,27.5 C21.9,27.5 27.5,21.9 27.5,15 C27.5,8.1 21.9,2.5 15,2.5 L15,2.5 Z M15,25 C9.4875,25 5,20.5125 5,15 C5,9.4875 9.4875,5 15,5 C20.5125,5 25,9.4875 25,15 C25,20.5125 20.5125,25 15,25 L15,25 Z M13.75,11.25 L16.25,11.25 L16.25,8.75 L13.75,8.75 L13.75,11.25 L13.75,11.25 Z`})})})}),Ni=()=>(0,U.jsx)(`svg`,{viewBox:`0 0 22 18`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`g`,{transform:`translate(-5.000000, -6.192388)`,fill:`#000000`,children:(0,U.jsx)(`path`,{d:`M5,17.5 L10,17.5 L10,12.5 L5,12.5 L5,17.5 L5,17.5 Z M5,23.75 L10,23.75 L10,18.75 L5,18.75 L5,23.75 L5,23.75 Z M5,11.25 L10,11.25 L10,6.25 L5,6.25 L5,11.25 L5,11.25 Z M11.25,17.5 L26.25,17.5 L26.25,12.5 L11.25,12.5 L11.25,17.5 L11.25,17.5 Z M11.25,23.75 L26.25,23.75 L26.25,18.75 L11.25,18.75 L11.25,23.75 L11.25,23.75 Z M11.25,6.25 L11.25,11.25 L26.25,11.25 L26.25,6.25 L11.25,6.25 L11.25,6.25 Z`})})})}),Pi=()=>(0,U.jsx)(`svg`,{width:`24px`,height:`36px`,viewBox:`0 0 24 36`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`path`,{d:`M17.5200443,5.70178107 L16.571811,30.7509443 L11.7255751,30.4658716 L11.9160509,11.3057745 L-7.24404621,11.4962503 L-7.52911892,6.65001438 L17.5200443,5.70178107 Z`,stroke:`#FFFFFF`,fill:`#333333`,fillRule:`nonzero`,transform:`translate(5.000000, 18.221825) rotate(-315.000000) translate(-5.000000, -18.221825) `})})}),Fi=()=>(0,U.jsx)(`svg`,{style:{transform:`scale(-1)`},width:`24px`,height:`36px`,viewBox:`0 0 24 36`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,U.jsx)(`path`,{d:`M17.5200443,5.70178107 L16.571811,30.7509443 L11.7255751,30.4658716 L11.9160509,11.3057745 L-7.24404621,11.4962503 L-7.52911892,6.65001438 L17.5200443,5.70178107 Z`,stroke:`#FFFFFF`,fill:`#333333`,fillRule:`nonzero`,transform:`translate(5.000000, 18.221825) rotate(-315.000000) translate(-5.000000, -18.221825) `})})}),Ii=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M520-200v-560h240v560H520Zm-320 0v-560h240v560H200Z`})}),Li=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M320-200v-560l440 280-440 280Z`})}),Ri=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M280-80 120-240l160-160 56 58-62 62h406v-120h80v200H274l62 62-56 58Zm-80-440v-200h486l-62-62 56-58 160 160-160 160-56-58 62-62H280v160h-80Z`})}),zi=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M480-80q-83 0-156-31.5T197-197q-53-53-84.5-124.5T80-481q0-83 31.5-155t86-127q54.5-55 127-86.5T480-880q78 0 145.5 29T741-773q49 49 78 116.5T849-513h-60q-5-130-96.5-221.5T480-826q-132 0-226 94t-94 226q0 132 94 226t226 94q67 0 126.5-27T710-282H600v-60h220v220h-60v-100q-56 60-130.5 95T480-80Zm-78-220v-208h-50v-40h90v248h-40Zm180 0q-17 0-28.5-11.5T542-340v-120q0-17 11.5-28.5T582-500h70q17 0 28.5 11.5T692-460v120q0 17-11.5 28.5T652-300h-70Zm10-40h50v-120h-50v120Z`})}),Bi=()=>(0,U.jsx)(`svg`,{viewBox:`0 -960 960 960`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,children:(0,U.jsx)(`path`,{d:`M560-131v-82q90-26 145-100t55-168q0-94-55-168T560-749v-82q124 28 202 125.5T840-481q0 127-78 224.5T560-131ZM120-360v-240h160l200-200v640L280-360H120Zm440 80v-400q47 22 73.5 65t26.5 95q0 51-26.5 94T560-280Z`})});function Vi(e){let t=e.spine?.length??0,n=(0,H.useMemo)(()=>({chapter:{prev:e=>e.currentSpineItemIndex<1?!1:e.uiOptions.navigation.footer_icons.chapter||W.isVerticallyScrolling(e),next:e=>{let t=e.spine?.length??0;return e.currentSpineItemIndex>=t-1?!1:e.uiOptions.navigation.footer_icons.chapter||W.isVerticallyScrolling(e)}},page:{prev:e=>!W.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==0||e.spreadIndex!==0),next:e=>{let t=e.spine?.length??0;return!W.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==t-1||e.spreadIndex!==e.lastSpreadIndex)}}}),[e.currentSpineItemIndex,e.uiOptions.navigation.footer_icons.chapter,t,e.uiOptions.navigation.footer_icons.page,e.spreadIndex,e.lastSpreadIndex]);return e.spine?(0,U.jsx)(`footer`,{className:`bber-controls__footer`,children:(0,U.jsx)(`nav`,{className:`bber-nav`,children:(0,U.jsxs)(`ul`,{className:`bber-ul`,children:[(0,U.jsx)(`li`,{className:`bber-li`,children:n.chapter.prev(e)&&(0,U.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:e.goToPrevChapter,children:(0,U.jsx)(Di,{})})}),(0,U.jsx)(`li`,{className:`bber-li`,children:n.page.prev(e)&&(0,U.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-prev`,onClick:e.goToPrevPage,children:(0,U.jsx)(Fi,{})})}),(0,U.jsx)(`li`,{className:`bber-li`,children:n.page.next(e)&&(0,U.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-next`,onClick:e.goToNextPage,children:(0,U.jsx)(Pi,{})})}),(0,U.jsx)(`li`,{className:`bber-li`,children:n.chapter.next(e)&&(0,U.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:e.goToNextChapter,children:(0,U.jsx)(Ei,{})})})]})})}):null}var K=u(s(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a===`string`||a===`number`)t.push(i);else if(Array.isArray(i)){if(i.length){var o=n.apply(null,i);o&&t.push(o)}}else if(a===`object`){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes(`[native code]`)){t.push(i.toString());continue}for(var s in i)e.call(i,s)&&i[s]&&t.push(s)}}}return t.join(` `)}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))());function Hi(){let[e,t]=(0,H.useState)(0);return[(0,H.useCallback)(e=>{if(e===null){t(0);return}let{y:n}=e.getBoundingClientRect();t(window.innerHeight-n)},[window.innerHeight]),e]}function Ui(e){let{current:t,items:n}=e,r=e.depth||0;return(0,U.jsx)(`ol`,{className:`bber-ol`,children:n.filter(e=>e.depth===r&&e.inTOC).map((n,i)=>(0,U.jsxs)(`li`,{className:`bber-li`,children:[(0,U.jsx)(`button`,{onClick:()=>e.navigateToChapterByURL(n.absoluteURL),className:(0,K.default)(`bber-button bber-indent--${r+1}`,{"bber-chapter--current":t===n.id}),children:n.title||`Chapter ${r}.${i}`}),n.children.length>0&&(0,U.jsx)(Ui,{current:t,items:n.children,depth:r+1,navigateToChapterByURL:e.navigateToChapterByURL})]},n.id))})}function Wi(e){let t=Fr(e=>e.readerSettings),[n,r]=Hi();if(t.SidebarChapters){let n=t.SidebarChapters;return n(e)}return e.showSidebar===`chapters`?(0,U.jsx)(`nav`,{ref:n,style:{maxHeight:r},className:(0,K.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__chapters`,`bber-controls__sidebar__chapters--open`),children:(0,U.jsx)(Ui,{items:[...e.spine],current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL})}):null}function Gi({url:e,label:t,description:n}){return(0,U.jsx)(`li`,{className:`bber-li`,children:(0,U.jsxs)(`a`,{className:`bber-a`,download:!0,href:e,onClick:()=>{},children:[(0,U.jsx)(`div`,{className:`bber-downloads__title`,children:t}),n&&(0,U.jsx)(`div`,{className:`bber-downloads__description`,children:n})]})})}function Ki(e){let t=Fr(e=>e.readerSettings),[n,r]=Hi();if(t.SidebarDownloads){let n=t.SidebarDownloads;return n(e)}return e.showSidebar===`downloads`?(0,U.jsx)(`nav`,{ref:n,style:{maxHeight:r},className:(0,K.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__downloads`,`bber-controls__sidebar__downloads--open`),children:(0,U.jsx)(`ul`,{className:`bber-ul`,children:e.downloads.map(e=>(0,U.jsx)(Gi,{url:e.url,label:e.label,description:e.description},e.url))})}):null}function qi(e){let t=Fr(e=>e.readerSettings),[n,r]=Hi();if(t.SidebarMetadata){let n=t.SidebarMetadata;return n(e)}return e.showSidebar===`metadata`?(0,U.jsx)(`nav`,{ref:n,style:{maxHeight:r},className:(0,K.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__metadata`,`bber-controls__sidebar__metadata--open`),children:(0,U.jsx)(`dl`,{className:`bber-dl`,children:Object.entries(e.metadata).map(([e,t])=>!e||!t?null:(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`dt`,{className:`bber-dt`,children:e}),(0,U.jsx)(`dd`,{className:`bber-dd`,children:t})]},e))})}):null}function Ji(e){if(!e||!e.uiOptions?.navigation?.header_icons)return null;let{showSidebar:t,downloads:n,spine:r,currentSpineItemIndex:i,navigateToChapterByURL:a,metadata:o}=e,{toc:s,home:c,info:l,downloads:u}=e.uiOptions.navigation.header_icons;return(0,U.jsx)(`header`,{className:`bber-controls__header`,children:(0,U.jsx)(`nav`,{className:`bber-nav`,children:(0,U.jsxs)(`ul`,{className:`bber-ul`,children:[(0,U.jsx)(`li`,{className:`bber-li bber-li-home`,children:c&&(0,U.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:e.destroyReaderComponent,children:(0,U.jsx)(ji,{})})}),(0,U.jsx)(`li`,{className:`bber-li`,children:(0,U.jsxs)(`ul`,{className:`bber-ul`,children:[s&&(0,U.jsxs)(`li`,{className:`bber-li bber-li-toc`,children:[(0,U.jsx)(`button`,{className:(0,K.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`chapters`}),onClick:()=>e.handleSidebarButtonClick(`chapters`),children:t===`chapters`?(0,U.jsx)(Oi,{}):(0,U.jsx)(Ni,{})}),(0,U.jsx)(Wi,{showSidebar:t,spine:r,currentSpineItemIndex:i,navigateToChapterByURL:a})]}),u&&n.length>0&&(0,U.jsxs)(`li`,{className:`bber-li bber-li-downloads`,children:[(0,U.jsx)(`button`,{className:(0,K.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`downloads`}),onClick:()=>e.handleSidebarButtonClick(`downloads`),children:t===`downloads`?(0,U.jsx)(Oi,{}):(0,U.jsx)(ki,{})}),(0,U.jsx)(Ki,{showSidebar:t,downloads:n})]}),!1,l&&(0,U.jsxs)(`li`,{className:`bber-li bber-li-info`,children:[(0,U.jsx)(`button`,{className:(0,K.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`metadata`}),onClick:()=>e.handleSidebarButtonClick(`metadata`),children:t===`metadata`?(0,U.jsx)(Oi,{}):(0,U.jsx)(Mi,{})}),(0,U.jsx)(qi,{showSidebar:t,metadata:o})]})]})})]})})})}function Yi(e){let t=Fr(e=>e.readerSettings),n=Fr(e=>e.userInterface),r=xi(),i=t=>{if(!n.handleEvents)return;let r=t.target;r.closest(`.bber-controls__sidebar`)===null&&r.closest(`.bber-nav__button`)===null&&e.showSidebar&&e.handleSidebarButtonClick(null)},a=t=>{if(n.handleEvents&&!(!t||t.which===void 0))switch(t.which){case 37:r.enablePageTransitions(),e.handlePageNavigation(-1),e.handleSidebarButtonClick(null);break;case 39:r.enablePageTransitions(),e.handlePageNavigation(1),e.handleSidebarButtonClick(null);break;case 27:e.handleSidebarButtonClick(null);break;case 80:t.metaKey&&(t.preventDefault(),t.stopImmediatePropagation(),window.print());break;default:break}};(0,H.useEffect)(()=>(document.addEventListener(`keydown`,a),document.addEventListener(`click`,i),document.addEventListener(`touchstart`,i),()=>{document.removeEventListener(`keydown`,a),document.removeEventListener(`click`,i),document.removeEventListener(`touchstart`,i)}),[n.handleEvents,e.showSidebar]);let o=t.NavigationHeader||Ji,s=t.NavigationFooter||Vi,{destroyReaderComponent:c,handleSidebarButtonClick:l,downloads:u,uiOptions:d,currentSpineItemIndex:f,spine:p,layout:m,metadata:h,showSidebar:g,spreadIndex:_,lastSpreadIndex:v,handleChapterNavigation:y,handlePageNavigation:b,navigateToChapterByURL:x}=e,{goToPrevChapter:S,goToNextChapter:C,goToPrevPage:w,goToNextPage:T}=Ti(y,b);return(0,U.jsxs)(`div`,{className:`bber-controls`,children:[(0,U.jsx)(o,{destroyReaderComponent:c,handleSidebarButtonClick:l,downloads:u,uiOptions:d,showSidebar:g,spine:p,currentSpineItemIndex:f,navigateToChapterByURL:x,metadata:h}),e.children,(0,U.jsx)(s,{uiOptions:d,currentSpineItemIndex:f,spine:p,layout:m,spreadIndex:_,lastSpreadIndex:v,goToPrevChapter:S,goToNextChapter:C,goToPrevPage:w,goToNextPage:T})]})}var Xi=class extends H.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(`Reader crashed:`,e,t.componentStack)}handleRetry=()=>{this.setState({error:null})};render(){let{error:e}=this.state;return e?(0,U.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,height:`100%`,padding:`2rem`,textAlign:`center`,fontFamily:`sans-serif`},children:[(0,U.jsx)(`p`,{children:`Something went wrong while displaying this book.`}),(0,U.jsx)(`button`,{type:`button`,onClick:this.handleRetry,children:`Try again`})]}):this.props.children}},Zi=s(((e,t)=>{var n=D();t.exports=function(){return n.Date.now()}})),Qi=s(((e,t)=>{var n=M(),r=Zi(),i=It(),a=`Expected a function`,o=Math.max,s=Math.min;function c(e,t,c){var l,u,d,f,p,m,h=0,g=!1,_=!1,v=!0;if(typeof e!=`function`)throw TypeError(a);t=i(t)||0,n(c)&&(g=!!c.leading,_=`maxWait`in c,d=_?o(i(c.maxWait)||0,t):d,v=`trailing`in c?!!c.trailing:v);function y(t){var n=l,r=u;return l=u=void 0,h=t,f=e.apply(r,n),f}function b(e){return h=e,p=setTimeout(C,t),g?y(e):f}function x(e){var n=e-m,r=e-h,i=t-n;return _?s(i,d-r):i}function S(e){var n=e-m,r=e-h;return m===void 0||n>=t||n<0||_&&r>=d}function C(){var e=r();if(S(e))return w(e);p=setTimeout(C,x(e))}function w(e){return p=void 0,v&&l?y(e):(l=u=void 0,f)}function T(){p!==void 0&&clearTimeout(p),h=0,l=m=u=p=void 0}function E(){return p===void 0?f:w(r())}function D(){var e=r(),n=S(e);if(l=arguments,u=this,m=e,n){if(p===void 0)return b(m);if(_)return clearTimeout(p),p=setTimeout(C,t),y(m)}return p===void 0&&(p=setTimeout(C,t)),f}return D.cancel=T,D.flush=E,D}t.exports=c})),$i=s((e=>{e.endianness=function(){return`LE`},e.hostname=function(){return typeof location<`u`?location.hostname:``},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return`Browser`},e.release=function(){return typeof navigator<`u`?navigator.appVersion:``},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return`javascript`},e.platform=function(){return`browser`},e.tmpdir=e.tmpDir=function(){return`/tmp`},e.EOL=`
|
|
3
|
+
`,e.homedir=function(){return`/`}})),ea=s(((e,t)=>{function n(){return i()||(typeof navigator<`u`?a(navigator.userAgent):null)}function r(e){var t=s().filter(function(t){return t.rule&&t.rule.test(e)})[0];return t?t.name:null}function i(){return typeof navigator>`u`&&typeof process<`u`?{name:`node`,version:process.version.slice(1),os:$i().type().toLowerCase()}:null}function a(e){var t=o();if(!e)return null;var n=t.map(function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(r.length==1?[0,0]:[0])),n&&{name:t.name,version:r.join(`.`)}}).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&(n||={},n.bot=!0),n}function o(){return c([[`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/]])}function s(){return c([[`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)/]])}function c(e){return e.map(function(e){return{name:e[0],rule:e[1]}})}t.exports={detect:n,detectOS:r,getNodeVersion:i,parseUserAgent:a}})),ta=u(Qi()),na=(0,ea().detect)(),ra=({transitionSpeed:e})=>({[qr.SLIDE]:{transition:`transform ${e}ms ease`},[qr.FADE]:{}}),ia=e=>{if(!e||/mobi/i.test(window.navigator.userAgent)===!1)return window.innerWidth;let{matches:t}=window.matchMedia(`(orientation: landscape)`);return t?window.screen.height:window.screen.width},aa=e=>{let t=wi(),n=(0,H.useCallback)(()=>{let n=W.isVerticallyScrolling({layout:e}),r=ia(n),i=n?`auto`:window.innerHeight,a=n?Qr.ONE:Qr.TWO;t.update({width:r,height:i,columns:a})},[e,t]);(0,H.useLayoutEffect)(()=>{n()},[]);let r=Fr(e=>e.viewerSettings),i=(0,H.useCallback)(()=>{if(W.isVerticallyScrolling({layout:e}))return`auto`;let{height:t}=r,{paddingTop:n,paddingBottom:i}=r;return Bn(t)||(t=window.innerHeight),t-=n,t-=i,t},[e,r]),a=(0,H.useCallback)(()=>{let{width:e,paddingLeft:t,paddingRight:n,columnGap:i}=r;return e-t-n-i},[r]);return{viewerSettings:r,viewerSettingsActions:t,getFrameHeight:i,getFrameWidth:a,getSingleColumnWidth:(0,H.useCallback)(()=>a()/2,[a]),updateDimensions:n}},oa=100,sa=e=>{function t(t){let n=aa(t.layout),r=Si(),i=(0,H.useRef)(null),[a,o]=(0,H.useState)(0),s=(0,H.useRef)(null),c=(0,H.useRef)(t);c.current=t;let l=(0,H.useRef)(n);l.current=n,(0,H.useEffect)(()=>{o(0)},[t.slug]),(0,H.useEffect)(()=>{let e=()=>{if(!i.current)return;let e=document.querySelector(`.bber-ultimate`),t=na?.name,n;if(t===`firefox`||t===`edge`&&/Windows/.test(window.navigator.userAgent)&&e){if(!e)return;n=e.offsetLeft}else n=Math.max(i.current.scrollHeight,i.current.offsetHeight,i.current.clientHeight);o(n)};s.current=e;let t=null,n=()=>{t&&clearTimeout(t),t=setTimeout(e,oa)},r=new MutationObserver(n);i.current&&r.observe(i.current,{childList:!0,subtree:!0});let a=new ResizeObserver(n);return i.current&&a.observe(i.current),e(),()=>{r.disconnect(),a.disconnect(),t&&clearTimeout(t)}},[]),(0,H.useEffect)(()=>{s.current?.()},[t.view?.loaded,t.view?.ultimateOffsetLeft]);let{loaded:u,ultimateOffsetLeft:d}=t.view??{};return(0,H.useEffect)(()=>{if(a===0)return;let e=l.current.getFrameHeight();if(!Bn(e)||e===0){r.updateLastSpreadIndex(0);return}let t=a/e/2,n=Math.round((t+2**-52)*10)/10,i=Math.ceil(n)-1;i<0&&(i=0),r.updateLastSpreadIndex(i)},[a,u,d]),(0,U.jsx)(e,{innerRef:i,getFrameHeight:n.getFrameHeight,getFrameWidth:n.getFrameWidth,getSingleColumnWidth:n.getSingleColumnWidth,updateDimensions:n.updateDimensions,BookContent:t.BookContent,className:t.className,lastSpreadIndex:t.lastSpreadIndex,layout:t.layout,readerSettings:t.readerSettings,slug:t.slug,spreadIndex:t.spreadIndex,spineItemURL:t.spineItemURL,style:t.style,view:t.view,viewerSettings:n.viewerSettings,userInterface:t.userInterface,viewerSettingsActions:n.viewerSettingsActions})}return t};function ca(e,t){let{width:n,height:r,columns:i,columnGap:a,paddingTop:o,paddingLeft:s,paddingRight:c,paddingBottom:l,fontSize:u}=e.viewerSettings,{margin:d,border:f,boxSizing:p,columnFill:m,transform:h}=t,{layout:g}=e,_=o,v=l;if(W.isVerticalScrollConfigured(g)){let e=li.get(ei);_=e.paddingTop,v=e.paddingBottom}return{width:n,height:r,columnGap:a,paddingTop:_,paddingLeft:s,paddingRight:c,paddingBottom:v,margin:d,border:f,boxSizing:p,columns:i,columnFill:m,transform:h,fontSize:u}}function la(e,t){let n={},r=t;return na?.name===`firefox`?(e===`left`&&(r*=-1),n={[e]:`${r}px`}):(r*=-1,n={transform:`translateX(${r}px) translate3d(0, 0, 0)`}),n}function ua({layout:e,paddingLeft:t,paddingRight:n,enableTransitions:r,translateX:i}){return W.isVerticallyScrolling({layout:e})?null:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`bber-leaf bber-leaf--left`,style:{width:t,...la(`left`,i),...r?{}:{transition:`none`}}}),(0,U.jsx)(`div`,{className:`bber-leaf bber-leaf--right`,style:{width:n,...la(`right`,i),...r?{}:{transition:`none`}}})]})}function da(e){let t=(0,H.useContext)(gi),[n,r]=(0,H.useState)({margin:0,border:0,boxSizing:`border-box`,transform:`translateX(0) translate3d(0, 0, 0)`,columnFill:`auto`}),i=e.getFrameHeight(),{spreadIndex:a,slug:o,layout:s}=e,{enableTransitions:c}=Fr(e=>e.userInterface),{transition:l,transitionSpeed:u,paddingLeft:d,paddingRight:f}=e.viewerSettings,p=t.getTranslateX(),m=e=>{let n=`translateX(${t.getTranslateX(e)}px) translate3d(0, 0, 0)`;r(e=>({...e,transform:n}))},h=()=>{e.updateDimensions(),m()},g=(0,H.useRef)(h);g.current=h;let _=(0,H.useMemo)(()=>(0,ta.default)(()=>g.current(),60,{}),[]);return(0,H.useEffect)(()=>(e.updateDimensions(),m(),window.addEventListener(`resize`,_),()=>window.removeEventListener(`resize`,_)),[]),(0,H.useEffect)(()=>{m(e.spreadIndex)},[e.spreadIndex]),(0,U.jsxs)(`div`,{id:`layout`,className:(0,K.default)(`spread-index__${a}`,o,{context__scroll:W.isVerticallyScrolling({layout:s}),context__desktop:W.isMediaQueryDesktop(),context__mobile:!W.isMediaQueryDesktop()}),style:{...ca(e,n),...ra({transitionSpeed:u})[l],...c?{}:{transition:`none`}},children:[(0,U.jsx)(`div`,{id:`content`,ref:e.innerRef,style:{margin:0,padding:0,minHeight:i},children:(0,U.jsx)(e.BookContent,{})}),(0,U.jsx)(ua,{layout:s,paddingLeft:d,paddingRight:f,enableTransitions:c,translateX:p,transitionSpeed:u})]})}var fa=sa(da);function pa(e){let t=Fr(e=>e.readerSettings),n=Fr(e=>e.viewerSettings),r=(0,H.useRef)(null);return(0,H.useEffect)(()=>{!W.isSingleColumn()||!r?.current||r.current.scrollTo(0,0)},[e.slug]),(0,U.jsx)(`div`,{id:`frame`,ref:r,className:(0,K.default)(`_${Hn(t.bookURL)}`,e.className||``),style:{position:`absolute`,top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0,...W.isVerticallyScrolling(e)?{WebkitOverflowScrolling:`touch`,overflowY:`auto`,overflowX:`hidden`}:{overflow:`hidden`},...(0,Fn.default)(e.style)?e.style:{}},children:(0,U.jsx)(Xi,{children:(0,U.jsx)(fa,{BookContent:e.BookContent,className:e.className,lastSpreadIndex:e.lastSpreadIndex,layout:e.layout,readerSettings:t,slug:e.slug,spreadIndex:e.spreadIndex,style:e.style,view:e.view,viewerSettings:n})})})}var ma={spinner:`_spinner_6dbu4_19`,visible:`_visible_6dbu4_29`,detail:`_detail_6dbu4_33`,pulse:`_pulse_6dbu4_1`};function ha(){let e=Fr(e=>e.userInterface.spinnerVisible);return(0,U.jsx)(`div`,{className:(0,K.default)(ma.spinner,{[ma.visible]:e}),children:(0,U.jsx)(`div`,{className:ma.detail})})}var ga=0;function _a(e){return e>=48&&e<=57}function va(e){return _a(e)||e>=65&&e<=70||e>=97&&e<=102}function ya(e){return e>=65&&e<=90}function ba(e){return e>=97&&e<=122}function xa(e){return ya(e)||ba(e)}function Sa(e){return e>=128}function Ca(e){return xa(e)||Sa(e)||e===95}function wa(e){return Ca(e)||_a(e)||e===45}function Ta(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Ea(e){return e===10||e===13||e===12}function Da(e){return Ea(e)||e===32||e===9}function Oa(e,t){return!(e!==92||Ea(t)||t===ga)}function ka(e,t,n){return e===45?Ca(t)||t===45||Oa(t,n):Ca(e)?!0:e===92?Oa(e,t):!1}function Aa(e,t,n){return e===43||e===45?_a(t)?2:t===46&&_a(n)?3:0:e===46?_a(t)?2:0:+!!_a(e)}function ja(e){return+(e===65279||e===65534)}var Ma=Array(128);for(let e=0;e<Ma.length;e++)Ma[e]=Da(e)&&130||_a(e)&&131||Ca(e)&&132||Ta(e)&&133||e||128;function Na(e){return e<128?Ma[e]:132}function Pa(e,t){return t<e.length?e.charCodeAt(t):0}function Fa(e,t,n){return n===13&&Pa(e,t+1)===10?2:1}function q(e,t,n){let r=e.charCodeAt(t);return ya(r)&&(r|=32),r===n}function J(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){let n=r.charCodeAt(i-t),a=e.charCodeAt(i);if(ya(a)&&(a|=32),a!==n)return!1}return!0}function Ia(e,t){for(;t>=0&&Da(e.charCodeAt(t));t--);return t+1}function La(e,t){for(;t<e.length&&Da(e.charCodeAt(t));t++);return t}function Ra(e,t){for(;t<e.length&&_a(e.charCodeAt(t));t++);return t}function za(e,t){if(t+=2,va(Pa(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&va(Pa(e,t));t++);let n=Pa(e,t);Da(n)&&(t+=Fa(e,t,n))}return t}function Ba(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!wa(n)){if(Oa(n,Pa(e,t+1))){t=za(e,t)-1;continue}break}}return t}function Va(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),_a(n)&&(t=Ra(e,t+1),n=e.charCodeAt(t)),n===46&&_a(e.charCodeAt(t+1))&&(t+=2,t=Ra(e,t)),q(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),_a(n)&&(t=Ra(e,t+1+r+1))}return t}function Ha(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}Oa(n,Pa(e,t+1))&&(t=za(e,t))}return t}function Ua(e){if(e.length===1&&!va(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Wa=[`EOF-token`,`ident-token`,`function-token`,`at-keyword-token`,`hash-token`,`string-token`,`bad-string-token`,`url-token`,`bad-url-token`,`delim-token`,`number-token`,`percentage-token`,`dimension-token`,`whitespace-token`,`CDO-token`,`CDC-token`,`colon-token`,`semicolon-token`,`comma-token`,`[-token`,`]-token`,`(-token`,`)-token`,`{-token`,`}-token`],Ga=16*1024;function Ka(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Ga)):e}var qa=10,Ja=12,Ya=13;function Xa(e){let t=e.source,n=t.length,r=t.length>0?ja(t.charCodeAt(0)):0,i=Ka(e.lines,n),a=Ka(e.columns,n),o=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=o,a[e]=s++,(r===qa||r===Ya||r===Ja)&&(r===Ya&&e+1<n&&t.charCodeAt(e+1)===qa&&(e++,i[e]=o,a[e]=s),o++,s=1)}i[n]=o,a[n]=s,e.lines=i,e.columns=a,e.computed=!0}var Za=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||Xa(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Xa(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},Qa=16777215,$a=24,eo=new Map([[2,22],[21,22],[19,20],[23,24]]),to=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e=``,t=()=>{}){e=String(e||``);let n=e.length,r=Ka(this.offsetAndType,e.length+1),i=Ka(this.balance,e.length+1),a=0,o=0,s=0,c=-1;for(this.offsetAndType=null,this.balance=null,t(e,(e,t,l)=>{switch(e){default:i[a]=n;break;case o:{let e=s&Qa;for(s=i[e],o=s>>$a,i[a]=e,i[e++]=a;e<a;e++)i[e]===n&&(i[e]=a);break}case 21:case 2:case 19:case 23:i[a]=s,o=eo.get(e),s=o<<$a|a;break}r[a++]=e<<$a|l,c===-1&&(c=t)}),r[a]=0<<$a|n,i[a]=n,i[n]=n;s!==0;){let e=s&Qa;s=i[e],i[e]=n}this.source=e,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>$a:0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Qa:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?J(this.source,this.offsetAndType[e-1]&Qa,this.offsetAndType[e]&Qa,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Qa:this.offsetAndType[this.tokenCount]&Qa:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Qa,t=this.offsetAndType[t],this.tokenType=t>>$a,this.tokenEnd=t&Qa):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>$a,this.tokenEnd=e&Qa):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let n=e,r,i;loop:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break loop;switch(i=n>0?this.offsetAndType[n-1]&Qa:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break loop;case 2:n++;break loop;default:this.balance[r]===n&&(n=r)}}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,i=this.offsetAndType[t],a=i&Qa,o=i>>$a;n=a,e(o,r,a,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:Wa[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function no(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=Va(e,l),ka(n(l),n(l+1),n(l+2))){u=12,l=Ba(e,l);return}if(n(l)===37){u=11,l++;return}u=10}function i(){let t=l;if(l=Ba(e,l),J(e,t,l,`url`)&&n(l)===40){if(l=La(e,l+1),n(l)===34||n(l)===39){u=2,l=t+4;return}o();return}if(n(l)===40){u=2,l++;return}u=1}function a(t){for(t||=n(l++),u=5;l<e.length;l++){let r=e.charCodeAt(l);switch(Na(r)){case t:l++;return;case 130:if(Ea(r)){l+=Fa(e,l,r),u=6;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);Ea(i)?l+=Fa(e,l+1,i):Oa(r,i)&&(l=za(e,l)-1);break}}}function o(){for(u=7,l=La(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(Na(t)){case 41:l++;return;case 130:if(l=La(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=Ha(e,l),u=8;return;case 34:case 39:case 40:case 133:l=Ha(e,l),u=8;return;case 92:if(Oa(t,n(l+1))){l=za(e,l)-1;break}l=Ha(e,l),u=8;return}}}e=String(e||``);let s=e.length,c=ja(n(0)),l=c,u;for(;l<s;){let o=e.charCodeAt(l);switch(Na(o)){case 130:u=13,l=La(e,l+1);break;case 34:a();break;case 35:wa(n(l+1))||Oa(n(l+1),n(l+2))?(u=4,l=Ba(e,l+1)):(u=9,l++);break;case 39:a();break;case 40:u=21,l++;break;case 41:u=22,l++;break;case 43:Aa(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 44:u=18,l++;break;case 45:Aa(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=15,l+=3):ka(o,n(l+1),n(l+2))?i():(u=9,l++);break;case 46:Aa(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 47:n(l+1)===42?(u=25,l=e.indexOf(`*/`,l+2),l=l===-1?e.length:l+2):(u=9,l++);break;case 58:u=16,l++;break;case 59:u=17,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=14,l+=4):(u=9,l++);break;case 64:ka(n(l+1),n(l+2),n(l+3))?(u=3,l=Ba(e,l+1)):(u=9,l++);break;case 91:u=19,l++;break;case 92:Oa(o,n(l+1))?i():(u=9,l++);break;case 93:u=20,l++;break;case 123:u=23,l++;break;case 125:u=24,l++;break;case 131:r();break;case 132:i();break;default:u=9,l++}t(u,c,c=l)}}var ro=s((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),io=s((e=>{var t=ro(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),ao=s((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;)if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}else for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++;for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})),oo=s((e=>{var t=ao(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),so=s((e=>{var t=ao();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),co=s((e=>{var t=io(),n=ao(),r=oo().ArraySet,i=so().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(t,r,i,a)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`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(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a}))(),lo=new Set([`Atrule`,`Selector`,`Declaration`]);function uo(e){let t=new co.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},a={generated:i},o=1,s=0,c=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&lo.has(e.type)){let l=e.loc.start.line,u=e.loc.start.column-1;(r.line!==l||r.column!==u)&&(r.line=l,r.column=u,n.line=o,n.column=s,c&&(c=!1,(n.line!==i.line||n.column!==i.column)&&t.addMapping(a)),c=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),c&&lo.has(e.type)&&(i.line=o,i.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)e.charCodeAt(t)===10?(o++,s=0):s++;u(e,t,n)};let d=e.result;return e.result=function(){return c&&t.addMapping(a),{css:d(),map:t}},e}var fo=c({safe:()=>bo,spec:()=>yo}),po=43,mo=45,ho=(e,t)=>{if(e===9&&(e=t),typeof e==`string`){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},go=[[1,1],[1,2],[1,7],[1,8],[1,`-`],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,`-`],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,`-`],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,`-`],[12,10],[12,11],[12,12],[12,15],[`#`,1],[`#`,2],[`#`,7],[`#`,8],[`#`,`-`],[`#`,10],[`#`,11],[`#`,12],[`#`,15],[`-`,1],[`-`,2],[`-`,7],[`-`,8],[`-`,`-`],[`-`,10],[`-`,11],[`-`,12],[`-`,15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,`%`],[10,15],[`@`,1],[`@`,2],[`@`,7],[`@`,8],[`@`,`-`],[`@`,15],[`.`,10],[`.`,11],[`.`,12],[`+`,10],[`+`,11],[`+`,12],[`/`,`*`]],_o=go.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,`-`],[22,1],[22,2],[22,11],[22,12],[22,4],[22,`-`]]);function vo(e){let t=new Set(e.map(([e,t])=>ho(e)<<16|ho(t)));return function(e,n,r){let i=ho(n,r),a=r.charCodeAt(0);return(a===mo&&n!==1&&n!==2&&n!==15||a===po?t.has(e<<16|a<<8):t.has(e<<16|i))&&this.emit(` `,13,!0),i}}var yo=vo(go),bo=vo(_o),xo=92;function So(e,t){if(typeof t==`function`){let n=null;e.children.forEach(e=>{n!==null&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}function Co(e){no(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function wo(e){let t=new Map;for(let n in e.node){let r=e.node[n];typeof(r.generate||r)==`function`&&t.set(n,r.generate||r)}return function(e,n){let r=``,i=0,a={node(e){if(t.has(e.type))t.get(e.type).call(o,e);else throw Error(`Unknown node type: `+e.type)},tokenBefore:bo,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===9&&t.charCodeAt(0)===xo&&this.emit(`
|
|
4
|
+
`,13,!0)},emit(e){r+=e},result(){return r}};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=uo(a)),n.mode in fo&&(a.tokenBefore=fo[n.mode]));let o={node:e=>a.node(e),children:So,token:(e,t)=>a.token(e,t),tokenize:Co};return a.node(e),a.result()}}var To=c({generate:()=>Ro,name:()=>Fo,parse:()=>Lo,structure:()=>Io}),Eo=43,Do=45,Oo=110,ko=!0,Ao=!1;function jo(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===Eo||r===Do)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)_a(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function Mo(e){return jo.call(this,0,e)}function No(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case Oo:n=`N is expected`;break;case Do:n=`HyphenMinus is expected`;break}this.error(n,this.tokenStart+e)}}function Po(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(Eo,e)||this.isDelim(Do,e)){t=this.isDelim(Eo,e)?Eo:Do;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),Mo.call(this,ko))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Eo&&n!==Do&&this.error(`Number sign is expected`)),Mo.call(this,t!==0),t===Do?`-`+this.consume(10):this.consume(10)}var Fo=`AnPlusB`,Io={a:[String,null],b:[String,null]};function Lo(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)Mo.call(this,Ao),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Do))switch(t=`-1`,No.call(this,1,Oo),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Po.call(this);break;case 3:No.call(this,2,Do),this.next(),this.skipSC(),Mo.call(this,ko),n=`-`+this.consume(10);break;default:No.call(this,2,Do),jo.call(this,3,ko),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(Eo)&&this.lookupType(1)===1){let r=0;switch(t=`1`,this.isDelim(Eo)&&(r=1,this.next()),No.call(this,0,Oo),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Po.call(this);break;case 2:No.call(this,1,Do),this.next(),this.skipSC(),Mo.call(this,ko),n=`-`+this.consume(10);break;default:No.call(this,1,Do),jo.call(this,2,ko),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),i=r===Eo||r===Do,a=this.tokenStart+i;for(;a<this.tokenEnd&&_a(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),No.call(this,a-this.tokenStart,Oo),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=Po.call(this)):(No.call(this,a-this.tokenStart+1,Do),a+2===this.tokenEnd?(this.next(),this.skipSC(),Mo.call(this,ko),n=`-`+this.consume(10)):(jo.call(this,a-this.tokenStart+2,ko),this.next(),n=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Eo&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Eo&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Ro(e){if(e.a){let t=e.a===`+1`&&`n`||e.a===`1`&&`n`||e.a===`-1`&&`-n`||e.a+`n`;if(e.b){let n=e.b[0]===`-`||e.b[0]===`+`?e.b:`+`+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}var zo=c({generate:()=>Ko,name:()=>Ho,parse:()=>Go,structure:()=>Wo,walkContext:()=>Uo});function Bo(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Vo(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}var Ho=`Atrule`,Uo=`atrule`,Wo={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function Go(){let e=this.tokenStart,t,n,r=null,i=null;switch(this.eat(3),t=this.substrToCursor(e+1),n=t.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(r=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,t),Bo):Bo.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:i=hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block==`function`?this.atrule[n].block.call(this):this.Block(Vo.call(this));break}return{type:`Atrule`,loc:this.getLocation(e,this.tokenStart),name:t,prelude:r,block:i}}function Ko(e){this.token(3,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,`;`)}var qo=c({generate:()=>Qo,name:()=>Jo,parse:()=>Zo,structure:()=>Xo,walkContext:()=>Yo}),Jo=`AtrulePrelude`,Yo=`atrulePrelude`,Xo={children:[[]]};function Zo(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude==`function`?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error(`Semicolon or block is expected`),{type:`AtrulePrelude`,loc:this.getLocationFromList(t),children:t}}function Qo(e){this.children(e)}var $o=c({generate:()=>ds,name:()=>cs,parse:()=>us,structure:()=>ls}),es=36,ts=42,ns=61,rs=94,is=124,as=126;function os(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(ts)?(t=!0,this.next()):this.isDelim(is)||this.eat(1),this.isDelim(is)?this.charCodeAt(this.tokenStart+1)===ns?t&&this.error(`Identifier is expected`,this.tokenEnd):(this.next(),this.eat(1)):t&&this.error(`Vertical line is expected`),{type:`Identifier`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ss(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==ns&&t!==as&&t!==rs&&t!==es&&t!==ts&&t!==is&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==ns&&(this.isDelim(ns)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var cs=`AttributeSelector`,ls={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function us(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(19),this.skipSC(),t=os.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=ss.call(this),this.skipSC(),r=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:`AttributeSelector`,loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function ds(e){this.token(9,`[`),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,`]`)}var fs=c({generate:()=>xs,name:()=>_s,parse:()=>bs,structure:()=>ys,walkContext:()=>vs});function ps(e){return this.Raw(e,null,!0)}function ms(){return this.parseWithFallback(this.Rule,ps)}function hs(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function gs(){if(this.tokenType===17)return hs.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,hs);return this.tokenType===17&&this.next(),e}var _s=`Block`,vs=`block`,ys={children:[[`Atrule`,`Rule`,`Declaration`]]};function bs(e){let t=e?gs:ms,n=this.tokenStart,r=this.createList();this.eat(23);scan:for(;!this.eof;)switch(this.tokenType){case 24:break scan;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule,ps));break;default:r.push(t.call(this))}return this.eof||this.eat(24),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function xs(e){this.token(23,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)}),this.token(24,`}`)}var Ss=c({generate:()=>Es,name:()=>Cs,parse:()=>Ts,structure:()=>ws}),Cs=`Brackets`,ws={children:[[]]};function Ts(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:`Brackets`,loc:this.getLocation(n,this.tokenStart),children:r}}function Es(e){this.token(9,`[`),this.children(e),this.token(9,`]`)}var Ds=c({generate:()=>As,name:()=>`CDC`,parse:()=>ks,structure:()=>Os}),Os=[];function ks(){let e=this.tokenStart;return this.eat(15),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function As(){this.token(15,`-->`)}var js=c({generate:()=>Ps,name:()=>`CDO`,parse:()=>Ns,structure:()=>Ms}),Ms=[];function Ns(){let e=this.tokenStart;return this.eat(14),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function Ps(){this.token(14,`<!--`)}var Fs=c({generate:()=>Bs,name:()=>Ls,parse:()=>zs,structure:()=>Rs}),Is=46,Ls=`ClassSelector`,Rs={name:String};function zs(){return this.eatDelim(Is),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Bs(e){this.token(9,`.`),this.token(1,e.name)}var Vs=c({generate:()=>Ys,name:()=>Ks,parse:()=>Js,structure:()=>qs}),Hs=43,Us=47,Ws=62,Gs=126,Ks=`Combinator`,qs={name:String};function Js(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=` `;break;case 9:switch(this.charCodeAt(this.tokenStart)){case Ws:case Hs:case Gs:this.next();break;case Us:this.next(),this.eatIdent(`deep`),this.eatDelim(Us);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e);break}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function Ys(e){this.tokenize(e.name)}var Xs=c({generate:()=>nc,name:()=>$s,parse:()=>tc,structure:()=>ec}),Zs=42,Qs=47,$s=`Comment`,ec={value:String};function tc(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===Zs&&this.charCodeAt(t-1)===Qs&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function nc(e){this.token(25,`/*`+e.value+`*/`)}var rc=45;function ic(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===rc&&e.charCodeAt(t+1)===rc}var ac=c({generate:()=>bc,name:()=>gc,parse:()=>yc,structure:()=>vc,walkContext:()=>_c}),oc=33,sc=35,cc=36,lc=38,uc=42,dc=43,fc=47;function pc(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function mc(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function hc(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==17&&this.isDelim(oc)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var gc=`Declaration`,_c=`declaration`,vc={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function yc(){let e=this.tokenStart,t=this.tokenIndex,n=xc.call(this),r=ic(n),i=r?this.parseCustomProperty:this.parseValue,a=r?mc:pc,o=!1,s;this.skipSC(),this.eat(16);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(hc,a):a.call(this,this.tokenIndex),r&&s.type===`Value`&&s.children.isEmpty){for(let e=c-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){s.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}return this.isDelim(oc)&&(o=Sc.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:`Declaration`,loc:this.getLocation(e,this.tokenStart),important:o,property:n,value:s}}function bc(e){this.token(1,e.property),this.token(16,`:`),this.node(e.value),e.important&&(this.token(9,`!`),this.token(1,e.important===!0?`important`:e.important))}function xc(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case uc:case cc:case dc:case sc:case lc:this.next();break;case fc:this.next(),this.isDelim(fc)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function Sc(){this.eat(9),this.skipSC();let e=this.consume(1);return e===`important`?!0:e}var Cc=c({generate:()=>Oc,name:()=>Tc,parse:()=>Dc,structure:()=>Ec});function wc(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var Tc=`DeclarationList`,Ec={children:[[`Declaration`]]};function Dc(){let e=this.createList();scan:for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,wc))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function Oc(e){this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)})}var kc=c({generate:()=>Nc,name:()=>Ac,parse:()=>Mc,structure:()=>jc}),Ac=`Dimension`,jc={value:String,unit:String};function Mc(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:`Dimension`,loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Nc(e){this.token(12,e.value+e.unit)}var Pc=c({generate:()=>zc,name:()=>Fc,parse:()=>Rc,structure:()=>Lc,walkContext:()=>Ic}),Fc=`Function`,Ic=`function`,Lc={name:String,children:[[]]};function Rc(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),a;return a=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:`Function`,loc:this.getLocation(n,this.tokenStart),name:r,children:a}}function zc(e){this.token(2,e.name+`(`),this.children(e),this.token(22,`)`)}var Bc=c({generate:()=>Wc,name:()=>Vc,parse:()=>Uc,structure:()=>Hc,xxx:()=>`XXX`}),Vc=`Hash`,Hc={value:String};function Uc(){let e=this.tokenStart;return this.eat(4),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Wc(e){this.token(4,`#`+e.value)}var Gc=c({generate:()=>Yc,name:()=>Kc,parse:()=>Jc,structure:()=>qc}),Kc=`Identifier`,qc={name:String};function Jc(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Yc(e){this.token(1,e.name)}var Xc=c({generate:()=>el,name:()=>Zc,parse:()=>$c,structure:()=>Qc}),Zc=`IdSelector`,Qc={name:String};function $c(){let e=this.tokenStart;return this.eat(4),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function el(e){this.token(9,`#`+e.name)}var tl=c({generate:()=>al,name:()=>nl,parse:()=>il,structure:()=>rl}),nl=`MediaFeature`,rl={name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,null]};function il(){let e=this.tokenStart,t,n=null;if(this.eat(21),this.skipSC(),t=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:n=this.lookupNonWSType(1)===9?this.Ratio():this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error(`Number, dimension, ratio or identifier is expected`)}this.skipSC()}return this.eat(22),{type:`MediaFeature`,loc:this.getLocation(e,this.tokenStart),name:t,value:n}}function al(e){this.token(21,`(`),this.token(1,e.name),e.value!==null&&(this.token(16,`:`),this.node(e.value)),this.token(22,`)`)}var ol=c({generate:()=>ul,name:()=>sl,parse:()=>ll,structure:()=>cl}),sl=`MediaQuery`,cl={children:[[`Identifier`,`MediaFeature`,`WhiteSpace`]]};function ll(){let e=this.createList(),t=null;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break scan}e.push(t)}return t===null&&this.error(`Identifier or parenthesis is expected`),{type:`MediaQuery`,loc:this.getLocationFromList(e),children:e}}function ul(e){this.children(e)}var dl=c({generate:()=>hl,name:()=>fl,parse:()=>ml,structure:()=>pl}),fl=`MediaQueryList`,pl={children:[[`MediaQuery`]]};function ml(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:`MediaQueryList`,loc:this.getLocationFromList(e),children:e}}function hl(e){this.children(e,()=>this.token(18,`,`))}var gl=c({generate:()=>yl,name:()=>`Nth`,parse:()=>vl,structure:()=>_l}),_l={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function vl(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return r=this.lookupValue(0,`odd`)||this.lookupValue(0,`even`)?this.Identifier():this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,`of`)&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:`Nth`,loc:this.getLocation(e,t),nth:r,selector:n}}function yl(e){this.node(e.nth),e.selector!==null&&(this.token(1,`of`),this.node(e.selector))}var bl=c({generate:()=>Cl,name:()=>xl,parse:()=>Y,structure:()=>Sl}),xl=`Number`,Sl={value:String};function Y(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function Cl(e){this.token(10,e.value)}var X=c({generate:()=>Tl,name:()=>Z,parse:()=>wl,structure:()=>Q}),Z=`Operator`,Q={value:String};function wl(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Tl(e){this.tokenize(e.value)}var El=c({generate:()=>Al,name:()=>Dl,parse:()=>kl,structure:()=>Ol}),Dl=`Parentheses`,Ol={children:[[]]};function kl(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:`Parentheses`,loc:this.getLocation(n,this.tokenStart),children:r}}function Al(e){this.token(21,`(`),this.children(e),this.token(22,`)`)}var jl=c({generate:()=>Fl,name:()=>Ml,parse:()=>Pl,structure:()=>Nl}),Ml=`Percentage`,Nl={value:String};function Pl(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function Fl(e){this.token(11,e.value+`%`)}var Il=c({generate:()=>Vl,name:()=>Ll,parse:()=>Bl,structure:()=>zl,walkContext:()=>Rl}),Ll=`PseudoClassSelector`,Rl=`function`,zl={name:String,children:[[`Raw`],null]};function Bl(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:`PseudoClassSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Vl(e){this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Hl=c({generate:()=>ql,name:()=>Ul,parse:()=>Kl,structure:()=>Gl,walkContext:()=>Wl}),Ul=`PseudoElementSelector`,Wl=`function`,Gl={name:String,children:[[`Raw`],null]};function Kl(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:`PseudoElementSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function ql(e){this.token(16,`:`),this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Jl=c({generate:()=>tu,name:()=>Ql,parse:()=>eu,structure:()=>$l}),Yl=47,Xl=46;function Zl(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!_a(n)&&n!==Xl&&this.error(`Unsigned number is expected`,this.tokenStart-e.length+t)}return Number(e)===0&&this.error(`Zero number is not allowed`,this.tokenStart-e.length),e}var Ql=`Ratio`,$l={left:String,right:String};function eu(){let e=this.tokenStart,t=Zl.call(this),n;return this.skipSC(),this.eatDelim(Yl),n=Zl.call(this),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function tu(e){this.token(10,e.left),this.token(9,`/`),this.token(10,e.right)}var nu=c({generate:()=>ou,name:()=>`Raw`,parse:()=>au,structure:()=>iu});function ru(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var iu={value:String};function au(e,t,n){let r=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),i=n&&this.tokenStart>r?ru.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(r,i),value:this.substring(r,i)}}function ou(e){this.tokenize(e.value)}var su=c({generate:()=>mu,name:()=>uu,parse:()=>pu,structure:()=>fu,walkContext:()=>du});function cu(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function lu(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var uu=`Rule`,du=`rule`,fu={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function pu(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback(lu,cu):cu.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function mu(e){this.node(e.prelude),this.node(e.block)}var hu=c({generate:()=>yu,name:()=>gu,parse:()=>vu,structure:()=>_u}),gu=`Selector`,_u={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`,`WhiteSpace`]]};function vu(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error(`Selector is expected`),{type:`Selector`,loc:this.getLocationFromList(e),children:e}}function yu(e){this.children(e)}var bu=c({generate:()=>Tu,name:()=>xu,parse:()=>wu,structure:()=>Cu,walkContext:()=>Su}),xu=`SelectorList`,Su=`selector`,Cu={children:[[`Selector`,`Raw`]]};function wu(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:`SelectorList`,loc:this.getLocationFromList(e),children:e}}function Tu(e){this.children(e,()=>this.token(18,`,`))}var Eu=92,Du=34,Ou=39;function ku(e){let t=e.length,n=e.charCodeAt(0),r=+(n===Du||n===Ou),i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,a=``;for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===Eu){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),Oa(Eu,r)){let t=n-1,r=za(e,t);n=r-1,a+=Ua(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function Au(e,t){let n=t?`'`:`"`,r=t?Ou:Du,i=``,a=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===0){i+=`�`;continue}if(n<=31||n===127){i+=`\\`+n.toString(16),a=!0;continue}n===r||n===Eu?(i+=`\\`+e.charAt(t),a=!1):(a&&(va(n)||Da(n))&&(i+=` `),i+=e.charAt(t),a=!1)}return n+i+n}var ju=c({generate:()=>Fu,name:()=>Mu,parse:()=>Pu,structure:()=>Nu}),Mu=`String`,Nu={value:String};function Pu(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:ku(this.consume(5))}}function Fu(e){this.token(5,Au(e.value))}var Iu=c({generate:()=>Uu,name:()=>zu,parse:()=>Hu,structure:()=>Vu,walkContext:()=>Bu}),Lu=33;function Ru(e){return this.Raw(e,null,!1)}var zu=`StyleSheet`,Bu=`stylesheet`,Vu={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};function Hu(){let e=this.tokenStart,t=this.createList(),n;scan:for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==Lu){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Ru);break;default:n=this.parseWithFallback(this.Rule,Ru)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function Uu(e){this.children(e)}var Wu=c({generate:()=>Zu,name:()=>Ju,parse:()=>Xu,structure:()=>Yu}),Gu=42,Ku=124;function qu(){this.tokenType!==1&&this.isDelim(Gu)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var Ju=`TypeSelector`,Yu={name:String};function Xu(){let e=this.tokenStart;return this.isDelim(Ku)?(this.next(),qu.call(this)):(qu.call(this),this.isDelim(Ku)&&(this.next(),qu.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Zu(e){this.tokenize(e.name)}var Qu=c({generate:()=>cd,name:()=>ad,parse:()=>sd,structure:()=>od}),$u=43,ed=45,td=63;function nd(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===ed&&t&&n!==0)return nd.call(this,e+n+1,!1),-1;va(i)||this.error(t&&n!==0?`Hyphen minus`+(n<6?` or hex digit`:``)+` is expected`:n<6?`Hex digit is expected`:`Unexpected input`,r),++n>6&&this.error(`Too many hex digits`,r)}return this.next(),n}function rd(e){let t=0;for(;this.isDelim(td);)++t>e&&this.error(`Too many question marks`),this.next()}function $(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===$u?`Plus sign`:`Hyphen minus`)+` is expected`)}function id(){let e=0;switch(this.tokenType){case 10:if(e=nd.call(this,1,!0),this.isDelim(td)){rd.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){$.call(this,ed),nd.call(this,1,!1);break}break;case 12:e=nd.call(this,1,!0),e>0&&rd.call(this,6-e);break;default:if(this.eatDelim($u),this.tokenType===1){e=nd.call(this,0,!0),e>0&&rd.call(this,6-e);break}if(this.isDelim(td)){this.next(),rd.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var ad=`UnicodeRange`,od={value:String};function sd(){let e=this.tokenStart;return this.eatIdent(`u`),id.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function cd(e){this.tokenize(e.value)}var ld=32,ud=92,dd=34,fd=39,pd=40,md=41;function hd(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===md?t-2:t-1,i=``;for(;n<r&&Da(e.charCodeAt(n));)n++;for(;n<r&&Da(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===ud){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),Oa(ud,n)){let t=a-1,n=za(e,t);a=n-1,i+=Ua(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function gd(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0){t+=`�`;continue}if(i<=31||i===127){t+=`\\`+i.toString(16),n=!0;continue}i===ld||i===ud||i===dd||i===fd||i===pd||i===md?(t+=`\\`+e.charAt(r),n=!1):(n&&va(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var _d=c({generate:()=>bd,name:()=>`Url`,parse:()=>yd,structure:()=>vd}),vd={value:String};function yd(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=hd(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=ku(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error(`Url or Function is expected`)}return{type:`Url`,loc:this.getLocation(e,this.tokenStart),value:t}}function bd(e){this.token(7,gd(e.value))}var xd=c({generate:()=>Td,name:()=>Sd,parse:()=>wd,structure:()=>Cd}),Sd=`Value`,Cd={children:[[]]};function wd(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function Td(e){this.children(e)}var Ed=c({generate:()=>jd,name:()=>Od,parse:()=>Ad,structure:()=>kd}),Dd=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),Od=`WhiteSpace`,kd={value:String};function Ad(){return this.eat(13),Dd}function jd(e){this.token(13,e.value)}var Md=wo({node:c({AnPlusB:()=>Ro,Atrule:()=>Ko,AtrulePrelude:()=>Qo,AttributeSelector:()=>ds,Block:()=>xs,Brackets:()=>Es,CDC:()=>As,CDO:()=>Ps,ClassSelector:()=>Bs,Combinator:()=>Ys,Comment:()=>nc,Declaration:()=>bc,DeclarationList:()=>Oc,Dimension:()=>Nc,Function:()=>zc,Hash:()=>Wc,IdSelector:()=>el,Identifier:()=>Yc,MediaFeature:()=>al,MediaQuery:()=>ul,MediaQueryList:()=>hl,Nth:()=>yl,Number:()=>Cl,Operator:()=>Tl,Parentheses:()=>Al,Percentage:()=>Fl,PseudoClassSelector:()=>Vl,PseudoElementSelector:()=>ql,Ratio:()=>tu,Raw:()=>ou,Rule:()=>mu,Selector:()=>yu,SelectorList:()=>Tu,String:()=>Fu,StyleSheet:()=>Uu,TypeSelector:()=>Zu,UnicodeRange:()=>cd,Url:()=>bd,Value:()=>Td,WhiteSpace:()=>jd})}),Nd=null,Pd=class e{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(e,t){let n;return Nd===null?n={prev:e,next:t,cursor:this.cursor}:(n=Nd,Nd=Nd.cursor,n.prev=e,n.next=t,n.cursor=this.cursor),this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Nd,Nd=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;i!==null;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){let t=e.createItem(r);n===null?this.head=t:n.next=t,t.prev=n,n=t}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),i=t,a;for(;r.next!==null;)a=r.next,r.next=a.next,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,a;for(;r.prev!==null;)a=r.prev,r.prev=a.prev,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;n!==null;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)r.appendData(t.call(n,e.data,e,this));return r}filter(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){let e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){let e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let e of this)t.appendData(e);return t}prepend(e){return this.updateCursors(null,e,this.head,e),this.head===null?this.tail=e:(this.head.prev=e,e.next=this.head),this.head=e,this}prependData(t){return this.prepend(e.createItem(t))}append(e){return this.insert(e)}appendData(t){return this.insert(e.createItem(t))}insert(e,t=null){if(t!==null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw Error(`before doesn't belong to list`);this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),this.tail===null?this.head=e:(this.tail.next=e,e.prev=this.tail),this.tail=e;return this}insertData(t,n){return this.insert(e.createItem(t),n)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw Error(`item doesn't belong to list`);this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw Error(`item doesn't belong to list`);this.tail=e.prev}return e.prev=null,e.next=null,e}push(t){this.insert(e.createItem(t))}pop(){return this.tail===null?null:this.remove(this.tail)}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head===null?null:this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t==null?(this.updateCursors(this.tail,e.tail,null,e.head),this.tail===null?this.head=e.head:(this.tail.next=e.head,e.head.prev=this.tail),this.tail=e.tail):(this.updateCursors(t.prev,e.tail,t,e.head),t.prev===null?this.head=e.head:(t.prev.next=e.head,e.head.prev=t.prev),t.prev=e.tail,e.tail.next=t),e.head=null,e.tail=null,this)}replace(e,t){`head`in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};function Fd(e,t){let n=Object.create(SyntaxError.prototype),r=Error();return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||``).replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}var Id=100,Ld=60,Rd=` `;function zd({source:e,line:t,column:n},r){function i(e,t){return a.slice(e,t).map((t,n)=>String(e+n+1).padStart(c)+` |`+t).join(`
|
|
5
|
+
`)}let a=e.split(/\r\n?|\n|\f/),o=Math.max(1,t-r)-1,s=Math.min(t+r,a.length+1),c=Math.max(4,String(s).length)+1,l=0;n+=3*(a[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Id&&(l=n-Ld+3,n=Ld-2);for(let e=o;e<=s;e++)e>=0&&e<a.length&&(a[e]=a[e].replace(/\t/g,Rd),a[e]=(l>0&&a[e].length>l?`…`:``)+a[e].substr(l,Id-2)+(a[e].length>l+Id-1?`…`:``));return[i(o,t),Array(n+c+2).join(`-`)+`^`,i(t,s)].filter(Boolean).join(`
|
|
6
|
+
`)}function Bd(e,t,n,r,i){return Object.assign(Fd(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment(e){return zd({source:t,line:r,column:i},isNaN(e)?0:e)},get formattedMessage(){return`Parse error: ${e}\n`+zd({source:t,line:r,column:i},2)}})}function Vd(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&=(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Hd=()=>{},Ud=33,Wd=35,Gd=59,Kd=123,qd=0;function Jd(e){return function(){return this[e]()}}function Yd(e){let t=Object.create(null);for(let n in e){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function Xd(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:Yd(e.atrule),pseudo:Yd(e.pseudo),node:Yd(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case`function`:t.context[n]=e.parseContext[n];break;case`string`:t.context[n]=Jd(e.parseContext[n]);break}return{config:t,...t,...t.node}}function Zd(e){let t=``,n=`<unknown>`,r=!1,i=Hd,a=!1,o=new Za,s=Object.assign(new to,Xd(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Vd,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(e){return+(e===Kd)},consumeUntilLeftCurlyBracketOrSemicolon(e){return+(e===Kd||e===Gd)},consumeUntilExclamationMarkOrSemicolon(e){return+(e===Ud||e===Gd)},consumeUntilSemicolonIncluded(e){return e===Gd?2:0},createList(){return new Pd},createSingleNodeList(e){return new Pd().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last},parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(a)throw e;let r=t.call(this,n);return a=!0,i(e,r),a=!1,r}},lookupNonWSType(e){let t;do if(t=this.lookupType(e++),t!==13)return t;while(t!==qd);return qd},charCodeAt(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring(e,n){return t.substring(e,n)},substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar(e,n){return q(t,e,n)},cmpStr(e,n,r){return J(t,e,n,r)},consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let n=t.substring(this.tokenStart,Va(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Wa[e].slice(0,-6).replace(/-/g,` `).replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:this.tokenType===2||this.tokenType===7?(r=this.tokenEnd-1,n=`Identifier is expected but function found`):n=`Identifier is expected`;break;case 4:this.isDelim(Wd)&&(this.next(),r++,n=`Name is expected`);break;case 11:this.tokenType===10&&(r=this.tokenEnd,n=`Percent sign is expected`);break}this.error(n,r)}this.next()},eatIdent(e){(this.tokenType!==1||this.lookupValue(0,e)===!1)&&this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation(e,t){return r?o.getLocationRange(e,t,n):null},getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(t===null?this.tokenStart:t.loc.start.offset-o.startOffset,r===null?this.tokenStart:r.loc.end.offset-o.startOffset,n)}return null},error(e,n){let r=n!==void 0&&n<t.length?o.getLocation(n):this.eof?o.getLocation(Ia(t,t.length-1)):o.getLocation(this.tokenStart);throw new Bd(e||`Unexpected input`,t,r.offset,r.line,r.column)}});return Object.assign(function(e,c){t=e,c||={},s.setSource(t,no),o.setSource(t,c.offset,c.line,c.column),n=c.filename||`<unknown>`,r=!!c.positions,i=typeof c.onParseError==`function`?c.onParseError:Hd,a=!1,s.parseAtrulePrelude=`parseAtrulePrelude`in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude=`parseRulePrelude`in c?!!c.parseRulePrelude:!0,s.parseValue=`parseValue`in c?!!c.parseValue:!0,s.parseCustomProperty=`parseCustomProperty`in c?!!c.parseCustomProperty:!1;let{context:l=`default`,onComment:u}=c;if(!(l in s.context))throw Error("Unknown context `"+l+"`");typeof u==`function`&&s.forEachToken((e,n,r)=>{if(e===25){let e=s.getLocation(n,r);u(J(t,r-2,r,`*/`)?t.slice(n+2,r-2):t.slice(n+2,r),e)}});let d=s.context[l].call(s,c);return s.eof||s.error(),d},{SyntaxError:Bd,config:s.config})}var Qd=35,$d=42,ef=43,tf=45,nf=47,rf=117;function af(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,rf)&&this.cmpChar(this.tokenStart+1,ef)?this.UnicodeRange():this.Identifier();case 9:{let e=this.charCodeAt(this.tokenStart);if(e===nf||e===$d||e===ef||e===tf)return this.Operator();e===Qd&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var of={getNode:af},sf=35,cf=42,lf=43,uf=47,df=46,ff=62,pf=124,mf=126;function hf(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function gf(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===df&&this.error(`Identifier is expected`,this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case lf:case ff:case mf:case uf:return this.Combinator();case df:return this.ClassSelector();case cf:case pf:return this.TypeSelector();case sf:return this.IdSelector()}break}}var _f={onWhiteSpace:hf,getNode:gf};function vf(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function yf(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type===`Value`&&n.children.isEmpty){for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){n.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}e.push(n)}return e}function bf(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var xf={getNode:af,onWhiteSpace(e,t){bf(e)&&(e.value=` `+e.value),bf(t.last)&&(t.last.value+=` `)},expression:vf,var:yf},Sf=c({AtrulePrelude:()=>of,Selector:()=>_f,Value:()=>xf}),Cf={parse:{prelude:null,block(){return this.Block(!0)}}},wf={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error(`String or url() is expected`)}return(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}},Tf={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}},Ef={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};function Df(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Of(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):kf.call(this)}function kf(){let e=this.createList(),t;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:t=this.Function(Df,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(Of,this.scope.AtrulePrelude);break;default:break scan}e.push(t)}return e}var Af={"font-face":Cf,import:wf,media:Tf,page:Ef,supports:{parse:{prelude(){let e=kf.call(this);return this.getFirstListNode(e)===null&&this.error(`Condition is expected`),e},block(){return this.Block(!1)}}}},jf={parse(){return this.createSingleNodeList(this.SelectorList())}},Mf={parse(){return this.createSingleNodeList(this.Selector())}},Nf={parse(){return this.createSingleNodeList(this.Identifier())}},Pf={parse(){return this.createSingleNodeList(this.Nth())}},Ff=Zd({parseContext:{default:`StyleSheet`,stylesheet:`StyleSheet`,atrule:`Atrule`,atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:`MediaQueryList`,mediaQuery:`MediaQuery`,rule:`Rule`,selectorList:`SelectorList`,selector:`Selector`,block(){return this.Block(!0)},declarationList:`DeclarationList`,declaration:`Declaration`,value:`Value`},scope:Sf,atrule:Af,pseudo:{dir:Nf,has:jf,lang:Nf,matches:jf,is:jf,"-moz-any":jf,"-webkit-any":jf,where:jf,not:jf,"nth-child":Pf,"nth-last-child":Pf,"nth-last-of-type":Pf,"nth-of-type":Pf,slotted:Mf},node:c({AnPlusB:()=>Lo,Atrule:()=>Go,AtrulePrelude:()=>Zo,AttributeSelector:()=>us,Block:()=>bs,Brackets:()=>Ts,CDC:()=>ks,CDO:()=>Ns,ClassSelector:()=>zs,Combinator:()=>Js,Comment:()=>tc,Declaration:()=>yc,DeclarationList:()=>Dc,Dimension:()=>Mc,Function:()=>Rc,Hash:()=>Uc,IdSelector:()=>$c,Identifier:()=>Jc,MediaFeature:()=>il,MediaQuery:()=>ll,MediaQueryList:()=>ml,Nth:()=>vl,Number:()=>Y,Operator:()=>wl,Parentheses:()=>kl,Percentage:()=>Pl,PseudoClassSelector:()=>Bl,PseudoElementSelector:()=>Kl,Ratio:()=>eu,Raw:()=>au,Rule:()=>pu,Selector:()=>vu,SelectorList:()=>wu,String:()=>Pu,StyleSheet:()=>Hu,TypeSelector:()=>Xu,UnicodeRange:()=>sd,Url:()=>yd,Value:()=>wd,WhiteSpace:()=>Ad})}),{hasOwnProperty:If}=Object.prototype,Lf=function(){};function Rf(e){return typeof e==`function`?e:Lf}function zf(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Bf(e,t){let n=t.structure,r=[];for(let e in n){if(If.call(n,e)===!1)continue;let t=n[e],i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)e===null?i.nullable=!0:typeof e==`string`?i.type=`node`:Array.isArray(e)&&(i.type=`list`);i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function Vf(e){let t={};for(let n in e.node)if(If.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Bf(n,r)}return t}function Hf(e,t){let n=e.fields.slice(),r=e.context,i=typeof r==`string`;return t&&n.reverse(),function(e,a,o,s){let c;i&&(c=a[r],a[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n){if(r.type===`list`){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(o(n))return!0}}i&&(a[r]=c)}}function Uf({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}}}function Wf(e){let t=Vf(e),n={},r={},i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)If.call(t,e)&&t[e]!==null&&(n[e]=Hf(t[e],!1),r[e]=Hf(t[e],!0));let o=Uf(n),s=Uf(r),c=function(e,c){function l(e,t,n){let r=u.call(m,e,t,n);return r===i?!0:r===a?!1:!!(f.hasOwnProperty(e.type)&&f[e.type](e,m,l,p)||d.call(m,e,t,n)===i)}let u=Lf,d=Lf,f=n,p=(e,t,n,r)=>e||l(t,n,r),m={break:i,skip:a,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c==`function`)u=c;else if(c&&(u=Rf(c.enter),d=Rf(c.leave),c.reverse&&(f=r),c.visit)){if(o.hasOwnProperty(c.visit))f=c.reverse?s[c.visit]:o[c.visit];else if(!t.hasOwnProperty(c.visit))throw Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(`, `)+`)`);u=zf(u,c.visit),d=zf(d,c.visit)}if(u===Lf&&d===Lf)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return c.break=i,c.skip=a,c.find=function(e,t){let n=null;return c(e,function(e,r,a){if(t.call(this,e,r,a))return n=e,i}),n},c.findLast=function(e,t){let n=null;return c(e,{reverse:!0,enter(e,r,a){if(t.call(this,e,r,a))return n=e,i}}),n},c.findAll=function(e,t){let n=[];return c(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},c}var Gf=Wf({node:c({AnPlusB:()=>To,Atrule:()=>zo,AtrulePrelude:()=>qo,AttributeSelector:()=>$o,Block:()=>fs,Brackets:()=>Ss,CDC:()=>Ds,CDO:()=>js,ClassSelector:()=>Fs,Combinator:()=>Vs,Comment:()=>Xs,Declaration:()=>ac,DeclarationList:()=>Cc,Dimension:()=>kc,Function:()=>Pc,Hash:()=>Bc,IdSelector:()=>Xc,Identifier:()=>Gc,MediaFeature:()=>tl,MediaQuery:()=>ol,MediaQueryList:()=>dl,Nth:()=>gl,Number:()=>bl,Operator:()=>X,Parentheses:()=>El,Percentage:()=>jl,PseudoClassSelector:()=>Il,PseudoElementSelector:()=>Hl,Ratio:()=>Jl,Raw:()=>nu,Rule:()=>su,Selector:()=>hu,SelectorList:()=>bu,String:()=>ju,StyleSheet:()=>Iu,TypeSelector:()=>Wu,UnicodeRange:()=>Qu,Url:()=>_d,Value:()=>xd,WhiteSpace:()=>Ed})}),Kf=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(function(e){return e.charCodeAt(0)}))})),qf=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(function(e){return e.charCodeAt(0)}))})),Jf=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var t=new Map([[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]]);e.fromCodePoint=String.fromCodePoint??function(e){var t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function n(e){return e>=55296&&e<=57343||e>1114111?65533:t.get(e)??e}e.replaceCodePoint=n;function r(t){return(0,e.fromCodePoint)(n(t))}e.default=r})),Yf=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTML=e.determineBranch=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var n=t(Kf());e.htmlDecodeTree=n.default;var r=t(qf());e.xmlDecodeTree=r.default;var i=t(Jf());e.decodeCodePoint=i.default;var a=Jf();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var o;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.To_LOWER_BIT=32]=`To_LOWER_BIT`})(o||={});var s;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(s=e.BinTrieFlags||={});function c(e){return function(t,n){for(var r=``,a=0,c=0;(c=t.indexOf(`&`,c))>=0;){if(r+=t.slice(a,c),a=c,c+=1,t.charCodeAt(c)===o.NUM){var u=c+1,d=10,f=t.charCodeAt(u);(f|o.To_LOWER_BIT)===o.LOWER_X&&(d=16,c+=1,u+=1);do f=t.charCodeAt(++c);while(f>=o.ZERO&&f<=o.NINE||d===16&&(f|o.To_LOWER_BIT)>=o.LOWER_A&&(f|o.To_LOWER_BIT)<=o.LOWER_F);if(u!==c){var p=t.substring(u,c),m=parseInt(p,d);if(t.charCodeAt(c)===o.SEMI)c+=1;else if(n)continue;r+=(0,i.default)(m),a=c}continue}for(var h=0,g=1,_=0,v=e[_];c<t.length&&(_=l(e,v,_+1,t.charCodeAt(c)),!(_<0));c++,g++){v=e[_];var y=v&s.VALUE_LENGTH;if(y){(!n||t.charCodeAt(c)===o.SEMI)&&(h=_,g=0);var b=(y>>14)-1;if(b===0)break;_+=b}}if(h!==0){var b=(e[h]&s.VALUE_LENGTH)>>14;r+=b===1?String.fromCharCode(e[h]&~s.VALUE_LENGTH):b===2?String.fromCharCode(e[h+1]):String.fromCharCode(e[h+1],e[h+2]),a=c-g+1}}return r+t.slice(a)}}function l(e,t,n,r){var i=(t&s.BRANCH_LENGTH)>>7,a=t&s.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){var o=r-a;return o<0||o>=i?-1:e[n+o]-1}for(var c=n,l=c+i-1;c<=l;){var u=c+l>>>1,d=e[u];if(d<r)c=u+1;else if(d>r)l=u-1;else return e[u+i]}return-1}e.determineBranch=l;var u=c(n.default),d=c(r.default);function f(e){return u(e,!1)}e.decodeHTML=f;function p(e){return u(e,!0)}e.decodeHTMLStrict=p;function m(e){return d(e,!0)}e.decodeXML=m})),Xf=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Yf(),n;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Num=35]=`Num`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(n||={});var r;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.BeforeEntity=25]=`BeforeEntity`,e[e.BeforeNumericEntity=26]=`BeforeNumericEntity`,e[e.InNamedEntity=27]=`InNamedEntity`,e[e.InNumericEntity=28]=`InNumericEntity`,e[e.InHexEntity=29]=`InHexEntity`})(r||={});function i(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function a(e){return e===n.Slash||e===n.Gt||i(e)}function o(e){return e>=n.Zero&&e<=n.Nine}function s(e){return e>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}function c(e){return e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF}var l;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(l=e.QuoteType||={});var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};e.default=function(){function e(e,n){var i=e.xmlMode,a=i===void 0?!1:i,o=e.decodeEntities,s=o===void 0?!0:o;this.cbs=n,this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=a,this.decodeEntities=s,this.entityTrie=a?t.xmlDecodeTree:t.htmlDecodeTree}return e.prototype.reset=function(){this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(!(t?a(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||i(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var a=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=a}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!a(e):s(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=r.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=e|32;this.sectionStart=this.index,!this.xmlMode&&t===u.TitleEnd[2]?this.startSpecial(u.TitleEnd,3):this.state=!this.xmlMode&&t===u.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else e===n.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){a(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){i(e)||(e===n.Gt?this.state=r.Text:(this.state=this.isTagStartChar(e)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||i(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=r.InSelfClosingTag:i(e)||(this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(e)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||a(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=r.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):i(e)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):i(e)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){i(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?r.BeforeComment:r.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=r.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=e|32;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Num?this.state=r.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var r=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(r){var i=(r>>14)-1;if(!this.allowLegacyEntity()&&e!==n.Semi)this.trieIndex+=i;else{var a=this.index-this.entityExcess+1;a>this.sectionStart&&this.emitPartial(this.sectionStart,a),this.entityResult=this.trieIndex,this.trieIndex+=i,this.entityExcess=0,this.sectionStart=this.index+1,i===0&&this.emitNamedEntity()}}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0)switch((this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(e|32)===n.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1;n+2+Number(this.state===r.InHexEntity)!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*10+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*16+(e-n.Zero),this.entityExcess++):c(e)?(this.entityResult=this.entityResult*16+((e|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);this.state===r.Text?this.stateText(e):this.state===r.SpecialStartSequence?this.stateSpecialStartSequence(e):this.state===r.InSpecialTag?this.stateInSpecialTag(e):this.state===r.CDATASequence?this.stateCDATASequence(e):this.state===r.InAttributeValueDq?this.stateInAttributeValueDoubleQuotes(e):this.state===r.InAttributeName?this.stateInAttributeName(e):this.state===r.InCommentLike?this.stateInCommentLike(e):this.state===r.InSpecialComment?this.stateInSpecialComment(e):this.state===r.BeforeAttributeName?this.stateBeforeAttributeName(e):this.state===r.InTagName?this.stateInTagName(e):this.state===r.InClosingTagName?this.stateInClosingTagName(e):this.state===r.BeforeTagName?this.stateBeforeTagName(e):this.state===r.AfterAttributeName?this.stateAfterAttributeName(e):this.state===r.InAttributeValueSq?this.stateInAttributeValueSingleQuotes(e):this.state===r.BeforeAttributeValue?this.stateBeforeAttributeValue(e):this.state===r.BeforeClosingTagName?this.stateBeforeClosingTagName(e):this.state===r.AfterClosingTagName?this.stateAfterClosingTagName(e):this.state===r.BeforeSpecialS?this.stateBeforeSpecialS(e):this.state===r.InAttributeValueNq?this.stateInAttributeValueNoQuotes(e):this.state===r.InSelfClosingTag?this.stateInSelfClosingTag(e):this.state===r.InDeclaration?this.stateInDeclaration(e):this.state===r.BeforeDeclaration?this.stateBeforeDeclaration(e):this.state===r.BeforeComment?this.stateBeforeComment(e):this.state===r.InProcessingInstruction?this.stateInProcessingInstruction(e):this.state===r.InNamedEntity?this.stateInNamedEntity(e):this.state===r.BeforeEntity?this.stateBeforeEntity(e):this.state===r.InHexEntity?this.stateInHexEntity(e):this.state===r.InNumericEntity?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this.index++}this.cleanup()},e.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()||this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()})),Zf=s((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var i=r(Xf()),a=Yf(),o=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),s=new Set([`p`]),c=new Set([`thead`,`tbody`]),l=new Set([`dd`,`dt`]),u=new Set([`rt`,`rp`]),d=new Map([[`tr`,new Set([`tr`,`th`,`td`])],[`th`,new Set([`th`])],[`td`,new Set([`thead`,`th`,`td`])],[`body`,new Set([`head`,`link`,`script`])],[`li`,new Set([`li`])],[`p`,s],[`h1`,s],[`h2`,s],[`h3`,s],[`h4`,s],[`h5`,s],[`h6`,s],[`select`,o],[`input`,o],[`output`,o],[`button`,o],[`datalist`,o],[`textarea`,o],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,l],[`dt`,l],[`address`,s],[`article`,s],[`aside`,s],[`blockquote`,s],[`details`,s],[`div`,s],[`dl`,s],[`fieldset`,s],[`figcaption`,s],[`figure`,s],[`footer`,s],[`form`,s],[`header`,s],[`hr`,s],[`main`,s],[`nav`,s],[`ol`,s],[`pre`,s],[`section`,s],[`table`,s],[`ul`,s],[`rt`,u],[`rp`,u],[`tbody`,c],[`tfoot`,c]]),f=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),p=new Set([`math`,`svg`]),m=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),h=/\s|\//;e.Parser=function(){function e(e,t){t===void 0&&(t={});var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=t.lowerCaseTags??!t.xmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??!t.xmlMode,this.tokenizer=new(t.Tokenizer??i.default)(this.options,this),(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,(n=(t=this.cbs).ontext)==null||n.call(t,(0,a.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var a=!this.options.xmlMode&&d.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();(n=(t=this.cbs).onclosetag)==null||n.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,a,o,s;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(p.has(c)||m.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c===`br`&&((r=(n=this.cbs).onopentagname)==null||r.call(n,`br`),(a=(i=this.cbs).onopentag)==null||a.call(i,`br`,{},!0),(s=(o=this.cbs).onclosetag)==null||s.call(o,`br`,!1));else{var l=this.stack.lastIndexOf(c);if(l!==-1)if(this.cbs.onclosetag)for(var u=this.stack.length-l;u--;)this.cbs.onclosetag(this.stack.pop(),u!==0);else this.stack.length=l;else !this.options.xmlMode&&c===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,a.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===i.QuoteType.Double?`"`:e===i.QuoteType.Single?`'`:e===i.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``},e.prototype.getInstructionName=function(e){var t=e.search(h),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${r}`,`!${n}`)}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${r}`,`?${n}`)}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(t=(e=this.cbs).onend)==null||t.call(e)},e.prototype.reset=function(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()})),Qf=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),$f=s((e=>{var t=e&&e.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),n=e&&e.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var r=Qf(),i=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return e===void 0&&(e=!1),b(this,e)},e}();e.Node=i;var a=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.data=t,n}return Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(i);e.DataNode=a;var o=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Text,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),n}(a);e.Text=o;var s=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Comment,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),n}(a);e.Comment=s;var c=function(e){t(n,e);function n(t,n){var i=e.call(this,n)||this;return i.name=t,i.type=r.ElementType.Directive,i}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),n}(a);e.ProcessingInstruction=c;var l=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.children=t,n}return Object.defineProperty(n.prototype,"firstChild",{get:function(){return this.children[0]??null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(i);e.NodeWithChildren=l;var u=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.CDATA,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),n}(l);e.CDATA=u;var d=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Root,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),n}(l);e.Document=d;var f=function(e){t(n,e);function n(t,n,i,a){i===void 0&&(i=[]),a===void 0&&(a=t===`script`?r.ElementType.Script:t===`style`?r.ElementType.Style:r.ElementType.Tag);var o=e.call(this,i)||this;return o.name=t,o.attribs=n,o.type=a,o}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){return{name:t,value:e.attribs[t],namespace:e[`x-attribsNamespace`]?.[t],prefix:e[`x-attribsPrefix`]?.[t]}})},enumerable:!1,configurable:!0}),n}(l);e.Element=f;function p(e){return(0,r.isTag)(e)}e.isTag=p;function m(e){return e.type===r.ElementType.CDATA}e.isCDATA=m;function h(e){return e.type===r.ElementType.Text}e.isText=h;function g(e){return e.type===r.ElementType.Comment}e.isComment=g;function _(e){return e.type===r.ElementType.Directive}e.isDirective=_;function v(e){return e.type===r.ElementType.Root}e.isDocument=v;function y(e){return Object.prototype.hasOwnProperty.call(e,`children`)}e.hasChildren=y;function b(e,t){t===void 0&&(t=!1);var r;if(h(e))r=new o(e.data);else if(g(e))r=new s(e.data);else if(p(e)){var i=t?x(e.children):[],a=new f(e.name,n({},e.attribs),i);i.forEach(function(e){return e.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e[`x-attribsNamespace`]&&(a[`x-attribsNamespace`]=n({},e[`x-attribsNamespace`])),e[`x-attribsPrefix`]&&(a[`x-attribsPrefix`]=n({},e[`x-attribsPrefix`])),r=a}else if(m(e)){var i=t?x(e.children):[],l=new u(i);i.forEach(function(e){return e.parent=l}),r=l}else if(v(e)){var i=t?x(e.children):[],y=new d(i);i.forEach(function(e){return e.parent=y}),e[`x-mode`]&&(y[`x-mode`]=e[`x-mode`]),r=y}else if(_(e)){var b=new c(e.name,e.data);e[`x-name`]!=null&&(b[`x-name`]=e[`x-name`],b[`x-publicId`]=e[`x-publicId`],b[`x-systemId`]=e[`x-systemId`]),r=b}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}e.cloneNode=b;function x(e){for(var t=e.map(function(e){return b(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}})),ep=s((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=Qf(),i=$f();n($f(),e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},o=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=a),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??a,this.elementCB=n??null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?r.ElementType.Tag:void 0,a=new i.Element(e,t,void 0,n);this.addNode(a),this.tagStack.push(a)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=e;return}var t=new i.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(``),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=o,e.default=o})),tp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),np=s((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}e.default=new Map(t([[9,`	`],[0,`
`],[22,`!`],[0,`"`],[0,`#`],[0,`$`],[0,`%`],[0,`&`],[0,`'`],[0,`(`],[0,`)`],[0,`*`],[0,`+`],[0,`,`],[1,`.`],[0,`/`],[10,`:`],[0,`;`],[0,{v:`<`,n:8402,o:`<⃒`}],[0,{v:`=`,n:8421,o:`=⃥`}],[0,{v:`>`,n:8402,o:`>⃒`}],[0,`?`],[0,`@`],[26,`[`],[0,`\`],[0,`]`],[0,`^`],[0,`_`],[0,```],[5,{n:106,o:`fj`}],[20,`{`],[0,`|`],[0,`}`],[34,` `],[0,`¡`],[0,`¢`],[0,`£`],[0,`¤`],[0,`¥`],[0,`¦`],[0,`§`],[0,`¨`],[0,`©`],[0,`ª`],[0,`«`],[0,`¬`],[0,`­`],[0,`®`],[0,`¯`],[0,`°`],[0,`±`],[0,`²`],[0,`³`],[0,`´`],[0,`µ`],[0,`¶`],[0,`·`],[0,`¸`],[0,`¹`],[0,`º`],[0,`»`],[0,`¼`],[0,`½`],[0,`¾`],[0,`¿`],[0,`À`],[0,`Á`],[0,`Â`],[0,`Ã`],[0,`Ä`],[0,`Å`],[0,`Æ`],[0,`Ç`],[0,`È`],[0,`É`],[0,`Ê`],[0,`Ë`],[0,`Ì`],[0,`Í`],[0,`Î`],[0,`Ï`],[0,`Ð`],[0,`Ñ`],[0,`Ò`],[0,`Ó`],[0,`Ô`],[0,`Õ`],[0,`Ö`],[0,`×`],[0,`Ø`],[0,`Ù`],[0,`Ú`],[0,`Û`],[0,`Ü`],[0,`Ý`],[0,`Þ`],[0,`ß`],[0,`à`],[0,`á`],[0,`â`],[0,`ã`],[0,`ä`],[0,`å`],[0,`æ`],[0,`ç`],[0,`è`],[0,`é`],[0,`ê`],[0,`ë`],[0,`ì`],[0,`í`],[0,`î`],[0,`ï`],[0,`ð`],[0,`ñ`],[0,`ò`],[0,`ó`],[0,`ô`],[0,`õ`],[0,`ö`],[0,`÷`],[0,`ø`],[0,`ù`],[0,`ú`],[0,`û`],[0,`ü`],[0,`ý`],[0,`þ`],[0,`ÿ`],[0,`Ā`],[0,`ā`],[0,`Ă`],[0,`ă`],[0,`Ą`],[0,`ą`],[0,`Ć`],[0,`ć`],[0,`Ĉ`],[0,`ĉ`],[0,`Ċ`],[0,`ċ`],[0,`Č`],[0,`č`],[0,`Ď`],[0,`ď`],[0,`Đ`],[0,`đ`],[0,`Ē`],[0,`ē`],[2,`Ė`],[0,`ė`],[0,`Ę`],[0,`ę`],[0,`Ě`],[0,`ě`],[0,`Ĝ`],[0,`ĝ`],[0,`Ğ`],[0,`ğ`],[0,`Ġ`],[0,`ġ`],[0,`Ģ`],[1,`Ĥ`],[0,`ĥ`],[0,`Ħ`],[0,`ħ`],[0,`Ĩ`],[0,`ĩ`],[0,`Ī`],[0,`ī`],[2,`Į`],[0,`į`],[0,`İ`],[0,`ı`],[0,`IJ`],[0,`ij`],[0,`Ĵ`],[0,`ĵ`],[0,`Ķ`],[0,`ķ`],[0,`ĸ`],[0,`Ĺ`],[0,`ĺ`],[0,`Ļ`],[0,`ļ`],[0,`Ľ`],[0,`ľ`],[0,`Ŀ`],[0,`ŀ`],[0,`Ł`],[0,`ł`],[0,`Ń`],[0,`ń`],[0,`Ņ`],[0,`ņ`],[0,`Ň`],[0,`ň`],[0,`ʼn`],[0,`Ŋ`],[0,`ŋ`],[0,`Ō`],[0,`ō`],[2,`Ő`],[0,`ő`],[0,`Œ`],[0,`œ`],[0,`Ŕ`],[0,`ŕ`],[0,`Ŗ`],[0,`ŗ`],[0,`Ř`],[0,`ř`],[0,`Ś`],[0,`ś`],[0,`Ŝ`],[0,`ŝ`],[0,`Ş`],[0,`ş`],[0,`Š`],[0,`š`],[0,`Ţ`],[0,`ţ`],[0,`Ť`],[0,`ť`],[0,`Ŧ`],[0,`ŧ`],[0,`Ũ`],[0,`ũ`],[0,`Ū`],[0,`ū`],[0,`Ŭ`],[0,`ŭ`],[0,`Ů`],[0,`ů`],[0,`Ű`],[0,`ű`],[0,`Ų`],[0,`ų`],[0,`Ŵ`],[0,`ŵ`],[0,`Ŷ`],[0,`ŷ`],[0,`Ÿ`],[0,`Ź`],[0,`ź`],[0,`Ż`],[0,`ż`],[0,`Ž`],[0,`ž`],[19,`ƒ`],[34,`Ƶ`],[63,`ǵ`],[65,`ȷ`],[142,`ˆ`],[0,`ˇ`],[16,`˘`],[0,`˙`],[0,`˚`],[0,`˛`],[0,`˜`],[0,`˝`],[51,`̑`],[127,`Α`],[0,`Β`],[0,`Γ`],[0,`Δ`],[0,`Ε`],[0,`Ζ`],[0,`Η`],[0,`Θ`],[0,`Ι`],[0,`Κ`],[0,`Λ`],[0,`Μ`],[0,`Ν`],[0,`Ξ`],[0,`Ο`],[0,`Π`],[0,`Ρ`],[1,`Σ`],[0,`Τ`],[0,`Υ`],[0,`Φ`],[0,`Χ`],[0,`Ψ`],[0,`Ω`],[7,`α`],[0,`β`],[0,`γ`],[0,`δ`],[0,`ε`],[0,`ζ`],[0,`η`],[0,`θ`],[0,`ι`],[0,`κ`],[0,`λ`],[0,`μ`],[0,`ν`],[0,`ξ`],[0,`ο`],[0,`π`],[0,`ρ`],[0,`ς`],[0,`σ`],[0,`τ`],[0,`υ`],[0,`φ`],[0,`χ`],[0,`ψ`],[0,`ω`],[7,`ϑ`],[0,`ϒ`],[2,`ϕ`],[0,`ϖ`],[5,`Ϝ`],[0,`ϝ`],[18,`ϰ`],[0,`ϱ`],[3,`ϵ`],[0,`϶`],[10,`Ё`],[0,`Ђ`],[0,`Ѓ`],[0,`Є`],[0,`Ѕ`],[0,`І`],[0,`Ї`],[0,`Ј`],[0,`Љ`],[0,`Њ`],[0,`Ћ`],[0,`Ќ`],[1,`Ў`],[0,`Џ`],[0,`А`],[0,`Б`],[0,`В`],[0,`Г`],[0,`Д`],[0,`Е`],[0,`Ж`],[0,`З`],[0,`И`],[0,`Й`],[0,`К`],[0,`Л`],[0,`М`],[0,`Н`],[0,`О`],[0,`П`],[0,`Р`],[0,`С`],[0,`Т`],[0,`У`],[0,`Ф`],[0,`Х`],[0,`Ц`],[0,`Ч`],[0,`Ш`],[0,`Щ`],[0,`Ъ`],[0,`Ы`],[0,`Ь`],[0,`Э`],[0,`Ю`],[0,`Я`],[0,`а`],[0,`б`],[0,`в`],[0,`г`],[0,`д`],[0,`е`],[0,`ж`],[0,`з`],[0,`и`],[0,`й`],[0,`к`],[0,`л`],[0,`м`],[0,`н`],[0,`о`],[0,`п`],[0,`р`],[0,`с`],[0,`т`],[0,`у`],[0,`ф`],[0,`х`],[0,`ц`],[0,`ч`],[0,`ш`],[0,`щ`],[0,`ъ`],[0,`ы`],[0,`ь`],[0,`э`],[0,`ю`],[0,`я`],[1,`ё`],[0,`ђ`],[0,`ѓ`],[0,`є`],[0,`ѕ`],[0,`і`],[0,`ї`],[0,`ј`],[0,`љ`],[0,`њ`],[0,`ћ`],[0,`ќ`],[1,`ў`],[0,`џ`],[7074,` `],[0,` `],[0,` `],[0,` `],[1,` `],[0,` `],[0,` `],[0,` `],[0,`​`],[0,`‌`],[0,`‍`],[0,`‎`],[0,`‏`],[0,`‐`],[2,`–`],[0,`—`],[0,`―`],[0,`‖`],[1,`‘`],[0,`’`],[0,`‚`],[1,`“`],[0,`”`],[0,`„`],[1,`†`],[0,`‡`],[0,`•`],[2,`‥`],[0,`…`],[9,`‰`],[0,`‱`],[0,`′`],[0,`″`],[0,`‴`],[0,`‵`],[3,`‹`],[0,`›`],[3,`‾`],[2,`⁁`],[1,`⁃`],[0,`⁄`],[10,`⁏`],[7,`⁗`],[7,{v:` `,n:8202,o:`  `}],[0,`⁠`],[0,`⁡`],[0,`⁢`],[0,`⁣`],[72,`€`],[46,`⃛`],[0,`⃜`],[37,`ℂ`],[2,`℅`],[4,`ℊ`],[0,`ℋ`],[0,`ℌ`],[0,`ℍ`],[0,`ℎ`],[0,`ℏ`],[0,`ℐ`],[0,`ℑ`],[0,`ℒ`],[0,`ℓ`],[1,`ℕ`],[0,`№`],[0,`℗`],[0,`℘`],[0,`ℙ`],[0,`ℚ`],[0,`ℛ`],[0,`ℜ`],[0,`ℝ`],[0,`℞`],[3,`™`],[1,`ℤ`],[2,`℧`],[0,`ℨ`],[0,`℩`],[2,`ℬ`],[0,`ℭ`],[1,`ℯ`],[0,`ℰ`],[0,`ℱ`],[1,`ℳ`],[0,`ℴ`],[0,`ℵ`],[0,`ℶ`],[0,`ℷ`],[0,`ℸ`],[12,`ⅅ`],[0,`ⅆ`],[0,`ⅇ`],[0,`ⅈ`],[10,`⅓`],[0,`⅔`],[0,`⅕`],[0,`⅖`],[0,`⅗`],[0,`⅘`],[0,`⅙`],[0,`⅚`],[0,`⅛`],[0,`⅜`],[0,`⅝`],[0,`⅞`],[49,`←`],[0,`↑`],[0,`→`],[0,`↓`],[0,`↔`],[0,`↕`],[0,`↖`],[0,`↗`],[0,`↘`],[0,`↙`],[0,`↚`],[0,`↛`],[1,{v:`↝`,n:824,o:`↝̸`}],[0,`↞`],[0,`↟`],[0,`↠`],[0,`↡`],[0,`↢`],[0,`↣`],[0,`↤`],[0,`↥`],[0,`↦`],[0,`↧`],[1,`↩`],[0,`↪`],[0,`↫`],[0,`↬`],[0,`↭`],[0,`↮`],[1,`↰`],[0,`↱`],[0,`↲`],[0,`↳`],[1,`↵`],[0,`↶`],[0,`↷`],[2,`↺`],[0,`↻`],[0,`↼`],[0,`↽`],[0,`↾`],[0,`↿`],[0,`⇀`],[0,`⇁`],[0,`⇂`],[0,`⇃`],[0,`⇄`],[0,`⇅`],[0,`⇆`],[0,`⇇`],[0,`⇈`],[0,`⇉`],[0,`⇊`],[0,`⇋`],[0,`⇌`],[0,`⇍`],[0,`⇎`],[0,`⇏`],[0,`⇐`],[0,`⇑`],[0,`⇒`],[0,`⇓`],[0,`⇔`],[0,`⇕`],[0,`⇖`],[0,`⇗`],[0,`⇘`],[0,`⇙`],[0,`⇚`],[0,`⇛`],[1,`⇝`],[6,`⇤`],[0,`⇥`],[15,`⇵`],[7,`⇽`],[0,`⇾`],[0,`⇿`],[0,`∀`],[0,`∁`],[0,{v:`∂`,n:824,o:`∂̸`}],[0,`∃`],[0,`∄`],[0,`∅`],[1,`∇`],[0,`∈`],[0,`∉`],[1,`∋`],[0,`∌`],[2,`∏`],[0,`∐`],[0,`∑`],[0,`−`],[0,`∓`],[0,`∔`],[1,`∖`],[0,`∗`],[0,`∘`],[1,`√`],[2,`∝`],[0,`∞`],[0,`∟`],[0,{v:`∠`,n:8402,o:`∠⃒`}],[0,`∡`],[0,`∢`],[0,`∣`],[0,`∤`],[0,`∥`],[0,`∦`],[0,`∧`],[0,`∨`],[0,{v:`∩`,n:65024,o:`∩︀`}],[0,{v:`∪`,n:65024,o:`∪︀`}],[0,`∫`],[0,`∬`],[0,`∭`],[0,`∮`],[0,`∯`],[0,`∰`],[0,`∱`],[0,`∲`],[0,`∳`],[0,`∴`],[0,`∵`],[0,`∶`],[0,`∷`],[0,`∸`],[1,`∺`],[0,`∻`],[0,{v:`∼`,n:8402,o:`∼⃒`}],[0,{v:`∽`,n:817,o:`∽̱`}],[0,{v:`∾`,n:819,o:`∾̳`}],[0,`∿`],[0,`≀`],[0,`≁`],[0,{v:`≂`,n:824,o:`≂̸`}],[0,`≃`],[0,`≄`],[0,`≅`],[0,`≆`],[0,`≇`],[0,`≈`],[0,`≉`],[0,`≊`],[0,{v:`≋`,n:824,o:`≋̸`}],[0,`≌`],[0,{v:`≍`,n:8402,o:`≍⃒`}],[0,{v:`≎`,n:824,o:`≎̸`}],[0,{v:`≏`,n:824,o:`≏̸`}],[0,{v:`≐`,n:824,o:`≐̸`}],[0,`≑`],[0,`≒`],[0,`≓`],[0,`≔`],[0,`≕`],[0,`≖`],[0,`≗`],[1,`≙`],[0,`≚`],[1,`≜`],[2,`≟`],[0,`≠`],[0,{v:`≡`,n:8421,o:`≡⃥`}],[0,`≢`],[1,{v:`≤`,n:8402,o:`≤⃒`}],[0,{v:`≥`,n:8402,o:`≥⃒`}],[0,{v:`≦`,n:824,o:`≦̸`}],[0,{v:`≧`,n:824,o:`≧̸`}],[0,{v:`≨`,n:65024,o:`≨︀`}],[0,{v:`≩`,n:65024,o:`≩︀`}],[0,{v:`≪`,n:new Map(t([[824,`≪̸`],[7577,`≪⃒`]]))}],[0,{v:`≫`,n:new Map(t([[824,`≫̸`],[7577,`≫⃒`]]))}],[0,`≬`],[0,`≭`],[0,`≮`],[0,`≯`],[0,`≰`],[0,`≱`],[0,`≲`],[0,`≳`],[0,`≴`],[0,`≵`],[0,`≶`],[0,`≷`],[0,`≸`],[0,`≹`],[0,`≺`],[0,`≻`],[0,`≼`],[0,`≽`],[0,`≾`],[0,{v:`≿`,n:824,o:`≿̸`}],[0,`⊀`],[0,`⊁`],[0,{v:`⊂`,n:8402,o:`⊂⃒`}],[0,{v:`⊃`,n:8402,o:`⊃⃒`}],[0,`⊄`],[0,`⊅`],[0,`⊆`],[0,`⊇`],[0,`⊈`],[0,`⊉`],[0,{v:`⊊`,n:65024,o:`⊊︀`}],[0,{v:`⊋`,n:65024,o:`⊋︀`}],[1,`⊍`],[0,`⊎`],[0,{v:`⊏`,n:824,o:`⊏̸`}],[0,{v:`⊐`,n:824,o:`⊐̸`}],[0,`⊑`],[0,`⊒`],[0,{v:`⊓`,n:65024,o:`⊓︀`}],[0,{v:`⊔`,n:65024,o:`⊔︀`}],[0,`⊕`],[0,`⊖`],[0,`⊗`],[0,`⊘`],[0,`⊙`],[0,`⊚`],[0,`⊛`],[1,`⊝`],[0,`⊞`],[0,`⊟`],[0,`⊠`],[0,`⊡`],[0,`⊢`],[0,`⊣`],[0,`⊤`],[0,`⊥`],[1,`⊧`],[0,`⊨`],[0,`⊩`],[0,`⊪`],[0,`⊫`],[0,`⊬`],[0,`⊭`],[0,`⊮`],[0,`⊯`],[0,`⊰`],[1,`⊲`],[0,`⊳`],[0,{v:`⊴`,n:8402,o:`⊴⃒`}],[0,{v:`⊵`,n:8402,o:`⊵⃒`}],[0,`⊶`],[0,`⊷`],[0,`⊸`],[0,`⊹`],[0,`⊺`],[0,`⊻`],[1,`⊽`],[0,`⊾`],[0,`⊿`],[0,`⋀`],[0,`⋁`],[0,`⋂`],[0,`⋃`],[0,`⋄`],[0,`⋅`],[0,`⋆`],[0,`⋇`],[0,`⋈`],[0,`⋉`],[0,`⋊`],[0,`⋋`],[0,`⋌`],[0,`⋍`],[0,`⋎`],[0,`⋏`],[0,`⋐`],[0,`⋑`],[0,`⋒`],[0,`⋓`],[0,`⋔`],[0,`⋕`],[0,`⋖`],[0,`⋗`],[0,{v:`⋘`,n:824,o:`⋘̸`}],[0,{v:`⋙`,n:824,o:`⋙̸`}],[0,{v:`⋚`,n:65024,o:`⋚︀`}],[0,{v:`⋛`,n:65024,o:`⋛︀`}],[2,`⋞`],[0,`⋟`],[0,`⋠`],[0,`⋡`],[0,`⋢`],[0,`⋣`],[2,`⋦`],[0,`⋧`],[0,`⋨`],[0,`⋩`],[0,`⋪`],[0,`⋫`],[0,`⋬`],[0,`⋭`],[0,`⋮`],[0,`⋯`],[0,`⋰`],[0,`⋱`],[0,`⋲`],[0,`⋳`],[0,`⋴`],[0,{v:`⋵`,n:824,o:`⋵̸`}],[0,`⋶`],[0,`⋷`],[1,{v:`⋹`,n:824,o:`⋹̸`}],[0,`⋺`],[0,`⋻`],[0,`⋼`],[0,`⋽`],[0,`⋾`],[6,`⌅`],[0,`⌆`],[1,`⌈`],[0,`⌉`],[0,`⌊`],[0,`⌋`],[0,`⌌`],[0,`⌍`],[0,`⌎`],[0,`⌏`],[0,`⌐`],[1,`⌒`],[0,`⌓`],[1,`⌕`],[0,`⌖`],[5,`⌜`],[0,`⌝`],[0,`⌞`],[0,`⌟`],[2,`⌢`],[0,`⌣`],[9,`⌭`],[0,`⌮`],[7,`⌶`],[6,`⌽`],[1,`⌿`],[60,`⍼`],[51,`⎰`],[0,`⎱`],[2,`⎴`],[0,`⎵`],[0,`⎶`],[37,`⏜`],[0,`⏝`],[0,`⏞`],[0,`⏟`],[2,`⏢`],[4,`⏧`],[59,`␣`],[164,`Ⓢ`],[55,`─`],[1,`│`],[9,`┌`],[3,`┐`],[3,`└`],[3,`┘`],[3,`├`],[7,`┤`],[7,`┬`],[7,`┴`],[7,`┼`],[19,`═`],[0,`║`],[0,`╒`],[0,`╓`],[0,`╔`],[0,`╕`],[0,`╖`],[0,`╗`],[0,`╘`],[0,`╙`],[0,`╚`],[0,`╛`],[0,`╜`],[0,`╝`],[0,`╞`],[0,`╟`],[0,`╠`],[0,`╡`],[0,`╢`],[0,`╣`],[0,`╤`],[0,`╥`],[0,`╦`],[0,`╧`],[0,`╨`],[0,`╩`],[0,`╪`],[0,`╫`],[0,`╬`],[19,`▀`],[3,`▄`],[3,`█`],[8,`░`],[0,`▒`],[0,`▓`],[13,`□`],[8,`▪`],[0,`▫`],[1,`▭`],[0,`▮`],[2,`▱`],[1,`△`],[0,`▴`],[0,`▵`],[2,`▸`],[0,`▹`],[3,`▽`],[0,`▾`],[0,`▿`],[2,`◂`],[0,`◃`],[6,`◊`],[0,`○`],[32,`◬`],[2,`◯`],[8,`◸`],[0,`◹`],[0,`◺`],[0,`◻`],[0,`◼`],[8,`★`],[0,`☆`],[7,`☎`],[49,`♀`],[1,`♂`],[29,`♠`],[2,`♣`],[1,`♥`],[0,`♦`],[3,`♪`],[2,`♭`],[0,`♮`],[0,`♯`],[163,`✓`],[3,`✗`],[8,`✠`],[21,`✶`],[33,`❘`],[25,`❲`],[0,`❳`],[84,`⟈`],[0,`⟉`],[28,`⟦`],[0,`⟧`],[0,`⟨`],[0,`⟩`],[0,`⟪`],[0,`⟫`],[0,`⟬`],[0,`⟭`],[7,`⟵`],[0,`⟶`],[0,`⟷`],[0,`⟸`],[0,`⟹`],[0,`⟺`],[1,`⟼`],[2,`⟿`],[258,`⤂`],[0,`⤃`],[0,`⤄`],[0,`⤅`],[6,`⤌`],[0,`⤍`],[0,`⤎`],[0,`⤏`],[0,`⤐`],[0,`⤑`],[0,`⤒`],[0,`⤓`],[2,`⤖`],[2,`⤙`],[0,`⤚`],[0,`⤛`],[0,`⤜`],[0,`⤝`],[0,`⤞`],[0,`⤟`],[0,`⤠`],[2,`⤣`],[0,`⤤`],[0,`⤥`],[0,`⤦`],[0,`⤧`],[0,`⤨`],[0,`⤩`],[0,`⤪`],[8,{v:`⤳`,n:824,o:`⤳̸`}],[1,`⤵`],[0,`⤶`],[0,`⤷`],[0,`⤸`],[0,`⤹`],[2,`⤼`],[0,`⤽`],[7,`⥅`],[2,`⥈`],[0,`⥉`],[0,`⥊`],[0,`⥋`],[2,`⥎`],[0,`⥏`],[0,`⥐`],[0,`⥑`],[0,`⥒`],[0,`⥓`],[0,`⥔`],[0,`⥕`],[0,`⥖`],[0,`⥗`],[0,`⥘`],[0,`⥙`],[0,`⥚`],[0,`⥛`],[0,`⥜`],[0,`⥝`],[0,`⥞`],[0,`⥟`],[0,`⥠`],[0,`⥡`],[0,`⥢`],[0,`⥣`],[0,`⥤`],[0,`⥥`],[0,`⥦`],[0,`⥧`],[0,`⥨`],[0,`⥩`],[0,`⥪`],[0,`⥫`],[0,`⥬`],[0,`⥭`],[0,`⥮`],[0,`⥯`],[0,`⥰`],[0,`⥱`],[0,`⥲`],[0,`⥳`],[0,`⥴`],[0,`⥵`],[0,`⥶`],[1,`⥸`],[0,`⥹`],[1,`⥻`],[0,`⥼`],[0,`⥽`],[0,`⥾`],[0,`⥿`],[5,`⦅`],[0,`⦆`],[4,`⦋`],[0,`⦌`],[0,`⦍`],[0,`⦎`],[0,`⦏`],[0,`⦐`],[0,`⦑`],[0,`⦒`],[0,`⦓`],[0,`⦔`],[0,`⦕`],[0,`⦖`],[3,`⦚`],[1,`⦜`],[0,`⦝`],[6,`⦤`],[0,`⦥`],[0,`⦦`],[0,`⦧`],[0,`⦨`],[0,`⦩`],[0,`⦪`],[0,`⦫`],[0,`⦬`],[0,`⦭`],[0,`⦮`],[0,`⦯`],[0,`⦰`],[0,`⦱`],[0,`⦲`],[0,`⦳`],[0,`⦴`],[0,`⦵`],[0,`⦶`],[0,`⦷`],[1,`⦹`],[1,`⦻`],[0,`⦼`],[1,`⦾`],[0,`⦿`],[0,`⧀`],[0,`⧁`],[0,`⧂`],[0,`⧃`],[0,`⧄`],[0,`⧅`],[3,`⧉`],[3,`⧍`],[0,`⧎`],[0,{v:`⧏`,n:824,o:`⧏̸`}],[0,{v:`⧐`,n:824,o:`⧐̸`}],[11,`⧜`],[0,`⧝`],[0,`⧞`],[4,`⧣`],[0,`⧤`],[0,`⧥`],[5,`⧫`],[8,`⧴`],[1,`⧶`],[9,`⨀`],[0,`⨁`],[0,`⨂`],[1,`⨄`],[1,`⨆`],[5,`⨌`],[0,`⨍`],[2,`⨐`],[0,`⨑`],[0,`⨒`],[0,`⨓`],[0,`⨔`],[0,`⨕`],[0,`⨖`],[0,`⨗`],[10,`⨢`],[0,`⨣`],[0,`⨤`],[0,`⨥`],[0,`⨦`],[0,`⨧`],[1,`⨩`],[0,`⨪`],[2,`⨭`],[0,`⨮`],[0,`⨯`],[0,`⨰`],[0,`⨱`],[1,`⨳`],[0,`⨴`],[0,`⨵`],[0,`⨶`],[0,`⨷`],[0,`⨸`],[0,`⨹`],[0,`⨺`],[0,`⨻`],[0,`⨼`],[2,`⨿`],[0,`⩀`],[1,`⩂`],[0,`⩃`],[0,`⩄`],[0,`⩅`],[0,`⩆`],[0,`⩇`],[0,`⩈`],[0,`⩉`],[0,`⩊`],[0,`⩋`],[0,`⩌`],[0,`⩍`],[2,`⩐`],[2,`⩓`],[0,`⩔`],[0,`⩕`],[0,`⩖`],[0,`⩗`],[0,`⩘`],[1,`⩚`],[0,`⩛`],[0,`⩜`],[0,`⩝`],[1,`⩟`],[6,`⩦`],[3,`⩪`],[2,{v:`⩭`,n:824,o:`⩭̸`}],[0,`⩮`],[0,`⩯`],[0,{v:`⩰`,n:824,o:`⩰̸`}],[0,`⩱`],[0,`⩲`],[0,`⩳`],[0,`⩴`],[0,`⩵`],[1,`⩷`],[0,`⩸`],[0,`⩹`],[0,`⩺`],[0,`⩻`],[0,`⩼`],[0,{v:`⩽`,n:824,o:`⩽̸`}],[0,{v:`⩾`,n:824,o:`⩾̸`}],[0,`⩿`],[0,`⪀`],[0,`⪁`],[0,`⪂`],[0,`⪃`],[0,`⪄`],[0,`⪅`],[0,`⪆`],[0,`⪇`],[0,`⪈`],[0,`⪉`],[0,`⪊`],[0,`⪋`],[0,`⪌`],[0,`⪍`],[0,`⪎`],[0,`⪏`],[0,`⪐`],[0,`⪑`],[0,`⪒`],[0,`⪓`],[0,`⪔`],[0,`⪕`],[0,`⪖`],[0,`⪗`],[0,`⪘`],[0,`⪙`],[0,`⪚`],[2,`⪝`],[0,`⪞`],[0,`⪟`],[0,`⪠`],[0,{v:`⪡`,n:824,o:`⪡̸`}],[0,{v:`⪢`,n:824,o:`⪢̸`}],[1,`⪤`],[0,`⪥`],[0,`⪦`],[0,`⪧`],[0,`⪨`],[0,`⪩`],[0,`⪪`],[0,`⪫`],[0,{v:`⪬`,n:65024,o:`⪬︀`}],[0,{v:`⪭`,n:65024,o:`⪭︀`}],[0,`⪮`],[0,{v:`⪯`,n:824,o:`⪯̸`}],[0,{v:`⪰`,n:824,o:`⪰̸`}],[2,`⪳`],[0,`⪴`],[0,`⪵`],[0,`⪶`],[0,`⪷`],[0,`⪸`],[0,`⪹`],[0,`⪺`],[0,`⪻`],[0,`⪼`],[0,`⪽`],[0,`⪾`],[0,`⪿`],[0,`⫀`],[0,`⫁`],[0,`⫂`],[0,`⫃`],[0,`⫄`],[0,{v:`⫅`,n:824,o:`⫅̸`}],[0,{v:`⫆`,n:824,o:`⫆̸`}],[0,`⫇`],[0,`⫈`],[2,{v:`⫋`,n:65024,o:`⫋︀`}],[0,{v:`⫌`,n:65024,o:`⫌︀`}],[2,`⫏`],[0,`⫐`],[0,`⫑`],[0,`⫒`],[0,`⫓`],[0,`⫔`],[0,`⫕`],[0,`⫖`],[0,`⫗`],[0,`⫘`],[0,`⫙`],[0,`⫚`],[0,`⫛`],[8,`⫤`],[1,`⫦`],[0,`⫧`],[0,`⫨`],[0,`⫩`],[1,`⫫`],[0,`⫬`],[0,`⫭`],[0,`⫮`],[0,`⫯`],[0,`⫰`],[0,`⫱`],[0,`⫲`],[0,`⫳`],[9,{v:`⫽`,n:8421,o:`⫽⃥`}],[44343,{n:new Map(t([[56476,`𝒜`],[1,`𝒞`],[0,`𝒟`],[2,`𝒢`],[2,`𝒥`],[0,`𝒦`],[2,`𝒩`],[0,`𝒪`],[0,`𝒫`],[0,`𝒬`],[1,`𝒮`],[0,`𝒯`],[0,`𝒰`],[0,`𝒱`],[0,`𝒲`],[0,`𝒳`],[0,`𝒴`],[0,`𝒵`],[0,`𝒶`],[0,`𝒷`],[0,`𝒸`],[0,`𝒹`],[1,`𝒻`],[1,`𝒽`],[0,`𝒾`],[0,`𝒿`],[0,`𝓀`],[0,`𝓁`],[0,`𝓂`],[0,`𝓃`],[1,`𝓅`],[0,`𝓆`],[0,`𝓇`],[0,`𝓈`],[0,`𝓉`],[0,`𝓊`],[0,`𝓋`],[0,`𝓌`],[0,`𝓍`],[0,`𝓎`],[0,`𝓏`],[52,`𝔄`],[0,`𝔅`],[1,`𝔇`],[0,`𝔈`],[0,`𝔉`],[0,`𝔊`],[2,`𝔍`],[0,`𝔎`],[0,`𝔏`],[0,`𝔐`],[0,`𝔑`],[0,`𝔒`],[0,`𝔓`],[0,`𝔔`],[1,`𝔖`],[0,`𝔗`],[0,`𝔘`],[0,`𝔙`],[0,`𝔚`],[0,`𝔛`],[0,`𝔜`],[1,`𝔞`],[0,`𝔟`],[0,`𝔠`],[0,`𝔡`],[0,`𝔢`],[0,`𝔣`],[0,`𝔤`],[0,`𝔥`],[0,`𝔦`],[0,`𝔧`],[0,`𝔨`],[0,`𝔩`],[0,`𝔪`],[0,`𝔫`],[0,`𝔬`],[0,`𝔭`],[0,`𝔮`],[0,`𝔯`],[0,`𝔰`],[0,`𝔱`],[0,`𝔲`],[0,`𝔳`],[0,`𝔴`],[0,`𝔵`],[0,`𝔶`],[0,`𝔷`],[0,`𝔸`],[0,`𝔹`],[1,`𝔻`],[0,`𝔼`],[0,`𝔽`],[0,`𝔾`],[1,`𝕀`],[0,`𝕁`],[0,`𝕂`],[0,`𝕃`],[0,`𝕄`],[1,`𝕆`],[3,`𝕊`],[0,`𝕋`],[0,`𝕌`],[0,`𝕍`],[0,`𝕎`],[0,`𝕏`],[0,`𝕐`],[1,`𝕒`],[0,`𝕓`],[0,`𝕔`],[0,`𝕕`],[0,`𝕖`],[0,`𝕗`],[0,`𝕘`],[0,`𝕙`],[0,`𝕚`],[0,`𝕛`],[0,`𝕜`],[0,`𝕝`],[0,`𝕞`],[0,`𝕟`],[0,`𝕠`],[0,`𝕡`],[0,`𝕢`],[0,`𝕣`],[0,`𝕤`],[0,`𝕥`],[0,`𝕦`],[0,`𝕧`],[0,`𝕨`],[0,`𝕩`],[0,`𝕪`],[0,`𝕫`]]))}],[8906,`ff`],[0,`fi`],[0,`fl`],[0,`ffi`],[0,`ffl`]]))})),rp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]);e.getCodePoint=String.prototype.codePointAt==null?function(e,t){return(e.charCodeAt(t)&64512)==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)}:function(e,t){return e.codePointAt(t)};function n(n){for(var r=``,i=0,a;(a=e.xmlReplacer.exec(n))!==null;){var o=a.index,s=n.charCodeAt(o),c=t.get(s);c===void 0?(r+=`${n.substring(i,o)}&#x${(0,e.getCodePoint)(n,o).toString(16)};`,i=e.xmlReplacer.lastIndex+=Number((s&64512)==55296)):(r+=n.substring(i,o)+c,i=o+1)}return r+n.substr(i)}e.encodeXML=n,e.escape=n;function r(e,t){return function(n){for(var r,i=0,a=``;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}e.escapeUTF8=r(/[&<>'"]/g,t),e.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,`"`],[38,`&`],[160,` `]])),e.escapeText=r(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]]))})),ip=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.encodeNonAsciiHTML=e.encodeHTML=void 0;var n=t(np()),r=rp(),i=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(e){return s(i,e)}e.encodeHTML=a;function o(e){return s(r.xmlReplacer,e)}e.encodeNonAsciiHTML=o;function s(e,t){for(var i=``,a=0,o;(o=e.exec(t))!==null;){var s=o.index;i+=t.substring(a,s);var c=t.charCodeAt(s),l=n.default.get(c);if(typeof l==`object`){if(s+1<t.length){var u=t.charCodeAt(s+1),d=typeof l.n==`number`?l.n===u?l.o:void 0:l.n.get(u);if(d!==void 0){i+=d,a=e.lastIndex+=1;continue}}l=l.v}if(l!==void 0)i+=l,a=s+1;else{var f=(0,r.getCodePoint)(t,s);i+=`&#x${f.toString(16)};`,a=e.lastIndex+=Number(f!==c)}}return i+t.substr(a)}})),ap=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.DecodingMode=e.EntityLevel=void 0;var t=Yf(),n=ip(),r=rp(),i;(function(e){e[e.XML=0]=`XML`,e[e.HTML=1]=`HTML`})(i=e.EntityLevel||={});var a;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`})(a=e.DecodingMode||={});var o;(function(e){e[e.UTF8=0]=`UTF8`,e[e.ASCII=1]=`ASCII`,e[e.Extensive=2]=`Extensive`,e[e.Attribute=3]=`Attribute`,e[e.Text=4]=`Text`})(o=e.EncodingMode||={});function s(e,n){n===void 0&&(n=i.XML);var r=typeof n==`number`?{level:n}:n;return r.level===i.HTML?r.mode===a.Strict?(0,t.decodeHTMLStrict)(e):(0,t.decodeHTML)(e):(0,t.decodeXML)(e)}e.decode=s;function c(e,n){n===void 0&&(n=i.XML);var r=typeof n==`number`?{level:n}:n;return r.level===i.HTML?r.mode===a.Legacy?(0,t.decodeHTML)(e):(0,t.decodeHTMLStrict)(e):(0,t.decodeXML)(e)}e.decodeStrict=c;function l(e,t){t===void 0&&(t=i.XML);var a=typeof t==`number`?{level:t}:t;return a.mode===o.UTF8?(0,r.escapeUTF8)(e):a.mode===o.Attribute?(0,r.escapeAttribute)(e):a.mode===o.Text?(0,r.escapeText)(e):a.level===i.HTML?a.mode===o.ASCII?(0,n.encodeNonAsciiHTML)(e):(0,n.encodeHTML)(e):(0,r.encodeXML)(e)}e.encode=l;var u=rp();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var d=ip();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return d.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return d.encodeHTML}});var f=Yf();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return f.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return f.decodeXML}})})),op=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.attributeNames=e.elementNames=void 0,e.elementNames=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(function(e){return[e.toLowerCase(),e]})),e.attributeNames=new Map(`definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(function(e){return[e.toLowerCase(),e]}))})),sp=s((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(e,"__esModule",{value:!0}),e.render=void 0;var a=i(tp()),o=ap(),s=op(),c=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function l(e){return e.replace(/"/g,`"`)}function u(e,t){if(e){var n=(t.encodeEntities??t.decodeEntities)===!1?l:t.xmlMode||t.encodeEntities!==`utf8`?o.encodeXML:o.escapeAttribute;return Object.keys(e).map(function(r){var i=e[r]??``;return t.xmlMode===`foreign`&&(r=s.attributeNames.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}}var d=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function f(e,t){t===void 0&&(t={});for(var n=(`length`in e)?e:[e],r=``,i=0;i<n.length;i++)r+=p(n[i],t);return r}e.render=f,e.default=f;function p(e,t){switch(e.type){case a.Root:return f(e.children,t);case a.Doctype:case a.Directive:return _(e);case a.Comment:return b(e);case a.CDATA:return y(e);case a.Script:case a.Style:case a.Tag:return g(e,t);case a.Text:return v(e,t)}}var m=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),h=new Set([`svg`,`math`]);function g(e,n){n.xmlMode===`foreign`&&(e.name=s.elementNames.get(e.name)??e.name,e.parent&&m.has(e.parent.name)&&(n=t(t({},n),{xmlMode:!1}))),!n.xmlMode&&h.has(e.name)&&(n=t(t({},n),{xmlMode:`foreign`}));var r=`<${e.name}`,i=u(e.attribs,n);return i&&(r+=` ${i}`),e.children.length===0&&(n.xmlMode?n.selfClosingTags!==!1:n.selfClosingTags&&d.has(e.name))?(n.xmlMode||(r+=` `),r+=`/>`):(r+=`>`,e.children.length>0&&(r+=f(e.children,n)),(n.xmlMode||!d.has(e.name))&&(r+=`</${e.name}>`)),r}function _(e){return`<${e.data}>`}function v(e,t){var n=e.data||``;return(t.encodeEntities??t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&c.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!==`utf8`?(0,o.encodeXML)(n):(0,o.escapeText)(n)),n}function y(e){return`<![CDATA[${e.children[0].data}]]>`}function b(e){return`<!--${e.data}-->`}})),cp=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.innerText=e.textContent=e.getText=e.getInnerHTML=e.getOuterHTML=void 0;var n=ep(),r=t(sp()),i=tp();function a(e,t){return(0,r.default)(e,t)}e.getOuterHTML=a;function o(e,t){return(0,n.hasChildren)(e)?e.children.map(function(e){return a(e,t)}).join(``):``}e.getInnerHTML=o;function s(e){return Array.isArray(e)?e.map(s).join(``):(0,n.isTag)(e)?e.name===`br`?`
|
|
7
|
+
`:s(e.children):(0,n.isCDATA)(e)?s(e.children):(0,n.isText)(e)?e.data:``}e.getText=s;function c(e){return Array.isArray(e)?e.map(c).join(``):(0,n.hasChildren)(e)&&!(0,n.isComment)(e)?c(e.children):(0,n.isText)(e)?e.data:``}e.textContent=c;function l(e){return Array.isArray(e)?e.map(l).join(``):(0,n.hasChildren)(e)&&(e.type===i.ElementType.Tag||(0,n.isCDATA)(e))?l(e.children):(0,n.isText)(e)?e.data:``}e.innerText=l})),lp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.prevElementSibling=e.nextElementSibling=e.getName=e.hasAttrib=e.getAttributeValue=e.getSiblings=e.getParent=e.getChildren=void 0;var t=ep();function n(e){return(0,t.hasChildren)(e)?e.children:[]}e.getChildren=n;function r(e){return e.parent||null}e.getParent=r;function i(e){var t,i,a=r(e);if(a!=null)return n(a);for(var o=[e],s=e.prev,c=e.next;s!=null;)o.unshift(s),t=s,s=t.prev;for(;c!=null;)o.push(c),i=c,c=i.next;return o}e.getSiblings=i;function a(e,t){return e.attribs?.[t]}e.getAttributeValue=a;function o(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}e.hasAttrib=o;function s(e){return e.name}e.getName=s;function c(e){for(var n,r=e.next;r!==null&&!(0,t.isTag)(r);)n=r,r=n.next;return r}e.nextElementSibling=c;function l(e){for(var n,r=e.prev;r!==null&&!(0,t.isTag)(r);)n=r,r=n.prev;return r}e.prevElementSibling=l})),up=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.prependChild=e.append=e.appendChild=e.replaceElement=e.removeElement=void 0;function t(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)}}e.removeElement=t;function n(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}}e.replaceElement=n;function r(e,n){if(t(n),n.next=null,n.parent=e,e.children.push(n)>1){var r=e.children[e.children.length-2];r.next=n,n.prev=r}else n.prev=null}e.appendChild=r;function i(e,n){t(n);var r=e.parent,i=e.next;if(n.next=i,n.prev=e,e.next=n,n.parent=r,i){if(i.prev=n,r){var a=r.children;a.splice(a.lastIndexOf(i),0,n)}}else r&&r.children.push(n)}e.append=i;function a(e,n){if(t(n),n.parent=e,n.prev=null,e.children.unshift(n)!==1){var r=e.children[1];r.prev=n,n.next=r}else n.next=null}e.prependChild=a;function o(e,n){t(n);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,n)}e.prev&&(e.prev.next=n),n.parent=r,n.prev=e.prev,n.next=e,e.prev=n}e.prepend=o})),dp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0;var t=ep();function n(e,t,n,i){return n===void 0&&(n=!0),i===void 0&&(i=1/0),Array.isArray(t)||(t=[t]),r(e,t,n,i)}e.filter=n;function r(e,n,i,a){for(var o=[],s=0,c=n;s<c.length;s++){var l=c[s];if(e(l)&&(o.push(l),--a<=0))break;if(i&&(0,t.hasChildren)(l)&&l.children.length>0){var u=r(e,l.children,i,a);if(o.push.apply(o,u),a-=u.length,a<=0)break}}return o}e.find=r;function i(e,t){return t.find(e)}e.findOneChild=i;function a(e,n,r){r===void 0&&(r=!0);for(var i=null,o=0;o<n.length&&!i;o++){var s=n[o];if((0,t.isTag)(s))e(s)?i=s:r&&s.children.length>0&&(i=a(e,s.children,!0));else continue}return i}e.findOne=a;function o(e,n){return n.some(function(n){return(0,t.isTag)(n)&&(e(n)||n.children.length>0&&o(e,n.children))})}e.existsOne=o;function s(e,n){for(var r=[],i=n.filter(t.isTag),a;a=i.shift();){var o=a.children?.filter(t.isTag);o&&o.length>0&&i.unshift.apply(i,o),e(a)&&r.push(a)}return r}e.findAll=s})),fp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var t=ep(),n=dp(),r={tag_name:function(e){return typeof e==`function`?function(n){return(0,t.isTag)(n)&&e(n.name)}:e===`*`?t.isTag:function(n){return(0,t.isTag)(n)&&n.name===e}},tag_type:function(e){return typeof e==`function`?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e==`function`?function(n){return(0,t.isText)(n)&&e(n.data)}:function(n){return(0,t.isText)(n)&&n.data===e}}};function i(e,n){return typeof n==`function`?function(r){return(0,t.isTag)(r)&&n(r.attribs[e])}:function(r){return(0,t.isTag)(r)&&r.attribs[e]===n}}function a(e,t){return function(n){return e(n)||t(n)}}function o(e){var t=Object.keys(e).map(function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(r,t)?r[t](n):i(t,n)});return t.length===0?null:t.reduce(a)}function s(e,t){var n=o(e);return n?n(t):!0}e.testElement=s;function c(e,t,r,i){i===void 0&&(i=1/0);var a=o(e);return a?(0,n.filter)(a,t,r,i):[]}e.getElements=c;function l(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,n.findOne)(i(`id`,e),t,r)}e.getElementById=l;function u(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_name(e),t,i,a)}e.getElementsByTagName=u;function d(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_type(e),t,i,a)}e.getElementsByTagType=d})),pp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.DocumentPosition=e.removeSubsets=void 0;var t=ep();function n(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}e.removeSubsets=n;var r;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(r=e.DocumentPosition||={});function i(e,n){var i=[],a=[];if(e===n)return 0;for(var o=(0,t.hasChildren)(e)?e:e.parent;o;)i.unshift(o),o=o.parent;for(o=(0,t.hasChildren)(n)?n:n.parent;o;)a.unshift(o),o=o.parent;for(var s=Math.min(i.length,a.length),c=0;c<s&&i[c]===a[c];)c++;if(c===0)return r.DISCONNECTED;var l=i[c-1],u=l.children,d=i[c],f=a[c];return u.indexOf(d)>u.indexOf(f)?l===n?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}e.compareDocumentPosition=i;function a(e){return e=e.filter(function(e,t,n){return!n.includes(e,t+1)}),e.sort(function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0}),e}e.uniqueSort=a})),mp=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=void 0;var t=cp(),n=fp();function r(e){var t=l(f,e);return t?t.name===`feed`?i(t):a(t):null}e.getFeed=r;function i(e){var t=e.children,r={type:`atom`,items:(0,n.getElementsByTagName)(`entry`,t).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`id`,t),d(n,`title`,`title`,t);var r=l(`link`,t)?.attribs.href;r&&(n.link=r);var i=u(`summary`,t)||u(`content`,t);i&&(n.description=i);var a=u(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};d(r,`id`,`id`,t),d(r,`title`,`title`,t);var i=l(`link`,t)?.attribs.href;i&&(r.link=i),d(r,`description`,`subtitle`,t);var a=u(`updated`,t);return a&&(r.updated=new Date(a)),d(r,`author`,`email`,t,!0),r}function a(e){var t=l(`channel`,e.children)?.children??[],r={type:e.name.substr(0,3),id:``,items:(0,n.getElementsByTagName)(`item`,e.children).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`guid`,t),d(n,`title`,`title`,t),d(n,`link`,`link`,t),d(n,`description`,`description`,t);var r=u(`pubDate`,t);return r&&(n.pubDate=new Date(r)),n})};d(r,`title`,`title`,t),d(r,`link`,`link`,t),d(r,`description`,`description`,t);var i=u(`lastBuildDate`,t);return i&&(r.updated=new Date(i)),d(r,`author`,`managingEditor`,t,!0),r}var o=[`url`,`type`,`lang`],s=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function c(e){return(0,n.getElementsByTagName)(`media:content`,e).map(function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++){var a=i[r];t[a]&&(n[a]=t[a])}for(var c=0,l=s;c<l.length;c++){var a=l[c];t[a]&&(n[a]=parseInt(t[a],10))}return t.expression&&(n.expression=t.expression),n})}function l(e,t){return(0,n.getElementsByTagName)(e,t,!0,1)[0]}function u(e,r,i){return i===void 0&&(i=!1),(0,t.textContent)((0,n.getElementsByTagName)(e,r,i,1)).trim()}function d(e,t,n,r,i){i===void 0&&(i=!1);var a=u(n,r,i);a&&(e[t]=a)}function f(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}})),hp=s((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(cp(),e),n(lp(),e),n(up(),e),n(dp(),e),n(fp(),e),n(pp(),e),n(mp(),e);var r=ep();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})),gp=s((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultHandler=e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DomHandler=e.Parser=void 0;var a=Zf();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var o=ep();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return o.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return o.DomHandler}});function s(e,t){var n=new o.DomHandler(void 0,t);return new a.Parser(n,t).end(e),n.root}e.parseDocument=s;function c(e,t){return s(e,t).children}e.parseDOM=c;function l(e,t,n){var r=new o.DomHandler(e,t,n);return new a.Parser(r,t)}e.createDomStream=l;var u=Xf();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return i(u).default}}),e.ElementType=r(tp());var d=hp();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return d.getFeed}});function f(e,t){return t===void 0&&(t={xmlMode:!0}),(0,d.getFeed)(c(e,t))}e.parseFeed=f,e.DomUtils=r(hp())})),_p=s(((e,t)=>{function n(e){return!0}t.exports={shouldProcessEveryNode:n}})),vp=s(((e,t)=>{var n=1/0,r=`[object Symbol]`,i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=`\\ud800-\\udfff`,s=`\\u0300-\\u036f\\ufe20-\\ufe23`,c=`\\u20d0-\\u20f0`,l=`\\u2700-\\u27bf`,u=`a-z\\xdf-\\xf6\\xf8-\\xff`,d=`\\xac\\xb1\\xd7\\xf7`,f=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,p=`\\u2000-\\u206f`,m=` \\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`,h=`A-Z\\xc0-\\xd6\\xd8-\\xde`,g=`\\ufe0e\\ufe0f`,_=d+f+p+m,v=`['’]`,y=`[`+o+`]`,b=`[`+_+`]`,x=`[`+s+c+`]`,S=`\\d+`,C=`[`+l+`]`,w=`[`+u+`]`,T=`[^`+o+_+S+l+u+h+`]`,E=`\\ud83c[\\udffb-\\udfff]`,D=`(?:`+x+`|`+E+`)`,O=`[^`+o+`]`,k=`(?:\\ud83c[\\udde6-\\uddff]){2}`,A=`[\\ud800-\\udbff][\\udc00-\\udfff]`,j=`[`+h+`]`,M=`\\u200d`,ee=`(?:`+w+`|`+T+`)`,N=`(?:`+j+`|`+T+`)`,P=`(?:`+v+`(?:d|ll|m|re|s|t|ve))?`,F=`(?:`+v+`(?:D|LL|M|RE|S|T|VE))?`,I=D+`?`,L=`[`+g+`]?`,R=`(?:`+M+`(?:`+[O,k,A].join(`|`)+`)`+L+I+`)*`,z=L+I+R,B=`(?:`+[C,k,A].join(`|`)+`)`+z,te=`(?:`+[O+x+`?`,x,k,A,y].join(`|`)+`)`,ne=RegExp(v,`g`),re=RegExp(x,`g`),ie=RegExp(E+`(?=`+E+`)|`+te+z,`g`),ae=RegExp([j+`?`+w+`+`+P+`(?=`+[b,j,`$`].join(`|`)+`)`,N+`+`+F+`(?=`+[b,j+ee,`$`].join(`|`)+`)`,j+`?`+ee+`+`+P,j+`+`+F,S,B].join(`|`),`g`),oe=RegExp(`[`+M+o+s+c+g+`]`),se=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ce={À:`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`},le=typeof global==`object`&&global&&global.Object===Object&&global,ue=typeof self==`object`&&self&&self.Object===Object&&self,de=le||ue||Function(`return this`)();function fe(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function V(e){return e.split(``)}function pe(e){return e.match(i)||[]}function me(e){return function(t){return e?.[t]}}var he=me(ce);function ge(e){return oe.test(e)}function _e(e){return se.test(e)}function ve(e){return ge(e)?ye(e):V(e)}function ye(e){return e.match(ie)||[]}function be(e){return e.match(ae)||[]}var xe=Object.prototype.toString,Se=de.Symbol,Ce=Se?Se.prototype:void 0,we=Ce?Ce.toString:void 0;function Te(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function Ee(e){if(typeof e==`string`)return e;if(je(e))return we?we.call(e):``;var t=e+``;return t==`0`&&1/e==-n?`-0`:t}function De(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Te(e,t,n)}function Oe(e){return function(t){t=Me(t);var n=ge(t)?ve(t):void 0,r=n?n[0]:t.charAt(0),i=n?De(n,1).join(``):t.slice(1);return r[e]()+i}}function ke(e){return function(t){return fe(Le(Fe(t).replace(ne,``)),e,``)}}function Ae(e){return!!e&&typeof e==`object`}function je(e){return typeof e==`symbol`||Ae(e)&&xe.call(e)==r}function Me(e){return e==null?``:Ee(e)}var Ne=ke(function(e,t,n){return t=t.toLowerCase(),e+(n?Pe(t):t)});function Pe(e){return Ie(Me(e).toLowerCase())}function Fe(e){return e=Me(e),e&&e.replace(a,he).replace(re,``)}var Ie=Oe(`toUpperCase`);function Le(e,t,n){return e=Me(e),t=n?void 0:t,t===void 0?_e(e)?be(e):pe(e):e.match(t)||[]}t.exports=Ne})),yp=s(((e,t)=>{t.exports=`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`.split(`.`).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`.split(`.`)).reduce(function(e,t){let n=t.toLowerCase();return n!==t&&(e[n]=t),e},{})})),bp=s(((e,t)=>{var n=vp(),r=p(),i=yp();function a(e){e||=``;let t=e.split(/;(?!base64)/),r,i,a,o={};for(let e=0;e<t.length;++e)r=t[e].split(`:`),r.length>2&&(r[1]=r.slice(1).join(`:`)),i=r[0],a=r[1],typeof a==`string`&&(a=a.trim()),i!=null&&a!=null&&i.length>0&&a.length>0&&(o[n(i)]=a);return o}var o=[`allowFullScreen`,`allowpaymentrequest`,`async`,`autoFocus`,`autoPlay`,`checked`,`controls`,`default`,`disabled`,`formNoValidate`,`hidden`,`ismap`,`itemScope`,`loop`,`multiple`,`muted`,`nomodule`,`noValidate`,`open`,`playsinline`,`readOnly`,`required`,`reversed`,`selected`,`truespeed`];function s(e,t,n,s){let c={key:t};e.attribs&&(c=Object.entries(e.attribs).reduce((e,[t,n])=>(t=i[t.replace(/[-:]/,``)]||t,t===`style`?n=a(n):t===`class`?t=`className`:t===`for`?t=`htmlFor`:t.startsWith(`on`)&&(n=Function(n)),o.includes(t)&&(n||``)===``&&(n=t),e[t]=n,e),c)),s||=[];let l=n==null?s:[n].concat(s);return r.createElement.apply(null,[e.name,c].concat(l))}t.exports={createElement:s}})),xp=s(((e,t)=>{var n=bp(),r=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`,`menuitem`,`textarea`];function i(){function e(e,t,i){return e.type===`text`?e.data:e.type===`comment`?!1:r.indexOf(e.name)>-1?n.createElement(e,i):n.createElement(e,i,e.data,t)}return{processDefaultNode:e}}t.exports=i})),Sp=s(((e,t)=>{var n=_p(),r=xp();function i(){let e=new r;return{defaultProcessingInstructions:[{shouldProcessNode:n.shouldProcessEveryNode,processNode:e.processDefaultNode}]}}t.exports=i})),Cp=s(((e,t)=>{function n(){return!0}t.exports={alwaysValid:n}})),wp=s(((e,t)=>{var n=gp().Parser,r=ep().DomHandler,i=Sp(),a=Cp(),o=bp();function s(e){function t(t){e||={},e.decodeEntities=!0;let i=new r;return new n(i,e).parseComplete(t),i.dom.filter(function(e){return e.type!==`directive`})}function s(e,t,n,r,i){if(t(e)){(r||[]).forEach(t=>{t.shouldPreprocessNode(e)&&t.preprocessNode(e,i)});let a=(n||[]).find(t=>t.shouldProcessNode(e));if(a!=null){let c=(e.children||[]).map((e,i)=>s(e,t,n,r,i)).filter(e=>e!=null&&e!==!1);return a.replaceChildren?o.createElement(e,i,e.data,[a.processNode(e,c,i)]):a.processNode(e,c,i)}else return!1}else return!1}function c(e,n,r,i){let a=t(e).map(function(e,t){return s(e,n,r,i,t)});return a.length<=1?a[0]:a}function l(e){let t=new i;return c(e,a.alwaysValid,t.defaultProcessingInstructions)}return{parse:l,parseWithInstructions:c}}t.exports=s})),Tp=s(((e,t)=>{t.exports={Parser:wp(),ProcessingInstructions:Sp(),IsValidNodeDefinitions:Cp(),ProcessNodeDefinitions:xp()}})),Ep=s(((e,t)=>{t.exports={}})),Dp=s(((e,t)=>{typeof Object.create==`function`?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),Op=s(((e,t)=>{t.exports=Ep().EventEmitter})),kp=s((e=>{e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f;for(f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}})),Ap=s((e=>{e.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)},e.write=function(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}})),jp=s((e=>{var t=kp(),n=Ap(),r=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;e.Buffer=s,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=a(),!s.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(e){if(e>i)throw RangeError(`The value "`+e+`" is invalid for option "size"`);let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if(typeof e==`number`){if(typeof t==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return d(e)}return c(e,t,n)}s.poolSize=8192;function c(e,t,n){if(typeof e==`string`)return f(e,t);if(ArrayBuffer.isView(e))return m(e);if(e==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e);if(ge(e,ArrayBuffer)||e&&ge(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(ge(e,SharedArrayBuffer)||e&&ge(e.buffer,SharedArrayBuffer)))return h(e,t,n);if(typeof e==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return s.from(r,t,n);let i=g(e);if(i)return i;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==`function`)return s.from(e[Symbol.toPrimitive](`string`),t,n);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e)}s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be of type number`);if(e<0)throw RangeError(`The value "`+e+`" is invalid for option "size"`)}function u(e,t,n){return l(e),e<=0||t===void 0?o(e):typeof n==`string`?o(e).fill(t,n):o(e).fill(t)}s.alloc=function(e,t,n){return u(e,t,n)};function d(e){return l(e),o(e<0?0:_(e)|0)}s.allocUnsafe=function(e){return d(e)},s.allocUnsafeSlow=function(e){return d(e)};function f(e,t){if((typeof t!=`string`||t===``)&&(t=`utf8`),!s.isEncoding(t))throw TypeError(`Unknown encoding: `+t);let n=y(e,t)|0,r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function p(e){let t=e.length<0?0:_(e.length)|0,n=o(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function m(e){if(ge(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}function h(e,t,n){if(t<0||e.byteLength<t)throw RangeError(`"offset" is outside of buffer bounds`);if(e.byteLength<t+(n||0))throw RangeError(`"length" is outside of buffer bounds`);let r;return r=t===void 0&&n===void 0?new Uint8Array(e):n===void 0?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,s.prototype),r}function g(e){if(s.isBuffer(e)){let t=_(e.length)|0,n=o(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=`number`||_e(e.length)?o(0):p(e);if(e.type===`Buffer`&&Array.isArray(e.data))return p(e.data)}function _(e){if(e>=i)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+i.toString(16)+` bytes`);return e|0}function v(e){return+e!=e&&(e=0),s.alloc(+e)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype},s.compare=function(e,t){if(ge(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),ge(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return s.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;let r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(ge(t,Uint8Array))i+t.length>r.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError(`"list" argument must be an Array of Buffers`);i+=t.length}return r};function y(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ge(e,ArrayBuffer))return e.byteLength;if(typeof e!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:return fe(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return me(e).length;default:if(i)return r?-1:fe(e).length;t=(``+t).toLowerCase(),i=!0}}s.byteLength=y;function b(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return P(this,t,n);case`utf8`:case`utf-8`:return A(this,t,n);case`ascii`:return ee(this,t,n);case`latin1`:case`binary`:return N(this,t,n);case`base64`:return k(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return F(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}s.prototype._isBuffer=!0;function x(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let t=0;t<e;t+=2)x(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return e===0?``:arguments.length===0?A(this,0,e):b.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:s.compare(this,e)===0},s.prototype.inspect=function(){let t=``,n=e.INSPECT_MAX_BYTES;return t=this.toString(`hex`,0,n).replace(/(.{2})/g,`$1 `).trim(),this.length>n&&(t+=` ... `),`<Buffer `+t+`>`},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(ge(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,o=n-t,c=Math.min(a,o),l=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<c;++e)if(l[e]!==u[e]){a=l[e],o=u[e];break}return a<o?-1:+(o<a)};function S(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,_e(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=s.from(t,r)),s.isBuffer(t))return t.length===0?-1:C(e,t,n,r,i);if(typeof t==`number`)return t&=255,typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function C(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}let l;if(i){let r=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,r===-1?0:l-r)){if(r===-1&&(r=l),l-r+1===s)return r*a}else r!==-1&&(l-=l-r),r=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){let n=!0;for(let r=0;r<s;r++)if(c(e,l+r)!==c(t,r)){n=!1;break}if(n)return l}return-1}s.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},s.prototype.indexOf=function(e,t,n){return S(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return S(this,e,t,n,!1)};function w(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o;for(o=0;o<r;++o){let r=parseInt(t.substr(o*2,2),16);if(_e(r))return o;e[n+o]=r}return o}function T(e,t,n,r){return he(fe(t,e.length-n),e,n,r)}function E(e,t,n,r){return he(V(t),e,n,r)}function D(e,t,n,r){return he(me(t),e,n,r)}function O(e,t,n,r){return he(pe(t,e.length-n),e,n,r)}s.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;let a=!1;for(;;)switch(r){case`hex`:return w(this,e,t,n);case`utf8`:case`utf-8`:return T(this,e,t,n);case`ascii`:case`latin1`:case`binary`:return E(this,e,t,n);case`base64`:return D(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return O(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},s.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function k(e,n,r){return n===0&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function A(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,s,c;switch(o){case 1:t<128&&(a=t);break;case 2:n=e[i+1],(n&192)==128&&(c=(t&31)<<6|n&63,c>127&&(a=c));break;case 3:n=e[i+1],r=e[i+2],(n&192)==128&&(r&192)==128&&(c=(t&15)<<12|(n&63)<<6|r&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(n&192)==128&&(r&192)==128&&(s&192)==128&&(c=(t&15)<<18|(n&63)<<12|(r&63)<<6|s&63,c>65535&&c<1114112&&(a=c))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|a&1023),r.push(a),i+=o}return M(r)}var j=4096;function M(e){let t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);let n=``,r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=j));return n}function ee(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function N(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=``;for(let r=t;r<n;++r)i+=ve[e[r]];return i}function F(e,t,n){let r=e.slice(t,n),i=``;for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+r[e+1]*256);return i}s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r};function I(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=ye(function(e){e>>>=0,ce(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=ye(function(e){e>>>=0,ce(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},s.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=ye(function(e){e>>>=0,ce(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),s.prototype.readBigInt64BE=ye(function(e){e>>>=0,ce(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&le(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),n.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),n.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),n.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),n.read(this,e,!1,52,8)};function L(e,t,n,r,i,a){if(!s.isBuffer(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;L(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=e&255;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;L(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=e&255;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=e&255,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function R(e,t,n,r,i){se(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function z(e,t,n,r,i){se(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}s.prototype.writeBigUInt64LE=ye(function(e,t=0){return R(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeBigUInt64BE=ye(function(e,t=0){return z(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);L(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=e&255;++i<n&&(a*=256);)e<0&&o===0&&this[t+i-1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);L(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=e&255;--i>=0&&(a*=256);)e<0&&o===0&&this[t+i+1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},s.prototype.writeBigInt64LE=ye(function(e,t=0){return R(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),s.prototype.writeBigInt64BE=ye(function(e,t=0){return z(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function B(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function te(e,t,r,i,a){return t=+t,r>>>=0,a||B(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}s.prototype.writeFloatLE=function(e,t,n){return te(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return te(this,e,t,!1,n)};function ne(e,t,r,i,a){return t=+t,r>>>=0,a||B(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}s.prototype.writeDoubleLE=function(e,t,n){return ne(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return ne(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError(`argument should be a Buffer`);if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`Index out of range`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&typeof Uint8Array.prototype.copyWithin==`function`?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!s.isEncoding(r))throw TypeError(`Unknown encoding: `+r);if(e.length===1){let t=e.charCodeAt(0);(r===`utf8`&&t<128||r===`latin1`)&&(e=t)}}else typeof e==`number`?e&=255:typeof e==`boolean`&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;let i;if(typeof e==`number`)for(i=t;i<n;++i)this[i]=e;else{let a=s.isBuffer(e)?e:s.from(e,r),o=a.length;if(o===0)throw TypeError(`The value "`+e+`" is invalid for argument "value"`);for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};var re={};function ie(e,t,n){re[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}ie(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),ie(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),ie(`ERR_OUT_OF_RANGE`,function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=ae(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=ae(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function ae(e){let t=``,n=e.length,r=+(e[0]===`-`);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function oe(e,t,n){ce(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&le(t,e.length-(n+1))}function se(e,t,n,r,i,a){if(e>n||e<t){let r=typeof t==`bigint`?`n`:``,i;throw i=a>3?t===0||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new re.ERR_OUT_OF_RANGE(`value`,i,e)}oe(r,i,a)}function ce(e,t){if(typeof e!=`number`)throw new re.ERR_INVALID_ARG_TYPE(t,`number`,e)}function le(e,t,n){throw Math.floor(e)===e?t<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(n||`offset`,`>= ${+!!n} and <= ${t}`,e):(ce(e,n),new re.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}var ue=/[^+/0-9A-Za-z-_]/g;function de(e){if(e=e.split(`=`)[0],e=e.trim().replace(ue,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function fe(e,t){t||=1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function V(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function pe(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function me(e){return t.toByteArray(de(e))}function he(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function ge(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function _e(e){return e!==e}var ve=(function(){let e=`0123456789abcdef`,t=Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t})();function ye(e){return typeof BigInt>`u`?be:e}function be(){throw Error(`BigInt not supported`)}})),Mp=s(((e,t)=>{function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]==null?{}:arguments[t];t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var c=jp().Buffer,l=Ep().inspect,u=l&&l.custom||`inspect`;function d(e,t,n){c.prototype.copy.call(e,t,n)}t.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return s(e,[{key:`push`,value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:`unshift`,value:function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length}},{key:`shift`,value:function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:`clear`,value:function(){this.head=this.tail=null,this.length=0}},{key:`join`,value:function(e){if(this.length===0)return``;for(var t=this.head,n=``+t.data;t=t.next;)n+=e+t.data;return n}},{key:`concat`,value:function(e){if(this.length===0)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),n=this.head,r=0;n;)d(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:`consume`,value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:`first`,value:function(){return this.head.data}},{key:`_getString`,value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?r+=i:r+=i.slice(0,e),e-=a,e===0){a===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++n}return this.length-=n,r}},{key:`_getBuffer`,value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),e-=a,e===0){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:u,value:function(e,t){return l(this,r({},t,{depth:0,customInspect:!1}))}}]),e}()})),Np=s(((e,t)=>{function n(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,e)):process.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted?process.nextTick(i,n):(n._writableState.errorEmitted=!0,process.nextTick(r,n,e)):process.nextTick(r,n,e):t?(process.nextTick(i,n),t(e)):process.nextTick(i,n)}),this)}function r(e,t){o(e,t),i(e)}function i(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit(`close`)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit(`error`,t)}function s(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit(`error`,t)}t.exports={destroy:n,undestroy:a,errorOrDestroy:s}})),Pp=s(((e,t)=>{function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var r={};function i(e,t,i){i||=Error;function a(e,n,r){return typeof t==`string`?t:t(e,n,r)}var o=function(e){n(t,e);function t(t,n,r){return e.call(this,a(t,n,r))||this}return t}(i);o.prototype.name=i.name,o.prototype.code=e,r[e]=o}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function o(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function s(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function c(e,t,n){return typeof n!=`number`&&(n=0),n+t.length>e.length?!1:e.indexOf(t,n)!==-1}i(`ERR_INVALID_OPT_VALUE`,function(e,t){return`The value "`+t+`" is invalid for option "`+e+`"`},TypeError),i(`ERR_INVALID_ARG_TYPE`,function(e,t,n){var r;typeof t==`string`&&o(t,`not `)?(r=`must not be`,t=t.replace(/^not /,``)):r=`must be`;var i=s(e,` argument`)?`The ${e} ${r} ${a(t,`type`)}`:`The "${e}" ${c(e,`.`)?`property`:`argument`} ${r} ${a(t,`type`)}`;return i+=`. Received type ${typeof n}`,i},TypeError),i(`ERR_STREAM_PUSH_AFTER_EOF`,`stream.push() after EOF`),i(`ERR_METHOD_NOT_IMPLEMENTED`,function(e){return`The `+e+` method is not implemented`}),i(`ERR_STREAM_PREMATURE_CLOSE`,`Premature close`),i(`ERR_STREAM_DESTROYED`,function(e){return`Cannot call `+e+` after a stream was destroyed`}),i(`ERR_MULTIPLE_CALLBACK`,`Callback called multiple times`),i(`ERR_STREAM_CANNOT_PIPE`,`Cannot pipe, not readable`),i(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),i(`ERR_STREAM_NULL_VALUES`,`May not write null values to stream`,TypeError),i(`ERR_UNKNOWN_ENCODING`,function(e){return`Unknown encoding: `+e},TypeError),i(`ERR_STREAM_UNSHIFT_AFTER_END_EVENT`,`stream.unshift() after end event`),t.exports.codes=r})),Fp=s(((e,t)=>{var n=Pp().codes.ERR_INVALID_OPT_VALUE;function r(e,t,n){return e.highWaterMark==null?t?e[n]:null:e.highWaterMark}function i(e,t,i,a){var o=r(t,a,i);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(a?i:`highWaterMark`,o);return Math.floor(o)}return e.objectMode?16:16*1024}t.exports={getHighWaterMark:i}})),Ip=s(((e,t)=>{t.exports=n;function n(e,t){if(r(`noDeprecation`))return e;var n=!1;function i(){if(!n){if(r(`throwDeprecation`))throw Error(t);r(`traceDeprecation`)?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return t==null?!1:String(t).toLowerCase()===`true`}})),Lp=s(((e,t)=>{t.exports=T;function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){te(t,e)}}var r;T.WritableState=C;var i={deprecate:Ip()},a=Op(),o=jp().Buffer,s=global.Uint8Array||function(){};function c(e){return o.from(e)}function l(e){return o.isBuffer(e)||e instanceof s}var u=Np(),d=Fp().getHighWaterMark,f=Pp().codes,p=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,h=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,_=f.ERR_STREAM_DESTROYED,v=f.ERR_STREAM_NULL_VALUES,y=f.ERR_STREAM_WRITE_AFTER_END,b=f.ERR_UNKNOWN_ENCODING,x=u.errorOrDestroy;Dp()(T,a);function S(){}function C(e,t,i){r||=Rp(),e||={},typeof i!=`boolean`&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,`writableHighWaterMark`,i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=e.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||`utf8`,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){ee(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}C.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},(function(){try{Object.defineProperty(C.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},`_writableState.buffer is deprecated. Use _writableState.getBuffer instead.`,`DEP0003`)})}catch{}})();var w;typeof Symbol==`function`&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==`function`?(w=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return w.call(this,e)?!0:this===T?e&&e._writableState instanceof C:!1}})):w=function(e){return e instanceof this};function T(e){r||=Rp();var t=this instanceof r;if(!t&&!w.call(T,this))return new T(e);this._writableState=new C(e,this,t),this.writable=!0,e&&(typeof e.write==`function`&&(this._write=e.write),typeof e.writev==`function`&&(this._writev=e.writev),typeof e.destroy==`function`&&(this._destroy=e.destroy),typeof e.final==`function`&&(this._final=e.final)),a.call(this)}T.prototype.pipe=function(){x(this,new g)};function E(e,t){var n=new y;x(e,n),process.nextTick(t,n)}function D(e,t,n,r){var i;return n===null?i=new v:typeof n!=`string`&&!t.objectMode&&(i=new p(`chunk`,[`string`,`Buffer`],n)),i?(x(e,i),process.nextTick(r,i),!1):!0}T.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&l(e);return a&&!o.isBuffer(e)&&(e=c(e)),typeof t==`function`&&(n=t,t=null),a?t=`buffer`:t||=r.defaultEncoding,typeof n!=`function`&&(n=S),r.ending?E(this,n):(a||D(this,r,e,n))&&(r.pendingcb++,i=k(this,r,a,e,t,n)),i},T.prototype.cork=function(){this._writableState.corked++},T.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&F(this,e))},T.prototype.setDefaultEncoding=function(e){if(typeof e==`string`&&(e=e.toLowerCase()),!([`hex`,`utf8`,`utf-8`,`ascii`,`binary`,`base64`,`ucs2`,`ucs-2`,`utf16le`,`utf-16le`,`raw`].indexOf((e+``).toLowerCase())>-1))throw new b(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==`string`&&(t=o.from(t,n)),t}Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function k(e,t,n,r,i,a){if(!n){var o=O(t,r,i);r!==o&&(n=!0,i=`buffer`,r=o)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,s,r,i,a);return c}function A(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new _(`write`)):n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function j(e,t,n,r,i){--t.pendingcb,n?(process.nextTick(i,r),process.nextTick(z,e,t),e._writableState.errorEmitted=!0,x(e,r)):(i(r),e._writableState.errorEmitted=!0,x(e,r),z(e,t))}function M(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function ee(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(typeof i!=`function`)throw new h;if(M(n),t)j(e,n,r,t,i);else{var a=I(n)||e.destroyed;!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&F(e,n),r?process.nextTick(N,e,n,a,i):N(e,n,a,i)}}function N(e,t,n,r){n||P(e,t),t.pendingcb--,r(),z(e,t)}function P(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(`drain`))}function F(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,a=Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,A(e,t,!0,t.length,a,``,o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(A(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}T.prototype._write=function(e,t,n){n(new m(`_write()`))},T.prototype._writev=null,T.prototype.end=function(e,t,n){var r=this._writableState;return typeof e==`function`?(n=e,e=null,t=null):typeof t==`function`&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||B(this,r,n),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function I(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function L(e,t){e._final(function(n){t.pendingcb--,n&&x(e,n),t.prefinished=!0,e.emit(`prefinish`),z(e,t)})}function R(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final==`function`&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(L,e,t)):(t.prefinished=!0,e.emit(`prefinish`)))}function z(e,t){var n=I(t);if(n&&(R(e,t),t.pendingcb===0&&(t.finished=!0,e.emit(`finish`),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function B(e,t,n){t.ending=!0,z(e,t),n&&(t.finished?process.nextTick(n):e.once(`finish`,n)),t.ended=!0,e.writable=!1}function te(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=u.destroy,T.prototype._undestroy=u.undestroy,T.prototype._destroy=function(e,t){t(e)}})),Rp=s(((e,t)=>{var n=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=c;var r=Wp(),i=Lp();Dp()(c,r);for(var a=n(i.prototype),o=0;o<a.length;o++){var s=a[o];c.prototype[s]||(c.prototype[s]=i.prototype[s])}function c(e){if(!(this instanceof c))return new c(e);r.call(this,e),i.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once(`end`,l)))}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||process.nextTick(u,this)}function u(e){e.end()}Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})})),zp=s(((e,t)=>{var n=jp(),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a);function a(e,t,n){return r(e,t,n)}i(r,a),a.from=function(e,t,n){if(typeof e==`number`)throw TypeError(`Argument must not be a number`);return r(e,t,n)},a.alloc=function(e,t,n){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);var i=r(e);return t===void 0?i.fill(0):typeof n==`string`?i.fill(t,n):i.fill(t),i},a.allocUnsafe=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return r(e)},a.allocUnsafeSlow=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return n.SlowBuffer(e)}})),Bp=s((e=>{var t=zp().Buffer,n=t.isEncoding||function(e){switch(e=``+e,e&&e.toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:case`raw`:return!0;default:return!1}};function r(e){if(!e)return`utf8`;for(var t;;)switch(e){case`utf8`:case`utf-8`:return`utf8`;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return`utf16le`;case`latin1`:case`binary`:return`latin1`;case`base64`:case`ascii`:case`hex`:return e;default:if(t)return;e=(``+e).toLowerCase(),t=!0}}function i(e){var i=r(e);if(typeof i!=`string`&&(t.isEncoding===n||!n(e)))throw Error(`Unknown encoding: `+e);return i||e}e.StringDecoder=a;function a(e){this.encoding=i(e);var n;switch(this.encoding){case`utf16le`:this.text=f,this.end=p,n=4;break;case`utf8`:this.fillLast=l,n=4;break;case`base64`:this.text=m,this.end=h,n=3;break;default:this.write=g,this.end=_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}a.prototype.write=function(e){if(e.length===0)return``;var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return``;n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||``},a.prototype.end=d,a.prototype.text=u,a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function c(e,t,n){if((t[0]&192)!=128)return e.lastNeed=0,`�`;if(e.lastNeed>1&&t.length>1){if((t[1]&192)!=128)return e.lastNeed=1,`�`;if(e.lastNeed>2&&t.length>2&&(t[2]&192)!=128)return e.lastNeed=2,`�`}}function l(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function u(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString(`utf8`,t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(`utf8`,t,r)}function d(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+`�`:t}function f(e,t){if((e.length-t)%2==0){var n=e.toString(`utf16le`,t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(`utf16le`,t,e.length-1)}function p(e){var t=e&&e.length?this.write(e):``;if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(`utf16le`,0,n)}return t}function m(e,t){var n=(e.length-t)%3;return n===0?e.toString(`base64`,t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(`base64`,t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+this.lastChar.toString(`base64`,0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function _(e){return e&&e.length?this.write(e):``}})),Vp=s(((e,t)=>{var n=Pp().codes.ERR_STREAM_PREMATURE_CLOSE;function r(e){var t=!1;return function(){if(!t){t=!0;var n=[...arguments];e.apply(this,n)}}}function i(){}function a(e){return e.setHeader&&typeof e.abort==`function`}function o(e,t,s){if(typeof t==`function`)return o(e,null,t);t||={},s=r(s||i);var c=t.readable||t.readable!==!1&&e.readable,l=t.writable||t.writable!==!1&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){l=!1,d=!0,c||s.call(e)},p=e._readableState&&e._readableState.endEmitted,m=function(){c=!1,p=!0,l||s.call(e)},h=function(t){s.call(e,t)},g=function(){var t;if(c&&!p)return(!e._readableState||!e._readableState.ended)&&(t=new n),s.call(e,t);if(l&&!d)return(!e._writableState||!e._writableState.ended)&&(t=new n),s.call(e,t)},_=function(){e.req.on(`finish`,f)};return a(e)?(e.on(`complete`,f),e.on(`abort`,g),e.req?_():e.on(`request`,_)):l&&!e._writableState&&(e.on(`end`,u),e.on(`close`,u)),e.on(`end`,m),e.on(`finish`,f),t.error!==!1&&e.on(`error`,h),e.on(`close`,g),function(){e.removeListener(`complete`,f),e.removeListener(`abort`,g),e.removeListener(`request`,_),e.req&&e.req.removeListener(`finish`,f),e.removeListener(`end`,u),e.removeListener(`close`,u),e.removeListener(`finish`,f),e.removeListener(`end`,m),e.removeListener(`error`,h),e.removeListener(`close`,g)}}t.exports=o})),Hp=s(((e,t)=>{var n;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=Vp(),a=Symbol(`lastResolve`),o=Symbol(`lastReject`),s=Symbol(`error`),c=Symbol(`ended`),l=Symbol(`lastPromise`),u=Symbol(`handlePromise`),d=Symbol(`stream`);function f(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(t!==null){var n=e[d].read();n!==null&&(e[l]=null,e[a]=null,e[o]=null,t(f(n,!1)))}}function m(e){process.nextTick(p,e)}function h(e,t){return function(n,r){e.then(function(){if(t[c]){n(f(void 0,!0));return}t[u](n,r)},r)}}var g=Object.getPrototypeOf(function(){}),_=Object.setPrototypeOf((n={get stream(){return this[d]},next:function(){var e=this,t=this[s];if(t!==null)return Promise.reject(t);if(this[c])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(t,n){process.nextTick(function(){e[s]?n(e[s]):t(f(void 0,!0))})});var n=this[l],r;if(n)r=new Promise(h(n,this));else{var i=this[d].read();if(i!==null)return Promise.resolve(f(i,!1));r=new Promise(this[u])}return this[l]=r,r}},r(n,Symbol.asyncIterator,function(){return this}),r(n,`return`,function(){var e=this;return new Promise(function(t,n){e[d].destroy(null,function(e){if(e){n(e);return}t(f(void 0,!0))})})}),n),g);t.exports=function(e){var t,n=Object.create(_,(t={},r(t,d,{value:e,writable:!0}),r(t,a,{value:null,writable:!0}),r(t,o,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,u,{value:function(e,t){var r=n[d].read();r?(n[l]=null,n[a]=null,n[o]=null,e(f(r,!1))):(n[a]=e,n[o]=t)},writable:!0}),t));return n[l]=null,i(e,function(e){if(e&&e.code!==`ERR_STREAM_PREMATURE_CLOSE`){var t=n[o];t!==null&&(n[l]=null,n[a]=null,n[o]=null,t(e)),n[s]=e;return}var r=n[a];r!==null&&(n[l]=null,n[a]=null,n[o]=null,r(f(void 0,!0))),n[c]=!0}),e.on(`readable`,m.bind(null,n)),n}})),Up=s(((e,t)=>{t.exports=function(){throw Error(`Readable.from is not available in the browser`)}})),Wp=s(((e,t)=>{t.exports=E;var n;E.ReadableState=T,Ep().EventEmitter;var r=function(e,t){return e.listeners(t).length},i=Op(),a=jp().Buffer,o=global.Uint8Array||function(){};function s(e){return a.from(e)}function c(e){return a.isBuffer(e)||e instanceof o}var l=Ep(),u=l&&l.debuglog?l.debuglog(`stream`):function(){},d=Mp(),f=Np(),p=Fp().getHighWaterMark,m=Pp().codes,h=m.ERR_INVALID_ARG_TYPE,g=m.ERR_STREAM_PUSH_AFTER_EOF,_=m.ERR_METHOD_NOT_IMPLEMENTED,v=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,y,b,x;Dp()(E,i);var S=f.errorOrDestroy,C=[`error`,`close`,`destroy`,`pause`,`resume`];function w(e,t,n){if(typeof e.prependListener==`function`)return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function T(e,t,r){n||=Rp(),e||={},typeof r!=`boolean`&&(r=t instanceof n),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=p(this,e,`readableHighWaterMark`,r),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||`utf8`,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(y||=Bp().StringDecoder,this.decoder=new y(e.encoding),this.encoding=e.encoding)}function E(e){if(n||=Rp(),!(this instanceof E))return new E(e);var t=this instanceof n;this._readableState=new T(e,this,t),this.readable=!0,e&&(typeof e.read==`function`&&(this._read=e.read),typeof e.destroy==`function`&&(this._destroy=e.destroy)),i.call(this)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e==`string`&&(t||=n.defaultEncoding,t!==n.encoding&&(e=a.from(e,t),t=``),r=!0),D(this,e,t,!1,r)},E.prototype.unshift=function(e){return D(this,e,null,!0,!1)};function D(e,t,n,r,i){u(`readableAddChunk`,t);var o=e._readableState;if(t===null)o.reading=!1,ee(e,o);else{var c;if(i||(c=k(o,t)),c)S(e,c);else if(o.objectMode||t&&t.length>0)if(typeof t!=`string`&&!o.objectMode&&Object.getPrototypeOf(t)!==a.prototype&&(t=s(t)),r)o.endEmitted?S(e,new v):O(e,o,t,!0);else if(o.ended)S(e,new g);else if(o.destroyed)return!1;else o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||t.length!==0?O(e,o,t,!1):F(e,o)):O(e,o,t,!1);else r||(o.reading=!1,F(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function O(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit(`data`,n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&N(e)),F(e,t)}function k(e,t){var n;return!c(t)&&typeof t!=`string`&&t!==void 0&&!e.objectMode&&(n=new h(`chunk`,[`string`,`Buffer`,`Uint8Array`],t)),n}E.prototype.isPaused=function(){return this._readableState.flowing===!1},E.prototype.setEncoding=function(e){y||=Bp().StringDecoder;var t=new y(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r=``;n!==null;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),r!==``&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var A=1073741824;function j(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function M(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e===e?(e>t.highWaterMark&&(t.highWaterMark=j(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)):t.flowing&&t.length?t.buffer.head.data.length:t.length}E.prototype.read=function(e){u(`read`,e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark===0?t.length>0:t.length>=t.highWaterMark)||t.ended))return u(`read: emitReadable`,t.length,t.ended),t.length===0&&t.ended?ie(this):N(this),null;if(e=M(e,t),e===0&&t.ended)return t.length===0&&ie(this),null;var r=t.needReadable;u(`need readable`,r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,u(`length less than watermark`,r)),t.ended||t.reading?(r=!1,u(`reading or ended`,r)):r&&(u(`do read`),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(n,t)));var i=e>0?re(e,t):null;return i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&ie(this)),i!==null&&this.emit(`data`,i),i};function ee(e,t){if(u(`onEofChunk`),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?N(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}}function N(e){var t=e._readableState;u(`emitReadable`,t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u(`emitReadable`,t.flowing),t.emittedReadable=!0,process.nextTick(P,e))}function P(e){var t=e._readableState;u(`emitReadable_`,t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit(`readable`),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ne(e)}function F(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var n=t.length;if(u(`maybeReadMore read 0`),e.read(0),n===t.length)break}t.readingMore=!1}E.prototype._read=function(e){S(this,new _(`_read()`))},E.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,u(`pipe count=%d opts=%j`,i.pipesCount,t);var a=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr?s:g;i.endEmitted?process.nextTick(a):n.once(`end`,a),e.on(`unpipe`,o);function o(e,t){u(`onunpipe`),e===n&&t&&t.hasUnpiped===!1&&(t.hasUnpiped=!0,d())}function s(){u(`onend`),e.end()}var c=L(n);e.on(`drain`,c);var l=!1;function d(){u(`cleanup`),e.removeListener(`close`,m),e.removeListener(`finish`,h),e.removeListener(`drain`,c),e.removeListener(`error`,p),e.removeListener(`unpipe`,o),n.removeListener(`end`,s),n.removeListener(`end`,g),n.removeListener(`data`,f),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}n.on(`data`,f);function f(t){u(`ondata`);var r=e.write(t);u(`dest.write`,r),r===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&oe(i.pipes,e)!==-1)&&!l&&(u(`false write response, pause`,i.awaitDrain),i.awaitDrain++),n.pause())}function p(t){u(`onerror`,t),g(),e.removeListener(`error`,p),r(e,`error`)===0&&S(e,t)}w(e,`error`,p);function m(){e.removeListener(`finish`,h),g()}e.once(`close`,m);function h(){u(`onfinish`),e.removeListener(`close`,m),g()}e.once(`finish`,h);function g(){u(`unpipe`),n.unpipe(e)}return e.emit(`pipe`,n),i.flowing||(u(`pipe resume`),n.resume()),e};function L(e){return function(){var t=e._readableState;u(`pipeOnDrain`,t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&r(e,`data`)&&(t.flowing=!0,ne(e))}}E.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||=t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(`unpipe`,this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit(`unpipe`,this,{hasUnpiped:!1});return this}var o=oe(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),--t.pipesCount,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(`unpipe`,this,n),this)},E.prototype.on=function(e,t){var n=i.prototype.on.call(this,e,t),r=this._readableState;return e===`data`?(r.readableListening=this.listenerCount(`readable`)>0,r.flowing!==!1&&this.resume()):e===`readable`&&!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u(`on readable`,r.length,r.reading),r.length?N(this):r.reading||process.nextTick(z,this)),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var n=i.prototype.removeListener.call(this,e,t);return e===`readable`&&process.nextTick(R,this),n},E.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return(e===`readable`||e===void 0)&&process.nextTick(R,this),t};function R(e){var t=e._readableState;t.readableListening=e.listenerCount(`readable`)>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(`data`)>0&&e.resume()}function z(e){u(`readable nexttick read 0`),e.read(0)}E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u(`resume`),e.flowing=!e.readableListening,B(this,e)),e.paused=!1,this};function B(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(te,e,t))}function te(e,t){u(`resume`,t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(`resume`),ne(e),t.flowing&&!t.reading&&e.read(0)}E.prototype.pause=function(){return u(`call pause flowing=%j`,this._readableState.flowing),this._readableState.flowing!==!1&&(u(`pause`),this._readableState.flowing=!1,this.emit(`pause`)),this._readableState.paused=!0,this};function ne(e){var t=e._readableState;for(u(`flow`,t.flowing);t.flowing&&e.read()!==null;);}E.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on(`end`,function(){if(u(`wrapped end`),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on(`data`,function(i){u(`wrapped data`),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&(!n.objectMode&&(!i||!i.length)||t.push(i)||(r=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]==`function`&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<C.length;a++)e.on(C[a],this.emit.bind(this,C[a]));return this._read=function(t){u(`wrapped _read`,t),r&&(r=!1,e.resume())},this},typeof Symbol==`function`&&(E.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=Hp()),b(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=re,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function re(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(``):t.buffer.length===1?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function ie(e){var t=e._readableState;u(`endReadable`,t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(ae,t,e))}function ae(e,t){if(u(`endReadableNT`,e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(`end`),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}typeof Symbol==`function`&&(E.from=function(e,t){return x===void 0&&(x=Up()),x(E,e,t)});function oe(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}})),Gp=s(((e,t)=>{t.exports=l;var n=Pp().codes,r=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=n.ERR_TRANSFORM_WITH_LENGTH_0,s=Rp();Dp()(l,s);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(r===null)return this.emit(`error`,new i);n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);s.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform==`function`&&(this._transform=e.transform),typeof e.flush==`function`&&(this._flush=e.flush)),this.on(`prefinish`,u)}function u(){var e=this;typeof this._flush==`function`&&!this._readableState.destroyed?this._flush(function(t,n){d(e,t,n)}):d(this,null,null)}l.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new r(`_transform()`))},l.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},l.prototype._destroy=function(e,t){s.prototype._destroy.call(this,e,function(e){t(e)})};function d(e,t,n){if(t)return e.emit(`error`,t);if(n!=null&&e.push(n),e._writableState.length)throw new o;if(e._transformState.transforming)throw new a;return e.push(null)}})),Kp=s(((e,t)=>{t.exports=r;var n=Gp();Dp()(r,n);function r(e){if(!(this instanceof r))return new r(e);n.call(this,e)}r.prototype._transform=function(e,t,n){n(null,e)}})),qp=s(((e,t)=>{var n;function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i=Pp().codes,a=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function c(e){return e.setHeader&&typeof e.abort==`function`}function l(e,t,i,a){a=r(a);var s=!1;e.on(`close`,function(){s=!0}),n===void 0&&(n=Vp()),n(e,{readable:t,writable:i},function(e){if(e)return a(e);s=!0,a()});var l=!1;return function(t){if(!s&&!l){if(l=!0,c(e))return e.abort();if(typeof e.destroy==`function`)return e.destroy();a(t||new o(`pipe`))}}}function u(e){e()}function d(e,t){return e.pipe(t)}function f(e){return!e.length||typeof e[e.length-1]!=`function`?s:e.pop()}function p(){var e=[...arguments],t=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new a(`streams`);var n,r=e.map(function(i,a){var o=a<e.length-1;return l(i,o,a>0,function(e){n||=e,e&&r.forEach(u),!o&&(r.forEach(u),t(n))})});return e.reduce(d)}t.exports=p})),Jp=s(((e,t)=>{t.exports=r;var n=Ep().EventEmitter;Dp()(r,n),r.Readable=Wp(),r.Writable=Lp(),r.Duplex=Rp(),r.Transform=Gp(),r.PassThrough=Kp(),r.finished=Vp(),r.pipeline=qp(),r.Stream=r;function r(){n.call(this)}r.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}r.on(`data`,i);function a(){r.readable&&r.resume&&r.resume()}e.on(`drain`,a),!e._isStdio&&(!t||t.end!==!1)&&(r.on(`end`,s),r.on(`close`,c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,typeof e.destroy==`function`&&e.destroy())}function l(e){if(u(),n.listenerCount(this,`error`)===0)throw e}r.on(`error`,l),e.on(`error`,l);function u(){r.removeListener(`data`,i),e.removeListener(`drain`,a),r.removeListener(`end`,s),r.removeListener(`close`,c),r.removeListener(`error`,l),e.removeListener(`error`,l),r.removeListener(`end`,u),r.removeListener(`close`,u),e.removeListener(`close`,u)}return r.on(`end`,u),r.on(`close`,u),e.on(`close`,u),e.emit(`pipe`,r),e}})),Yp=s((e=>{(function(e){e.parser=function(e,t){return new n(e,t)},e.SAXParser=n,e.SAXStream=l,e.createStream=c,e.MAX_BUFFER_LENGTH=64*1024;var t=[`comment`,`sgmlDecl`,`textNode`,`tagName`,`doctype`,`procInstName`,`procInstBody`,`entity`,`attribName`,`attribValue`,`cdata`,`script`];e.EVENTS=[`text`,`processinginstruction`,`sgmldeclaration`,`doctype`,`comment`,`opentagstart`,`attribute`,`opentag`,`closetag`,`opencdata`,`cdata`,`closecdata`,`error`,`end`,`ready`,`script`,`opennamespace`,`closenamespace`];function n(t,r){if(!(this instanceof n))return new n(t,r);var a=this;i(a),a.q=a.c=``,a.bufferCheckPosition=e.MAX_BUFFER_LENGTH,a.opt=r||{},a.opt.lowercase=a.opt.lowercase||a.opt.lowercasetags,a.looseCase=a.opt.lowercase?`toLowerCase`:`toUpperCase`,a.tags=[],a.closed=a.closedRoot=a.sawRoot=!1,a.tag=a.error=null,a.strict=!!t,a.noscript=!!(t||a.opt.noscript),a.state=w.BEGIN,a.strictEntities=a.opt.strictEntities,a.ENTITIES=a.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),a.attribList=[],a.opt.xmlns&&(a.ns=Object.create(m)),a.trackPosition=a.opt.position!==!1,a.trackPosition&&(a.position=a.line=a.column=0),E(a,`onready`)}Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t});function r(n){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,a=0,o=t.length;a<o;a++){var s=n[t[a]].length;if(s>r)switch(t[a]){case`textNode`:O(n);break;case`cdata`:D(n,`oncdata`,n.cdata),n.cdata=``;break;case`script`:D(n,`onscript`,n.script),n.script=``;break;default:A(n,`Max buffer length exceeded: `+t[a])}i=Math.max(i,s)}n.bufferCheckPosition=e.MAX_BUFFER_LENGTH-i+n.position}function i(e){for(var n=0,r=t.length;n<r;n++)e[t[n]]=``}function a(e){O(e),e.cdata!==``&&(D(e,`oncdata`,e.cdata),e.cdata=``),e.script!==``&&(D(e,`onscript`,e.script),e.script=``)}n.prototype={end:function(){j(this)},write:B,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};var o;try{o=Jp().Stream}catch{o=function(){}}var s=e.EVENTS.filter(function(e){return e!==`error`&&e!==`end`});function c(e,t){return new l(e,t)}function l(e,t){if(!(this instanceof l))return new l(e,t);o.apply(this),this._parser=new n(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,s.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})})}l.prototype=Object.create(o.prototype,{constructor:{value:l}}),l.prototype.write=function(e){if(typeof Buffer==`function`&&typeof Buffer.isBuffer==`function`&&Buffer.isBuffer(e)){if(!this._decoder){var t=Bp().StringDecoder;this._decoder=new t(`utf8`)}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit(`data`,e),!0},l.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},l.prototype.on=function(e,t){var n=this;return!n._parser[`on`+e]&&s.indexOf(e)!==-1&&(n._parser[`on`+e]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),o.prototype.on.call(n,e,t)};var u=`[CDATA[`,d=`DOCTYPE`,f=`http://www.w3.org/XML/1998/namespace`,p=`http://www.w3.org/2000/xmlns/`,m={xml:f,xmlns:p},h=/[:_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]/,g=/[:_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-]/,_=/[#:_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]/,v=/[#:_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 y(e){return e===` `||e===`
|
|
8
|
+
`||e===`\r`||e===` `}function b(e){return e===`"`||e===`'`}function x(e){return e===`>`||y(e)}function S(e,t){return e.test(t)}function C(e,t){return!S(e,t)}var w=0;for(var T in e.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},e.XML_ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},e.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(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],r=typeof n==`number`?String.fromCharCode(n):n;e.ENTITIES[t]=r}),e.STATE)e.STATE[e.STATE[T]]=T;w=e.STATE;function E(e,t,n){e[t]&&e[t](n)}function D(e,t,n){e.textNode&&O(e),E(e,t,n)}function O(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 A(e,t){return O(e),e.trackPosition&&(t+=`
|
|
9
|
+
Line: `+e.line+`
|
|
10
|
+
Column: `+e.column+`
|
|
11
|
+
Char: `+e.c),t=Error(t),e.error=t,E(e,`onerror`,t),e}function j(e){return e.sawRoot&&!e.closedRoot&&M(e,`Unclosed root tag`),e.state!==w.BEGIN&&e.state!==w.BEGIN_WHITESPACE&&e.state!==w.TEXT&&A(e,`Unexpected end`),O(e),e.c=``,e.closed=!0,E(e,`onend`),n.call(e,e.strict,e.opt),e}function M(e,t){if(typeof e!=`object`||!(e instanceof n))throw Error(`bad call to strictFail`);e.strict&&A(e,t)}function ee(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,D(e,`onopentagstart`,n)}function N(e,t){var n=e.indexOf(`:`)<0?[``,e]:e.split(`:`),r=n[0],i=n[1];return t&&e===`xmlns`&&(r=`xmlns`,i=``),{prefix:r,local:i}}function P(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue=``;return}if(e.opt.xmlns){var t=N(e.attribName,!0),n=t.prefix,r=t.local;if(n===`xmlns`)if(r===`xml`&&e.attribValue!==f)M(e,`xml: prefix must be bound to `+f+`
|
|
12
|
+
Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==p)M(e,`xmlns: prefix must be bound to `+p+`
|
|
13
|
+
Actual: `+e.attribValue);else{var i=e.tag,a=e.tags[e.tags.length-1]||e;i.ns===a.ns&&(i.ns=Object.create(a.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,D(e,`onattribute`,{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=``}function F(e,t){if(e.opt.xmlns){var n=e.tag,r=N(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||``,n.prefix&&!n.uri&&(M(e,`Unbound namespace prefix: `+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){D(e,`onopennamespace`,{prefix:t,uri:n.ns[t]})});for(var a=0,o=e.attribList.length;a<o;a++){var s=e.attribList[a],c=s[0],l=s[1],u=N(c,!0),d=u.prefix,f=u.local,p=d===``?``:n.ns[d]||``,m={name:c,value:l,prefix:d,local:f,uri:p};d&&d!==`xmlns`&&!p&&(M(e,`Unbound namespace prefix: `+JSON.stringify(d)),m.uri=d),e.tag.attributes[c]=m,D(e,`onattribute`,m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),D(e,`onopentag`,e.tag),t||(!e.noscript&&e.tagName.toLowerCase()===`script`?e.state=w.SCRIPT:e.state=w.TEXT,e.tag=null,e.tagName=``),e.attribName=e.attribValue=``,e.attribList.length=0}function I(e){if(!e.tagName){M(e,`Weird empty close tag.`),e.textNode+=`</>`,e.state=w.TEXT;return}if(e.script){if(e.tagName!==`script`){e.script+=`</`+e.tagName+`>`,e.tagName=``,e.state=w.SCRIPT;return}D(e,`onscript`,e.script),e.script=``}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)M(e,`Unexpected close tag`);if(t<0){M(e,`Unmatched closing tag: `+e.tagName),e.textNode+=`</`+e.tagName+`>`,e.state=w.TEXT;return}e.tagName=n;for(var i=e.tags.length;i-- >t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,D(e,`onclosetag`,e.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&Object.keys(a.ns).forEach(function(t){var n=a.ns[t];D(e,`onclosenamespace`,{prefix:t,uri:n})})}t===0&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName=``,e.attribList.length=0,e.state=w.TEXT}function L(e){var t=e.entity,n=t.toLowerCase(),r,i=``;return e.ENTITIES[t]?e.ENTITIES[t]:e.ENTITIES[n]?e.ENTITIES[n]:(t=n,t.charAt(0)===`#`&&(t.charAt(1)===`x`?(t=t.slice(2),r=parseInt(t,16),i=r.toString(16)):(t=t.slice(1),r=parseInt(t,10),i=r.toString(10))),t=t.replace(/^0+/,``),isNaN(r)||i.toLowerCase()!==t?(M(e,`Invalid character entity`),`&`+e.entity+`;`):String.fromCodePoint(r))}function R(e,t){t===`<`?(e.state=w.OPEN_WAKA,e.startTagPosition=e.position):y(t)||(M(e,`Non-whitespace before first tag.`),e.textNode=t,e.state=w.TEXT)}function z(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function B(e){var t=this;if(this.error)throw this.error;if(t.closed)return A(t,`Cannot write after close. Assign an onready handler.`);if(e===null)return j(t);typeof e==`object`&&(e=e.toString());for(var n=0,i=``;i=z(e,n++),t.c=i,i;)switch(t.trackPosition&&(t.position++,i===`
|
|
14
|
+
`?(t.line++,t.column=0):t.column++),t.state){case w.BEGIN:if(t.state=w.BEGIN_WHITESPACE,i===``)continue;R(t,i);continue;case w.BEGIN_WHITESPACE:R(t,i);continue;case w.TEXT:if(t.sawRoot&&!t.closedRoot){for(var a=n-1;i&&i!==`<`&&i!==`&`;)i=z(e,n++),i&&t.trackPosition&&(t.position++,i===`
|
|
15
|
+
`?(t.line++,t.column=0):t.column++);t.textNode+=e.substring(a,n-1)}i===`<`&&!(t.sawRoot&&t.closedRoot&&!t.strict)?(t.state=w.OPEN_WAKA,t.startTagPosition=t.position):(!y(i)&&(!t.sawRoot||t.closedRoot)&&M(t,`Text data outside of root node.`),i===`&`?t.state=w.TEXT_ENTITY:t.textNode+=i);continue;case w.SCRIPT:i===`<`?t.state=w.SCRIPT_ENDING:t.script+=i;continue;case w.SCRIPT_ENDING:i===`/`?t.state=w.CLOSE_TAG:(t.script+=`<`+i,t.state=w.SCRIPT);continue;case w.OPEN_WAKA:if(i===`!`)t.state=w.SGML_DECL,t.sgmlDecl=``;else if(!y(i))if(S(h,i))t.state=w.OPEN_TAG,t.tagName=i;else if(i===`/`)t.state=w.CLOSE_TAG,t.tagName=``;else if(i===`?`)t.state=w.PROC_INST,t.procInstName=t.procInstBody=``;else{if(M(t,`Unencoded <`),t.startTagPosition+1<t.position){var o=t.position-t.startTagPosition;i=Array(o).join(` `)+i}t.textNode+=`<`+i,t.state=w.TEXT}continue;case w.SGML_DECL:(t.sgmlDecl+i).toUpperCase()===u?(D(t,`onopencdata`),t.state=w.CDATA,t.sgmlDecl=``,t.cdata=``):t.sgmlDecl+i===`--`?(t.state=w.COMMENT,t.comment=``,t.sgmlDecl=``):(t.sgmlDecl+i).toUpperCase()===d?(t.state=w.DOCTYPE,(t.doctype||t.sawRoot)&&M(t,`Inappropriately located doctype declaration`),t.doctype=``,t.sgmlDecl=``):i===`>`?(D(t,`onsgmldeclaration`,t.sgmlDecl),t.sgmlDecl=``,t.state=w.TEXT):(b(i)&&(t.state=w.SGML_DECL_QUOTED),t.sgmlDecl+=i);continue;case w.SGML_DECL_QUOTED:i===t.q&&(t.state=w.SGML_DECL,t.q=``),t.sgmlDecl+=i;continue;case w.DOCTYPE:i===`>`?(t.state=w.TEXT,D(t,`ondoctype`,t.doctype),t.doctype=!0):(t.doctype+=i,i===`[`?t.state=w.DOCTYPE_DTD:b(i)&&(t.state=w.DOCTYPE_QUOTED,t.q=i));continue;case w.DOCTYPE_QUOTED:t.doctype+=i,i===t.q&&(t.q=``,t.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:t.doctype+=i,i===`]`?t.state=w.DOCTYPE:b(i)&&(t.state=w.DOCTYPE_DTD_QUOTED,t.q=i);continue;case w.DOCTYPE_DTD_QUOTED:t.doctype+=i,i===t.q&&(t.state=w.DOCTYPE_DTD,t.q=``);continue;case w.COMMENT:i===`-`?t.state=w.COMMENT_ENDING:t.comment+=i;continue;case w.COMMENT_ENDING:i===`-`?(t.state=w.COMMENT_ENDED,t.comment=k(t.opt,t.comment),t.comment&&D(t,`oncomment`,t.comment),t.comment=``):(t.comment+=`-`+i,t.state=w.COMMENT);continue;case w.COMMENT_ENDED:i===`>`?t.state=w.TEXT:(M(t,`Malformed comment`),t.comment+=`--`+i,t.state=w.COMMENT);continue;case w.CDATA:i===`]`?t.state=w.CDATA_ENDING:t.cdata+=i;continue;case w.CDATA_ENDING:i===`]`?t.state=w.CDATA_ENDING_2:(t.cdata+=`]`+i,t.state=w.CDATA);continue;case w.CDATA_ENDING_2:i===`>`?(t.cdata&&D(t,`oncdata`,t.cdata),D(t,`onclosecdata`),t.cdata=``,t.state=w.TEXT):i===`]`?t.cdata+=`]`:(t.cdata+=`]]`+i,t.state=w.CDATA);continue;case w.PROC_INST:i===`?`?t.state=w.PROC_INST_ENDING:y(i)?t.state=w.PROC_INST_BODY:t.procInstName+=i;continue;case w.PROC_INST_BODY:if(!t.procInstBody&&y(i))continue;i===`?`?t.state=w.PROC_INST_ENDING:t.procInstBody+=i;continue;case w.PROC_INST_ENDING:i===`>`?(D(t,`onprocessinginstruction`,{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody=``,t.state=w.TEXT):(t.procInstBody+=`?`+i,t.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:S(g,i)?t.tagName+=i:(ee(t),i===`>`?F(t):i===`/`?t.state=w.OPEN_TAG_SLASH:(y(i)||M(t,`Invalid character in tag name`),t.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:i===`>`?(F(t,!0),I(t)):(M(t,`Forward-slash in opening tag not followed by >`),t.state=w.ATTRIB);continue;case w.ATTRIB:if(y(i))continue;i===`>`?F(t):i===`/`?t.state=w.OPEN_TAG_SLASH:S(h,i)?(t.attribName=i,t.attribValue=``,t.state=w.ATTRIB_NAME):M(t,`Invalid attribute name`);continue;case w.ATTRIB_NAME:i===`=`?t.state=w.ATTRIB_VALUE:i===`>`?(M(t,`Attribute without value`),t.attribValue=t.attribName,P(t),F(t)):y(i)?t.state=w.ATTRIB_NAME_SAW_WHITE:S(g,i)?t.attribName+=i:M(t,`Invalid attribute name`);continue;case w.ATTRIB_NAME_SAW_WHITE:if(i===`=`)t.state=w.ATTRIB_VALUE;else if(y(i))continue;else M(t,`Attribute without value`),t.tag.attributes[t.attribName]=``,t.attribValue=``,D(t,`onattribute`,{name:t.attribName,value:``}),t.attribName=``,i===`>`?F(t):S(h,i)?(t.attribName=i,t.state=w.ATTRIB_NAME):(M(t,`Invalid attribute name`),t.state=w.ATTRIB);continue;case w.ATTRIB_VALUE:if(y(i))continue;b(i)?(t.q=i,t.state=w.ATTRIB_VALUE_QUOTED):(M(t,`Unquoted attribute value`),t.state=w.ATTRIB_VALUE_UNQUOTED,t.attribValue=i);continue;case w.ATTRIB_VALUE_QUOTED:if(i!==t.q){i===`&`?t.state=w.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=i;continue}P(t),t.q=``,t.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:y(i)?t.state=w.ATTRIB:i===`>`?F(t):i===`/`?t.state=w.OPEN_TAG_SLASH:S(h,i)?(M(t,`No whitespace between attributes`),t.attribName=i,t.attribValue=``,t.state=w.ATTRIB_NAME):M(t,`Invalid attribute name`);continue;case w.ATTRIB_VALUE_UNQUOTED:if(!x(i)){i===`&`?t.state=w.ATTRIB_VALUE_ENTITY_U:t.attribValue+=i;continue}P(t),i===`>`?F(t):t.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(t.tagName)i===`>`?I(t):S(g,i)?t.tagName+=i:t.script?(t.script+=`</`+t.tagName,t.tagName=``,t.state=w.SCRIPT):(y(i)||M(t,`Invalid tagname in closing tag`),t.state=w.CLOSE_TAG_SAW_WHITE);else{if(y(i))continue;C(h,i)?t.script?(t.script+=`</`+i,t.state=w.SCRIPT):M(t,`Invalid tagname in closing tag.`):t.tagName=i}continue;case w.CLOSE_TAG_SAW_WHITE:if(y(i))continue;i===`>`?I(t):M(t,`Invalid characters in closing tag`);continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:var s,c;switch(t.state){case w.TEXT_ENTITY:s=w.TEXT,c=`textNode`;break;case w.ATTRIB_VALUE_ENTITY_Q:s=w.ATTRIB_VALUE_QUOTED,c=`attribValue`;break;case w.ATTRIB_VALUE_ENTITY_U:s=w.ATTRIB_VALUE_UNQUOTED,c=`attribValue`;break}i===`;`?(t[c]+=L(t),t.entity=``,t.state=s):S(t.entity.length?v:_,i)?t.entity+=i:(M(t,`Invalid character in entity name`),t[c]+=`&`+t.entity+i,t.entity=``,t.state=s);continue;default:throw Error(t,`Unknown state: `+t.state)}return t.position>=t.bufferCheckPosition&&r(t),t}String.fromCodePoint||(function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n=16384,r=[],i,a,o=-1,s=arguments.length;if(!s)return``;for(var c=``;++o<s;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l)throw RangeError(`Invalid code point: `+l);l<=65535?r.push(l):(l-=65536,i=(l>>10)+55296,a=l%1024+56320,r.push(i,a)),(o+1===s||r.length>n)&&(c+=e.apply(null,r),r.length=0)}return c};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})()})(e===void 0?e.sax={}:e)})),Xp=s(((e,t)=>{t.exports={isArray:function(e){return Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`}}})),Zp=s(((e,t)=>{var n=Xp().isArray;t.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){(!(e in t)||typeof t[e]!=`boolean`)&&(t[e]=!1)},ensureSpacesExists:function(e){(!(`spaces`in e)||typeof e.spaces!=`number`&&typeof e.spaces!=`string`)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!(`alwaysArray`in e)||typeof e.alwaysArray!=`boolean`&&!n(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+`Key`in t)||typeof t[e+`Key`]!=`string`)&&(t[e+`Key`]=t.compact?`_`+e:e)},checkFnExists:function(e,t){return e+`Fn`in t}}})),Qp=s(((e,t)=>{var n=Yp(),r={on:function(){},parse:function(){}},i=Zp(),a=Xp().isArray,o,s=!0,c;function l(e){return o=i.copyOptions(e),i.ensureFlagExists(`ignoreDeclaration`,o),i.ensureFlagExists(`ignoreInstruction`,o),i.ensureFlagExists(`ignoreAttributes`,o),i.ensureFlagExists(`ignoreText`,o),i.ensureFlagExists(`ignoreComment`,o),i.ensureFlagExists(`ignoreCdata`,o),i.ensureFlagExists(`ignoreDoctype`,o),i.ensureFlagExists(`compact`,o),i.ensureFlagExists(`alwaysChildren`,o),i.ensureFlagExists(`addParent`,o),i.ensureFlagExists(`trim`,o),i.ensureFlagExists(`nativeType`,o),i.ensureFlagExists(`nativeTypeAttributes`,o),i.ensureFlagExists(`sanitize`,o),i.ensureFlagExists(`instructionHasAttributes`,o),i.ensureFlagExists(`captureSpacesBetweenElements`,o),i.ensureAlwaysArrayExists(o),i.ensureKeyExists(`declaration`,o),i.ensureKeyExists(`instruction`,o),i.ensureKeyExists(`attributes`,o),i.ensureKeyExists(`text`,o),i.ensureKeyExists(`comment`,o),i.ensureKeyExists(`cdata`,o),i.ensureKeyExists(`doctype`,o),i.ensureKeyExists(`type`,o),i.ensureKeyExists(`name`,o),i.ensureKeyExists(`elements`,o),i.ensureKeyExists(`parent`,o),i.checkFnExists(`doctype`,o),i.checkFnExists(`instruction`,o),i.checkFnExists(`cdata`,o),i.checkFnExists(`comment`,o),i.checkFnExists(`text`,o),i.checkFnExists(`instructionName`,o),i.checkFnExists(`elementName`,o),i.checkFnExists(`attributeName`,o),i.checkFnExists(`attributeValue`,o),i.checkFnExists(`attributes`,o),o}function u(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return n===`true`?!0:n===`false`?!1:e}function d(e,t){var n;if(o.compact){if(!c[o[e+`Key`]]&&(a(o.alwaysArray)?o.alwaysArray.indexOf(o[e+`Key`])!==-1:o.alwaysArray)&&(c[o[e+`Key`]]=[]),c[o[e+`Key`]]&&!a(c[o[e+`Key`]])&&(c[o[e+`Key`]]=[c[o[e+`Key`]]]),e+`Fn`in o&&typeof t==`string`&&(t=o[e+`Fn`](t,c)),e===`instruction`&&(`instructionFn`in o||`instructionNameFn`in o)){for(n in t)if(t.hasOwnProperty(n))if(`instructionFn`in o)t[n]=o.instructionFn(t[n],n,c);else{var r=t[n];delete t[n],t[o.instructionNameFn(n,r,c)]=r}}a(c[o[e+`Key`]])?c[o[e+`Key`]].push(t):c[o[e+`Key`]]=t}else{c[o.elementsKey]||(c[o.elementsKey]=[]);var i={};if(i[o.typeKey]=e,e===`instruction`){for(n in t)if(t.hasOwnProperty(n))break;i[o.nameKey]=`instructionNameFn`in o?o.instructionNameFn(n,t,c):n,o.instructionHasAttributes?(i[o.attributesKey]=t[n][o.attributesKey],`instructionFn`in o&&(i[o.attributesKey]=o.instructionFn(i[o.attributesKey],n,c))):(`instructionFn`in o&&(t[n]=o.instructionFn(t[n],n,c)),i[o.instructionKey]=t[n])}else e+`Fn`in o&&(t=o[e+`Fn`](t,c)),i[o[e+`Key`]]=t;o.addParent&&(i[o.parentKey]=c),c[o.elementsKey].push(i)}}function f(e){if(`attributesFn`in o&&e&&(e=o.attributesFn(e,c)),(o.trim||`attributeValueFn`in o||`attributeNameFn`in o||o.nativeTypeAttributes)&&e){for(var t in e)if(e.hasOwnProperty(t)&&(o.trim&&(e[t]=e[t].trim()),o.nativeTypeAttributes&&(e[t]=u(e[t])),`attributeValueFn`in o&&(e[t]=o.attributeValueFn(e[t],t,c)),`attributeNameFn`in o)){var n=e[t];delete e[t],e[o.attributeNameFn(t,e[t],c)]=n}}return e}function p(e){var t={};if(e.body&&(e.name.toLowerCase()===`xml`||o.instructionHasAttributes)){for(var n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,r;(r=n.exec(e.body))!==null;)t[r[1]]=r[2]||r[3]||r[4];t=f(t)}if(e.name.toLowerCase()===`xml`){if(o.ignoreDeclaration)return;c[o.declarationKey]={},Object.keys(t).length&&(c[o.declarationKey][o.attributesKey]=t),o.addParent&&(c[o.declarationKey][o.parentKey]=c)}else{if(o.ignoreInstruction)return;o.trim&&(e.body=e.body.trim());var i={};o.instructionHasAttributes&&Object.keys(t).length?(i[e.name]={},i[e.name][o.attributesKey]=t):i[e.name]=e.body,d(`instruction`,i)}}function m(e,t){var n;if(typeof e==`object`&&(t=e.attributes,e=e.name),t=f(t),`elementNameFn`in o&&(e=o.elementNameFn(e,c)),o.compact){if(n={},!o.ignoreAttributes&&t&&Object.keys(t).length)for(var r in n[o.attributesKey]={},t)t.hasOwnProperty(r)&&(n[o.attributesKey][r]=t[r]);!(e in c)&&(a(o.alwaysArray)?o.alwaysArray.indexOf(e)!==-1:o.alwaysArray)&&(c[e]=[]),c[e]&&!a(c[e])&&(c[e]=[c[e]]),a(c[e])?c[e].push(n):c[e]=n}else c[o.elementsKey]||(c[o.elementsKey]=[]),n={},n[o.typeKey]=`element`,n[o.nameKey]=e,!o.ignoreAttributes&&t&&Object.keys(t).length&&(n[o.attributesKey]=t),o.alwaysChildren&&(n[o.elementsKey]=[]),c[o.elementsKey].push(n);n[o.parentKey]=c,c=n}function h(e){o.ignoreText||!e.trim()&&!o.captureSpacesBetweenElements||(o.trim&&(e=e.trim()),o.nativeType&&(e=u(e)),o.sanitize&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)),d(`text`,e))}function g(e){o.ignoreComment||(o.trim&&(e=e.trim()),d(`comment`,e))}function _(e){var t=c[o.parentKey];o.addParent||delete c[o.parentKey],c=t}function v(e){o.ignoreCdata||(o.trim&&(e=e.trim()),d(`cdata`,e))}function y(e){o.ignoreDoctype||(e=e.replace(/^ /,``),o.trim&&(e=e.trim()),d(`doctype`,e))}function b(e){e.note=e}t.exports=function(e,t){var i=s?n.parser(!0,{}):i=new r.Parser(`UTF-8`),a={};if(c=a,o=l(t),s?(i.opt={strictEntities:!0},i.onopentag=m,i.ontext=h,i.oncomment=g,i.onclosetag=_,i.onerror=b,i.oncdata=v,i.ondoctype=y,i.onprocessinginstruction=p):(i.on(`startElement`,m),i.on(`text`,h),i.on(`comment`,g),i.on(`endElement`,_),i.on(`error`,b)),s)i.write(e).close();else if(!i.parse(e))throw Error(`XML parsing error: `+i.getError());if(a[o.elementsKey]){var u=a[o.elementsKey];delete a[o.elementsKey],a[o.elementsKey]=u,delete a.text}return a}})),$p=s(((e,t)=>{var n=Zp(),r=Qp();function i(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}t.exports=function(e,t){var n=i(t),a=r(e,n),o,s=`compact`in n&&n.compact?`_parent`:`parent`;return o=`addParent`in n&&n.addParent?JSON.stringify(a,function(e,t){return e===s?`_`:t},n.spaces):JSON.stringify(a,null,n.spaces),o.replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}})),em=s(((e,t)=>{var n=Zp(),r=Xp().isArray,i,a;function o(e){var t=n.copyOptions(e);return n.ensureFlagExists(`ignoreDeclaration`,t),n.ensureFlagExists(`ignoreInstruction`,t),n.ensureFlagExists(`ignoreAttributes`,t),n.ensureFlagExists(`ignoreText`,t),n.ensureFlagExists(`ignoreComment`,t),n.ensureFlagExists(`ignoreCdata`,t),n.ensureFlagExists(`ignoreDoctype`,t),n.ensureFlagExists(`compact`,t),n.ensureFlagExists(`indentText`,t),n.ensureFlagExists(`indentCdata`,t),n.ensureFlagExists(`indentAttributes`,t),n.ensureFlagExists(`indentInstruction`,t),n.ensureFlagExists(`fullTagEmptyElement`,t),n.ensureFlagExists(`noQuotesForNativeAttributes`,t),n.ensureSpacesExists(t),typeof t.spaces==`number`&&(t.spaces=Array(t.spaces+1).join(` `)),n.ensureKeyExists(`declaration`,t),n.ensureKeyExists(`instruction`,t),n.ensureKeyExists(`attributes`,t),n.ensureKeyExists(`text`,t),n.ensureKeyExists(`comment`,t),n.ensureKeyExists(`cdata`,t),n.ensureKeyExists(`doctype`,t),n.ensureKeyExists(`type`,t),n.ensureKeyExists(`name`,t),n.ensureKeyExists(`elements`,t),n.checkFnExists(`doctype`,t),n.checkFnExists(`instruction`,t),n.checkFnExists(`cdata`,t),n.checkFnExists(`comment`,t),n.checkFnExists(`text`,t),n.checkFnExists(`instructionName`,t),n.checkFnExists(`elementName`,t),n.checkFnExists(`attributeName`,t),n.checkFnExists(`attributeValue`,t),n.checkFnExists(`attributes`,t),n.checkFnExists(`fullTagEmptyElement`,t),t}function s(e,t,n){return(!n&&e.spaces?`
|
|
16
|
+
`:``)+Array(t+1).join(e.spaces)}function c(e,t,n){if(t.ignoreAttributes)return``;`attributesFn`in t&&(e=t.attributesFn(e,a,i));var r,o,c,l,u=[];for(r in e)e.hasOwnProperty(r)&&e[r]!==null&&e[r]!==void 0&&(l=t.noQuotesForNativeAttributes&&typeof e[r]!=`string`?``:`"`,o=``+e[r],o=o.replace(/"/g,`"`),c=`attributeNameFn`in t?t.attributeNameFn(r,o,a,i):r,u.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):` `),u.push(c+`=`+l+(`attributeValueFn`in t?t.attributeValueFn(o,r,a,i):o)+l));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(s(t,n,!1)),u.join(``)}function l(e,t,n){return i=e,a=`xml`,t.ignoreDeclaration?``:`<?xml`+c(e[t.attributesKey],t,n)+`?>`}function u(e,t,n){if(t.ignoreInstruction)return``;for(var r in e)if(e.hasOwnProperty(r))break;var o=`instructionNameFn`in t?t.instructionNameFn(r,e[r],a,i):r;if(typeof e[r]==`object`)return i=e,a=o,`<?`+o+c(e[r][t.attributesKey],t,n)+`?>`;var s=e[r]?e[r]:``;return`instructionFn`in t&&(s=t.instructionFn(s,r,a,i)),`<?`+o+(s?` `+s:``)+`?>`}function d(e,t){return t.ignoreComment?``:`<!--`+(`commentFn`in t?t.commentFn(e,a,i):e)+`-->`}function f(e,t){return t.ignoreCdata?``:`<![CDATA[`+(`cdataFn`in t?t.cdataFn(e,a,i):e.replace(`]]>`,`]]]]><![CDATA[>`))+`]]>`}function p(e,t){return t.ignoreDoctype?``:`<!DOCTYPE `+(`doctypeFn`in t?t.doctypeFn(e,a,i):e)+`>`}function m(e,t){return t.ignoreText?``:(e=``+e,e=e.replace(/&/g,`&`),e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),`textFn`in t?t.textFn(e,a,i):e)}function h(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case`text`:if(t.indentText)return!0;break;case`cdata`:if(t.indentCdata)return!0;break;case`instruction`:if(t.indentInstruction)return!0;break;case`doctype`:case`comment`:case`element`:return!0;default:return!0}return!1}function g(e,t,n){i=e,a=e.name;var r=[],o=`elementNameFn`in t?t.elementNameFn(e.name,e):e.name;r.push(`<`+o),e[t.attributesKey]&&r.push(c(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&e[t.attributesKey][`xml:space`]===`preserve`;return s||=`fullTagEmptyElementFn`in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement,s?(r.push(`>`),e[t.elementsKey]&&e[t.elementsKey].length&&(r.push(_(e[t.elementsKey],t,n+1)),i=e,a=e.name),r.push(t.spaces&&h(e,t)?`
|
|
17
|
+
`+Array(n+1).join(t.spaces):``),r.push(`</`+o+`>`)):r.push(`/>`),r.join(``)}function _(e,t,n,r){return e.reduce(function(e,i){var a=s(t,n,r&&!e);switch(i.type){case`element`:return e+a+g(i,t,n);case`comment`:return e+a+d(i[t.commentKey],t);case`doctype`:return e+a+p(i[t.doctypeKey],t);case`cdata`:return e+(t.indentCdata?a:``)+f(i[t.cdataKey],t);case`text`:return e+(t.indentText?a:``)+m(i[t.textKey],t);case`instruction`:var o={};return o[i[t.nameKey]]=i[t.attributesKey]?i:i[t.instructionKey],e+(t.indentInstruction?a:``)+u(o,t,n)}},``)}function v(e,t,n){for(var r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:return!0;default:return!0}return!1}function y(e,t,n,r,o){i=e,a=t;var l=`elementNameFn`in n?n.elementNameFn(t,e):t;if(e==null||e===``)return`fullTagEmptyElementFn`in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?`<`+l+`></`+l+`>`:`<`+l+`/>`;var u=[];if(t){if(u.push(`<`+l),typeof e!=`object`)return u.push(`>`+m(e,n)+`</`+l+`>`),u.join(``);e[n.attributesKey]&&u.push(c(e[n.attributesKey],n,r));var d=v(e,n,!0)||e[n.attributesKey]&&e[n.attributesKey][`xml:space`]===`preserve`;if(d||=`fullTagEmptyElementFn`in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement,d)u.push(`>`);else return u.push(`/>`),u.join(``)}return u.push(b(e,n,r+1,!1)),i=e,a=t,t&&u.push((o?s(n,r,!1):``)+`</`+l+`>`),u.join(``)}function b(e,t,n,i){var a,o,c,h=[];for(o in e)if(e.hasOwnProperty(o))for(c=r(e[o])?e[o]:[e[o]],a=0;a<c.length;++a){switch(o){case t.declarationKey:h.push(l(c[a],t,n));break;case t.instructionKey:h.push((t.indentInstruction?s(t,n,i):``)+u(c[a],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:h.push((t.indentText?s(t,n,i):``)+m(c[a],t));break;case t.cdataKey:h.push((t.indentCdata?s(t,n,i):``)+f(c[a],t));break;case t.doctypeKey:h.push(s(t,n,i)+p(c[a],t));break;case t.commentKey:h.push(s(t,n,i)+d(c[a],t));break;default:h.push(s(t,n,i)+y(c[a],o,t,n,v(c[a],t)))}i&&=!h.length}return h.join(``)}t.exports=function(e,t){t=o(t);var n=[];return i=e,a=`_root_`,t.compact?n.push(b(e,t,0,!0)):(e[t.declarationKey]&&n.push(l(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(_(e[t.elementsKey],t,0,!n.length))),n.join(``)}})),tm=s(((e,t)=>{var n=em();t.exports=function(e,t){e instanceof Buffer&&(e=e.toString());var r=null;if(typeof e==`string`)try{r=JSON.parse(e)}catch{throw Error(`The JSON structure is invalid`)}else r=e;return n(r,t)}})),nm=s(((e,t)=>{t.exports={xml2js:Qp(),xml2json:$p(),js2xml:em(),json2xml:tm()}})),rm=Tp(),im=u(nm()),am=class{title;creator;date;publisher;description;language;rights;identifier;constructor({title:e,creator:t,date:n,publisher:r,description:i,language:a,rights:o,identifier:s}){this.title=e,this.creator=t,this.date=n,this.publisher=r,this.description=i,this.language=a,this.rights=o,this.identifier=s}set(e,t){this[e]=t}get(e){return this[e]}},om=class{type;title;href;absoluteURL;constructor({type:e,title:t,href:n}){this.type=e,this.title=t,this.href=n,this.absoluteURL=``}},sm=class{id;media;styles;node;constructor({id:e,media:t,styles:n}){this.id=e||`_${di()}`,this.media=t,this.styles=n,this.node=null}writeCss(e){let t=e.createTextNode(this.styles);this.node.appendChild(t)}appendSheet(e){this.node=e.createElement(`style`),this.node.setAttribute(`id`,this.id),this.node.setAttribute(`media`,this.media),this.node.appendChild(e.createTextNode(``)),this.writeCss(e),e.body.appendChild(this.node)}removeSheet(e){e.body.removeChild(this.node)}},cm=class e{id;type;src;inline;body;async;requestURI;elem;constructor({node:t,requestURI:n}){this.id=t.id||`_${di()}`,this.type=t.type||`application/javascript`,this.src=e.getScriptSourceFromNodeValue(t),this.inline=(0,Kr.default)(this.src),this.body=t.childNodes&&t.childNodes.length?(t.childNodes[0].nodeValue??``).trim():``,this.async=!1,this.requestURI=n}static getScriptSourceFromNodeValue(e){let{value:t}=e.attributes.getNamedItem(`src`)||{};return t}appendScript(e){let t=nn(this.requestURI),n=!this.inline&&this.src?rn(t,this.src):null;this.elem=e.createElement(`script`),this.elem.id=this.id,!this.inline&&n&&(this.elem.src=n),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}removeScript(e){e.body.removeChild(this.elem)}},lm=class{id;href;mediaType;properties;idref;linear;absoluteURL;title;slug;depth;children;inTOC;constructor({id:e,href:t,mediaType:n,properties:r,idref:i,linear:a,absoluteURL:o=``,title:s=``,slug:c=``,depth:l=0,children:u=[],inTOC:d=!1}){this.id=e,this.href=t,this.mediaType=n,this.properties=r,this.idref=i,this.linear=a,this.absoluteURL=o,this.title=s,this.slug=c,this.depth=l,this.children=u,this.inTOC=d}set(e,t){this[e]=t}get(e){return this[e]}addChild(e){this.children.push(e)}},um=(e,t,n,r={enumerable:!0})=>(Object.entries(t).forEach(([t,i])=>{let a=(0,Gr.default)(n,t)?n[t]:i;Object.defineProperty(e,t,{value:a,...r})}),e),dm=e=>typeof e==`function`?e():e,fm=class e{static defaults={width:0,height:0,theme:Jr.DEFAULT,transition:qr.SLIDE,transitionSpeed:400,columns:Qr.TWO,fontSize:()=>W.styles().fontSize,columnGap:()=>W.styles().columnGap,paddingLeft:()=>W.styles().paddingLeft,paddingRight:()=>W.styles().paddingRight,paddingTop:()=>W.styles().paddingTop,paddingBottom:()=>W.styles().paddingBottom};settings;constructor(t={}){Object.defineProperty(this,"settings",{value:um({},e.defaults,t,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=()=>window.innerWidth/2-this.columnGap-this.paddingLeft}get width(){return this.settings.width}set width(e){this.settings.width=e}get height(){return this.settings.height}set height(e){this.settings.height=e}get paddingTop(){return dm(this.settings.paddingTop)}set paddingTop(e){this.settings.paddingTop=e}get paddingLeft(){return dm(this.settings.paddingLeft)}set paddingLeft(e){this.settings.paddingLeft=e}get paddingRight(){return dm(this.settings.paddingRight)}set paddingRight(e){this.settings.paddingRight=e}get paddingBottom(){return dm(this.settings.paddingBottom)}set paddingBottom(e){this.settings.paddingBottom=e}get paddingX(){return this.paddingLeft+this.paddingRight}get paddingY(){return this.paddingTop+this.paddingBottom}get columns(){return this.settings.columns}set columns(e){this.settings.columns=e}get columnGap(){return dm(this.settings.columnGap)}set columnGap(e){this.settings.columnGap=e}get columnWidth(){return dm(this.settings.columnWidth)}set columnWidth(e){this.settings.columnWidth=e}get transition(){return this.settings.transition}set transition(e){this.settings.transition=e}get theme(){return this.settings.theme}set theme(e){this.settings.theme=e}get transitionSpeed(){return this.settings.transitionSpeed}set transitionSpeed(e){this.settings.transitionSpeed=e}get fontSize(){return dm(this.settings.fontSize)}set fontSize(e){this.settings.fontSize=e}set padding(e){let[t,n,r,i]=e;Bn(t)&&(this.settings.paddingTop=t),Bn(n)&&(this.settings.paddingRight=n),Bn(r)&&(this.settings.paddingBottom=r),Bn(i)&&(this.settings.paddingLeft=i)}get=(e=``)=>{if(e){if(!(0,Gr.default)(this.settings,e)){console.error(`Attempting to access undefined key %s`,e);return}return this[e]}return{width:this.width,height:this.height,paddingTop:this.paddingTop,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,paddingBottom:this.paddingBottom,columns:this.columns,columnGap:this.columnGap,columnWidth:this.columnWidth,transition:this.transition,transitionSpeed:this.transitionSpeed,theme:this.theme,fontSize:this.fontSize}};put=(e={},t=null)=>{if((0,Fn.default)(e))for(let[t,n]of Object.entries(e))(0,Gr.default)(this.settings,t)&&(this[t]=n);else typeof e==`string`?(0,Gr.default)(this.settings,e)&&(this[e]=t):console.error(`Could not update viewer settings with key: %s val: %s`,e,t)}},pm=`
|
|
18
|
+
.figure__fullbleed figure,
|
|
19
|
+
.spread .spread__content {
|
|
20
|
+
opacity: 1;
|
|
21
|
+
top: 0;
|
|
22
|
+
z-index: 11;
|
|
23
|
+
height: 100vh;
|
|
24
|
+
position: absolute;
|
|
25
|
+
width: 100vw;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
.figure__fullbleed figure .img-wrap img,
|
|
30
|
+
.figure__fullbleed figure .img-wrap video {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
position: absolute;
|
|
33
|
+
object-fit: contain;
|
|
34
|
+
width: 100% !important;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
max-height: 100% !important;
|
|
37
|
+
height: 100%;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
}
|
|
43
|
+
`,mm=`
|
|
44
|
+
.figure__fullbleed figure .spread .spread__content {
|
|
45
|
+
z-index: 11;
|
|
46
|
+
width: 100vw;
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.figure__fullbleed figure .img-wrap img,
|
|
51
|
+
.figure__fullbleed figure .img-wrap video {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
object-fit: contain;
|
|
54
|
+
width: 100% !important;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
max-height: 100% !important;
|
|
57
|
+
height: 100%;
|
|
58
|
+
top: 0;
|
|
59
|
+
left: 0;
|
|
60
|
+
bottom: 0;
|
|
61
|
+
right: 0;
|
|
62
|
+
}
|
|
63
|
+
`,hm={root:null,document:null,styleSheets:[],scripts:[],requestURI:``},gm=class e{static setContextDocument(e){hm.document=e}static setRootDocument(e){hm.root=e}static setRequestURI(e){hm.requestURI=e}static createStyleSheets(){hm.styleSheets=[...hm.styleSheets,new sm({media:ci,styles:pm}),new sm({media:si,styles:mm})]}static appendStyleSheets(){hm.styleSheets.forEach(e=>hm.root.querySelector(`#${e.id}`)===null&&e.appendSheet(hm.root))}static appendScripts(){hm.scripts.forEach(e=>/(?:text|application)\/(?:(x-)?java|ecma)script/.test(e.type)&&e.appendScript(hm.root))}static createScriptElements(){let e=Array.from(hm.document.querySelectorAll(`script`)||[]),{requestURI:t,scripts:n}=hm;return e?(hm.scripts=e.map(e=>new cm({node:e,requestURI:t})),hm.scripts):n}static removeScriptElements(){let e=hm.document.querySelectorAll(`script`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}static getStyleSheetByMediaOrId({id:e,media:t}){if(!e&&!t)return console.warn("DocumentPreProcessor#updateStyleSheet requires either an `id` or a `media` parameter");let n;if(e)n=e;else if(t){let r=(0,Vt.default)(this.styleSheets,{media:t});if(!r)return console.warn("No styleSheet exists for provided `id` or `media`",e,t);n=r.id}let r=hm.root.querySelector(`#${n}`);return r?{styleSheetElement:r,styleSheetId:n}:console.warn("No styleSheet exists for provided `id` or `media`",e,t)}static removeStyleSheet({id:t,media:n}){let{styleSheetElement:r}=e.getStyleSheetByMediaOrId({id:t,media:n});r.parentNode.removeChild(r),hm.styleSheets=[...hm.styleSheets.filter(e=>e.id!==t)]}static removeStyleSheets(){let t;for(;t=hm.styleSheets.pop();)e.removeStyleSheet({id:t.id})}static removeScript({id:e}){let t=hm.root.querySelector(`#${e}`);t&&t.parentNode.removeChild(t),hm.scripts=[...hm.scripts.filter(t=>t.id!==e)]}static removeScripts(){let t;for(;t=hm.scripts.pop();)e.removeScript({id:t.id})}static swapStyleSheet(){}static swapStyleSheets(){}static getStyleSheets(){return hm.styleSheets}static getContextDocument(){return hm.document}static getRootDocument(){return hm.root}static parseXML(t){return e.removeScriptElements(),e.appendStyleSheets(),e.appendScripts(),t&&typeof t==`function`?t(null,hm.document):hm.document}},_m=class e{static 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};settings;fullbleedClassNames;blacklistedClassNames;markerClassNames;markerElement;markerStyles;blackListedNodes;constructor(t={}){gm.getRootDocument()||gm.setRootDocument(document),gm.removeStyleSheets(),gm.removeScripts(),this.settings={...e.defaults,...t},gm.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`])}}classListContainsAll(e,t){return t.some(t=>t.every(t=>e.classList.contains(t)))}classListContainsAny=(e,t)=>t.some(t=>e.classList.contains(t));classListContainsNone(e,t){return t.every(t=>t.every(t=>!e.classList.contains(t)))}shouldParse(e){return e.nodeType===1&&this.blackListedNodes.names.has(e.nodeName.toUpperCase())===!1&&e.classList.contains(this.markerClassNames)===!1&&this.classListContainsNone(e,this.blacklistedClassNames)}isFullbleed(e){return this.classListContainsAll(e,this.fullbleedClassNames)}isMarker(e){return this.classListContainsAll(e,[[this.markerClassNames]])}isMarkerReferenceNode(e){return this.classListContainsAny(e,[`spread__content`])||e.nodeName===`FIGURE`}hasChildren(e){return!!(e&&e.children&&e.children.length)}getLastChild(e){let t=null;for(let n=e.length-1;n>=0;n--)if(t=e[n],this.shouldParse(t))return this.hasChildren(t)?this.getLastChild(t.children):t;return e[e.length-1].parentNode}getSibling(e){if(e===null)return e;let{previousElementSibling:t}=e;return t?this.isFullbleed(t)||!this.shouldParse(t)?this.getSibling(t):this.hasChildren(t)?this.getLastChild(t.children):t:this.getSibling(e.parentNode)}setMarkerStyles(e){Object.entries(this.markerStyles).forEach(([t,n])=>e.style[t]=n)}createMarker(e){let t=document.createTextNode(``),n=document.createElement(this.markerElement);return n.setAttribute(`class`,this.markerClassNames),n.setAttribute(`data-marker`,e),n.setAttribute(`data-unbound`,!1),n.setAttribute(`data-final`,!1),n.appendChild(t),this.setMarkerStyles(n),n}createMarkerId(){return di()}addMarkerReferenceToChild(e,t){for(let n=0;n<e.children.length;n++)this.isMarkerReferenceNode(e.children[n])&&e.children[n].setAttribute(`data-marker-reference-figure`,t)}insertMarkers(e,t){let n=Array.from(e.children).filter(e=>!this.isMarker(e));for(let e=0;e<n.length;e++){let t=n[e],r=this.createMarkerId(),i,a=this.shouldParse(t),o=this.isFullbleed(t);if(a){if(o)if(i=this.getSibling(t),i){let e=this.createMarker(r);i.lastElementChild&&this.isMarker(i.lastElementChild)&&e.setAttribute(`data-adjacent`,!0),i.appendChild(e),t.setAttribute(`data-marker-reference`,r),t.classList.add(`figure__processed`),this.addMarkerReferenceToChild(t,r)}else{let e=this.createMarker(r);e.setAttribute(`data-unbound`,!0),t.parentNode.prepend(e),t.setAttribute(`data-marker-reference`,r),t.classList.add(`figure__processed`),this.addMarkerReferenceToChild(t,r)}t.children&&t.children.length&&this.insertMarkers(t)}}t&&typeof t==`function`&&t(e)}isElementNode(e){return e.nodeType===window.Node.ELEMENT_NODE}removeBottomSpacing(e){e.style.marginBottom=`0`,e.style.paddingBottom=`0`}addLastNode(e){let t=new Set([`META`,`TITLE`,`HEAD`,`LINK`,`SCRIPT`,`STYLE`,`EM`,`I`,`STRONG`,`B`,`SPAN`,`IMG`,`AUDIO`,`VIDEO`,`BR`,`SUP`,`SUB`,`IFRAME`]),n=document.createTextNode(``),r=document.createElement(`span`);r.setAttribute(`class`,`ultimate`),r.setAttribute(`data-ultimate`,`true`),r.appendChild(n);let i,a;for(let n=e.body.childNodes.length-1;n>=0;n--)if(i=e.body.childNodes[n],!t.has(i.nodeName)&&this.isElementNode(i)){for(this.removeBottomSpacing(i),a=i.lastElementChild;a;)this.isMarkerReferenceNode(a)||this.removeBottomSpacing(a),a=a.lastElementChild;i.appendChild(r);return}console.warn(`Could not append ultimate node`)}addIndicesToMarkers(e){let t=e.querySelectorAll(`[data-marker]`),n=t.length;for(let e=0;e<n;e++)t[e].setAttribute(`data-index`,e),t[e].setAttribute(`data-final`,e===n-1)}removeBreakAfterClasses(e){let t=Array.from(e.children).filter(e=>!this.isMarker(e)&&e.nodeType===1);for(let e=0;e<t.length;e++){let n=t[e],r=n.nextElementSibling;n.classList.contains(`break-after`)&&r&&this.isFullbleed(r)&&n.classList.remove(`break-after`),n.children&&n.children.length&&this.removeBreakAfterClasses(n)}}validateDocument(e){let t=e.querySelectorAll(`[data-marker]`),n=e.querySelectorAll(`[data-marker-reference]`),r=Array.prototype.slice.call(n,0),i={},a=!0,o=!0,s=!0;a=t.length===n.length,console.assert(a,`Incorrect number of markers`);for(let e=0;e<r.length;e++)i[r[e].dataset.markerReference]=!0;for(let e=0;e<t.length;e++){let n=t[e].dataset.marker,r=!(0,Kr.default)(n);console.assert(r,`Marker ${e} does not have a marker attribute`);let a=i[n];console.assert(a,`Reference for marker ${e} (${n}) could not be found`),r||(o=!1),a||(s=!1)}return a&&o&&s}parseXML(e,t){let n=new window.DOMParser().parseFromString(e,`text/html`),r,i=null;gm.setContextDocument(n),gm.createStyleSheets(),gm.createScriptElements(),gm.parseXML(),this.insertMarkers(n,t=>{this.validateDocument(t)||(i=Error(`Invalid markup`)),this.addLastNode(n),this.addIndicesToMarkers(n),this.removeBreakAfterClasses(n),r=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(e,t)=>`<body${t}>${n.body.innerHTML}</body>`)});let a={xml:r,doc:n};return t&&typeof t==`function`?t(i,a):a}},vm=[`SCRIPT`,`STYLE`],ym=e=>vm.includes(e),bm=e=>e.nodeType===window.Node.ELEMENT_NODE&&ym(e.nodeName),xm=e=>{if(!e.href||Qt(e.href))return e.parentNode?.removeChild(e);let{origin:t}=new window.URL(e.href);return new RegExp(window.location.origin).test(t)?e.parentNode?.removeChild(e):e.setAttribute(`target`,`_blank`)},Sm=(e,t)=>{for(let t=e.children.length-1;t>=0;t--){let n=e.children[t];bm(n)&&n.parentNode?.removeChild(n),n.nodeName===`A`&&xm(n),n.children.length&&Sm(n)}if(t!==void 0){let n=document.createElement(`span`),r=document.createTextNode(String(t));n.classList.add(`footnote__content--count`),n.appendChild(r),e.prepend(n)}return e.innerHTML};function Cm({id:e,href:t,children:n}){let r=Fr(e=>e.viewerSettings),[i,a]=(0,H.useState)(``),[o,s]=(0,H.useState)(!1),[c]=(0,H.useState)(()=>Un()),l=(0,H.useRef)(null),u=(0,H.useRef)(null),d=(0,H.useRef)({});(0,H.useEffect)(()=>()=>{d.current.click&&document.removeEventListener(`click`,d.current.click)},[]);let f=async()=>{if(i)return;let{hash:e}=new window.URL(t),n=e.slice(1),{data:r}=await ln(t),o=new window.DOMParser().parseFromString(r,`text/html`).getElementById(n);if(!o){console.error(`Could not retrieve footnote %s; Document URL %s`,e,t);return}let s=o.parentNode;for(;s&&s.nodeName!==`UL`&&s.nodeName!==`OL`;)s=s.parentNode;let c;s&&(c=(Number(s.getAttribute(`start`))||1)+Array.prototype.indexOf.call(s.children,o)),a(Sm(o.firstChild,c))},p=e=>{e&&e.preventDefault(),s(!1),d.current.click&&document.removeEventListener(`click`,d.current.click),d.current.mousemove&&document.removeEventListener(`mousemove`,d.current.mousemove),d.current={}},m=e=>{e&&e.preventDefault(),!W.isSingleColumn()&&_()},h=e=>{if(W.isSingleColumn())return;let t=e.target;t.nodeName===`SPAN`&&t.classList.contains(`footnote__number`)&&t.dataset.footnote!==c&&p()},g=e=>{e.target.nodeName!==`A`&&p()},_=e=>(e&&(e.preventDefault(),e.stopPropagation()),o?p():v()),v=async e=>{e&&e.preventDefault(),await f(),s(!0),document.addEventListener(`click`,g),document.addEventListener(`mousemove`,h),d.current={click:g,mousemove:h}},y=()=>{if(!l.current||!u.current)return console.warn(`Footnote elements are not bound`),!1;let{top:e}=l.current.getBoundingClientRect(),{paddingTop:t,paddingBottom:n}=r,i=u.current.offsetHeight,a=window.innerHeight;return e+i>a-(t+n)},b=()=>{let{columnWidth:e,columnGap:t,paddingLeft:n}=r,i=W.isSingleColumn(),a=y()?`bottom`:`top`,o=a===`bottom`?`1rem`:`1.5rem`,s={width:i?window.innerWidth-n*2:`${e+t}px`,left:0,[a]:o};return l.current?(s.left=l.current.getBoundingClientRect().x,s.left=i?s.left=s.left*-1+n:s.left>=window.innerWidth/2?s.left=s.left*-1+n+e+t:s.left=s.left*-1+n,s.cursor=`auto`,s):s},x=!i||!o;return(0,U.jsx)(`span`,{id:e,className:`footnote-ref`,children:(0,U.jsxs)(`span`,{ref:l,className:`footnote__container`,style:{display:`inline`,position:`relative`},children:[(0,U.jsx)(`span`,{className:`footnote__number`,"data-footnote":c,onClick:_,onMouseOver:m,children:n}),(0,U.jsx)(`span`,{ref:u,style:b(),className:(0,K.default)(`footnote__body`,{"footnote__body--hidden":x}),children:(0,U.jsx)(`span`,{className:`footnote__content`,dangerouslySetInnerHTML:{__html:i}})})]})})}var wm=e=>{let t=Fr(e=>e.readerSettings);return(0,U.jsx)(gi.Consumer,{children:({getSpineItemByAbsoluteUrl:n,navigateToChapterByURL:r})=>{let{className:i,href:a,style:o,children:s}=e,c=i||``,l=o||{},u=n(a)>-1,d=on(a,window.location.href),f=on(a,t.projectURL),p=``,m=``;return d&&!u?(p=`_blank`,m=`nooperner noreferrer`):f&&(p=`_top`),(0,U.jsx)(`a`,{href:a,target:p,rel:m,style:l,className:c,onClick:e=>{u&&(e.preventDefault(),r(a))},children:s})}})},Tm=(function(){if(typeof Map<`u`)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t?(n=r,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){t===void 0&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()})(),Em=typeof window<`u`&&typeof document<`u`&&window.document===document,Dm=(function(){return typeof global<`u`&&global.Math===Math?global:typeof self<`u`&&self.Math===Math?self:typeof window<`u`&&window.Math===Math?window:Function(`return this`)()})(),Om=(function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(Dm):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),km=2;function Am(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){Om(a)}function s(){var e=Date.now();if(n){if(e-i<km)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}var jm=20,Mm=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],Nm=typeof MutationObserver<`u`,Pm=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Am(this.refresh.bind(this),jm)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){!Em||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),Nm?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(`DOMSubtreeModified`,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Em||!this.connected_||(document.removeEventListener(`transitionend`,this.onTransitionEnd_),window.removeEventListener(`resize`,this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(`DOMSubtreeModified`,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?``:t;Mm.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),Fm=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e}),Im=(function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Dm}),Lm=qm(0,0,0,0);function Rm(e){return parseFloat(e)||0}function zm(e){return[...arguments].slice(1).reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+Rm(r)},0)}function Bm(e){for(var t=[`top`,`right`,`bottom`,`left`],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e[`padding-`+a];n[a]=Rm(o)}return n}function Vm(e){var t=e.getBBox();return qm(0,0,t.width,t.height)}function Hm(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Lm;var r=Im(e).getComputedStyle(e),i=Bm(r),a=i.left+i.right,o=i.top+i.bottom,s=Rm(r.width),c=Rm(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=zm(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=zm(r,`top`,`bottom`)+o)),!Wm(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;Math.abs(l)!==1&&(s-=l),Math.abs(u)!==1&&(c-=u)}return qm(i.left,i.top,s,c)}var Um=(function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof Im(e).SVGGraphicsElement}:function(e){return e instanceof Im(e).SVGElement&&typeof e.getBBox==`function`}})();function Wm(e){return e===Im(e).document.documentElement}function Gm(e){return Em?Um(e)?Vm(e):Hm(e):Lm}function Km(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=Object.create((typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object).prototype);return Fm(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function qm(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Jm=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=qm(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Gm(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Ym=function(){function e(e,t){var n=Km(t);Fm(this,{target:e,contentRect:n})}return e}(),Xm=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Tm,typeof e!=`function`)throw TypeError(`The callback provided as parameter 1 is not a function.`);this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof Im(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new Jm(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof Im(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new Ym(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Zm=typeof WeakMap<`u`?new WeakMap:new Tm,Qm=function(){function e(t){if(!(this instanceof e))throw TypeError(`Cannot call a class as a function.`);if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);var n=new Xm(t,Pm.getInstance(),this);Zm.set(this,n)}return e}();[`observe`,`unobserve`,`disconnect`].forEach(function(e){Qm.prototype[e]=function(){var t;return(t=Zm.get(this))[e].apply(t,arguments)}});var $m=(function(){return Dm.ResizeObserver===void 0?Qm:Dm.ResizeObserver})(),eh=48,th=52,nh=0,rh=5,ih=e=>e>=eh&&e<=th||e>=nh&&e<=rh,ah=(e={})=>{let t=(0,H.useContext)(gi),n=Fr(e=>e.viewerSettings),r=Fr(e=>e.view),i=Fr(e=>e.readerSettings),a=(0,H.useRef)(null),[o,s]=(0,H.useState)({verso:null,recto:null,spreadIndex:null,elementEdgeLeft:null}),c=(0,H.useMemo)(()=>({useParentDimensions:fi(e.useParentDimensions,!1),useElementOffsetLeft:fi(e.useElementOffsetLeft,!0),useFullscreenElementWidth:fi(e.useFullscreenElementWidth,!1),isMarker:fi(e.isMarker,!1)}),[e.useParentDimensions,e.useElementOffsetLeft,e.useFullscreenElementWidth,e.isMarker]),l=(0,H.useRef)(c);l.current=c;let u=(0,H.useRef)(n);u.current=n;let d=(0,H.useRef)(r);d.current=r;let f=(0,H.useRef)(t.getTranslateX);f.current=t.getTranslateX;let p=(0,H.useCallback)(()=>l.current.useParentDimensions?a.current?.parentElement??null:a.current,[]),m=(0,H.useCallback)(()=>{let e=p();if(!e)return console.error(`Element does not exist`);let{isMarker:t}=l.current,{width:n,paddingLeft:r,paddingRight:i,columnGap:a}=u.current,o=window.getComputedStyle(e.parentElement?.parentElement),c=o.marginLeft,d=o.paddingLeft,f=e.offsetLeft-parseFloat(c)-parseFloat(d),m=(window.innerWidth-r*2-a)/2,h=W.getPageWidth({width:n,paddingLeft:r,paddingRight:i,columnGap:a}),g=f-a-m;e.offsetWidth!==window.innerWidth&&(g-=r);let _=Math.abs(g/h),v=Number((_%1).toFixed(2).substring(2)),y=v>=eh&&v<=th,b=v>=nh&&v<=rh,x=Math.floor(Number(_.toFixed(2)));(ih(v)===!1||y===!1&&b===!1)&&(e.style.display=`none`,e.style.display=`block`),s({verso:y,recto:b,spreadIndex:x,elementEdgeLeft:f}),t&&(gm.removeStyleSheets(),gm.createStyleSheets(),gm.appendStyleSheets())},[p]),h=(0,H.useCallback)(()=>{let e=p();if(!e)return console.error(`Element does not exist`);let{ultimateOffsetLeft:t}=d.current,{width:n,paddingLeft:r,paddingRight:i,columnGap:a}=u.current,o=Math.abs(f.current()),c=e.getBoundingClientRect().x+o,l=W.getPageWidth({width:n,paddingLeft:r,paddingRight:i,columnGap:a}),m=t/l-(t-c)/l;m=Math.round(m),s(e=>({...e,verso:!0,recto:!1,spreadIndex:m}))},[p]);return(0,H.useEffect)(()=>{if(!c.useElementOffsetLeft)return;let e=p();if(!e){console.error(`No element to conenct to ResizeObserver`);return}let t=new $m((0,ta.default)(m,0,{leading:!1,trailing:!0}));return t.observe(e),()=>t.disconnect()},[c.useElementOffsetLeft,p,m]),(0,H.useEffect)(()=>{c.useElementOffsetLeft||h()},[c.useElementOffsetLeft,r.ultimateOffsetLeft,h]),{elemRef:a,verso:o.verso,recto:o.recto,spreadIndex:o.spreadIndex,elementEdgeLeft:o.elementEdgeLeft,view:r,viewerSettings:n,readerSettings:i}};function oh(e){let{elemRef:t,verso:n,recto:r}=ah({isMarker:!0});return(0,U.jsxs)(`span`,{children:[(0,U.jsx)(`span`,{"data-verso":n,"data-recto":r,"data-index":e[`data-index`],"data-final":e[`data-final`],className:e.className,ref:t}),(0,U.jsx)(`span`,{className:`bber-marker__spacer`})]})}var sh=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,U.jsx)(`audio`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),ch=e=>(0,U.jsx)(`a`,{className:`bber-a media__button__file_download`,href:e.currentSrc,download:!0,children:(0,U.jsx)(ki,{})});function lh(e){return(0,U.jsx)(`button`,{className:(0,K.default)(`bber-button`,{"bber-hover":e.loop}),onClick:e.updateLoop,children:(0,U.jsx)(Ri,{})})}function uh(e){switch(e.playbackRate){case Yr.SLOW:return(0,U.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackNormal,children:[`0.5`,(0,U.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case Yr.NORMAL:return(0,U.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackFast,children:[`1`,(0,U.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case Yr.FAST:return(0,U.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackSlow,children:[`1.5`,(0,U.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});default:return null}}function dh(e){return e.paused?(0,U.jsx)(`button`,{className:`bber-button bber-media__button__play`,onClick:e.play,children:(0,U.jsx)(Li,{})}):(0,U.jsx)(`button`,{className:`bber-button bber-media__button__pause`,onClick:e.pause,children:(0,U.jsx)(Ii,{})})}function fh(e){return(0,U.jsx)(`button`,{className:`bber-button bber-media__button__forward_30`,onClick:e.timeForward,children:(0,U.jsx)(Ai,{})})}function ph(e){return(0,U.jsx)(`button`,{className:`bber-button bber-media__button__replay_30`,onClick:e.timeBack,children:(0,U.jsx)(zi,{})})}function mh(e){return(0,U.jsxs)(`div`,{className:`bber-media__slider`,children:[(0,U.jsx)(`div`,{className:`bber-media__slider--before`,style:{width:`${e.progress/e.duration*100}%`}}),(0,U.jsx)(`input`,{className:`bber-input`,type:`range`,min:`0`,max:e.duration,step:e.duration/100,value:e.progress,onChange:e.seek})]})}function hh({volume:e,updateVolume:t}){let[n,r]=(0,H.useState)(!1);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:(0,K.default)(`bber-slider__volume`,{"bber-open":n}),children:(0,U.jsx)(mh,{duration:1,progress:e,seek:t})}),(0,U.jsx)(`button`,{className:(0,K.default)(`bber-button bber-media__button__volume_up`,{"bber-hover":n}),onClick:()=>r(e=>!e),children:(0,U.jsx)(Bi,{})})]})}function gh({time:e}){return(0,U.jsx)(`div`,{className:`bber-media__time`,children:e})}function _h(e){return(0,U.jsxs)(`div`,{className:`bber-media__stacked`,children:[(0,U.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,U.jsx)(gh,{time:e.timeElapsed}),(0,U.jsx)(mh,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,U.jsx)(gh,{time:e.timeRemaining})]}),(0,U.jsx)(`div`,{className:`bber-media__stacked__separator`,children:(0,U.jsx)(`div`,{className:`bber-media__stacked__separator--line`})}),(0,U.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,U.jsx)(ph,{timeBack:e.timeBack}),(0,U.jsx)(dh,{paused:e.paused,pause:e.pause,play:e.play}),(0,U.jsx)(fh,{timeForward:e.timeForward}),(0,U.jsx)(lh,{loop:e.loop,updateLoop:e.updateLoop}),(0,U.jsx)(uh,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,U.jsx)(`div`,{style:{marginRight:`auto`}}),(0,U.jsx)(hh,{volume:e.volume,updateVolume:e.updateVolume}),(0,U.jsx)(ch,{currentSrc:e.currentSrc})]})]})}function vh(e){return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ph,{timeBack:e.timeBack}),(0,U.jsx)(dh,{paused:e.paused,pause:e.pause,play:e.play}),(0,U.jsx)(fh,{timeForward:e.timeForward}),(0,U.jsx)(lh,{loop:e.loop,updateLoop:e.updateLoop}),(0,U.jsx)(uh,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,U.jsx)(gh,{time:e.timeElapsed}),(0,U.jsx)(mh,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,U.jsx)(gh,{time:e.timeRemaining}),(0,U.jsx)(hh,{volume:e.volume,updateVolume:e.updateVolume}),(0,U.jsx)(ch,{currentSrc:e.currentSrc})]})}function yh(e){return W.isSingleColumn()?(0,U.jsx)(_h,{...e}):(0,U.jsx)(vh,{...e})}var bh=e=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ph,{timeBack:e.timeBack}),(0,U.jsx)(dh,{paused:e.paused,pause:e.pause,play:e.play}),(0,U.jsx)(fh,{timeForward:e.timeForward}),(0,U.jsx)(gh,{time:e.timeElapsed}),(0,U.jsx)(mh,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,U.jsx)(gh,{time:e.timeRemaining}),(0,U.jsx)(hh,{volume:e.volume,updateVolume:e.updateVolume})]}),xh=e=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(dh,{paused:e.paused,pause:e.pause,play:e.play}),(0,U.jsx)(gh,{time:e.timeElapsed}),(0,U.jsx)(mh,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,U.jsx)(gh,{time:e.timeRemaining})]}),Sh=({config:e,...t})=>e===`simple`?(0,U.jsx)(xh,{...t}):e===`normal`?(0,U.jsx)(bh,{...t}):(0,U.jsx)(yh,{...t}),Ch=e=>(0,U.jsx)(`button`,{className:`bber-button`,onClick:e.toggleFullscreen,children:`toggleFullscreen`}),wh=e=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(dh,{paused:e.paused,pause:e.pause,play:e.play}),(0,U.jsx)(mh,{duration:e.duration,progress:e.progress,seek:e.seek})]}),Th=gh,Eh=hh,Dh=e=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(wh,{...e}),(0,U.jsx)(Th,{timeElapsed:e.timeElapsed,timeRemaining:e.timeRemaining}),(0,U.jsx)(Eh,{volumeUp:e.volumeUp,volumeDown:e.volumeDown}),(0,U.jsx)(Ch,{toggleFullscreen:e.toggleFullscreen})]}),Oh=e=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Dh,{...e}),(0,U.jsx)(uh,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast})]}),kh=({config:e,...t})=>e===`simple`?(0,U.jsx)(wh,{...t}):e===`normal`?(0,U.jsx)(Dh,{...t}):(0,U.jsx)(Oh,{...t}),Ah=({mediaType:e,...t})=>e===`audio`?(0,U.jsx)(Sh,{...t}):(0,U.jsx)(kh,{...t});function jh(e){let{mediaType:t,config:n,updatePlaybackRate:r}=e;return n?(0,U.jsx)(`div`,{className:(0,K.default)(`bber-media__controls`,`bber-media__controls--${t}`,`bber-media__controls--${n}`),children:(0,U.jsx)(Ah,{playbackSlow:()=>r(Yr.SLOW),playbackNormal:()=>r(Yr.NORMAL),playbackFast:()=>r(Yr.FAST),...e})}):null}var Mh=30,Nh=e=>{let t=Math.round(e),n=t%60,r=(t-n)/60,i=String(n).padStart(2,`0`);return`${String(r).padStart(2,`0`)}:${i}`},Ph=()=>{let e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement},Fh=e=>{e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},Ih=e=>{e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()},Lh=e=>{let{elemRef:t}=e,n=(0,H.useContext)(_i),[r,i]=(0,H.useState)(()=>({autoPlay:e[`data-autoplay`]===!0||e.autoPlay||!1,paused:!0,loop:!1,volume:1,playbackRate:Yr.NORMAL,currentTime:0,duration:0,seeking:!1,muted:!1,progress:0,timeElapsed:`00:00`,timeRemaining:`00:00`,currentSrc:``,userInitiatedPause:!1})),a=(0,H.useRef)(r);a.current=r;let o=e=>i(t=>({...t,...e})),s=()=>{let e=t.current.play();e&&e.catch(()=>{}),_()},c=()=>{t.current.pause()},l=()=>{o({paused:!1,userInitiatedPause:!1}),s()},u=()=>{o({paused:!0,userInitiatedPause:!0}),c()},d=e=>{let{duration:n}=a.current,r=a.current.currentTime;r=parseFloat((r+e).toFixed(10)),r=Math.max(0,Math.min(r,n)),o({currentTime:r}),t.current.currentTime=r,_()},f=e=>{let n=e.currentTarget.value;o({volume:n}),t.current.volume=n},p=()=>{let e=!a.current.loop;o({loop:e}),t.current.loop=e},m=e=>{o({playbackRate:e}),t.current.playbackRate=e},h=()=>{if(!t?.current)return;let{currentTime:e}=t.current;o({currentTime:e,timeElapsed:Nh(e)})},g=()=>{if(!t?.current)return;let e=t.current.currentTime;o({progress:e})};function _(){h(),g(),!a.current.paused&&t?.current&&setTimeout(_,1e3)}let v=()=>d(Mh),y=()=>d(Mh*-1),b=e=>{let n=Number(e.target.value),r=n;o({progress:n,currentTime:r}),t.current.currentTime=r,h()},x=()=>{let e=t.current;Ph()?Ih(e):Fh(e)},S=()=>{let{seeking:e,currentTime:n,duration:r,playbackRate:i,loop:a,volume:s,muted:c,currentSrc:l}=t.current;t.current.preload=`auto`,o({seeking:e,muted:c,currentTime:n,duration:r,playbackRate:i,loop:a,volume:s,timeRemaining:Nh(r),currentSrc:l})},C=()=>o({paused:!0,userInitiatedPause:!0}),w=(e,t)=>{let{paused:n,userInitiatedPause:r}=a.current;n===!0&&r===!1&&e.spreadIndex===t.spreadIndex&&(o({paused:!1}),s()),e.spreadIndex!==t.spreadIndex&&n===!1&&(o({paused:!0}),c())},T=(0,H.useRef)(!0);return(0,H.useEffect)(()=>{if(T.current){T.current=!1;return}if(!a.current.autoPlay)return;let r=t.current;if(!r)return;let i=()=>{w(e,n),r.removeEventListener(`canplay`,i)};return r.addEventListener(`canplay`,i),()=>r.removeEventListener(`canplay`,i)},[n?.spreadIndex]),{state:r,setState:o,play:l,pause:u,playMedia:s,pauseMedia:c,updateTime:d,updateVolume:f,updateLoop:p,updatePlaybackRate:m,displayTime:Nh,updateControlsUI:_,updateTimeStamps:h,updateProgress:g,timeForward:v,timeBack:y,seek:b,fullscreenElement:Ph,requestFullscreen:Fh,exitFullscreen:Ih,toggleFullscreen:x,handleLoad:S,handleEnded:C,onCanPlay:w}};function Rh(e){let{elemRef:t,spreadIndex:n}=ah({useParentDimensions:!0}),r=Lh({...e,elemRef:t,spreadIndex:n}),{MediaComponent:i,mediaType:a,autoPlay:o,controls:s,...c}=e,l=null,u=!0;return s?Xr.has(s)&&(l=s,u=!1):u=!1,(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(i,{elementKey:c.id,elementRef:t,handleLoad:r.handleLoad,handleEnded:r.handleEnded,controls:u,...c}),(0,U.jsx)(jh,{config:l,mediaType:a,play:r.play,pause:r.pause,timeForward:r.timeForward,timeBack:r.timeBack,updateVolume:r.updateVolume,updateLoop:r.updateLoop,updatePlaybackRate:r.updatePlaybackRate,seek:r.seek,toggleFullscreen:r.toggleFullscreen,currentSrc:r.state.currentSrc,currentTime:r.state.currentTime,duration:r.state.duration,progress:r.state.progress,timeElapsed:r.state.timeElapsed,timeRemaining:r.state.timeRemaining,paused:r.state.paused,playbackRate:r.state.playbackRate,volume:r.state.volume,loop:r.state.loop})]})}var zh=e=>(0,U.jsx)(Rh,{mediaType:`audio`,MediaComponent:sh,...e});function Bh(e){let{attrs:t}=e,n=ah({useElementOffsetLeft:e.useElementOffsetLeft});(0,H.useEffect)(()=>{let e=()=>setTimeout(()=>window.focus(),60);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[]);let{src:r,title:i}=t;return(0,U.jsx)(`div`,{ref:n.elemRef,children:(0,U.jsx)(`iframe`,{src:r,title:i,...t})},r)}var Vh=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,U.jsx)(`video`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),Hh=e=>(0,U.jsx)(Rh,{mediaType:`video`,MediaComponent:Vh,...e}),Uh=s(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),Wh=c({default:()=>qh});function Gh(e,t){return!!(e===t||Jh(e)&&Jh(t))}function Kh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gh(e[n],t[n]))return!1;return!0}function qh(e,t){t===void 0&&(t=Kh);var n,r=[],i,a=!1;function o(){var o=[...arguments];return a&&n===this&&t(o,r)?i:(i=e.apply(this,o),a=!0,n=this,r=o,i)}return o}var Jh,Yh=o((()=>{Jh=Number.isNaN||function(e){return typeof e==`number`&&e!==e}})),Xh=s(((e,t)=>{var n=typeof Element<`u`,r=typeof Map==`function`,i=typeof Set==`function`,a=typeof ArrayBuffer==`function`&&!!ArrayBuffer.isView;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;var s,c,l;if(Array.isArray(e)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(!o(e[c],t[c]))return!1;return!0}var u;if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],t.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(e[c]!==t[c])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(l=Object.keys(e),s=l.length,s!==Object.keys(t).length)return!1;for(c=s;c--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[c]))return!1;if(n&&e instanceof Element)return!1;for(c=s;c--!==0;)if(!((l[c]===`_owner`||l[c]===`__v`||l[c]===`__o`)&&e.$$typeof)&&!o(e[l[c]],t[l[c]]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||``).match(/stack|recursion/i))return console.warn(`react-fast-compare cannot handle circular refs`),!1;throw e}}})),Zh=s(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),Qh=s(((e,t)=>{var n=Zh();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={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:r};return a.PropTypes=a,a}})),$h=s(((e,t)=>{t.exports=Qh()()})),eg=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=e.propTypes=void 0;var t=n($h());function n(e){return e&&e.__esModule?e:{default:e}}var r=t.default.string,i=t.default.bool,a=t.default.number,o=t.default.array,s=t.default.oneOfType,c=t.default.shape,l=t.default.object,u=t.default.func,d=t.default.node;e.propTypes={url:s([r,o,l]),playing:i,loop:i,controls:i,volume:a,muted:i,playbackRate:a,width:s([r,a]),height:s([r,a]),style:l,progressInterval:a,playsinline:i,pip:i,stopOnUnmount:i,light:s([i,r,l]),playIcon:d,previewTabIndex:a,fallback:d,oEmbedUrl:r,wrapper:s([r,u,c({render:u.isRequired})]),config:c({soundcloud:c({options:l}),youtube:c({playerVars:l,embedOptions:l,onUnstarted:u}),facebook:c({appId:r,version:r,playerId:r,attributes:l}),dailymotion:c({params:l}),vimeo:c({playerOptions:l,title:r}),file:c({attributes:l,tracks:o,forceVideo:i,forceAudio:i,forceHLS:i,forceDASH:i,forceFLV:i,hlsOptions:l,hlsVersion:r,dashVersion:r,flvVersion:r}),wistia:c({options:l,playerId:r,customControls:o}),mixcloud:c({options:l}),twitch:c({options:l,playerId:r}),vidyard:c({options:l})}),onReady:u,onStart:u,onPlay:u,onPause:u,onBuffer:u,onBufferEnd:u,onEnded:u,onError:u,onDuration:u,onSeek:u,onPlaybackRateChange:u,onProgress:u,onClickPreview:u,onEnablePIP:u,onDisablePIP:u};var f=function(){};e.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:`640px`,height:`360px`,style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:`div`,previewTabIndex:0,oEmbedUrl:`https://noembed.com/embed?url={url}`,config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:f},facebook:{appId:`1309697205772819`,version:`v3.3`,playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:`1.1.4`,dashVersion:`3.1.3`,flvVersion:`1.5.0`},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f}})),tg=s(((e,t)=>{t.exports=function(e,t,a){var o=document.head||document.getElementsByTagName(`head`)[0],s=document.createElement(`script`);typeof t==`function`&&(a=t,t={}),t||={},a||=function(){},s.type=t.type||`text/javascript`,s.charset=t.charset||`utf8`,s.async=`async`in t?!!t.async:!0,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=``+t.text),(`onload`in s?r:i)(s,a),s.onload||r(s,a),o.appendChild(s)};function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error(`Failed to load `+this.src),e)}}function i(e,t){e.onreadystatechange=function(){this.readyState!=`complete`&&this.readyState!=`loaded`||(this.onreadystatechange=null,t(null,e))}}})),ng=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.parseStartTime=g,e.parseEndTime=_,e.randomString=v,e.queryString=y,e.getSDK=S,e.getConfig=C,e.omit=w,e.callPlayer=T,e.isMediaStream=E,e.isBlobUrl=D,e.supportsWebKitPresentationMode=O;var t=r(tg()),n=r(Uh());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return l(e)||c(e,t)||o(e,t)||a()}function a(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
64
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(e,t){if(e){if(typeof e==`string`)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function l(e){if(Array.isArray(e))return e}var u=/[?&#](?:start|t)=([0-9hms]+)/,d=/[?&#]end=([0-9hms]+)/,f=/(\d+)(h|m|s)/g,p=/^\d+$/;function m(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(f))return h(r);if(p.test(r))return parseInt(r)}}}function h(e){for(var t=0,n=f.exec(e);n!==null;){var r=i(n,3),a=r[1],o=r[2];o===`h`&&(t+=parseInt(a,10)*60*60),o===`m`&&(t+=parseInt(a,10)*60),o===`s`&&(t+=parseInt(a,10)),n=f.exec(e)}return t}function g(e){return m(e,u)}function _(e){return m(e,d)}function v(){return Math.random().toString(36).substr(2,5)}function y(e){return Object.keys(e).map(function(t){return`${t}=${e[t]}`}).join(`&`)}function b(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var x={};function S(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:t.default,o=b(n);return o&&i(o)?Promise.resolve(o):new Promise(function(t,i){if(x[e]){x[e].push({resolve:t,reject:i});return}x[e]=[{resolve:t,reject:i}];var o=function(t){x[e].forEach(function(e){return e.resolve(t)})};if(r){var s=window[r];window[r]=function(){s&&s(),o(b(n))}}a(e,function(t){t?(x[e].forEach(function(e){return e.reject(t)}),x[e]=null):r||o(b(n))})})}function C(e,t){return(0,n.default)(t.config,e.config)}function w(e){for(var t,n=[...arguments].slice(1),r=(t=[]).concat.apply(t,n),i={},a=Object.keys(e),o=0,s=a;o<s.length;o++){var c=s[o];r.indexOf(c)===-1&&(i[c]=e[c])}return i}function T(e){var t;if(!this.player||!this.player[e]){var n=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(n+=`The method was not available`):n+=`The player was not available`,console.warn(n,`font-weight: bold`,``),null}var r=[...arguments].slice(1);return(t=this.player)[e].apply(t,r)}function E(e){return typeof window<`u`&&window.MediaStream!==void 0&&e instanceof window.MediaStream}function D(e){return/^blob:/.test(e)}function O(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement(`video`),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode==`function`&&t}})),rg=s((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=c(p()),r=o(Xh()),i=eg(),a=ng();function o(e){return e&&e.__esModule?e:{default:e}}function s(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=s();if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function m(e,t){if(typeof t!=`function`&&t!==null)throw 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&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(e){var t=y();return function(){var n=b(e),r;if(t){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:v(e)}function v(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function y(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=5e3,C=function(e){m(i,e);var t=g(i);function i(){var e;u(this,i);var n=[...arguments];return e=t.call.apply(t,[this].concat(n)),x(v(e),`mounted`,!1),x(v(e),`isReady`,!1),x(v(e),`isPlaying`,!1),x(v(e),`isLoading`,!0),x(v(e),`loadOnReady`,null),x(v(e),`startOnPlay`,!0),x(v(e),`seekOnPlay`,null),x(v(e),`onDurationCalled`,!1),x(v(e),`handlePlayerMount`,function(t){if(e.player){e.progress();return}e.player=t,e.player.load(e.props.url),e.progress()}),x(v(e),`getInternalPlayer`,function(t){return e.player?e.player[t]:null}),x(v(e),`progress`,function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};n!==null&&(i.loadedSeconds=n,i.loaded=n/r),(i.playedSeconds!==e.prevPlayed||i.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),x(v(e),`handleReady`,function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,a=t.muted;n(),!a&&i!==null&&e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),x(v(e),`handlePlay`,function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&i!==1&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),x(v(e),`handlePause`,function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),x(v(e),`handleEnded`,function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())}),x(v(e),`handleError`,function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),x(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)}),x(v(e),`handleLoaded`,function(){e.isLoading=!1}),e}return f(i,[{key:`componentDidMount`,value:function(){this.mounted=!0}},{key:`componentWillUnmount`,value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:`componentDidUpdate`,value:function(e){var t=this;if(this.player){var n=this.props,i=n.url,o=n.playing,s=n.volume,c=n.muted,l=n.playbackRate,u=n.pip,d=n.loop,f=n.activePlayer,p=n.disableDeferredLoading;if(!(0,r.default)(e.url,i)){if(this.isLoading&&!f.forceLoad&&!p&&!(0,a.isMediaStream)(i)){console.warn(`ReactPlayer: the attempt to load ${i} is being deferred until the player has loaded`),this.loadOnReady=i;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(i,this.isReady)}!e.playing&&o&&!this.isPlaying&&this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&u&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!u&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==s&&s!==null&&this.player.setVolume(s),e.muted!==c&&(c?this.player.mute():(this.player.unmute(),s!==null&&setTimeout(function(){return t.player.setVolume(s)}))),e.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{key:`getDuration`,value:function(){return this.isReady?this.player.getDuration():null}},{key:`getCurrentTime`,value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:`getSecondsLoaded`,value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:`seekTo`,value:function(e,t){var n=this;if(!this.isReady){e!==0&&(this.seekOnPlay=e,setTimeout(function(){n.seekOnPlay=null},S));return}if(t?t===`fraction`:e>0&&e<1){var r=this.player.getDuration();if(!r){console.warn(`ReactPlayer: could not seek using fraction –\xA0duration not yet available`);return}this.player.seekTo(r*e);return}this.player.seekTo(e)}},{key:`render`,value:function(){var e=this.props.activePlayer;return e?n.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}}]),i}(n.Component);e.default=C,x(C,`displayName`,`Player`),x(C,`propTypes`,i.propTypes),x(C,`defaultProps`,i.defaultProps)})),ig=s((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(p());function r(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return r=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=r();if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?a(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(e,t){if(typeof t!=`function`&&t!==null)throw 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)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){var t=g();return function(){var n=_(e),r;if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:h(e)}function h(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function g(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=`64px`,b={};e.default=function(e){u(r,e);var t=f(r);function r(){var e;s(this,r);var n=[...arguments];return e=t.call.apply(t,[this].concat(n)),v(h(e),`mounted`,!1),v(h(e),`state`,{image:null}),v(h(e),`handleKeyPress`,function(t){(t.key===`Enter`||t.key===` `)&&e.props.onClick()}),e}return l(r,[{key:`componentDidMount`,value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.url,r=t.light;(e.url!==n||e.light!==r)&&this.fetchImage(this.props)}},{key:`componentWillUnmount`,value:function(){this.mounted=!1}},{key:`fetchImage`,value:function(e){var t=this,r=e.url,i=e.light,a=e.oEmbedUrl;if(!n.default.isValidElement(i)){if(typeof i==`string`){this.setState({image:i});return}if(b[r]){this.setState({image:b[r]});return}return this.setState({image:null}),window.fetch(a.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}),b[r]=n}})}}},{key:`render`,value:function(){var e=this.props,t=e.light,r=e.onClick,i=e.playIcon,a=e.previewTabIndex,s=this.state.image,c=n.default.isValidElement(t),l={display:`flex`,alignItems:`center`,justifyContent:`center`},u={preview:o({width:`100%`,height:`100%`,backgroundImage:s&&!c?`url(${s})`:void 0,backgroundSize:`cover`,backgroundPosition:`center`,cursor:`pointer`},l),shadow:o({background:`radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)`,borderRadius:y,width:y,height:y,position:c?`absolute`:void 0},l),playIcon:{borderStyle:`solid`,borderWidth:`16px 0 16px 26px`,borderColor:`transparent transparent transparent white`,marginLeft:`7px`}},d=n.default.createElement(`div`,{style:u.shadow,className:`react-player__shadow`},n.default.createElement(`div`,{style:u.playIcon,className:`react-player__play-icon`}));return n.default.createElement(`div`,{style:u.preview,className:`react-player__preview`,onClick:r,tabIndex:a,onKeyPress:this.handleKeyPress},c?t:null,i||d)}}]),r}(n.Component)})),ag=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createReactPlayer=void 0;var t=ee(p()),n=c(Uh()),r=c((Yh(),d(Wh))),i=c(Xh()),a=eg(),o=ng(),s=c(rg());function c(e){return e&&e.__esModule?e:{default:e}}function l(e){"@babel/helpers - typeof";return l=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},l(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?u(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function h(e){return y(e)||v(e)||_(e)||g()}function g(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
65
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(e,t){if(e){if(typeof e==`string`)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}}function v(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function y(e){if(Array.isArray(e))return b(e)}function b(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),e}function w(e,t){if(typeof t!=`function`&&t!==null)throw 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&&T(e,t)}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function E(e){var t=k();return function(){var n=A(e),r;if(t){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return D(this,r)}}function D(e,t){return t&&(l(t)===`object`||typeof t==`function`)?t:O(e)}function O(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function k(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return M=function(){return e},e}function ee(e){if(e&&e.__esModule)return e;if(e===null||l(e)!==`object`&&typeof e!=`function`)return{default:e};var t=M();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var N=(0,t.lazy)(function(){return Promise.resolve().then(function(){return ee(ig())})}),P=typeof window<`u`&&window.document,F=typeof global<`u`&&global.window&&global.window.document,I=Object.keys(a.propTypes),L=P||F?t.Suspense:function(){return null},R=[];e.createReactPlayer=function(e,c){var l,u;return u=l=function(l){w(d,l);var u=E(d);function d(){var i;x(this,d);var l=[...arguments];return i=u.call.apply(u,[this].concat(l)),j(O(i),`state`,{showPreview:!!i.props.light}),j(O(i),`references`,{wrapper:function(e){i.wrapper=e},player:function(e){i.player=e}}),j(O(i),`handleClickPreview`,function(e){i.setState({showPreview:!1}),i.props.onClickPreview(e)}),j(O(i),`showPreview`,function(){i.setState({showPreview:!0})}),j(O(i),`getDuration`,function(){return i.player?i.player.getDuration():null}),j(O(i),`getCurrentTime`,function(){return i.player?i.player.getCurrentTime():null}),j(O(i),`getSecondsLoaded`,function(){return i.player?i.player.getSecondsLoaded():null}),j(O(i),`getInternalPlayer`,function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:`player`;return i.player?i.player.getInternalPlayer(e):null}),j(O(i),`seekTo`,function(e,t){if(!i.player)return null;i.player.seekTo(e,t)}),j(O(i),`handleReady`,function(){i.props.onReady(O(i))}),j(O(i),`getActivePlayer`,(0,r.default)(function(t){for(var n=0,r=[].concat(R,h(e));n<r.length;n++){var i=r[n];if(i.canPlay(t))return i}return c||null})),j(O(i),`getConfig`,(0,r.default)(function(e,t){var r=i.props.config;return n.default.all([a.defaultProps.config,a.defaultProps.config[t]||{},r,r[t]||{}])})),j(O(i),`getAttributes`,(0,r.default)(function(e){return(0,o.omit)(i.props,I)})),j(O(i),`renderActivePlayer`,function(e){if(!e)return null;var n=i.getActivePlayer(e);if(!n)return null;var r=i.getConfig(e,n.key);return t.default.createElement(s.default,m({},i.props,{key:n.key,ref:i.references.player,config:r,activePlayer:n.lazyPlayer||n,onReady:i.handleReady}))}),i}return C(d,[{key:`shouldComponentUpdate`,value:function(e,t){return!(0,i.default)(this.props,e)||!(0,i.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 n=this.props,r=n.light,i=n.playIcon,a=n.previewTabIndex,o=n.oEmbedUrl;return t.default.createElement(N,{url:e,light:r,playIcon:i,previewTabIndex:a,oEmbedUrl:o,onClick:this.handleClickPreview})}},{key:`render`,value:function(){var e=this.props,n=e.url,r=e.style,i=e.width,a=e.height,o=e.fallback,s=e.wrapper,c=this.state.showPreview,l=this.getAttributes(n),u=typeof s==`string`?this.references.wrapper:void 0;return t.default.createElement(s,m({ref:u,style:f(f({},r),{},{width:i,height:a})},l),t.default.createElement(L,{fallback:o},c?this.renderPreview(n):this.renderActivePlayer(n)))}}]),d}(t.Component),j(l,`displayName`,`ReactPlayer`),j(l,`propTypes`,a.propTypes),j(l,`defaultProps`,a.defaultProps),j(l,`addCustomPlayer`,function(e){R.push(e)}),j(l,`removeCustomPlayers`,function(){R.length=0}),j(l,`canPlay`,function(t){for(var n=0,r=[].concat(R,h(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1}),j(l,`canEnablePIP`,function(t){for(var n=0,r=[].concat(R,h(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),u}})),og=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.canPlay=e.FLV_EXTENSIONS=e.DASH_EXTENSIONS=e.HLS_EXTENSIONS=e.VIDEO_EXTENSIONS=e.AUDIO_EXTENSIONS=e.MATCH_URL_KALTURA=e.MATCH_URL_VIDYARD=e.MATCH_URL_MIXCLOUD=e.MATCH_URL_DAILYMOTION=e.MATCH_URL_TWITCH_CHANNEL=e.MATCH_URL_TWITCH_VIDEO=e.MATCH_URL_WISTIA=e.MATCH_URL_STREAMABLE=e.MATCH_URL_FACEBOOK_WATCH=e.MATCH_URL_FACEBOOK=e.MATCH_URL_VIMEO=e.MATCH_URL_SOUNDCLOUD=e.MATCH_URL_YOUTUBE=void 0;var t=ng();function n(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=r(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
66
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,c;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,c=e},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw c}}}}function r(e,t){if(e){if(typeof e==`string`)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}function i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;e.MATCH_URL_YOUTUBE=a;var o=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;e.MATCH_URL_SOUNDCLOUD=o;var s=/vimeo\.com\/(?!progressive_redirect).+/;e.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;e.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;e.MATCH_URL_FACEBOOK_WATCH=l;var u=/streamable\.com\/([a-z0-9]+)$/;e.MATCH_URL_STREAMABLE=u;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;e.MATCH_URL_WISTIA=d;var f=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;e.MATCH_URL_TWITCH_VIDEO=f;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;e.MATCH_URL_TWITCH_CHANNEL=p;var m=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;e.MATCH_URL_DAILYMOTION=m;var h=/mixcloud\.com\/([^/]+\/[^/]+)/;e.MATCH_URL_MIXCLOUD=h;var g=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;e.MATCH_URL_VIDYARD=g;var _=/^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-_].*)$/;e.MATCH_URL_KALTURA=_;var v=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;e.AUDIO_EXTENSIONS=v;var y=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;e.VIDEO_EXTENSIONS=y;var b=/\.(m3u8)($|\?)/i;e.HLS_EXTENSIONS=b;var x=/\.(mpd)($|\?)/i;e.DASH_EXTENSIONS=x;var S=/\.(flv)($|\?)/i;e.FLV_EXTENSIONS=S,e.canPlay={youtube:function(e){return e instanceof Array?e.every(function(e){return a.test(e)}):a.test(e)},soundcloud:function(e){return o.test(e)&&!v.test(e)},vimeo:function(e){return s.test(e)&&!y.test(e)&&!b.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return u.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return f.test(e)||p.test(e)},dailymotion:function(e){return m.test(e)},mixcloud:function(e){return h.test(e)},vidyard:function(e){return g.test(e)},kaltura:function(e){return _.test(e)},file:function e(r){if(r instanceof Array){var i=n(r),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(typeof o==`string`&&e(o)||e(o.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return(0,t.isMediaStream)(r)||(0,t.isBlobUrl)(r)?!0:v.test(r)||y.test(r)||b.test(r)||x.test(r)||S.test(r)}}})),sg=s((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(p()),r=ng(),i=og();function a(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=a();if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?s(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function f(e,t){if(typeof t!=`function`&&t!==null)throw 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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e){var t=v();return function(){var n=y(e),r;if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:_(e)}function _(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function v(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=`https://player.vimeo.com/api/player.js`,S=`Vimeo`,C=function(e){f(i,e);var t=h(i);function i(){var e;l(this,i);var n=[...arguments];return e=t.call.apply(t,[this].concat(n)),b(_(e),`callPlayer`,r.callPlayer),b(_(e),`duration`,null),b(_(e),`currentTime`,null),b(_(e),`secondsLoaded`,null),b(_(e),`mute`,function(){e.setVolume(0)}),b(_(e),`unmute`,function(){e.props.volume!==null&&e.setVolume(e.props.volume)}),b(_(e),`ref`,function(t){e.container=t}),e}return d(i,[{key:`componentDidMount`,value:function(){this.props.onMount&&this.props.onMount(this)}},{key:`load`,value:function(e){var t=this;this.duration=null,(0,r.getSDK)(x,S).then(function(n){if(t.container){var r=t.props.config,i=r.playerOptions,a=r.title;t.player=new n.Player(t.container,c({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},i)),t.player.ready().then(function(){var e=t.container.querySelector(`iframe`);e.style.width=`100%`,e.style.height=`100%`,a&&(e.title=a)}).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){t.currentTime=e.seconds}),t.player.on(`progress`,function(e){t.secondsLoaded=e.seconds}),t.player.on(`bufferstart`,t.props.onBuffer),t.player.on(`bufferend`,t.props.onBufferEnd),t.player.on(`playbackratechange`,function(e){return t.props.onPlaybackRateChange(e.playbackRate)})}},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 n.default.createElement(`div`,{key:this.props.url,ref:this.ref,style:e})}}]),i}(n.Component);e.default=C,b(C,`displayName`,`Vimeo`),b(C,`canPlay`,i.canPlay.vimeo),b(C,`forceLoad`,!0)})),cg=s(((e,t)=>{var n=ag().createReactPlayer,r=sg().default;t.exports=n([{key:`vimeo`,canPlay:r.canPlay,lazyPlayer:r}])})),lg=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),ug=s(((e,t)=>{var n=R();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),dg=s(((e,t)=>{var n=ug();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),fg=s(((e,t)=>{var n=dg(),r=h(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),pg=s(((e,t)=>{var n=fg(),r=dg();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),mg=s(((e,t)=>{var n=pg(),r=Xe();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),hg=s(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),gg=s(((e,t)=>{var n=M(),r=Ge(),i=hg(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)s==`constructor`&&(t||!a.call(e,s))||o.push(s);return o}t.exports=o})),_g=s(((e,t)=>{var n=We(),r=gg(),i=Ye();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),vg=s(((e,t)=>{var n=pg(),r=_g();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),yg=s(((e,t)=>{var n=D(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),bg=s(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),xg=s(((e,t)=>{var n=pg(),r=je();function i(e,t){return n(e,r(e),t)}t.exports=i})),Sg=s(((e,t)=>{var n=Ee(),r=dn(),i=je(),a=Ae();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),Cg=s(((e,t)=>{var n=pg(),r=Sg();function i(e,t){return n(e,r(e),t)}t.exports=i})),wg=s(((e,t)=>{var n=Oe(),r=Sg(),i=_g();function a(e){return n(e,i,r)}t.exports=a})),Tg=s(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),Eg=s(((e,t)=>{var n=Se();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),Dg=s(((e,t)=>{var n=Eg();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),Og=s(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),kg=s(((e,t)=>{var n=O(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),Ag=s(((e,t)=>{var n=Eg();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),jg=s(((e,t)=>{var n=Eg(),r=Dg(),i=Og(),a=kg(),o=Ag(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,w=`[object Uint16Array]`,T=`[object Uint32Array]`;function E(e,t,E){var D=e.constructor;switch(t){case h:return n(e);case s:case c:return new D(+e);case g:return r(e,E);case _:case v:case y:case b:case x:case S:case C:case w:case T:return o(e,E);case l:return new D;case u:case p:return new D(e);case d:return i(e);case f:return new D;case m:return a(e)}}t.exports=E})),Mg=s(((e,t)=>{var n=M(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),Ng=s(((e,t)=>{var n=Mg(),r=dn(),i=Ge();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),Pg=s(((e,t)=>{var n=rt(),r=Ne(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Fg=s(((e,t)=>{var n=Pg(),r=Ve(),i=He(),a=i&&i.isMap;t.exports=a?r(a):n})),Ig=s(((e,t)=>{var n=rt(),r=Ne(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Lg=s(((e,t)=>{var n=Ig(),r=Ve(),i=He(),a=i&&i.isSet;t.exports=a?r(a):n})),Rg=s(((e,t)=>{var n=he(),r=lg(),i=fg(),a=mg(),o=vg(),s=yg(),c=bg(),l=xg(),u=Cg(),d=Ze(),f=wg(),p=rt(),m=Tg(),h=jg(),g=Ng(),_=De(),v=Le(),y=Fg(),b=M(),x=Lg(),S=Xe(),C=_g(),w=1,T=2,E=4,D=`[object Arguments]`,O=`[object Array]`,k=`[object Boolean]`,A=`[object Date]`,j=`[object Error]`,ee=`[object Function]`,N=`[object GeneratorFunction]`,P=`[object Map]`,F=`[object Number]`,I=`[object Object]`,L=`[object RegExp]`,R=`[object Set]`,z=`[object String]`,B=`[object Symbol]`,te=`[object WeakMap]`,ne=`[object ArrayBuffer]`,re=`[object DataView]`,ie=`[object Float32Array]`,ae=`[object Float64Array]`,oe=`[object Int8Array]`,se=`[object Int16Array]`,ce=`[object Int32Array]`,le=`[object Uint8Array]`,ue=`[object Uint8ClampedArray]`,de=`[object Uint16Array]`,fe=`[object Uint32Array]`,V={};V[D]=V[O]=V[ne]=V[re]=V[k]=V[A]=V[ie]=V[ae]=V[oe]=V[se]=V[ce]=V[P]=V[F]=V[I]=V[L]=V[R]=V[z]=V[B]=V[le]=V[ue]=V[de]=V[fe]=!0,V[j]=V[ee]=V[te]=!1;function pe(e,t,O,k,A,j){var M,P=t&w,F=t&T,L=t&E;if(O&&(M=A?O(e,k,A,j):O(e)),M!==void 0)return M;if(!b(e))return e;var R=_(e);if(R){if(M=m(e),!P)return c(e,M)}else{var z=p(e),B=z==ee||z==N;if(v(e))return s(e,P);if(z==I||z==D||B&&!A){if(M=F||B?{}:g(e),!P)return F?u(e,o(M,e)):l(e,a(M,e))}else{if(!V[z])return A?e:{};M=h(e,z,P)}}j||=new n;var te=j.get(e);if(te)return te;j.set(e,M),x(e)?e.forEach(function(n){M.add(pe(n,t,O,n,e,j))}):y(e)&&e.forEach(function(n,r){M.set(r,pe(n,t,O,r,e,j))});var ne=R?void 0:(L?F?f:d:F?C:S)(e);return r(ne||e,function(n,r){ne&&(r=n,n=e[r]),i(M,r,pe(n,t,O,r,e,j))}),M}t.exports=pe})),zg=s(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n})),Bg=s(((e,t)=>{var n=xt(),r=mn();function i(e,t){return t.length<2?e:n(e,r(t,0,-1))}t.exports=i})),Vg=s(((e,t)=>{var n=yt(),r=zg(),i=Bg(),a=bt();function o(e,t){return t=n(t,e),e=i(e,t),e==null||delete e[a(r(t))]}t.exports=o})),Hg=s(((e,t)=>{var n=fn();function r(e){return n(e)?void 0:e}t.exports=r})),Ug=s(((e,t)=>{var n=O(),r=Fe(),i=De(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),Wg=s(((e,t)=>{var n=Ee(),r=Ug();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),Gg=s(((e,t)=>{var n=Wg();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),Kg=s(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),qg=s(((e,t)=>{var n=Kg(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),Jg=s(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),Yg=s(((e,t)=>{var n=Jg(),r=ug(),i=Dt();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),Xg=s(((e,t)=>{var n=800,r=16,i=Date.now;function a(e){var t=0,a=0;return function(){var o=i(),s=r-(o-a);if(a=o,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=a})),Zg=s(((e,t)=>{var n=Yg();t.exports=Xg()(n)})),Qg=s(((e,t)=>{var n=Gg(),r=qg(),i=Zg();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),$g=s(((e,t)=>{var n=gt(),r=Rg(),i=Vg(),a=yt(),o=pg(),s=Hg(),c=Qg(),l=wg(),u=1,d=2,f=4;t.exports=c(function(e,t){var c={};if(e==null)return c;var p=!1;t=n(t,function(t){return t=a(t,e),p||=t.length>1,t}),o(e,l(e),c),p&&(c=r(c,u|d|f,s));for(var m=t.length;m--;)i(c,t[m]);return c})})),e_=u(cg()),t_=u($g()),n_=e=>Yt(e),r_=e=>e.split(`?`),i_=(e,t=[])=>{let n=e;t.length&&(n=(0,t_.default)(e,t));let r=new Set([`true`,`1`]),i=new Set([`false`,`0`]),a=new Set([...r,...i]),o=Object.entries(n).reduce((e,[t,n])=>(e[t]=a.has(n)?r.has(n):n,e),{});return o.playsinline=!0,o},a_=(e,t,n,r)=>{if(!e.autoplay||!t.view.loaded)return!1;let{currentSpreadIndex:i}=e,{spreadIndex:a}=n,{spreadIndex:o}=r;return i===o?!1:(i=o,{playing:a===o&&!W.isVerticallyScrolling(t.readerSettings),currentSpreadIndex:i})},o_=e=>null;function s_({src:e,playing:t,controls:n,handleUpdatePlaying:r}){return e?(0,U.jsx)(`img`,{className:(0,K.default)(`bber-poster bber-poster--vimeo`,{"bber-visible":!t,"bber-controls":n}),onClick:r,src:e,alt:``}):null}var c_=e_.default,l_=[`autopause`];function u_(e){let t=(0,H.useContext)(_i),n=ah({useParentDimensions:!0,useElementOffsetLeft:e.useElementOffsetLeft}),[r,i]=(0,H.useState)(()=>{let{src:t,posterImage:n,aspectRatio:r}=e,[i,a]=r_(t),o=i_(n_(a),l_),{autoplay:s,...c}=o,{controls:l,muted:u,loop:d}=o;return{url:i,loop:fi(d,!1),muted:fi(u,!1),controls:fi(l,!0),playing:!1,autoplay:fi(s,!0),posterImage:n,playerOptions:{...c},currentSpreadIndex:null,aspectRatio:r}}),[a,o]=(0,H.useState)({spreadIndex:t?.spreadIndex,viewLoaded:n.view?.loaded});if(t?.spreadIndex!==a.spreadIndex||n.view?.loaded!==a.viewLoaded){o({spreadIndex:t?.spreadIndex,viewLoaded:n.view?.loaded});let e={view:n.view,readerSettings:n.readerSettings,spreadIndex:n.spreadIndex},a=a_(r,e,e,t);a&&i(e=>({...e,...a}))}let s=()=>i(e=>({...e,playing:!e.playing})),c=()=>i(e=>({...e,playing:!1})),l=()=>i(e=>({...e,playing:!1})),u=()=>{},d=()=>{},{url:f,loop:p,muted:m,controls:h,playing:g,posterImage:_,playerOptions:v}=r;return(0,U.jsxs)(`div`,{ref:n.elemRef,children:[(0,U.jsx)(s_,{src:_,playing:g,controls:h,handleUpdatePlaying:s}),(0,U.jsx)(c_,{url:f,width:`100%`,height:`100%`,loop:p,muted:m,playing:g,controls:h,playsinline:!0,config:{vimeo:{playerOptions:v}},onPause:c,onEnded:l}),(0,U.jsx)(o_,{handleUpdatePlaying:s,handleUpdatePosition:u,handleUpdateVolume:d})]},f)}var d_=H.createContext({left:0,layout:`columns`});d_.displayName=`SpreadContext`;var f_=30;function p_(e){let t=Fr(e=>e.readerSettings),n=Fr(e=>e.view),r=Fr(e=>e.viewerSettings),i=(0,H.useRef)(null),[a,o]=(0,H.useState)(0),s=(0,H.useId)(),c=(0,H.useRef)(r);c.current=r,(0,H.useEffect)(()=>{let e=null,t=()=>{let e=c.current,t=W.getPageWidth(e);if(!Number.isFinite(t)||t===0||!i.current)return null;let n=i.current.offsetLeft,r=(n-e.paddingLeft)/t;return{nextLeft:n,offset:Math.round(r*2)/2}},n=()=>{e!==null&&cancelAnimationFrame(e);let n=0,r=null,a=()=>{if(!i.current)return;let s=t();s&&(o(s.offset),s.nextLeft!==r&&(r=s.nextLeft,n+=1,n<f_&&(e=requestAnimationFrame(a))))};e=requestAnimationFrame(a)},r=new ResizeObserver(n);return i.current&&r.observe(i.current),n(),()=>{r.disconnect(),e!==null&&cancelAnimationFrame(e)}},[r.paddingLeft,r.paddingRight,r.columnGap,n.loaded,n.ultimateOffsetLeft]);let l=a%1==0,u=l?2:3,d=(0,H.useMemo)(()=>{let n=W.isVerticallyScrolling(t),i=0;if(!n){let e=W.getPageWidth(r);Number.isFinite(e)&&(i=l?Math.round(a)*e:(Math.floor(a)+1)*e)}return{left:i,layout:e.layout}},[a,l,r,t,e.layout]),f=na?.name,p=(0,H.useMemo)(()=>f===`safari`?{WebkitColumnBreakBefore:`always`,WebkitColumnBreakAfter:`always`,WebkitColumnBreakInside:`avoid`}:{},[f]),{height:m,paddingTop:h,paddingBottom:g}=r,_=(m-h-g)*u;return(0,U.jsx)(`div`,{id:s,ref:i,style:{...p,height:_},className:`bber-spread bber-spread-${l?`verso`:`recto`} ${e.className||``}`,"data-marker-reference":e[`data-marker-reference`],children:(0,U.jsx)(d_.Provider,{value:d,children:e.children})})}var m_=e=>{let{getTranslateX:t}=(0,H.useContext)(gi),{spreadIndex:n}=(0,H.useContext)(_i),{left:r}=(0,H.useContext)(d_),i=Math.abs(t(n)),a=Math.floor(r),o=window.innerWidth/2,s=i===a?0:i>a?o*-1:o;return(0,U.jsx)(`figure`,{id:e.id,style:{left:a,marginLeft:s},className:e.className||``,children:e.children})},h_=100,g_=3,__=2500;function v_({children:e}){let t=(0,H.useRef)(null),n=Fr(e=>e.view),r=Si(),i=xi(),a=(0,H.useRef)(r);a.current=r;let o=(0,H.useRef)(i);o.current=i;let s=(0,H.useRef)(!1),c=(0,H.useRef)(null),l=(0,H.useRef)(0),u=(0,H.useRef)(null),d=(0,H.useRef)(0),f=()=>{if(!s.current)return;s.current=!1;let e=t.current,n=e?e.offsetLeft:0;a.current.update({loaded:!0,ultimateOffsetLeft:n}),o.current.update({handleEvents:!0,spinnerVisible:!1})},p=()=>{u.current=setTimeout(()=>{if(!s.current)return;if(Date.now()-d.current>=__){f();return}let e=t.current;if(!e){p();return}let n=e.offsetLeft;n===c.current?(l.current+=1,l.current>=g_?f():p()):(c.current=n,l.current=0,p())},h_)},m=()=>{u.current&&=(clearTimeout(u.current),null),s.current=!0,c.current=null,l.current=0,d.current=Date.now(),typeof document<`u`&&document.fonts?.ready&&document.fonts.ready.then(()=>{s.current&&(c.current=null,l.current=0)}),p()};(0,H.useEffect)(()=>(m(),()=>{u.current&&clearTimeout(u.current)}),[]);let h=(0,H.useRef)(n.loaded);return(0,H.useEffect)(()=>{let e=h.current;h.current=n.loaded,e===!0&&n.loaded===!1&&m()},[n.loaded]),(0,U.jsx)(`span`,{ref:t,className:`bber-ultimate`,children:e})}var y_=()=>!0,b_=new rm.ProcessNodeDefinitions(H.default),x_=({requestedSpineItem:e})=>[{shouldProcessNode(e){return e?.attribs?.[`epub:type`]===`noteref`},processNode(t,n){let r=Kn(t.attribs),i=di(),a=an(e.absoluteURL,t.attribs.href);return H.createElement(Cm,{...r,key:i,href:a},n)}},{shouldProcessNode(e){return e.attribs?.href&&(!e.attribs?.[`epub:type`]||e.attribs?.[`epub:type`]!==`noteref`)},processNode(t,n){let r=Kn(t.attribs),i=di(),{href:a}=t.attribs;return Qt(t.attribs.href)&&(a=an(e.absoluteURL,t.attribs.href)),H.createElement(wm,{...r,key:i,href:a},n)}},{shouldProcessNode(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&Qt(e.attribs.src)},processNode(t){let n=Kn(t.attribs),r=di(),i=an(e.absoluteURL,t.attribs.src);return H.createElement(t.name,{...n,key:r,src:i})}},{shouldProcessNode(e){return e.name===`audio`},processNode(e,t){let n=Kn(e.attribs),{id:r,autoPlay:i}=n,a=mi(n),o=r,s=!1;return(0,Kr.default)(i)||(s=!0,delete n.autoPlay),H.createElement(zh,{...n,"data-autoplay":s,controls:a,key:o},t)}},{shouldProcessNode(e){return e.name===`video`},processNode(t,n){let r=Kn(t.attribs),{id:i,autoPlay:a}=r,o=mi(r),s=i,c=t.attribs.poster?an(e.absoluteURL,t.attribs.poster):null,l=!1;return(0,Kr.default)(a)||(l=!0,delete r.autoPlay),H.createElement(Hh,{...r,"data-autoplay":l,controls:o,key:s,poster:c},n)}},{shouldProcessNode(e){return e.name===`iframe`&&e.attribs[`data-vimeo`]},processNode(t,n){let r=Kn(t.attribs),i=di(),a=new Set([`16x9`,`4x3`]),o=null,s=new Map([[`x`,16],[`y`,9]]);if(t.attribs[`data-vimeo-poster`]&&(o=an(e.absoluteURL,t.attribs[`data-vimeo-poster`])),t.attribs[`data-aspect-ratio`]&&a.has(t.attribs[`data-aspect-ratio`])){let[e,n]=t.attribs[`data-aspect-ratio`].split(`x`).map(Number);s.set(`x`,e),s.set(`y`,n)}delete r[`data-vimeo`],delete r[`data-vimeo-poster`],delete r[`data-aspect-ratio`];let c=t.parent;for(;c;){if(c.type===`tag`&&c.attribs[`data-marker-reference-figure`]){r.useElementOffsetLeft=!1;break}c=c.parent}return H.createElement(u_,{...r,src:r.src,key:i,posterImage:o,aspectRatio:s},n)}},{shouldProcessNode(e){return e.name===`iframe`},processNode(e,t){let n=Kn(e.attribs),r=di(),i=!1,a=!0,o=e.parent;for(;o;){if(o.type===`tag`&&o.attribs[`data-marker-reference-figure`]){a=!1,i=!0;break}o=o.parent}return H.createElement(Bh,{useElementOffsetLeft:a,spreadLayout:i,attrs:n,key:r},t)}},{shouldProcessNode(e){return e.name===`image`&&e.attribs&&e.attribs[`xlink:href`]&&Qt(e.attribs[`xlink:href`])},processNode(t,n){let r=Kn(t.attribs),i=di(),a=an(e.absoluteURL,r.xlinkHref);return H.createElement(t.name,{...r,key:i,xlinkHref:a},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Gr.default)(e.attribs,`data-marker-reference-figure`)},processNode(e,t){let n=Kn(e.attribs),r=`spread-figure-${n[`data-marker-reference-figure`]}`;return H.createElement(m_,{...n,key:r},t)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Gr.default)(e.attribs,`data-ultimate`)},processNode(e,t){return H.createElement(v_,{key:di()},t)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Gr.default)(e.attribs,`data-marker-reference`)},processNode(e,t){let n=Kn(e.attribs),r=`spread-${n[`data-marker-reference`]}`;return H.createElement(p_,{...n,key:r},t)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Gr.default)(e.attribs,`data-marker`)},processNode(e,t){e.parent.attribs={...e.parent.attribs,style:`padding-bottom: 0; margin-bottom: 0`};let n=Kn(e.attribs),r=`marker-${n[`data-marker`]}`;return H.createElement(oh,{...n,key:r},t)}},{shouldProcessNode(){return!0},processNode:b_.processDefaultNode}];function S_(e){let t=e;return t=$t(t),t+=`/OPS`,t+=`/content.opf`,t=window.encodeURI(t),t}function C_(e){let t=e;return t=$t(t),t+=`/OPS`,t=window.encodeURI(t),t}function w_(e){return new Promise(t=>{let{elements:n}=JSON.parse(im.default.xml2json(e.data)).elements[0],r={};for(let e=0;e<n.length;e++)r[`__${n[e].name}`]=n[e];t(r)})}function T_(e,t){let{__manifest:n,__spine:r}=e;return new Promise(i=>{let{toc:a}=r.attributes;if(!a){i({...e,__ncx:null});return}let o=(0,Vt.default)(n.elements,e=>e.attributes.id===a);if(!o){i({...e,__ncx:null});return}let{href:s}=o.attributes;ln(rn(t,s)).then(({data:t})=>{i({...e,__ncx:JSON.parse(im.default.xml2json(t))})})})}function E_(e){let{__manifest:t,__spine:n,__ncx:r,__guide:i}=e;return new Promise(a=>{let o;if(o=n.elements.map(e=>{let{idref:n,linear:r}=e.attributes,a=(0,Vt.default)(t.elements,e=>e.attributes.id===n);if(!a||r!==`yes`)return null;let{id:o,href:s}=a.attributes,c=a.attributes[`media-type`],l=a.attributes.properties?a.attributes.properties.split(` `):[],u=(0,Vt.default)(i.elements,e=>e.attributes.href===s),d=``,f=``;return u&&({title:d}=u.attributes,f=Kt(d)),new lm({id:o,href:s,mediaType:c,properties:l,idref:n,linear:r,title:d,slug:f})}),o=o.filter(Boolean),r){let{elements:e}=r.elements[0];(0,Vt.default)(e,{name:`navMap`}).elements.forEach(e=>{A_(o,t,e)})}a({...e,spine:o})})}function D_(e){let{__guide:t}=e;return new Promise(n=>{if(!t.elements||!t.elements.length){n({...e,guide:[]});return}let r=t.elements.map(e=>{let{type:t,title:n,href:r}=e.attributes;return new om({type:t,title:n,href:r})});n({...e,guide:r})})}function O_(e,t){return new Promise(n=>{let{spine:r}=e;r.map(e=>e.absoluteURL=rn(t,e.href)),n({...e,spine:r})})}function k_(e,t){return new Promise(n=>{let{guide:r}=e;r.map(e=>e.absoluteURL=rn(t,e.href)),n({...e,guide:r})})}function A_(e,t,n,r=0,i=null){let a=(0,Vt.default)(n.elements,{name:`content`});if(!a)return;let{src:o}=a.attributes;o=Xt(o);let s=(0,Vt.default)(t.elements,e=>Xt(e.attributes.href)===o);if(!s)return console.error(`Could not find manifest item: ${o}`);let{id:c}=s.attributes,l=(0,Vt.default)(e,{id:c});if(!l)return console.error(`Can not find spine item: ${c}`);let u=(0,Vt.default)((0,Vt.default)((0,Vt.default)(n.elements,{name:`navLabel`}).elements,{name:`text`}).elements,{type:`text`}).text,d=Kt(u);l.title||l.set(`title`,u),l.slug||l.set(`slug`,d),l.set(`depth`,r),l.set(`inTOC`,!0),i&&i.addChild(l);let f=r+1;n.elements.forEach(n=>{A_(e,t,n,f,l)})}function j_(e){let{__metadata:t}=e,n=t.elements.filter(e=>/^dc:/.test(e.name)).map(e=>({[e.name.slice(3)]:e.elements[0].text}));return new Promise(t=>{let r=new am({});n.forEach((e,t)=>{let i=Object.keys(n[t]);(0,Gr.default)(r,i)&&r.set(i,e[i])}),t({...e,metadata:r})})}function M_(e,t,n){let r=``;return e.forEach(({base:e,data:i})=>{let a=rn(n,e),o=Ff(i);Gf(o,{enter:(e,n,r)=>{let i,o=Pd.createItem({name:t,type:`ClassSelector`}),s=Pd.createItem({type:`WhiteSpace`,value:` `});r&&e.type===`TypeSelector`&&e.name===`html`&&(e.name=t,e.type=`ClassSelector`),r&&e.type===`TypeSelector`&&e.name===`body`&&(e.name=`content`,e.type=`IdSelector`),r&&e.name!==t&&r.head.data.name!==t&&(e.type===`TypeSelector`||e.type===`IdSelector`||e.type===`ClassSelector`||e.type===`AttributeSelector`)&&(r.prepend(s),r.prepend(o)),e.type===`Url`&&(i=e.value.replace(/(?:^['"]+|['"]+$)/g,``),Qt(i)&&(i=rn(a,i),e.value=i))}}),r+=Md(o)}),r}async function N_(e){let{url:t}=e.request,{hash:n,opsURL:r,paddingLeft:i,columnGap:a}=e,o=new rm.Parser,{xml:s,doc:c}=new _m({paddingLeft:i,columnGap:a,responseURL:t}).parseXML(e.data),l=/<body[^>]*?>([\s\S]*)<\/body>/,u;u=s.match(l),u=u[1],u=u.replace(/>\s*?</g,`><`);let d=o.parseWithInstructions(u,y_,x_(e)),f=Array.from(c.querySelectorAll(`link`)),p=Array.from(c.querySelectorAll(`style`)),m=f.reduce((e,n)=>{if(n.rel!==`stylesheet`)return e;let r=nn(t),i=rn(r,en(n.getAttribute(`href`)));return e.concat({url:i,base:r})},[]).map(({url:e,base:t})=>new Promise(n=>{ln(e).then(e=>{n({base:t,data:e.data})})})),h=await Promise.all(m);return{bookContent:d,scopedCSS:M_(p.reduce((e,n)=>{let{textContent:r}=n;if(!r)return e;let i=nn(t);return e.concat({base:i,data:r})},h),`_${n}`,r)}}var P_=({propsRef:e,stateRef:t,setState:n,api:r})=>({createStateFromOPF:(0,H.useCallback)(async t=>{let{bookURL:r}=e.current.readerSettings,i=S_(r),a=C_(r),o,s,c;o=await ln(i),o=await w_(o),o=await T_(o,a),[s,c]=await Promise.all([D_(o),E_(o)]),o={...s,...c},[s,c]=await Promise.all([k_(o,a),O_(o,a)]),o={...s,...c},o=await j_(o),n({opsURL:a,...o},t)},[e,n]),showSpineItem:(0,H.useCallback)(()=>{let{spine:i,spreadIndex:a,currentSpineItemIndex:o}=t.current,{lastSpreadIndex:s}=e.current.view;if(!i)return console.warn(`showSpineItem: spine is not in state`);n({firstChapter:o===0,lastChapter:o===i.length-1,firstSpread:a===0,lastSpread:a===s},()=>{r.current.savePosition()})},[t,e,n,r]),loadSpineItem:(0,H.useCallback)(async(i,a)=>{let o=Hn(e.current.readerSettings.bookURL),s=i;if(s||([s]=t.current.spine),!s){console.warn(`loadSpineItem: called before spine was populated — skipping`);return}r.current.freeze();let c;try{let{cache:n,opsURL:r}=t.current,{data:i,request:a}=await ln(s.absoluteURL);c=await N_({data:i,hash:o,cache:n,opsURL:r,request:a,requestedSpineItem:s,paddingLeft:e.current.viewerSettings.paddingLeft,columnGap:e.current.viewerSettings.columnGap})}catch(t){console.error(t);let n=Jn()||{};delete n[o],Yn(n),e.current.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1});return}let{bookContent:l,scopedCSS:u}=c;e.current.contentActions.setContent({spineItemURL:s.absoluteURL,node:l}),Wn(u,o),n({currentSpineItem:s},()=>{r.current.updateQueryString(()=>{r.current.showSpineItem()})})},[e,t,n,r])}),F_=u(zt()),I_=({stateRef:e,propsRef:t,setState:n,api:r})=>({handlePageNavigation:(0,H.useCallback)(i=>{r.current.cancelResizeReposition();let{spreadIndex:a}=e.current,{lastSpreadIndex:o}=t.current.view,s=a+i;if(o<0&&s>o)return;if(s>o||s<0){let e=Math.sign(i);r.current.handleChapterNavigation(e);return}let c=s===0,l=s===o,u=s>a?1:-1;a=s,n({spreadIndex:a,firstSpread:c,lastSpread:l,spreadDelta:u,showSidebar:null},()=>{r.current.updateQueryString()})},[e,t,n,r]),handleChapterNavigation:(0,H.useCallback)(t=>{r.current.cancelResizeReposition();let{currentSpineItemIndex:i}=e.current,{spine:a}=e.current,o=i+t,s=o<0,c=o>a.length-1;if(s||c){n({firstChapter:s,lastChapter:c});return}i=o;let l=a[o];n({spreadIndex:0,currentSpineItem:l,currentSpineItemIndex:i,showSidebar:null,firstChapter:s,lastChapter:c,spreadDelta:t,chapterDelta:t},()=>{r.current.loadSpineItem(l),r.current.savePosition()})},[e,n,r]),navigateToSpreadByIndex:(0,H.useCallback)(e=>{n({spreadIndex:e},()=>r.current.updateQueryString())},[n,r]),navigateToElementById:(0,H.useCallback)(e=>{let i=document.querySelector(e);if(!i){console.warn(`Could not find element ${e}`);return}if(W.isVerticallyScrolling(t.current.readerSettings)){let e=(document.querySelector(`.bber-controls__header`)?.offsetHeight??0)+25,t=i.offsetTop-e;document.getElementById(`frame`)?.scrollTo(0,t)}let{paddingTop:a,paddingBottom:o,columnGap:s}=t.current.viewerSettings,c=window.innerHeight,l=Math.round(c-a-o),u=i.offsetLeft-s;n({spreadIndex:Math.floor(u/l/2)},()=>r.current.updateQueryString())},[t,n,r]),navigateToChapterByURL:(0,H.useCallback)(i=>{r.current.cancelResizeReposition();let{spine:a}=e.current,o=new window.URL(i),s=`${o.origin}${o.pathname}`,c=(0,F_.default)(a,{absoluteURL:s});if(c===e.current.currentSpineItemIndex)return r.current.closeSidebars();if(c<0){console.warn(`No spine item found for ${s}`);return}let l=a[c];t.current.userInterfaceActions.disablePageTransitions(),n({currentSpineItem:l,currentSpineItemIndex:c,spreadIndex:0},()=>{r.current.loadSpineItem(l),r.current.savePosition()})},[e,t,n,r]),getSpineItemByAbsoluteUrl:(0,H.useCallback)(t=>{let{spine:n}=e.current,r=new window.URL(t);return(0,F_.default)(n,{absoluteURL:`${r.origin}${r.pathname}`})},[e]),updateQueryString:(0,H.useCallback)(n=>{let{spreadIndex:r,currentSpineItem:i,currentSpineItemIndex:a}=e.current;if(!i)return;let{slug:o}=i,{searchParams:s}=t.current.readerLocation,c=new window.URLSearchParams(s);c.set(qt(t.current.readerSettings.searchParamKeys.slug),Jt(o)),c.set(qt(t.current.readerSettings.searchParamKeys.currentSpineItemIndex),Jt(a)),c.set(qt(t.current.readerSettings.searchParamKeys.spreadIndex),Jt(r));let l={searchParams:c.toString()};t.current.readerLocationActions.updateLocation(l),n&&n()},[e,t]),savePosition:(0,H.useCallback)(()=>{let{currentSpineItemIndex:n,spreadIndex:r}=e.current,{searchParamKeys:i}=t.current.readerSettings,a=new URLSearchParams;a.set(i.currentSpineItemIndex,String(n)),a.set(i.spreadIndex,String(r));let o={searchParams:a.toString()};t.current.readerLocationActions.updateLocalStorage(o)},[e,t])}),L_=({stateRef:e,propsRef:t,setState:n,api:r})=>{let i=(0,H.useCallback)(()=>{if(e.current.disableMobileResizeEvents)return;let n=new fm,r=W.isVerticallyScrolling(t.current.readerSettings);n.width=window.innerWidth,n.height=r?`auto`:window.innerHeight,t.current.viewerSettingsActions.update(n.get())},[e,t]),a=(0,H.useCallback)(()=>{if(e.current.disableMobileResizeEvents)return;let{spreadIndex:i}=e.current,{lastSpreadIndex:a}=t.current.view;r.current.freeze(),t.current.viewActions.unload();let o=0;i>0&&a>0&&(o=i/a),n({relativeSpreadPosition:o})},[e,t,n,r]),o=(0,H.useCallback)(()=>{if(e.current.disableMobileResizeEvents)return;let{relativeSpreadPosition:n}=e.current,{lastSpreadIndex:i}=t.current.view,a=Math.round(i*n);a=Math.max(0,Math.min(a,i)),r.current.navigateToSpreadByIndex(a)},[e,t,r]),s=(0,H.useMemo)(()=>(0,ta.default)(a,1e3,{leading:!0,trailing:!1}),[a]),c=(0,H.useMemo)(()=>(0,ta.default)(o,1e3,{leading:!1,trailing:!0}),[o]);return{handleResize:i,handleResizeStart:s,handleResizeEnd:c,cancelResizeReposition:(0,H.useCallback)(()=>{c.cancel()},[c]),removeResizeHandlers:(0,H.useCallback)(()=>{window.removeEventListener(`resize`,i),window.removeEventListener(`resize`,s),window.removeEventListener(`resize`,c),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,i),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,s),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,c)},[i,s,c]),addResizeHandlers:(0,H.useCallback)(()=>{window.addEventListener(`resize`,i),window.addEventListener(`resize`,s),window.addEventListener(`resize`,c),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,s),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,c)},[i,s,c])}};function R_(){let{spineItemURL:e,node:t}=Fr(e=>e.content);return(0,U.jsx)(`div`,{children:t},e)}function z_(e){let[t,n]=(0,H.useState)({__metadata:[],__spine:[],__guide:[],opsURL:``,spine:[],guide:[],metadata:[],currentSpineItem:null,currentSpineItemIndex:0,cache:e.cache,spreadIndex:0,chapterDelta:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,showSidebar:null,disableMobileResizeEvents:`ontouchstart`in document.documentElement}),r=Nr(),i=Fr(e=>e.readerSettings),a=Fr(e=>e.readerLocation),o=Fr(e=>e.view),s=Fr(e=>e.viewerSettings),c=xi(),l=Rr(),u=Si(),d=wi(),f=yi(),p=(0,H.useRef)(t);p.current=t;let m=(0,H.useRef)({...e,readerSettings:i,readerLocation:a,view:o,viewerSettings:s,userInterfaceActions:c,readerLocationActions:l,viewActions:u,viewerSettingsActions:d,contentActions:f});m.current={...e,readerSettings:i,readerLocation:a,view:o,viewerSettings:s,userInterfaceActions:c,readerLocationActions:l,viewActions:u,viewerSettingsActions:d,contentActions:f};let h=(0,H.useRef)([]);(0,H.useEffect)(()=>{h.current.length!==0&&h.current.splice(0).forEach(e=>{e?.()})});let g=(0,H.useCallback)((e,t)=>{t&&h.current.push(t),n(t=>{let n=typeof e==`function`?e(t):{...t,...e};return p.current=n,n})},[]),_=(0,H.useCallback)(()=>{g({showSidebar:null})},[g]),v=(0,H.useCallback)(()=>{m.current.viewActions.updateLastSpreadIndex(-1),m.current.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),g({showSidebar:null})},[g]),y=(0,H.useCallback)(e=>{g(t=>({...t,showSidebar:e===t.showSidebar?null:e}))},[g]),b=(0,H.useCallback)(e=>{let t=fi(e,p.current.spreadIndex),n=W.isVerticallyScrolling(m.current.readerSettings),r=0;return n||(r=W.getPageWidth(m.current.viewerSettings)*t*-1,r=r===0&&Math.sign(1/r)===-1?0:r),r},[]),x=(0,H.useCallback)(()=>{r.setState(e=>({readerSettings:{...e.readerSettings,bookURL:``}}))},[r]),S=(0,H.useCallback)(()=>{let{spine:e,currentSpineItemIndex:t}=p.current;return(0,Wr.default)(t)&&e?.[t]?.slug?e[t].slug:``},[]),C=(0,H.useRef)({}),w={stateRef:p,propsRef:m,setState:g,api:C},T=P_(w),E=I_(w),D=L_(w);C.current={setState:g,closeSidebars:_,freeze:v,handleSidebarButtonClick:y,getTranslateX:b,destroyReaderComponent:x,getSlug:S,...T,...E,...D};let O=(0,H.useRef)(!1),k=(0,H.useRef)(null);(0,H.useEffect)(()=>{O.current||(O.current=!0,m.current.userInterfaceActions.update({spinnerVisible:!0,handleEvents:!1}),C.current.createStateFromOPF(()=>{let{spine:e}=p.current,{readerSettings:t,readerLocation:n}=m.current,r=new URLSearchParams(n.searchParams),i=Number(r.get(t.searchParamKeys.currentSpineItemIndex)),a=e[i],o=Number(r.get(t.searchParamKeys.spreadIndex));if(k.current=Number.isFinite(o)&&o>0?o:null,a){g({currentSpineItem:a,currentSpineItemIndex:i,spreadIndex:0},()=>C.current.loadSpineItem(a));return}C.current.loadSpineItem()}))},[]),(0,H.useEffect)(()=>(C.current.addResizeHandlers(),()=>{C.current.removeResizeHandlers(),Gn(Hn(m.current.readerSettings.bookURL))}),[]);let A=(0,H.useRef)(a.searchParams);(0,H.useEffect)(()=>{let e=A.current,t=a.searchParams;if(A.current=t,t===e)return;let n=Yt(t),{searchParamKeys:r}=m.current.readerSettings,i=n[r.slug],o=Number(n[r.currentSpineItemIndex]),s=Number(n[r.spreadIndex]),c=Yt(e)[r.slug];if(c&&i&&c!==i){if(p.current.currentSpineItem?.slug!==i){let e=(0,Vt.default)(p.current.spine,{slug:i});C.current.loadSpineItem(e)}return}g({slug:i,currentSpineItemIndex:o,spreadIndex:s})},[a.searchParams]),(0,H.useEffect)(()=>{o.loaded&&o.lastSpreadIndex>-1&&p.current.chapterDelta<0&&g({chapterDelta:0},()=>C.current.navigateToSpreadByIndex(m.current.view.lastSpreadIndex))},[o.loaded,o.lastSpreadIndex]),(0,H.useEffect)(()=>{let e=k.current;if(e==null||!o.loaded||o.lastSpreadIndex<0)return;k.current=null;let t=Math.min(e,o.lastSpreadIndex);C.current.navigateToSpreadByIndex(t)},[o.loaded,o.lastSpreadIndex]);let j=(0,H.useMemo)(()=>({getTranslateX:e=>C.current.getTranslateX(e),navigateToChapterByURL:e=>C.current.navigateToChapterByURL(e),getSpineItemByAbsoluteUrl:e=>C.current.getSpineItemByAbsoluteUrl(e)}),[]),M=(0,H.useMemo)(()=>({lastSpread:t.lastSpread,spreadIndex:t.spreadIndex}),[t.lastSpread,t.spreadIndex]),{downloads:ee,uiOptions:N,layout:P,style:F,className:I}=e,{metadata:L,guide:R,spine:z,currentSpineItemIndex:B,showSidebar:te,spreadIndex:ne}=t,re=S();return(0,U.jsx)(Yi,{guide:R,spine:z,currentSpineItemIndex:B,metadata:L,showSidebar:te,spreadIndex:ne,lastSpreadIndex:o.lastSpreadIndex,handlePageNavigation:C.current.handlePageNavigation,destroyReaderComponent:x,handleChapterNavigation:C.current.handleChapterNavigation,handleSidebarButtonClick:y,navigateToChapterByURL:C.current.navigateToChapterByURL,downloads:ee,uiOptions:N,layout:P,children:(0,U.jsx)(gi.Provider,{value:j,children:(0,U.jsxs)(_i.Provider,{value:M,children:[(0,U.jsx)(pa,{slug:re,spreadIndex:ne,lastSpreadIndex:o.lastSpreadIndex,BookContent:R_,layout:P,view:o,style:F,className:I}),(0,U.jsx)(ha,{})]})})})}function B_(){let e=Nr(),t=Fr(e=>e.readerSettings),n=Fr(e=>e.readerLocation.searchParams),r=Rr(),i=t=>e.setState(e=>({readerSettings:{...e.readerSettings,...t}}));(0,H.useEffect)(()=>{(async()=>{let t=e.getSnapshot().readerSettings,{manifestURL:n,disableBodyStyles:a}=t,{bookURL:o,projectURL:s}=t,c=[];if(n&&o&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),a!==!0&&(document.body.style.setProperty(`-webkit-text-size-adjust`,`none`),document.body.style.setProperty(`touch-action`,`manipulation`),document.body.style.margin=`0`,document.body.style.padding=`0`),n)try{let{data:e}=await cn(n),{href:t}=e.resources.find(e=>e.type===`application/oebps-package+xml`);o=t.split(`/`).slice(0,-2).join(`/`),i({bookURL:o}),s||=n.slice(0,n.lastIndexOf(`/`))}catch(e){console.error(`Error loading Webpub manifest`,e)}o&&!s&&(s=o.split(`/`).slice(0,-2).join(`/`));try{c=(await un(s)).data}catch(e){console.warn(`Could not load books from API`,e)}let l=o.split(`/`).filter(Boolean).pop(),u=(0,Vt.default)(c,{id:l}),d={};u&&(d.layout=u.layout,d.downloads=u.downloads,d.uiOptions=u.ui_options),d.layout=t.layout||d.layout||`columns`,i({books:c,bookURL:o,projectURL:s,...d}),r.setInitialSearchParams()})()},[]);let{bookURL:a}=t;if(!n||!a)return null;let{style:o,className:s,...c}=t;return(0,U.jsx)(z_,{style:o,className:s,...c})}var V_=`4.0.0`;function H_(e){let t=e,n=new Set;return{getSnapshot:()=>t,subscribe:e=>(n.add(e),()=>{n.delete(e)}),setState:e=>{let r=typeof e==`function`?e(t):e;t={...t,...r};for(let e of n)e()}}}var U_={books:[],bookURL:``,downloads:[],projectURL:``,disableBodyStyles:!1,NavigationHeader:null,NavigationFooter:null,SidebarChapters:null,SidebarDownloads:null,SidebarMetadata:null,SidebarSettings:null,uiOptions:{navigation:{header_icons:{home:!0,toc:!0,downloads:!0,info:!0},footer_icons:{chapter:!0,page:!0}}},searchParamKeys:{slug:`slug`,currentSpineItemIndex:`currentSpineItemIndex`,spreadIndex:`spreadIndex`},locationState:Ir.QUERY_PARAMS,searchParams:``,style:{},className:``,cache:!0,layout:``},W_={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},G_={loaded:!1,ultimateOffsetLeft:0,lastSpreadIndex:0},K_={searchParams:``},q_={},J_={spineItemURL:``,node:null};function Y_(e={}){return{readerSettings:pi(JSON.parse(JSON.stringify(U_)),e),viewerSettings:new fm().get(),readerLocation:{...K_},markers:{...q_},view:{...G_},userInterface:{...W_},content:{...J_}}}(function(e,t){if(e.setImmediate)return;var n=1,r={},i=!1,a=e.document,o;function s(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];return r[n]={callback:e,args:t},o(n),n++}function c(e){delete r[e]}function l(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r);break}}function u(e){if(i)setTimeout(u,0,e);else{var t=r[e];if(t){i=!0;try{l(t)}finally{c(e),i=!1}}}}function d(){o=function(e){process.nextTick(function(){u(e)})}}function f(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}function p(){var t=`setImmediate$`+Math.random()+`$`,n=function(n){n.source===e&&typeof n.data==`string`&&n.data.indexOf(t)===0&&u(+n.data.slice(t.length))};e.addEventListener?e.addEventListener(`message`,n,!1):e.attachEvent(`onmessage`,n),o=function(n){e.postMessage(t+n,`*`)}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;u(t)},o=function(t){e.port2.postMessage(t)}}function h(){var e=a.documentElement;o=function(t){var n=a.createElement(`script`);n.onreadystatechange=function(){u(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function g(){o=function(e){setTimeout(u,0,e)}}var _=Object.getPrototypeOf&&Object.getPrototypeOf(e);_=_&&_.setTimeout?_:e,{}.toString.call(e.process)===`[object process]`?d():f()?p():e.MessageChannel?m():a&&`onreadystatechange`in a.createElement(`script`)?h():g(),_.setImmediate=s,_.clearImmediate=c})(typeof self>`u`?typeof global>`u`?void 0:global:self),s(((e,t)=>{var n=`bfred-it:object-fit-images`,r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i=typeof Image>`u`?{style:{"object-position":1}}:new Image,a=`object-fit`in i.style,o=`object-position`in i.style,s=`background-size`in i.style,c=typeof i.currentSrc==`string`,l=i.getAttribute,u=i.setAttribute,d=!1;function f(e,t){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='`+e+`' height='`+t+`'%3E%3C/svg%3E`}function p(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}}function m(e){for(var t=getComputedStyle(e).fontFamily,n,i={};(n=r.exec(t))!==null;)i[n[1]]=n[2];return i}function h(e,t,n){var r=f(t||1,n||0);l.call(e,`src`)!==r&&u.call(e,`src`,r)}function g(e,t){e.naturalWidth?t(e):setTimeout(g,100,e,t)}function _(e){var t=m(e),r=e[n];if(t[`object-fit`]=t[`object-fit`]||`fill`,!(!r.img&&(t[`object-fit`]===`fill`||!r.skipTest&&a&&!t[`object-position`]))){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,u.call(e,`data-ofi-src`,e.src),e.srcset&&u.call(e,`data-ofi-srcset`,e.srcset),h(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&=``;try{v(e)}catch{window.console&&console.warn(`https://bit.ly/ofi-old-browser`)}}p(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`])?g(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%`),g(r.img,function(t){h(e,t.naturalWidth,t.naturalHeight)})}}function v(e){var t={get:function(t){return e[n].img[t||`src`]},set:function(t,r){return e[n].img[r||`src`]=t,u.call(e,`data-ofi-`+r,t),_(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`)}})}function y(){function e(e,t){return e[n]&&e[n].img&&(t===`src`||t===`srcset`)?e[n].img:e}o||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return u.call(e(this,t),t,String(n))})}function b(e,t){var r=!d&&!e;if(t||={},e||=`img`,o&&!t.skipTest||!s)return!1;e===`img`?e=document.getElementsByTagName(`img`):typeof e==`string`?e=document.querySelectorAll(e):`length`in e||(e=[e]);for(var i=0;i<e.length;i++)e[i][n]=e[i][n]||{skipTest:t.skipTest},_(e[i]);r&&(document.body.addEventListener(`load`,function(e){e.target.tagName===`IMG`&&b(e.target,{skipTest:t.skipTest})},!0),d=!0,e=`img`),t.watchMQ&&window.addEventListener(`resize`,b.bind(null,e,{skipTest:t.skipTest}))}b.supportsObjectFit=a,b.supportsObjectPosition=o,y(),t.exports=b}))(),(function(e){var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&new t({a:1}).toString()===`a=1`,r=t&&new t(`s=%2B`).get(`s`)===`+`,i=`__URLSearchParams__`,a=s.prototype,o=!!(e.Symbol&&e.Symbol.iterator);if(t&&n&&r)return;function s(e){e||=``,(e instanceof URLSearchParams||e instanceof s)&&(e=e.toString()),this[i]=f(e)}a.append=function(e,t){p(this[i],e,t)},a.delete=function(e){delete this[i][e]},a.get=function(e){var t=this[i];return e in t?t[e][0]:null},a.getAll=function(e){var t=this[i];return e in t?t[e].slice(0):[]},a.has=function(e){return e in this[i]},a.set=function(e,t){this[i][e]=[``+t]},a.toString=function(){var e=this[i],t=[],n,r,a,o;for(r in e)for(a=l(r),n=0,o=e[r];n<o.length;n++)t.push(a+`=`+l(o[n]));return t.join(`&`)},e.URLSearchParams=r&&t&&!n&&e.Proxy?new Proxy(t,{construct:function(e,t){return new e(new s(t[0]).toString())}}):s;var c=e.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(e,t){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},c.sort=c.sort||function(){var e=f(this.toString()),t=[],n,r,i;for(n in e)t.push(n);for(t.sort(),r=0;r<t.length;r++)this.delete(t[r]);for(r=0;r<t.length;r++){var a=t[r],o=e[a];for(i=0;i<o.length;i++)this.append(a,o[i])}},c.keys=c.keys||function(){var e=[];return this.forEach(function(t,n){e.push(n)}),d(e)},c.values=c.values||function(){var e=[];return this.forEach(function(t){e.push(t)}),d(e)},c.entries=c.entries||function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),d(e)},o&&(c[e.Symbol.iterator]=c[e.Symbol.iterator]||c.entries);function l(e){var t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function u(e){return decodeURIComponent(e.replace(/\+/g,` `))}function d(t){var n={next:function(){var e=t.shift();return{done:e===void 0,value:e}}};return o&&(n[e.Symbol.iterator]=function(){return n}),n}function f(e){var t={};if(typeof e==`object`)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{e.indexOf(`?`)===0&&(e=e.slice(1));for(var r=e.split(`&`),i=0;i<r.length;i++){var a=r[i],o=a.indexOf(`=`);-1<o?p(t,u(a.slice(0,o)),u(a.slice(o+1))):a&&p(t,u(a),``)}}return t}function p(e,t,n){var r=typeof n==`string`?n:n!=null&&typeof n.toString==`function`?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}})(typeof global<`u`?global:typeof window<`u`?window:void 0);function X_(){return Date.now?Date.now():new Date().getTime()}function Z_(){let e=[`webkit`,`moz`],t=window;for(let n=0;n<e.length&&!window.requestAnimationFrame;++n){let r=e[n];t.requestAnimationFrame=t[`${r}RequestAnimationFrame`],t.cancelAnimationFrame=t[`${r}CancelAnimationFrame`]||t[`${r}CancelRequestAnimationFrame`]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let e=0;t.requestAnimationFrame=t=>{let n=X_(),r=Math.max(e+16,n);return setTimeout(()=>{t(e=r)},r-n)},t.cancelAnimationFrame=clearTimeout}}Z_();var Q_=()=>(0,U.jsx)(`meta`,{name:`generator`,content:`b-ber-react-reader: ${V_}`}),$_=(e={})=>{let[t]=(0,H.useState)(()=>H_(Y_(e)));return(0,U.jsxs)(Mr,{store:t,children:[(0,U.jsx)(Q_,{}),(0,U.jsx)(B_,{})]})},ev=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),tv=s(((e,t)=>{t.exports=ev()})),nv=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.1.0`})),rv=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=nv()})),iv=s((e=>{var t=tv(),n=p(),r=rv();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(o(e)!==e)throw Error(i(188))}function l(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return c(a),e;if(s===r)return c(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=s;break}if(u===r){l=!0,r=a,n=s;break}u=u.sibling}if(!l){for(u=s.child;u;){if(u===n){l=!0,n=s,r=a;break}if(u===r){l=!0,r=s,n=a;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function u(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=u(e),t!==null)return t;e=e.sibling}return null}var d=Object.assign,f=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.provider`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),D=Symbol.for(`react.activity`),O=Symbol.for(`react.memo_cache_sentinel`),k=Symbol.iterator;function A(e){return typeof e!=`object`||!e?null:(e=k&&e[k]||e[`@@iterator`],typeof e==`function`?e:null)}var j=Symbol.for(`react.client.reference`);function M(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===j?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case C:return`Suspense`;case w:return`SuspenseList`;case D:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case x:return(e.displayName||`Context`)+`.Provider`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case S:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return t=e.displayName||null,t===null?M(e.type)||`Memo`:t;case E:t=e._payload,e=e._init;try{return M(e(t))}catch{}}return null}var ee=Array.isArray,N=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},I=[],L=-1;function R(e){return{current:e}}function z(e){0>L||(e.current=I[L],I[L]=null,L--)}function B(e,t){L++,I[L]=e.current,e.current=t}var te=R(null),ne=R(null),re=R(null),ie=R(null);function ae(e,t){switch(B(re,t),B(ne,e),B(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Td(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Td(t),e=Ed(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}z(te),B(te,e)}function oe(){z(te),z(ne),z(re)}function se(e){e.memoizedState!==null&&B(ie,e);var t=te.current,n=Ed(t,e.type);t!==n&&(B(ne,e),B(te,n))}function ce(e){ne.current===e&&(z(te),z(ne)),ie.current===e&&(z(ie),Nf._currentValue=F)}var le=Object.prototype.hasOwnProperty,ue=t.unstable_scheduleCallback,de=t.unstable_cancelCallback,fe=t.unstable_shouldYield,V=t.unstable_requestPaint,pe=t.unstable_now,me=t.unstable_getCurrentPriorityLevel,he=t.unstable_ImmediatePriority,ge=t.unstable_UserBlockingPriority,_e=t.unstable_NormalPriority,ve=t.unstable_LowPriority,ye=t.unstable_IdlePriority,be=t.log,xe=t.unstable_setDisableYieldValue,Se=null,Ce=null;function we(e){if(typeof be==`function`&&xe(e),Ce&&typeof Ce.setStrictMode==`function`)try{Ce.setStrictMode(Se,e)}catch{}}var Te=Math.clz32?Math.clz32:Oe,Ee=Math.log,De=Math.LN2;function Oe(e){return e>>>=0,e===0?32:31-(Ee(e)/De|0)|0}var ke=256,Ae=4194304;function je(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Me(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=je(n))):i=je(o):i=je(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=je(n))):i=je(o)):i=je(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ne(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Pe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fe(){var e=ke;return ke<<=1,!(ke&4194048)&&(ke=256),e}function Ie(){var e=Ae;return Ae<<=1,!(Ae&62914560)&&(Ae=4194304),e}function Le(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Re(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ze(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Te(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Be(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Be(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Te(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&4194090}function Ve(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Te(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function He(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ue(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function We(){var e=P.p;return e===0?(e=window.event,e===void 0?32:Jf(e.type)):e}function Ge(e,t){var n=P.p;try{return P.p=e,t()}finally{P.p=n}}var Ke=Math.random().toString(36).slice(2),qe=`__reactFiber$`+Ke,Je=`__reactProps$`+Ke,Ye=`__reactContainer$`+Ke,Xe=`__reactEvents$`+Ke,Ze=`__reactListeners$`+Ke,Qe=`__reactHandles$`+Ke,$e=`__reactResources$`+Ke,et=`__reactMarker$`+Ke;function tt(e){delete e[qe],delete e[Je],delete e[Xe],delete e[Ze],delete e[Qe]}function nt(e){var t=e[qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ye]||n[qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Wd(e);e!==null;){if(n=e[qe])return n;e=Wd(e)}return t}e=n,n=e.parentNode}return null}function rt(e){if(e=e[qe]||e[Ye]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function it(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function at(e){var t=e[$e];return t||=e[$e]={hoistableStyles:new Map,hoistableScripts:new Map},t}function ot(e){e[et]=!0}var st=new Set,ct={};function lt(e,t){ut(e,t),ut(e+`Capture`,t)}function ut(e,t){for(ct[e]=t,e=0;e<t.length;e++)st.add(t[e])}var dt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),ft={},pt={};function mt(e){return le.call(pt,e)?!0:le.call(ft,e)?!1:dt.test(e)?pt[e]=!0:(ft[e]=!0,!1)}function ht(e,t,n){if(mt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function gt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function _t(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}var vt,yt;function bt(e){if(vt===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);vt=t&&t[1]||``,yt=-1<e.stack.indexOf(`
|
|
67
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
68
|
+
`+vt+e+yt}var xt=!1;function St(e,t){if(!e||xt)return``;xt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
69
|
+
`),l=s.split(`
|
|
70
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
71
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{xt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?bt(n):``}function Ct(e){switch(e.tag){case 26:case 27:case 5:return bt(e.type);case 16:return bt(`Lazy`);case 13:return bt(`Suspense`);case 19:return bt(`SuspenseList`);case 0:case 15:return St(e.type,!1);case 11:return St(e.type.render,!1);case 1:return St(e.type,!0);case 31:return bt(`Activity`);default:return``}}function wt(e){try{var t=``;do t+=Ct(e),e=e.return;while(e);return t}catch(e){return`
|
|
72
|
+
Error generating stack: `+e.message+`
|
|
73
|
+
`+e.stack}}function Tt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Et(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Dt(e){var t=Et(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ot(e){e._valueTracker||=Dt(e)}function kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Et(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function At(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var jt=/[\n"\\]/g;function Mt(e){return e.replace(jt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Nt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Tt(t)):e.value!==``+Tt(t)&&(e.value=``+Tt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Ft(e,o,Tt(n)):Ft(e,o,Tt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Tt(s):e.removeAttribute(`name`)}function Pt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null))return;n=n==null?``:``+Tt(n),t=t==null?n:``+Tt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o)}function Ft(e,t,n){t===`number`&&At(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function It(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Tt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Lt(e,t,n){if(t!=null&&(t=``+Tt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Tt(n)}function Rt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ee(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Tt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r)}function zt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function H(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Bt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Vt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&H(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&H(e,o,t[o])}function Ht(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Ut=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Wt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Gt(e){return Wt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var Kt=null;function qt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jt=null,Yt=null;function Xt(e){var t=rt(e);if(t&&(e=t.stateNode)){var n=e[Je]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Nt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Mt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Je]||null;if(!a)throw Error(i(90));Nt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&kt(r)}break a;case`textarea`:Lt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&It(e,!!n.multiple,t,!1)}}}var Zt=!1;function Qt(e,t,n){if(Zt)return e(t,n);Zt=!0;try{return e(t)}finally{if(Zt=!1,(Jt!==null||Yt!==null)&&(iu(),Jt&&(t=Jt,e=Yt,Yt=Jt=null,Xt(t),e)))for(t=0;t<e.length;t++)Xt(e[t])}}function $t(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Je]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var en=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),tn=!1;if(en)try{var nn={};Object.defineProperty(nn,"passive",{get:function(){tn=!0}}),window.addEventListener(`test`,nn,nn),window.removeEventListener(`test`,nn,nn)}catch{tn=!1}var rn=null,an=null,on=null;function sn(){if(on)return on;var e,t=an,n=t.length,r,i=`value`in rn?rn.value:rn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return on=i.slice(e,1<r?1-r:void 0)}function cn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ln(){return!0}function un(){return!1}function dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?ln:un,this.isPropagationStopped=un,this}return d(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=ln)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=ln)},persist:function(){},isPersistent:ln}),t}var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=dn(fn),mn=d({},fn,{view:0,detail:0}),hn=dn(mn),gn,_n,vn,yn=d({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==vn&&(vn&&e.type===`mousemove`?(gn=e.screenX-vn.screenX,_n=e.screenY-vn.screenY):_n=gn=0,vn=e),gn)},movementY:function(e){return`movementY`in e?e.movementY:_n}}),bn=dn(yn),xn=dn(d({},yn,{dataTransfer:0})),Sn=dn(d({},mn,{relatedTarget:0})),Cn=dn(d({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=dn(d({},fn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Tn=dn(d({},fn,{data:0})),En={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Dn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},On={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=On[e])?!!t[e]:!1}function An(){return kn}var jn=dn(d({},mn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=cn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Dn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return e.type===`keypress`?cn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?cn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Mn=dn(d({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=dn(d({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),Pn=dn(d({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=dn(d({},yn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),In=dn(d({},fn,{newState:0,oldState:0})),Ln=[9,13,27,32],Rn=en&&`CompositionEvent`in window,zn=null;en&&`documentMode`in document&&(zn=document.documentMode);var Bn=en&&`TextEvent`in window&&!zn,Vn=en&&(!Rn||zn&&8<zn&&11>=zn),Hn=` `,Un=!1;function Wn(e,t){switch(e){case`keyup`:return Ln.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Gn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Kn=!1;function qn(e,t){switch(e){case`compositionend`:return Gn(t);case`keypress`:return t.which===32?(Un=!0,Hn):null;case`textInput`:return e=t.data,e===Hn&&Un?null:e;default:return null}}function Jn(e,t){if(Kn)return e===`compositionend`||!Rn&&Wn(e,t)?(e=sn(),on=an=rn=null,Kn=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Vn&&t.locale!==`ko`?null:t.data;default:return null}}var Yn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Yn[e.type]:t===`textarea`}function Zn(e,t,n,r){Jt?Yt?Yt.push(r):Yt=[r]:Jt=r,t=ud(t,`onChange`),0<t.length&&(n=new pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Qn=null,$n=null;function er(e){rd(e,0)}function tr(e){if(kt(it(e)))return e}function nr(e,t){if(e===`change`)return t}var rr=!1;if(en){var ir;if(en){var ar=`oninput`in document;if(!ar){var or=document.createElement(`div`);or.setAttribute(`oninput`,`return;`),ar=typeof or.oninput==`function`}ir=ar}else ir=!1;rr=ir&&(!document.documentMode||9<document.documentMode)}function sr(){Qn&&(Qn.detachEvent(`onpropertychange`,cr),$n=Qn=null)}function cr(e){if(e.propertyName===`value`&&tr($n)){var t=[];Zn(t,$n,e,qt(e)),Qt(er,t)}}function lr(e,t,n){e===`focusin`?(sr(),Qn=t,$n=n,Qn.attachEvent(`onpropertychange`,cr)):e===`focusout`&&sr()}function ur(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return tr($n)}function dr(e,t){if(e===`click`)return tr(t)}function fr(e,t){if(e===`input`||e===`change`)return tr(t)}function pr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var mr=typeof Object.is==`function`?Object.is:pr;function hr(e,t){if(mr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!le.call(t,i)||!mr(e[i],t[i]))return!1}return!0}function gr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _r(e,t){var n=gr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=gr(n)}}function vr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=At(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=At(e.document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var xr=en&&`documentMode`in document&&11>=document.documentMode,Sr=null,Cr=null,wr=null,Tr=!1;function Er(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tr||Sr==null||Sr!==At(r)||(r=Sr,`selectionStart`in r&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),wr&&hr(wr,r)||(wr=r,r=ud(Cr,`onSelect`),0<r.length&&(t=new pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Sr)))}function Dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Or={animationend:Dr(`Animation`,`AnimationEnd`),animationiteration:Dr(`Animation`,`AnimationIteration`),animationstart:Dr(`Animation`,`AnimationStart`),transitionrun:Dr(`Transition`,`TransitionRun`),transitionstart:Dr(`Transition`,`TransitionStart`),transitioncancel:Dr(`Transition`,`TransitionCancel`),transitionend:Dr(`Transition`,`TransitionEnd`)},kr={},Ar={};en&&(Ar=document.createElement(`div`).style,`AnimationEvent`in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),`TransitionEvent`in window||delete Or.transitionend.transition);function U(e){if(kr[e])return kr[e];if(!Or[e])return e;var t=Or[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ar)return kr[e]=t[n];return e}var jr=U(`animationend`),Mr=U(`animationiteration`),Nr=U(`animationstart`),Pr=U(`transitionrun`),Fr=U(`transitionstart`),Ir=U(`transitioncancel`),Lr=U(`transitionend`),Rr=new Map,zr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);zr.push(`scrollEnd`);function Br(e,t){Rr.set(e,t),lt(t,[e])}var Vr=new WeakMap;function Hr(e,t){if(typeof e==`object`&&e){var n=Vr.get(e);return n===void 0?(t={value:e,source:t,stack:wt(t)},Vr.set(e,t),t):n}return{value:e,source:t,stack:wt(t)}}var Ur=[],Wr=0,Gr=0;function Kr(){for(var e=Wr,t=Gr=Wr=0;t<e;){var n=Ur[t];Ur[t++]=null;var r=Ur[t];Ur[t++]=null;var i=Ur[t];Ur[t++]=null;var a=Ur[t];if(Ur[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Xr(n,i,a)}}function qr(e,t,n,r){Ur[Wr++]=e,Ur[Wr++]=t,Ur[Wr++]=n,Ur[Wr++]=r,Gr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Jr(e,t,n,r){return qr(e,t,n,r),Zr(e)}function Yr(e,t){return qr(e,null,null,t),Zr(e)}function Xr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Te(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Zr(e){if(50<Yl)throw Yl=0,Xl=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qr={};function $r(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ei(e,t,n,r){return new $r(e,t,n,r)}function ti(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ni(e,t){var n=e.alternate;return n===null?(n=ei(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ri(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ii(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ti(e)&&(s=1);else if(typeof e==`string`)s=Cf(e,n,te.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case D:return e=ei(31,n,t,a),e.elementType=D,e.lanes=o,e;case g:return ai(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=ei(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case C:return e=ei(13,n,t,a),e.elementType=C,e.lanes=o,e;case w:return e=ei(19,n,t,a),e.elementType=w,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case y:case x:s=10;break a;case b:s=9;break a;case S:s=11;break a;case T:s=14;break a;case E:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ei(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ai(e,t,n,r){return e=ei(7,e,r,t),e.lanes=n,e}function oi(e,t,n){return e=ei(6,e,null,t),e.lanes=n,e}function si(e,t,n){return t=ei(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ci=[],li=0,ui=null,di=0,fi=[],pi=0,mi=null,W=1,hi=``;function gi(e,t){ci[li++]=di,ci[li++]=ui,ui=e,di=t}function _i(e,t,n){fi[pi++]=W,fi[pi++]=hi,fi[pi++]=mi,mi=e;var r=W;e=hi;var i=32-Te(r)-1;r&=~(1<<i),n+=1;var a=32-Te(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,W=1<<32-Te(t)+i|n<<i|r,hi=a+e}else W=1<<a|n<<i|r,hi=e}function vi(e){e.return!==null&&(gi(e,1),_i(e,1,0))}function yi(e){for(;e===ui;)ui=ci[--li],ci[li]=null,di=ci[--li],ci[li]=null;for(;e===mi;)mi=fi[--pi],fi[pi]=null,hi=fi[--pi],fi[pi]=null,W=fi[--pi],fi[pi]=null}var bi=null,xi=null,G=!1,Si=null,Ci=!1,wi=Error(i(519));function Ti(e){throw ji(Hr(Error(i(418,``)),e)),wi}function Ei(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[qe]=e,t[Je]=r,n){case`dialog`:$(`cancel`,t),$(`close`,t);break;case`iframe`:case`object`:case`embed`:$(`load`,t);break;case`video`:case`audio`:for(n=0;n<td.length;n++)$(td[n],t);break;case`source`:$(`error`,t);break;case`img`:case`image`:case`link`:$(`error`,t),$(`load`,t);break;case`details`:$(`toggle`,t);break;case`input`:$(`invalid`,t),Pt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),Ot(t);break;case`select`:$(`invalid`,t);break;case`textarea`:$(`invalid`,t),Rt(t,r.value,r.defaultValue,r.children),Ot(t)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||gd(t.textContent,n)?(r.popover!=null&&($(`beforetoggle`,t),$(`toggle`,t)),r.onScroll!=null&&$(`scroll`,t),r.onScrollEnd!=null&&$(`scrollend`,t),r.onClick!=null&&(t.onclick=_d),t=!0):t=!1,t||Ti(e)}function Di(e){for(bi=e.return;bi;)switch(bi.tag){case 5:case 13:Ci=!1;return;case 27:case 3:Ci=!0;return;default:bi=bi.return}}function Oi(e){if(e!==bi)return!1;if(!G)return Di(e),G=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Dd(e.type,e.memoizedProps)),n=!n),n&&xi&&Ti(e),Di(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n===`/$`){if(t===0){xi=Hd(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++;e=e.nextSibling}xi=null}}else t===27?(t=xi,Fd(e.type)?(e=Ud,Ud=null,xi=e):xi=t):xi=bi?Hd(e.stateNode.nextSibling):null;return!0}function ki(){xi=bi=null,G=!1}function Ai(){var e=Si;return e!==null&&(Il===null?Il=e:Il.push.apply(Il,e),Si=null),e}function ji(e){Si===null?Si=[e]:Si.push(e)}var Mi=R(null),Ni=null,Pi=null;function Fi(e,t,n){B(Mi,t._currentValue),t._currentValue=n}function Ii(e){e._currentValue=Mi.current,z(Mi)}function Li(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ri(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Li(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Li(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function zi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;mr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ie.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[Nf]:e.push(Nf))}a=a.return}e!==null&&Ri(t,e,n,r),t.flags|=262144}function Bi(e){for(e=e.firstContext;e!==null;){if(!mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Vi(e){Ni=e,Pi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function K(e){return Ui(Ni,e)}function Hi(e,t){return Ni===null&&Vi(e),Ui(e,t)}function Ui(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Pi===null){if(e===null)throw Error(i(308));Pi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Pi=Pi.next=t;return n}var Wi=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Gi=t.unstable_scheduleCallback,Ki=t.unstable_NormalPriority,qi={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ji(){return{controller:new Wi,data:new Map,refCount:0}}function Yi(e){e.refCount--,e.refCount===0&&Gi(Ki,function(){e.controller.abort()})}var Xi=null,Zi=0,Qi=0,$i=null;function ea(e,t){if(Xi===null){var n=Xi=[];Zi=0,Qi=Yu(),$i={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Zi++,t.then(ta,ta),t}function ta(){if(--Zi===0&&Xi!==null){$i!==null&&($i.status=`fulfilled`);var e=Xi;Xi=null,Qi=0,$i=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function na(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ra=N.S;N.S=function(e,t){typeof t==`object`&&t&&typeof t.then==`function`&&ea(e,t),ra!==null&&ra(e,t)};var ia=R(null);function aa(){var e=ia.current;return e===null?Cl.pooledCache:e}function oa(e,t){t===null?B(ia,ia.current):B(ia,t.pool)}function sa(){var e=aa();return e===null?null:{parent:qi._currentValue,pool:e}}var ca=Error(i(460)),la=Error(i(474)),ua=Error(i(542)),da={then:function(){}};function fa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function pa(){}function ma(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(pa,pa),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,_a(e),e;default:if(typeof t.status==`string`)t.then(pa,pa);else{if(e=Cl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,_a(e),e}throw ha=t,ca}}var ha=null;function ga(){if(ha===null)throw Error(i(459));var e=ha;return ha=null,e}function _a(e){if(e===ca||e===ua)throw Error(i(483))}var va=!1;function ya(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ba(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Sa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Y&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Zr(e),Xr(e,null,n),t}return qr(e,r,t,n),Zr(e)}function Ca(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ve(e,n)}}function wa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ta=!1;function Ea(){if(Ta){var e=$i;if(e!==null)throw e}}function Da(e,t,n,r){Ta=!1;var i=e.updateQueue;va=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var f=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Z&p)===p:(r&p)===p){p!==0&&p===Qi&&(Ta=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){f=h.call(_,f,p);break a}f=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,f,p):h,p==null)break a;f=d({},f,p);break a;case 2:va=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=f):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=f),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Al|=o,e.lanes=o,e.memoizedState=f}}function Oa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function ka(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Oa(n[e],t)}var Aa=R(null),ja=R(0);function Ma(e,t){e=Ol,B(ja,e),B(Aa,t),Ol=e|t.baseLanes}function Na(){B(ja,Ol),B(Aa,Aa.current)}function Pa(){Ol=ja.current,z(Aa),z(ja)}var Fa=0,q=null,J=null,Ia=null,La=!1,Ra=!1,za=!1,Ba=0,Va=0,Ha=null,Ua=0;function Wa(){throw Error(i(321))}function Ga(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mr(e[n],t[n]))return!1;return!0}function Ka(e,t,n,r,i,a){return Fa=a,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,N.H=e===null||e.memoizedState===null?ls:us,za=!1,a=n(r,i),za=!1,Ra&&(a=Ja(t,n,r,i)),qa(e),a}function qa(e){N.H=cs;var t=J!==null&&J.next!==null;if(Fa=0,Ia=J=q=null,La=!1,Va=0,Ha=null,t)throw Error(i(300));e===null||Gs||(e=e.dependencies,e!==null&&Bi(e)&&(Gs=!0))}function Ja(e,t,n,r){q=e;var a=0;do{if(Ra&&(Ha=null),Va=0,Ra=!1,25<=a)throw Error(i(301));if(a+=1,Ia=J=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=ds,o=t(n,r)}while(Ra);return o}function Ya(){var e=N.H,t=e.useState()[0];return t=typeof t.then==`function`?no(t):t,e=e.useState()[0],(J===null?null:J.memoizedState)!==e&&(q.flags|=1024),t}function Xa(){var e=Ba!==0;return Ba=0,e}function Za(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Qa(e){if(La){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}La=!1}Fa=0,Ia=J=q=null,Ra=!1,Va=Ba=0,Ha=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ia===null?q.memoizedState=Ia=e:Ia=Ia.next=e,Ia}function eo(){if(J===null){var e=q.alternate;e=e===null?null:e.memoizedState}else e=J.next;var t=Ia===null?q.memoizedState:Ia.next;if(t!==null)Ia=t,J=e;else{if(e===null)throw q.alternate===null?Error(i(467)):Error(i(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},Ia===null?q.memoizedState=Ia=e:Ia=Ia.next=e}return Ia}function to(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function no(e){var t=Va;return Va+=1,Ha===null&&(Ha=[]),e=ma(Ha,e,t),t=q,(Ia===null?t.memoizedState:Ia.next)===null&&(t=t.alternate,N.H=t===null||t.memoizedState===null?ls:us),e}function ro(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return no(e);if(e.$$typeof===x)return K(e)}throw Error(i(438,String(e)))}function io(e){var t=null,n=q.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=q.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=to(),q.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=O;return t.index++,n}function ao(e,t){return typeof t==`function`?t(e):t}function oo(e){return so(eo(),J,e)}function so(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Fa&f)===f:(Z&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Qi&&(d=!0);else if((Fa&p)===p){u=u.next,p===Qi&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,q.lanes|=p,Al|=p;f=u.action,za&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,q.lanes|=f,Al|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!mr(o,e.memoizedState)&&(Gs=!0,d&&(n=$i,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function co(e){var t=eo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);mr(o,t.memoizedState)||(Gs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function lo(e,t,n){var r=q,a=eo(),o=G;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!mr((J||a).memoizedState,n);if(s&&(a.memoizedState=n,Gs=!0),a=a.queue,Po(2048,8,po.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||Ia!==null&&Ia.memoizedState.tag&1){if(r.flags|=2048,Ao(9,jo(),fo.bind(null,r,a,n,t),null),Cl===null)throw Error(i(349));o||Fa&124||uo(r,t,n)}return n}function uo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=q.updateQueue,t===null?(t=to(),q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function fo(e,t,n,r){t.value=n,t.getSnapshot=r,mo(t)&&ho(e)}function po(e,t,n){return n(function(){mo(t)&&ho(e)})}function mo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!mr(e,n)}catch{return!0}}function ho(e){var t=Yr(e,2);t!==null&&$l(t,e,2)}function go(e){var t=$a();if(typeof e==`function`){var n=e;if(e=n(),za){we(!0);try{n()}finally{we(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ao,lastRenderedState:e},t}function _o(e,t,n,r){return e.baseState=n,so(e,J,typeof r==`function`?r:ao)}function vo(e,t,n,r,a){if(as(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};N.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,yo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function yo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=N.T,o={};N.T=o;try{var s=n(i,r),c=N.S;c!==null&&c(o,s),bo(e,t,s)}catch(n){So(e,t,n)}finally{N.T=a}}else try{a=n(i,r),bo(e,t,a)}catch(n){So(e,t,n)}}function bo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){xo(e,t,n)},function(n){return So(e,t,n)}):xo(e,t,n)}function xo(e,t,n){t.status=`fulfilled`,t.value=n,Co(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,yo(e,n)))}function So(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Co(t),t=t.next;while(t!==r)}e.action=null}function Co(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function wo(e,t){return t}function To(e,t){if(G){var n=Cl.formState;if(n!==null){a:{var r=q;if(G){if(xi){b:{for(var i=xi,a=Ci;i.nodeType!==8;){if(!a){i=null;break b}if(i=Hd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){xi=Hd(i.nextSibling),r=i.data===`F!`;break a}}Ti(r)}r=!1}r&&(t=n[0])}}return n=$a(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:t},n.queue=r,n=ns.bind(null,q,r),r.dispatch=n,r=go(!1),a=is.bind(null,q,!1,r.queue),r=$a(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=vo.bind(null,q,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Eo(e){return Do(eo(),J,e)}function Do(e,t,n){if(t=so(e,t,wo)[0],e=oo(ao)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=no(t)}catch(e){throw e===ca?ua:e}else r=t;t=eo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(q.flags|=2048,Ao(9,jo(),Oo.bind(null,i,n),null)),[r,a,e]}function Oo(e,t){e.action=t}function ko(e){var t=eo(),n=J;if(n!==null)return Do(t,n,e);eo(),t=t.memoizedState,n=eo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ao(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=q.updateQueue,t===null&&(t=to(),q.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function jo(){return{destroy:void 0,resource:void 0}}function Mo(){return eo().memoizedState}function No(e,t,n,r){var i=$a();r=r===void 0?null:r,q.flags|=e,i.memoizedState=Ao(1|t,jo(),n,r)}function Po(e,t,n,r){var i=eo();r=r===void 0?null:r;var a=i.memoizedState.inst;J!==null&&r!==null&&Ga(r,J.memoizedState.deps)?i.memoizedState=Ao(t,a,n,r):(q.flags|=e,i.memoizedState=Ao(1|t,a,n,r))}function Fo(e,t){No(8390656,8,e,t)}function Io(e,t){Po(2048,8,e,t)}function Lo(e,t){return Po(4,2,e,t)}function Ro(e,t){return Po(4,4,e,t)}function zo(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Bo(e,t,n){n=n==null?null:n.concat([e]),Po(4,4,zo.bind(null,t,e),n)}function Vo(){}function Ho(e,t){var n=eo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Ga(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Uo(e,t){var n=eo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Ga(t,r[1]))return r[0];if(r=e(),za){we(!0);try{e()}finally{we(!1)}}return n.memoizedState=[r,t],r}function Wo(e,t,n){return n===void 0||Fa&1073741824?e.memoizedState=t:(e.memoizedState=n,e=Ql(),q.lanes|=e,Al|=e,n)}function Go(e,t,n,r){return mr(n,t)?n:Aa.current===null?Fa&42?(e=Ql(),q.lanes|=e,Al|=e,t):(Gs=!0,e.memoizedState=n):(e=Wo(e,n,r),mr(e,t)||(Gs=!0),e)}function Ko(e,t,n,r,i){var a=P.p;P.p=a!==0&&8>a?a:8;var o=N.T,s={};N.T=s,is(e,!1,t,n);try{var c=i(),l=N.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?rs(e,t,na(c,r),Zl(e)):rs(e,t,r,Zl(e))}catch(n){rs(e,t,{then:function(){},status:`rejected`,reason:n},Zl())}finally{P.p=a,N.T=o}}function qo(){}function Jo(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Yo(e).queue;Ko(e,a,t,F,n===null?qo:function(){return Xo(e),n(r)})}function Yo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ao,lastRenderedState:F},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ao,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xo(e){var t=Yo(e).next.queue;rs(e,t,{},Zl())}function Zo(){return K(Nf)}function Qo(){return eo().memoizedState}function $o(){return eo().memoizedState}function es(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Zl();e=xa(n);var r=Sa(t,e,n);r!==null&&($l(r,t,n),Ca(r,t,n)),t={cache:Ji()},e.payload=t;return}t=t.return}}function ts(e,t,n){var r=Zl();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},as(e)?os(t,n):(n=Jr(e,t,n,r),n!==null&&($l(n,e,r),ss(n,t,r)))}function ns(e,t,n){rs(e,t,n,Zl())}function rs(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(as(e))os(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,mr(s,o))return qr(e,t,i,0),Cl===null&&Kr(),!1}catch{}if(n=Jr(e,t,i,r),n!==null)return $l(n,e,r),ss(n,t,r),!0}return!1}function is(e,t,n,r){if(r={lane:2,revertLane:Yu(),action:r,hasEagerState:!1,eagerState:null,next:null},as(e)){if(t)throw Error(i(479))}else t=Jr(e,n,r,2),t!==null&&$l(t,e,2)}function as(e){var t=e.alternate;return e===q||t!==null&&t===q}function os(e,t){Ra=La=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ss(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ve(e,n)}}var cs={readContext:K,use:ro,useCallback:Wa,useContext:Wa,useEffect:Wa,useImperativeHandle:Wa,useLayoutEffect:Wa,useInsertionEffect:Wa,useMemo:Wa,useReducer:Wa,useRef:Wa,useState:Wa,useDebugValue:Wa,useDeferredValue:Wa,useTransition:Wa,useSyncExternalStore:Wa,useId:Wa,useHostTransitionStatus:Wa,useFormState:Wa,useActionState:Wa,useOptimistic:Wa,useMemoCache:Wa,useCacheRefresh:Wa},ls={readContext:K,use:ro,useCallback:function(e,t){return $a().memoizedState=[e,t===void 0?null:t],e},useContext:K,useEffect:Fo,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),No(4194308,4,zo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){No(4,2,e,t)},useMemo:function(e,t){var n=$a();t=t===void 0?null:t;var r=e();if(za){we(!0);try{e()}finally{we(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$a();if(n!==void 0){var i=n(t);if(za){we(!0);try{n(t)}finally{we(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ts.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=$a();return e={current:e},t.memoizedState=e},useState:function(e){e=go(e);var t=e.queue,n=ns.bind(null,q,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Vo,useDeferredValue:function(e,t){return Wo($a(),e,t)},useTransition:function(){var e=go(!1);return e=Ko.bind(null,q,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=q,a=$a();if(G){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Cl===null)throw Error(i(349));Z&124||uo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Fo(po.bind(null,r,o,e),[e]),r.flags|=2048,Ao(9,jo(),fo.bind(null,r,o,n,t),null),n},useId:function(){var e=$a(),t=Cl.identifierPrefix;if(G){var n=hi,r=W;n=(r&~(1<<32-Te(r)-1)).toString(32)+n,t=`«`+t+`R`+n,n=Ba++,0<n&&(t+=`H`+n.toString(32)),t+=`»`}else n=Ua++,t=`«`+t+`r`+n.toString(32)+`»`;return e.memoizedState=t},useHostTransitionStatus:Zo,useFormState:To,useActionState:To,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=is.bind(null,q,!0,n),n.dispatch=t,[e,t]},useMemoCache:io,useCacheRefresh:function(){return $a().memoizedState=es.bind(null,q)}},us={readContext:K,use:ro,useCallback:Ho,useContext:K,useEffect:Io,useImperativeHandle:Bo,useInsertionEffect:Lo,useLayoutEffect:Ro,useMemo:Uo,useReducer:oo,useRef:Mo,useState:function(){return oo(ao)},useDebugValue:Vo,useDeferredValue:function(e,t){return Go(eo(),J.memoizedState,e,t)},useTransition:function(){var e=oo(ao)[0],t=eo().memoizedState;return[typeof e==`boolean`?e:no(e),t]},useSyncExternalStore:lo,useId:Qo,useHostTransitionStatus:Zo,useFormState:Eo,useActionState:Eo,useOptimistic:function(e,t){return _o(eo(),J,e,t)},useMemoCache:io,useCacheRefresh:$o},ds={readContext:K,use:ro,useCallback:Ho,useContext:K,useEffect:Io,useImperativeHandle:Bo,useInsertionEffect:Lo,useLayoutEffect:Ro,useMemo:Uo,useReducer:co,useRef:Mo,useState:function(){return co(ao)},useDebugValue:Vo,useDeferredValue:function(e,t){var n=eo();return J===null?Wo(n,e,t):Go(n,J.memoizedState,e,t)},useTransition:function(){var e=co(ao)[0],t=eo().memoizedState;return[typeof e==`boolean`?e:no(e),t]},useSyncExternalStore:lo,useId:Qo,useHostTransitionStatus:Zo,useFormState:ko,useActionState:ko,useOptimistic:function(e,t){var n=eo();return J===null?(n.baseState=e,[e,n.queue.dispatch]):_o(n,J,e,t)},useMemoCache:io,useCacheRefresh:$o},fs=null,ps=0;function ms(e){var t=ps;return ps+=1,fs===null&&(fs=[]),ma(fs,e,t)}function hs(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function gs(e,t){throw t.$$typeof===f?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function _s(e){var t=e._init;return t(e._payload)}function vs(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ni(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=oi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===E&&_s(i)===t.type)?(t=a(t,n.props),hs(t,n),t.return=e,t):(t=ii(n.type,n.key,n.props,null,e.mode,r),hs(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=si(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ai(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=oi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=ii(t.type,t.key,t.props,null,e.mode,n),hs(n,t),n.return=e,n;case h:return t=si(t,e.mode,n),t.return=e,t;case E:var r=t._init;return t=r(t._payload),f(e,t,n)}if(ee(t)||A(t))return t=ai(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ms(t),n);if(t.$$typeof===x)return f(e,Hi(e,t),n);gs(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case E:return i=n._init,n=i(n._payload),p(e,t,n,r)}if(ee(n)||A(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ms(n),r);if(n.$$typeof===x)return p(e,t,Hi(e,n),r);gs(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case E:var a=r._init;return r=a(r._payload),_(e,t,n,r,i)}if(ee(r)||A(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,ms(r),i);if(r.$$typeof===x)return _(e,t,n,Hi(t,r),i);gs(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),G&&gi(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return G&&gi(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),G&&gi(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),G&&gi(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return G&&gi(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),G&&gi(a,h),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&_s(l)===r.type){n(e,r.sibling),c=a(r,o.props),hs(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===g?(c=ai(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ii(o.type,o.key,o.props,null,e.mode,c),hs(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=si(o,e.mode,c),c.return=e,e=c}return s(e);case E:return l=o._init,o=l(o._payload),b(e,r,o,c)}if(ee(o))return v(e,r,o,c);if(A(o)){if(l=A(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ms(o),c);if(o.$$typeof===x)return b(e,r,Hi(e,o),c);gs(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=oi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{ps=0;var i=b(e,t,n,r);return fs=null,i}catch(t){if(t===ca||t===ua)throw t;var a=ei(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ys=vs(!0),bs=vs(!1),xs=R(null),Ss=null;function Cs(e){var t=e.alternate;B(Ds,Ds.current&1),B(xs,e),Ss===null&&(t===null||Aa.current!==null||t.memoizedState!==null)&&(Ss=e)}function ws(e){if(e.tag===22){if(B(Ds,Ds.current),B(xs,e),Ss===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ss=e)}}else Ts(e)}function Ts(){B(Ds,Ds.current),B(xs,xs.current)}function Es(e){z(xs),Ss===e&&(Ss=null),z(Ds)}var Ds=R(0);function Os(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||Bd(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:d({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var As={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zl(),i=xa(r);i.payload=t,n!=null&&(i.callback=n),t=Sa(e,i,r),t!==null&&($l(t,e,r),Ca(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zl(),i=xa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Sa(e,i,r),t!==null&&($l(t,e,r),Ca(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zl(),r=xa(n);r.tag=2,t!=null&&(r.callback=t),t=Sa(e,r,n),t!==null&&($l(t,e,n),Ca(t,e,n))}};function js(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!hr(n,r)||!hr(i,a):!0}function Ms(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&As.enqueueReplaceState(t,t.state,null)}function Ns(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=d({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}var Ps=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function Fs(e){Ps(e)}function Is(e){console.error(e)}function Ls(e){Ps(e)}function Rs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function zs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Bs(e,t,n){return n=xa(n),n.tag=3,n.payload={element:null},n.callback=function(){Rs(e,t)},n}function Vs(e){return e=xa(e),e.tag=3,e}function Hs(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){zs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){zs(t,n,r),typeof i!=`function`&&(Vl===null?Vl=new Set([this]):Vl.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Us(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&zi(t,n,a,!0),n=xs.current,n!==null){switch(n.tag){case 13:return Ss===null?uu():n.alternate===null&&kl===0&&(kl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===da?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),ku(e,r,a)),!1;case 22:return n.flags|=65536,r===da?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),ku(e,r,a)),!1}throw Error(i(435,n.tag))}return ku(e,r,a),uu(),!1}if(G)return t=xs.current,t===null?(r!==wi&&(t=Error(i(423),{cause:r}),ji(Hr(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Hr(r,n),a=Bs(e.stateNode,r,a),wa(e,a),kl!==4&&(kl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==wi&&(e=Error(i(422),{cause:r}),ji(Hr(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Hr(o,n),Fl===null?Fl=[o]:Fl.push(o),kl!==4&&(kl=2),t===null)return!0;r=Hr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Bs(n.stateNode,r,e),wa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(Vl===null||!Vl.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Vs(a),Hs(a,e,n,r),wa(n,a),!1}n=n.return}while(n!==null);return!1}var Ws=Error(i(461)),Gs=!1;function Ks(e,t,n,r){t.child=e===null?bs(t,null,n,r):ys(t,e.child,n,r)}function qs(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Vi(t),r=Ka(e,t,n,o,a,i),s=Xa(),e!==null&&!Gs?(Za(e,t,i),pc(e,t,i)):(G&&s&&vi(t),t.flags|=1,Ks(e,t,r,i),t.child)}function Js(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ti(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Ys(e,t,a,r,i)):(e=ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!mc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?hr:n,n(o,r)&&e.ref===t.ref)return pc(e,t,i)}return t.flags|=1,e=ni(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ys(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(hr(a,r)&&e.ref===t.ref)if(Gs=!1,t.pendingProps=r=a,mc(e,i))e.flags&131072&&(Gs=!0);else return t.lanes=e.lanes,pc(e,t,i)}return $s(e,t,n,r,i)}function Xs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`){if(t.flags&128){if(r=a===null?n:a.baseLanes|n,e!==null){for(i=t.child=e.child,a=0;i!==null;)a=a|i.lanes|i.childLanes,i=i.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Zs(e,t,r,n)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&oa(t,a===null?null:a.cachePool),a===null?Na():Ma(t,a),ws(t);else return t.lanes=t.childLanes=536870912,Zs(e,t,a===null?n:a.baseLanes|n,n)}else a===null?(e!==null&&oa(t,null),Na(),Ts(t)):(oa(t,a.cachePool),Ma(t,a),Ts(t),t.memoizedState=null);return Ks(e,t,i,n),t.child}function Zs(e,t,n,r){var i=aa();return i=i===null?null:{parent:qi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&oa(t,null),Na(),ws(t),e!==null&&zi(e,t,r,!0),null}function Qs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function $s(e,t,n,r,i){return Vi(t),n=Ka(e,t,n,r,void 0,i),r=Xa(),e!==null&&!Gs?(Za(e,t,i),pc(e,t,i)):(G&&r&&vi(t),t.flags|=1,Ks(e,t,n,i),t.child)}function ec(e,t,n,r,i,a){return Vi(t),t.updateQueue=null,n=Ja(t,r,n,i),qa(e),r=Xa(),e!==null&&!Gs?(Za(e,t,a),pc(e,t,a)):(G&&r&&vi(t),t.flags|=1,Ks(e,t,n,a),t.child)}function tc(e,t,n,r,i){if(Vi(t),t.stateNode===null){var a=Qr,o=n.contextType;typeof o==`object`&&o&&(a=K(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=As,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ya(t),o=n.contextType,a.context=typeof o==`object`&&o?K(o):Qr,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(ks(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&As.enqueueReplaceState(a,a.state,null),Da(t,r,a,i),Ea(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ns(n,s);a.props=c;var l=a.context,u=n.contextType;o=Qr,typeof u==`object`&&u&&(o=K(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ms(t,a,r,o),va=!1;var f=t.memoizedState;a.state=f,Da(t,r,a,i),Ea(),l=t.memoizedState,s||f!==l||va?(typeof d==`function`&&(ks(t,n,d,r),l=t.memoizedState),(c=va||js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ba(e,t),o=t.memoizedProps,u=Ns(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Qr,typeof l==`object`&&l&&(c=K(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ms(t,a,r,c),va=!1,f=t.memoizedState,a.state=f,Da(t,r,a,i),Ea();var p=t.memoizedState;o!==d||f!==p||va||e!==null&&e.dependencies!==null&&Bi(e.dependencies)?(typeof s==`function`&&(ks(t,n,s,r),p=t.memoizedState),(u=va||js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Bi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Qs(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=ys(t,e.child,null,i),t.child=ys(t,null,n,i)):Ks(e,t,n,i),t.memoizedState=a.state,e=t.child):e=pc(e,t,i),e}function nc(e,t,n,r){return ki(),t.flags|=256,Ks(e,t,n,r),t.child}var rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ic(e){return{baseLanes:e,cachePool:sa()}}function ac(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Nl),e}function oc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(Ds.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(G){if(a?Cs(t):Ts(t),G){var c=xi,l;if(l=c){c:{for(l=c,c=Ci;l.nodeType!==8;){if(!c){c=null;break c}if(l=Hd(l.nextSibling),l===null){c=null;break c}}c=l}c===null?l=!1:(t.memoizedState={dehydrated:c,treeContext:mi===null?null:{id:W,overflow:hi},retryLane:536870912,hydrationErrors:null},l=ei(18,null,null,0),l.stateNode=c,l.return=t,t.child=l,bi=t,xi=null,l=!0)}l||Ti(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Bd(c)?t.lanes=32:t.lanes=536870912,null;Es(t)}return c=r.children,r=r.fallback,a?(Ts(t),a=t.mode,c=cc({mode:`hidden`,children:c},a),r=ai(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,a=t.child,a.memoizedState=ic(n),a.childLanes=ac(e,s,n),t.memoizedState=rc,r):(Cs(t),sc(t,c))}if(l=e.memoizedState,l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Cs(t),t.flags&=-257,t=lc(e,t,n)):t.memoizedState===null?(Ts(t),a=r.fallback,c=t.mode,r=cc({mode:`visible`,children:r.children},c),a=ai(a,c,n,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,ys(t,e.child,null,n),r=t.child,r.memoizedState=ic(n),r.childLanes=ac(e,s,n),t.memoizedState=rc,t=a):(Ts(t),t.child=e.child,t.flags|=128,t=null);else if(Cs(t),Bd(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,ji({value:r,source:null,stack:null}),t=lc(e,t,n)}else if(Gs||zi(e,t,n,!1),s=(n&e.childLanes)!==0,Gs||s){if(s=Cl,s!==null&&(r=n&-n,r=r&42?1:He(r),r=(r&(s.suspendedLanes|n))===0?r:0,r!==0&&r!==l.retryLane))throw l.retryLane=r,Yr(e,r),$l(s,e,r),Ws;c.data===`$?`||uu(),t=lc(e,t,n)}else c.data===`$?`?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,xi=Hd(c.nextSibling),bi=t,G=!0,Si=null,Ci=!1,e!==null&&(fi[pi++]=W,fi[pi++]=hi,fi[pi++]=mi,W=e.id,hi=e.overflow,mi=t),t=sc(t,r.children),t.flags|=4096);return t}return a?(Ts(t),a=r.fallback,c=t.mode,l=e.child,u=l.sibling,r=ni(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(a=ai(a,c,n,null),a.flags|=2):a=ni(u,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,c=e.child.memoizedState,c===null?c=ic(n):(l=c.cachePool,l===null?l=sa():(u=qi._currentValue,l=l.parent===u?l:{parent:u,pool:u}),c={baseLanes:c.baseLanes|n,cachePool:l}),a.memoizedState=c,a.childLanes=ac(e,s,n),t.memoizedState=rc,r):(Cs(t),n=e.child,e=n.sibling,n=ni(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function sc(e,t){return t=cc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function cc(e,t){return e=ei(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function lc(e,t,n){return ys(t,e.child,null,n),e=sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Li(e.return,t,n)}function dc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function fc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Ks(e,t,r.children,n),r=Ds.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&uc(e,n,t);else if(e.tag===19)uc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(B(Ds,r),i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Os(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),dc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Os(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}dc(t,!0,n,null,a);break;case`together`:dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Al|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(zi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ni(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ni(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function mc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Bi(e))):!0}function hc(e,t,n){switch(t.tag){case 3:ae(t,t.stateNode.containerInfo),Fi(t,qi,e.memoizedState.cache),ki();break;case 27:case 5:se(t);break;case 4:ae(t,t.stateNode.containerInfo);break;case 10:Fi(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Cs(t),e=pc(e,t,n),e===null?null:e.sibling):oc(e,t,n):(Cs(t),t.flags|=128,null);Cs(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(zi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return fc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(Ds,Ds.current),r)break;return null;case 22:case 23:return t.lanes=0,Xs(e,t,n);case 24:Fi(t,qi,e.memoizedState.cache)}return pc(e,t,n)}function gc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Gs=!0;else{if(!mc(e,n)&&!(t.flags&128))return Gs=!1,hc(e,t,n);Gs=!!(e.flags&131072)}else Gs=!1,G&&t.flags&1048576&&_i(t,di,t.index);switch(t.lanes=0,t.tag){case 16:a:{e=t.pendingProps;var r=t.elementType,a=r._init;if(r=a(r._payload),t.type=r,typeof r==`function`)ti(r)?(e=Ns(r,e),t.tag=1,t=tc(null,t,r,e,n)):(t.tag=0,t=$s(null,t,r,e,n));else{if(r!=null){if(a=r.$$typeof,a===S){t.tag=11,t=qs(null,t,r,e,n);break a}else if(a===T){t.tag=14,t=Js(null,t,r,e,n);break a}}throw t=M(r)||r,Error(i(306,t,``))}}return t;case 0:return $s(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ns(r,t.pendingProps),tc(e,t,r,a,n);case 3:a:{if(ae(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,ba(e,t),Da(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Fi(t,qi,r),r!==o.cache&&Ri(t,[qi],n,!0),Ea(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=nc(e,t,r,n);break a}else if(r!==a){a=Hr(Error(i(424)),t),ji(a),t=nc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(xi=Hd(e.firstChild),bi=t,G=!0,Si=null,Ci=!0,n=bs(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ki(),r===a){t=pc(e,t,n);break a}Ks(e,t,r,n)}t=t.child}return t;case 26:return Qs(e,t),e===null?(n=lf(t.type,null,t.pendingProps,null))?t.memoizedState=n:G||(n=t.type,e=t.pendingProps,r=wd(re.current).createElement(n),r[qe]=t,r[Je]=e,bd(r,n,e),ot(r),t.stateNode=r):t.memoizedState=lf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&G&&(r=t.stateNode=Gd(t.type,t.pendingProps,re.current),bi=t,Ci=!0,a=xi,Fd(t.type)?(Ud=a,xi=Hd(r.firstChild)):xi=a),Ks(e,t,t.pendingProps.children,n),Qs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&G&&((a=r=xi)&&(r=Rd(r,t.type,t.pendingProps,Ci),r===null?a=!1:(t.stateNode=r,bi=t,xi=Hd(r.firstChild),Ci=!1,a=!0)),a||Ti(t)),se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Dd(a,o)?r=null:s!==null&&Dd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Ka(e,t,Ya,null,null,n),Nf._currentValue=a),Qs(e,t),Ks(e,t,r,n),t.child;case 6:return e===null&&G&&((e=n=xi)&&(n=zd(n,t.pendingProps,Ci),n===null?e=!1:(t.stateNode=n,bi=t,xi=null,e=!0)),e||Ti(t)),null;case 13:return oc(e,t,n);case 4:return ae(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ys(t,null,r,n):Ks(e,t,r,n),t.child;case 11:return qs(e,t,t.type,t.pendingProps,n);case 7:return Ks(e,t,t.pendingProps,n),t.child;case 8:return Ks(e,t,t.pendingProps.children,n),t.child;case 12:return Ks(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Fi(t,t.type,r.value),Ks(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Vi(t),a=K(a),r=r(a),t.flags|=1,Ks(e,t,r,n),t.child;case 14:return Js(e,t,t.type,t.pendingProps,n);case 15:return Ys(e,t,t.type,t.pendingProps,n);case 19:return fc(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},e===null?(n=cc(r,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=ni(e.child,r),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Xs(e,t,n);case 24:return Vi(t),r=K(qi),e===null?(a=aa(),a===null&&(a=Cl,o=Ji(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},ya(t),Fi(t,qi,a)):((e.lanes&n)!==0&&(ba(e,t),Da(t,null,null,n),Ea()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Fi(t,qi,r),r!==a.cache&&Ri(t,[qi],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Fi(t,qi,r))),Ks(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function _c(e){e.flags|=4}function vc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!wf(t)){if(t=xs.current,t!==null&&((Z&4194048)===Z?Ss!==null:(Z&62914560)!==Z&&!(Z&536870912)||t!==Ss))throw ha=da,la;e.flags|=8192}}function yc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ie(),e.lanes|=t,Pl|=t)}function bc(e,t){if(!G)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function xc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Sc(e,t,n){var r=t.pendingProps;switch(yi(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xc(t),null;case 1:return xc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ii(qi),oe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oi(t)?_c(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ai())),xc(t),null;case 26:return n=t.memoizedState,e===null?(_c(t),n===null?(xc(t),t.flags&=-16777217):(xc(t),vc(t,n))):n?n===e.memoizedState?(xc(t),t.flags&=-16777217):(_c(t),xc(t),vc(t,n)):(e.memoizedProps!==r&&_c(t),xc(t),t.flags&=-16777217),null;case 27:ce(t),n=re.current;var a=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==r&&_c(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return xc(t),null}e=te.current,Oi(t)?Ei(t,e):(e=Gd(a,r,n),t.stateNode=e,_c(t))}return xc(t),null;case 5:if(ce(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&_c(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return xc(t),null}if(e=te.current,Oi(t))Ei(t,e);else{switch(a=wd(re.current),e){case 1:e=a.createElementNS(`http://www.w3.org/2000/svg`,n);break;case 2:e=a.createElementNS(`http://www.w3.org/1998/Math/MathML`,n);break;default:switch(n){case`svg`:e=a.createElementNS(`http://www.w3.org/2000/svg`,n);break;case`math`:e=a.createElementNS(`http://www.w3.org/1998/Math/MathML`,n);break;case`script`:e=a.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild);break;case`select`:e=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e=typeof r.is==`string`?a.createElement(n,{is:r.is}):a.createElement(n)}}e[qe]=t,e[Je]=r;a:for(a=t.child;a!==null;){if(a.tag===5||a.tag===6)e.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break a;for(;a.sibling===null;){if(a.return===null||a.return===t)break a;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=e;a:switch(bd(e,n,r),n){case`button`:case`input`:case`select`:case`textarea`:e=!!r.autoFocus;break a;case`img`:e=!0;break a;default:e=!1}e&&_c(t)}}return xc(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&_c(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=re.current,Oi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=bi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[qe]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||gd(e.nodeValue,n)),e||Ti(t)}else e=wd(e).createTextNode(r),e[qe]=t,t.stateNode=e}return xc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Oi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[qe]=t}else ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;xc(t),a=!1}else a=Ai(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Es(t),t):(Es(t),null)}if(Es(t),t.flags&128)return t.lanes=n,t;if(n=r!==null,e=e!==null&&e.memoizedState!==null,n){r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool);var o=null;r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),yc(t,t.updateQueue),xc(t),null;case 4:return oe(),e===null&&od(t.stateNode.containerInfo),xc(t),null;case 10:return Ii(t.type),xc(t),null;case 19:if(z(Ds),a=t.memoizedState,a===null)return xc(t),null;if(r=(t.flags&128)!=0,o=a.rendering,o===null)if(r)bc(a,!1);else{if(kl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Os(e),o!==null){for(t.flags|=128,bc(a,!1),e=o.updateQueue,t.updateQueue=e,yc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ri(n,e),n=n.sibling;return B(Ds,Ds.current&1|2),t.child}e=e.sibling}a.tail!==null&&pe()>zl&&(t.flags|=128,r=!0,bc(a,!1),t.lanes=4194304)}else{if(!r)if(e=Os(o),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,yc(t,e),bc(a,!0),a.tail===null&&a.tailMode===`hidden`&&!o.alternate&&!G)return xc(t),null}else 2*pe()-a.renderingStartTime>zl&&n!==536870912&&(t.flags|=128,r=!0,bc(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(e=a.last,e===null?t.child=o:e.sibling=o,a.last=o)}return a.tail===null?(xc(t),null):(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=pe(),t.sibling=null,e=Ds.current,B(Ds,r?e&1|2:e&1),t);case 22:case 23:return Es(t),Pa(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(xc(t),t.subtreeFlags&6&&(t.flags|=8192)):xc(t),n=t.updateQueue,n!==null&&yc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&z(ia),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ii(qi),xc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Cc(e,t){switch(yi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ii(qi),oe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ce(t),null;case 13:if(Es(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return z(Ds),null;case 4:return oe(),null;case 10:return Ii(t.type),null;case 22:case 23:return Es(t),Pa(),e!==null&&z(ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ii(qi),null;case 25:return null;default:return null}}function wc(e,t){switch(yi(t),t.tag){case 3:Ii(qi),oe();break;case 26:case 27:case 5:ce(t);break;case 4:oe();break;case 13:Es(t);break;case 19:z(Ds);break;case 10:Ii(t.type);break;case 22:case 23:Es(t),Pa(),e!==null&&z(ia);break;case 24:Ii(qi)}}function Tc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ou(t,t.return,e)}}function Ec(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ou(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ou(t,t.return,e)}}function Dc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ka(t,n)}catch(t){Ou(e,e.return,t)}}}function Oc(e,t,n){n.props=Ns(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ou(e,t,n)}}function kc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ou(e,t,n)}}function Ac(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Ou(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ou(e,t,n)}else n.current=null}function jc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ou(e,e.return,t)}}function Mc(e,t,n){try{var r=e.stateNode;xd(r,e.type,n,t),r[Je]=t}catch(t){Ou(e,e.return,t)}}function Nc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Fd(e.type)||e.tag===4}function Pc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Nc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Fd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=_d));else if(r!==4&&(r===27&&Fd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Fc(e,t,n),e=e.sibling;e!==null;)Fc(e,t,n),e=e.sibling}function Ic(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Fd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}function Lc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);bd(t,r,n),t[qe]=e,t[Je]=n}catch(t){Ou(e,e.return,t)}}var Rc=!1,zc=!1,Bc=!1,Vc=typeof WeakSet==`function`?WeakSet:Set,Hc=null;function Uc(e,t){if(e=e.containerInfo,Sd=Vf,e=yr(e),br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Cd={focusedElem:e,selectionRange:n},Vf=!1,Hc=t;Hc!==null;)if(t=Hc,e=t.child,t.subtreeFlags&1024&&e!==null)e.return=t,Hc=e;else for(;Hc!==null;){switch(t=Hc,o=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ns(n.type,a,n.elementType===n.type);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Ou(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Ld(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:Ld(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,Hc=e;break}Hc=t.return}}function Wc(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:il(e,n),r&4&&Tc(5,n);break;case 1:if(il(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Ou(n,n.return,e)}else{var i=Ns(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ou(n,n.return,e)}}r&64&&Dc(n),r&512&&kc(n,n.return);break;case 3:if(il(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ka(e,t)}catch(e){Ou(n,n.return,e)}}break;case 27:t===null&&r&4&&Lc(n);case 26:case 5:il(e,n),t===null&&r&4&&jc(n),r&512&&kc(n,n.return);break;case 12:il(e,n);break;case 13:il(e,n),r&4&&Xc(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Mu.bind(null,n),Vd(e,n))));break;case 22:if(r=n.memoizedState!==null||Rc,!r){t=t!==null&&t.memoizedState!==null||zc,i=Rc;var a=zc;Rc=r,(zc=t)&&!a?ol(e,n,(n.subtreeFlags&8772)!=0):il(e,n),Rc=i,zc=a}break;case 30:break;default:il(e,n)}}function Gc(e){var t=e.alternate;t!==null&&(e.alternate=null,Gc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&tt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Kc=null,qc=!1;function Jc(e,t,n){for(n=n.child;n!==null;)Yc(e,t,n),n=n.sibling}function Yc(e,t,n){if(Ce&&typeof Ce.onCommitFiberUnmount==`function`)try{Ce.onCommitFiberUnmount(Se,n)}catch{}switch(n.tag){case 26:zc||Ac(n,t),Jc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:zc||Ac(n,t);var r=Kc,i=qc;Fd(n.type)&&(Kc=n.stateNode,qc=!1),Jc(e,t,n),Kd(n.stateNode),Kc=r,qc=i;break;case 5:zc||Ac(n,t);case 6:if(r=Kc,i=qc,Kc=null,Jc(e,t,n),Kc=r,qc=i,Kc!==null)if(qc)try{(Kc.nodeType===9?Kc.body:Kc.nodeName===`HTML`?Kc.ownerDocument.body:Kc).removeChild(n.stateNode)}catch(e){Ou(n,t,e)}else try{Kc.removeChild(n.stateNode)}catch(e){Ou(n,t,e)}break;case 18:Kc!==null&&(qc?(e=Kc,Id(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),pp(e)):Id(Kc,n.stateNode));break;case 4:r=Kc,i=qc,Kc=n.stateNode.containerInfo,qc=!0,Jc(e,t,n),Kc=r,qc=i;break;case 0:case 11:case 14:case 15:zc||Ec(2,n,t),zc||Ec(4,n,t),Jc(e,t,n);break;case 1:zc||(Ac(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Oc(n,t,r)),Jc(e,t,n);break;case 21:Jc(e,t,n);break;case 22:zc=(r=zc)||n.memoizedState!==null,Jc(e,t,n),zc=r;break;default:Jc(e,t,n)}}function Xc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pp(e)}catch(e){Ou(t,t.return,e)}}function Zc(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Vc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Vc),t;default:throw Error(i(435,e.tag))}}function Qc(e,t){var n=Zc(e);t.forEach(function(t){var r=Nu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function $c(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Fd(c.type)){Kc=c.stateNode,qc=!1;break a}break;case 5:Kc=c.stateNode,qc=!1;break a;case 3:case 4:Kc=c.stateNode.containerInfo,qc=!0;break a}c=c.return}if(Kc===null)throw Error(i(160));Yc(o,s,a),Kc=null,qc=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)tl(t,e),t=t.sibling}var el=null;function tl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$c(t,e),nl(e),r&4&&(Ec(3,e,e.return),Tc(3,e),Ec(5,e,e.return));break;case 1:$c(t,e),nl(e),r&512&&(zc||n===null||Ac(n,n.return)),r&64&&Rc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=el;if($c(t,e),nl(e),r&512&&(zc||n===null||Ac(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[et]||o[qe]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),bd(o,r,n),o[qe]=e,ot(o),r=o;break a;case`link`:var s=xf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),bd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=xf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),bd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[qe]=e,ot(o),r=o}e.stateNode=r}else Sf(a,e.type,e.stateNode);else e.stateNode=gf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Mc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Sf(a,e.type,e.stateNode):gf(a,r,e.memoizedProps))}break;case 27:$c(t,e),nl(e),r&512&&(zc||n===null||Ac(n,n.return)),n!==null&&r&4&&Mc(e,e.memoizedProps,n.memoizedProps);break;case 5:if($c(t,e),nl(e),r&512&&(zc||n===null||Ac(n,n.return)),e.flags&32){a=e.stateNode;try{zt(a,``)}catch(t){Ou(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Mc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Bc=!0);break;case 6:if($c(t,e),nl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Ou(e,e.return,t)}}break;case 3:if(bf=null,a=el,el=Yd(t.containerInfo),$c(t,e),el=a,nl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{pp(t.containerInfo)}catch(t){Ou(e,e.return,t)}Bc&&(Bc=!1,rl(e));break;case 4:r=el,el=Yd(e.stateNode.containerInfo),$c(t,e),nl(e),el=r;break;case 12:$c(t,e),nl(e);break;case 13:$c(t,e),nl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Rl=pe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Qc(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Rc,d=zc;if(Rc=u||a,zc=d||l,$c(t,e),zc=d,Rc=u,nl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Rc||zc||al(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Ou(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Ou(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,Qc(e,n))));break;case 19:$c(t,e),nl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Qc(e,r)));break;case 30:break;case 21:break;default:$c(t,e),nl(e)}}function nl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Nc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Ic(e,Pc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(zt(o,``),n.flags&=-33),Ic(e,Pc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Fc(e,Pc(e),s);break;default:throw Error(i(161))}}catch(t){Ou(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;rl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function il(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wc(e,t.alternate,t),t=t.sibling}function al(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ec(4,t,t.return),al(t);break;case 1:Ac(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Oc(t,t.return,n),al(t);break;case 27:Kd(t.stateNode);case 26:case 5:Ac(t,t.return),al(t);break;case 22:t.memoizedState===null&&al(t);break;case 30:al(t);break;default:al(t)}e=e.sibling}}function ol(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:ol(i,a,n),Tc(4,a);break;case 1:if(ol(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Ou(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Oa(c[i],s)}catch(e){Ou(r,r.return,e)}}n&&o&64&&Dc(a),kc(a,a.return);break;case 27:Lc(a);case 26:case 5:ol(i,a,n),n&&r===null&&o&4&&jc(a),kc(a,a.return);break;case 12:ol(i,a,n);break;case 13:ol(i,a,n),n&&o&4&&Xc(i,a);break;case 22:a.memoizedState===null&&ol(i,a,n),kc(a,a.return);break;case 30:break;default:ol(i,a,n)}t=t.sibling}}function sl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Yi(n))}function cl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Yi(e))}function ll(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ul(e,t,n,r),t=t.sibling}function ul(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ll(e,t,n,r),i&2048&&Tc(9,t);break;case 1:ll(e,t,n,r);break;case 3:ll(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Yi(e)));break;case 12:if(i&2048){ll(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Ou(t,t.return,e)}}else ll(e,t,n,r);break;case 13:ll(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?ll(e,t,n,r):(a._visibility|=2,dl(e,t,n,r,(t.subtreeFlags&10256)!=0)):a._visibility&2?ll(e,t,n,r):fl(e,t),i&2048&&sl(o,t);break;case 24:ll(e,t,n,r),i&2048&&cl(t.alternate,t);break;default:ll(e,t,n,r)}}function dl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:dl(a,o,s,c,i),Tc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,dl(a,o,s,c,i)):u._visibility&2?dl(a,o,s,c,i):fl(a,o),i&&l&2048&&sl(o.alternate,o);break;case 24:dl(a,o,s,c,i),i&&l&2048&&cl(o.alternate,o);break;default:dl(a,o,s,c,i)}t=t.sibling}}function fl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:fl(n,r),i&2048&&sl(r.alternate,r);break;case 24:fl(n,r),i&2048&&cl(r.alternate,r);break;default:fl(n,r)}t=t.sibling}}var pl=8192;function ml(e){if(e.subtreeFlags&pl)for(e=e.child;e!==null;)hl(e),e=e.sibling}function hl(e){switch(e.tag){case 26:ml(e),e.flags&pl&&e.memoizedState!==null&&Df(el,e.memoizedState,e.memoizedProps);break;case 5:ml(e);break;case 3:case 4:var t=el;el=Yd(e.stateNode.containerInfo),ml(e),el=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=pl,pl=16777216,ml(e),pl=t):ml(e));break;default:ml(e)}}function gl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function _l(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Hc=r,bl(r,e)}gl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vl(e),e=e.sibling}function vl(e){switch(e.tag){case 0:case 11:case 15:_l(e),e.flags&2048&&Ec(9,e,e.return);break;case 3:_l(e);break;case 12:_l(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,yl(e)):_l(e);break;default:_l(e)}}function yl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Hc=r,bl(r,e)}gl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ec(8,t,t.return),yl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,yl(t));break;default:yl(t)}e=e.sibling}}function bl(e,t){for(;Hc!==null;){var n=Hc;switch(n.tag){case 0:case 11:case 15:Ec(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Yi(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,Hc=r;else a:for(n=e;Hc!==null;){r=Hc;var i=r.sibling,a=r.return;if(Gc(r),r===n){Hc=null;break a}if(i!==null){i.return=a,Hc=i;break a}Hc=a}}}var xl={getCacheForType:function(e){var t=K(qi),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Sl=typeof WeakMap==`function`?WeakMap:Map,Y=0,Cl=null,X=null,Z=0,Q=0,wl=null,Tl=!1,El=!1,Dl=!1,Ol=0,kl=0,Al=0,jl=0,Ml=0,Nl=0,Pl=0,Fl=null,Il=null,Ll=!1,Rl=0,zl=1/0,Bl=null,Vl=null,Hl=0,Ul=null,Wl=null,Gl=0,Kl=0,ql=null,Jl=null,Yl=0,Xl=null;function Zl(){if(Y&2&&Z!==0)return Z&-Z;if(N.T!==null){var e=Qi;return e===0?Yu():e}return We()}function Ql(){Nl===0&&(Nl=!(Z&536870912)||G?Fe():536870912);var e=xs.current;return e!==null&&(e.flags|=32),Nl}function $l(e,t,n){(e===Cl&&(Q===2||Q===9)||e.cancelPendingCommit!==null)&&(ou(e,0),ru(e,Z,Nl,!1)),Re(e,n),(!(Y&2)||e!==Cl)&&(e===Cl&&(!(Y&2)&&(jl|=n),kl===4&&ru(e,Z,Nl,!1)),Vu(e))}function eu(e,t,n){if(Y&6)throw Error(i(327));var r=!n&&(t&124)==0&&(t&e.expiredLanes)===0||Ne(e,t),a=r?pu(e,t):du(e,t,!0),o=r;do{if(a===0){El&&!r&&ru(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!nu(n)){a=du(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Fl;var l=c.current.memoizedState.isDehydrated;if(l&&(ou(c,s).flags|=256),s=du(c,s,!1),s!==2){if(Dl&&!l){c.errorRecoveryDisabledLanes|=o,jl|=o,a=4;break a}o=Il,Il=a,o!==null&&(Il===null?Il=o:Il.push.apply(Il,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){ou(e,0),ru(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:ru(r,t,Nl,!Tl);break a;case 2:Il=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Rl+300-pe(),10<a)){if(ru(r,t,Nl,!Tl),Me(r,0,!0)!==0)break a;r.timeoutHandle=Ad(tu.bind(null,r,n,Il,Bl,Ll,t,Nl,jl,Pl,Tl,o,2,-0,0),a);break a}tu(r,n,Il,Bl,Ll,t,Nl,jl,Pl,Tl,o,0,-0,0)}}break}while(1);Vu(e)}function tu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,(d&8192||(d&16785408)==16785408)&&(Tf={stylesheets:null,count:0,unsuspend:Ef},hl(t),d=Of(),d!==null)){e.cancelPendingCommit=d(bu.bind(null,e,t,a,n,r,i,o,s,c,u,1,f,p)),ru(e,a,o,!l);return}bu(e,t,a,n,r,i,o,s,c)}function nu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!mr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ru(e,t,n,r){t&=~Ml,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Te(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Be(e,n,t)}function iu(){return Y&6?!0:(Hu(0,!1),!1)}function au(){if(X!==null){if(Q===0)var e=X.return;else e=X,Pi=Ni=null,Qa(e),fs=null,ps=0,e=X;for(;e!==null;)wc(e.alternate,e),e=e.return;X=null}}function ou(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),au(),Cl=e,X=n=ni(e.current,null),Z=t,Q=0,wl=null,Tl=!1,El=Ne(e,t),Dl=!1,Pl=Nl=Ml=jl=Al=kl=0,Il=Fl=null,Ll=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Te(r),a=1<<i;t|=e[i],r&=~a}return Ol=t,Kr(),n}function su(e,t){q=null,N.H=cs,t===ca||t===ua?(t=ga(),Q=3):t===la?(t=ga(),Q=4):Q=t===Ws?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,wl=t,X===null&&(kl=1,Rs(e,Hr(t,e.current)))}function cu(){var e=N.H;return N.H=cs,e===null?cs:e}function lu(){var e=N.A;return N.A=xl,e}function uu(){kl=4,Tl||(Z&4194048)!==Z&&xs.current!==null||(El=!0),!(Al&134217727)&&!(jl&134217727)||Cl===null||ru(Cl,Z,Nl,!1)}function du(e,t,n){var r=Y;Y|=2;var i=cu(),a=lu();(Cl!==e||Z!==t)&&(Bl=null,ou(e,t)),t=!1;var o=kl;a:do try{if(Q!==0&&X!==null){var s=X,c=wl;switch(Q){case 8:au(),o=6;break a;case 3:case 2:case 9:case 6:xs.current===null&&(t=!0);var l=Q;if(Q=0,wl=null,_u(e,s,c,l),n&&El){o=0;break a}break;default:l=Q,Q=0,wl=null,_u(e,s,c,l)}}fu(),o=kl;break}catch(t){su(e,t)}while(1);return t&&e.shellSuspendCounter++,Pi=Ni=null,Y=r,N.H=i,N.A=a,X===null&&(Cl=null,Z=0,Kr()),o}function fu(){for(;X!==null;)hu(X)}function pu(e,t){var n=Y;Y|=2;var r=cu(),a=lu();Cl!==e||Z!==t?(Bl=null,zl=pe()+500,ou(e,t)):El=Ne(e,t);a:do try{if(Q!==0&&X!==null){t=X;var o=wl;b:switch(Q){case 1:Q=0,wl=null,_u(e,t,o,1);break;case 2:case 9:if(fa(o)){Q=0,wl=null,gu(t);break}t=function(){Q!==2&&Q!==9||Cl!==e||(Q=7),Vu(e)},o.then(t,t);break a;case 3:Q=7;break a;case 4:Q=5;break a;case 7:fa(o)?(Q=0,wl=null,gu(t)):(Q=0,wl=null,_u(e,t,o,7));break;case 5:var s=null;switch(X.tag){case 26:s=X.memoizedState;case 5:case 27:var c=X;if(!s||wf(s)){Q=0,wl=null;var l=c.sibling;if(l!==null)X=l;else{var u=c.return;u===null?X=null:(X=u,vu(u))}break b}}Q=0,wl=null,_u(e,t,o,5);break;case 6:Q=0,wl=null,_u(e,t,o,6);break;case 8:au(),kl=6;break a;default:throw Error(i(462))}}mu();break}catch(t){su(e,t)}while(1);return Pi=Ni=null,N.H=r,N.A=a,Y=n,X===null?(Cl=null,Z=0,Kr(),kl):0}function mu(){for(;X!==null&&!fe();)hu(X)}function hu(e){var t=gc(e.alternate,e,Ol);e.memoizedProps=e.pendingProps,t===null?vu(e):X=t}function gu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ec(n,t,t.pendingProps,t.type,void 0,Z);break;case 11:t=ec(n,t,t.pendingProps,t.type.render,t.ref,Z);break;case 5:Qa(t);default:wc(n,t),t=X=ri(t,Ol),t=gc(n,t,Ol)}e.memoizedProps=e.pendingProps,t===null?vu(e):X=t}function _u(e,t,n,r){Pi=Ni=null,Qa(t),fs=null,ps=0;var i=t.return;try{if(Us(e,i,t,n,Z)){kl=1,Rs(e,Hr(n,e.current)),X=null;return}}catch(t){if(i!==null)throw X=i,t;kl=1,Rs(e,Hr(n,e.current)),X=null;return}t.flags&32768?(G||r===1?e=!0:El||Z&536870912?e=!1:(Tl=e=!0,(r===2||r===9||r===3||r===6)&&(r=xs.current,r!==null&&r.tag===13&&(r.flags|=16384))),yu(t,e)):vu(t)}function vu(e){var t=e;do{if(t.flags&32768){yu(t,Tl);return}e=t.return;var n=Sc(t.alternate,t,Ol);if(n!==null){X=n;return}if(t=t.sibling,t!==null){X=t;return}X=t=e}while(t!==null);kl===0&&(kl=5)}function yu(e,t){do{var n=Cc(e.alternate,e);if(n!==null){n.flags&=32767,X=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){X=e;return}X=e=n}while(e!==null);kl=6,X=null}function bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Tu();while(Hl!==0);if(Y&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Gr,ze(e,n,o,s,c,l),e===Cl&&(X=Cl=null,Z=0),Wl=t,Ul=e,Gl=n,Kl=o,ql=a,Jl=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Pu(_e,function(){return Eu(!0),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=N.T,N.T=null,a=P.p,P.p=2,s=Y,Y|=4;try{Uc(e,t,n)}finally{Y=s,P.p=a,N.T=r}}Hl=1,xu(),Su(),Cu()}}function xu(){if(Hl===1){Hl=0;var e=Ul,t=Wl,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=N.T,N.T=null;var r=P.p;P.p=2;var i=Y;Y|=4;try{tl(t,e);var a=Cd,o=yr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&vr(s.ownerDocument.documentElement,s)){if(c!==null&&br(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=_r(s,h),v=_r(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Vf=!!Sd,Cd=Sd=null}finally{Y=i,P.p=r,N.T=n}}e.current=t,Hl=2}}function Su(){if(Hl===2){Hl=0;var e=Ul,t=Wl,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=N.T,N.T=null;var r=P.p;P.p=2;var i=Y;Y|=4;try{Wc(e,t.alternate,t)}finally{Y=i,P.p=r,N.T=n}}Hl=3}}function Cu(){if(Hl===4||Hl===3){Hl=0,V();var e=Ul,t=Wl,n=Gl,r=Jl;t.subtreeFlags&10256||t.flags&10256?Hl=5:(Hl=0,Wl=Ul=null,wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Vl=null),Ue(n),t=t.stateNode,Ce&&typeof Ce.onCommitFiberRoot==`function`)try{Ce.onCommitFiberRoot(Se,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=N.T,i=P.p,P.p=2,N.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{N.T=t,P.p=i}}Gl&3&&Tu(),Vu(e),i=e.pendingLanes,n&4194090&&i&42?e===Xl?Yl++:(Yl=0,Xl=e):Yl=0,Hu(0,!1)}}function wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Yi(t)))}function Tu(e){return xu(),Su(),Cu(),Eu(e)}function Eu(){if(Hl!==5)return!1;var e=Ul,t=Kl;Kl=0;var n=Ue(Gl),r=N.T,a=P.p;try{P.p=32>n?32:n,N.T=null,n=ql,ql=null;var o=Ul,s=Gl;if(Hl=0,Wl=Ul=null,Gl=0,Y&6)throw Error(i(331));var c=Y;if(Y|=4,vl(o.current),ul(o,o.current,s,n),Y=c,Hu(0,!1),Ce&&typeof Ce.onPostCommitFiberRoot==`function`)try{Ce.onPostCommitFiberRoot(Se,o)}catch{}return!0}finally{P.p=a,N.T=r,wu(e,t)}}function Du(e,t,n){t=Hr(n,t),t=Bs(e.stateNode,t,2),e=Sa(e,t,2),e!==null&&(Re(e,2),Vu(e))}function Ou(e,t,n){if(e.tag===3)Du(e,e,n);else for(;t!==null;){if(t.tag===3){Du(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Vl===null||!Vl.has(r))){e=Hr(n,e),n=Vs(2),r=Sa(t,n,2),r!==null&&(Hs(n,r,t,e),Re(r,2),Vu(r));break}}t=t.return}}function ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Sl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Dl=!0,i.add(n),e=Au.bind(null,e,t,n),t.then(e,e))}function Au(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Cl===e&&(Z&n)===n&&(kl===4||kl===3&&(Z&62914560)===Z&&300>pe()-Rl?!(Y&2)&&ou(e,0):Ml|=n,Pl===Z&&(Pl=0)),Vu(e)}function ju(e,t){t===0&&(t=Ie()),e=Yr(e,t),e!==null&&(Re(e,t),Vu(e))}function Mu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ju(e,n)}function Nu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),ju(e,n)}function Pu(e,t){return ue(e,t)}var Fu=null,Iu=null,Lu=!1,Ru=!1,zu=!1,Bu=0;function Vu(e){e!==Iu&&e.next===null&&(Iu===null?Fu=Iu=e:Iu=Iu.next=e),Ru=!0,Lu||(Lu=!0,Ju())}function Hu(e,t){if(!zu&&Ru){zu=!0;do for(var n=!1,r=Fu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Te(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,qu(r,a))}else a=Z,a=Me(r,r===Cl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ne(r,a)||(n=!0,qu(r,a));r=r.next}while(n);zu=!1}}function Uu(){Wu()}function Wu(){Ru=Lu=!1;var e=0;Bu!==0&&(kd()&&(e=Bu),Bu=0);for(var t=pe(),n=null,r=Fu;r!==null;){var i=r.next,a=Gu(r,t);a===0?(r.next=null,n===null?Fu=i:n.next=i,i===null&&(Iu=n)):(n=r,(e!==0||a&3)&&(Ru=!0)),r=i}Hu(e,!1)}function Gu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Te(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Pe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Cl,n=Z,n=Me(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Q===2||Q===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&de(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ne(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&de(r),Ue(n)){case 2:case 8:n=ge;break;case 32:n=_e;break;case 268435456:n=ye;break;default:n=_e}return r=Ku.bind(null,e),n=ue(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&de(r),e.callbackPriority=2,e.callbackNode=null,2}function Ku(e,t){if(Hl!==0&&Hl!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Tu(!0)&&e.callbackNode!==n)return null;var r=Z;return r=Me(e,e===Cl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(eu(e,r,t),Gu(e,pe()),e.callbackNode!=null&&e.callbackNode===n?Ku.bind(null,e):null)}function qu(e,t){if(Tu())return null;eu(e,t,!0)}function Ju(){Nd(function(){Y&6?ue(he,Uu):Wu()})}function Yu(){return Bu===0&&(Bu=Fe()),Bu}function Xu(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Gt(``+e)}function Zu(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Qu(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Xu((i[Je]||null).action),o=r.submitter;o&&(t=(t=o[Je]||null)?Xu(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new pn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Bu!==0){var e=o?Zu(i,o):new FormData(i);Jo(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?Zu(i,o):new FormData(i),Jo(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var $u=0;$u<zr.length;$u++){var ed=zr[$u];Br(ed.toLowerCase(),`on`+(ed[0].toUpperCase()+ed.slice(1)))}Br(jr,`onAnimationEnd`),Br(Mr,`onAnimationIteration`),Br(Nr,`onAnimationStart`),Br(`dblclick`,`onDoubleClick`),Br(`focusin`,`onFocus`),Br(`focusout`,`onBlur`),Br(Pr,`onTransitionRun`),Br(Fr,`onTransitionStart`),Br(Ir,`onTransitionCancel`),Br(Lr,`onTransitionEnd`),ut(`onMouseEnter`,[`mouseout`,`mouseover`]),ut(`onMouseLeave`,[`mouseout`,`mouseover`]),ut(`onPointerEnter`,[`pointerout`,`pointerover`]),ut(`onPointerLeave`,[`pointerout`,`pointerover`]),lt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),lt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),lt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),lt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),lt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),lt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var td=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),nd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(td));function rd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Ps(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Ps(e)}i.currentTarget=null,a=c}}}}function $(e,t){var n=t[Xe];n===void 0&&(n=t[Xe]=new Set);var r=e+`__bubble`;n.has(r)||(sd(t,e,2,!1),n.add(r))}function id(e,t,n){var r=0;t&&(r|=4),sd(n,e,r,t)}var ad=`_reactListening`+Math.random().toString(36).slice(2);function od(e){if(!e[ad]){e[ad]=!0,st.forEach(function(t){t!==`selectionchange`&&(nd.has(t)||id(t,!1,e),id(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ad]||(t[ad]=!0,id(`selectionchange`,!1,t))}}function sd(e,t,n,r){switch(Jf(t)){case 2:var i=Hf;break;case 8:i=Uf;break;default:i=Wf}n=i.bind(null,t,n,e),i=void 0,!tn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function cd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=nt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}Qt(function(){var r=a,i=qt(n),s=[];a:{var c=Rr.get(e);if(c!==void 0){var l=pn,u=e;switch(e){case`keypress`:if(cn(n)===0)break a;case`keydown`:case`keyup`:l=jn;break;case`focusin`:u=`focus`,l=Sn;break;case`focusout`:u=`blur`,l=Sn;break;case`beforeblur`:case`afterblur`:l=Sn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=bn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=xn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Nn;break;case jr:case Mr:case Nr:l=Cn;break;case Lr:l=Pn;break;case`scroll`:case`scrollend`:l=hn;break;case`wheel`:l=Fn;break;case`copy`:case`cut`:case`paste`:l=wn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Mn;break;case`toggle`:case`beforetoggle`:l=In}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=$t(m,p),g!=null&&d.push(ld(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Kt&&(u=n.relatedTarget||n.fromElement)&&(nt(u)||u[Ye]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?nt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=bn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Mn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:it(l),h=u==null?c:it(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,nt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=l,p=u,m=0,h=d;h;h=dd(h))m++;for(h=0,g=p;g;g=dd(g))h++;for(;0<m-h;)d=dd(d),m--;for(;0<h-m;)p=dd(p),h--;for(;m--;){if(d===p||p!==null&&d===p.alternate)break b;d=dd(d),p=dd(p)}d=null}else d=null;l!==null&&fd(s,c,l,d,!1),u!==null&&f!==null&&fd(s,f,u,d,!0)}}a:{if(c=r?it(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=nr;else if(Xn(c))if(rr)_=fr;else{_=ur;var v=lr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Ht(r.elementType)&&(_=nr):_=dr;if(_&&=_(e,r)){Zn(s,_,n,i);break a}v&&v(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Ft(c,`number`,c.value)}switch(v=r?it(r):window,e){case`focusin`:(Xn(v)||v.contentEditable===`true`)&&(Sr=v,Cr=r,wr=null);break;case`focusout`:wr=Cr=Sr=null;break;case`mousedown`:Tr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Tr=!1,Er(s,n,i);break;case`selectionchange`:if(xr)break;case`keydown`:case`keyup`:Er(s,n,i)}var y;if(Rn)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Kn?Wn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(Vn&&n.locale!==`ko`&&(Kn||b!==`onCompositionStart`?b===`onCompositionEnd`&&Kn&&(y=sn()):(rn=i,an=`value`in rn?rn.value:rn.textContent,Kn=!0)),v=ud(r,b),0<v.length&&(b=new Tn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=Gn(n),y!==null&&(b.data=y)))),(y=Bn?qn(e,n):Jn(e,n))&&(b=ud(r,`onBeforeInput`),0<b.length&&(v=new Tn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),Qu(s,e,r,n,i)}rd(s,t)})}function ld(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ud(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=$t(e,n),i!=null&&r.unshift(ld(e,i,a)),i=$t(e,t),i!=null&&r.push(ld(e,i,a))),e.tag===3)return r;e=e.return}return[]}function dd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function fd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=$t(n,a),l!=null&&o.unshift(ld(n,l,c))):i||(l=$t(n,a),l!=null&&o.push(ld(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var pd=/\r\n?/g,md=/\u0000|\uFFFD/g;function hd(e){return(typeof e==`string`?e:``+e).replace(pd,`
|
|
74
|
+
`).replace(md,``)}function gd(e,t){return t=hd(t),hd(e)===t}function _d(){}function vd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||zt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&zt(e,``+r);break;case`className`:gt(e,`class`,r);break;case`tabIndex`:gt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:gt(e,n,r);break;case`style`:Vt(e,r,o);break;case`data`:if(t!==`object`){gt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Gt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&vd(e,t,`name`,a.name,a,null),vd(e,t,`formEncType`,a.formEncType,a,null),vd(e,t,`formMethod`,a.formMethod,a,null),vd(e,t,`formTarget`,a.formTarget,a,null)):(vd(e,t,`encType`,a.encType,a,null),vd(e,t,`method`,a.method,a,null),vd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Gt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=_d);break;case`onScroll`:r!=null&&$(`scroll`,e);break;case`onScrollEnd`:r!=null&&$(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Gt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:$(`beforetoggle`,e),$(`toggle`,e),ht(e,`popover`,r);break;case`xlinkActuate`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:_t(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:_t(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:_t(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:_t(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:ht(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Ut.get(n)||n,ht(e,n,r))}}function yd(e,t,n,r,a,o){switch(n){case`style`:Vt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?zt(e,r):(typeof r==`number`||typeof r==`bigint`)&&zt(e,``+r);break;case`onScroll`:r!=null&&$(`scroll`,e);break;case`onScrollEnd`:r!=null&&$(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=_d);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!ct.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[Je]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):ht(e,n,r)}}}function bd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:$(`error`,e),$(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:vd(e,t,o,s,n,null)}}a&&vd(e,t,`srcSet`,n.srcSet,n,null),r&&vd(e,t,`src`,n.src,n,null);return;case`input`:$(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:vd(e,t,r,d,n,null)}}Pt(e,o,c,l,u,s,a,!1),Ot(e);return;case`select`:for(a in $(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:vd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&It(e,!!r,n,!0):It(e,!!r,t,!1);return;case`textarea`:for(s in $(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:vd(e,t,s,c,n,null)}Rt(e,r,a,o),Ot(e);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:vd(e,t,l,r,n,null)}return;case`dialog`:$(`beforetoggle`,e),$(`toggle`,e),$(`cancel`,e),$(`close`,e);break;case`iframe`:case`object`:$(`load`,e);break;case`video`:case`audio`:for(r=0;r<td.length;r++)$(td[r],e);break;case`image`:$(`error`,e),$(`load`,e);break;case`details`:$(`toggle`,e);break;case`embed`:case`source`:case`link`:$(`error`,e),$(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:vd(e,t,u,r,n,null)}return;default:if(Ht(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&yd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&vd(e,t,c,r,n,null))}function xd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||vd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&vd(e,t,p,m,r,f)}}Nt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||vd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&vd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?It(e,!!n,n?[]:``,!1):It(e,!!n,t,!0)):It(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:vd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&vd(e,t,s,a,r,o)}Lt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:vd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:vd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&vd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:vd(e,t,u,p,r,m)}return;default:if(Ht(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&yd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||yd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&vd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||vd(e,t,f,p,r,m)}var Sd=null,Cd=null;function wd(e){return e.nodeType===9?e:e.ownerDocument}function Td(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Ed(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Dd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Od=null;function kd(){var e=window.event;return e&&e.type===`popstate`?e===Od?!1:(Od=e,!0):(Od=null,!1)}var Ad=typeof setTimeout==`function`?setTimeout:void 0,jd=typeof clearTimeout==`function`?clearTimeout:void 0,Md=typeof Promise==`function`?Promise:void 0,Nd=typeof queueMicrotask==`function`?queueMicrotask:Md===void 0?Ad:function(e){return Md.resolve(null).then(e).catch(Pd)};function Pd(e){setTimeout(function(){throw e})}function Fd(e){return e===`head`}function Id(e,t){var n=t,r=0,i=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n===`/$`){if(0<r&&8>r){n=r;var o=e.ownerDocument;if(n&1&&Kd(o.documentElement),n&2&&Kd(o.body),n&4)for(n=o.head,Kd(n),o=n.firstChild;o;){var s=o.nextSibling,c=o.nodeName;o[et]||c===`SCRIPT`||c===`STYLE`||c===`LINK`&&o.rel.toLowerCase()===`stylesheet`||n.removeChild(o),o=s}}if(i===0){e.removeChild(a),pp(t);return}i--}else n===`$`||n===`$?`||n===`$!`?i++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);pp(t)}function Ld(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:Ld(n),tt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function Rd(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[et])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=Hd(e.nextSibling),e===null)break}return null}function zd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=Hd(e.nextSibling),e===null))return null;return e}function Bd(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState===`complete`}function Vd(e,t){var n=e.ownerDocument;if(e.data!==`$?`||n.readyState===`complete`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function Hd(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`F!`||t===`F`)break;if(t===`/$`)return null}}return e}var Ud=null;function Wd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}function Gd(e,t,n){switch(t=wd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function Kd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);tt(e)}var qd=new Map,Jd=new Set;function Yd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Xd=P.d;P.d={f:Zd,r:Qd,D:tf,C:nf,L:rf,m:af,X:sf,S:of,M:cf};function Zd(){var e=Xd.f(),t=iu();return e||t}function Qd(e){var t=rt(e);t!==null&&t.tag===5&&t.type===`form`?Xo(t):Xd.r(e)}var $d=typeof document>`u`?null:document;function ef(e,t,n){var r=$d;if(r&&typeof t==`string`&&t){var i=Mt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Jd.has(i)||(Jd.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),bd(t,`link`,e),ot(t),r.head.appendChild(t)))}}function tf(e){Xd.D(e),ef(`dns-prefetch`,e,null)}function nf(e,t){Xd.C(e,t),ef(`preconnect`,e,t)}function rf(e,t,n){Xd.L(e,t,n);var r=$d;if(r&&e&&t){var i=`link[rel="preload"][as="`+Mt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Mt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Mt(n.imageSizes)+`"]`)):i+=`[href="`+Mt(e)+`"]`;var a=i;switch(t){case`style`:a=uf(e);break;case`script`:a=mf(e)}qd.has(a)||(e=d({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),qd.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(df(a))||t===`script`&&r.querySelector(hf(a))||(t=r.createElement(`link`),bd(t,`link`,e),ot(t),r.head.appendChild(t)))}}function af(e,t){Xd.m(e,t);var n=$d;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Mt(r)+`"][href="`+Mt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=mf(e)}if(!qd.has(a)&&(e=d({rel:`modulepreload`,href:e},t),qd.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(hf(a)))return}r=n.createElement(`link`),bd(r,`link`,e),ot(r),n.head.appendChild(r)}}}function of(e,t,n){Xd.S(e,t,n);var r=$d;if(r&&e){var i=at(r).hoistableStyles,a=uf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(df(a)))s.loading=5;else{e=d({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=qd.get(a))&&vf(e,n);var c=o=r.createElement(`link`);ot(c),bd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,_f(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function sf(e,t){Xd.X(e,t);var n=$d;if(n&&e){var r=at(n).hoistableScripts,i=mf(e),a=r.get(i);a||(a=n.querySelector(hf(i)),a||(e=d({src:e,async:!0},t),(t=qd.get(i))&&yf(e,t),a=n.createElement(`script`),ot(a),bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function cf(e,t){Xd.M(e,t);var n=$d;if(n&&e){var r=at(n).hoistableScripts,i=mf(e),a=r.get(i);a||(a=n.querySelector(hf(i)),a||(e=d({src:e,async:!0,type:`module`},t),(t=qd.get(i))&&yf(e,t),a=n.createElement(`script`),ot(a),bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function lf(e,t,n,r){var a=(a=re.current)?Yd(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=uf(n.href),n=at(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=uf(n.href);var o=at(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(df(e)))&&!o._p&&(s.instance=o,s.state.loading=5),qd.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},qd.set(e,n),o||pf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=mf(n),n=at(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function uf(e){return`href="`+Mt(e)+`"`}function df(e){return`link[rel="stylesheet"][`+e+`]`}function ff(e){return d({},e,{"data-precedence":e.precedence,precedence:null})}function pf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),bd(t,`link`,n),ot(t),e.head.appendChild(t))}function mf(e){return`[src="`+Mt(e)+`"]`}function hf(e){return`script[async]`+e}function gf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Mt(n.href)+`"]`);if(r)return t.instance=r,ot(r),r;var a=d({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),ot(r),bd(r,`style`,a),_f(r,n.precedence,e),t.instance=r;case`stylesheet`:a=uf(n.href);var o=e.querySelector(df(a));if(o)return t.state.loading|=4,t.instance=o,ot(o),o;r=ff(n),(a=qd.get(a))&&vf(r,a),o=(e.ownerDocument||e).createElement(`link`),ot(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),bd(o,`link`,r),t.state.loading|=4,_f(o,n.precedence,e),t.instance=o;case`script`:return o=mf(n.src),(a=e.querySelector(hf(o)))?(t.instance=a,ot(a),a):(r=n,(a=qd.get(o))&&(r=d({},n),yf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),ot(a),bd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,_f(r,n.precedence,e));return t.instance}function _f(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function yf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var bf=null;function xf(e,t,n){if(bf===null){var r=new Map,i=bf=new Map;i.set(n,r)}else i=bf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[et]||a[qe]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Sf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Cf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function wf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}var Tf=null;function Ef(){}function Df(e,t,n){if(Tf===null)throw Error(i(475));var r=Tf;if(t.type===`stylesheet`&&(typeof n.media!=`string`||!1!==matchMedia(n.media).matches)&&!(t.state.loading&4)){if(t.instance===null){var a=uf(n.href),o=e.querySelector(df(a));if(o){e=o._p,typeof e==`object`&&e&&typeof e.then==`function`&&(r.count++,r=kf.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=o,ot(o);return}o=e.ownerDocument||e,n=ff(n),(a=qd.get(a))&&vf(n,a),o=o.createElement(`link`),ot(o);var s=o;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),bd(o,`link`,n),t.instance=o}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(r.count++,t=kf.bind(r),e.addEventListener(`load`,t),e.addEventListener(`error`,t))}}function Of(){if(Tf===null)throw Error(i(475));var e=Tf;return e.stylesheets&&e.count===0&&jf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&jf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function kf(){if(this.count--,this.count===0){if(this.stylesheets)jf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Af=null;function jf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Af=new Map,t.forEach(Mf,e),Af=null,kf.call(e))}function Mf(e,t){if(!(t.state.loading&4)){var n=Af.get(e);if(n)var r=n.get(null);else{n=new Map,Af.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=kf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Nf={$$typeof:x,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function Pf(e,t,n,r,i,a,o,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Le(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Le(0),this.hiddenUpdates=Le(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Ff(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Pf(e,t,n,o,s,c,l,d),t=1,!0===a&&(t|=24),a=ei(3,null,null,t),e.current=a,a.stateNode=e,t=Ji(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ya(a),e}function If(e){return e?(e=Qr,e):Qr}function Lf(e,t,n,r,i,a){i=If(i),r.context===null?r.context=i:r.pendingContext=i,r=xa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Sa(e,r,t),n!==null&&($l(n,e,t),Ca(n,e,t))}function Rf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function zf(e,t){Rf(e,t),(e=e.alternate)&&Rf(e,t)}function Bf(e){if(e.tag===13){var t=Yr(e,67108864);t!==null&&$l(t,e,67108864),zf(e,67108864)}}var Vf=!0;function Hf(e,t,n,r){var i=N.T;N.T=null;var a=P.p;try{P.p=2,Wf(e,t,n,r)}finally{P.p=a,N.T=i}}function Uf(e,t,n,r){var i=N.T;N.T=null;var a=P.p;try{P.p=8,Wf(e,t,n,r)}finally{P.p=a,N.T=i}}function Wf(e,t,n,r){if(Vf){var i=Gf(r);if(i===null)cd(e,t,r,Kf,n),rp(e,r);else if(ap(i,e,t,n,r))r.stopPropagation();else if(rp(e,r),t&4&&-1<np.indexOf(e)){for(;i!==null;){var a=rt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=je(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Te(o);s.entanglements[1]|=c,o&=~c}Vu(a),!(Y&6)&&(zl=pe()+500,Hu(0,!1))}}break;case 13:s=Yr(a,2),s!==null&&$l(s,a,2),iu(),zf(a,2)}if(a=Gf(r),a===null&&cd(e,t,r,Kf,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else cd(e,t,r,null,n)}}function Gf(e){return e=qt(e),qf(e)}var Kf=null;function qf(e){if(Kf=null,e=nt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Kf=e,null}function Jf(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(me()){case he:return 2;case ge:return 8;case _e:case ve:return 32;case ye:return 268435456;default:return 32}default:return 32}}var Yf=!1,Xf=null,Zf=null,Qf=null,$f=new Map,ep=new Map,tp=[],np=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function rp(e,t){switch(e){case`focusin`:case`focusout`:Xf=null;break;case`dragenter`:case`dragleave`:Zf=null;break;case`mouseover`:case`mouseout`:Qf=null;break;case`pointerover`:case`pointerout`:$f.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:ep.delete(t.pointerId)}}function ip(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=rt(t),t!==null&&Bf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ap(e,t,n,r,i){switch(t){case`focusin`:return Xf=ip(Xf,e,t,n,r,i),!0;case`dragenter`:return Zf=ip(Zf,e,t,n,r,i),!0;case`mouseover`:return Qf=ip(Qf,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return $f.set(a,ip($f.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,ep.set(a,ip(ep.get(a)||null,e,t,n,r,i)),!0}return!1}function op(e){var t=nt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,Ge(e.priority,function(){if(n.tag===13){var e=Zl();e=He(e);var t=Yr(n,e);t!==null&&$l(t,n,e),zf(n,e)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function sp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gf(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Kt=r,n.target.dispatchEvent(r),Kt=null}else return t=rt(n),t!==null&&Bf(t),e.blockedOn=n,!1;t.shift()}return!0}function cp(e,t,n){sp(e)&&n.delete(t)}function lp(){Yf=!1,Xf!==null&&sp(Xf)&&(Xf=null),Zf!==null&&sp(Zf)&&(Zf=null),Qf!==null&&sp(Qf)&&(Qf=null),$f.forEach(cp),ep.forEach(cp)}function up(e,n){e.blockedOn===n&&(e.blockedOn=null,Yf||(Yf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,lp)))}var dp=null;function fp(e){dp!==e&&(dp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){dp===e&&(dp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(qf(r||n)===null)continue;break}var a=rt(n);a!==null&&(e.splice(t,3),t-=3,Jo(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function pp(e){function t(t){return up(t,e)}Xf!==null&&up(Xf,e),Zf!==null&&up(Zf,e),Qf!==null&&up(Qf,e),$f.forEach(t),ep.forEach(t);for(var n=0;n<tp.length;n++){var r=tp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<tp.length&&(n=tp[0],n.blockedOn===null);)op(n),n.blockedOn===null&&tp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Je]||null;if(typeof a==`function`)o||fp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Je]||null)s=o.formAction;else if(qf(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),fp(n)}}}function mp(e){this._internalRoot=e}hp.prototype.render=mp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;Lf(n,Zl(),e,t,null,null)},hp.prototype.unmount=mp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Lf(e.current,2,null,e,null,null),iu(),t[Ye]=null}};function hp(e){this._internalRoot=e}hp.prototype.unstable_scheduleHydration=function(e){if(e){var t=We();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tp.length&&t!==0&&t<tp[n].priority;n++);tp.splice(n,0,e),n===0&&op(e)}};var gp=n.version;if(gp!==`19.1.0`)throw Error(i(527,gp,`19.1.0`));P.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=l(t),e=e===null?null:u(e),e=e===null?null:e.stateNode,e};var _p={bundleType:0,version:`19.1.0`,rendererPackageName:`react-dom`,currentDispatcherRef:N,reconcilerVersion:`19.1.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vp.isDisabled&&vp.supportsFiber)try{Se=vp.inject(_p),Ce=vp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Fs,s=Is,c=Ls,l=null;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(l=t.unstable_transitionCallbacks)),t=Ff(e,1,!1,null,null,n,r,o,s,c,l,null),e[Ye]=t.current,od(e),new mp(t)}}));(0,s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=iv()}))().createRoot)(document.getElementById(`root`)).render((0,U.jsx)($_,{...window.__SERVER_DATA__||{}}));
|