@canopycanopycanopy/b-ber-reader 3.0.8-next.61 → 3.0.8-next.96

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.
@@ -0,0 +1,92 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(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},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));(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 l=o((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 te=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 P(){}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(P,te)}catch(e){te(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`})),u=o(((e,t)=>{t.exports=l()})),d=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t<`u`?t.exports=r(u()):typeof define==`function`&&define.amd?define([`react`],r):(n=typeof globalThis<`u`?globalThis:n||self,n.BberReader=r(n.React))})(e,function(e){var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(e&&(t=e(e=0)),t),c=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),l=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},d=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},f=(e,r,i)=>(i=e==null?{}:t(a(e)),d(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),p=e=>o.call(e,`module.exports`)?e[`module.exports`]:d(n({},`__esModule`,{value:!0}),e);let m=f(e,1);e=f(e);var h=c((e=>{var t=u();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}}));c(((e,t)=>{t.exports=h()}))();var g=m.version.startsWith(`19`),_=Symbol.for(g?`react.transitional.element`:`react.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=w,A=D;function j(e){if(typeof e==`object`&&e){let{$$typeof:t}=e;switch(t){case _:switch(e=e.type,e){case y:case x:case b:case T:case E:return e;default:switch(e&&=e.$$typeof,e){case C:case w:case O:case D:return e;case S:return e;default:return t}}case v:return t}}}function M(e){return j(e)===D}function ee(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s=!1,c,l,u,d,f;function p(i,a){return c=i,l=a,u=e(c,l),d=t(r,l),f=n(u,d,l),s=!0,f}function m(){return u=e(c,l),t.dependsOnOwnProps&&(d=t(r,l)),f=n(u,d,l),f}function h(){return e.dependsOnOwnProps&&(u=e(c,l)),t.dependsOnOwnProps&&(d=t(r,l)),f=n(u,d,l),f}function g(){let t=e(c,l),r=!o(t,u);return u=t,r&&(f=n(u,d,l)),f}function _(e,t){let n=!a(t,l),r=!i(e,c,t,l);return c=e,l=t,n&&r?m():n?h():r?g():f}return function(e,t){return s?_(e,t):p(e,t)}}function N(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){return ee(t(e,i),n(e,i),r(e,i),e,i)}function te(e,t){let n={};for(let r in e){let i=e[r];typeof i==`function`&&(n[r]=(...e)=>t(i(...e)))}return n}function P(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function F(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function I(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=F(e);let i=r(t,n);return typeof i==`function`&&(r.mapToProps=i,r.dependsOnOwnProps=F(i),i=r(t,n)),i},r}}function ne(e,t){return(n,r)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function re(e){return e&&typeof e==`object`?P(t=>te(e,t)):e?typeof e==`function`?I(e,`mapDispatchToProps`):ne(e,`mapDispatchToProps`):P(e=>({dispatch:e}))}function ie(e){return e?typeof e==`function`?I(e,`mapStateToProps`):ne(e,`mapStateToProps`):P(()=>({}))}function ae(e,t,n){return{...n,...e,...t}}function L(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i=!1,a;return function(t,n,o){let s=e(t,n,o);return i?r(s,a)||(a=s):(i=!0,a=s),a}}}function oe(e){return e?typeof e==`function`?L(e):ne(e,`mergeProps`):()=>ae}function se(e){e()}function ce(){let e=null,t=null;return{clear(){e=null,t=null},notify(){se(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var le={notify(){},get:()=>[]};function ue(e,t){let n,r=le,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=ce())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=le)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var de=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,fe=typeof navigator<`u`&&navigator.product===`ReactNative`,pe=de||fe?m.useLayoutEffect:m.useEffect;function me(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function R(e,t){if(me(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!me(e[n[r]],t[n[r]]))return!1;return!0}var he={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_e={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ve={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ye={[k]:_e,[A]:ve};function be(e){return M(e)?ve:ye[e.$$typeof]||he}var xe=Object.defineProperty,Se=Object.getOwnPropertyNames,Ce=Object.getOwnPropertySymbols,we=Object.getOwnPropertyDescriptor,Te=Object.getPrototypeOf,Ee=Object.prototype;function De(e,t){if(typeof t!=`string`){if(Ee){let n=Te(t);n&&n!==Ee&&De(e,n)}let n=Se(t);Ce&&(n=n.concat(Ce(t)));let r=be(e),i=be(t);for(let a=0;a<n.length;++a){let o=n[a];if(!ge[o]&&!(i&&i[o])&&!(r&&r[o])){let n=we(t,o);try{xe(e,o,n)}catch{}}}}return e}var Oe=Symbol.for(`react-redux-context`),ke=typeof globalThis<`u`?globalThis:{};function Ae(){if(!m.createContext)return{};let e=ke[Oe]??=new Map,t=e.get(m.createContext);return t||(t=m.createContext(null),e.set(m.createContext,t)),t}var je=Ae(),Me=[null,null];function Ne(e,t,n){pe(()=>e(...t),n)}function Pe(e,t,n,r,i,a){e.current=r,n.current=!1,i.current&&(i.current=null,a())}function Fe(e,t,n,r,i,a,o,s,c,l,u){if(!e)return()=>{};let d=!1,f=null,p=()=>{if(d||!s.current)return;let e=t.getState(),n,p;try{n=r(e,i.current)}catch(e){p=e,f=e}p||(f=null),n===a.current?o.current||l():(a.current=n,c.current=n,o.current=!0,u())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}function Ie(e,t){return e===t}function Le(e,t,n,{pure:r,areStatesEqual:i=Ie,areOwnPropsEqual:a=R,areStatePropsEqual:o=R,areMergedPropsEqual:s=R,forwardRef:c=!1,context:l=je}={}){let u=l,d=ie(e),f=re(t),p=oe(n),h=!!e;return e=>{let t=e.displayName||e.name||`Component`,n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:p,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:a,areMergedPropsEqual:s};function l(t){let[n,i,a]=m.useMemo(()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),o=m.useMemo(()=>{let e=u;return n?.Consumer,e},[n,u]),s=m.useContext(o),c=!!t.store&&!!t.store.getState&&!!t.store.dispatch,l=!!s&&!!s.store,d=c?t.store:s.store,f=l?s.getServerState:d.getState,p=m.useMemo(()=>N(d.dispatch,r),[d]),[g,_]=m.useMemo(()=>{if(!h)return Me;let e=ue(d,c?void 0:s.subscription);return[e,e.notifyNestedSubs.bind(e)]},[d,c,s]),v=m.useMemo(()=>c?s:{...s,subscription:g},[c,s,g]),y=m.useRef(void 0),b=m.useRef(a),x=m.useRef(void 0),S=m.useRef(!1),C=m.useRef(!1),w=m.useRef(void 0);pe(()=>(C.current=!0,()=>{C.current=!1}),[]);let T=m.useMemo(()=>()=>x.current&&a===b.current?x.current:p(d.getState(),a),[d,a]),E=m.useMemo(()=>e=>g?Fe(h,d,g,p,b,y,S,C,x,_,e):()=>{},[g]);Ne(Pe,[b,y,S,a,x,_]);let D;try{D=m.useSyncExternalStore(E,T,f?()=>p(f(),a):T)}catch(e){throw w.current&&(e.message+=`
2
+ The error may be correlated with this previous error:
3
+ ${w.current.stack}
4
+
5
+ `),e}pe(()=>{w.current=void 0,x.current=void 0,y.current=D});let O=m.useMemo(()=>m.createElement(e,{...D,ref:i}),[i,e,D]);return m.useMemo(()=>h?m.createElement(o.Provider,{value:v},O):O,[o,O,v])}let g=m.memo(l);if(g.WrappedComponent=e,g.displayName=l.displayName=n,c){let t=m.forwardRef(function(e,t){return m.createElement(g,{...e,reactReduxForwardedRef:t})});return t.displayName=n,t.WrappedComponent=e,De(t,e)}return De(g,e)}}var Re=Le;function ze(e){let{children:t,context:n,serverState:r,store:i}=e,a=m.useMemo(()=>({store:i,subscription:ue(i),getServerState:r?()=>r:void 0}),[i,r]),o=m.useMemo(()=>i.getState(),[i]);pe(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||je;return m.createElement(s.Provider,{value:a},t)}var Be=ze;function Ve(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var He=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Ue=()=>Math.random().toString(36).substring(7).split(``).join(`.`),We={INIT:`@@redux/INIT${Ue()}`,REPLACE:`@@redux/REPLACE${Ue()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ue()}`};function Ge(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ke(e,t,n){if(typeof e!=`function`)throw Error(Ve(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(Ve(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(Ve(1));return n(Ke)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(Ve(3));return i}function d(e){if(typeof e!=`function`)throw Error(Ve(4));if(c)throw Error(Ve(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(Ve(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Ge(e))throw Error(Ve(7));if(e.type===void 0)throw Error(Ve(8));if(typeof e.type!=`string`)throw Error(Ve(17));if(c)throw Error(Ve(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(Ve(10));r=e,f({type:We.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(Ve(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[He](){return this}}}return f({type:We.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[He]:m}}function qe(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:We.INIT})===void 0)throw Error(Ve(12));if(n(void 0,{type:We.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(Ve(13))})}function Je(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{qe(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(Ve(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function Ye(e,t){return function(...n){return t(e.apply(this,n))}}function Xe(e,t){if(typeof e==`function`)return Ye(e,t);if(typeof e!=`object`||!e)throw Error(Ve(16));let n={};for(let r in e){let i=e[r];typeof i==`function`&&(n[r]=Ye(i,t))}return n}function Ze(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Qe(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(Ve(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=Ze(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function $e(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var et=$e(),tt=c(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),nt=c(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),rt=c(((e,t)=>{var n=nt();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),it=c(((e,t)=>{var n=rt(),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})),at=c(((e,t)=>{var n=rt();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),ot=c(((e,t)=>{var n=rt();function r(e){return n(this.__data__,e)>-1}t.exports=r})),st=c(((e,t)=>{var n=rt();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})),ct=c(((e,t)=>{var n=tt(),r=it(),i=at(),a=ot(),o=st();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})),lt=c(((e,t)=>{var n=ct();function r(){this.__data__=new n,this.size=0}t.exports=r})),ut=c(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),dt=c(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),ft=c(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),pt=c(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),mt=c(((e,t)=>{var n=pt(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),ht=c(((e,t)=>{t.exports=mt().Symbol})),gt=c(((e,t)=>{var n=ht(),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})),_t=c(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),vt=c(((e,t)=>{var n=ht(),r=gt(),i=_t(),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})),yt=c(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),bt=c(((e,t)=>{var n=vt(),r=yt(),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})),xt=c(((e,t)=>{t.exports=mt()[`__core-js_shared__`]})),St=c(((e,t)=>{var n=xt(),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})),Ct=c(((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})),wt=c(((e,t)=>{var n=bt(),r=St(),i=yt(),a=Ct(),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})),Tt=c(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),Et=c(((e,t)=>{var n=wt(),r=Tt();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),Dt=c(((e,t)=>{t.exports=Et()(mt(),`Map`)})),Ot=c(((e,t)=>{t.exports=Et()(Object,`create`)})),kt=c(((e,t)=>{var n=Ot();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),At=c(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),jt=c(((e,t)=>{var n=Ot(),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})),Mt=c(((e,t)=>{var n=Ot(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),Nt=c(((e,t)=>{var n=Ot(),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})),Pt=c(((e,t)=>{var n=kt(),r=At(),i=jt(),a=Mt(),o=Nt();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})),Ft=c(((e,t)=>{var n=Pt(),r=ct(),i=Dt();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),It=c(((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})),Lt=c(((e,t)=>{var n=It();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),Rt=c(((e,t)=>{var n=Lt();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),zt=c(((e,t)=>{var n=Lt();function r(e){return n(this,e).get(e)}t.exports=r})),Bt=c(((e,t)=>{var n=Lt();function r(e){return n(this,e).has(e)}t.exports=r})),Vt=c(((e,t)=>{var n=Lt();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})),Ht=c(((e,t)=>{var n=Ft(),r=Rt(),i=zt(),a=Bt(),o=Vt();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})),Ut=c(((e,t)=>{var n=ct(),r=Dt(),i=Ht(),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})),Wt=c(((e,t)=>{var n=ct(),r=lt(),i=ut(),a=dt(),o=ft(),s=Ut();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})),Gt=c(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),Kt=c(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),qt=c(((e,t)=>{var n=Ht(),r=Gt(),i=Kt();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})),Jt=c(((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})),Yt=c(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),Xt=c(((e,t)=>{var n=qt(),r=Jt(),i=Yt(),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})),Zt=c(((e,t)=>{t.exports=mt().Uint8Array})),Qt=c(((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})),$t=c(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),en=c(((e,t)=>{var n=ht(),r=Zt(),i=nt(),a=Xt(),o=Qt(),s=$t(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,h=`[object RegExp]`,g=`[object Set]`,_=`[object String]`,v=`[object Symbol]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=n?n.prototype:void 0,S=x?x.valueOf:void 0;function C(e,t,n,x,C,w,T){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y: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 h:case _:return e==t+``;case p:var E=o;case g:var D=x&c;if(E||=s,e.size!=t.size&&!D)return!1;var O=T.get(e);if(O)return O==t;x|=l,T.set(e,t);var k=a(E(e),E(t),x,C,w,T);return T.delete(e),k;case v:if(S)return S.call(e)==S.call(t)}return!1}t.exports=C})),tn=c(((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})),nn=c(((e,t)=>{t.exports=Array.isArray})),rn=c(((e,t)=>{var n=tn(),r=nn();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),an=c(((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})),on=c(((e,t)=>{function n(){return[]}t.exports=n})),sn=c(((e,t)=>{var n=an(),r=on(),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})),cn=c(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),ln=c(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),un=c(((e,t)=>{var n=vt(),r=ln(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),dn=c(((e,t)=>{var n=un(),r=ln(),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`)}})),fn=c(((e,t)=>{function n(){return!1}t.exports=n})),pn=c(((e,t)=>{var n=mt(),r=fn(),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})),mn=c(((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})),hn=c(((e,t)=>{var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r})),gn=c(((e,t)=>{var n=vt(),r=hn(),i=ln(),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})),_n=c(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),vn=c(((e,t)=>{var n=pt(),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{}}()})),yn=c(((e,t)=>{var n=gn(),r=_n(),i=vn(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),bn=c(((e,t)=>{var n=cn(),r=dn(),i=nn(),a=pn(),o=mn(),s=yn(),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})),xn=c(((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})),Sn=c(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Cn=c(((e,t)=>{t.exports=Sn()(Object.keys,Object)})),wn=c(((e,t)=>{var n=xn(),r=Cn(),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})),Tn=c(((e,t)=>{var n=bt(),r=hn();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),En=c(((e,t)=>{var n=bn(),r=wn(),i=Tn();function a(e){return i(e)?n(e):r(e)}t.exports=a})),Dn=c(((e,t)=>{var n=rn(),r=sn(),i=En();function a(e){return n(e,i,r)}t.exports=a})),On=c(((e,t)=>{var n=Dn(),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})),kn=c(((e,t)=>{t.exports=Et()(mt(),`DataView`)})),An=c(((e,t)=>{t.exports=Et()(mt(),`Promise`)})),jn=c(((e,t)=>{t.exports=Et()(mt(),`Set`)})),Mn=c(((e,t)=>{t.exports=Et()(mt(),`WeakMap`)})),Nn=c(((e,t)=>{var n=kn(),r=Dt(),i=An(),a=jn(),o=Mn(),s=vt(),c=Ct(),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})),Pn=c(((e,t)=>{var n=Wt(),r=Xt(),i=en(),a=On(),o=Nn(),s=nn(),c=pn(),l=yn(),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})),Fn=c(((e,t)=>{var n=Pn(),r=ln();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})),In=c(((e,t)=>{var n=Wt(),r=Fn(),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})),Ln=c(((e,t)=>{var n=yt();function r(e){return e===e&&!n(e)}t.exports=r})),Rn=c(((e,t)=>{var n=Ln(),r=En();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})),zn=c(((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})),Bn=c(((e,t)=>{var n=In(),r=Rn(),i=zn();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})),Vn=c(((e,t)=>{var n=vt(),r=ln(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),Hn=c(((e,t)=>{var n=nn(),r=Vn(),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})),Un=c(((e,t)=>{var n=Ht(),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})),Wn=c(((e,t)=>{var n=Un(),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})),Gn=c(((e,t)=>{var n=Wn(),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})})),Kn=c(((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})),qn=c(((e,t)=>{var n=ht(),r=Kn(),i=nn(),a=Vn(),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})),Jn=c(((e,t)=>{var n=qn();function r(e){return e==null?``:n(e)}t.exports=r})),Yn=c(((e,t)=>{var n=nn(),r=Hn(),i=Gn(),a=Jn();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),Xn=c(((e,t)=>{var n=Vn(),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})),Zn=c(((e,t)=>{var n=Yn(),r=Xn();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})),Qn=c(((e,t)=>{var n=Zn();function r(e,t,r){var i=e==null?void 0:n(e,t);return i===void 0?r:i}t.exports=r})),$n=c(((e,t)=>{function n(e,t){return e!=null&&t in Object(e)}t.exports=n})),er=c(((e,t)=>{var n=Yn(),r=dn(),i=nn(),a=mn(),o=hn(),s=Xn();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})),tr=c(((e,t)=>{var n=$n(),r=er();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),nr=c(((e,t)=>{var n=Fn(),r=Qn(),i=tr(),a=Hn(),o=Ln(),s=zn(),c=Xn(),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})),rr=c(((e,t)=>{function n(e){return e}t.exports=n})),ir=c(((e,t)=>{function n(e){return function(t){return t?.[e]}}t.exports=n})),ar=c(((e,t)=>{var n=Zn();function r(e){return function(t){return n(t,e)}}t.exports=r})),or=c(((e,t)=>{var n=ir(),r=ar(),i=Hn(),a=Xn();function o(e){return i(e)?n(a(e)):r(e)}t.exports=o})),sr=c(((e,t)=>{var n=Bn(),r=nr(),i=rr(),a=nn(),o=or();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})),cr=c(((e,t)=>{var n=sr(),r=Tn(),i=En();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})),lr=c(((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})),ur=c(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),dr=c(((e,t)=>{var n=ur(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),fr=c(((e,t)=>{var n=dr(),r=yt(),i=Vn(),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})),pr=c(((e,t)=>{var n=fr(),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})),mr=c(((e,t)=>{var n=pr();function r(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}t.exports=r})),hr=c(((e,t)=>{var n=lr(),r=sr(),i=mr(),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})),gr=c(((e,t)=>{t.exports=cr()(hr())})),_r=c(((e,t)=>{t.exports=Sn()(Object.getPrototypeOf,Object)})),vr=c(((e,t)=>{var n=vt(),r=_r(),i=ln(),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})),yr=f(gr()),br=f(vr()),xr=`LOCATION_UPDATE`,Sr=c(((e,t)=>{t.exports=function(e){return(``+e).replace(/["'\\\n\r\u2028\u2029]/g,function(e){switch(e){case`"`:case`'`:case`\\`:return`\\`+e;case`
6
+ `:return`\\n`;case`\r`:return`\\r`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`}})}})),Cr=c(((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})),wr=c(((e,t)=>{var n=Cr();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})),Tr=c(((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})),Er=c(((e,t)=>{function n(e){return e.split(``)}t.exports=n})),Dr=c(((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})),Or=c(((e,t)=>{var n=Er(),r=Tr(),i=Dr();function a(e){return r(e)?i(e):n(e)}t.exports=a})),kr=c(((e,t)=>{var n=wr(),r=Tr(),i=Or(),a=Jn();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})),Ar=c(((e,t)=>{t.exports=kr()(`toUpperCase`)})),jr=c(((e,t)=>{var n=Jn(),r=Ar();function i(e){return r(n(e).toLowerCase())}t.exports=i})),Mr=c(((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})),Nr=c(((e,t)=>{function n(e){return function(t){return e?.[t]}}t.exports=n})),Pr=c(((e,t)=>{t.exports=Nr()({À:`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`})})),Fr=c(((e,t)=>{var n=Pr(),r=Jn(),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})),Ir=c(((e,t)=>{var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function r(e){return e.match(n)||[]}t.exports=r})),Lr=c(((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})),Rr=c(((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_])`,te=j+A+M,P=`(?:`+[_,S,C].join(`|`)+`)`+te,F=RegExp([w+`?`+v+`+`+O+`(?=`+[m,w,`$`].join(`|`)+`)`,D+`+`+k+`(?=`+[m,w+E,`$`].join(`|`)+`)`,w+`?`+E+`+`+O,w+`+`+k,N,ee,g,P].join(`|`),`g`);function I(e){return e.match(F)||[]}t.exports=I})),zr=c(((e,t)=>{var n=Ir(),r=Lr(),i=Jn(),a=Rr();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})),Br=c(((e,t)=>{var n=Mr(),r=Fr(),i=zr(),a=RegExp(`['’]`,`g`);function o(e){return function(t){return n(i(r(t).replace(a,``)),e,``)}}t.exports=o})),Vr=c(((e,t)=>{var n=jr();t.exports=Br()(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)})})),Hr=c(((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})})),Ur=c(((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})),Wr=f(Sr()),Gr=f(Vr()),Kr=f(Hr()),qr=f(Ur()),Jr=e=>typeof e==`number`&&Number.isNaN(e)===!1&&Number.isFinite(e)===!0,Yr=(0,Kr.default)({quotes:`'`}),z=class{static createHash(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)}static createId(){return`_${Math.random().toString(36).substr(2,9)}`}static appendBookStyles(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)}static removeBookStyles(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)}}static convertToReactAttrs(e){let t={};if(Object.entries(e).forEach(([e,n])=>{e===`playsinline`?t.playsInline=n:t[(0,qr.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,Gr.default)(t),t=t[0].toUpperCase()+t.slice(1)):t=(0,Gr.default)(t),a=Jr(a)?Yr((0,Wr.default)(a)):a,n[t]=a,n)}),t.style=n,t}},Xr=class e{static localStorageKey=`bber_reader`;static get(t=e.localStorageKey){let n=`{}`;try{n=window.localStorage.getItem(t)||n}catch{console.warn(`window.localStorage is unavailable.`)}return n=JSON.parse(n),n}static set(t,n=e.localStorageKey){let r=t;typeof r!=`string`&&(r=JSON.stringify(r));try{window.localStorage.setItem(n,r)}catch{console.warn(`window.localStorage is unavailable`)}}static clear(t=e.localStorageKey){if(String(t))try{window.localStorage.removeItem(t)}catch{console.warn(`window.localStorage is unavailable`)}}},Zr=e=>e instanceof URLSearchParams?e:new URLSearchParams(e),Qr=(e,t)=>{if(!e)return!1;let n=Zr(e),{currentSpineItemIndex:r,spreadIndex:i}=t,a=!0;return(!n.has(r)||!n.has(i))&&(a=!1),a},$r=(e,t)=>{let n=Zr(e),{currentSpineItemIndex:r,spreadIndex:i}=t;return n.has(r)||n.set(r,0),n.has(i)||n.set(i,0),n},ei=(e,t)=>{let n=Zr(e),{currentSpineItemIndex:r,spreadIndex:i,slug:a}=t;return n.delete(r),n.delete(i),n.delete(a),n},ti=(e,t)=>{let n=Zr(e),r=ei(window.location.search,t);for(let[e,t]of r)n.set(e,t);return n},{decodeURI:ni,encodeURI:ri,encodeURIComponent:ii,URLSearchParams:ai}=window,B=class e{static slug(e){return String(e).toLowerCase().trim().replace(/[\s-]+/g,`-`).replace(/[^\w-]+/g,``).replace(/-+/g,`-`)}static queryStringKey(e){return ii(e)}static queryStringValue(e){return ii(e&&e.constructor===Array?JSON.stringify(e):e)}static buildQueryString(t){let n=[];return Object.entries(t).forEach(([t,r])=>n.push(`${e.queryStringKey(t)}=${e.queryStringValue(r)}`)),n.join(`&`)}static parseQueryString(e){let t=new ai(e),n={};return t.forEach((e,t)=>n[t]=e),n}static ensureDecodedURL(e){let t=String(e);if(!t)return t;for(;t!==ni(t);)t=ni(t);return t}static isMailTo(e){return/^mailto:/.test(e)}static isRelative(t){return/^http/.test(t)===!1&&e.isMailTo(t)===!1}static stripTrailingSlash(e){return e.replace(/\/+$/,``)}static trimSlashes(e){return e.replace(/(^\/+|\/+$)/g,``)}static addTrailingSlash(t){return`${e.stripTrailingSlash(t)}/`}static addLeadingSlash(t){return`/${e.trimSlashes(t)}`}static trimFilenameFromResponse(t){let n=e.trimSlashes(t);return n=n.slice(0,n.lastIndexOf(`/`)),n}static resolveRelativeURL(t,n){if(!t||!n)return console.warn(`Url#resolveRelativeURL: No 'url' or 'path' param provided`,t,n),`/`;let r=e.trimSlashes(n),i=t;if(/^http/.test(i)!==!0)return i=e.resolveRelativeURL(`${window.location.origin}${window.location.pathname}`,i),e.resolveRelativeURL(i,r);i=e.addTrailingSlash(t);let{href:a}=new window.URL(r,i);return a=e.ensureDecodedURL(a),ri(a)}static toAbsoluteUrl(t,n){let r=`${e.stripTrailingSlash(t)}/${e.trimSlashes(n)}`;return r=e.ensureDecodedURL(r),ri(r)}static resolveOverlappingURL(t,n){let r=new window.URL(t),i=e.trimSlashes(n).split(`/`),{origin:a,pathname:o}=r,s=e.trimSlashes(o).split(`/`);s.pop();for(let e=s.length-1;e>=0;e--)s[e]===i[0]&&i.shift();let c=[...s,...i].join(`/`),{href:l}=new window.URL(e.ensureDecodedURL(c),a);return ri(l)}static stripQuery(e){return e.split(`?`)[0]}static stripHash(e){return e.split(`#`)[0]}static stripQueryAndHash(t){let n;return n=e.stripQuery(t),n=e.stripHash(t),n}static createPath(t){let n=String(t);return!n||n===`/`?`/`:(n=e.ensureDecodedURL(n),n=e.stripQueryAndHash(n),n=n.split(`/`).filter(Boolean).join(`/`),n=n.length?`/${n}/`:`/`,n)}static isExternal(t,n){if(e.isRelative(t))return!1;try{let{host:e}=new URL(t),{host:r}=new URL(n);return e!==r}catch(e){return console.error(e),!0}}};function oi(){return oi=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},oi.apply(this,arguments)}function si(e){return e.charAt(0)===`/`}function ci(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 li(e,t){t===void 0&&(t=``);var n=e&&e.split(`/`)||[],r=t&&t.split(`/`)||[],i=e&&si(e),a=t&&si(t),o=i||a;if(e&&si(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===`.`?ci(r,u):d===`..`?(ci(r,u),l++):l&&(ci(r,u),l--)}if(!o)for(;l--;)r.unshift(`..`);o&&r[0]!==``&&(!r[0]||!si(r[0]))&&r.unshift(``);var f=r.join(`/`);return s&&f.substr(-1)!==`/`&&(f+=`/`),f}var ui=!0,di=`Invariant failed`;function fi(e,t){if(!e){if(ui)throw Error(di);var n=typeof t==`function`?t():t,r=n?di+`: `+n:di;throw Error(r)}}function pi(e){return e.charAt(0)===`/`?e:`/`+e}function mi(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&`/?#`.indexOf(e.charAt(t.length))!==-1}function hi(e,t){return mi(e,t)?e.substr(t.length):e}function gi(e){return e.charAt(e.length-1)===`/`?e.slice(0,-1):e}function _i(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 vi(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 yi(e,t,n,r){var i;typeof e==`string`?(i=_i(e),i.state=t):(i=oi({},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=li(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||=`/`,i}function bi(){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 xi=!!(typeof window<`u`&&window.document&&window.document.createElement);function Si(e,t){t(window.confirm(e))}function Ci(){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 wi(){return window.navigator.userAgent.indexOf(`Trident`)===-1}function Ti(e){return e.state===void 0&&navigator.userAgent.indexOf(`CriOS`)===-1}var Ei=`popstate`,Di=`hashchange`;function V(){try{return window.history.state||{}}catch{return{}}}function Oi(e){e===void 0&&(e={}),!xi&&fi(!1);var t=window.history,n=Ci(),r=!wi(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,s=i.getUserConfirmation,c=s===void 0?Si:s,l=i.keyLength,u=l===void 0?6:l,d=e.basename?gi(pi(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=hi(c,d)),yi(c,r,n)}function p(){return Math.random().toString(36).substr(2,u)}var m=bi();function h(e){oi(N,e),N.length=t.length,m.notifyListeners(N.location,N.action)}function g(e){Ti(e)||y(f(e.state))}function _(){y(f(V()))}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(V()),S=[x.key];function C(e){return d+vi(e)}function w(e,r){var i=`PUSH`,a=yi(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=yi(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(Ei,g),r&&window.addEventListener(Di,_)):k===0&&(window.removeEventListener(Ei,g),r&&window.removeEventListener(Di,_))}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 ki=Oi(),Ai=l({locationStates:()=>ji,setInitialSearchParams:()=>Pi,updateLocalStorage:()=>Mi,updateLocation:()=>Fi,updateQueryString:()=>Ni}),ji={MEMORY:`memory`,QUERY_PARAMS:`searchParams`,LOCAL_STORAGE:`localStorage`},Mi=e=>(t,n)=>{let{bookURL:r}=n().readerSettings,i=z.createHash(r),a=Xr.get()||{};return a[i]=a[i]||{},a[i].location=e,Xr.set(a),t({type:xr,payload:e})},Ni=e=>(t,n)=>{let r=n(),{searchParamKeys:i}=r.readerSettings,{searchParams:a}=r.readerLocation,{searchParams:o}=e,{slug:s}=i,c=B.parseQueryString(a),l=B.parseQueryString(o),u=c[s],d=l[s],f=!u||u===d?`replace`:`push`,p=ti(o,i).toString();return ki[f]({search:p}),t({type:xr,payload:e})},Pi=()=>(e,t)=>{let{readerSettings:n}=t(),{bookURL:r,searchParamKeys:i,locationState:a}=n,{searchParams:o}=n;(0,br.default)(o)&&(o=$r(o,i).toString());let s={searchParams:``};if(o)s.searchParams=o;else if(a===ji.QUERY_PARAMS){let e;if(window.location.search&&Qr(window.location.search,i))e=new URLSearchParams(window.location.search);else{let t=z.createHash(r);e=(Xr.get()||{})[t]?.location?.searchParams||``}e=$r(e,i),e=ti(e,i),s={searchParams:e.toString()}}else if(a===ji.LOCAL_STORAGE){r||console.error("Err! No `bookURL` provided");let e,t=z.createHash(r),n=Xr.get()||{};n[t]=n[t]||{},e=n[t].location?.searchParams||``,e=$r(e,i),s={searchParams:e.toString()},n[t].location=s,Xr.set(n)}return e({type:xr,payload:s})},Fi=e=>(t,n)=>{let{locationState:r}=n().readerSettings;if(r===ji.QUERY_PARAMS)return t(Ni(e));if(r===ji.LOCAL_STORAGE)return t(Mi(e))},Ii=`SETTINGS_UPDATE`,Li=l({updateSettings:()=>Ri}),Ri=e=>({type:Ii,payload:e}),zi=class e{static async get(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}}}static async getJson(t){return e.get(t,`json`)}static async getText(t){return e.get(t,`text`)}static getBooks(t=``){let n=`${B.stripTrailingSlash(t)}/api/books.json`;return e.getJson(n)}},Bi=c(((e,t)=>{var n=mt();t.exports=function(){return n.Date.now()}})),Vi=c(((e,t)=>{var n=yt(),r=Bi(),i=fr(),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})),Hi=c(((e,t)=>{var n=mr();function r(e){return typeof e==`number`&&e==n(e)}t.exports=r})),Ui=f(Vi()),Wi=f(Hi()),Gi=`UPDATE`,Ki=`PAGE_TRANSITIONS_UPDATE`,qi=`EVENT_HANDLING_UPDATE`,Ji=`SPINNER_UPDATE`,Yi=l({disableEventHandling:()=>ea,disablePageTransitions:()=>Qi,enableEventHandling:()=>$i,enablePageTransitions:()=>Zi,hideSpinner:()=>na,showSpinner:()=>ta,update:()=>Xi}),Xi=e=>({type:Gi,payload:e}),Zi=()=>({type:Ki,payload:!0}),Qi=()=>({type:Ki,payload:!1}),$i=()=>({type:qi,payload:!0}),ea=()=>({type:qi,payload:!1}),ta=()=>({type:Ji,payload:!0}),na=()=>({type:Ji,payload:!1}),ra=`LOAD`,ia=`UNLOAD`,aa=`UPDATE_ULTIMATE_NODE_POSITION`,oa=`UPDATE_LAST_SPREAD_INDEX`,sa=`QUEUE_DEFERRED_CALLBACKS`,ca=`DEQUEUE_DEFERRED_CALLBACKS`,la=l({dequeueDeferredCallbacks:()=>ha,load:()=>ua,queueDeferredCallbacks:()=>ma,unload:()=>da,updateLastSpreadIndex:()=>pa,updateUltimateNodePosition:()=>fa}),ua=()=>({type:ra,payload:!0}),da=()=>({type:ia,payload:!1}),fa=e=>({type:aa,payload:e}),pa=e=>({type:oa,payload:e}),ma=()=>({type:sa,payload:!0}),ha=()=>({type:ca,payload:!1}),ga=`SETTINGS_LOAD`,_a=`SETTINGS_SAVE`,va=`SETTINGS_UPDATE`,ya=l({load:()=>ba,save:()=>xa,update:()=>Sa}),ba=()=>e=>e({type:ga}),xa=()=>(e,t)=>{let{viewerSettings:n}=t(),r={viewerSettings:n};return Xr.set(r),e({type:_a,payload:n})},Sa=(e={})=>t=>t({type:va,payload:e}),Ca=c(((e,t)=>{function n(e,t){return e>t}t.exports=n})),wa=c(((e,t)=>{var n=fr();function r(e){return function(t,r){return typeof t==`string`&&typeof r==`string`||(t=n(t),r=n(r)),e(t,r)}}t.exports=r})),Ta=c(((e,t)=>{var n=Ca();t.exports=wa()(n)})),Ea=c(((e,t)=>{t.exports=wa()(function(e,t){return e>=t})})),Da=c(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e,t){return e!=null&&n.call(e,t)}t.exports=r})),Oa=c(((e,t)=>{var n=Da(),r=er();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),ka=c(((e,t)=>{function n(e){return e===void 0}t.exports=n})),Aa=c(((e,t)=>{function n(e,t){return e<t}t.exports=n})),ja=c(((e,t)=>{var n=Aa();t.exports=wa()(n)})),Ma=c(((e,t)=>{t.exports=wa()(function(e,t){return e<=t})})),Na=f(nt()),Pa=f(nn()),Fa=f(Ta()),Ia=f(Ea()),La=f(Oa()),Ra=f(ka()),za=f(ja()),Ba=f(Ma()),Va={SLIDE:`slide`,FADE:`fade`},Ha={DEFAULT:`default`,LIGHT:`light`,DARK:`dark`},H={SLOW:.5,NORMAL:1,FAST:1.5},U=new Set([`simple`,`normal`,`full`]),Ua={SCROLL:`scroll`,COLUMNS:`columns`},Wa={ONE:`auto auto`,TWO:`2 auto`},Ga=`only screen and (min-aspect-ratio: 13 / 5)`,Ka=`only screen and (max-width: 768px)`,qa=`only screen and (min-width: 768px) and (max-width: 1140px)`,Ja=`only screen and (min-width: 1140px)`,Ya=`only screen and (min-width: 1140px) and (max-width: 1140px)`,Xa=`only screen and (min-width: 1140px) and (max-width: 1440px)`,Za=`only screen and (min-width: 1440px) and (max-width: 1920px)`,Qa=`only screen and (min-width: 1920px)`,$a=`only screen and (max-width: 1140px), (min-aspect-ratio: 13 / 5)`,eo=`only screen and (min-width: 1140px) and (max-aspect-ratio: 13 / 5)`,to=new Map([[Ka,{maxWidth:`100%`,maxHeight:`auto`,columnGap:`45px`,columns:Wa.ONE,paddingLeft:`15px`,paddingRight:`15px`,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(140%, 1.5vw, 160%)`}],[qa,{maxWidth:`738px`,maxHeight:`auto`,columnGap:`45px`,columns:Wa.ONE,paddingLeft:0,paddingRight:0,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(150%, 1.5vw, 160%)`}],[Ya,{maxWidth:`900px`,maxHeight:`500px`,columnGap:`45px`,columns:Wa.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`137%`}],[Xa,{maxWidth:`1080px`,maxHeight:`600px`,columnGap:`65px`,columns:Wa.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`130%`}],[Za,{maxWidth:`1280px`,maxHeight:`675px`,columnGap:`80px`,columns:Wa.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`150%`}],[Qa,{maxWidth:`1680px`,maxHeight:`880px`,columnGap:`125px`,columns:Wa.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`195%`}]]),no=c(((e,t)=>{t.exports={}})),ro=(0,c(((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:no().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}}))().detect)(),io=()=>{},ao=()=>String(Math.random()).substring(2),oo=(...e)=>{let t;do t=e.shift();while((0,Ra.default)(t)&&e.length);return t},so=(e,...t)=>{for(let n=0;n<t.length;n++)if((0,Pa.default)(t[n]))e=[...e||[],...t[n]];else if((0,br.default)(t[n]))for(let[r,i]of Object.entries(t[n]))(0,La.default)(t[n],r)&&(typeof e[r]==typeof i?e[r]=so(e[r],i):e[r]=i);else e=t[n];return e},co=(()=>{let e={eq:Na.default,gt:Fa.default,gte:Ia.default,lt:za.default,lte:Ba.default};return(t,n,r)=>e[t].call(null,n,r)})(),lo=(e,t=``,n=0)=>{if(!ro||ro.name!==e)return!1;if(!t||!n)return!0;let[r]=ro.version.split(`.`).map(Number);return co(t,r,n)},uo=({controls:e})=>U.has(e)?e:!(0,Ra.default)(e),W=class e{static isMediaQueryMobile=()=>window.matchMedia(Ka).matches;static isMediaQueryTablet=()=>window.matchMedia(qa).matches;static isMediaQueryDesktop=()=>window.matchMedia(Ja).matches;static isMinimumScrollingAspectRatio=()=>window.matchMedia(Ga).matches;static isSingleColumn=()=>{let{css:t}=e.getCss();return t.columns===Wa.ONE||e.isMinimumScrollingAspectRatio()};static isVerticalScrollConfigured=e=>e===Ua.SCROLL;static isVerticallyScrolling=({layout:t})=>e.isSingleColumn()||e.isVerticalScrollConfigured(t);static isTouch=()=>`ontouchstart`in window||window.navigator.msPointerEnabled||`ontouchstart`in document.documentElement;static isPixelValue=e=>(e||``).substring(e.length-2)===`px`;static isPercentageValue=e=>(e||``).substring(e.length-1)===`%`;static parseStringWidthValue=t=>{let n=0;return e.isPixelValue(t)?n=parseInt(t,10):e.isPercentageValue(t)?n=window.innerWidth*parseInt(t,10)/100:console.error("Unsupported value `%s`",t),n};static parseStringHeightValue=t=>{let n=0;return e.isPixelValue(t)?n=parseInt(t,10):e.isPercentageValue(t)?n=window.innerHeight*parseInt(t,10)/100:console.error("Unsupported value `%s`",t),n};static getHorizontalSpacing=t=>{if(t===`auto`)return 0;let n=e.parseStringWidthValue(t);return(window.innerWidth-n)/2};static getVerticalSpacing=t=>{if(t===`auto`)return 0;let n=e.parseStringHeightValue(t);return n=(window.innerHeight-n)/2,n=Math.max(0,n),n};static getPageWidth=({width:e,paddingLeft:t,paddingRight:n,columnGap:r})=>e-t-n+r;static getCss=()=>{let e=Xa,t=to.get(e);for(let[n,r]of to)if(window.matchMedia(n).matches){t={...r},e=n;break}return{css:t,mediaQuery:e}};static getStyles=()=>{let{css:t}=e.getCss(),{maxWidth:n,maxHeight:r,columnGap:i,columns:a,paddingLeft:o,paddingRight:s,paddingTop:c,paddingBottom:l,fontSize:u}=t,d=e.getHorizontalSpacing(n),f=e.getVerticalSpacing(r);return{paddingLeft:d+parseInt(o,10),paddingRight:d+parseInt(s,10),paddingTop:f+parseInt(c,10),paddingBottom:f+parseInt(l,10),columnGap:parseInt(i,10),fontSize:u,columns:a}};static styles=()=>e.getStyles()},fo={lastSpread:!1,spreadIndex:0,getTranslateX:()=>0,navigateToChapterByURL:io,getSpineItemByAbsoluteUrl:io},po=e.default.createContext(fo);po.displayName=`ReaderContext`;var mo=c((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})),G=c(((e,t)=>{t.exports=mo()}))(),ho=t=>{class n extends e.default.Component{goToPrevChapter=()=>{this.props.userInterface.handleEvents!==!1&&this.props.handleChapterNavigation(-1)};goToNextChapter=()=>{this.props.userInterface.handleEvents!==!1&&this.props.handleChapterNavigation(1)};goToPrevPage=()=>{this.props.userInterface.handleEvents!==!1&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1))};goToNextPage=()=>{this.props.userInterface.handleEvents!==!1&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1))};render(){return(0,G.jsx)(t,{goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage,...this.props})}}return Re(({userInterface:e})=>({userInterface:e}),e=>({userInterfaceActions:Xe(Yi,e)}))(n)},go=()=>(0,G.jsx)(`svg`,{style:{top:1},viewBox:`0 0 32 32`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,G.jsxs)(`g`,{transform:`translate(1.000000, 0.615224)`,stroke:`#222222`,children:[(0,G.jsx)(`circle`,{id:`Oval`,cx:`15`,cy:`15`,r:`15`}),(0,G.jsx)(`circle`,{id:`Oval`,cx:`15.5`,cy:`15.5`,r:`7.5`})]})})}),_o=()=>(0,G.jsx)(`svg`,{viewBox:`0 0 18 22`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,G.jsx)(`g`,{transform:`translate(-6.000000, -3.000000)`,fill:`#000000`,children:(0,G.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`})})})}),vo=()=>(0,G.jsx)(`svg`,{viewBox:`0 0 12 13`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,G.jsx)(`g`,{transform:`translate(0.000000, 0.422836)`,fill:`#000000`,fillRule:`nonzero`,children:(0,G.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`})})})}),yo=()=>(0,G.jsx)(`svg`,{style:{top:1},viewBox:`0 0 26 26`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,G.jsx)(`g`,{transform:`translate(-2.000000, -2.000000)`,fill:`#222222`,children:(0,G.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`})})})}),bo=()=>(0,G.jsx)(`svg`,{viewBox:`0 0 22 18`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,G.jsx)(`g`,{transform:`translate(-5.000000, -6.192388)`,fill:`#000000`,children:(0,G.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`})})})}),xo=()=>(0,G.jsx)(`svg`,{width:`24px`,height:`36px`,viewBox:`0 0 24 36`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,G.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) `})})}),So=()=>(0,G.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,G.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,G.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) `})})}),Co=()=>(0,G.jsx)(`svg`,{width:`16px`,height:`24px`,viewBox:`0 0 16 24`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,G.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,G.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) `})})}),wo=()=>(0,G.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,G.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,G.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) `})})});function To(t){let n=t.spine?.length??0,r=(0,e.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)}}}),[t.currentSpineItemIndex,t.uiOptions.navigation.footer_icons.chapter,n,t.uiOptions.navigation.footer_icons.page,t.spreadIndex,t.lastSpreadIndex]);return t.spine?(0,G.jsx)(`footer`,{className:`bber-controls__footer`,children:(0,G.jsx)(`nav`,{className:`bber-nav`,children:(0,G.jsxs)(`ul`,{className:`bber-ul`,children:[(0,G.jsx)(`li`,{className:`bber-li`,children:r.chapter.prev(t)&&(0,G.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:t.goToPrevChapter,children:(0,G.jsx)(wo,{})})}),(0,G.jsx)(`li`,{className:`bber-li`,children:r.page.prev(t)&&(0,G.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-prev`,onClick:t.goToPrevPage,children:(0,G.jsx)(So,{})})}),(0,G.jsx)(`li`,{className:`bber-li`,children:r.page.next(t)&&(0,G.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-next`,onClick:t.goToNextPage,children:(0,G.jsx)(xo,{})})}),(0,G.jsx)(`li`,{className:`bber-li`,children:r.chapter.next(t)&&(0,G.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:t.goToNextChapter,children:(0,G.jsx)(Co,{})})})]})})}):null}var Eo=f(c(((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 Do(){let[t,n]=(0,e.useState)(0);return[(0,e.useCallback)(e=>{if(e===null){n(0);return}let{y:t}=e.getBoundingClientRect();n(window.innerHeight-t)},[window.innerHeight]),t]}function Oo(e){let{current:t,items:n}=e,r=e.depth||0;return(0,G.jsx)(`ol`,{className:`bber-ol`,children:n.filter(e=>e.depth===r&&e.inTOC).map((n,i)=>(0,G.jsxs)(`li`,{className:`bber-li`,children:[(0,G.jsx)(`button`,{onClick:()=>e.navigateToChapterByURL(n.absoluteURL),className:(0,Eo.default)(`bber-button bber-indent--${r+1}`,{"bber-chapter--current":t===n.id}),children:n.title||`Chapter ${r}.${i}`}),n.children.length>0&&(0,G.jsx)(Oo,{current:t,items:n.children,depth:r+1,navigateToChapterByURL:e.navigateToChapterByURL})]},n.id))})}function ko(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if(e.showSidebar!==`chapters`)return null;let[t,n]=Do();return(0,G.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,Eo.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__chapters`,`bber-controls__sidebar__chapters--open`),children:(0,G.jsx)(Oo,{items:[...e.spine],current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL})})}var Ao=Re(({readerSettings:e})=>({readerSettings:e}))(ko);function jo({url:e,label:t,description:n}){return(0,G.jsx)(`li`,{className:`bber-li`,children:(0,G.jsxs)(`a`,{className:`bber-a`,download:!0,href:e,onClick:()=>{},children:[(0,G.jsx)(`div`,{className:`bber-downloads__title`,children:t}),n&&(0,G.jsx)(`div`,{className:`bber-downloads__description`,children:n})]})})}function Mo(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if(e.showSidebar!==`downloads`)return null;let[t,n]=Do();return(0,G.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,Eo.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__downloads`,`bber-controls__sidebar__downloads--open`),children:(0,G.jsx)(`ul`,{className:`bber-ul`,children:e.downloads.map(e=>(0,G.jsx)(jo,{url:e.url,label:e.label,description:e.description},e.url))})})}var No=Re(({readerSettings:e})=>({readerSettings:e}))(Mo);function Po(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if(e.showSidebar!==`metadata`)return null;let[t,n]=Do();return(0,G.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,Eo.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__metadata`,`bber-controls__sidebar__metadata--open`),children:(0,G.jsx)(`dl`,{className:`bber-dl`,children:Object.entries(e.metadata).map(([e,t])=>!e||!t?null:(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`dt`,{className:`bber-dt`,children:e}),(0,G.jsx)(`dd`,{className:`bber-dd`,children:t})]},e))})})}var Fo=Re(({readerSettings:e})=>({readerSettings:e}))(Po);e.default.Component;function Io(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,G.jsx)(`header`,{className:`bber-controls__header`,children:(0,G.jsx)(`nav`,{className:`bber-nav`,children:(0,G.jsxs)(`ul`,{className:`bber-ul`,children:[(0,G.jsx)(`li`,{className:`bber-li bber-li-home`,children:c&&(0,G.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:e.destroyReaderComponent,children:(0,G.jsx)(go,{})})}),(0,G.jsx)(`li`,{className:`bber-li`,children:(0,G.jsxs)(`ul`,{className:`bber-ul`,children:[s&&(0,G.jsxs)(`li`,{className:`bber-li bber-li-toc`,children:[(0,G.jsx)(`button`,{className:(0,Eo.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`chapters`}),onClick:()=>e.handleSidebarButtonClick(`chapters`),children:t===`chapters`?(0,G.jsx)(vo,{}):(0,G.jsx)(bo,{})}),(0,G.jsx)(Ao,{showSidebar:t,spine:r,currentSpineItemIndex:i,navigateToChapterByURL:a})]}),u&&n.length>0&&(0,G.jsxs)(`li`,{className:`bber-li bber-li-downloads`,children:[(0,G.jsx)(`button`,{className:(0,Eo.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`downloads`}),onClick:()=>e.handleSidebarButtonClick(`downloads`),children:t===`downloads`?(0,G.jsx)(vo,{}):(0,G.jsx)(_o,{})}),(0,G.jsx)(No,{showSidebar:t,downloads:n})]}),!1,l&&(0,G.jsxs)(`li`,{className:`bber-li bber-li-info`,children:[(0,G.jsx)(`button`,{className:(0,Eo.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`metadata`}),onClick:()=>e.handleSidebarButtonClick(`metadata`),children:t===`metadata`?(0,G.jsx)(vo,{}):(0,G.jsx)(yo,{})}),(0,G.jsx)(Fo,{showSidebar:t,metadata:o})]})]})})]})})})}function Lo(t){let n=e=>{t.userInterface.handleEvents&&e.target.closest(`.bber-controls__sidebar`)===null&&e.target.closest(`.bber-nav__button`)===null&&t.showSidebar&&t.handleSidebarButtonClick(null)},r=e=>{if(t.userInterface.handleEvents&&!(!e||e.which===void 0))switch(e.which){case 37:t.userInterfaceActions.enablePageTransitions(),t.handlePageNavigation(-1),t.handleSidebarButtonClick(null);break;case 39:t.userInterfaceActions.enablePageTransitions(),t.handlePageNavigation(1),t.handleSidebarButtonClick(null);break;case 27:t.handleSidebarButtonClick(null);break;case 80:e.metaKey&&(e.preventDefault(),e.stopImmediatePropagation(),window.print());break;default:break}};(0,e.useEffect)(()=>(document.addEventListener(`keydown`,r),document.addEventListener(`click`,n),document.addEventListener(`touchstart`,n),()=>{document.removeEventListener(`keydown`,r),document.removeEventListener(`click`,n),document.removeEventListener(`touchstart`,n)}),[t.userInterface.handleEvents,t.showSidebar]);let i=t.readerSettings.NavigationHeader||Io,a=ho(t.readerSettings.NavigationFooter||To),{destroyReaderComponent:o,handleSidebarButtonClick:s,downloads:c,uiOptions:l,currentSpineItemIndex:u,spine:d,layout:f,metadata:p,showSidebar:m,spreadIndex:h,lastSpreadIndex:g,handleChapterNavigation:_,handlePageNavigation:v,navigateToChapterByURL:y}=t,{enablePageTransitions:b}=t.userInterfaceActions,{handleEvents:x}=t.userInterface;return(0,G.jsxs)(`div`,{className:`bber-controls`,children:[(0,G.jsx)(i,{destroyReaderComponent:o,handleSidebarButtonClick:s,downloads:c,uiOptions:l,showSidebar:m,spine:d,currentSpineItemIndex:u,navigateToChapterByURL:y,metadata:p}),t.children,(0,G.jsx)(a,{uiOptions:l,currentSpineItemIndex:u,spine:d,layout:f,spreadIndex:h,lastSpreadIndex:g,handleEvents:x,handleChapterNavigation:_,enablePageTransitions:b,handlePageNavigation:v})]})}var Ro=Re(({readerSettings:e,viewerSettings:t,userInterface:n})=>({readerSettings:e,viewerSettings:t,userInterface:n}),e=>({userInterfaceActions:Xe(Yi,e)}))(Lo),zo=({transitionSpeed:e})=>({[Va.SLIDE]:{transition:`transform ${e}ms ease`},[Va.FADE]:{}}),Bo=t=>{class n extends e.default.Component{constructor(e){super(e),this.getFrameWidth=this.getFrameWidth.bind(this),this.getFrameHeight=this.getFrameHeight.bind(this),this.getSingleColumnWidth=this.getSingleColumnWidth.bind(this),this.updateDimensions=this.updateDimensions.bind(this)}UNSAFE_componentWillMount(){this.updateDimensions()}getWidth=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};updateDimensions(){let e=W.isVerticallyScrolling(this.props),t=this.getWidth(e),n=e?`auto`:window.innerHeight,r=e?Wa.ONE:Wa.TWO;this.props.viewerSettingsActions.update({width:t,height:n,columns:r})}getFrameHeight(){if(W.isVerticallyScrolling(this.props))return`auto`;let{height:e}=this.props.viewerSettings,{paddingTop:t,paddingBottom:n}=this.props.viewerSettings;return Jr(e)||(e=window.innerHeight),e-=t,e-=n,e}getFrameWidth(){let{width:e,paddingLeft:t,paddingRight:n,columnGap:r}=this.props.viewerSettings;return e-t-n-r}getSingleColumnWidth(){return this.getFrameWidth()/2}render(){return(0,G.jsx)(t,{getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions,...this.props})}}return Re(({viewerSettings:e})=>({viewerSettings:e}),e=>({viewerSettingsActions:Xe(ya,e)}))(n)},Vo=100,Ho=t=>{function n(n){let r=(0,e.useRef)(null),[i,a]=(0,e.useState)(0),o=(0,e.useRef)(null),s=(0,e.useRef)(n);return s.current=n,(0,e.useEffect)(()=>{a(0)},[n.slug]),(0,e.useEffect)(()=>{let e=()=>{if(!r.current)return;let e=document.querySelector(`.bber-ultimate`),t;if(ro.name===`firefox`||ro.name===`edge`&&/Windows/.test(window.navigator.userAgent)&&e){if(!e)return;t=e.offsetLeft}else t=Math.max(r.current.scrollHeight,r.current.offsetHeight,r.current.clientHeight);a(t)};o.current=e;let t=null,n=()=>{clearTimeout(t),t=setTimeout(e,Vo)},i=new MutationObserver(n);r.current&&i.observe(r.current,{childList:!0,subtree:!0});let s=new ResizeObserver(n);return r.current&&s.observe(r.current),e(),()=>{i.disconnect(),s.disconnect(),clearTimeout(t)}},[]),(0,e.useEffect)(()=>{o.current?.()},[n.view?.loaded,n.view?.ultimateOffsetLeft]),(0,e.useEffect)(()=>{if(i===0)return;let e=s.current.getFrameHeight();if(!Jr(e)||e===0){s.current.viewActions.updateLastSpreadIndex(0);return}let t=i/e/2,n=Math.round((t+2**-52)*10)/10,r=Math.ceil(n)-1;r<0&&(r=0),s.current.viewActions.updateLastSpreadIndex(r)},[i]),(0,G.jsx)(t,{innerRef:r,getFrameHeight:n.getFrameHeight,getFrameWidth:n.getFrameWidth,getSingleColumnWidth:n.getSingleColumnWidth,updateDimensions:n.updateDimensions,BookContent:n.BookContent,className:n.className,lastSpreadIndex:n.lastSpreadIndex,layout:n.layout,readerSettings:n.readerSettings,slug:n.slug,spreadIndex:n.spreadIndex,spineItemURL:n.spineItemURL,style:n.style,view:n.view,viewerSettings:n.viewerSettings,userInterface:n.userInterface,viewerSettingsActions:n.viewerSettingsActions,viewActions:n.viewActions})}return Re(()=>({}),e=>({viewActions:Xe(la,e)}))(n)};function Uo(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=to.get(Ka);_=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 Wo(e,t){let n={},r=t;return ro.name===`firefox`?(e===`left`&&(r*=-1),n={[e]:`${r}px`}):(r*=-1,n={transform:`translateX(${r}px) translate3d(0, 0, 0)`}),n}function Go({layout:e,paddingLeft:t,paddingRight:n,enableTransitions:r,translateX:i,transitionSpeed:a}){return W.isVerticallyScrolling({layout:e})?null:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{className:`bber-leaf bber-leaf--left`,style:{width:t,...Wo(`left`,i,a),...r?{}:{transition:`none`}}}),(0,G.jsx)(`div`,{className:`bber-leaf bber-leaf--right`,style:{width:n,...Wo(`right`,i,a),...r?{}:{transition:`none`}}})]})}function Ko(t){let n=(0,e.useContext)(po),[r,i]=(0,e.useState)({margin:0,border:0,boxSizing:`border-box`,transform:`translateX(0) translate3d(0, 0, 0)`,columnFill:`auto`}),a=t.getFrameHeight(),{spreadIndex:o,slug:s,layout:c}=t,{enableTransitions:l}=t.userInterface,{transition:u,transitionSpeed:d,paddingLeft:f,paddingRight:p}=t.viewerSettings,m=n.getTranslateX(),h=e=>{let t=`translateX(${n.getTranslateX(e)}px) translate3d(0, 0, 0)`;i(e=>({...e,transform:t}))},g=(0,Ui.default)(()=>{t.updateDimensions(),h()},60,{});return(0,e.useEffect)(()=>(t.updateDimensions(),h(),window.addEventListener(`resize`,g),()=>window.removeEventListener(`resize`,g)),[]),(0,e.useEffect)(()=>{h(t.spreadIndex)},[t.spreadIndex]),(0,G.jsxs)(`div`,{id:`layout`,className:(0,Eo.default)(`spread-index__${o}`,s,{context__scroll:W.isVerticallyScrolling({layout:c}),context__desktop:W.isMediaQueryDesktop(),context__mobile:!W.isMediaQueryDesktop()}),style:{...Uo(t,r),...zo({transitionSpeed:d})[u],...l?{}:{transition:`none`}},children:[(0,G.jsx)(`div`,{id:`content`,ref:t.innerRef,style:{margin:0,padding:0,minHeight:a},children:(0,G.jsx)(t.BookContent,{},t.spineItemURL)}),(0,G.jsx)(Go,{layout:c,paddingLeft:f,paddingRight:p,enableTransitions:l,translateX:m,transitionSpeed:d})]})}var qo=Re(({userInterface:e})=>({userInterface:e}),()=>({}))(Bo(Ho(Ko)));function Jo(t){let n=(0,e.useRef)(null);return(0,e.useEffect)(()=>{!W.isSingleColumn()||!n?.current||n.current.scrollTo(0,0)},[t.slug]),(0,G.jsx)(`div`,{id:`frame`,ref:n,className:(0,Eo.default)(`_${z.createHash(t.readerSettings.bookURL)}`,t.className||``),style:{position:`absolute`,top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0,...W.isVerticallyScrolling(t)?{WebkitOverflowScrolling:`touch`,overflowY:`auto`,overflowX:`hidden`}:{overflow:`hidden`},...(0,br.default)(t.style)?t.style:{}},children:(0,G.jsx)(qo,{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:t.viewerSettings})})}var Yo=Re(({readerSettings:e,viewerSettings:t})=>({readerSettings:e,viewerSettings:t}),()=>({}))(Jo);function Xo(e){return(0,G.jsx)(`div`,{className:(0,Eo.default)(`bber-spinner`,{"bber-spinner--visible":e.userInterface.spinnerVisible}),children:(0,G.jsx)(`div`,{className:`bber-spinner__detail`})})}var Zo=Re(({userInterface:e})=>({userInterface:e}),()=>({}))(Xo),Qo=0;function $o(e){return e>=48&&e<=57}function es(e){return $o(e)||e>=65&&e<=70||e>=97&&e<=102}function ts(e){return e>=65&&e<=90}function ns(e){return e>=97&&e<=122}function rs(e){return ts(e)||ns(e)}function is(e){return e>=128}function as(e){return rs(e)||is(e)||e===95}function os(e){return as(e)||$o(e)||e===45}function ss(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function cs(e){return e===10||e===13||e===12}function ls(e){return cs(e)||e===32||e===9}function us(e,t){return!(e!==92||cs(t)||t===Qo)}function ds(e,t,n){return e===45?as(t)||t===45||us(t,n):as(e)?!0:e===92?us(e,t):!1}function fs(e,t,n){return e===43||e===45?$o(t)?2:t===46&&$o(n)?3:0:e===46?$o(t)?2:0:+!!$o(e)}function ps(e){return+(e===65279||e===65534)}var ms=Array(128);for(let e=0;e<ms.length;e++)ms[e]=ls(e)&&130||$o(e)&&131||as(e)&&132||ss(e)&&133||e||128;function hs(e){return e<128?ms[e]:132}function gs(e,t){return t<e.length?e.charCodeAt(t):0}function _s(e,t,n){return n===13&&gs(e,t+1)===10?2:1}function vs(e,t,n){let r=e.charCodeAt(t);return ts(r)&&(r|=32),r===n}function ys(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(ts(a)&&(a|=32),a!==n)return!1}return!0}function bs(e,t){for(;t>=0&&ls(e.charCodeAt(t));t--);return t+1}function xs(e,t){for(;t<e.length&&ls(e.charCodeAt(t));t++);return t}function Ss(e,t){for(;t<e.length&&$o(e.charCodeAt(t));t++);return t}function Cs(e,t){if(t+=2,es(gs(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&es(gs(e,t));t++);let n=gs(e,t);ls(n)&&(t+=_s(e,t,n))}return t}function ws(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!os(n)){if(us(n,gs(e,t+1))){t=Cs(e,t)-1;continue}break}}return t}function Ts(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),$o(n)&&(t=Ss(e,t+1),n=e.charCodeAt(t)),n===46&&$o(e.charCodeAt(t+1))&&(t+=2,t=Ss(e,t)),vs(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),$o(n)&&(t=Ss(e,t+1+r+1))}return t}function Es(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}us(n,gs(e,t+1))&&(t=Cs(e,t))}return t}function Ds(e){if(e.length===1&&!es(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 Os=[`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`],ks=16*1024;function As(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,ks)):e}var js=10,Ms=12,Ns=13;function Ps(e){let t=e.source,n=t.length,r=t.length>0?ps(t.charCodeAt(0)):0,i=As(e.lines,n),a=As(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===js||r===Ns||r===Ms)&&(r===Ns&&e+1<n&&t.charCodeAt(e+1)===js&&(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 Fs=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||Ps(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Ps(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]}}}},Is=16777215,Ls=24,Rs=new Map([[2,22],[21,22],[19,20],[23,24]]),zs=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=As(this.offsetAndType,e.length+1),i=As(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&Is;for(s=i[e],o=s>>Ls,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=Rs.get(e),s=o<<Ls|a;break}r[a++]=e<<Ls|l,c===-1&&(c=t)}),r[a]=0<<Ls|n,i[a]=n,i[n]=n;s!==0;){let e=s&Is;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]>>Ls:0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Is:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?ys(this.source,this.offsetAndType[e-1]&Is,this.offsetAndType[e]&Is,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Is:this.offsetAndType[this.tokenCount]&Is: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]&Is,t=this.offsetAndType[t],this.tokenType=t>>Ls,this.tokenEnd=t&Is):(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>>Ls,this.tokenEnd=e&Is):(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]&Is: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&Is,o=i>>Ls;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:Os[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function Bs(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=Ts(e,l),ds(n(l),n(l+1),n(l+2))){u=12,l=ws(e,l);return}if(n(l)===37){u=11,l++;return}u=10}function i(){let t=l;if(l=ws(e,l),ys(e,t,l,`url`)&&n(l)===40){if(l=xs(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(hs(r)){case t:l++;return;case 130:if(cs(r)){l+=_s(e,l,r),u=6;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);cs(i)?l+=_s(e,l+1,i):us(r,i)&&(l=Cs(e,l)-1);break}}}function o(){for(u=7,l=xs(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(hs(t)){case 41:l++;return;case 130:if(l=xs(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=Es(e,l),u=8;return;case 34:case 39:case 40:case 133:l=Es(e,l),u=8;return;case 92:if(us(t,n(l+1))){l=Cs(e,l)-1;break}l=Es(e,l),u=8;return}}}e=String(e||``);let s=e.length,c=ps(n(0)),l=c,u;for(;l<s;){let o=e.charCodeAt(l);switch(hs(o)){case 130:u=13,l=xs(e,l+1);break;case 34:a();break;case 35:os(n(l+1))||us(n(l+1),n(l+2))?(u=4,l=ws(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:fs(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 44:u=18,l++;break;case 45:fs(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=15,l+=3):ds(o,n(l+1),n(l+2))?i():(u=9,l++);break;case 46:fs(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:ds(n(l+1),n(l+2),n(l+3))?(u=3,l=ws(e,l+1)):(u=9,l++);break;case 91:u=19,l++;break;case 92:us(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 Vs=c((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}})),Hs=c((e=>{var t=Vs(),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}})),Us=c((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})),Ws=c((e=>{var t=Us(),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})),Gs=c((e=>{var t=Us();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})),Ks=c((e=>{var t=Hs(),n=Us(),r=Ws().ArraySet,i=Gs().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}))(),qs=new Set([`Atrule`,`Selector`,`Declaration`]);function Js(e){let t=new Ks.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&&qs.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&&qs.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 Ys=l({safe:()=>rc,spec:()=>nc}),Xs=43,Zs=45,Qs=(e,t)=>{if(e===9&&(e=t),typeof e==`string`){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},$s=[[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],[`/`,`*`]],ec=$s.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 tc(e){let t=new Set(e.map(([e,t])=>Qs(e)<<16|Qs(t)));return function(e,n,r){let i=Qs(n,r),a=r.charCodeAt(0);return(a===Zs&&n!==1&&n!==2&&n!==15||a===Xs?t.has(e<<16|a<<8):t.has(e<<16|i))&&this.emit(` `,13,!0),i}}var nc=tc($s),rc=tc(ec),ic=92;function ac(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 oc(e){Bs(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function sc(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:rc,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===9&&t.charCodeAt(0)===ic&&this.emit(`
7
+ `,13,!0)},emit(e){r+=e},result(){return r}};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=Js(a)),n.mode in Ys&&(a.tokenBefore=Ys[n.mode]));let o={node:e=>a.node(e),children:ac,token:(e,t)=>a.token(e,t),tokenize:oc};return a.node(e),a.result()}}var cc=l({generate:()=>xc,name:()=>vc,parse:()=>bc,structure:()=>yc}),lc=43,uc=45,dc=110,fc=!0,pc=!1;function mc(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===lc||r===uc)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)$o(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function hc(e){return mc.call(this,0,e)}function gc(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case dc:n=`N is expected`;break;case uc:n=`HyphenMinus is expected`;break}this.error(n,this.tokenStart+e)}}function _c(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(lc,e)||this.isDelim(uc,e)){t=this.isDelim(lc,e)?lc:uc;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),hc.call(this,fc))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==lc&&n!==uc&&this.error(`Number sign is expected`)),hc.call(this,t!==0),t===uc?`-`+this.consume(10):this.consume(10)}var vc=`AnPlusB`,yc={a:[String,null],b:[String,null]};function bc(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)hc.call(this,pc),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,uc))switch(t=`-1`,gc.call(this,1,dc),this.tokenEnd-this.tokenStart){case 2:this.next(),n=_c.call(this);break;case 3:gc.call(this,2,uc),this.next(),this.skipSC(),hc.call(this,fc),n=`-`+this.consume(10);break;default:gc.call(this,2,uc),mc.call(this,3,fc),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(lc)&&this.lookupType(1)===1){let r=0;switch(t=`1`,this.isDelim(lc)&&(r=1,this.next()),gc.call(this,0,dc),this.tokenEnd-this.tokenStart){case 1:this.next(),n=_c.call(this);break;case 2:gc.call(this,1,uc),this.next(),this.skipSC(),hc.call(this,fc),n=`-`+this.consume(10);break;default:gc.call(this,1,uc),mc.call(this,2,fc),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),i=r===lc||r===uc,a=this.tokenStart+i;for(;a<this.tokenEnd&&$o(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),gc.call(this,a-this.tokenStart,dc),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=_c.call(this)):(gc.call(this,a-this.tokenStart+1,uc),a+2===this.tokenEnd?(this.next(),this.skipSC(),hc.call(this,fc),n=`-`+this.consume(10)):(mc.call(this,a-this.tokenStart+2,fc),this.next(),n=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===lc&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===lc&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function xc(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 Sc=l({generate:()=>kc,name:()=>Tc,parse:()=>Oc,structure:()=>Dc,walkContext:()=>Ec});function Cc(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function wc(){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 Tc=`Atrule`,Ec=`atrule`,Dc={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function Oc(){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),Cc):Cc.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(wc.call(this));break}return{type:`Atrule`,loc:this.getLocation(e,this.tokenStart),name:t,prelude:r,block:i}}function kc(e){this.token(3,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,`;`)}var Ac=l({generate:()=>Fc,name:()=>jc,parse:()=>Pc,structure:()=>Nc,walkContext:()=>Mc}),jc=`AtrulePrelude`,Mc=`atrulePrelude`,Nc={children:[[]]};function Pc(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 Fc(e){this.children(e)}var Ic=l({generate:()=>Jc,name:()=>Gc,parse:()=>qc,structure:()=>Kc}),Lc=36,Rc=42,zc=61,Bc=94,Vc=124,Hc=126;function Uc(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(Rc)?(t=!0,this.next()):this.isDelim(Vc)||this.eat(1),this.isDelim(Vc)?this.charCodeAt(this.tokenStart+1)===zc?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 Wc(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==zc&&t!==Hc&&t!==Bc&&t!==Lc&&t!==Rc&&t!==Vc&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==zc&&(this.isDelim(zc)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var Gc=`AttributeSelector`,Kc={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function qc(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(19),this.skipSC(),t=Uc.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=Wc.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 Jc(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 Yc=l({generate:()=>il,name:()=>el,parse:()=>rl,structure:()=>nl,walkContext:()=>tl});function Xc(e){return this.Raw(e,null,!0)}function Zc(){return this.parseWithFallback(this.Rule,Xc)}function Qc(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function $c(){if(this.tokenType===17)return Qc.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Qc);return this.tokenType===17&&this.next(),e}var el=`Block`,tl=`block`,nl={children:[[`Atrule`,`Rule`,`Declaration`]]};function rl(e){let t=e?$c:Zc,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,Xc));break;default:r.push(t.call(this))}return this.eof||this.eat(24),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function il(e){this.token(23,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)}),this.token(24,`}`)}var al=l({generate:()=>ll,name:()=>ol,parse:()=>cl,structure:()=>sl}),ol=`Brackets`,sl={children:[[]]};function cl(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 ll(e){this.token(9,`[`),this.children(e),this.token(9,`]`)}var ul=l({generate:()=>pl,name:()=>`CDC`,parse:()=>fl,structure:()=>dl}),dl=[];function fl(){let e=this.tokenStart;return this.eat(15),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function pl(){this.token(15,`-->`)}var ml=l({generate:()=>_l,name:()=>`CDO`,parse:()=>gl,structure:()=>hl}),hl=[];function gl(){let e=this.tokenStart;return this.eat(14),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function _l(){this.token(14,`<!--`)}var vl=l({generate:()=>Cl,name:()=>bl,parse:()=>Sl,structure:()=>xl}),yl=46,bl=`ClassSelector`,xl={name:String};function Sl(){return this.eatDelim(yl),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Cl(e){this.token(9,`.`),this.token(1,e.name)}var wl=l({generate:()=>Y,name:()=>Ol,parse:()=>J,structure:()=>q}),Tl=43,El=47,Dl=62,K=126,Ol=`Combinator`,q={name:String};function J(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=` `;break;case 9:switch(this.charCodeAt(this.tokenStart)){case Dl:case Tl:case K:this.next();break;case El:this.next(),this.eatIdent(`deep`),this.eatDelim(El);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e);break}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function Y(e){this.tokenize(e.name)}var kl=l({generate:()=>Fl,name:()=>Ml,parse:()=>Pl,structure:()=>Nl}),Al=42,jl=47,Ml=`Comment`,Nl={value:String};function Pl(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===Al&&this.charCodeAt(t-1)===jl&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Fl(e){this.token(25,`/*`+e.value+`*/`)}var Il=45;function Ll(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===Il&&e.charCodeAt(t+1)===Il}var Rl=l({generate:()=>$l,name:()=>Yl,parse:()=>Ql,structure:()=>Zl,walkContext:()=>Xl}),zl=33,Bl=35,Vl=36,Hl=38,Ul=42,Wl=43,Gl=47;function Kl(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function ql(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function Jl(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==17&&this.isDelim(zl)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var Yl=`Declaration`,Xl=`declaration`,Zl={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function Ql(){let e=this.tokenStart,t=this.tokenIndex,n=eu.call(this),r=Ll(n),i=r?this.parseCustomProperty:this.parseValue,a=r?ql:Kl,o=!1,s;this.skipSC(),this.eat(16);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(Jl,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(zl)&&(o=tu.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 $l(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 eu(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case Ul:case Vl:case Wl:case Bl:case Hl:this.next();break;case Gl:this.next(),this.isDelim(Gl)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function tu(){this.eat(9),this.skipSC();let e=this.consume(1);return e===`important`?!0:e}var nu=l({generate:()=>su,name:()=>iu,parse:()=>ou,structure:()=>au});function ru(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var iu=`DeclarationList`,au={children:[[`Declaration`]]};function ou(){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,ru))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function su(e){this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)})}var cu=l({generate:()=>fu,name:()=>lu,parse:()=>du,structure:()=>uu}),lu=`Dimension`,uu={value:String,unit:String};function du(){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 fu(e){this.token(12,e.value+e.unit)}var pu=l({generate:()=>vu,name:()=>mu,parse:()=>_u,structure:()=>gu,walkContext:()=>hu}),mu=`Function`,hu=`function`,gu={name:String,children:[[]]};function _u(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 vu(e){this.token(2,e.name+`(`),this.children(e),this.token(22,`)`)}var yu=l({generate:()=>Cu,name:()=>bu,parse:()=>Su,structure:()=>xu,xxx:()=>`XXX`}),bu=`Hash`,xu={value:String};function Su(){let e=this.tokenStart;return this.eat(4),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Cu(e){this.token(4,`#`+e.value)}var wu=l({generate:()=>Ou,name:()=>Tu,parse:()=>Du,structure:()=>Eu}),Tu=`Identifier`,Eu={name:String};function Du(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Ou(e){this.token(1,e.name)}var ku=l({generate:()=>X,name:()=>Au,parse:()=>Mu,structure:()=>ju}),Au=`IdSelector`,ju={name:String};function Mu(){let e=this.tokenStart;return this.eat(4),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function X(e){this.token(9,`#`+e.name)}var Nu=l({generate:()=>Lu,name:()=>Pu,parse:()=>Iu,structure:()=>Fu}),Pu=`MediaFeature`,Fu={name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,null]};function Iu(){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 Lu(e){this.token(21,`(`),this.token(1,e.name),e.value!==null&&(this.token(16,`:`),this.node(e.value)),this.token(22,`)`)}var Ru=l({generate:()=>Hu,name:()=>zu,parse:()=>Vu,structure:()=>Bu}),zu=`MediaQuery`,Bu={children:[[`Identifier`,`MediaFeature`,`WhiteSpace`]]};function Vu(){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 Hu(e){this.children(e)}var Uu=l({generate:()=>qu,name:()=>Wu,parse:()=>Ku,structure:()=>Gu}),Wu=`MediaQueryList`,Gu={children:[[`MediaQuery`]]};function Ku(){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 qu(e){this.children(e,()=>this.token(18,`,`))}var Ju=l({generate:()=>Zu,name:()=>`Nth`,parse:()=>Xu,structure:()=>Yu}),Yu={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function Xu(){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 Zu(e){this.node(e.nth),e.selector!==null&&(this.token(1,`of`),this.node(e.selector))}var Qu=l({generate:()=>nd,name:()=>$u,parse:()=>td,structure:()=>ed}),$u=`Number`,ed={value:String};function td(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function nd(e){this.token(10,e.value)}var rd=l({generate:()=>sd,name:()=>id,parse:()=>od,structure:()=>ad}),id=`Operator`,ad={value:String};function od(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function sd(e){this.tokenize(e.value)}var Z=l({generate:()=>dd,name:()=>cd,parse:()=>ud,structure:()=>ld}),cd=`Parentheses`,ld={children:[[]]};function ud(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 dd(e){this.token(21,`(`),this.children(e),this.token(22,`)`)}var fd=l({generate:()=>gd,name:()=>pd,parse:()=>hd,structure:()=>md}),pd=`Percentage`,md={value:String};function hd(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function gd(e){this.token(11,e.value+`%`)}var _d=l({generate:()=>Q,name:()=>vd,parse:()=>xd,structure:()=>bd,walkContext:()=>yd}),vd=`PseudoClassSelector`,yd=`function`,bd={name:String,children:[[`Raw`],null]};function xd(){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 Q(e){this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Sd=l({generate:()=>Dd,name:()=>Cd,parse:()=>Ed,structure:()=>Td,walkContext:()=>wd}),Cd=`PseudoElementSelector`,wd=`function`,Td={name:String,children:[[`Raw`],null]};function Ed(){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 Dd(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 Od=l({generate:()=>Fd,name:()=>Md,parse:()=>Pd,structure:()=>Nd}),kd=47,Ad=46;function jd(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!$o(n)&&n!==Ad&&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 Md=`Ratio`,Nd={left:String,right:String};function Pd(){let e=this.tokenStart,t=jd.call(this),n;return this.skipSC(),this.eatDelim(kd),n=jd.call(this),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Fd(e){this.token(10,e.left),this.token(9,`/`),this.token(10,e.right)}var Id=l({generate:()=>Bd,name:()=>`Raw`,parse:()=>zd,structure:()=>Rd});function Ld(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var Rd={value:String};function zd(e,t,n){let r=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),i=n&&this.tokenStart>r?Ld.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(r,i),value:this.substring(r,i)}}function Bd(e){this.tokenize(e.value)}var Vd=l({generate:()=>Jd,name:()=>Wd,parse:()=>qd,structure:()=>Kd,walkContext:()=>Gd});function Hd(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function Ud(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var Wd=`Rule`,Gd=`rule`,Kd={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function qd(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback(Ud,Hd):Hd.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Jd(e){this.node(e.prelude),this.node(e.block)}var Yd=l({generate:()=>$d,name:()=>Xd,parse:()=>Qd,structure:()=>Zd}),Xd=`Selector`,Zd={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`,`WhiteSpace`]]};function Qd(){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 $d(e){this.children(e)}var ef=l({generate:()=>of,name:()=>tf,parse:()=>af,structure:()=>rf,walkContext:()=>nf}),tf=`SelectorList`,nf=`selector`,rf={children:[[`Selector`,`Raw`]]};function af(){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 of(e){this.children(e,()=>this.token(18,`,`))}var sf=92,cf=34,lf=39;function uf(e){let t=e.length,n=e.charCodeAt(0),r=+(n===cf||n===lf),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===sf){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),us(sf,r)){let t=n-1,r=Cs(e,t);n=r-1,a+=Ds(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function df(e,t){let n=t?`'`:`"`,r=t?lf:cf,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===sf?(i+=`\\`+e.charAt(t),a=!1):(a&&(es(n)||ls(n))&&(i+=` `),i+=e.charAt(t),a=!1)}return n+i+n}var ff=l({generate:()=>gf,name:()=>pf,parse:()=>hf,structure:()=>mf}),pf=`String`,mf={value:String};function hf(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:uf(this.consume(5))}}function gf(e){this.token(5,df(e.value))}var _f=l({generate:()=>wf,name:()=>bf,parse:()=>Cf,structure:()=>Sf,walkContext:()=>xf}),vf=33;function yf(e){return this.Raw(e,null,!1)}var bf=`StyleSheet`,xf=`stylesheet`,Sf={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};function Cf(){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)!==vf){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,yf);break;default:n=this.parseWithFallback(this.Rule,yf)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function wf(e){this.children(e)}var Tf=l({generate:()=>Mf,name:()=>kf,parse:()=>jf,structure:()=>Af}),Ef=42,Df=124;function Of(){this.tokenType!==1&&this.isDelim(Ef)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var kf=`TypeSelector`,Af={name:String};function jf(){let e=this.tokenStart;return this.isDelim(Df)?(this.next(),Of.call(this)):(Of.call(this),this.isDelim(Df)&&(this.next(),Of.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Mf(e){this.tokenize(e.name)}var Nf=l({generate:()=>Wf,name:()=>Vf,parse:()=>Uf,structure:()=>Hf}),Pf=43,Ff=45,If=63;function Lf(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===Ff&&t&&n!==0)return Lf.call(this,e+n+1,!1),-1;es(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 Rf(e){let t=0;for(;this.isDelim(If);)++t>e&&this.error(`Too many question marks`),this.next()}function zf(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Pf?`Plus sign`:`Hyphen minus`)+` is expected`)}function Bf(){let e=0;switch(this.tokenType){case 10:if(e=Lf.call(this,1,!0),this.isDelim(If)){Rf.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){zf.call(this,Ff),Lf.call(this,1,!1);break}break;case 12:e=Lf.call(this,1,!0),e>0&&Rf.call(this,6-e);break;default:if(this.eatDelim(Pf),this.tokenType===1){e=Lf.call(this,0,!0),e>0&&Rf.call(this,6-e);break}if(this.isDelim(If)){this.next(),Rf.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var Vf=`UnicodeRange`,Hf={value:String};function Uf(){let e=this.tokenStart;return this.eatIdent(`u`),Bf.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Wf(e){this.tokenize(e.value)}var Gf=32,Kf=92,qf=34,Jf=39,Yf=40,Xf=41;function Zf(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===Xf?t-2:t-1,i=``;for(;n<r&&ls(e.charCodeAt(n));)n++;for(;n<r&&ls(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===Kf){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),us(Kf,n)){let t=a-1,n=Cs(e,t);a=n-1,i+=Ds(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function Qf(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===Gf||i===Kf||i===qf||i===Jf||i===Yf||i===Xf?(t+=`\\`+e.charAt(r),n=!1):(n&&es(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var $f=l({generate:()=>np,name:()=>`Url`,parse:()=>tp,structure:()=>ep}),ep={value:String};function tp(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=Zf(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=uf(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 np(e){this.token(7,Qf(e.value))}var rp=l({generate:()=>sp,name:()=>ip,parse:()=>op,structure:()=>ap}),ip=`Value`,ap={children:[[]]};function op(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function sp(e){this.children(e)}var cp=l({generate:()=>pp,name:()=>up,parse:()=>fp,structure:()=>dp}),lp=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),up=`WhiteSpace`,dp={value:String};function fp(){return this.eat(13),lp}function pp(e){this.token(13,e.value)}var mp=sc({node:l({AnPlusB:()=>xc,Atrule:()=>kc,AtrulePrelude:()=>Fc,AttributeSelector:()=>Jc,Block:()=>il,Brackets:()=>ll,CDC:()=>pl,CDO:()=>_l,ClassSelector:()=>Cl,Combinator:()=>Y,Comment:()=>Fl,Declaration:()=>$l,DeclarationList:()=>su,Dimension:()=>fu,Function:()=>vu,Hash:()=>Cu,IdSelector:()=>X,Identifier:()=>Ou,MediaFeature:()=>Lu,MediaQuery:()=>Hu,MediaQueryList:()=>qu,Nth:()=>Zu,Number:()=>nd,Operator:()=>sd,Parentheses:()=>dd,Percentage:()=>gd,PseudoClassSelector:()=>Q,PseudoElementSelector:()=>Dd,Ratio:()=>Fd,Raw:()=>Bd,Rule:()=>Jd,Selector:()=>$d,SelectorList:()=>of,String:()=>gf,StyleSheet:()=>wf,TypeSelector:()=>Mf,UnicodeRange:()=>Wf,Url:()=>np,Value:()=>sp,WhiteSpace:()=>pp})}),hp=null,gp=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 hp===null?n={prev:e,next:t,cursor:this.cursor}:(n=hp,hp=hp.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=hp,hp=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 _p(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 vp=100,yp=60,bp=` `;function xp({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(`
8
+ `)}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>vp&&(l=n-yp+3,n=yp-2);for(let e=o;e<=s;e++)e>=0&&e<a.length&&(a[e]=a[e].replace(/\t/g,bp),a[e]=(l>0&&a[e].length>l?`…`:``)+a[e].substr(l,vp-2)+(a[e].length>l+vp-1?`…`:``));return[i(o,t),Array(n+c+2).join(`-`)+`^`,i(t,s)].filter(Boolean).join(`
9
+ `)}function Sp(e,t,n,r,i){return Object.assign(_p(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment(e){return xp({source:t,line:r,column:i},isNaN(e)?0:e)},get formattedMessage(){return`Parse error: ${e}\n`+xp({source:t,line:r,column:i},2)}})}function Cp(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 wp=()=>{},Tp=33,Ep=35,Dp=59,Op=123,kp=0;function Ap(e){return function(){return this[e]()}}function jp(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 Mp(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:jp(e.atrule),pseudo:jp(e.pseudo),node:jp(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]=Ap(e.parseContext[n]);break}return{config:t,...t,...t.node}}function Np(e){let t=``,n=`<unknown>`,r=!1,i=wp,a=!1,o=new Fs,s=Object.assign(new zs,Mp(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Cp,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(e){return+(e===Op)},consumeUntilLeftCurlyBracketOrSemicolon(e){return+(e===Op||e===Dp)},consumeUntilExclamationMarkOrSemicolon(e){return+(e===Tp||e===Dp)},consumeUntilSemicolonIncluded(e){return e===Dp?2:0},createList(){return new gp},createSingleNodeList(e){return new gp().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!==kp);return kp},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 vs(t,e,n)},cmpStr(e,n,r){return ys(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,Ts(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Os[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(Ep)&&(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(bs(t,t.length-1)):o.getLocation(this.tokenStart);throw new Sp(e||`Unexpected input`,t,r.offset,r.line,r.column)}});return Object.assign(function(e,c){t=e,c||={},s.setSource(t,Bs),o.setSource(t,c.offset,c.line,c.column),n=c.filename||`<unknown>`,r=!!c.positions,i=typeof c.onParseError==`function`?c.onParseError:wp,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(ys(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:Sp,config:s.config})}var Pp=35,Fp=42,Ip=43,Lp=45,Rp=47,zp=117;function Bp(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,zp)&&this.cmpChar(this.tokenStart+1,Ip)?this.UnicodeRange():this.Identifier();case 9:{let e=this.charCodeAt(this.tokenStart);if(e===Rp||e===Fp||e===Ip||e===Lp)return this.Operator();e===Pp&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var Vp={getNode:Bp},Hp=35,Up=42,Wp=43,Gp=47,Kp=46,qp=62,Jp=124,Yp=126;function Xp(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function Zp(){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)===Kp&&this.error(`Identifier is expected`,this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case Wp:case qp:case Yp:case Gp:return this.Combinator();case Kp:return this.ClassSelector();case Up:case Jp:return this.TypeSelector();case Hp:return this.IdSelector()}break}}var Qp={onWhiteSpace:Xp,getNode:Zp};function $p(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function em(){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 tm(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var nm={getNode:Bp,onWhiteSpace(e,t){tm(e)&&(e.value=` `+e.value),tm(t.last)&&(t.last.value+=` `)},expression:$p,var:em},rm=l({AtrulePrelude:()=>Vp,Selector:()=>Qp,Value:()=>nm}),im={parse:{prelude:null,block(){return this.Block(!0)}}},am={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}},om={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}},sm={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};function cm(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function lm(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):um.call(this)}function um(){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(cm,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(lm,this.scope.AtrulePrelude);break;default:break scan}e.push(t)}return e}var dm={"font-face":im,import:am,media:om,page:sm,supports:{parse:{prelude(){let e=um.call(this);return this.getFirstListNode(e)===null&&this.error(`Condition is expected`),e},block(){return this.Block(!1)}}}},fm={parse(){return this.createSingleNodeList(this.SelectorList())}},pm={parse(){return this.createSingleNodeList(this.Selector())}},mm={parse(){return this.createSingleNodeList(this.Identifier())}},hm={parse(){return this.createSingleNodeList(this.Nth())}},gm=Np({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:rm,atrule:dm,pseudo:{dir:mm,has:fm,lang:mm,matches:fm,is:fm,"-moz-any":fm,"-webkit-any":fm,where:fm,not:fm,"nth-child":hm,"nth-last-child":hm,"nth-last-of-type":hm,"nth-of-type":hm,slotted:pm},node:l({AnPlusB:()=>bc,Atrule:()=>Oc,AtrulePrelude:()=>Pc,AttributeSelector:()=>qc,Block:()=>rl,Brackets:()=>cl,CDC:()=>fl,CDO:()=>gl,ClassSelector:()=>Sl,Combinator:()=>J,Comment:()=>Pl,Declaration:()=>Ql,DeclarationList:()=>ou,Dimension:()=>du,Function:()=>_u,Hash:()=>Su,IdSelector:()=>Mu,Identifier:()=>Du,MediaFeature:()=>Iu,MediaQuery:()=>Vu,MediaQueryList:()=>Ku,Nth:()=>Xu,Number:()=>td,Operator:()=>od,Parentheses:()=>ud,Percentage:()=>hd,PseudoClassSelector:()=>xd,PseudoElementSelector:()=>Ed,Ratio:()=>Pd,Raw:()=>zd,Rule:()=>qd,Selector:()=>Qd,SelectorList:()=>af,String:()=>hf,StyleSheet:()=>Cf,TypeSelector:()=>jf,UnicodeRange:()=>Uf,Url:()=>tp,Value:()=>op,WhiteSpace:()=>fp})}),{hasOwnProperty:_m}=Object.prototype,vm=function(){};function ym(e){return typeof e==`function`?e:vm}function bm(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function xm(e,t){let n=t.structure,r=[];for(let e in n){if(_m.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 Sm(e){let t={};for(let n in e.node)if(_m.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=xm(n,r)}return t}function Cm(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 wm({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 Tm(e){let t=Sm(e),n={},r={},i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)_m.call(t,e)&&t[e]!==null&&(n[e]=Cm(t[e],!1),r[e]=Cm(t[e],!0));let o=wm(n),s=wm(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=vm,d=vm,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=ym(c.enter),d=ym(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=bm(u,c.visit),d=bm(d,c.visit)}if(u===vm&&d===vm)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 Em=Tm({node:l({AnPlusB:()=>cc,Atrule:()=>Sc,AtrulePrelude:()=>Ac,AttributeSelector:()=>Ic,Block:()=>Yc,Brackets:()=>al,CDC:()=>ul,CDO:()=>ml,ClassSelector:()=>vl,Combinator:()=>wl,Comment:()=>kl,Declaration:()=>Rl,DeclarationList:()=>nu,Dimension:()=>cu,Function:()=>pu,Hash:()=>yu,IdSelector:()=>ku,Identifier:()=>wu,MediaFeature:()=>Nu,MediaQuery:()=>Ru,MediaQueryList:()=>Uu,Nth:()=>Ju,Number:()=>Qu,Operator:()=>rd,Parentheses:()=>Z,Percentage:()=>fd,PseudoClassSelector:()=>_d,PseudoElementSelector:()=>Sd,Ratio:()=>Od,Raw:()=>Id,Rule:()=>Vd,Selector:()=>Yd,SelectorList:()=>ef,String:()=>ff,StyleSheet:()=>_f,TypeSelector:()=>Tf,UnicodeRange:()=>Nf,Url:()=>$f,Value:()=>rp,WhiteSpace:()=>cp})}),Dm=c((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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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)}))})),Om=c((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)}))})),km=c((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})),Am=c((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(Dm());e.htmlDecodeTree=n.default;var r=t(Om());e.xmlDecodeTree=r.default;var i=t(km());e.decodeCodePoint=i.default;var a=km();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})),jm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Am(),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}()})),Mm=c((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(jm()),a=Am(),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}()})),Nm=c((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})),Pm=c((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=Nm(),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}})),Fm=c((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=Nm(),i=Pm();n(Pm(),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})),Im=c((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})),Lm=c((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,`&Tab;`],[0,`&NewLine;`],[22,`&excl;`],[0,`&quot;`],[0,`&num;`],[0,`&dollar;`],[0,`&percnt;`],[0,`&amp;`],[0,`&apos;`],[0,`&lpar;`],[0,`&rpar;`],[0,`&ast;`],[0,`&plus;`],[0,`&comma;`],[1,`&period;`],[0,`&sol;`],[10,`&colon;`],[0,`&semi;`],[0,{v:`&lt;`,n:8402,o:`&nvlt;`}],[0,{v:`&equals;`,n:8421,o:`&bne;`}],[0,{v:`&gt;`,n:8402,o:`&nvgt;`}],[0,`&quest;`],[0,`&commat;`],[26,`&lbrack;`],[0,`&bsol;`],[0,`&rbrack;`],[0,`&Hat;`],[0,`&lowbar;`],[0,`&DiacriticalGrave;`],[5,{n:106,o:`&fjlig;`}],[20,`&lbrace;`],[0,`&verbar;`],[0,`&rbrace;`],[34,`&nbsp;`],[0,`&iexcl;`],[0,`&cent;`],[0,`&pound;`],[0,`&curren;`],[0,`&yen;`],[0,`&brvbar;`],[0,`&sect;`],[0,`&die;`],[0,`&copy;`],[0,`&ordf;`],[0,`&laquo;`],[0,`&not;`],[0,`&shy;`],[0,`&circledR;`],[0,`&macr;`],[0,`&deg;`],[0,`&PlusMinus;`],[0,`&sup2;`],[0,`&sup3;`],[0,`&acute;`],[0,`&micro;`],[0,`&para;`],[0,`&centerdot;`],[0,`&cedil;`],[0,`&sup1;`],[0,`&ordm;`],[0,`&raquo;`],[0,`&frac14;`],[0,`&frac12;`],[0,`&frac34;`],[0,`&iquest;`],[0,`&Agrave;`],[0,`&Aacute;`],[0,`&Acirc;`],[0,`&Atilde;`],[0,`&Auml;`],[0,`&angst;`],[0,`&AElig;`],[0,`&Ccedil;`],[0,`&Egrave;`],[0,`&Eacute;`],[0,`&Ecirc;`],[0,`&Euml;`],[0,`&Igrave;`],[0,`&Iacute;`],[0,`&Icirc;`],[0,`&Iuml;`],[0,`&ETH;`],[0,`&Ntilde;`],[0,`&Ograve;`],[0,`&Oacute;`],[0,`&Ocirc;`],[0,`&Otilde;`],[0,`&Ouml;`],[0,`&times;`],[0,`&Oslash;`],[0,`&Ugrave;`],[0,`&Uacute;`],[0,`&Ucirc;`],[0,`&Uuml;`],[0,`&Yacute;`],[0,`&THORN;`],[0,`&szlig;`],[0,`&agrave;`],[0,`&aacute;`],[0,`&acirc;`],[0,`&atilde;`],[0,`&auml;`],[0,`&aring;`],[0,`&aelig;`],[0,`&ccedil;`],[0,`&egrave;`],[0,`&eacute;`],[0,`&ecirc;`],[0,`&euml;`],[0,`&igrave;`],[0,`&iacute;`],[0,`&icirc;`],[0,`&iuml;`],[0,`&eth;`],[0,`&ntilde;`],[0,`&ograve;`],[0,`&oacute;`],[0,`&ocirc;`],[0,`&otilde;`],[0,`&ouml;`],[0,`&div;`],[0,`&oslash;`],[0,`&ugrave;`],[0,`&uacute;`],[0,`&ucirc;`],[0,`&uuml;`],[0,`&yacute;`],[0,`&thorn;`],[0,`&yuml;`],[0,`&Amacr;`],[0,`&amacr;`],[0,`&Abreve;`],[0,`&abreve;`],[0,`&Aogon;`],[0,`&aogon;`],[0,`&Cacute;`],[0,`&cacute;`],[0,`&Ccirc;`],[0,`&ccirc;`],[0,`&Cdot;`],[0,`&cdot;`],[0,`&Ccaron;`],[0,`&ccaron;`],[0,`&Dcaron;`],[0,`&dcaron;`],[0,`&Dstrok;`],[0,`&dstrok;`],[0,`&Emacr;`],[0,`&emacr;`],[2,`&Edot;`],[0,`&edot;`],[0,`&Eogon;`],[0,`&eogon;`],[0,`&Ecaron;`],[0,`&ecaron;`],[0,`&Gcirc;`],[0,`&gcirc;`],[0,`&Gbreve;`],[0,`&gbreve;`],[0,`&Gdot;`],[0,`&gdot;`],[0,`&Gcedil;`],[1,`&Hcirc;`],[0,`&hcirc;`],[0,`&Hstrok;`],[0,`&hstrok;`],[0,`&Itilde;`],[0,`&itilde;`],[0,`&Imacr;`],[0,`&imacr;`],[2,`&Iogon;`],[0,`&iogon;`],[0,`&Idot;`],[0,`&imath;`],[0,`&IJlig;`],[0,`&ijlig;`],[0,`&Jcirc;`],[0,`&jcirc;`],[0,`&Kcedil;`],[0,`&kcedil;`],[0,`&kgreen;`],[0,`&Lacute;`],[0,`&lacute;`],[0,`&Lcedil;`],[0,`&lcedil;`],[0,`&Lcaron;`],[0,`&lcaron;`],[0,`&Lmidot;`],[0,`&lmidot;`],[0,`&Lstrok;`],[0,`&lstrok;`],[0,`&Nacute;`],[0,`&nacute;`],[0,`&Ncedil;`],[0,`&ncedil;`],[0,`&Ncaron;`],[0,`&ncaron;`],[0,`&napos;`],[0,`&ENG;`],[0,`&eng;`],[0,`&Omacr;`],[0,`&omacr;`],[2,`&Odblac;`],[0,`&odblac;`],[0,`&OElig;`],[0,`&oelig;`],[0,`&Racute;`],[0,`&racute;`],[0,`&Rcedil;`],[0,`&rcedil;`],[0,`&Rcaron;`],[0,`&rcaron;`],[0,`&Sacute;`],[0,`&sacute;`],[0,`&Scirc;`],[0,`&scirc;`],[0,`&Scedil;`],[0,`&scedil;`],[0,`&Scaron;`],[0,`&scaron;`],[0,`&Tcedil;`],[0,`&tcedil;`],[0,`&Tcaron;`],[0,`&tcaron;`],[0,`&Tstrok;`],[0,`&tstrok;`],[0,`&Utilde;`],[0,`&utilde;`],[0,`&Umacr;`],[0,`&umacr;`],[0,`&Ubreve;`],[0,`&ubreve;`],[0,`&Uring;`],[0,`&uring;`],[0,`&Udblac;`],[0,`&udblac;`],[0,`&Uogon;`],[0,`&uogon;`],[0,`&Wcirc;`],[0,`&wcirc;`],[0,`&Ycirc;`],[0,`&ycirc;`],[0,`&Yuml;`],[0,`&Zacute;`],[0,`&zacute;`],[0,`&Zdot;`],[0,`&zdot;`],[0,`&Zcaron;`],[0,`&zcaron;`],[19,`&fnof;`],[34,`&imped;`],[63,`&gacute;`],[65,`&jmath;`],[142,`&circ;`],[0,`&caron;`],[16,`&breve;`],[0,`&DiacriticalDot;`],[0,`&ring;`],[0,`&ogon;`],[0,`&DiacriticalTilde;`],[0,`&dblac;`],[51,`&DownBreve;`],[127,`&Alpha;`],[0,`&Beta;`],[0,`&Gamma;`],[0,`&Delta;`],[0,`&Epsilon;`],[0,`&Zeta;`],[0,`&Eta;`],[0,`&Theta;`],[0,`&Iota;`],[0,`&Kappa;`],[0,`&Lambda;`],[0,`&Mu;`],[0,`&Nu;`],[0,`&Xi;`],[0,`&Omicron;`],[0,`&Pi;`],[0,`&Rho;`],[1,`&Sigma;`],[0,`&Tau;`],[0,`&Upsilon;`],[0,`&Phi;`],[0,`&Chi;`],[0,`&Psi;`],[0,`&ohm;`],[7,`&alpha;`],[0,`&beta;`],[0,`&gamma;`],[0,`&delta;`],[0,`&epsi;`],[0,`&zeta;`],[0,`&eta;`],[0,`&theta;`],[0,`&iota;`],[0,`&kappa;`],[0,`&lambda;`],[0,`&mu;`],[0,`&nu;`],[0,`&xi;`],[0,`&omicron;`],[0,`&pi;`],[0,`&rho;`],[0,`&sigmaf;`],[0,`&sigma;`],[0,`&tau;`],[0,`&upsi;`],[0,`&phi;`],[0,`&chi;`],[0,`&psi;`],[0,`&omega;`],[7,`&thetasym;`],[0,`&Upsi;`],[2,`&phiv;`],[0,`&piv;`],[5,`&Gammad;`],[0,`&digamma;`],[18,`&kappav;`],[0,`&rhov;`],[3,`&epsiv;`],[0,`&backepsilon;`],[10,`&IOcy;`],[0,`&DJcy;`],[0,`&GJcy;`],[0,`&Jukcy;`],[0,`&DScy;`],[0,`&Iukcy;`],[0,`&YIcy;`],[0,`&Jsercy;`],[0,`&LJcy;`],[0,`&NJcy;`],[0,`&TSHcy;`],[0,`&KJcy;`],[1,`&Ubrcy;`],[0,`&DZcy;`],[0,`&Acy;`],[0,`&Bcy;`],[0,`&Vcy;`],[0,`&Gcy;`],[0,`&Dcy;`],[0,`&IEcy;`],[0,`&ZHcy;`],[0,`&Zcy;`],[0,`&Icy;`],[0,`&Jcy;`],[0,`&Kcy;`],[0,`&Lcy;`],[0,`&Mcy;`],[0,`&Ncy;`],[0,`&Ocy;`],[0,`&Pcy;`],[0,`&Rcy;`],[0,`&Scy;`],[0,`&Tcy;`],[0,`&Ucy;`],[0,`&Fcy;`],[0,`&KHcy;`],[0,`&TScy;`],[0,`&CHcy;`],[0,`&SHcy;`],[0,`&SHCHcy;`],[0,`&HARDcy;`],[0,`&Ycy;`],[0,`&SOFTcy;`],[0,`&Ecy;`],[0,`&YUcy;`],[0,`&YAcy;`],[0,`&acy;`],[0,`&bcy;`],[0,`&vcy;`],[0,`&gcy;`],[0,`&dcy;`],[0,`&iecy;`],[0,`&zhcy;`],[0,`&zcy;`],[0,`&icy;`],[0,`&jcy;`],[0,`&kcy;`],[0,`&lcy;`],[0,`&mcy;`],[0,`&ncy;`],[0,`&ocy;`],[0,`&pcy;`],[0,`&rcy;`],[0,`&scy;`],[0,`&tcy;`],[0,`&ucy;`],[0,`&fcy;`],[0,`&khcy;`],[0,`&tscy;`],[0,`&chcy;`],[0,`&shcy;`],[0,`&shchcy;`],[0,`&hardcy;`],[0,`&ycy;`],[0,`&softcy;`],[0,`&ecy;`],[0,`&yucy;`],[0,`&yacy;`],[1,`&iocy;`],[0,`&djcy;`],[0,`&gjcy;`],[0,`&jukcy;`],[0,`&dscy;`],[0,`&iukcy;`],[0,`&yicy;`],[0,`&jsercy;`],[0,`&ljcy;`],[0,`&njcy;`],[0,`&tshcy;`],[0,`&kjcy;`],[1,`&ubrcy;`],[0,`&dzcy;`],[7074,`&ensp;`],[0,`&emsp;`],[0,`&emsp13;`],[0,`&emsp14;`],[1,`&numsp;`],[0,`&puncsp;`],[0,`&ThinSpace;`],[0,`&hairsp;`],[0,`&NegativeMediumSpace;`],[0,`&zwnj;`],[0,`&zwj;`],[0,`&lrm;`],[0,`&rlm;`],[0,`&dash;`],[2,`&ndash;`],[0,`&mdash;`],[0,`&horbar;`],[0,`&Verbar;`],[1,`&lsquo;`],[0,`&CloseCurlyQuote;`],[0,`&lsquor;`],[1,`&ldquo;`],[0,`&CloseCurlyDoubleQuote;`],[0,`&bdquo;`],[1,`&dagger;`],[0,`&Dagger;`],[0,`&bull;`],[2,`&nldr;`],[0,`&hellip;`],[9,`&permil;`],[0,`&pertenk;`],[0,`&prime;`],[0,`&Prime;`],[0,`&tprime;`],[0,`&backprime;`],[3,`&lsaquo;`],[0,`&rsaquo;`],[3,`&oline;`],[2,`&caret;`],[1,`&hybull;`],[0,`&frasl;`],[10,`&bsemi;`],[7,`&qprime;`],[7,{v:`&MediumSpace;`,n:8202,o:`&ThickSpace;`}],[0,`&NoBreak;`],[0,`&af;`],[0,`&InvisibleTimes;`],[0,`&ic;`],[72,`&euro;`],[46,`&tdot;`],[0,`&DotDot;`],[37,`&complexes;`],[2,`&incare;`],[4,`&gscr;`],[0,`&hamilt;`],[0,`&Hfr;`],[0,`&Hopf;`],[0,`&planckh;`],[0,`&hbar;`],[0,`&imagline;`],[0,`&Ifr;`],[0,`&lagran;`],[0,`&ell;`],[1,`&naturals;`],[0,`&numero;`],[0,`&copysr;`],[0,`&weierp;`],[0,`&Popf;`],[0,`&Qopf;`],[0,`&realine;`],[0,`&real;`],[0,`&reals;`],[0,`&rx;`],[3,`&trade;`],[1,`&integers;`],[2,`&mho;`],[0,`&zeetrf;`],[0,`&iiota;`],[2,`&bernou;`],[0,`&Cayleys;`],[1,`&escr;`],[0,`&Escr;`],[0,`&Fouriertrf;`],[1,`&Mellintrf;`],[0,`&order;`],[0,`&alefsym;`],[0,`&beth;`],[0,`&gimel;`],[0,`&daleth;`],[12,`&CapitalDifferentialD;`],[0,`&dd;`],[0,`&ee;`],[0,`&ii;`],[10,`&frac13;`],[0,`&frac23;`],[0,`&frac15;`],[0,`&frac25;`],[0,`&frac35;`],[0,`&frac45;`],[0,`&frac16;`],[0,`&frac56;`],[0,`&frac18;`],[0,`&frac38;`],[0,`&frac58;`],[0,`&frac78;`],[49,`&larr;`],[0,`&ShortUpArrow;`],[0,`&rarr;`],[0,`&darr;`],[0,`&harr;`],[0,`&updownarrow;`],[0,`&nwarr;`],[0,`&nearr;`],[0,`&LowerRightArrow;`],[0,`&LowerLeftArrow;`],[0,`&nlarr;`],[0,`&nrarr;`],[1,{v:`&rarrw;`,n:824,o:`&nrarrw;`}],[0,`&Larr;`],[0,`&Uarr;`],[0,`&Rarr;`],[0,`&Darr;`],[0,`&larrtl;`],[0,`&rarrtl;`],[0,`&LeftTeeArrow;`],[0,`&mapstoup;`],[0,`&map;`],[0,`&DownTeeArrow;`],[1,`&hookleftarrow;`],[0,`&hookrightarrow;`],[0,`&larrlp;`],[0,`&looparrowright;`],[0,`&harrw;`],[0,`&nharr;`],[1,`&lsh;`],[0,`&rsh;`],[0,`&ldsh;`],[0,`&rdsh;`],[1,`&crarr;`],[0,`&cularr;`],[0,`&curarr;`],[2,`&circlearrowleft;`],[0,`&circlearrowright;`],[0,`&leftharpoonup;`],[0,`&DownLeftVector;`],[0,`&RightUpVector;`],[0,`&LeftUpVector;`],[0,`&rharu;`],[0,`&DownRightVector;`],[0,`&dharr;`],[0,`&dharl;`],[0,`&RightArrowLeftArrow;`],[0,`&udarr;`],[0,`&LeftArrowRightArrow;`],[0,`&leftleftarrows;`],[0,`&upuparrows;`],[0,`&rightrightarrows;`],[0,`&ddarr;`],[0,`&leftrightharpoons;`],[0,`&Equilibrium;`],[0,`&nlArr;`],[0,`&nhArr;`],[0,`&nrArr;`],[0,`&DoubleLeftArrow;`],[0,`&DoubleUpArrow;`],[0,`&DoubleRightArrow;`],[0,`&dArr;`],[0,`&DoubleLeftRightArrow;`],[0,`&DoubleUpDownArrow;`],[0,`&nwArr;`],[0,`&neArr;`],[0,`&seArr;`],[0,`&swArr;`],[0,`&lAarr;`],[0,`&rAarr;`],[1,`&zigrarr;`],[6,`&larrb;`],[0,`&rarrb;`],[15,`&DownArrowUpArrow;`],[7,`&loarr;`],[0,`&roarr;`],[0,`&hoarr;`],[0,`&forall;`],[0,`&comp;`],[0,{v:`&part;`,n:824,o:`&npart;`}],[0,`&exist;`],[0,`&nexist;`],[0,`&empty;`],[1,`&Del;`],[0,`&Element;`],[0,`&NotElement;`],[1,`&ni;`],[0,`&notni;`],[2,`&prod;`],[0,`&coprod;`],[0,`&sum;`],[0,`&minus;`],[0,`&MinusPlus;`],[0,`&dotplus;`],[1,`&Backslash;`],[0,`&lowast;`],[0,`&compfn;`],[1,`&radic;`],[2,`&prop;`],[0,`&infin;`],[0,`&angrt;`],[0,{v:`&ang;`,n:8402,o:`&nang;`}],[0,`&angmsd;`],[0,`&angsph;`],[0,`&mid;`],[0,`&nmid;`],[0,`&DoubleVerticalBar;`],[0,`&NotDoubleVerticalBar;`],[0,`&and;`],[0,`&or;`],[0,{v:`&cap;`,n:65024,o:`&caps;`}],[0,{v:`&cup;`,n:65024,o:`&cups;`}],[0,`&int;`],[0,`&Int;`],[0,`&iiint;`],[0,`&conint;`],[0,`&Conint;`],[0,`&Cconint;`],[0,`&cwint;`],[0,`&ClockwiseContourIntegral;`],[0,`&awconint;`],[0,`&there4;`],[0,`&becaus;`],[0,`&ratio;`],[0,`&Colon;`],[0,`&dotminus;`],[1,`&mDDot;`],[0,`&homtht;`],[0,{v:`&sim;`,n:8402,o:`&nvsim;`}],[0,{v:`&backsim;`,n:817,o:`&race;`}],[0,{v:`&ac;`,n:819,o:`&acE;`}],[0,`&acd;`],[0,`&VerticalTilde;`],[0,`&NotTilde;`],[0,{v:`&eqsim;`,n:824,o:`&nesim;`}],[0,`&sime;`],[0,`&NotTildeEqual;`],[0,`&cong;`],[0,`&simne;`],[0,`&ncong;`],[0,`&ap;`],[0,`&nap;`],[0,`&ape;`],[0,{v:`&apid;`,n:824,o:`&napid;`}],[0,`&backcong;`],[0,{v:`&asympeq;`,n:8402,o:`&nvap;`}],[0,{v:`&bump;`,n:824,o:`&nbump;`}],[0,{v:`&bumpe;`,n:824,o:`&nbumpe;`}],[0,{v:`&doteq;`,n:824,o:`&nedot;`}],[0,`&doteqdot;`],[0,`&efDot;`],[0,`&erDot;`],[0,`&Assign;`],[0,`&ecolon;`],[0,`&ecir;`],[0,`&circeq;`],[1,`&wedgeq;`],[0,`&veeeq;`],[1,`&triangleq;`],[2,`&equest;`],[0,`&ne;`],[0,{v:`&Congruent;`,n:8421,o:`&bnequiv;`}],[0,`&nequiv;`],[1,{v:`&le;`,n:8402,o:`&nvle;`}],[0,{v:`&ge;`,n:8402,o:`&nvge;`}],[0,{v:`&lE;`,n:824,o:`&nlE;`}],[0,{v:`&gE;`,n:824,o:`&ngE;`}],[0,{v:`&lnE;`,n:65024,o:`&lvertneqq;`}],[0,{v:`&gnE;`,n:65024,o:`&gvertneqq;`}],[0,{v:`&ll;`,n:new Map(t([[824,`&nLtv;`],[7577,`&nLt;`]]))}],[0,{v:`&gg;`,n:new Map(t([[824,`&nGtv;`],[7577,`&nGt;`]]))}],[0,`&between;`],[0,`&NotCupCap;`],[0,`&nless;`],[0,`&ngt;`],[0,`&nle;`],[0,`&nge;`],[0,`&lesssim;`],[0,`&GreaterTilde;`],[0,`&nlsim;`],[0,`&ngsim;`],[0,`&LessGreater;`],[0,`&gl;`],[0,`&NotLessGreater;`],[0,`&NotGreaterLess;`],[0,`&pr;`],[0,`&sc;`],[0,`&prcue;`],[0,`&sccue;`],[0,`&PrecedesTilde;`],[0,{v:`&scsim;`,n:824,o:`&NotSucceedsTilde;`}],[0,`&NotPrecedes;`],[0,`&NotSucceeds;`],[0,{v:`&sub;`,n:8402,o:`&NotSubset;`}],[0,{v:`&sup;`,n:8402,o:`&NotSuperset;`}],[0,`&nsub;`],[0,`&nsup;`],[0,`&sube;`],[0,`&supe;`],[0,`&NotSubsetEqual;`],[0,`&NotSupersetEqual;`],[0,{v:`&subne;`,n:65024,o:`&varsubsetneq;`}],[0,{v:`&supne;`,n:65024,o:`&varsupsetneq;`}],[1,`&cupdot;`],[0,`&UnionPlus;`],[0,{v:`&sqsub;`,n:824,o:`&NotSquareSubset;`}],[0,{v:`&sqsup;`,n:824,o:`&NotSquareSuperset;`}],[0,`&sqsube;`],[0,`&sqsupe;`],[0,{v:`&sqcap;`,n:65024,o:`&sqcaps;`}],[0,{v:`&sqcup;`,n:65024,o:`&sqcups;`}],[0,`&CirclePlus;`],[0,`&CircleMinus;`],[0,`&CircleTimes;`],[0,`&osol;`],[0,`&CircleDot;`],[0,`&circledcirc;`],[0,`&circledast;`],[1,`&circleddash;`],[0,`&boxplus;`],[0,`&boxminus;`],[0,`&boxtimes;`],[0,`&dotsquare;`],[0,`&RightTee;`],[0,`&dashv;`],[0,`&DownTee;`],[0,`&bot;`],[1,`&models;`],[0,`&DoubleRightTee;`],[0,`&Vdash;`],[0,`&Vvdash;`],[0,`&VDash;`],[0,`&nvdash;`],[0,`&nvDash;`],[0,`&nVdash;`],[0,`&nVDash;`],[0,`&prurel;`],[1,`&LeftTriangle;`],[0,`&RightTriangle;`],[0,{v:`&LeftTriangleEqual;`,n:8402,o:`&nvltrie;`}],[0,{v:`&RightTriangleEqual;`,n:8402,o:`&nvrtrie;`}],[0,`&origof;`],[0,`&imof;`],[0,`&multimap;`],[0,`&hercon;`],[0,`&intcal;`],[0,`&veebar;`],[1,`&barvee;`],[0,`&angrtvb;`],[0,`&lrtri;`],[0,`&bigwedge;`],[0,`&bigvee;`],[0,`&bigcap;`],[0,`&bigcup;`],[0,`&diam;`],[0,`&sdot;`],[0,`&sstarf;`],[0,`&divideontimes;`],[0,`&bowtie;`],[0,`&ltimes;`],[0,`&rtimes;`],[0,`&leftthreetimes;`],[0,`&rightthreetimes;`],[0,`&backsimeq;`],[0,`&curlyvee;`],[0,`&curlywedge;`],[0,`&Sub;`],[0,`&Sup;`],[0,`&Cap;`],[0,`&Cup;`],[0,`&fork;`],[0,`&epar;`],[0,`&lessdot;`],[0,`&gtdot;`],[0,{v:`&Ll;`,n:824,o:`&nLl;`}],[0,{v:`&Gg;`,n:824,o:`&nGg;`}],[0,{v:`&leg;`,n:65024,o:`&lesg;`}],[0,{v:`&gel;`,n:65024,o:`&gesl;`}],[2,`&cuepr;`],[0,`&cuesc;`],[0,`&NotPrecedesSlantEqual;`],[0,`&NotSucceedsSlantEqual;`],[0,`&NotSquareSubsetEqual;`],[0,`&NotSquareSupersetEqual;`],[2,`&lnsim;`],[0,`&gnsim;`],[0,`&precnsim;`],[0,`&scnsim;`],[0,`&nltri;`],[0,`&NotRightTriangle;`],[0,`&nltrie;`],[0,`&NotRightTriangleEqual;`],[0,`&vellip;`],[0,`&ctdot;`],[0,`&utdot;`],[0,`&dtdot;`],[0,`&disin;`],[0,`&isinsv;`],[0,`&isins;`],[0,{v:`&isindot;`,n:824,o:`&notindot;`}],[0,`&notinvc;`],[0,`&notinvb;`],[1,{v:`&isinE;`,n:824,o:`&notinE;`}],[0,`&nisd;`],[0,`&xnis;`],[0,`&nis;`],[0,`&notnivc;`],[0,`&notnivb;`],[6,`&barwed;`],[0,`&Barwed;`],[1,`&lceil;`],[0,`&rceil;`],[0,`&LeftFloor;`],[0,`&rfloor;`],[0,`&drcrop;`],[0,`&dlcrop;`],[0,`&urcrop;`],[0,`&ulcrop;`],[0,`&bnot;`],[1,`&profline;`],[0,`&profsurf;`],[1,`&telrec;`],[0,`&target;`],[5,`&ulcorn;`],[0,`&urcorn;`],[0,`&dlcorn;`],[0,`&drcorn;`],[2,`&frown;`],[0,`&smile;`],[9,`&cylcty;`],[0,`&profalar;`],[7,`&topbot;`],[6,`&ovbar;`],[1,`&solbar;`],[60,`&angzarr;`],[51,`&lmoustache;`],[0,`&rmoustache;`],[2,`&OverBracket;`],[0,`&bbrk;`],[0,`&bbrktbrk;`],[37,`&OverParenthesis;`],[0,`&UnderParenthesis;`],[0,`&OverBrace;`],[0,`&UnderBrace;`],[2,`&trpezium;`],[4,`&elinters;`],[59,`&blank;`],[164,`&circledS;`],[55,`&boxh;`],[1,`&boxv;`],[9,`&boxdr;`],[3,`&boxdl;`],[3,`&boxur;`],[3,`&boxul;`],[3,`&boxvr;`],[7,`&boxvl;`],[7,`&boxhd;`],[7,`&boxhu;`],[7,`&boxvh;`],[19,`&boxH;`],[0,`&boxV;`],[0,`&boxdR;`],[0,`&boxDr;`],[0,`&boxDR;`],[0,`&boxdL;`],[0,`&boxDl;`],[0,`&boxDL;`],[0,`&boxuR;`],[0,`&boxUr;`],[0,`&boxUR;`],[0,`&boxuL;`],[0,`&boxUl;`],[0,`&boxUL;`],[0,`&boxvR;`],[0,`&boxVr;`],[0,`&boxVR;`],[0,`&boxvL;`],[0,`&boxVl;`],[0,`&boxVL;`],[0,`&boxHd;`],[0,`&boxhD;`],[0,`&boxHD;`],[0,`&boxHu;`],[0,`&boxhU;`],[0,`&boxHU;`],[0,`&boxvH;`],[0,`&boxVh;`],[0,`&boxVH;`],[19,`&uhblk;`],[3,`&lhblk;`],[3,`&block;`],[8,`&blk14;`],[0,`&blk12;`],[0,`&blk34;`],[13,`&square;`],[8,`&blacksquare;`],[0,`&EmptyVerySmallSquare;`],[1,`&rect;`],[0,`&marker;`],[2,`&fltns;`],[1,`&bigtriangleup;`],[0,`&blacktriangle;`],[0,`&triangle;`],[2,`&blacktriangleright;`],[0,`&rtri;`],[3,`&bigtriangledown;`],[0,`&blacktriangledown;`],[0,`&dtri;`],[2,`&blacktriangleleft;`],[0,`&ltri;`],[6,`&loz;`],[0,`&cir;`],[32,`&tridot;`],[2,`&bigcirc;`],[8,`&ultri;`],[0,`&urtri;`],[0,`&lltri;`],[0,`&EmptySmallSquare;`],[0,`&FilledSmallSquare;`],[8,`&bigstar;`],[0,`&star;`],[7,`&phone;`],[49,`&female;`],[1,`&male;`],[29,`&spades;`],[2,`&clubs;`],[1,`&hearts;`],[0,`&diamondsuit;`],[3,`&sung;`],[2,`&flat;`],[0,`&natural;`],[0,`&sharp;`],[163,`&check;`],[3,`&cross;`],[8,`&malt;`],[21,`&sext;`],[33,`&VerticalSeparator;`],[25,`&lbbrk;`],[0,`&rbbrk;`],[84,`&bsolhsub;`],[0,`&suphsol;`],[28,`&LeftDoubleBracket;`],[0,`&RightDoubleBracket;`],[0,`&lang;`],[0,`&rang;`],[0,`&Lang;`],[0,`&Rang;`],[0,`&loang;`],[0,`&roang;`],[7,`&longleftarrow;`],[0,`&longrightarrow;`],[0,`&longleftrightarrow;`],[0,`&DoubleLongLeftArrow;`],[0,`&DoubleLongRightArrow;`],[0,`&DoubleLongLeftRightArrow;`],[1,`&longmapsto;`],[2,`&dzigrarr;`],[258,`&nvlArr;`],[0,`&nvrArr;`],[0,`&nvHarr;`],[0,`&Map;`],[6,`&lbarr;`],[0,`&bkarow;`],[0,`&lBarr;`],[0,`&dbkarow;`],[0,`&drbkarow;`],[0,`&DDotrahd;`],[0,`&UpArrowBar;`],[0,`&DownArrowBar;`],[2,`&Rarrtl;`],[2,`&latail;`],[0,`&ratail;`],[0,`&lAtail;`],[0,`&rAtail;`],[0,`&larrfs;`],[0,`&rarrfs;`],[0,`&larrbfs;`],[0,`&rarrbfs;`],[2,`&nwarhk;`],[0,`&nearhk;`],[0,`&hksearow;`],[0,`&hkswarow;`],[0,`&nwnear;`],[0,`&nesear;`],[0,`&seswar;`],[0,`&swnwar;`],[8,{v:`&rarrc;`,n:824,o:`&nrarrc;`}],[1,`&cudarrr;`],[0,`&ldca;`],[0,`&rdca;`],[0,`&cudarrl;`],[0,`&larrpl;`],[2,`&curarrm;`],[0,`&cularrp;`],[7,`&rarrpl;`],[2,`&harrcir;`],[0,`&Uarrocir;`],[0,`&lurdshar;`],[0,`&ldrushar;`],[2,`&LeftRightVector;`],[0,`&RightUpDownVector;`],[0,`&DownLeftRightVector;`],[0,`&LeftUpDownVector;`],[0,`&LeftVectorBar;`],[0,`&RightVectorBar;`],[0,`&RightUpVectorBar;`],[0,`&RightDownVectorBar;`],[0,`&DownLeftVectorBar;`],[0,`&DownRightVectorBar;`],[0,`&LeftUpVectorBar;`],[0,`&LeftDownVectorBar;`],[0,`&LeftTeeVector;`],[0,`&RightTeeVector;`],[0,`&RightUpTeeVector;`],[0,`&RightDownTeeVector;`],[0,`&DownLeftTeeVector;`],[0,`&DownRightTeeVector;`],[0,`&LeftUpTeeVector;`],[0,`&LeftDownTeeVector;`],[0,`&lHar;`],[0,`&uHar;`],[0,`&rHar;`],[0,`&dHar;`],[0,`&luruhar;`],[0,`&ldrdhar;`],[0,`&ruluhar;`],[0,`&rdldhar;`],[0,`&lharul;`],[0,`&llhard;`],[0,`&rharul;`],[0,`&lrhard;`],[0,`&udhar;`],[0,`&duhar;`],[0,`&RoundImplies;`],[0,`&erarr;`],[0,`&simrarr;`],[0,`&larrsim;`],[0,`&rarrsim;`],[0,`&rarrap;`],[0,`&ltlarr;`],[1,`&gtrarr;`],[0,`&subrarr;`],[1,`&suplarr;`],[0,`&lfisht;`],[0,`&rfisht;`],[0,`&ufisht;`],[0,`&dfisht;`],[5,`&lopar;`],[0,`&ropar;`],[4,`&lbrke;`],[0,`&rbrke;`],[0,`&lbrkslu;`],[0,`&rbrksld;`],[0,`&lbrksld;`],[0,`&rbrkslu;`],[0,`&langd;`],[0,`&rangd;`],[0,`&lparlt;`],[0,`&rpargt;`],[0,`&gtlPar;`],[0,`&ltrPar;`],[3,`&vzigzag;`],[1,`&vangrt;`],[0,`&angrtvbd;`],[6,`&ange;`],[0,`&range;`],[0,`&dwangle;`],[0,`&uwangle;`],[0,`&angmsdaa;`],[0,`&angmsdab;`],[0,`&angmsdac;`],[0,`&angmsdad;`],[0,`&angmsdae;`],[0,`&angmsdaf;`],[0,`&angmsdag;`],[0,`&angmsdah;`],[0,`&bemptyv;`],[0,`&demptyv;`],[0,`&cemptyv;`],[0,`&raemptyv;`],[0,`&laemptyv;`],[0,`&ohbar;`],[0,`&omid;`],[0,`&opar;`],[1,`&operp;`],[1,`&olcross;`],[0,`&odsold;`],[1,`&olcir;`],[0,`&ofcir;`],[0,`&olt;`],[0,`&ogt;`],[0,`&cirscir;`],[0,`&cirE;`],[0,`&solb;`],[0,`&bsolb;`],[3,`&boxbox;`],[3,`&trisb;`],[0,`&rtriltri;`],[0,{v:`&LeftTriangleBar;`,n:824,o:`&NotLeftTriangleBar;`}],[0,{v:`&RightTriangleBar;`,n:824,o:`&NotRightTriangleBar;`}],[11,`&iinfin;`],[0,`&infintie;`],[0,`&nvinfin;`],[4,`&eparsl;`],[0,`&smeparsl;`],[0,`&eqvparsl;`],[5,`&blacklozenge;`],[8,`&RuleDelayed;`],[1,`&dsol;`],[9,`&bigodot;`],[0,`&bigoplus;`],[0,`&bigotimes;`],[1,`&biguplus;`],[1,`&bigsqcup;`],[5,`&iiiint;`],[0,`&fpartint;`],[2,`&cirfnint;`],[0,`&awint;`],[0,`&rppolint;`],[0,`&scpolint;`],[0,`&npolint;`],[0,`&pointint;`],[0,`&quatint;`],[0,`&intlarhk;`],[10,`&pluscir;`],[0,`&plusacir;`],[0,`&simplus;`],[0,`&plusdu;`],[0,`&plussim;`],[0,`&plustwo;`],[1,`&mcomma;`],[0,`&minusdu;`],[2,`&loplus;`],[0,`&roplus;`],[0,`&Cross;`],[0,`&timesd;`],[0,`&timesbar;`],[1,`&smashp;`],[0,`&lotimes;`],[0,`&rotimes;`],[0,`&otimesas;`],[0,`&Otimes;`],[0,`&odiv;`],[0,`&triplus;`],[0,`&triminus;`],[0,`&tritime;`],[0,`&intprod;`],[2,`&amalg;`],[0,`&capdot;`],[1,`&ncup;`],[0,`&ncap;`],[0,`&capand;`],[0,`&cupor;`],[0,`&cupcap;`],[0,`&capcup;`],[0,`&cupbrcap;`],[0,`&capbrcup;`],[0,`&cupcup;`],[0,`&capcap;`],[0,`&ccups;`],[0,`&ccaps;`],[2,`&ccupssm;`],[2,`&And;`],[0,`&Or;`],[0,`&andand;`],[0,`&oror;`],[0,`&orslope;`],[0,`&andslope;`],[1,`&andv;`],[0,`&orv;`],[0,`&andd;`],[0,`&ord;`],[1,`&wedbar;`],[6,`&sdote;`],[3,`&simdot;`],[2,{v:`&congdot;`,n:824,o:`&ncongdot;`}],[0,`&easter;`],[0,`&apacir;`],[0,{v:`&apE;`,n:824,o:`&napE;`}],[0,`&eplus;`],[0,`&pluse;`],[0,`&Esim;`],[0,`&Colone;`],[0,`&Equal;`],[1,`&ddotseq;`],[0,`&equivDD;`],[0,`&ltcir;`],[0,`&gtcir;`],[0,`&ltquest;`],[0,`&gtquest;`],[0,{v:`&leqslant;`,n:824,o:`&nleqslant;`}],[0,{v:`&geqslant;`,n:824,o:`&ngeqslant;`}],[0,`&lesdot;`],[0,`&gesdot;`],[0,`&lesdoto;`],[0,`&gesdoto;`],[0,`&lesdotor;`],[0,`&gesdotol;`],[0,`&lap;`],[0,`&gap;`],[0,`&lne;`],[0,`&gne;`],[0,`&lnap;`],[0,`&gnap;`],[0,`&lEg;`],[0,`&gEl;`],[0,`&lsime;`],[0,`&gsime;`],[0,`&lsimg;`],[0,`&gsiml;`],[0,`&lgE;`],[0,`&glE;`],[0,`&lesges;`],[0,`&gesles;`],[0,`&els;`],[0,`&egs;`],[0,`&elsdot;`],[0,`&egsdot;`],[0,`&el;`],[0,`&eg;`],[2,`&siml;`],[0,`&simg;`],[0,`&simlE;`],[0,`&simgE;`],[0,{v:`&LessLess;`,n:824,o:`&NotNestedLessLess;`}],[0,{v:`&GreaterGreater;`,n:824,o:`&NotNestedGreaterGreater;`}],[1,`&glj;`],[0,`&gla;`],[0,`&ltcc;`],[0,`&gtcc;`],[0,`&lescc;`],[0,`&gescc;`],[0,`&smt;`],[0,`&lat;`],[0,{v:`&smte;`,n:65024,o:`&smtes;`}],[0,{v:`&late;`,n:65024,o:`&lates;`}],[0,`&bumpE;`],[0,{v:`&PrecedesEqual;`,n:824,o:`&NotPrecedesEqual;`}],[0,{v:`&sce;`,n:824,o:`&NotSucceedsEqual;`}],[2,`&prE;`],[0,`&scE;`],[0,`&precneqq;`],[0,`&scnE;`],[0,`&prap;`],[0,`&scap;`],[0,`&precnapprox;`],[0,`&scnap;`],[0,`&Pr;`],[0,`&Sc;`],[0,`&subdot;`],[0,`&supdot;`],[0,`&subplus;`],[0,`&supplus;`],[0,`&submult;`],[0,`&supmult;`],[0,`&subedot;`],[0,`&supedot;`],[0,{v:`&subE;`,n:824,o:`&nsubE;`}],[0,{v:`&supE;`,n:824,o:`&nsupE;`}],[0,`&subsim;`],[0,`&supsim;`],[2,{v:`&subnE;`,n:65024,o:`&varsubsetneqq;`}],[0,{v:`&supnE;`,n:65024,o:`&varsupsetneqq;`}],[2,`&csub;`],[0,`&csup;`],[0,`&csube;`],[0,`&csupe;`],[0,`&subsup;`],[0,`&supsub;`],[0,`&subsub;`],[0,`&supsup;`],[0,`&suphsub;`],[0,`&supdsub;`],[0,`&forkv;`],[0,`&topfork;`],[0,`&mlcp;`],[8,`&Dashv;`],[1,`&Vdashl;`],[0,`&Barv;`],[0,`&vBar;`],[0,`&vBarv;`],[1,`&Vbar;`],[0,`&Not;`],[0,`&bNot;`],[0,`&rnmid;`],[0,`&cirmid;`],[0,`&midcir;`],[0,`&topcir;`],[0,`&nhpar;`],[0,`&parsim;`],[9,{v:`&parsl;`,n:8421,o:`&nparsl;`}],[44343,{n:new Map(t([[56476,`&Ascr;`],[1,`&Cscr;`],[0,`&Dscr;`],[2,`&Gscr;`],[2,`&Jscr;`],[0,`&Kscr;`],[2,`&Nscr;`],[0,`&Oscr;`],[0,`&Pscr;`],[0,`&Qscr;`],[1,`&Sscr;`],[0,`&Tscr;`],[0,`&Uscr;`],[0,`&Vscr;`],[0,`&Wscr;`],[0,`&Xscr;`],[0,`&Yscr;`],[0,`&Zscr;`],[0,`&ascr;`],[0,`&bscr;`],[0,`&cscr;`],[0,`&dscr;`],[1,`&fscr;`],[1,`&hscr;`],[0,`&iscr;`],[0,`&jscr;`],[0,`&kscr;`],[0,`&lscr;`],[0,`&mscr;`],[0,`&nscr;`],[1,`&pscr;`],[0,`&qscr;`],[0,`&rscr;`],[0,`&sscr;`],[0,`&tscr;`],[0,`&uscr;`],[0,`&vscr;`],[0,`&wscr;`],[0,`&xscr;`],[0,`&yscr;`],[0,`&zscr;`],[52,`&Afr;`],[0,`&Bfr;`],[1,`&Dfr;`],[0,`&Efr;`],[0,`&Ffr;`],[0,`&Gfr;`],[2,`&Jfr;`],[0,`&Kfr;`],[0,`&Lfr;`],[0,`&Mfr;`],[0,`&Nfr;`],[0,`&Ofr;`],[0,`&Pfr;`],[0,`&Qfr;`],[1,`&Sfr;`],[0,`&Tfr;`],[0,`&Ufr;`],[0,`&Vfr;`],[0,`&Wfr;`],[0,`&Xfr;`],[0,`&Yfr;`],[1,`&afr;`],[0,`&bfr;`],[0,`&cfr;`],[0,`&dfr;`],[0,`&efr;`],[0,`&ffr;`],[0,`&gfr;`],[0,`&hfr;`],[0,`&ifr;`],[0,`&jfr;`],[0,`&kfr;`],[0,`&lfr;`],[0,`&mfr;`],[0,`&nfr;`],[0,`&ofr;`],[0,`&pfr;`],[0,`&qfr;`],[0,`&rfr;`],[0,`&sfr;`],[0,`&tfr;`],[0,`&ufr;`],[0,`&vfr;`],[0,`&wfr;`],[0,`&xfr;`],[0,`&yfr;`],[0,`&zfr;`],[0,`&Aopf;`],[0,`&Bopf;`],[1,`&Dopf;`],[0,`&Eopf;`],[0,`&Fopf;`],[0,`&Gopf;`],[1,`&Iopf;`],[0,`&Jopf;`],[0,`&Kopf;`],[0,`&Lopf;`],[0,`&Mopf;`],[1,`&Oopf;`],[3,`&Sopf;`],[0,`&Topf;`],[0,`&Uopf;`],[0,`&Vopf;`],[0,`&Wopf;`],[0,`&Xopf;`],[0,`&Yopf;`],[1,`&aopf;`],[0,`&bopf;`],[0,`&copf;`],[0,`&dopf;`],[0,`&eopf;`],[0,`&fopf;`],[0,`&gopf;`],[0,`&hopf;`],[0,`&iopf;`],[0,`&jopf;`],[0,`&kopf;`],[0,`&lopf;`],[0,`&mopf;`],[0,`&nopf;`],[0,`&oopf;`],[0,`&popf;`],[0,`&qopf;`],[0,`&ropf;`],[0,`&sopf;`],[0,`&topf;`],[0,`&uopf;`],[0,`&vopf;`],[0,`&wopf;`],[0,`&xopf;`],[0,`&yopf;`],[0,`&zopf;`]]))}],[8906,`&fflig;`],[0,`&filig;`],[0,`&fllig;`],[0,`&ffilig;`],[0,`&ffllig;`]]))})),Rm=c((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,`&quot;`],[38,`&amp;`],[39,`&apos;`],[60,`&lt;`],[62,`&gt;`]]);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,`&quot;`],[38,`&amp;`],[160,`&nbsp;`]])),e.escapeText=r(/[&<>\u00A0]/g,new Map([[38,`&amp;`],[60,`&lt;`],[62,`&gt;`],[160,`&nbsp;`]]))})),zm=c((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(Lm()),r=Rm(),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)}})),Bm=c((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=Am(),n=zm(),r=Rm(),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=Rm();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=zm();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=Am();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}})})),Vm=c((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]}))})),Hm=c((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(Im()),o=Bm(),s=Vm(),c=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function l(e){return e.replace(/"/g,`&quot;`)}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}-->`}})),Um=c((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=Fm(),r=t(Hm()),i=Im();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`?`
10
+ `: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})),Wm=c((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=Fm();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})),Gm=c((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})),Km=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0;var t=Fm();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})),qm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var t=Fm(),n=Km(),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})),Jm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.DocumentPosition=e.removeSubsets=void 0;var t=Fm();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})),Ym=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=void 0;var t=Um(),n=qm();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`}})),Xm=c((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(Um(),e),n(Wm(),e),n(Gm(),e),n(Km(),e),n(qm(),e),n(Jm(),e),n(Ym(),e);var r=Fm();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}})})),Zm=c((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=Mm();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var o=Fm();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=jm();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return i(u).default}}),e.ElementType=r(Im());var d=Xm();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(Xm())})),Qm=c(((e,t)=>{function n(e){return!0}t.exports={shouldProcessEveryNode:n}})),$m=c(((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+`)`,te=`(?:`+v+`(?:d|ll|m|re|s|t|ve))?`,P=`(?:`+v+`(?:D|LL|M|RE|S|T|VE))?`,F=D+`?`,I=`[`+g+`]?`,ne=`(?:`+M+`(?:`+[O,k,A].join(`|`)+`)`+I+F+`)*`,re=I+F+ne,ie=`(?:`+[C,k,A].join(`|`)+`)`+re,ae=`(?:`+[O+x+`?`,x,k,A,y].join(`|`)+`)`,L=RegExp(v,`g`),oe=RegExp(x,`g`),se=RegExp(E+`(?=`+E+`)|`+ae+re,`g`),ce=RegExp([j+`?`+w+`+`+te+`(?=`+[b,j,`$`].join(`|`)+`)`,N+`+`+P+`(?=`+[b,j+ee,`$`].join(`|`)+`)`,j+`?`+ee+`+`+te,j+`+`+P,S,ie].join(`|`),`g`),le=RegExp(`[`+M+o+s+c+g+`]`),ue=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,de={À:`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`},fe=typeof global==`object`&&global&&global.Object===Object&&global,pe=typeof self==`object`&&self&&self.Object===Object&&self,me=fe||pe||Function(`return this`)();function R(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 he(e){return e.split(``)}function ge(e){return e.match(i)||[]}function _e(e){return function(t){return e?.[t]}}var ve=_e(de);function ye(e){return le.test(e)}function be(e){return ue.test(e)}function xe(e){return ye(e)?Se(e):he(e)}function Se(e){return e.match(se)||[]}function Ce(e){return e.match(ce)||[]}var we=Object.prototype.toString,Te=me.Symbol,Ee=Te?Te.prototype:void 0,De=Ee?Ee.toString:void 0;function Oe(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 ke(e){if(typeof e==`string`)return e;if(Pe(e))return De?De.call(e):``;var t=e+``;return t==`0`&&1/e==-n?`-0`:t}function Ae(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Oe(e,t,n)}function je(e){return function(t){t=Fe(t);var n=ye(t)?xe(t):void 0,r=n?n[0]:t.charAt(0),i=n?Ae(n,1).join(``):t.slice(1);return r[e]()+i}}function Me(e){return function(t){return R(Be(Re(t).replace(L,``)),e,``)}}function Ne(e){return!!e&&typeof e==`object`}function Pe(e){return typeof e==`symbol`||Ne(e)&&we.call(e)==r}function Fe(e){return e==null?``:ke(e)}var Ie=Me(function(e,t,n){return t=t.toLowerCase(),e+(n?Le(t):t)});function Le(e){return ze(Fe(e).toLowerCase())}function Re(e){return e=Fe(e),e&&e.replace(a,ve).replace(oe,``)}var ze=je(`toUpperCase`);function Be(e,t,n){return e=Fe(e),t=n?void 0:t,t===void 0?be(e)?Ce(e):ge(e):e.match(t)||[]}t.exports=Ie})),eh=c(((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},{})})),th=c(((e,t)=>{var n=$m(),r=u(),i=eh();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}})),nh=c(((e,t)=>{var n=th(),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})),rh=c(((e,t)=>{var n=Qm(),r=nh();function i(){let e=new r;return{defaultProcessingInstructions:[{shouldProcessNode:n.shouldProcessEveryNode,processNode:e.processDefaultNode}]}}t.exports=i})),ih=c(((e,t)=>{function n(){return!0}t.exports={alwaysValid:n}})),ah=c(((e,t)=>{var n=Zm().Parser,r=Fm().DomHandler,i=rh(),a=ih(),o=th();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})),oh=c(((e,t)=>{t.exports={Parser:ah(),ProcessingInstructions:rh(),IsValidNodeDefinitions:ih(),ProcessNodeDefinitions:nh()}})),sh=c((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(``)}})),ch=c((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}})),lh=c((e=>{var t=sh(),n=ch(),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(ye(e,ArrayBuffer)||e&&ye(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(ye(e,SharedArrayBuffer)||e&&ye(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(ye(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`||be(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(ye(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),ye(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(ye(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)||ye(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 R(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return _e(e).length;default:if(i)return r?-1:R(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 te(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 P(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(ye(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,be(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(be(r))return o;e[n+o]=r}return o}function T(e,t,n,r){return ve(R(t,e.length-n),e,n,r)}function E(e,t,n,r){return ve(he(t),e,n,r)}function D(e,t,n,r){return ve(_e(t),e,n,r)}function O(e,t,n,r){return ve(ge(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 te(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+=xe[e[r]];return i}function P(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 F(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||F(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||F(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||F(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(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||F(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=Se(function(e){e>>>=0,de(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&fe(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=Se(function(e){e>>>=0,de(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&fe(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||F(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||F(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||F(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||F(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||F(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||F(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||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=Se(function(e){e>>>=0,de(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&fe(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=Se(function(e){e>>>=0,de(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&fe(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||F(e,4,this.length),n.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),n.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),n.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),n.read(this,e,!1,52,8)};function I(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;I(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;I(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||I(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||I(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||I(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||I(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||I(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 ne(e,t,n,r,i){ue(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 re(e,t,n,r,i){ue(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=Se(function(e,t=0){return ne(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeBigUInt64BE=Se(function(e,t=0){return re(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);I(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);I(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||I(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||I(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||I(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||I(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||I(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=Se(function(e,t=0){return ne(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),s.prototype.writeBigInt64BE=Se(function(e,t=0){return re(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function ie(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function ae(e,t,r,i,a){return t=+t,r>>>=0,a||ie(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}s.prototype.writeFloatLE=function(e,t,n){return ae(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return ae(this,e,t,!1,n)};function L(e,t,r,i,a){return t=+t,r>>>=0,a||ie(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}s.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return L(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 oe={};function se(e,t,n){oe[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}`}}}se(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),se(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),se(`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=ce(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=ce(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function ce(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 le(e,t,n){de(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&fe(t,e.length-(n+1))}function ue(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 oe.ERR_OUT_OF_RANGE(`value`,i,e)}le(r,i,a)}function de(e,t){if(typeof e!=`number`)throw new oe.ERR_INVALID_ARG_TYPE(t,`number`,e)}function fe(e,t,n){throw Math.floor(e)===e?t<0?new oe.ERR_BUFFER_OUT_OF_BOUNDS:new oe.ERR_OUT_OF_RANGE(n||`offset`,`>= ${+!!n} and <= ${t}`,e):(de(e,n),new oe.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}var pe=/[^+/0-9A-Za-z-_]/g;function me(e){if(e=e.split(`=`)[0],e=e.trim().replace(pe,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function R(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 he(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function ge(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 _e(e){return t.toByteArray(me(e))}function ve(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 ye(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function be(e){return e!==e}var xe=(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 Se(e){return typeof BigInt>`u`?Ce:e}function Ce(){throw Error(`BigInt not supported`)}})),uh=c(((e,t)=>{var n=lh(),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)}})),dh=c((e=>{var t=uh().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):``}})),fh=c((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:ie,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};var o;try{o=no().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=dh().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===`
11
+ `||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+=`
12
+ Line: `+e.line+`
13
+ Column: `+e.column+`
14
+ 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 te(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+`
15
+ Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==p)M(e,`xmlns: prefix must be bound to `+p+`
16
+ 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 P(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 F(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 I(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 ne(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 re(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function ie(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=re(e,n++),t.c=i,i;)switch(t.trackPosition&&(t.position++,i===`
17
+ `?(t.line++,t.column=0):t.column++),t.state){case w.BEGIN:if(t.state=w.BEGIN_WHITESPACE,i===``)continue;ne(t,i);continue;case w.BEGIN_WHITESPACE:ne(t,i);continue;case w.TEXT:if(t.sawRoot&&!t.closedRoot){for(var a=n-1;i&&i!==`<`&&i!==`&`;)i=re(e,n++),i&&t.trackPosition&&(t.position++,i===`
18
+ `?(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===`>`?P(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===`>`?(P(t,!0),F(t)):(M(t,`Forward-slash in opening tag not followed by >`),t.state=w.ATTRIB);continue;case w.ATTRIB:if(y(i))continue;i===`>`?P(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,te(t),P(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===`>`?P(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}te(t),t.q=``,t.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:y(i)?t.state=w.ATTRIB:i===`>`?P(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}te(t),i===`>`?P(t):t.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(t.tagName)i===`>`?F(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===`>`?F(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]+=I(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)})),ph=c(((e,t)=>{t.exports={isArray:function(e){return Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`}}})),mh=c(((e,t)=>{var n=ph().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}}})),hh=c(((e,t)=>{var n=fh(),r={on:function(){},parse:function(){}},i=mh(),a=ph().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,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)),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}})),gh=c(((e,t)=>{var n=mh(),r=hh();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`)}})),_h=c(((e,t)=>{var n=mh(),r=ph().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?`
19
+ `:``)+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,`&quot;`),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(/&amp;/g,`&`),e=e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),`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)?`
20
+ `+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(``)}})),vh=c(((e,t)=>{var n=_h();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)}})),yh=c(((e,t)=>{t.exports={xml2js:hh(),xml2json:gh(),js2xml:_h(),json2xml:vh()}})),bh=oh(),xh=f(yh()),Sh=class{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]}},Ch=class{constructor({type:e,title:t,href:n}){this.type=e,this.title=t,this.href=n,this.absoluteURL=``}},wh=class{constructor({id:e,media:t,styles:n}){this.id=e||`_${ao()}`,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)}},Th=class e{constructor({node:t,requestURI:n}){this.id=t.id||`_${ao()}`,this.type=t.type||`application/javascript`,this.src=e.getScriptSourceFromNodeValue(t),this.inline=(0,Ra.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=B.trimFilenameFromResponse(this.requestURI),n=this.inline?null:B.resolveRelativeURL(t,this.src);this.elem=e.createElement(`script`),this.elem.id=this.id,this.inline||(this.elem.src=n),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}removeScript(e){e.body.removeChild(this.elem)}},Eh=class{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)}},Dh=(e,t,n,r={enumerable:!0})=>(Object.entries(t).forEach(([t,i])=>{let a=(0,La.default)(n,t)?n[t]:i;Object.defineProperty(e,t,{value:a,...r})}),e),Oh=e=>typeof e==`function`?e.call():e,kh=class e{static defaults={width:0,height:0,theme:Ha.DEFAULT,transition:Va.SLIDE,transitionSpeed:400,columns:Wa.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};constructor(t={}){Object.defineProperty(this,"settings",{value:Dh({},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 Oh(this.settings.paddingTop)}set paddingTop(e){this.settings.paddingTop=e}get paddingLeft(){return Oh(this.settings.paddingLeft)}set paddingLeft(e){this.settings.paddingLeft=e}get paddingRight(){return Oh(this.settings.paddingRight)}set paddingRight(e){this.settings.paddingRight=e}get paddingBottom(){return Oh(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 Oh(this.settings.columnGap)}set columnGap(e){this.settings.columnGap=e}get columnWidth(){return Oh(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 Oh(this.settings.fontSize)}set fontSize(e){this.settings.fontSize=e}set padding(e){let[t,n,r,i]=e;Jr(t)&&(this.settings.paddingTop=t),Jr(n)&&(this.settings.paddingRight=n),Jr(r)&&(this.settings.paddingBottom=r),Jr(i)&&(this.settings.paddingLeft=i)}get=(e=``)=>{if(e){if(!(0,La.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,br.default)(e))for(let[t,n]of Object.entries(e))(0,La.default)(this.settings,t)&&(this[t]=n);else typeof e==`string`?(0,La.default)(this.settings,e)&&(this[e]=t):console.error(`Could not update viewer settings with key: %s val: %s`,e,t)}},Ah=`
21
+ .figure__fullbleed figure,
22
+ .spread .spread__content {
23
+ opacity: 1;
24
+ top: 0;
25
+ z-index: 11;
26
+ height: 100vh;
27
+ position: absolute;
28
+ width: 100vw;
29
+ }
30
+
31
+
32
+ .figure__fullbleed figure .img-wrap img,
33
+ .figure__fullbleed figure .img-wrap video {
34
+ opacity: 1;
35
+ position: absolute;
36
+ object-fit: contain;
37
+ width: 100% !important;
38
+ max-width: 100%;
39
+ max-height: 100% !important;
40
+ height: 100%;
41
+ top: 0;
42
+ left: 0;
43
+ bottom: 0;
44
+ right: 0;
45
+ }
46
+ `,jh=`
47
+ .figure__fullbleed figure .spread .spread__content {
48
+ z-index: 11;
49
+ width: 100vw;
50
+ position: relative;
51
+ }
52
+
53
+ .figure__fullbleed figure .img-wrap img,
54
+ .figure__fullbleed figure .img-wrap video {
55
+ opacity: 1;
56
+ object-fit: contain;
57
+ width: 100% !important;
58
+ max-width: 100%;
59
+ max-height: 100% !important;
60
+ height: 100%;
61
+ top: 0;
62
+ left: 0;
63
+ bottom: 0;
64
+ right: 0;
65
+ }
66
+ `,$={root:null,document:null,styleSheets:[],scripts:[],requestURI:``},Mh=class e{static setContextDocument(e){$.document=e}static setRootDocument(e){$.root=e}static setRequestURI(e){$.requestURI=e}static createStyleSheets(){$.styleSheets=[...$.styleSheets,new wh({media:eo,styles:Ah}),new wh({media:$a,styles:jh})]}static appendStyleSheets(){$.styleSheets.forEach(e=>$.root.querySelector(`#${e.id}`)===null&&e.appendSheet($.root))}static appendScripts(){$.scripts.forEach(e=>/(?:text|application)\/(?:(x-)?java|ecma)script/.test(e.type)&&e.appendScript($.root))}static createScriptElements(){let e=Array.from($.document.querySelectorAll(`script`)||[]),{requestURI:t,scripts:n}=$;return e?($.scripts=e.map(e=>new Th({node:e,requestURI:t})),$.scripts):n}static removeScriptElements(){let e=$.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,yr.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=$.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),$.styleSheets=[...$.styleSheets.filter(e=>e.id!==t)]}static removeStyleSheets(){let t;for(;t=$.styleSheets.pop();)e.removeStyleSheet({id:t.id})}static removeScript({id:e}){let t=$.root.querySelector(`#${e}`);t&&t.parentNode.removeChild(t),$.scripts=[...$.scripts.filter(t=>t.id!==e)]}static removeScripts(){let t;for(;t=$.scripts.pop();)e.removeScript({id:t.id})}static swapStyleSheet(){}static swapStyleSheets(){}static getStyleSheets(){return $.styleSheets}static getContextDocument(){return $.document}static getRootDocument(){return $.root}static parseXML(t){return e.removeScriptElements(),e.appendStyleSheets(),e.appendScripts(),t&&typeof t==`function`?t(null,$.document):$.document}},Nh=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};constructor(t={}){Mh.getRootDocument()||Mh.setRootDocument(document),Mh.removeStyleSheets(),Mh.removeScripts(),this.settings={...e.defaults,...t},Mh.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 ao()}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,Ra.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;Mh.setContextDocument(n),Mh.createStyleSheets(),Mh.createScriptElements(),Mh.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}},Ph=[`SCRIPT`,`STYLE`],Fh=e=>Ph.includes(e),Ih=e=>e.nodeType===window.Node.ELEMENT_NODE&&Fh(e.nodeName),Lh=e=>{if(!e.href||B.isRelative(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`)},Rh=(e,t)=>{for(let t=e.children.length-1;t>=0;t--){let n=e.children[t];Ih(n)&&n.parentNode.removeChild(n),n.nodeName===`A`&&Lh(n),n.children.length&&Rh(n)}if(t!==void 0){let n=document.createElement(`span`),r=document.createTextNode(t);n.classList.add(`footnote__content--count`),n.appendChild(r),e.prepend(n)}return e.innerHTML},zh=class extends e.default.Component{constructor(e){super(e),this.state={content:``,visible:!1,footnote:z.createId()}}footnoteContainer=e.default.createRef();footnoteElement=e.default.createRef();componentWillUnmount(){document.removeEventListener(`click`,this.handleDocumentClick)}getFootnote=async()=>{let{content:e}=this.state;if(e)return;let{hash:t}=new window.URL(this.props.href),n=t.slice(1),{data:r}=await zi.getText(this.props.href),i=new window.DOMParser().parseFromString(r,`text/html`).getElementById(n);if(!i){console.error(`Could not retrieve footnote %s; Document URL %s`,t,this.props.href);return}let a=i.parentNode;for(;a&&a.nodeName!==`UL`&&a.nodeName!==`OL`;)a=a.parentNode;let o;a&&(o=(Number(a.getAttribute(`start`))||1)+Array.prototype.indexOf.call(a.children,i)),e=Rh(i.firstChild,o),this.setState({content:e})};handleOnMouseOver=e=>{e&&e.preventDefault(),!W.isSingleColumn()&&this.toggleFootnote()};handleOnMouseMove=e=>{W.isSingleColumn()||e.target.nodeName===`SPAN`&&e.target.classList.contains(`footnote__number`)&&e.target.dataset.footnote!==this.state.footnote&&this.hideFootnote()};handleDocumentClick=e=>{e.target.nodeName!==`A`&&this.hideFootnote()};toggleFootnote=e=>(e&&(e.preventDefault(),e.stopPropagation()),this.state.visible?this.hideFootnote():this.showFootnote());showFootnote=async e=>{e&&e.preventDefault(),await this.getFootnote(),this.setState({visible:!0}),document.addEventListener(`click`,this.handleDocumentClick),document.addEventListener(`mousemove`,this.handleOnMouseMove)};hideFootnote=e=>{e&&e.preventDefault(),this.setState({visible:!1}),document.removeEventListener(`click`,this.handleDocumentClick),document.removeEventListener(`mousemove`,this.handleOnMouseMove)};getFootnoteOffset(){if(!this.footnoteContainer?.current||!this.footnoteElement?.current)return console.warn(`Footnote elements are not bound`),!1;let{top:e}=this.footnoteContainer.current.getBoundingClientRect(),{paddingTop:t,paddingBottom:n}=this.props.viewerSettings,r=this.footnoteElement.current.offsetHeight,i=window.innerHeight;return e+r>i-(t+n)}footnoteStyles(){let{columnWidth:e,columnGap:t,paddingLeft:n}=this.props.viewerSettings,r=W.isSingleColumn(),i=this.getFootnoteOffset()?`bottom`:`top`,a=i===`bottom`?`1rem`:`1.5rem`,o={width:r?window.innerWidth-n*2:`${e+t}px`,left:0,[i]:a};return this.footnoteContainer?.current?(o.left=this.footnoteContainer.current.getBoundingClientRect().x,o.left=r?o.left=o.left*-1+n:o.left>=window.innerWidth/2?o.left=o.left*-1+n+e+t:o.left=o.left*-1+n,o.cursor=`auto`,o):o}render(){let{content:e,visible:t}=this.state,n=!e||!t;return(0,G.jsx)(`span`,{id:this.props.id,className:`footnote-ref`,children:(0,G.jsxs)(`span`,{ref:this.footnoteContainer,className:`footnote__container`,style:{display:`inline`,position:`relative`},children:[(0,G.jsx)(`span`,{className:`footnote__number`,"data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver,children:this.props.children}),(0,G.jsx)(`span`,{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,Eo.default)(`footnote__body`,{"footnote__body--hidden":n}),children:(0,G.jsx)(`span`,{className:`footnote__content`,dangerouslySetInnerHTML:{__html:e}})})]})})}},Bh=Re(({viewerSettings:e})=>({viewerSettings:e}),()=>({}))(zh),Vh=Re(({readerSettings:e})=>({readerSettings:e}),()=>({}))(e=>(0,G.jsx)(po.Consumer,{children:({getSpineItemByAbsoluteUrl:t,navigateToChapterByURL:n})=>{let{className:r,href:i,readerSettings:a,style:o,children:s}=e,c=r||``,l=o||{},u=t(i)>-1,d=B.isExternal(i,window.location.href),f=B.isExternal(i,a.projectURL),p=``,m=``;return d&&!u?(p=`_blank`,m=`nooperner noreferrer`):f&&(p=`_top`),(0,G.jsx)(`a`,{href:i,target:p,rel:m,style:l,className:c,onClick:e=>{u&&(e.preventDefault(),n(i))},children:s})}})),Hh=`UPDATE`,Uh=l({update:()=>Wh}),Wh=e=>({type:Hh,payload:e}),Gh=(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}()})(),Kh=typeof window<`u`&&typeof document<`u`&&window.document===document,qh=(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`)()})(),Jh=(function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(qh):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),Yh=2;function Xh(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){Jh(a)}function s(){var e=Date.now();if(n){if(e-i<Yh)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}var Zh=20,Qh=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],$h=typeof MutationObserver<`u`,eg=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Xh(this.refresh.bind(this),Zh)}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(){!Kh||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),$h?(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(){!Kh||!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;Qh.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),tg=(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}),ng=(function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||qh}),rg=pg(0,0,0,0);function ig(e){return parseFloat(e)||0}function ag(e){return[...arguments].slice(1).reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+ig(r)},0)}function og(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]=ig(o)}return n}function sg(e){var t=e.getBBox();return pg(0,0,t.width,t.height)}function cg(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return rg;var r=ng(e).getComputedStyle(e),i=og(r),a=i.left+i.right,o=i.top+i.bottom,s=ig(r.width),c=ig(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=ag(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=ag(r,`top`,`bottom`)+o)),!ug(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 pg(i.left,i.top,s,c)}var lg=(function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof ng(e).SVGGraphicsElement}:function(e){return e instanceof ng(e).SVGElement&&typeof e.getBBox==`function`}})();function ug(e){return e===ng(e).document.documentElement}function dg(e){return Kh?lg(e)?sg(e):cg(e):rg}function fg(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=Object.create((typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object).prototype);return tg(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function pg(e,t,n,r){return{x:e,y:t,width:n,height:r}}var mg=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=pg(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=dg(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}(),hg=function(){function e(e,t){var n=fg(t);tg(this,{target:e,contentRect:n})}return e}(),gg=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Gh,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 ng(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new mg(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 ng(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 hg(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}(),_g=typeof WeakMap<`u`?new WeakMap:new Gh,vg=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 gg(t,eg.getInstance(),this);_g.set(this,n)}return e}();[`observe`,`unobserve`,`disconnect`].forEach(function(e){vg.prototype[e]=function(){var t;return(t=_g.get(this))[e].apply(t,arguments)}});var yg=(function(){return qh.ResizeObserver===void 0?vg:qh.ResizeObserver})(),bg=48,xg=52,Sg=0,Cg=5,wg=(t,n={})=>{class r extends e.default.Component{static contextType=po;state={verso:null,recto:null,spreadIndex:null,currentSpreadIndex:null,elementEdgeLeft:null};elemRef=e.default.createRef();constructor(e){super(e),this.calculateNodePositionUsingOffsetLeft=this.calculateNodePositionUsingOffsetLeft.bind(this),this.calculateNodePositionAfterResize=()=>{},this.settings={useParentDimensions:oo(this.props.useParentDimensions,n.useParentDimensions,!1),useElementOffsetLeft:oo(this.props.useElementOffsetLeft,n.useElementOffsetLeft,!0),useFullscreenElementWidth:oo(this.props.useFullscreenElementWidth,n.useFullscreenElementWidth,!1),isMarker:oo(n.isMarker,!1)}}componentDidMount(){if(!this.settings.useElementOffsetLeft){this.calculateNodePositionUsingBoundingClientRect();return}this.calculateNodePositionAfterResize=(0,Ui.default)(this.calculateNodePositionUsingOffsetLeft,0,{leading:!1,trailing:!0}).bind(this),this.connectObserver()}componentWillUnmount(){this.settings.useElementOffsetLeft&&this.disconnectObservers()}UNSAFE_componentWillReceiveProps(e){if(this.settings.useElementOffsetLeft)return;let{ultimateOffsetLeft:t}=e,{ultimateOffsetLeft:n}=this.props.view;t!==n&&this.calculateNodePositionUsingBoundingClientRect()}connectObserver(){let e=this.getRef();if(!e)return console.error(`No element to conenct to ResizeObserver`);this.resizeObserver=new yg(this.calculateNodePositionAfterResize),this.resizeObserver.observe(e)}disconnectObservers(){this.resizeObserver.disconnect()}elementEdgeIsInAllowableRange=e=>e>=bg&&e<=xg||e>=Sg&&e<=Cg;getRef=()=>{let{useParentDimensions:e}=this.settings,t;return t=e?this.elemRef.current?.parentElement?this.elemRef.current.parentElement:null:this.elemRef.current,t};calculateNodePositionUsingOffsetLeft=()=>{let e=this.getRef();if(!e)return console.error(`Element does not exist`);let{isMarker:t}=this.settings,{paddingLeft:n,columnGap:r}=this.props.viewerSettings,i=window.getComputedStyle(e.parentElement.parentElement),a=i.marginLeft,o=i.paddingLeft,s=e.offsetLeft-parseFloat(a)-parseFloat(o),c=(window.innerWidth-n*2-r)/2,l=window.innerWidth-n*2+r,u=s-r-c;e.offsetWidth!==window.innerWidth&&(u-=n);let d=Math.abs(u/l),f=Number((d%1).toFixed(2).substring(2)),p=f>=bg&&f<=xg,m=f>=Sg&&f<=Cg,h=Math.floor(Number(d.toFixed(2)));(this.elementEdgeIsInAllowableRange(f)===!1||p===!1&&m===!1)&&(e.style.display=`none`,e.style.display=`block`),this.setState({verso:p,recto:m,spreadIndex:h,elementEdgeLeft:s}),t&&(Mh.removeStyleSheets(),Mh.createStyleSheets({paddingLeft:n,columnGap:r}),Mh.appendStyleSheets())};calculateNodePositionUsingBoundingClientRect=()=>{let e=this.getRef();if(!e)return console.error(`Element does not exist`);let{ultimateOffsetLeft:t}=this.props.view,{paddingLeft:n,columnGap:r}=this.props.viewerSettings,i=Math.abs(this.context.getTranslateX()),a=e.getBoundingClientRect().x+i,o=window.innerWidth-n*2+r,s=t/o-(t-a)/o;s=Math.round(s),this.setState({verso:!0,recto:!1,spreadIndex:s})};render(){return(0,G.jsx)(t,{elemRef:this.elemRef,...this.state,...this.props})}}return Re(({readerSettings:e,viewerSettings:t,view:n})=>({readerSettings:e,viewerSettings:t,view:n}),()=>({}))(r)},Tg=class extends e.default.Component{render(){let{verso:e,recto:t}=this.props;return{...this.props.style},(0,G.jsxs)(`span`,{children:[(0,G.jsx)(`span`,{"data-verso":e,"data-recto":t,"data-index":this.props[`data-index`],"data-final":this.props[`data-final`],className:this.props.className,ref:this.props.elemRef}),(0,G.jsx)(`span`,{className:`bber-marker__spacer`})]})}},Eg=Re(({markers:e})=>({markers:e}),e=>({markerActions:Xe(Uh,e)}))(wg(Tg,{isMarker:!0})),Dg=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,G.jsx)(`audio`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),Og=e=>(0,G.jsx)(`a`,{className:`bber-a material-icons media__button__file_download`,href:e.currentSrc,download:!0,children:`file_download`});function kg(e){return(0,G.jsx)(`button`,{className:(0,Eo.default)(`bber-button material-icons`,{"bber-hover":e.loop}),onClick:e.updateLoop,children:`repeat`})}function Ag(e){switch(e.playbackRate){case H.SLOW:return(0,G.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackNormal,children:[`0.5`,(0,G.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case H.NORMAL:return(0,G.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackFast,children:[`1`,(0,G.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case H.FAST:return(0,G.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackSlow,children:[`1.5`,(0,G.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});default:return null}}function jg(e){return e.paused?(0,G.jsx)(`button`,{className:`bber-button material-icons bber-media__button__play`,onClick:e.play,children:`play_arrow`}):(0,G.jsx)(`button`,{className:`bber-button material-icons bber-media__button__pause`,onClick:e.pause,children:`pause`})}function Mg(e){return(0,G.jsx)(`button`,{className:`bber-button material-icons bber-media__button__forward_30`,onClick:e.timeForward,children:`forward_30`})}function Ng(e){return(0,G.jsx)(`button`,{className:`bber-button material-icons bber-media__button__replay_30`,onClick:e.timeBack,children:`replay_30`})}function Pg(e){return(0,G.jsxs)(`div`,{className:`bber-media__slider`,children:[(0,G.jsx)(`div`,{className:`bber-media__slider--before`,style:{width:`${e.progress/e.duration*100}%`}}),(0,G.jsx)(`input`,{className:`bber-input`,type:`range`,min:`0`,max:e.duration,step:e.duration/100,value:e.progress,onChange:e.seek})]})}var Fg=class extends e.default.Component{constructor(){super(),this.state={open:!1}}toggle=()=>this.setState(e=>({open:!e.open}));render(){let{open:e}=this.state;return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{className:(0,Eo.default)(`bber-slider__volume`,{"bber-open":e}),children:(0,G.jsx)(Pg,{duration:1,progress:this.props.volume,seek:this.props.updateVolume})}),(0,G.jsx)(`button`,{className:(0,Eo.default)(`bber-button material-icons bber-media__button__volume_up`,{"bber-hover":e}),onClick:this.toggle,children:`volume_up`})]})}};function Ig({time:e}){return(0,G.jsx)(`div`,{className:`bber-media__time`,children:e})}function Lg(e){return(0,G.jsxs)(`div`,{className:`bber-media__stacked`,children:[(0,G.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,G.jsx)(Ig,{time:e.timeElapsed}),(0,G.jsx)(Pg,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,G.jsx)(Ig,{time:e.timeRemaining})]}),(0,G.jsx)(`div`,{className:`bber-media__stacked__separator`,children:(0,G.jsx)(`div`,{className:`bber-media__stacked__separator--line`})}),(0,G.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,G.jsx)(Ng,{timeBack:e.timeBack}),(0,G.jsx)(jg,{paused:e.paused,pause:e.pause,play:e.play}),(0,G.jsx)(Mg,{timeForward:e.timeForward}),(0,G.jsx)(kg,{loop:e.loop,updateLoop:e.updateLoop}),(0,G.jsx)(Ag,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,G.jsx)(`div`,{style:{marginRight:`auto`}}),(0,G.jsx)(Fg,{volume:e.volume,updateVolume:e.updateVolume}),(0,G.jsx)(Og,{currentSrc:e.currentSrc})]})]})}function Rg(e){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Ng,{timeBack:e.timeBack}),(0,G.jsx)(jg,{paused:e.paused,pause:e.pause,play:e.play}),(0,G.jsx)(Mg,{timeForward:e.timeForward}),(0,G.jsx)(kg,{loop:e.loop,updateLoop:e.updateLoop}),(0,G.jsx)(Ag,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,G.jsx)(Ig,{time:e.timeElapsed}),(0,G.jsx)(Pg,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,G.jsx)(Ig,{time:e.timeRemaining}),(0,G.jsx)(Fg,{volume:e.volume,updateVolume:e.updateVolume}),(0,G.jsx)(Og,{currentSrc:e.currentSrc})]})}function zg(e){return W.isSingleColumn()?(0,G.jsx)(Lg,{...e}):(0,G.jsx)(Rg,{...e})}var Bg=e=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Ng,{timeBack:e.timeBack}),(0,G.jsx)(jg,{paused:e.paused,pause:e.pause,play:e.play}),(0,G.jsx)(Mg,{timeForward:e.timeForward}),(0,G.jsx)(Ig,{time:e.timeElapsed}),(0,G.jsx)(Pg,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,G.jsx)(Ig,{time:e.timeRemaining}),(0,G.jsx)(Fg,{volume:e.volume,updateVolume:e.updateVolume})]}),Vg=e=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(jg,{paused:e.paused,pause:e.pause,play:e.play}),(0,G.jsx)(Ig,{time:e.timeElapsed}),(0,G.jsx)(Pg,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,G.jsx)(Ig,{time:e.timeRemaining})]}),Hg=({config:e,...t})=>e===`simple`?(0,G.jsx)(Vg,{...t}):e===`normal`?(0,G.jsx)(Bg,{...t}):(0,G.jsx)(zg,{...t}),Ug=e=>(0,G.jsx)(`button`,{className:`bber-button`,onClick:e.toggleFullscreen,children:`toggleFullscreen`}),Wg=e=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(jg,{paused:e.paused,pause:e.pause,play:e.play}),(0,G.jsx)(Pg,{duration:e.duration,progress:e.progress,seek:e.seek})]}),Gg=e=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Wg,{...e}),(0,G.jsx)(Ig,{timeElapsed:e.timeElapsed,timeRemaining:e.timeRemaining}),(0,G.jsx)(Fg,{volumeUp:e.volumeUp,volumeDown:e.volumeDown}),(0,G.jsx)(Ug,{toggleFullscreen:e.toggleFullscreen})]}),Kg=e=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Gg,{...e}),(0,G.jsx)(Ag,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast})]}),qg=({config:e,...t})=>e===`simple`?(0,G.jsx)(Wg,{...t}):e===`normal`?(0,G.jsx)(Gg,{...t}):(0,G.jsx)(Kg,{...t}),Jg=({mediaType:e,...t})=>e===`audio`?(0,G.jsx)(Hg,{playbackSlow:t.playbackSlow,playbackNormal:t.playbackNormal,playbackFast:t.playbackFast,...t}):(0,G.jsx)(qg,{playbackSlow:t.playbackSlow,playbackNormal:t.playbackNormal,playbackFast:t.playbackFast,...t}),Yg=class extends e.default.Component{playbackSlow=()=>this.props.updatePlaybackRate(H.SLOW);playbackNormal=()=>this.props.updatePlaybackRate(H.NORMAL);playbackFast=()=>this.props.updatePlaybackRate(H.FAST);render(){let{mediaType:e,config:t}=this.props;return t?(0,G.jsx)(`div`,{className:(0,Eo.default)(`bber-media__controls`,`bber-media__controls--${e}`,`bber-media__controls--${t}`),children:(0,G.jsx)(Jg,{playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast,...this.props})}):null}},Xg=wg(class t extends e.default.Component{static contextType=po;static skipStep=30;state={autoPlay:this.props.autoPlay||!1,paused:!0,loop:!1,volume:1,playbackRate:H.NORMAL,currentTime:0,duration:0,seeking:!1,muted:!1,progress:0,timeElapsed:`00:00`,timeRemaining:`00:00`,currentSrc:``,userInitiatedPause:!1};UNSAFE_componentWillMount(){this.props[`data-autoplay`]===!0&&this.setState({autoPlay:!0})}UNSAFE_componentWillReceiveProps(e,t){if(!this.state.autoPlay)return;let n=this;this.props.elemRef.current.addEventListener(`canplay`,function r(){n.onCanPlay(e,t),n.props.elemRef.current.removeEventListener(`canplay`,r)})}onCanPlay=(e,t)=>{let{paused:n,userInitiatedPause:r}=this.state;n===!0&&r===!1&&e.spreadIndex===t.spreadIndex&&this.setState({paused:!1},()=>this.playMedia()),e.spreadIndex!==t.spreadIndex&&n===!1&&this.setState({paused:!0},()=>this.pauseMedia())};playMedia=()=>{let e=this.props.elemRef.current.play();e&&e.catch(()=>{}),this.updateControlsUI()};pauseMedia=()=>{this.props.elemRef.current.pause()};play=()=>this.setState({paused:!1,userInitiatedPause:!1},()=>this.playMedia());pause=()=>this.setState({paused:!0,userInitiatedPause:!0},()=>this.pauseMedia());updateTime=e=>{let{duration:t}=this.state,{currentTime:n}=this.state;n=parseFloat((n+e).toFixed(10)),n=Math.max(0,Math.min(n,t)),this.setState({currentTime:n},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateControlsUI()})};updateVolume=e=>{let t=e.currentTarget.value;this.setState({volume:t},()=>this.props.elemRef.current.volume=this.state.volume)};updateLoop=()=>{let e=!this.state.loop;this.setState({loop:e},()=>this.props.elemRef.current.loop=this.state.loop)};updatePlaybackRate=e=>this.setState({playbackRate:e},()=>this.props.elemRef.current.playbackRate=this.state.playbackRate);displayTime(e){let t=Math.round(e),n=t%60,r=(t-n)/60;return n=String(n).padStart(2,`0`),r=String(r).padStart(2,`0`),`${r}:${n}`}updateControlsUI=()=>{this.updateTimeStamps(),this.updateProgress(),!this.state.paused&&this.props.elemRef?.current&&setTimeout(this.updateControlsUI.bind(this),1e3)};updateTimeStamps=()=>{if(!this.props.elemRef?.current)return;let{currentTime:e}=this.props.elemRef.current,t=this.displayTime(e);this.setState({currentTime:e,timeElapsed:t})};updateProgress=()=>{if(!this.props.elemRef?.current)return;let e=this.props.elemRef.current.currentTime;this.setState({progress:e})};timeForward=()=>this.updateTime(t.skipStep);timeBack=()=>this.updateTime(t.skipStep*-1);seek=e=>{let t=Number(e.target.value),n=t;this.setState({progress:t,currentTime:n},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateTimeStamps()})};fullscreenElement(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}requestFullscreen(e){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}exitFullscreen(e){e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()}toggleFullscreen=()=>{let e=this.props.elemRef.current;this.fullscreenElement()?this.exitFullscreen(e):this.requestFullscreen(e)};handleLoad=()=>{let{seeking:e,currentTime:t,duration:n,playbackRate:r,loop:i,volume:a,muted:o,currentSrc:s}=this.props.elemRef.current;this.props.elemRef.current.preload=`auto`;let c=this.displayTime(n);this.setState({seeking:e,muted:o,currentTime:t,duration:n,playbackRate:r,loop:i,volume:a,timeRemaining:c,currentSrc:s})};handleEnded=()=>this.setState({paused:!0,userInitiatedPause:!0});render(){let{elemRef:e,verso:t,recto:n,spreadIndex:r,elementEdgeLeft:i,MediaComponent:a,mediaType:o,autoPlay:s,currentSpreadIndex:c,view:l,viewerSettings:u,readerSettings:d,controls:f,...p}=this.props,m=null,h=!0;return f?U.has(f)&&(m=f,h=!1):h=!1,(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(a,{elementKey:p.id,elementRef:e,handleLoad:this.handleLoad,handleEnded:this.handleEnded,controls:h,...p}),(0,G.jsx)(Yg,{config:m,mediaType:o,play:this.play,pause:this.pause,timeForward:this.timeForward,timeBack:this.timeBack,updateVolume:this.updateVolume,updateLoop:this.updateLoop,updatePlaybackRate:this.updatePlaybackRate,seek:this.seek,toggleFullscreen:this.toggleFullscreen,currentSrc:this.state.currentSrc,currentTime:this.state.currentTime,duration:this.state.duration,progress:this.state.progress,timeElapsed:this.state.timeElapsed,timeRemaining:this.state.timeRemaining,paused:this.state.paused,playbackRate:this.state.playbackRate,volume:this.state.volume,loop:this.state.loop})]})}},{useParentDimensions:!0}),Zg=e=>(0,G.jsx)(Xg,{mediaType:`audio`,MediaComponent:Dg,...e}),Qg=(t,n={enabled:!1})=>class extends e.default.Component{iframePlaceholder=e.default.createRef();constructor(e){super(e),this.state={iframePlaceholderTop:0,iframePlaceholderWidth:0,iframePlaceholderHeight:0}}UNSAFE_componentWillMount(){window.addEventListener(`resize`,this.handleResize)}componentDidMount(){n.enabled&&this.updateIframePosition()}componentWillUnmount(){window.removeEventListener(`resize`,this.handleResize)}handleResize=()=>{n.enabled&&this.updateIframePosition()};updateIframePosition=()=>{if(W.isVerticallyScrolling(this.props))return;if(!this.iframePlaceholder){console.warn(`Could not find iframePlaceholder node`);return}let e=this.iframePlaceholder,{iframePlaceholderTop:t,iframePlaceholderWidth:n,iframePlaceholderHeight:r}=this.state,{top:i,width:a,height:o}=e.getBoundingClientRect();(t!==i||n!==a||r!==o)&&(this.setState({iframePlaceholderTop:i,iframePlaceholderWidth:a,iframePlaceholderHeight:o}),setTimeout(this.updateIframePosition,60))};iframeStyleBlock=(e=`iframe`)=>n.enabled?`
67
+ .context__desktop .${e}.figure__large.figure__inline .embed.supported {
68
+ padding-top: 0 !important;
69
+ position: static !important;
70
+ transform: none !important;
71
+ }
72
+
73
+ .context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported {
74
+ position: relative !important;
75
+ }
76
+
77
+ .context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported iframe,
78
+ .context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported .bber-iframe-placeholder + div {
79
+ top: 0 !important;
80
+ }
81
+ `:``;render(){return(0,G.jsx)(t,{...this.props,...this.state,iframeStyleBlock:this.iframeStyleBlock,innerRef:e=>this.iframePlaceholder=e})}},$g=lo(`chrome`,`eq`,81),e_=wg(Qg(class extends e.default.Component{static contextType=po;componentDidMount(){window.addEventListener(`blur`,this.focusWindow)}componentWillUnmount(){window.removeEventListener(`blur`,this.focusWindow)}focusWindow=()=>setTimeout(()=>window.focus(),60);render(){let{attrs:e,viewerSettings:t,iframePlaceholderTop:n,iframePlaceholderWidth:r}=this.props,{src:i,title:a,width:o,height:s}=e,c={};if($g){let e=W.isSingleColumn(t);c={top:n,width:o,maxWidth:e?`100%`:r,position:e?`static`:`absolute`}}return(0,G.jsxs)(G.Fragment,{children:[$g&&(0,G.jsx)(`style`,{children:this.props.iframeStyleBlock(`iframe`)}),$g&&(0,G.jsx)(`div`,{style:{paddingTop:s},className:`bber-iframe-placeholder`,ref:this.props.innerRef},`placholder-${i}`),(0,G.jsx)(`div`,{style:c,ref:this.props.elemRef,children:(0,G.jsx)(`iframe`,{src:i,title:a,...e})},i)]})}},{enabled:$g})),t_=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,G.jsx)(`video`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),n_=e=>(0,G.jsx)(Xg,{mediaType:`video`,MediaComponent:t_,...e}),r_=c(((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})),i_=l({default:()=>s_});function a_(e,t){return!!(e===t||c_(e)&&c_(t))}function o_(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!a_(e[n],t[n]))return!1;return!0}function s_(e,t){t===void 0&&(t=o_);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 c_,l_=s((()=>{c_=Number.isNaN||function(e){return typeof e==`number`&&e!==e}})),u_=c(((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}}})),d_=c(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),f_=c(((e,t)=>{var n=d_();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}})),p_=c(((e,t)=>{t.exports=f_()()})),m_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=e.propTypes=void 0;var t=n(p_());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}})),h_=c(((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))}}})),g_=c((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(h_()),n=r(r_());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.
82
+ 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.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var a=(t=[]).concat.apply(t,r),o={},s=Object.keys(e),c=0,l=s;c<l.length;c++){var u=l[c];a.indexOf(u)===-1&&(o[u]=e[u])}return o}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}})),__=c((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(u()),r=o(u_()),i=m_(),a=g_();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 d(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(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;d(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 p(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)})),v_=c((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(u());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 d(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&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(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){d(r,e);var t=p(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)})),y_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createReactPlayer=void 0;var t=ee(u()),n=c(r_()),r=c((l_(),p(i_))),i=c(u_()),a=m_(),o=g_(),s=c(__());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 d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?d(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function 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.
83
+ 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(v_())})}),te=typeof window<`u`&&window.document,P=typeof global<`u`&&global.window&&global.window.document,F=Object.keys(a.propTypes),I=te||P?t.Suspense:function(){return null},ne=[];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(ne,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,F)})),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(I,{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){ne.push(e)}),j(l,`removeCustomPlayers`,function(){ne.length=0}),j(l,`canPlay`,function(t){for(var n=0,r=[].concat(ne,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(ne,h(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),u}})),b_=c((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=g_();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.
84
+ 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)}}})),x_=c((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(u()),r=g_(),i=b_();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 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 p(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){p(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 f(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)})),S_=c(((e,t)=>{var n=y_().createReactPlayer,r=x_().default;t.exports=n([{key:`vimeo`,canPlay:r.canPlay,lazyPlayer:r}])})),C_=c(((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})),w_=c(((e,t)=>{var n=Et();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),T_=c(((e,t)=>{var n=w_();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})),E_=c(((e,t)=>{var n=T_(),r=nt(),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})),D_=c(((e,t)=>{var n=E_(),r=T_();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})),O_=c(((e,t)=>{var n=D_(),r=En();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),k_=c(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),A_=c(((e,t)=>{var n=yt(),r=xn(),i=k_(),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})),j_=c(((e,t)=>{var n=bn(),r=A_(),i=Tn();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),M_=c(((e,t)=>{var n=D_(),r=j_();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),N_=c(((e,t)=>{var n=mt(),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})),P_=c(((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})),F_=c(((e,t)=>{var n=D_(),r=sn();function i(e,t){return n(e,r(e),t)}t.exports=i})),I_=c(((e,t)=>{var n=tn(),r=_r(),i=sn(),a=on();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),L_=c(((e,t)=>{var n=D_(),r=I_();function i(e,t){return n(e,r(e),t)}t.exports=i})),R_=c(((e,t)=>{var n=rn(),r=I_(),i=j_();function a(e){return n(e,i,r)}t.exports=a})),z_=c(((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})),B_=c(((e,t)=>{var n=Zt();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),V_=c(((e,t)=>{var n=B_();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),H_=c(((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})),U_=c(((e,t)=>{var n=ht(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),W_=c(((e,t)=>{var n=B_();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),G_=c(((e,t)=>{var n=B_(),r=V_(),i=H_(),a=U_(),o=W_(),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})),K_=c(((e,t)=>{var n=yt(),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}}()})),q_=c(((e,t)=>{var n=K_(),r=_r(),i=xn();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),J_=c(((e,t)=>{var n=Nn(),r=ln(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Y_=c(((e,t)=>{var n=J_(),r=_n(),i=vn(),a=i&&i.isMap;t.exports=a?r(a):n})),X_=c(((e,t)=>{var n=Nn(),r=ln(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Z_=c(((e,t)=>{var n=X_(),r=_n(),i=vn(),a=i&&i.isSet;t.exports=a?r(a):n})),Q_=c(((e,t)=>{var n=Wt(),r=C_(),i=E_(),a=O_(),o=M_(),s=N_(),c=P_(),l=F_(),u=L_(),d=Dn(),f=R_(),p=Nn(),m=z_(),h=G_(),g=q_(),_=nn(),v=pn(),y=Y_(),b=yt(),x=Z_(),S=En(),C=j_(),w=1,T=2,E=4,D=`[object Arguments]`,O=`[object Array]`,k=`[object Boolean]`,A=`[object Date]`,j=`[object Error]`,M=`[object Function]`,ee=`[object GeneratorFunction]`,N=`[object Map]`,te=`[object Number]`,P=`[object Object]`,F=`[object RegExp]`,I=`[object Set]`,ne=`[object String]`,re=`[object Symbol]`,ie=`[object WeakMap]`,ae=`[object ArrayBuffer]`,L=`[object DataView]`,oe=`[object Float32Array]`,se=`[object Float64Array]`,ce=`[object Int8Array]`,le=`[object Int16Array]`,ue=`[object Int32Array]`,de=`[object Uint8Array]`,fe=`[object Uint8ClampedArray]`,pe=`[object Uint16Array]`,me=`[object Uint32Array]`,R={};R[D]=R[O]=R[ae]=R[L]=R[k]=R[A]=R[oe]=R[se]=R[ce]=R[le]=R[ue]=R[N]=R[te]=R[P]=R[F]=R[I]=R[ne]=R[re]=R[de]=R[fe]=R[pe]=R[me]=!0,R[j]=R[M]=R[ie]=!1;function he(e,t,O,k,A,j){var N,te=t&w,F=t&T,I=t&E;if(O&&(N=A?O(e,k,A,j):O(e)),N!==void 0)return N;if(!b(e))return e;var ne=_(e);if(ne){if(N=m(e),!te)return c(e,N)}else{var re=p(e),ie=re==M||re==ee;if(v(e))return s(e,te);if(re==P||re==D||ie&&!A){if(N=F||ie?{}:g(e),!te)return F?u(e,o(N,e)):l(e,a(N,e))}else{if(!R[re])return A?e:{};N=h(e,re,te)}}j||=new n;var ae=j.get(e);if(ae)return ae;j.set(e,N),x(e)?e.forEach(function(n){N.add(he(n,t,O,n,e,j))}):y(e)&&e.forEach(function(n,r){N.set(r,he(n,t,O,r,e,j))});var L=ne?void 0:(I?F?f:d:F?C:S)(e);return r(L||e,function(n,r){L&&(r=n,n=e[r]),i(N,r,he(n,t,O,r,e,j))}),N}t.exports=he})),$_=c(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n})),ev=c(((e,t)=>{var n=Zn(),r=Cr();function i(e,t){return t.length<2?e:n(e,r(t,0,-1))}t.exports=i})),tv=c(((e,t)=>{var n=Yn(),r=$_(),i=ev(),a=Xn();function o(e,t){return t=n(t,e),e=i(e,t),e==null||delete e[a(r(t))]}t.exports=o})),nv=c(((e,t)=>{var n=vr();function r(e){return n(e)?void 0:e}t.exports=r})),rv=c(((e,t)=>{var n=ht(),r=dn(),i=nn(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),iv=c(((e,t)=>{var n=tn(),r=rv();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})),av=c(((e,t)=>{var n=iv();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),ov=c(((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})),sv=c(((e,t)=>{var n=ov(),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})),cv=c(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),lv=c(((e,t)=>{var n=cv(),r=w_(),i=rr();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),uv=c(((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})),dv=c(((e,t)=>{var n=lv();t.exports=uv()(n)})),fv=c(((e,t)=>{var n=av(),r=sv(),i=dv();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),pv=c(((e,t)=>{var n=Kn(),r=Q_(),i=tv(),a=Yn(),o=D_(),s=nv(),c=fv(),l=R_(),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})})),mv=f(S_()),hv=f(pv()),gv=e=>B.parseQueryString(e),_v=e=>e.split(`?`),vv=(e,t=[])=>{let n=e;t.length&&(n=(0,hv.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},yv=(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})},bv=()=>null;function xv({src:e,playing:t,controls:n,handleUpdatePlaying:r}){return e?(0,G.jsx)(`img`,{className:(0,Eo.default)(`bber-poster bber-poster--vimeo`,{"bber-visible":!t,"bber-controls":n}),onClick:r,src:e,alt:``}):null}var Sv=lo(`chrome`,`eq`,81),Cv=wg(Qg(class t extends e.default.Component{static contextType=po;static blacklistedProps=[`autopause`];constructor(e){super(e),this.state={url:``,loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([[`x`,16],[`y`,9]])}}UNSAFE_componentWillMount(){let{src:e,posterImage:n,aspectRatio:r}=this.props,[i,a]=_v(e),o=vv(gv(a),t.blacklistedProps),{autoplay:s,...c}=o,{controls:l,muted:u,loop:d}=o;this.setState(e=>({url:i,loop:oo(d,e.loop),muted:oo(u,e.muted),controls:oo(l,e.controls),autoplay:oo(s,e.autoplay),posterImage:n,aspectRatio:r,playerOptions:{...c}}))}UNSAFE_componentWillReceiveProps(e,t){let n=yv(this.state,this.props,e,t);n&&this.setState(n)}handleUpdatePlaying=()=>this.setState(({playing:e})=>({playing:!e}));handlePause=()=>this.setState({playing:!1});handleEnded=()=>this.setState({playing:!1});handleUpdatePosition=()=>{};handleUpdateVolume=()=>{};render(){let{url:e,loop:t,muted:n,controls:r,playing:i,posterImage:a,playerOptions:o,aspectRatio:s}=this.state,{iframePlaceholderTop:c,iframePlaceholderWidth:l,iframePlaceholderHeight:u}=this.props,d={},f;if(Sv){let e=W.isSingleColumn(),t=e?`static`:`absolute`,n=s.get(`x`),r=s.get(`y`);if(e||(d={top:c,width:l,height:u,position:t}),!e&&l>window.innerWidth){let e=window.innerWidth>=window.innerHeight;d.top=`50%`,d.left=`50%`,d.transform=`translateX(-50%) translateY(-50%)`,e?(d.width=`100vw`,d.height=`100vw`,d.minWidth=`${n/r*100}vh`):(d.width=`${r/n*100}vw`,d.height=`100vw`,d.minHeight=`100%`)}f=e?0:`${r/n*100}%`}return(0,G.jsxs)(G.Fragment,{children:[Sv&&(0,G.jsx)(`style`,{children:this.props.iframeStyleBlock(`vimeo`)}),Sv&&(0,G.jsx)(`div`,{style:{paddingTop:f},className:`bber-iframe-placeholder`,ref:this.props.innerRef},`placholder-${e}`),(0,G.jsxs)(`div`,{style:d,ref:this.props.elemRef,children:[(0,G.jsx)(xv,{src:a,playing:i,controls:r,handleUpdatePlaying:this.handleUpdatePlaying}),(0,G.jsx)(mv.default,{url:e,width:`100%`,height:`100%`,loop:t,muted:n,playing:i,controls:r,playsinline:!0,config:{vimeo:{playerOptions:o}},onPause:this.handlePause,onEnded:this.handleEnded}),(0,G.jsx)(bv,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})]},e)]})}},{enabled:Sv}),{useParentDimensions:!0}),wv=e.default.createContext({left:0,layout:`columns`});wv.displayName=`SpreadContext`;var Tv=30;function Ev(t){let n=(0,e.useRef)(null),[r,i]=(0,e.useState)(0),a=(0,e.useMemo)(()=>(Math.random()+1).toString(36).substring(7),[]),o=(0,e.useRef)(t.viewerSettings);o.current=t.viewerSettings,(0,e.useEffect)(()=>{let e=null,t=()=>{let e=o.current,t=W.getPageWidth(e);if(!Number.isFinite(t)||t===0)return null;let r=n.current.offsetLeft,i=(r-e.paddingLeft)/t;return{nextLeft:r,offset:Math.round(i*2)/2}},r=()=>{cancelAnimationFrame(e);let r=0,a=null,o=()=>{if(!n.current)return;let s=t();s&&(i(s.offset),s.nextLeft!==a&&(a=s.nextLeft,r+=1,r<Tv&&(e=requestAnimationFrame(o))))};e=requestAnimationFrame(o)},a=new ResizeObserver(r);return n.current&&a.observe(n.current),r(),()=>{a.disconnect(),cancelAnimationFrame(e)}},[t.viewerSettings.paddingLeft,t.viewerSettings.paddingRight,t.viewerSettings.columnGap,t.view.loaded,t.view.ultimateOffsetLeft]);let s=r%1==0,c=s?2:3,l=(0,e.useMemo)(()=>{let e=W.isVerticallyScrolling(t.readerSettings),n=0;if(!e){let e=W.getPageWidth(t.viewerSettings);Number.isFinite(e)&&(n=s?Math.round(r)*e:(Math.floor(r)+1)*e)}return{left:n,layout:t.layout}},[r,s,t.viewerSettings,t.readerSettings,t.layout]),u=(0,e.useMemo)(()=>ro.name===`safari`?{WebkitColumnBreakBefore:`always`,WebkitColumnBreakAfter:`always`,WebkitColumnBreakInside:`avoid`}:{},[ro.name]),{height:d,paddingTop:f,paddingBottom:p}=t.viewerSettings,m=(d-f-p)*c;return(0,G.jsx)(`div`,{id:a,ref:n,style:{...u,height:m},className:`bber-spread bber-spread-${s?`verso`:`recto`} ${t.className||``}`,"data-marker-reference":t[`data-marker-reference`],children:(0,G.jsx)(wv.Provider,{value:l,children:t.children})})}var Dv=Re(({readerSettings:e,viewerSettings:t,view:n})=>({readerSettings:e,viewerSettings:t,view:n}),()=>({}))(Ev),Ov=t=>{let n=(0,e.useContext)(po);return(0,G.jsx)(wv.Consumer,{children:({left:e})=>{let r=Math.abs(n.getTranslateX()),i=Math.floor(e),a=window.innerWidth/2,o=r===i?0:r>i?a*-1:a;return(0,G.jsx)(`figure`,{id:t.id,style:{left:i,marginLeft:o},className:t.className||``,children:t.children})}})},kv=100,Av=3,jv=2500;function Mv({view:t,viewActions:n,userInterfaceActions:r,children:i}){let a=(0,e.useRef)(null),o=(0,e.useRef)(n);o.current=n;let s=(0,e.useRef)(r);s.current=r;let c=(0,e.useRef)(!1),l=(0,e.useRef)(null),u=(0,e.useRef)(0),d=(0,e.useRef)(null),f=(0,e.useRef)(0),p=()=>{if(!c.current)return;c.current=!1;let e=a.current,t=e?e.offsetLeft:0;o.current.load(),o.current.updateUltimateNodePosition({ultimateOffsetLeft:t}),s.current.update({handleEvents:!0,spinnerVisible:!1})},m=()=>{d.current=setTimeout(()=>{if(!c.current)return;if(Date.now()-f.current>=jv){p();return}let e=a.current;if(!e){m();return}let t=e.offsetLeft;t===l.current?(u.current+=1,u.current>=Av?p():m()):(l.current=t,u.current=0,m())},kv)},h=()=>{d.current&&=(clearTimeout(d.current),null),c.current=!0,l.current=null,u.current=0,f.current=Date.now(),typeof document<`u`&&document.fonts?.ready&&document.fonts.ready.then(()=>{c.current&&(l.current=null,u.current=0)}),m()};(0,e.useEffect)(()=>(h(),()=>{d.current&&clearTimeout(d.current)}),[]);let g=(0,e.useRef)(t.loaded);return(0,e.useEffect)(()=>{let e=g.current;g.current=t.loaded,e===!0&&t.loaded===!1&&h()},[t.loaded]),(0,G.jsx)(`span`,{ref:a,className:`bber-ultimate`,children:i})}var Nv=Re(({view:e})=>({view:e}),e=>({userInterfaceActions:Xe(Yi,e),viewActions:Xe(la,e)}))(Mv),Pv=()=>!0,Fv=new bh.ProcessNodeDefinitions(e.default),Iv=({requestedSpineItem:t})=>[{shouldProcessNode(e){return e?.attribs?.[`epub:type`]===`noteref`},processNode(n,r){let i=z.convertToReactAttrs(n.attribs),a=ao(),o=B.resolveOverlappingURL(t.absoluteURL,n.attribs.href);return e.default.createElement(Bh,{...i,key:a,href:o},r)}},{shouldProcessNode(e){return e.attribs?.href&&(!e.attribs?.[`epub:type`]||e.attribs?.[`epub:type`]!==`noteref`)},processNode(n,r){let i=z.convertToReactAttrs(n.attribs),a=ao(),{href:o}=n.attribs;return B.isRelative(n.attribs.href)&&(o=B.resolveOverlappingURL(t.absoluteURL,n.attribs.href)),e.default.createElement(Vh,{...i,key:a,href:o},r)}},{shouldProcessNode(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&B.isRelative(e.attribs.src)},processNode(n){let r=z.convertToReactAttrs(n.attribs),i=ao(),a=B.resolveOverlappingURL(t.absoluteURL,n.attribs.src);return e.default.createElement(n.name,{...r,key:i,src:a})}},{shouldProcessNode(e){return e.name===`audio`},processNode(t,n){let r=z.convertToReactAttrs(t.attribs),{id:i,autoPlay:a}=r,o=uo(r),s=i,c=!1;return(0,Ra.default)(a)||(c=!0,delete r.autoPlay),e.default.createElement(Zg,{...r,"data-autoplay":c,controls:o,key:s},n)}},{shouldProcessNode(e){return e.name===`video`},processNode(n,r){let i=z.convertToReactAttrs(n.attribs),{id:a,autoPlay:o}=i,s=uo(i),c=a,l=n.attribs.poster?B.resolveOverlappingURL(t.absoluteURL,n.attribs.poster):null,u=!1;return(0,Ra.default)(o)||(u=!0,delete i.autoPlay),e.default.createElement(n_,{...i,"data-autoplay":u,controls:s,key:c,poster:l},r)}},{shouldProcessNode(e){return e.name===`iframe`&&e.attribs[`data-vimeo`]},processNode(n,r){let i=z.convertToReactAttrs(n.attribs),a=ao(),o=new Set([`16x9`,`4x3`]),s=null,c=new Map([[`x`,16],[`y`,9]]);if(n.attribs[`data-vimeo-poster`]&&(s=B.resolveOverlappingURL(t.absoluteURL,n.attribs[`data-vimeo-poster`])),n.attribs[`data-aspect-ratio`]&&o.has(n.attribs[`data-aspect-ratio`])){let[e,t]=n.attribs[`data-aspect-ratio`].split(`x`).map(Number);c.set(`x`,e),c.set(`y`,t)}delete i[`data-vimeo`],delete i[`data-vimeo-poster`],delete i[`data-aspect-ratio`];let l=n.parent;for(;l;){if(l.type===`tag`&&l.attribs[`data-marker-reference-figure`]){i.useElementOffsetLeft=!1;break}l=l.parent}return e.default.createElement(Cv,{...i,key:a,posterImage:s,aspectRatio:c},r)}},{shouldProcessNode(e){return e.name===`iframe`},processNode(t,n){let r=z.convertToReactAttrs(t.attribs),i=ao(),a=!1,o=!0,s=t.parent;for(;s;){if(s.type===`tag`&&s.attribs[`data-marker-reference-figure`]){o=!1,a=!0;break}s=s.parent}return e.default.createElement(e_,{useElementOffsetLeft:o,spreadLayout:a,attrs:r,key:i},n)}},{shouldProcessNode(e){return e.name===`image`&&e.attribs&&e.attribs[`xlink:href`]&&B.isRelative(e.attribs[`xlink:href`])},processNode(n,r){let i=z.convertToReactAttrs(n.attribs),a=ao(),o=B.resolveOverlappingURL(t.absoluteURL,i.xlinkHref);return e.default.createElement(n.name,{...i,key:a,xlinkHref:o},r)}},{shouldProcessNode(e){return e.type===`tag`&&(0,La.default)(e.attribs,`data-marker-reference-figure`)},processNode(t,n){let r=z.convertToReactAttrs(t.attribs),i=`spread-figure-${r[`data-marker-reference-figure`]}`;return e.default.createElement(Ov,{...r,key:i},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,La.default)(e.attribs,`data-ultimate`)},processNode(t,n){return e.default.createElement(Nv,{key:ao()},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,La.default)(e.attribs,`data-marker-reference`)},processNode(t,n){let r=z.convertToReactAttrs(t.attribs),i=`spread-${r[`data-marker-reference`]}`;return e.default.createElement(Dv,{...r,key:i},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,La.default)(e.attribs,`data-marker`)},processNode(t,n){t.parent.attribs={...t.parent.attribs,style:`padding-bottom: 0; margin-bottom: 0`};let r=z.convertToReactAttrs(t.attribs),i=`marker-${r[`data-marker`]}`;return e.default.createElement(Eg,{...r,key:i},n)}},{shouldProcessNode(){return!0},processNode:Fv.processDefaultNode}],Lv=class e{static opfURL(e){let t=e;return t=B.stripTrailingSlash(t),t+=`/OPS`,t+=`/content.opf`,t=window.encodeURI(t),t}static opsURL(e){let t=e;return t=B.stripTrailingSlash(t),t+=`/OPS`,t=window.encodeURI(t),t}static parseOPF(e){return new Promise(t=>{let{elements:n}=JSON.parse(xh.default.xml2json(e.data)).elements[0],r={};for(let e=0;e<n.length;e++)r[`__${n[e].name}`]=n[e];t(r)})}static parseNCX(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,yr.default)(n.elements,e=>e.attributes.id===a);if(!o){i({...e,__ncx:null});return}let{href:s}=o.attributes;zi.getText(B.resolveRelativeURL(t,s)).then(({data:t})=>{i({...e,__ncx:JSON.parse(xh.default.xml2json(t))})})})}static createSpineItems(t){let{__manifest:n,__spine:r,__ncx:i,__guide:a}=t;return new Promise(o=>{let s;if(s=r.elements.map(e=>{let{idref:t,linear:r}=e.attributes,i=(0,yr.default)(n.elements,e=>e.attributes.id===t);if(!i||r!==`yes`)return null;let{id:o,href:s}=i.attributes,c=i.attributes[`media-type`],l=i.attributes.properties?i.attributes.properties.split(` `):[],u=(0,yr.default)(a.elements,e=>e.attributes.href===s),d=``,f=``;return u&&({title:d}=u.attributes,f=B.slug(d)),new Eh({id:o,href:s,mediaType:c,properties:l,idref:t,linear:r,title:d,slug:f})}),s=s.filter(Boolean),i){let{elements:t}=i.elements[0];(0,yr.default)(t,{name:`navMap`}).elements.forEach(t=>e.parseNavPoints(s,n,t))}o({...t,spine:s})})}static createGuideItems(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 Ch({type:t,title:n,href:r})});n({...e,guide:r})})}static udpateSpineItemURLs(e,t){return new Promise(n=>{let{spine:r}=e;r.map(e=>e.absoluteURL=B.resolveRelativeURL(t,e.href)),n({...e,spine:r})})}static udpateGuideItemURLs(e,t){return new Promise(n=>{let{guide:r}=e;r.map(e=>e.absoluteURL=B.resolveRelativeURL(t,e.href)),n({...e,guide:r})})}static parseNavPoints(t,n,r,i=0,a=null){let o=(0,yr.default)(r.elements,{name:`content`});if(!o)return;let{src:s}=o.attributes;s=B.ensureDecodedURL(s);let c=(0,yr.default)(n.elements,e=>B.ensureDecodedURL(e.attributes.href)===s);if(!c)return console.error(`Could not find manifest item: ${s}`);let{id:l}=c.attributes,u=(0,yr.default)(t,{id:l});if(!u)return console.error(`Can not find spine item: ${l}`);let d=(0,yr.default)((0,yr.default)((0,yr.default)(r.elements,{name:`navLabel`}).elements,{name:`text`}).elements,{type:`text`}).text,f=B.slug(d);u.title||u.set(`title`,d),u.slug||u.set(`slug`,f),u.set(`depth`,i),u.set(`inTOC`,!0),a&&a.addChild(u);let p=i+1;r.elements.forEach(r=>e.parseNavPoints(t,n,r,p,u))}static createBookMetadata(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 Sh({});n.forEach((e,t)=>{let i=Object.keys(n[t]);(0,La.default)(r,i)&&r.set(i,e[i])}),t({...e,metadata:r})})}static createScopedCSS(e,t,n){let r=``;return e.forEach(({base:e,data:i})=>{let a=B.resolveRelativeURL(n,e),o=gm(i);Em(o,{enter:(e,n,r)=>{let i,o=gp.createItem({name:t,type:`ClassSelector`}),s=gp.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,``),B.isRelative(i)&&(i=B.resolveRelativeURL(a,i),e.value=i))}}),r+=mp(o)}),r}static async parseSpineItemResponse(t){let{url:n}=t.request,{hash:r,opsURL:i,paddingLeft:a,columnGap:o}=t,s=new bh.Parser,{xml:c,doc:l}=new Nh({paddingLeft:a,columnGap:o,responseURL:n}).parseXML(t.data),u=/<body[^>]*?>([\s\S]*)<\/body>/,d;d=c.match(u),d=d[1],d=d.replace(/>\s*?</g,`><`);let f=s.parseWithInstructions(d,Pv,Iv(t)),p=Array.from(l.querySelectorAll(`link`)),m=Array.from(l.querySelectorAll(`style`)),h=p.reduce((e,t)=>{if(t.rel!==`stylesheet`)return e;let r=B.trimFilenameFromResponse(n),i=B.trimSlashes(t.getAttribute(`href`)),a=B.resolveRelativeURL(r,i);return e.concat({url:a,base:r})},[]).map(({url:e,base:t})=>new Promise(n=>{zi.getText(e).then(e=>{n({base:t,data:e.data})})})),g=await Promise.all(h),_=m.reduce((e,t)=>{let{textContent:r}=t;if(!r)return e;let i=B.trimFilenameFromResponse(n);return e.concat({base:i,data:r})},g),v=`_${r}`;return{bookContent:f,scopedCSS:e.createScopedCSS(_,v,i)}}},Rv={content:null};async function zv(e){let{bookURL:t}=this.props.readerSettings,n=Lv.opfURL(t),r=Lv.opsURL(t),i,a,o;i=await zi.getText(n),i=await Lv.parseOPF(i),i=await Lv.parseNCX(i,r),[a,o]=await Promise.all([Lv.createGuideItems(i),Lv.createSpineItems(i)]),i={...a,...o},[a,o]=await Promise.all([Lv.udpateGuideItemURLs(i,r),Lv.udpateSpineItemURLs(i,r)]),i={...a,...o},i=await Lv.createBookMetadata(i),this.setState({opsURL:r,...i},e)}function Bv(){let{spine:e,spreadIndex:t,currentSpineItemIndex:n}=this.state,{lastSpreadIndex:r}=this.props.view;if(!e)return console.warn(`showSpineItem: spine is not in state`);let i=n===0,a=n===e.length-1,o=t===0,s=t===r;this.setState({firstChapter:i,lastChapter:a,firstSpread:o,lastSpread:s},()=>{this.savePosition()})}async function Vv(e,t){let n=z.createHash(this.props.readerSettings.bookURL),r=e;if(r||([r]=this.state.spine),!r){console.warn(`loadSpineItem: called before spine was populated — skipping`);return}this.freeze();let i;try{let{cache:e,opsURL:t}=this.state,{data:a,request:o}=await zi.getText(r.absoluteURL);i=await Lv.parseSpineItemResponse({data:a,hash:n,cache:e,opsURL:t,request:o,requestedSpineItem:r,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap})}catch(e){console.error(e);let t=Xr.get()||{};delete t[n],Xr.set(t),this.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1});return}let{bookContent:a,scopedCSS:o}=i;Rv.content=a,z.appendBookStyles(o,n),this.setState({currentSpineItem:r,spineItemURL:r.absoluteURL},()=>{this.updateQueryString(()=>{this.showSpineItem()})})}var Hv=f(hr());function Uv(e){let{spreadIndex:t}=this.state,{lastSpreadIndex:n}=this.props.view,r=t+e;if(r>n||r<0){let t=Math.sign(e);this.handleChapterNavigation(t);return}let i=r===0,a=r===n,o=r>t?1:-1;t=r,this.setState({spreadIndex:t,firstSpread:i,lastSpread:a,spreadDelta:o,showSidebar:null},()=>{this.updateQueryString()})}function Wv(e){let{currentSpineItemIndex:t}=this.state,{spine:n}=this.state,r=t+e,i=r<0,a=r>n.length-1;if(i||a){this.setState({firstChapter:i,lastChapter:a});return}t=r;let o=n[r];this.setState({spreadIndex:0,currentSpineItem:o,currentSpineItemIndex:t,showSidebar:null,firstChapter:i,lastChapter:a,spreadDelta:e,chapterDelta:e},()=>{this.loadSpineItem(o),this.savePosition()})}function Gv(e){this.setState({spreadIndex:e},this.updateQueryString)}function Kv(e){let t=document.querySelector(e);if(!t)return console.warn(`Could not find element ${e}`);if(W.isVerticallyScrolling(this.props.readerSettings)){let e=document.querySelector(`.bber-controls__header`).offsetHeight+25,n=t.offsetTop-e;document.getElementById(`frame`).scrollTo(0,n)}let{paddingTop:n,paddingBottom:r,columnGap:i}=this.props.viewerSettings,a=window.innerHeight,o=Math.round(a-n-r),s=t.offsetLeft-i,c=Math.floor(s/o/2);this.setState({spreadIndex:c},this.updateQueryString)}function qv(e){let{spine:t}=this.state,n=new window.URL(e),r=`${n.origin}${n.pathname}`,i=(0,Hv.default)(t,{absoluteURL:r});if(i===this.state.currentSpineItemIndex)return this.closeSidebars();if(i<0){console.warn(`No spine item found for ${r}`);return}let a=t[i];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:a,currentSpineItemIndex:i,spreadIndex:0},()=>{this.loadSpineItem(a),this.savePosition()})}function Jv(e){let{spine:t}=this.state,n=new window.URL(e);return(0,Hv.default)(t,{absoluteURL:`${n.origin}${n.pathname}`})}function Yv(e){let{spreadIndex:t,currentSpineItem:n,currentSpineItemIndex:r}=this.state;if(!n)return;let{slug:i}=n,{searchParams:a}=this.props.readerLocation,o=new window.URLSearchParams(a);o.set(B.queryStringKey(this.props.readerSettings.searchParamKeys.slug),B.queryStringValue(i)),o.set(B.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),B.queryStringValue(r)),o.set(B.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),B.queryStringValue(t));let s={searchParams:o.toString()};this.props.readerLocationActions.updateLocation(s),e&&e()}function Xv(){let{currentSpineItemIndex:e,spreadIndex:t}=this.state,{searchParamKeys:n}=this.props.readerSettings,r=new URLSearchParams;r.set(n.currentSpineItemIndex,e),r.set(n.spreadIndex,t);let i={searchParams:r.toString()};this.props.readerLocationActions.updateLocalStorage(i)}function Zv(){if(this.state.disableMobileResizeEvents)return;let e=new kh,t=W.isVerticallyScrolling(this.props.readerSettings);e.width=window.innerWidth,e.height=t?`auto`:window.innerHeight,this.props.viewerSettingsActions.update(e.get())}function Qv(){if(this.state.disableMobileResizeEvents)return;this.freeze(),this.props.viewActions.unload();let{spreadIndex:e}=this.state,{lastSpreadIndex:t}=this.props.view,n=0;e>0&&t>0&&(n=e/t),this.setState({relativeSpreadPosition:n})}function $v(){if(this.state.disableMobileResizeEvents)return;let{relativeSpreadPosition:e}=this.state,{lastSpreadIndex:t}=this.props.view,n=Math.round(t*e);n=Math.max(0,Math.min(n,t)),this.navigateToSpreadByIndex(n)}function ey(){window.removeEventListener(`resize`,this.handleResize),window.removeEventListener(`resize`,this.handleResizeStart),window.removeEventListener(`resize`,this.handleResizeEnd),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResize),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeStart),document.removeEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeEnd)}function ty(){window.addEventListener(`resize`,this.handleResize),window.addEventListener(`resize`,this.handleResizeStart),window.addEventListener(`resize`,this.handleResizeEnd),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeStart),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeEnd)}function ny(){return(0,G.jsx)(`div`,{children:Rv.content},`book-content`)}function ry(t){let[n,r]=(0,e.useState)({__metadata:[],__spine:[],__guide:[],opsURL:``,spine:[],guide:[],metadata:[],spineItemURL:``,currentSpineItem:null,currentSpineItemIndex:0,cache:t.cache,spreadIndex:0,chapterDelta:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,showSidebar:null,disableMobileResizeEvents:`ontouchstart`in document.documentElement}),i=(0,e.useRef)(n);i.current=n;let a=(0,e.useRef)(t);a.current=t;let o=(0,e.useRef)([]);(0,e.useEffect)(()=>{o.current.length!==0&&o.current.splice(0).forEach(e=>e?.())});let s=(0,e.useCallback)((e,t)=>{t&&o.current.push(t),r(t=>{let n=typeof e==`function`?e(t):{...t,...e};return i.current=n,n})},[]),c=(0,e.useCallback)(()=>{s({showSidebar:null})},[s]),l=(0,e.useCallback)(()=>{a.current.viewActions.updateLastSpreadIndex(-1),a.current.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),s({showSidebar:null})},[s]),u=(0,e.useCallback)(e=>{s(t=>({...t,showSidebar:e===t.showSidebar?null:e}))},[s]),d=(0,e.useCallback)(e=>{let t=oo(e,i.current.spreadIndex),n=W.isVerticallyScrolling(a.current.readerSettings),r=0;return n||(r=W.getPageWidth(a.current.viewerSettings)*t*-1,r=r===0&&Math.sign(1/r)===-1?0:r),r},[]),f=(0,e.useCallback)(()=>{a.current.readerSettingsActions.updateSettings({bookURL:``})},[]),p=(0,e.useCallback)(()=>{let{spine:e,currentSpineItemIndex:t}=i.current;return(0,Wi.default)(t)&&e?.[t]?.slug?e[t].slug:``},[]),m=(0,e.useRef)(null),h=(0,e.useRef)(null);if(!m.current){let e={get state(){return i.current},get props(){return a.current},get resizeEndTimer(){return h.current},set resizeEndTimer(e){h.current=e}};e.setState=(e,t)=>s(e,t),e.closeSidebars=()=>c(),e.freeze=()=>l(),e.handleSidebarButtonClick=e=>u(e),e.getTranslateX=e=>d(e),e.destroyReaderComponent=()=>f(),e.getSlug=()=>p(),e.createStateFromOPF=zv.bind(e),e.showSpineItem=Bv.bind(e),e.loadSpineItem=Vv.bind(e),e.updateQueryString=Yv.bind(e),e.savePosition=Xv.bind(e),e.handlePageNavigation=Uv.bind(e),e.handleChapterNavigation=Wv.bind(e),e.navigateToSpreadByIndex=Gv.bind(e),e.navigateToElementById=Kv.bind(e),e.navigateToChapterByURL=qv.bind(e),e.getSpineItemByAbsoluteUrl=Jv.bind(e),e.handleResize=Zv.bind(e),e.handleResizeStart=Qv.bind(e),e.handleResizeEnd=$v.bind(e),e.bindResizeHandlers=ey.bind(e),e.unbindResizeHandlers=ty.bind(e),e.handleResizeStart=(0,Ui.default)(e.handleResizeStart,1e3,{leading:!0,trailing:!1}),e.handleResizeEnd=(0,Ui.default)(e.handleResizeEnd,1e3,{leading:!1,trailing:!0}),m.current=e}let g=(0,e.useRef)(!1);(0,e.useEffect)(()=>{g.current||(g.current=!0,a.current.userInterfaceActions.update({spinnerVisible:!0,handleEvents:!1}),m.current.createStateFromOPF(()=>{let{spine:e}=i.current,{readerSettings:t,readerLocation:n}=a.current,r=new URLSearchParams(n.searchParams),o=Number(r.get(t.searchParamKeys.currentSpineItemIndex)),c=e[o];if(c){s({currentSpineItem:c,currentSpineItemIndex:o,spreadIndex:0},()=>m.current.loadSpineItem(c));return}m.current.loadSpineItem()}))},[]),(0,e.useEffect)(()=>(m.current.unbindResizeHandlers(),()=>{m.current.bindResizeHandlers();let e=z.createHash(a.current.readerSettings.bookURL);z.removeBookStyles(e)}),[]);let _=(0,e.useRef)(t.readerLocation.searchParams);(0,e.useEffect)(()=>{let e=_.current,n=t.readerLocation.searchParams;if(_.current=n,n===e)return;let r=B.parseQueryString(n),{searchParamKeys:o}=a.current.readerSettings,c=r[o.slug],l=Number(r[o.currentSpineItemIndex]),u=Number(r[o.spreadIndex]),d=B.parseQueryString(e)[o.slug];if(d&&c&&d!==c){if(i.current.currentSpineItem?.slug!==c){let e=(0,yr.default)(i.current.spine,{slug:c});m.current.loadSpineItem(e)}return}s({slug:c,currentSpineItemIndex:l,spreadIndex:u})},[t.readerLocation.searchParams]),(0,e.useEffect)(()=>{t.view.loaded&&t.view.lastSpreadIndex>-1&&i.current.chapterDelta<0&&s({chapterDelta:0},()=>m.current.navigateToSpreadByIndex(a.current.view.lastSpreadIndex))},[t.view.loaded,t.view.lastSpreadIndex]);let v=(0,e.useMemo)(()=>({lastSpread:n.lastSpread,spreadIndex:n.spreadIndex,getTranslateX:d,navigateToChapterByURL:m.current.navigateToChapterByURL,getSpineItemByAbsoluteUrl:m.current.getSpineItemByAbsoluteUrl}),[n.lastSpread,n.spreadIndex,d]),{downloads:y,uiOptions:b,view:x,layout:S,style:C,className:w}=t,{metadata:T,guide:E,spine:D,currentSpineItemIndex:O,showSidebar:k,spreadIndex:A,spineItemURL:j}=n,M=p();return(0,G.jsx)(Ro,{guide:E,spine:D,currentSpineItemIndex:O,metadata:T,showSidebar:k,spreadIndex:A,lastSpreadIndex:x.lastSpreadIndex,handlePageNavigation:m.current.handlePageNavigation,destroyReaderComponent:f,handleChapterNavigation:m.current.handleChapterNavigation,handleSidebarButtonClick:u,navigateToChapterByURL:m.current.navigateToChapterByURL,downloads:y,uiOptions:b,layout:S,children:(0,G.jsxs)(po.Provider,{value:v,children:[(0,G.jsx)(Yo,{slug:M,spreadIndex:A,lastSpreadIndex:x.lastSpreadIndex,BookContent:ny,layout:S,view:x,style:C,className:w,spineItemURL:j}),(0,G.jsx)(Zo,{})]})})}var iy=Re(({readerSettings:e,viewerSettings:t,readerLocation:n,view:r,userInterface:i})=>({readerSettings:e,viewerSettings:t,readerLocation:n,view:r,userInterface:i}),e=>({viewerSettingsActions:Xe(ya,e),readerSettingsActions:Xe(Li,e),readerLocationActions:Xe(Ai,e),viewActions:Xe(la,e),userInterfaceActions:Xe(Yi,e)}))(ry),ay=class extends e.Component{async UNSAFE_componentWillMount(){let{manifestURL:e,disableBodyStyles:t}=this.props.readerSettings,{bookURL:n,projectURL:r}=this.props.readerSettings,i=[];if(e&&n&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),t!==!0&&(document.body.style[`-webkit-text-size-adjust`]=`none`,document.body.style[`touch-action`]=`manipulation`,document.body.style.margin=`0`,document.body.style.padding=`0`),e)try{let{data:t}=await zi.getJson(e),{href:i}=t.resources.find(e=>e.type===`application/oebps-package+xml`);n=i.split(`/`).slice(0,-2).join(`/`),this.props.readerSettingsActions.updateSettings({bookURL:n}),r||=e.slice(0,e.lastIndexOf(`/`))}catch(e){console.error(`Error loading Webpub manifest`,e)}n&&!r&&(r=n.split(`/`).slice(0,-2).join(`/`));try{i=(await zi.getBooks(r)).data}catch(e){console.warn(`Could not load books from API`,e)}let a=n.split(`/`).filter(Boolean).pop(),o=(0,yr.default)(i,{id:a}),s={};o&&(s.layout=o.layout,s.downloads=o.downloads,s.uiOptions=o.ui_options),s.layout=this.props.readerSettings.layout||s.layout||`columns`,this.props.readerSettingsActions.updateSettings({books:i,bookURL:n,projectURL:r,...s}),this.props.readerLocationActions.setInitialSearchParams()}render(){let{searchParams:e}=this.props.readerLocation,{bookURL:t}=this.props.readerSettings;if(!e||!t)return null;let{style:n,className:r,...i}=this.props.readerSettings;return(0,G.jsx)(iy,{style:n,className:r,...i})}},oy=Re(({readerSettings:e,readerLocation:t})=>({readerSettings:e,readerLocation:t}),e=>({readerSettingsActions:Xe(Li,e),readerLocationActions:Xe(Ai,e)}))(ay),sy=`3.0.7`,cy={},ly=(e,{markerId:t,...n})=>({...e,[t]:{...e[t]||{},...n}}),uy=(e=cy,t)=>{switch(t.type){case Hh:return ly(e,t.payload);default:return e}},dy={searchParams:``},fy=(e=dy,t={})=>{switch(t.type){case xr:return{...e,...t.payload};default:return e}},py={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:ji.QUERY_PARAMS,searchParams:``,style:{},className:``,cache:!0,layout:``},my=(e=py,t={})=>{switch(t.type){case Ii:return{...e,...t.payload};default:return e}},hy={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},gy=(e=hy,t={})=>{switch(t.type){case Ki:return{...e,enableTransitions:t.payload};case qi:return{...e,handleEvents:t.payload};case Ji:return{...e,spinnerVisible:t.payload};case Gi:return{...e,...t.payload};default:return e}},_y={loaded:!1,ultimateOffsetLeft:0,lastSpreadIndex:0},vy=(e=_y,t)=>{switch(t.type){case ra:case ia:return{...e,loaded:t.payload};case aa:return{...e,...t.payload};case oa:return{...e,lastSpreadIndex:t.payload};case sa:case ca:return{...e};default:return e}},yy=new kh().get(),by=Je({readerSettings:my,viewerSettings:(e=yy,t={})=>{switch(t.type){case va:case _a:case ga:return{...e,...t.payload};default:return e}},readerLocation:fy,markers:uy,view:vy,userInterface:gy});(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),c(((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 xy(){return Date.now?Date.now():new Date().getTime()}function Sy(){let e=[`webkit`,`moz`];for(let t=0;t<e.length&&!window.requestAnimationFrame;++t){let n=e[t];window.requestAnimationFrame=window[`${n}RequestAnimationFrame`],window.cancelAnimationFrame=window[`${n}CancelAnimationFrame`]||window[`${n}CancelRequestAnimationFrame`]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let e=0;window.requestAnimationFrame=t=>{let n=xy(),r=Math.max(e+16,n);return setTimeout(()=>{t(e=r)},r-n)},window.cancelAnimationFrame=clearTimeout}}Sy();var Cy=()=>(0,G.jsx)(`meta`,{name:`generator`,content:`b-ber-react-reader: ${sy}`});return(e={})=>(0,G.jsxs)(Be,{store:Ke(by,{readerSettings:so(py,e)},Ze(Qe(et))),children:[(0,G.jsx)(Cy,{}),(0,G.jsx)(oy,{})]})})})),f=o((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}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=u();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`})),h=o(((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=m()})),g=o((e=>{var t=p(),n=u(),r=h();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 d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.provider`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var ee=Symbol.for(`react.client.reference`);function N(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ee?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case _:return`Portal`;case C:return(e.displayName||`Context`)+`.Provider`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?N(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return N(e(t))}catch{}}return null}var te=Array.isArray,P=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},ne=[],re=-1;function ie(e){return{current:e}}function ae(e){0>re||(e.current=ne[re],ne[re]=null,re--)}function L(e,t){re++,ne[re]=e.current,e.current=t}var oe=ie(null),se=ie(null),ce=ie(null),le=ie(null);function ue(e,t){switch(L(ce,t),L(se,e),L(oe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Od(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Od(t),e=kd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ae(oe),L(oe,e)}function de(){ae(oe),ae(se),ae(ce)}function fe(e){e.memoizedState!==null&&L(le,e);var t=oe.current,n=kd(t,e.type);t!==n&&(L(se,e),L(oe,n))}function pe(e){se.current===e&&(ae(oe),ae(se)),le.current===e&&(ae(le),If._currentValue=I)}var me=Object.prototype.hasOwnProperty,R=t.unstable_scheduleCallback,he=t.unstable_cancelCallback,ge=t.unstable_shouldYield,_e=t.unstable_requestPaint,ve=t.unstable_now,ye=t.unstable_getCurrentPriorityLevel,be=t.unstable_ImmediatePriority,xe=t.unstable_UserBlockingPriority,Se=t.unstable_NormalPriority,Ce=t.unstable_LowPriority,we=t.unstable_IdlePriority,Te=t.log,Ee=t.unstable_setDisableYieldValue,De=null,Oe=null;function ke(e){if(typeof Te==`function`&&Ee(e),Oe&&typeof Oe.setStrictMode==`function`)try{Oe.setStrictMode(De,e)}catch{}}var Ae=Math.clz32?Math.clz32:Ne,je=Math.log,Me=Math.LN2;function Ne(e){return e>>>=0,e===0?32:31-(je(e)/Me|0)|0}var Pe=256,Fe=4194304;function Ie(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 Le(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=Ie(n))):i=Ie(o):i=Ie(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ie(n))):i=Ie(o)):i=Ie(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 Re(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ze(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 Be(){var e=Pe;return Pe<<=1,!(Pe&4194048)&&(Pe=256),e}function Ve(){var e=Fe;return Fe<<=1,!(Fe&62914560)&&(Fe=4194304),e}function He(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ue(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function We(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-Ae(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&&Ge(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ge(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ae(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&4194090}function Ke(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ae(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function qe(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 Je(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Ye(){var e=F.p;return e===0?(e=window.event,e===void 0?32:Zf(e.type)):e}function Xe(e,t){var n=F.p;try{return F.p=e,t()}finally{F.p=n}}var Ze=Math.random().toString(36).slice(2),Qe=`__reactFiber$`+Ze,$e=`__reactProps$`+Ze,et=`__reactContainer$`+Ze,tt=`__reactEvents$`+Ze,nt=`__reactListeners$`+Ze,rt=`__reactHandles$`+Ze,it=`__reactResources$`+Ze,at=`__reactMarker$`+Ze;function ot(e){delete e[Qe],delete e[$e],delete e[tt],delete e[nt],delete e[rt]}function st(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=qd(e);e!==null;){if(n=e[Qe])return n;e=qd(e)}return t}e=n,n=e.parentNode}return null}function ct(e){if(e=e[Qe]||e[et]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function lt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function ut(e){var t=e[it];return t||=e[it]={hoistableStyles:new Map,hoistableScripts:new Map},t}function dt(e){e[at]=!0}var ft=new Set,pt={};function mt(e,t){ht(e,t),ht(e+`Capture`,t)}function ht(e,t){for(pt[e]=t,e=0;e<t.length;e++)ft.add(t[e])}var gt=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]*$`),_t={},vt={};function yt(e){return me.call(vt,e)?!0:me.call(_t,e)?!1:gt.test(e)?vt[e]=!0:(_t[e]=!0,!1)}function bt(e,t,n){if(yt(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 xt(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 St(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 Ct,wt;function Tt(e){if(Ct===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ct=t&&t[1]||``,wt=-1<e.stack.indexOf(`
85
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
86
+ `+Ct+e+wt}var Et=!1;function Dt(e,t){if(!e||Et)return``;Et=!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(`
87
+ `),l=s.split(`
88
+ `);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=`
89
+ `+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{Et=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Tt(n):``}function Ot(e){switch(e.tag){case 26:case 27:case 5:return Tt(e.type);case 16:return Tt(`Lazy`);case 13:return Tt(`Suspense`);case 19:return Tt(`SuspenseList`);case 0:case 15:return Dt(e.type,!1);case 11:return Dt(e.type.render,!1);case 1:return Dt(e.type,!0);case 31:return Tt(`Activity`);default:return``}}function kt(e){try{var t=``;do t+=Ot(e),e=e.return;while(e);return t}catch(e){return`
90
+ Error generating stack: `+e.message+`
91
+ `+e.stack}}function At(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function jt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Mt(e){var t=jt(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 Nt(e){e._valueTracker||=Mt(e)}function Pt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=jt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ft(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 It=/[\n"\\]/g;function Lt(e){return e.replace(It,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Rt(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=``+At(t)):e.value!==``+At(t)&&(e.value=``+At(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Bt(e,o,At(n)):Bt(e,o,At(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=``+At(s):e.removeAttribute(`name`)}function zt(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?``:``+At(n),t=t==null?n:``+At(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 Bt(e,t,n){t===`number`&&Ft(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Vt(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=``+At(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 Ht(e,t,n){if(t!=null&&(t=``+At(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+At(n)}function Ut(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=At(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r)}function Wt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gt=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 Kt(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||Gt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function qt(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&&Kt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Kt(e,o,t[o])}function Jt(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 Yt=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`]]),Xt=/^[\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 Zt(e){return Xt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var Qt=null;function $t(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var en=null,tn=null;function nn(e){var t=ct(e);if(t&&(e=t.stateNode)){var n=e[$e]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Rt(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="`+Lt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[$e]||null;if(!a)throw Error(i(90));Rt(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&&Pt(r)}break a;case`textarea`:Ht(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Vt(e,!!n.multiple,t,!1)}}}var rn=!1;function an(e,t,n){if(rn)return e(t,n);rn=!0;try{return e(t)}finally{if(rn=!1,(en!==null||tn!==null)&&(lu(),en&&(t=en,e=tn,tn=en=null,nn(t),e)))for(t=0;t<e.length;t++)nn(e[t])}}function on(e,t){var n=e.stateNode;if(n===null)return null;var r=n[$e]||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 sn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),cn=!1;if(sn)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){cn=!0}}),window.addEventListener(`test`,ln,ln),window.removeEventListener(`test`,ln,ln)}catch{cn=!1}var un=null,dn=null,fn=null;function pn(){if(fn)return fn;var e,t=dn,n=t.length,r,i=`value`in un?un.value:un.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 fn=i.slice(e,1<r?1-r:void 0)}function mn(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 hn(){return!0}function gn(){return!1}function _n(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)?hn:gn,this.isPropagationStopped=gn,this}return f(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=hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=hn)},persist:function(){},isPersistent:hn}),t}var vn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yn=_n(vn),bn=f({},vn,{view:0,detail:0}),xn=_n(bn),Sn,Cn,wn,Tn=f({},bn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,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!==wn&&(wn&&e.type===`mousemove`?(Sn=e.screenX-wn.screenX,Cn=e.screenY-wn.screenY):Cn=Sn=0,wn=e),Sn)},movementY:function(e){return`movementY`in e?e.movementY:Cn}}),En=_n(Tn),Dn=_n(f({},Tn,{dataTransfer:0})),On=_n(f({},bn,{relatedTarget:0})),kn=_n(f({},vn,{animationName:0,elapsedTime:0,pseudoElement:0})),An=_n(f({},vn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),jn=_n(f({},vn,{data:0})),Mn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Nn={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`},Pn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Fn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Pn[e])?!!t[e]:!1}function In(){return Fn}var Ln=_n(f({},bn,{key:function(e){if(e.key){var t=Mn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=mn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Nn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return e.type===`keypress`?mn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?mn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Rn=_n(f({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zn=_n(f({},bn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),Bn=_n(f({},vn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vn=_n(f({},Tn,{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})),Hn=_n(f({},vn,{newState:0,oldState:0})),Un=[9,13,27,32],Wn=sn&&`CompositionEvent`in window,Gn=null;sn&&`documentMode`in document&&(Gn=document.documentMode);var Kn=sn&&`TextEvent`in window&&!Gn,qn=sn&&(!Wn||Gn&&8<Gn&&11>=Gn),Jn=` `,Yn=!1;function Xn(e,t){switch(e){case`keyup`:return Un.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Zn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Qn=!1;function $n(e,t){switch(e){case`compositionend`:return Zn(t);case`keypress`:return t.which===32?(Yn=!0,Jn):null;case`textInput`:return e=t.data,e===Jn&&Yn?null:e;default:return null}}function er(e,t){if(Qn)return e===`compositionend`||!Wn&&Xn(e,t)?(e=pn(),fn=dn=un=null,Qn=!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 qn&&t.locale!==`ko`?null:t.data;default:return null}}var tr={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 nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!tr[e.type]:t===`textarea`}function rr(e,t,n,r){en?tn?tn.push(r):tn=[r]:en=r,t=md(t,`onChange`),0<t.length&&(n=new yn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function or(e){sd(e,0)}function sr(e){if(Pt(lt(e)))return e}function cr(e,t){if(e===`change`)return t}var lr=!1;if(sn){var ur;if(sn){var dr=`oninput`in document;if(!dr){var fr=document.createElement(`div`);fr.setAttribute(`oninput`,`return;`),dr=typeof fr.oninput==`function`}ur=dr}else ur=!1;lr=ur&&(!document.documentMode||9<document.documentMode)}function pr(){ir&&(ir.detachEvent(`onpropertychange`,mr),ar=ir=null)}function mr(e){if(e.propertyName===`value`&&sr(ar)){var t=[];rr(t,ar,e,$t(e)),an(or,t)}}function hr(e,t,n){e===`focusin`?(pr(),ir=t,ar=n,ir.attachEvent(`onpropertychange`,mr)):e===`focusout`&&pr()}function gr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return sr(ar)}function _r(e,t){if(e===`click`)return sr(t)}function vr(e,t){if(e===`input`||e===`change`)return sr(t)}function yr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var br=typeof Object.is==`function`?Object.is:yr;function xr(e,t){if(br(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(!me.call(t,i)||!br(e[i],t[i]))return!1}return!0}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n=Sr(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=Sr(n)}}function wr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ft(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=Ft(e.document)}return t}function Er(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 Dr=sn&&`documentMode`in document&&11>=document.documentMode,Or=null,kr=null,Ar=null,jr=!1;function Mr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jr||Or==null||Or!==Ft(r)||(r=Or,`selectionStart`in r&&Er(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}),Ar&&xr(Ar,r)||(Ar=r,r=md(kr,`onSelect`),0<r.length&&(t=new yn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Pr={animationend:Nr(`Animation`,`AnimationEnd`),animationiteration:Nr(`Animation`,`AnimationIteration`),animationstart:Nr(`Animation`,`AnimationStart`),transitionrun:Nr(`Transition`,`TransitionRun`),transitionstart:Nr(`Transition`,`TransitionStart`),transitioncancel:Nr(`Transition`,`TransitionCancel`),transitionend:Nr(`Transition`,`TransitionEnd`)},Fr={},Ir={};sn&&(Ir=document.createElement(`div`).style,`AnimationEvent`in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),`TransitionEvent`in window||delete Pr.transitionend.transition);function Lr(e){if(Fr[e])return Fr[e];if(!Pr[e])return e;var t=Pr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ir)return Fr[e]=t[n];return e}var Rr=Lr(`animationend`),zr=Lr(`animationiteration`),Br=Lr(`animationstart`),Vr=Lr(`transitionrun`),Hr=Lr(`transitionstart`),Ur=Lr(`transitioncancel`),Wr=Lr(`transitionend`),Gr=new Map,Kr=`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(` `);Kr.push(`scrollEnd`);function qr(e,t){Gr.set(e,t),mt(t,[e])}var Jr=new WeakMap;function Yr(e,t){if(typeof e==`object`&&e){var n=Jr.get(e);return n===void 0?(t={value:e,source:t,stack:kt(t)},Jr.set(e,t),t):n}return{value:e,source:t,stack:kt(t)}}var z=[],Xr=0,Zr=0;function Qr(){for(var e=Xr,t=Zr=Xr=0;t<e;){var n=z[t];z[t++]=null;var r=z[t];z[t++]=null;var i=z[t];z[t++]=null;var a=z[t];if(z[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&&ni(n,i,a)}}function $r(e,t,n,r){z[Xr++]=e,z[Xr++]=t,z[Xr++]=n,z[Xr++]=r,Zr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ei(e,t,n,r){return $r(e,t,n,r),ri(e)}function ti(e,t){return $r(e,null,null,t),ri(e)}function ni(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-Ae(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ri(e){if(50<eu)throw eu=0,tu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ii={};function ai(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 B(e,t,n,r){return new ai(e,t,n,r)}function oi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function si(e,t){var n=e.alternate;return n===null?(n=B(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 ci(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 li(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)oi(e)&&(s=1);else if(typeof e==`string`)s=Ef(e,n,oe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=B(31,n,t,a),e.elementType=k,e.lanes=o,e;case v:return ui(n.children,a,o,t);case y:s=8,a|=24;break;case b:return e=B(12,n,t,a|2),e.elementType=b,e.lanes=o,e;case T:return e=B(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=B(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case x:case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=B(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ui(e,t,n,r){return e=B(7,e,r,t),e.lanes=n,e}function di(e,t,n){return e=B(6,e,null,t),e.lanes=n,e}function fi(e,t,n){return t=B(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var pi=[],mi=0,hi=null,gi=0,_i=[],vi=0,yi=null,bi=1,xi=``;function Si(e,t){pi[mi++]=gi,pi[mi++]=hi,hi=e,gi=t}function Ci(e,t,n){_i[vi++]=bi,_i[vi++]=xi,_i[vi++]=yi,yi=e;var r=bi;e=xi;var i=32-Ae(r)-1;r&=~(1<<i),n+=1;var a=32-Ae(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,bi=1<<32-Ae(t)+i|n<<i|r,xi=a+e}else bi=1<<a|n<<i|r,xi=e}function wi(e){e.return!==null&&(Si(e,1),Ci(e,1,0))}function Ti(e){for(;e===hi;)hi=pi[--mi],pi[mi]=null,gi=pi[--mi],pi[mi]=null;for(;e===yi;)yi=_i[--vi],_i[vi]=null,xi=_i[--vi],_i[vi]=null,bi=_i[--vi],_i[vi]=null}var Ei=null,Di=null,V=!1,Oi=null,ki=!1,Ai=Error(i(519));function ji(e){throw Li(Yr(Error(i(418,``)),e)),Ai}function Mi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Qe]=e,t[$e]=r,n){case`dialog`:Z(`cancel`,t),Z(`close`,t);break;case`iframe`:case`object`:case`embed`:Z(`load`,t);break;case`video`:case`audio`:for(n=0;n<ad.length;n++)Z(ad[n],t);break;case`source`:Z(`error`,t);break;case`img`:case`image`:case`link`:Z(`error`,t),Z(`load`,t);break;case`details`:Z(`toggle`,t);break;case`input`:Z(`invalid`,t),zt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),Nt(t);break;case`select`:Z(`invalid`,t);break;case`textarea`:Z(`invalid`,t),Ut(t,r.value,r.defaultValue,r.children),Nt(t)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||bd(t.textContent,n)?(r.popover!=null&&(Z(`beforetoggle`,t),Z(`toggle`,t)),r.onScroll!=null&&Z(`scroll`,t),r.onScrollEnd!=null&&Z(`scrollend`,t),r.onClick!=null&&(t.onclick=xd),t=!0):t=!1,t||ji(e)}function Ni(e){for(Ei=e.return;Ei;)switch(Ei.tag){case 5:case 13:ki=!1;return;case 27:case 3:ki=!0;return;default:Ei=Ei.return}}function Pi(e){if(e!==Ei)return!1;if(!V)return Ni(e),V=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Ad(e.type,e.memoizedProps)),n=!n),n&&Di&&ji(e),Ni(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){Di=Gd(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++;e=e.nextSibling}Di=null}}else t===27?(t=Di,Rd(e.type)?(e=Kd,Kd=null,Di=e):Di=t):Di=Ei?Gd(e.stateNode.nextSibling):null;return!0}function Fi(){Di=Ei=null,V=!1}function Ii(){var e=Oi;return e!==null&&(Vl===null?Vl=e:Vl.push.apply(Vl,e),Oi=null),e}function Li(e){Oi===null?Oi=[e]:Oi.push(e)}var Ri=ie(null),zi=null,Bi=null;function Vi(e,t,n){L(Ri,t._currentValue),t._currentValue=n}function Hi(e){e._currentValue=Ri.current,ae(Ri)}function Ui(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 Wi(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),Ui(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),Ui(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 Gi(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;br(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===le.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[If]:e.push(If))}a=a.return}e!==null&&Wi(t,e,n,r),t.flags|=262144}function Ki(e){for(e=e.firstContext;e!==null;){if(!br(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qi(e){zi=e,Bi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ji(e){return Xi(zi,e)}function Yi(e,t){return zi===null&&qi(e),Xi(e,t)}function Xi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Bi===null){if(e===null)throw Error(i(308));Bi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bi=Bi.next=t;return n}var Zi=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()})}},Qi=t.unstable_scheduleCallback,$i=t.unstable_NormalPriority,ea={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ta(){return{controller:new Zi,data:new Map,refCount:0}}function na(e){e.refCount--,e.refCount===0&&Qi($i,function(){e.controller.abort()})}var ra=null,ia=0,aa=0,oa=null;function sa(e,t){if(ra===null){var n=ra=[];ia=0,aa=$u(),oa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ia++,t.then(ca,ca),t}function ca(){if(--ia===0&&ra!==null){oa!==null&&(oa.status=`fulfilled`);var e=ra;ra=null,aa=0,oa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function la(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 ua=P.S;P.S=function(e,t){typeof t==`object`&&t&&typeof t.then==`function`&&sa(e,t),ua!==null&&ua(e,t)};var da=ie(null);function fa(){var e=da.current;return e===null?Ol.pooledCache:e}function pa(e,t){t===null?L(da,da.current):L(da,t.pool)}function ma(){var e=fa();return e===null?null:{parent:ea._currentValue,pool:e}}var ha=Error(i(460)),ga=Error(i(474)),_a=Error(i(542)),va={then:function(){}};function ya(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ba(){}function xa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(ba,ba),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,wa(e),e;default:if(typeof t.status==`string`)t.then(ba,ba);else{if(e=Ol,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,wa(e),e}throw Sa=t,ha}}var Sa=null;function Ca(){if(Sa===null)throw Error(i(459));var e=Sa;return Sa=null,e}function wa(e){if(e===ha||e===_a)throw Error(i(483))}var Ta=!1;function Ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Da(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 Oa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ka(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ri(e),ni(e,null,n),t}return $r(e,r,t,n),ri(e)}function Aa(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,Ke(e,n)}}function ja(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 Ma=!1;function Na(){if(Ma){var e=oa;if(e!==null)throw e}}function Pa(e,t,n,r){Ma=!1;var i=e.updateQueue;Ta=!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 d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(J&p)===p:(r&p)===p){p!==0&&p===aa&&(Ma=!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`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ta=!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=d):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=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Fl|=o,e.lanes=o,e.memoizedState=d}}function Fa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ia(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Fa(n[e],t)}var La=ie(null),Ra=ie(0);function za(e,t){e=Nl,L(Ra,e),L(La,t),Nl=e|t.baseLanes}function Ba(){L(Ra,Nl),L(La,La.current)}function Va(){Nl=Ra.current,ae(La),ae(Ra)}var Ha=0,H=null,U=null,Ua=null,Wa=!1,Ga=!1,Ka=!1,qa=0,Ja=0,Ya=null,Xa=0;function Za(){throw Error(i(321))}function Qa(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!br(e[n],t[n]))return!1;return!0}function $a(e,t,n,r,i,a){return Ha=a,H=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=e===null||e.memoizedState===null?ms:hs,Ka=!1,a=n(r,i),Ka=!1,Ga&&(a=to(t,n,r,i)),eo(e),a}function eo(e){P.H=ps;var t=U!==null&&U.next!==null;if(Ha=0,Ua=U=H=null,Wa=!1,Ja=0,Ya=null,t)throw Error(i(300));e===null||Xs||(e=e.dependencies,e!==null&&Ki(e)&&(Xs=!0))}function to(e,t,n,r){H=e;var a=0;do{if(Ga&&(Ya=null),Ja=0,Ga=!1,25<=a)throw Error(i(301));if(a+=1,Ua=U=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}P.H=gs,o=t(n,r)}while(Ga);return o}function no(){var e=P.H,t=e.useState()[0];return t=typeof t.then==`function`?lo(t):t,e=e.useState()[0],(U===null?null:U.memoizedState)!==e&&(H.flags|=1024),t}function ro(){var e=qa!==0;return qa=0,e}function io(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ao(e){if(Wa){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wa=!1}Ha=0,Ua=U=H=null,Ga=!1,Ja=qa=0,Ya=null}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ua===null?H.memoizedState=Ua=e:Ua=Ua.next=e,Ua}function so(){if(U===null){var e=H.alternate;e=e===null?null:e.memoizedState}else e=U.next;var t=Ua===null?H.memoizedState:Ua.next;if(t!==null)Ua=t,U=e;else{if(e===null)throw H.alternate===null?Error(i(467)):Error(i(310));U=e,e={memoizedState:U.memoizedState,baseState:U.baseState,baseQueue:U.baseQueue,queue:U.queue,next:null},Ua===null?H.memoizedState=Ua=e:Ua=Ua.next=e}return Ua}function co(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lo(e){var t=Ja;return Ja+=1,Ya===null&&(Ya=[]),e=xa(Ya,e,t),t=H,(Ua===null?t.memoizedState:Ua.next)===null&&(t=t.alternate,P.H=t===null||t.memoizedState===null?ms:hs),e}function uo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return lo(e);if(e.$$typeof===C)return Ji(e)}throw Error(i(438,String(e)))}function W(e){var t=null,n=H.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=H.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=co(),H.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]=A;return t.index++,n}function fo(e,t){return typeof t==`function`?t(e):t}function po(e){return mo(so(),U,e)}function mo(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?(Ha&f)===f:(J&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===aa&&(d=!0);else if((Ha&p)===p){u=u.next,p===aa&&(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,H.lanes|=p,Fl|=p;f=u.action,Ka&&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,H.lanes|=f,Fl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!br(o,e.memoizedState)&&(Xs=!0,d&&(n=oa,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 G(e){var t=so(),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);br(o,t.memoizedState)||(Xs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ho(e,t,n){var r=H,a=so(),o=V;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!br((U||a).memoizedState,n);if(s&&(a.memoizedState=n,Xs=!0),a=a.queue,zo(2048,8,vo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||Ua!==null&&Ua.memoizedState.tag&1){if(r.flags|=2048,Fo(9,Io(),_o.bind(null,r,a,n,t),null),Ol===null)throw Error(i(349));o||Ha&124||go(r,t,n)}return n}function go(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=H.updateQueue,t===null?(t=co(),H.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function _o(e,t,n,r){t.value=n,t.getSnapshot=r,yo(t)&&bo(e)}function vo(e,t,n){return n(function(){yo(t)&&bo(e)})}function yo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!br(e,n)}catch{return!0}}function bo(e){var t=ti(e,2);t!==null&&iu(t,e,2)}function xo(e){var t=oo();if(typeof e==`function`){var n=e;if(e=n(),Ka){ke(!0);try{n()}finally{ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fo,lastRenderedState:e},t}function So(e,t,n,r){return e.baseState=n,mo(e,U,typeof r==`function`?r:fo)}function Co(e,t,n,r,a){if(us(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)}};P.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,wo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function wo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=P.T,o={};P.T=o;try{var s=n(i,r),c=P.S;c!==null&&c(o,s),To(e,t,s)}catch(n){Do(e,t,n)}finally{P.T=a}}else try{a=n(i,r),To(e,t,a)}catch(n){Do(e,t,n)}}function To(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Eo(e,t,n)},function(n){return Do(e,t,n)}):Eo(e,t,n)}function Eo(e,t,n){t.status=`fulfilled`,t.value=n,Oo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,wo(e,n)))}function Do(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Oo(t),t=t.next;while(t!==r)}e.action=null}function Oo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ko(e,t){return t}function Ao(e,t){if(V){var n=Ol.formState;if(n!==null){a:{var r=H;if(V){if(Di){b:{for(var i=Di,a=ki;i.nodeType!==8;){if(!a){i=null;break b}if(i=Gd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Di=Gd(i.nextSibling),r=i.data===`F!`;break a}}ji(r)}r=!1}r&&(t=n[0])}}return n=oo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:t},n.queue=r,n=ss.bind(null,H,r),r.dispatch=n,r=xo(!1),a=ls.bind(null,H,!1,r.queue),r=oo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Co.bind(null,H,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function jo(e){return Mo(so(),U,e)}function Mo(e,t,n){if(t=mo(e,t,ko)[0],e=po(fo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=lo(t)}catch(e){throw e===ha?_a:e}else r=t;t=so();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(H.flags|=2048,Fo(9,Io(),No.bind(null,i,n),null)),[r,a,e]}function No(e,t){e.action=t}function Po(e){var t=so(),n=U;if(n!==null)return Mo(t,n,e);so(),t=t.memoizedState,n=so();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Fo(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=H.updateQueue,t===null&&(t=co(),H.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 Io(){return{destroy:void 0,resource:void 0}}function Lo(){return so().memoizedState}function Ro(e,t,n,r){var i=oo();r=r===void 0?null:r,H.flags|=e,i.memoizedState=Fo(1|t,Io(),n,r)}function zo(e,t,n,r){var i=so();r=r===void 0?null:r;var a=i.memoizedState.inst;U!==null&&r!==null&&Qa(r,U.memoizedState.deps)?i.memoizedState=Fo(t,a,n,r):(H.flags|=e,i.memoizedState=Fo(1|t,a,n,r))}function Bo(e,t){Ro(8390656,8,e,t)}function Vo(e,t){zo(2048,8,e,t)}function Ho(e,t){return zo(4,2,e,t)}function Uo(e,t){return zo(4,4,e,t)}function Wo(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 Go(e,t,n){n=n==null?null:n.concat([e]),zo(4,4,Wo.bind(null,t,e),n)}function Ko(){}function qo(e,t){var n=so();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Qa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jo(e,t){var n=so();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Qa(t,r[1]))return r[0];if(r=e(),Ka){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r}function Yo(e,t,n){return n===void 0||Ha&1073741824?e.memoizedState=t:(e.memoizedState=n,e=ru(),H.lanes|=e,Fl|=e,n)}function Xo(e,t,n,r){return br(n,t)?n:La.current===null?Ha&42?(e=ru(),H.lanes|=e,Fl|=e,t):(Xs=!0,e.memoizedState=n):(e=Yo(e,n,r),br(e,t)||(Xs=!0),e)}function Zo(e,t,n,r,i){var a=F.p;F.p=a!==0&&8>a?a:8;var o=P.T,s={};P.T=s,ls(e,!1,t,n);try{var c=i(),l=P.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?cs(e,t,la(c,r),nu(e)):cs(e,t,r,nu(e))}catch(n){cs(e,t,{then:function(){},status:`rejected`,reason:n},nu())}finally{F.p=a,P.T=o}}function Qo(){}function $o(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=es(e).queue;Zo(e,a,t,I,n===null?Qo:function(){return ts(e),n(r)})}function es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fo,lastRenderedState:I},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ts(e){var t=es(e).next.queue;cs(e,t,{},nu())}function ns(){return Ji(If)}function rs(){return so().memoizedState}function is(){return so().memoizedState}function as(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=nu();e=Oa(n);var r=ka(t,e,n);r!==null&&(iu(r,t,n),Aa(r,t,n)),t={cache:ta()},e.payload=t;return}t=t.return}}function os(e,t,n){var r=nu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},us(e)?ds(t,n):(n=ei(e,t,n,r),n!==null&&(iu(n,e,r),fs(n,t,r)))}function ss(e,t,n){cs(e,t,n,nu())}function cs(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(us(e))ds(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,br(s,o))return $r(e,t,i,0),Ol===null&&Qr(),!1}catch{}if(n=ei(e,t,i,r),n!==null)return iu(n,e,r),fs(n,t,r),!0}return!1}function ls(e,t,n,r){if(r={lane:2,revertLane:$u(),action:r,hasEagerState:!1,eagerState:null,next:null},us(e)){if(t)throw Error(i(479))}else t=ei(e,n,r,2),t!==null&&iu(t,e,2)}function us(e){var t=e.alternate;return e===H||t!==null&&t===H}function ds(e,t){Ga=Wa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ke(e,n)}}var ps={readContext:Ji,use:uo,useCallback:Za,useContext:Za,useEffect:Za,useImperativeHandle:Za,useLayoutEffect:Za,useInsertionEffect:Za,useMemo:Za,useReducer:Za,useRef:Za,useState:Za,useDebugValue:Za,useDeferredValue:Za,useTransition:Za,useSyncExternalStore:Za,useId:Za,useHostTransitionStatus:Za,useFormState:Za,useActionState:Za,useOptimistic:Za,useMemoCache:Za,useCacheRefresh:Za},ms={readContext:Ji,use:uo,useCallback:function(e,t){return oo().memoizedState=[e,t===void 0?null:t],e},useContext:Ji,useEffect:Bo,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Ro(4194308,4,Wo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ro(4194308,4,e,t)},useInsertionEffect:function(e,t){Ro(4,2,e,t)},useMemo:function(e,t){var n=oo();t=t===void 0?null:t;var r=e();if(Ka){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=oo();if(n!==void 0){var i=n(t);if(Ka){ke(!0);try{n(t)}finally{ke(!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=os.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=oo();return e={current:e},t.memoizedState=e},useState:function(e){e=xo(e);var t=e.queue,n=ss.bind(null,H,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ko,useDeferredValue:function(e,t){return Yo(oo(),e,t)},useTransition:function(){var e=xo(!1);return e=Zo.bind(null,H,e.queue,!0,!1),oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=H,a=oo();if(V){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Ol===null)throw Error(i(349));J&124||go(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Bo(vo.bind(null,r,o,e),[e]),r.flags|=2048,Fo(9,Io(),_o.bind(null,r,o,n,t),null),n},useId:function(){var e=oo(),t=Ol.identifierPrefix;if(V){var n=xi,r=bi;n=(r&~(1<<32-Ae(r)-1)).toString(32)+n,t=`«`+t+`R`+n,n=qa++,0<n&&(t+=`H`+n.toString(32)),t+=`»`}else n=Xa++,t=`«`+t+`r`+n.toString(32)+`»`;return e.memoizedState=t},useHostTransitionStatus:ns,useFormState:Ao,useActionState:Ao,useOptimistic:function(e){var t=oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ls.bind(null,H,!0,n),n.dispatch=t,[e,t]},useMemoCache:W,useCacheRefresh:function(){return oo().memoizedState=as.bind(null,H)}},hs={readContext:Ji,use:uo,useCallback:qo,useContext:Ji,useEffect:Vo,useImperativeHandle:Go,useInsertionEffect:Ho,useLayoutEffect:Uo,useMemo:Jo,useReducer:po,useRef:Lo,useState:function(){return po(fo)},useDebugValue:Ko,useDeferredValue:function(e,t){return Xo(so(),U.memoizedState,e,t)},useTransition:function(){var e=po(fo)[0],t=so().memoizedState;return[typeof e==`boolean`?e:lo(e),t]},useSyncExternalStore:ho,useId:rs,useHostTransitionStatus:ns,useFormState:jo,useActionState:jo,useOptimistic:function(e,t){return So(so(),U,e,t)},useMemoCache:W,useCacheRefresh:is},gs={readContext:Ji,use:uo,useCallback:qo,useContext:Ji,useEffect:Vo,useImperativeHandle:Go,useInsertionEffect:Ho,useLayoutEffect:Uo,useMemo:Jo,useReducer:G,useRef:Lo,useState:function(){return G(fo)},useDebugValue:Ko,useDeferredValue:function(e,t){var n=so();return U===null?Yo(n,e,t):Xo(n,U.memoizedState,e,t)},useTransition:function(){var e=G(fo)[0],t=so().memoizedState;return[typeof e==`boolean`?e:lo(e),t]},useSyncExternalStore:ho,useId:rs,useHostTransitionStatus:ns,useFormState:Po,useActionState:Po,useOptimistic:function(e,t){var n=so();return U===null?(n.baseState=e,[e,n.queue.dispatch]):So(n,U,e,t)},useMemoCache:W,useCacheRefresh:is},_s=null,vs=0;function ys(e){var t=vs;return vs+=1,_s===null&&(_s=[]),xa(_s,e,t)}function bs(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function xs(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ss(e){var t=e._init;return t(e._payload)}function Cs(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=si(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=di(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===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&Ss(i)===t.type)?(t=a(t,n.props),bs(t,n),t.return=e,t):(t=li(n.type,n.key,n.props,null,e.mode,r),bs(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=fi(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=ui(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=di(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=li(t.type,t.key,t.props,null,e.mode,n),bs(n,t),n.return=e,n;case _:return t=fi(t,e.mode,n),t.return=e,t;case O:var r=t._init;return t=r(t._payload),f(e,t,n)}if(te(t)||M(t))return t=ui(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ys(t),n);if(t.$$typeof===C)return f(e,Yi(e,t),n);xs(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 g:return n.key===i?l(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case O:return i=n._init,n=i(n._payload),p(e,t,n,r)}if(te(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ys(n),r);if(n.$$typeof===C)return p(e,t,Yi(e,n),r);xs(e,n)}return null}function m(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 g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case _:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:var a=r._init;return r=a(r._payload),m(e,t,n,r,i)}if(te(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,ys(r),i);if(r.$$typeof===C)return m(e,t,n,Yi(t,r),i);xs(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),V&&Si(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return V&&Si(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),V&&Si(i,h),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),V&&Si(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return V&&Si(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),V&&Si(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===v&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===v){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===O&&Ss(l)===r.type){n(e,r.sibling),c=a(r,o.props),bs(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=ui(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=li(o.type,o.key,o.props,null,e.mode,c),bs(c,o),c.return=e,e=c)}return s(e);case _: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=fi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return l=o._init,o=l(o._payload),b(e,r,o,c)}if(te(o))return h(e,r,o,c);if(M(o)){if(l=M(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,ys(o),c);if(o.$$typeof===C)return b(e,r,Yi(e,o),c);xs(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=di(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{vs=0;var i=b(e,t,n,r);return _s=null,i}catch(t){if(t===ha||t===_a)throw t;var a=B(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ws=Cs(!0),Ts=Cs(!1),Es=ie(null),Ds=null;function Os(e){var t=e.alternate;L(Ms,Ms.current&1),L(Es,e),Ds===null&&(t===null||La.current!==null||t.memoizedState!==null)&&(Ds=e)}function ks(e){if(e.tag===22){if(L(Ms,Ms.current),L(Es,e),Ds===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ds=e)}}else As(e)}function As(){L(Ms,Ms.current),L(Es,Es.current)}function js(e){ae(Es),Ds===e&&(Ds=null),ae(Ms)}var Ms=ie(0);function Ns(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===`$?`||Ud(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 Ps(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Fs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nu(),i=Oa(r);i.payload=t,n!=null&&(i.callback=n),t=ka(e,i,r),t!==null&&(iu(t,e,r),Aa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nu(),i=Oa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ka(e,i,r),t!==null&&(iu(t,e,r),Aa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nu(),r=Oa(n);r.tag=2,t!=null&&(r.callback=t),t=ka(e,r,n),t!==null&&(iu(t,e,n),Aa(t,e,n))}};function Is(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?!xr(n,r)||!xr(i,a):!0}function Ls(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&&Fs.enqueueReplaceState(t,t.state,null)}function Rs(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=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}var zs=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 Bs(e){zs(e)}function Vs(e){console.error(e)}function Hs(e){zs(e)}function Us(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ws(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 Gs(e,t,n){return n=Oa(n),n.tag=3,n.payload={element:null},n.callback=function(){Us(e,t)},n}function Ks(e){return e=Oa(e),e.tag=3,e}function qs(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(){Ws(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ws(t,n,r),typeof i!=`function`&&(Kl===null?Kl=new Set([this]):Kl.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Js(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Gi(t,n,a,!0),n=Es.current,n!==null){switch(n.tag){case 13:return Ds===null?hu():n.alternate===null&&Pl===0&&(Pl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===va?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Nu(e,r,a)),!1;case 22:return n.flags|=65536,r===va?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)),Nu(e,r,a)),!1}throw Error(i(435,n.tag))}return Nu(e,r,a),hu(),!1}if(V)return t=Es.current,t===null?(r!==Ai&&(t=Error(i(423),{cause:r}),Li(Yr(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Yr(r,n),a=Gs(e.stateNode,r,a),ja(e,a),Pl!==4&&(Pl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ai&&(e=Error(i(422),{cause:r}),Li(Yr(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Yr(o,n),Bl===null?Bl=[o]:Bl.push(o),Pl!==4&&(Pl=2),t===null)return!0;r=Yr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Gs(n.stateNode,r,e),ja(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`&&(Kl===null||!Kl.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Ks(a),qs(a,e,n,r),ja(n,a),!1}n=n.return}while(n!==null);return!1}var Ys=Error(i(461)),Xs=!1;function Zs(e,t,n,r){t.child=e===null?Ts(t,null,n,r):ws(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 qi(t),r=$a(e,t,n,o,a,i),s=ro(),e!==null&&!Xs?(io(e,t,i),vc(e,t,i)):(V&&s&&wi(t),t.flags|=1,Zs(e,t,r,i),t.child)}function $s(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!oi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,ec(e,t,a,r,i)):(e=li(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!yc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?xr:n,n(o,r)&&e.ref===t.ref)return vc(e,t,i)}return t.flags|=1,e=si(a,r),e.ref=t.ref,e.return=t,t.child=e}function ec(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(xr(a,r)&&e.ref===t.ref)if(Xs=!1,t.pendingProps=r=a,yc(e,i))e.flags&131072&&(Xs=!0);else return t.lanes=e.lanes,vc(e,t,i)}return ic(e,t,n,r,i)}function tc(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 nc(e,t,r,n)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pa(t,a===null?null:a.cachePool),a===null?Ba():za(t,a),ks(t);else return t.lanes=t.childLanes=536870912,nc(e,t,a===null?n:a.baseLanes|n,n)}else a===null?(e!==null&&pa(t,null),Ba(),As(t)):(pa(t,a.cachePool),za(t,a),As(t),t.memoizedState=null);return Zs(e,t,i,n),t.child}function nc(e,t,n,r){var i=fa();return i=i===null?null:{parent:ea._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&pa(t,null),Ba(),ks(t),e!==null&&Gi(e,t,r,!0),null}function rc(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 ic(e,t,n,r,i){return qi(t),n=$a(e,t,n,r,void 0,i),r=ro(),e!==null&&!Xs?(io(e,t,i),vc(e,t,i)):(V&&r&&wi(t),t.flags|=1,Zs(e,t,n,i),t.child)}function ac(e,t,n,r,i,a){return qi(t),t.updateQueue=null,n=to(t,r,n,i),eo(e),r=ro(),e!==null&&!Xs?(io(e,t,a),vc(e,t,a)):(V&&r&&wi(t),t.flags|=1,Zs(e,t,n,a),t.child)}function oc(e,t,n,r,i){if(qi(t),t.stateNode===null){var a=ii,o=n.contextType;typeof o==`object`&&o&&(a=Ji(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Fs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ea(t),o=n.contextType,a.context=typeof o==`object`&&o?Ji(o):ii,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ps(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&&Fs.enqueueReplaceState(a,a.state,null),Pa(t,r,a,i),Na(),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=Rs(n,s);a.props=c;var l=a.context,u=n.contextType;o=ii,typeof u==`object`&&u&&(o=Ji(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)&&Ls(t,a,r,o),Ta=!1;var f=t.memoizedState;a.state=f,Pa(t,r,a,i),Na(),l=t.memoizedState,s||f!==l||Ta?(typeof d==`function`&&(Ps(t,n,d,r),l=t.memoizedState),(c=Ta||Is(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,Da(e,t),o=t.memoizedProps,u=Rs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ii,typeof l==`object`&&l&&(c=Ji(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)&&Ls(t,a,r,c),Ta=!1,f=t.memoizedState,a.state=f,Pa(t,r,a,i),Na();var p=t.memoizedState;o!==d||f!==p||Ta||e!==null&&e.dependencies!==null&&Ki(e.dependencies)?(typeof s==`function`&&(Ps(t,n,s,r),p=t.memoizedState),(u=Ta||Is(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ki(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,rc(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=ws(t,e.child,null,i),t.child=ws(t,null,n,i)):Zs(e,t,n,i),t.memoizedState=a.state,e=t.child):e=vc(e,t,i),e}function sc(e,t,n,r){return Fi(),t.flags|=256,Zs(e,t,n,r),t.child}var cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lc(e){return{baseLanes:e,cachePool:ma()}}function uc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Rl),e}function dc(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:(Ms.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(V){if(a?Os(t):As(t),V){var c=Di,l;if(l=c){c:{for(l=c,c=ki;l.nodeType!==8;){if(!c){c=null;break c}if(l=Gd(l.nextSibling),l===null){c=null;break c}}c=l}c===null?l=!1:(t.memoizedState={dehydrated:c,treeContext:yi===null?null:{id:bi,overflow:xi},retryLane:536870912,hydrationErrors:null},l=B(18,null,null,0),l.stateNode=c,l.return=t,t.child=l,Ei=t,Di=null,l=!0)}l||ji(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Ud(c)?t.lanes=32:t.lanes=536870912,null;js(t)}return c=r.children,r=r.fallback,a?(As(t),a=t.mode,c=pc({mode:`hidden`,children:c},a),r=ui(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,a=t.child,a.memoizedState=lc(n),a.childLanes=uc(e,s,n),t.memoizedState=cc,r):(Os(t),fc(t,c))}if(l=e.memoizedState,l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Os(t),t.flags&=-257,t=mc(e,t,n)):t.memoizedState===null?(As(t),a=r.fallback,c=t.mode,r=pc({mode:`visible`,children:r.children},c),a=ui(a,c,n,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,ws(t,e.child,null,n),r=t.child,r.memoizedState=lc(n),r.childLanes=uc(e,s,n),t.memoizedState=cc,t=a):(As(t),t.child=e.child,t.flags|=128,t=null);else if(Os(t),Ud(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Li({value:r,source:null,stack:null}),t=mc(e,t,n)}else if(Xs||Gi(e,t,n,!1),s=(n&e.childLanes)!==0,Xs||s){if(s=Ol,s!==null&&(r=n&-n,r=r&42?1:qe(r),r=(r&(s.suspendedLanes|n))===0?r:0,r!==0&&r!==l.retryLane))throw l.retryLane=r,ti(e,r),iu(s,e,r),Ys;c.data===`$?`||hu(),t=mc(e,t,n)}else c.data===`$?`?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Di=Gd(c.nextSibling),Ei=t,V=!0,Oi=null,ki=!1,e!==null&&(_i[vi++]=bi,_i[vi++]=xi,_i[vi++]=yi,bi=e.id,xi=e.overflow,yi=t),t=fc(t,r.children),t.flags|=4096);return t}return a?(As(t),a=r.fallback,c=t.mode,l=e.child,u=l.sibling,r=si(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(a=ui(a,c,n,null),a.flags|=2):a=si(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=lc(n):(l=c.cachePool,l===null?l=ma():(u=ea._currentValue,l=l.parent===u?l:{parent:u,pool:u}),c={baseLanes:c.baseLanes|n,cachePool:l}),a.memoizedState=c,a.childLanes=uc(e,s,n),t.memoizedState=cc,r):(Os(t),n=e.child,e=n.sibling,n=si(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 fc(e,t){return t=pc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function pc(e,t){return e=B(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function mc(e,t,n){return ws(t,e.child,null,n),e=fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ui(e.return,t,n)}function gc(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 _c(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Zs(e,t,r.children,n),r=Ms.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&&hc(e,n,t);else if(e.tag===19)hc(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(L(Ms,r),i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ns(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),gc(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&&Ns(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}gc(t,!0,n,null,a);break;case`together`:gc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Fl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Gi(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=si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function yc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Ki(e))):!0}function bc(e,t,n){switch(t.tag){case 3:ue(t,t.stateNode.containerInfo),Vi(t,ea,e.memoizedState.cache),Fi();break;case 27:case 5:fe(t);break;case 4:ue(t,t.stateNode.containerInfo);break;case 10:Vi(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?(Os(t),e=vc(e,t,n),e===null?null:e.sibling):dc(e,t,n):(Os(t),t.flags|=128,null);Os(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Gi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return _c(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),L(Ms,Ms.current),r)break;return null;case 22:case 23:return t.lanes=0,tc(e,t,n);case 24:Vi(t,ea,e.memoizedState.cache)}return vc(e,t,n)}function xc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Xs=!0;else{if(!yc(e,n)&&!(t.flags&128))return Xs=!1,bc(e,t,n);Xs=!!(e.flags&131072)}else Xs=!1,V&&t.flags&1048576&&Ci(t,gi,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`)oi(r)?(e=Rs(r,e),t.tag=1,t=oc(null,t,r,e,n)):(t.tag=0,t=ic(null,t,r,e,n));else{if(r!=null){if(a=r.$$typeof,a===w){t.tag=11,t=Qs(null,t,r,e,n);break a}else if(a===D){t.tag=14,t=$s(null,t,r,e,n);break a}}throw t=N(r)||r,Error(i(306,t,``))}}return t;case 0:return ic(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Rs(r,t.pendingProps),oc(e,t,r,a,n);case 3:a:{if(ue(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Da(e,t),Pa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Vi(t,ea,r),r!==o.cache&&Wi(t,[ea],n,!0),Na(),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=sc(e,t,r,n);break a}else if(r!==a){a=Yr(Error(i(424)),t),Li(a),t=sc(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(Di=Gd(e.firstChild),Ei=t,V=!0,Oi=null,ki=!0,n=Ts(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Fi(),r===a){t=vc(e,t,n);break a}Zs(e,t,r,n)}t=t.child}return t;case 26:return rc(e,t),e===null?(n=ff(t.type,null,t.pendingProps,null))?t.memoizedState=n:V||(n=t.type,e=t.pendingProps,r=Dd(ce.current).createElement(n),r[Qe]=t,r[$e]=e,Cd(r,n,e),dt(r),t.stateNode=r):t.memoizedState=ff(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fe(t),e===null&&V&&(r=t.stateNode=Jd(t.type,t.pendingProps,ce.current),Ei=t,ki=!0,a=Di,Rd(t.type)?(Kd=a,Di=Gd(r.firstChild)):Di=a),Zs(e,t,t.pendingProps.children,n),rc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&V&&((a=r=Di)&&(r=Vd(r,t.type,t.pendingProps,ki),r===null?a=!1:(t.stateNode=r,Ei=t,Di=Gd(r.firstChild),ki=!1,a=!0)),a||ji(t)),fe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Ad(a,o)?r=null:s!==null&&Ad(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=$a(e,t,no,null,null,n),If._currentValue=a),rc(e,t),Zs(e,t,r,n),t.child;case 6:return e===null&&V&&((e=n=Di)&&(n=Hd(n,t.pendingProps,ki),n===null?e=!1:(t.stateNode=n,Ei=t,Di=null,e=!0)),e||ji(t)),null;case 13:return dc(e,t,n);case 4:return ue(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ws(t,null,r,n):Zs(e,t,r,n),t.child;case 11:return Qs(e,t,t.type,t.pendingProps,n);case 7:return Zs(e,t,t.pendingProps,n),t.child;case 8:return Zs(e,t,t.pendingProps.children,n),t.child;case 12:return Zs(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Vi(t,t.type,r.value),Zs(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,qi(t),a=Ji(a),r=r(a),t.flags|=1,Zs(e,t,r,n),t.child;case 14:return $s(e,t,t.type,t.pendingProps,n);case 15:return ec(e,t,t.type,t.pendingProps,n);case 19:return _c(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},e===null?(n=pc(r,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=si(e.child,r),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return tc(e,t,n);case 24:return qi(t),r=Ji(ea),e===null?(a=fa(),a===null&&(a=Ol,o=ta(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ea(t),Vi(t,ea,a)):((e.lanes&n)!==0&&(Da(e,t),Pa(t,null,null,n),Na()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Vi(t,ea,r),r!==a.cache&&Wi(t,[ea],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Vi(t,ea,r))),Zs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Sc(e){e.flags|=4}function Cc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Df(t)){if(t=Es.current,t!==null&&((J&4194048)===J?Ds!==null:(J&62914560)!==J&&!(J&536870912)||t!==Ds))throw Sa=va,ga;e.flags|=8192}}function wc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ve(),e.lanes|=t,zl|=t)}function Tc(e,t){if(!V)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 Ec(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 Dc(e,t,n){var r=t.pendingProps;switch(Ti(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ec(t),null;case 1:return Ec(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Hi(ea),de(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pi(t)?Sc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ii())),Ec(t),null;case 26:return n=t.memoizedState,e===null?(Sc(t),n===null?(Ec(t),t.flags&=-16777217):(Ec(t),Cc(t,n))):n?n===e.memoizedState?(Ec(t),t.flags&=-16777217):(Sc(t),Ec(t),Cc(t,n)):(e.memoizedProps!==r&&Sc(t),Ec(t),t.flags&=-16777217),null;case 27:pe(t),n=ce.current;var a=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Sc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Ec(t),null}e=oe.current,Pi(t)?Mi(t,e):(e=Jd(a,r,n),t.stateNode=e,Sc(t))}return Ec(t),null;case 5:if(pe(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Sc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Ec(t),null}if(e=oe.current,Pi(t))Mi(t,e);else{switch(a=Dd(ce.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[$e]=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(Cd(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&&Sc(t)}}return Ec(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Sc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ce.current,Pi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ei,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Qe]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||bd(e.nodeValue,n)),e||ji(t)}else e=Dd(e).createTextNode(r),e[Qe]=t,t.stateNode=e}return Ec(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Pi(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 Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ec(t),a=!1}else a=Ii(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(js(t),t):(js(t),null)}if(js(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),wc(t,t.updateQueue),Ec(t),null;case 4:return de(),e===null&&ud(t.stateNode.containerInfo),Ec(t),null;case 10:return Hi(t.type),Ec(t),null;case 19:if(ae(Ms),a=t.memoizedState,a===null)return Ec(t),null;if(r=(t.flags&128)!=0,o=a.rendering,o===null)if(r)Tc(a,!1);else{if(Pl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ns(e),o!==null){for(t.flags|=128,Tc(a,!1),e=o.updateQueue,t.updateQueue=e,wc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ci(n,e),n=n.sibling;return L(Ms,Ms.current&1|2),t.child}e=e.sibling}a.tail!==null&&ve()>Wl&&(t.flags|=128,r=!0,Tc(a,!1),t.lanes=4194304)}else{if(!r)if(e=Ns(o),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,wc(t,e),Tc(a,!0),a.tail===null&&a.tailMode===`hidden`&&!o.alternate&&!V)return Ec(t),null}else 2*ve()-a.renderingStartTime>Wl&&n!==536870912&&(t.flags|=128,r=!0,Tc(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?(Ec(t),null):(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ve(),t.sibling=null,e=Ms.current,L(Ms,r?e&1|2:e&1),t);case 22:case 23:return js(t),Va(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Ec(t),t.subtreeFlags&6&&(t.flags|=8192)):Ec(t),n=t.updateQueue,n!==null&&wc(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&&ae(da),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Hi(ea),Ec(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Oc(e,t){switch(Ti(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hi(ea),de(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pe(t),null;case 13:if(js(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(Ms),null;case 4:return de(),null;case 10:return Hi(t.type),null;case 22:case 23:return js(t),Va(),e!==null&&ae(da),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hi(ea),null;case 25:return null;default:return null}}function kc(e,t){switch(Ti(t),t.tag){case 3:Hi(ea),de();break;case 26:case 27:case 5:pe(t);break;case 4:de();break;case 13:js(t);break;case 19:ae(Ms);break;case 10:Hi(t.type);break;case 22:case 23:js(t),Va(),e!==null&&ae(da);break;case 24:Hi(ea)}}function Ac(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){X(t,t.return,e)}}function jc(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){X(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){X(t,t.return,e)}}function Mc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ia(t,n)}catch(t){X(e,e.return,t)}}}function Nc(e,t,n){n.props=Rs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){X(e,t,n)}}function Pc(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){X(e,t,n)}}function Fc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){X(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){X(e,t,n)}else n.current=null}function Ic(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){X(e,e.return,t)}}function Lc(e,t,n){try{var r=e.stateNode;wd(r,e.type,n,t),r[$e]=t}catch(t){X(e,e.return,t)}}function Rc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rd(e.type)||e.tag===4}function zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Rc(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&&Rd(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 Bc(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=xd));else if(r!==4&&(r===27&&Rd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Bc(e,t,n),e=e.sibling;e!==null;)Bc(e,t,n),e=e.sibling}function Vc(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&&Rd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Vc(e,t,n),e=e.sibling;e!==null;)Vc(e,t,n),e=e.sibling}function Hc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Cd(t,r,n),t[Qe]=e,t[$e]=n}catch(t){X(e,e.return,t)}}var Uc=!1,Wc=!1,Gc=!1,Kc=typeof WeakSet==`function`?WeakSet:Set,qc=null;function Jc(e,t){if(e=e.containerInfo,Td=Wf,e=Tr(e),Er(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(Ed={focusedElem:e,selectionRange:n},Wf=!1,qc=t;qc!==null;)if(t=qc,e=t.child,t.subtreeFlags&1024&&e!==null)e.return=t,qc=e;else for(;qc!==null;){switch(t=qc,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=Rs(n.type,a,n.elementType===n.type);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){X(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Bd(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:Bd(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,qc=e;break}qc=t.return}}function Yc(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ll(e,n),r&4&&Ac(5,n);break;case 1:if(ll(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){X(n,n.return,e)}else{var i=Rs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){X(n,n.return,e)}}r&64&&Mc(n),r&512&&Pc(n,n.return);break;case 3:if(ll(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{Ia(e,t)}catch(e){X(n,n.return,e)}}break;case 27:t===null&&r&4&&Hc(n);case 26:case 5:ll(e,n),t===null&&r&4&&Ic(n),r&512&&Pc(n,n.return);break;case 12:ll(e,n);break;case 13:ll(e,n),r&4&&tl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Iu.bind(null,n),Wd(e,n))));break;case 22:if(r=n.memoizedState!==null||Uc,!r){t=t!==null&&t.memoizedState!==null||Wc,i=Uc;var a=Wc;Uc=r,(Wc=t)&&!a?dl(e,n,(n.subtreeFlags&8772)!=0):ll(e,n),Uc=i,Wc=a}break;case 30:break;default:ll(e,n)}}function Xc(e){var t=e.alternate;t!==null&&(e.alternate=null,Xc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ot(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 Zc=null,Qc=!1;function $c(e,t,n){for(n=n.child;n!==null;)el(e,t,n),n=n.sibling}function el(e,t,n){if(Oe&&typeof Oe.onCommitFiberUnmount==`function`)try{Oe.onCommitFiberUnmount(De,n)}catch{}switch(n.tag){case 26:Wc||Fc(n,t),$c(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Wc||Fc(n,t);var r=Zc,i=Qc;Rd(n.type)&&(Zc=n.stateNode,Qc=!1),$c(e,t,n),Yd(n.stateNode),Zc=r,Qc=i;break;case 5:Wc||Fc(n,t);case 6:if(r=Zc,i=Qc,Zc=null,$c(e,t,n),Zc=r,Qc=i,Zc!==null)if(Qc)try{(Zc.nodeType===9?Zc.body:Zc.nodeName===`HTML`?Zc.ownerDocument.body:Zc).removeChild(n.stateNode)}catch(e){X(n,t,e)}else try{Zc.removeChild(n.stateNode)}catch(e){X(n,t,e)}break;case 18:Zc!==null&&(Qc?(e=Zc,zd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),gp(e)):zd(Zc,n.stateNode));break;case 4:r=Zc,i=Qc,Zc=n.stateNode.containerInfo,Qc=!0,$c(e,t,n),Zc=r,Qc=i;break;case 0:case 11:case 14:case 15:Wc||jc(2,n,t),Wc||jc(4,n,t),$c(e,t,n);break;case 1:Wc||(Fc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Nc(n,t,r)),$c(e,t,n);break;case 21:$c(e,t,n);break;case 22:Wc=(r=Wc)||n.memoizedState!==null,$c(e,t,n),Wc=r;break;default:$c(e,t,n)}}function tl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{gp(e)}catch(e){X(t,t.return,e)}}function nl(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Kc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Kc),t;default:throw Error(i(435,e.tag))}}function rl(e,t){var n=nl(e);t.forEach(function(t){var r=Lu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function il(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(Rd(c.type)){Zc=c.stateNode,Qc=!1;break a}break;case 5:Zc=c.stateNode,Qc=!1;break a;case 3:case 4:Zc=c.stateNode.containerInfo,Qc=!0;break a}c=c.return}if(Zc===null)throw Error(i(160));el(o,s,a),Zc=null,Qc=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)ol(t,e),t=t.sibling}var al=null;function ol(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:il(t,e),sl(e),r&4&&(jc(3,e,e.return),Ac(3,e),jc(5,e,e.return));break;case 1:il(t,e),sl(e),r&512&&(Wc||n===null||Fc(n,n.return)),r&64&&Uc&&(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=al;if(il(t,e),sl(e),r&512&&(Wc||n===null||Fc(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[at]||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`))),Cd(o,r,n),o[Qe]=e,dt(o),r=o;break a;case`link`:var s=wf(`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),Cd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=wf(`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),Cd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[Qe]=e,dt(o),r=o}e.stateNode=r}else Tf(a,e.type,e.stateNode);else e.stateNode=yf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Lc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Tf(a,e.type,e.stateNode):yf(a,r,e.memoizedProps))}break;case 27:il(t,e),sl(e),r&512&&(Wc||n===null||Fc(n,n.return)),n!==null&&r&4&&Lc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(il(t,e),sl(e),r&512&&(Wc||n===null||Fc(n,n.return)),e.flags&32){a=e.stateNode;try{Wt(a,``)}catch(t){X(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Lc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Gc=!0);break;case 6:if(il(t,e),sl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){X(e,e.return,t)}}break;case 3:if(Cf=null,a=al,al=Qd(t.containerInfo),il(t,e),al=a,sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{gp(t.containerInfo)}catch(t){X(e,e.return,t)}Gc&&(Gc=!1,cl(e));break;case 4:r=al,al=Qd(e.stateNode.containerInfo),il(t,e),sl(e),al=r;break;case 12:il(t,e),sl(e);break;case 13:il(t,e),sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ul=ve()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,rl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Uc,d=Wc;if(Uc=u||a,Wc=d||l,il(t,e),Wc=d,Uc=u,sl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Uc||Wc||ul(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){X(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){X(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,rl(e,n))));break;case 19:il(t,e),sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,rl(e,r)));break;case 30:break;case 21:break;default:il(t,e),sl(e)}}function sl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Rc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Vc(e,zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Wt(o,``),n.flags&=-33),Vc(e,zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Bc(e,zc(e),s);break;default:throw Error(i(161))}}catch(t){X(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ll(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Yc(e,t.alternate,t),t=t.sibling}function ul(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:jc(4,t,t.return),ul(t);break;case 1:Fc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Nc(t,t.return,n),ul(t);break;case 27:Yd(t.stateNode);case 26:case 5:Fc(t,t.return),ul(t);break;case 22:t.memoizedState===null&&ul(t);break;case 30:ul(t);break;default:ul(t)}e=e.sibling}}function dl(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:dl(i,a,n),Ac(4,a);break;case 1:if(dl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){X(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++)Fa(c[i],s)}catch(e){X(r,r.return,e)}}n&&o&64&&Mc(a),Pc(a,a.return);break;case 27:Hc(a);case 26:case 5:dl(i,a,n),n&&r===null&&o&4&&Ic(a),Pc(a,a.return);break;case 12:dl(i,a,n);break;case 13:dl(i,a,n),n&&o&4&&tl(i,a);break;case 22:a.memoizedState===null&&dl(i,a,n),Pc(a,a.return);break;case 30:break;default:dl(i,a,n)}t=t.sibling}}function fl(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&&na(n))}function pl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&na(e))}function ml(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)hl(e,t,n,r),t=t.sibling}function hl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ml(e,t,n,r),i&2048&&Ac(9,t);break;case 1:ml(e,t,n,r);break;case 3:ml(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&&na(e)));break;case 12:if(i&2048){ml(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){X(t,t.return,e)}}else ml(e,t,n,r);break;case 13:ml(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?ml(e,t,n,r):(a._visibility|=2,gl(e,t,n,r,(t.subtreeFlags&10256)!=0)):a._visibility&2?ml(e,t,n,r):_l(e,t),i&2048&&fl(o,t);break;case 24:ml(e,t,n,r),i&2048&&pl(t.alternate,t);break;default:ml(e,t,n,r)}}function gl(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:gl(a,o,s,c,i),Ac(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,gl(a,o,s,c,i)):u._visibility&2?gl(a,o,s,c,i):_l(a,o),i&&l&2048&&fl(o.alternate,o);break;case 24:gl(a,o,s,c,i),i&&l&2048&&pl(o.alternate,o);break;default:gl(a,o,s,c,i)}t=t.sibling}}function _l(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:_l(n,r),i&2048&&fl(r.alternate,r);break;case 24:_l(n,r),i&2048&&pl(r.alternate,r);break;default:_l(n,r)}t=t.sibling}}var vl=8192;function yl(e){if(e.subtreeFlags&vl)for(e=e.child;e!==null;)bl(e),e=e.sibling}function bl(e){switch(e.tag){case 26:yl(e),e.flags&vl&&e.memoizedState!==null&&Af(al,e.memoizedState,e.memoizedProps);break;case 5:yl(e);break;case 3:case 4:var t=al;al=Qd(e.stateNode.containerInfo),yl(e),al=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=vl,vl=16777216,yl(e),vl=t):yl(e));break;default:yl(e)}}function xl(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 Sl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];qc=r,Tl(r,e)}xl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Cl(e),e=e.sibling}function Cl(e){switch(e.tag){case 0:case 11:case 15:Sl(e),e.flags&2048&&jc(9,e,e.return);break;case 3:Sl(e);break;case 12:Sl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,wl(e)):Sl(e);break;default:Sl(e)}}function wl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];qc=r,Tl(r,e)}xl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:jc(8,t,t.return),wl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,wl(t));break;default:wl(t)}e=e.sibling}}function Tl(e,t){for(;qc!==null;){var n=qc;switch(n.tag){case 0:case 11:case 15:jc(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:na(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,qc=r;else a:for(n=e;qc!==null;){r=qc;var i=r.sibling,a=r.return;if(Xc(r),r===n){qc=null;break a}if(i!==null){i.return=a,qc=i;break a}qc=a}}}var El={getCacheForType:function(e){var t=Ji(ea),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Dl=typeof WeakMap==`function`?WeakMap:Map,K=0,Ol=null,q=null,J=0,Y=0,kl=null,Al=!1,jl=!1,Ml=!1,Nl=0,Pl=0,Fl=0,Il=0,Ll=0,Rl=0,zl=0,Bl=null,Vl=null,Hl=!1,Ul=0,Wl=1/0,Gl=null,Kl=null,ql=0,Jl=null,Yl=null,Xl=0,Zl=0,Ql=null,$l=null,eu=0,tu=null;function nu(){if(K&2&&J!==0)return J&-J;if(P.T!==null){var e=aa;return e===0?$u():e}return Ye()}function ru(){Rl===0&&(Rl=!(J&536870912)||V?Be():536870912);var e=Es.current;return e!==null&&(e.flags|=32),Rl}function iu(e,t,n){(e===Ol&&(Y===2||Y===9)||e.cancelPendingCommit!==null)&&(du(e,0),cu(e,J,Rl,!1)),Ue(e,n),(!(K&2)||e!==Ol)&&(e===Ol&&(!(K&2)&&(Il|=n),Pl===4&&cu(e,J,Rl,!1)),Gu(e))}function au(e,t,n){if(K&6)throw Error(i(327));var r=!n&&(t&124)==0&&(t&e.expiredLanes)===0||Re(e,t),a=r?vu(e,t):gu(e,t,!0),o=r;do{if(a===0){jl&&!r&&cu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!su(n)){a=gu(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=Bl;var l=c.current.memoizedState.isDehydrated;if(l&&(du(c,s).flags|=256),s=gu(c,s,!1),s!==2){if(Ml&&!l){c.errorRecoveryDisabledLanes|=o,Il|=o,a=4;break a}o=Vl,Vl=a,o!==null&&(Vl===null?Vl=o:Vl.push.apply(Vl,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){du(e,0),cu(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:cu(r,t,Rl,!Al);break a;case 2:Vl=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Ul+300-ve(),10<a)){if(cu(r,t,Rl,!Al),Le(r,0,!0)!==0)break a;r.timeoutHandle=Nd(ou.bind(null,r,n,Vl,Gl,Hl,t,Rl,Il,zl,Al,o,2,-0,0),a);break a}ou(r,n,Vl,Gl,Hl,t,Rl,Il,zl,Al,o,0,-0,0)}}break}while(1);Gu(e)}function ou(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)&&(Of={stylesheets:null,count:0,unsuspend:kf},bl(t),d=jf(),d!==null)){e.cancelPendingCommit=d(Tu.bind(null,e,t,a,n,r,i,o,s,c,u,1,f,p)),cu(e,a,o,!l);return}Tu(e,t,a,n,r,i,o,s,c)}function su(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(!br(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 cu(e,t,n,r){t&=~Ll,t&=~Il,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ae(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ge(e,n,t)}function lu(){return K&6?!0:(Ku(0,!1),!1)}function uu(){if(q!==null){if(Y===0)var e=q.return;else e=q,Bi=zi=null,ao(e),_s=null,vs=0,e=q;for(;e!==null;)kc(e.alternate,e),e=e.return;q=null}}function du(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Pd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),uu(),Ol=e,q=n=si(e.current,null),J=t,Y=0,kl=null,Al=!1,jl=Re(e,t),Ml=!1,zl=Rl=Ll=Il=Fl=Pl=0,Vl=Bl=null,Hl=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ae(r),a=1<<i;t|=e[i],r&=~a}return Nl=t,Qr(),n}function fu(e,t){H=null,P.H=ps,t===ha||t===_a?(t=Ca(),Y=3):t===ga?(t=Ca(),Y=4):Y=t===Ys?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,kl=t,q===null&&(Pl=1,Us(e,Yr(t,e.current)))}function pu(){var e=P.H;return P.H=ps,e===null?ps:e}function mu(){var e=P.A;return P.A=El,e}function hu(){Pl=4,Al||(J&4194048)!==J&&Es.current!==null||(jl=!0),!(Fl&134217727)&&!(Il&134217727)||Ol===null||cu(Ol,J,Rl,!1)}function gu(e,t,n){var r=K;K|=2;var i=pu(),a=mu();(Ol!==e||J!==t)&&(Gl=null,du(e,t)),t=!1;var o=Pl;a:do try{if(Y!==0&&q!==null){var s=q,c=kl;switch(Y){case 8:uu(),o=6;break a;case 3:case 2:case 9:case 6:Es.current===null&&(t=!0);var l=Y;if(Y=0,kl=null,Su(e,s,c,l),n&&jl){o=0;break a}break;default:l=Y,Y=0,kl=null,Su(e,s,c,l)}}_u(),o=Pl;break}catch(t){fu(e,t)}while(1);return t&&e.shellSuspendCounter++,Bi=zi=null,K=r,P.H=i,P.A=a,q===null&&(Ol=null,J=0,Qr()),o}function _u(){for(;q!==null;)bu(q)}function vu(e,t){var n=K;K|=2;var r=pu(),a=mu();Ol!==e||J!==t?(Gl=null,Wl=ve()+500,du(e,t)):jl=Re(e,t);a:do try{if(Y!==0&&q!==null){t=q;var o=kl;b:switch(Y){case 1:Y=0,kl=null,Su(e,t,o,1);break;case 2:case 9:if(ya(o)){Y=0,kl=null,xu(t);break}t=function(){Y!==2&&Y!==9||Ol!==e||(Y=7),Gu(e)},o.then(t,t);break a;case 3:Y=7;break a;case 4:Y=5;break a;case 7:ya(o)?(Y=0,kl=null,xu(t)):(Y=0,kl=null,Su(e,t,o,7));break;case 5:var s=null;switch(q.tag){case 26:s=q.memoizedState;case 5:case 27:var c=q;if(!s||Df(s)){Y=0,kl=null;var l=c.sibling;if(l!==null)q=l;else{var u=c.return;u===null?q=null:(q=u,Cu(u))}break b}}Y=0,kl=null,Su(e,t,o,5);break;case 6:Y=0,kl=null,Su(e,t,o,6);break;case 8:uu(),Pl=6;break a;default:throw Error(i(462))}}yu();break}catch(t){fu(e,t)}while(1);return Bi=zi=null,P.H=r,P.A=a,K=n,q===null?(Ol=null,J=0,Qr(),Pl):0}function yu(){for(;q!==null&&!ge();)bu(q)}function bu(e){var t=xc(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,t===null?Cu(e):q=t}function xu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ac(n,t,t.pendingProps,t.type,void 0,J);break;case 11:t=ac(n,t,t.pendingProps,t.type.render,t.ref,J);break;case 5:ao(t);default:kc(n,t),t=q=ci(t,Nl),t=xc(n,t,Nl)}e.memoizedProps=e.pendingProps,t===null?Cu(e):q=t}function Su(e,t,n,r){Bi=zi=null,ao(t),_s=null,vs=0;var i=t.return;try{if(Js(e,i,t,n,J)){Pl=1,Us(e,Yr(n,e.current)),q=null;return}}catch(t){if(i!==null)throw q=i,t;Pl=1,Us(e,Yr(n,e.current)),q=null;return}t.flags&32768?(V||r===1?e=!0:jl||J&536870912?e=!1:(Al=e=!0,(r===2||r===9||r===3||r===6)&&(r=Es.current,r!==null&&r.tag===13&&(r.flags|=16384))),wu(t,e)):Cu(t)}function Cu(e){var t=e;do{if(t.flags&32768){wu(t,Al);return}e=t.return;var n=Dc(t.alternate,t,Nl);if(n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);Pl===0&&(Pl=5)}function wu(e,t){do{var n=Oc(e.alternate,e);if(n!==null){n.flags&=32767,q=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){q=e;return}q=e=n}while(e!==null);Pl=6,q=null}function Tu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Au();while(ql!==0);if(K&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Zr,We(e,n,o,s,c,l),e===Ol&&(q=Ol=null,J=0),Yl=t,Jl=e,Xl=n,Zl=o,Ql=a,$l=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Ru(Se,function(){return ju(!0),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=P.T,P.T=null,a=F.p,F.p=2,s=K,K|=4;try{Jc(e,t,n)}finally{K=s,F.p=a,P.T=r}}ql=1,Eu(),Du(),Ou()}}function Eu(){if(ql===1){ql=0;var e=Jl,t=Yl,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=K;K|=4;try{ol(t,e);var a=Ed,o=Tr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&wr(s.ownerDocument.documentElement,s)){if(c!==null&&Er(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 _=Cr(s,h),v=Cr(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}}Wf=!!Td,Ed=Td=null}finally{K=i,F.p=r,P.T=n}}e.current=t,ql=2}}function Du(){if(ql===2){ql=0;var e=Jl,t=Yl,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=K;K|=4;try{Yc(e,t.alternate,t)}finally{K=i,F.p=r,P.T=n}}ql=3}}function Ou(){if(ql===4||ql===3){ql=0,_e();var e=Jl,t=Yl,n=Xl,r=$l;t.subtreeFlags&10256||t.flags&10256?ql=5:(ql=0,Yl=Jl=null,ku(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Kl=null),Je(n),t=t.stateNode,Oe&&typeof Oe.onCommitFiberRoot==`function`)try{Oe.onCommitFiberRoot(De,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=P.T,i=F.p,F.p=2,P.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{P.T=t,F.p=i}}Xl&3&&Au(),Gu(e),i=e.pendingLanes,n&4194090&&i&42?e===tu?eu++:(eu=0,tu=e):eu=0,Ku(0,!1)}}function ku(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,na(t)))}function Au(e){return Eu(),Du(),Ou(),ju(e)}function ju(){if(ql!==5)return!1;var e=Jl,t=Zl;Zl=0;var n=Je(Xl),r=P.T,a=F.p;try{F.p=32>n?32:n,P.T=null,n=Ql,Ql=null;var o=Jl,s=Xl;if(ql=0,Yl=Jl=null,Xl=0,K&6)throw Error(i(331));var c=K;if(K|=4,Cl(o.current),hl(o,o.current,s,n),K=c,Ku(0,!1),Oe&&typeof Oe.onPostCommitFiberRoot==`function`)try{Oe.onPostCommitFiberRoot(De,o)}catch{}return!0}finally{F.p=a,P.T=r,ku(e,t)}}function Mu(e,t,n){t=Yr(n,t),t=Gs(e.stateNode,t,2),e=ka(e,t,2),e!==null&&(Ue(e,2),Gu(e))}function X(e,t,n){if(e.tag===3)Mu(e,e,n);else for(;t!==null;){if(t.tag===3){Mu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Kl===null||!Kl.has(r))){e=Yr(n,e),n=Ks(2),r=ka(t,n,2),r!==null&&(qs(n,r,t,e),Ue(r,2),Gu(r));break}}t=t.return}}function Nu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Dl;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)||(Ml=!0,i.add(n),e=Pu.bind(null,e,t,n),t.then(e,e))}function Pu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ol===e&&(J&n)===n&&(Pl===4||Pl===3&&(J&62914560)===J&&300>ve()-Ul?!(K&2)&&du(e,0):Ll|=n,zl===J&&(zl=0)),Gu(e)}function Fu(e,t){t===0&&(t=Ve()),e=ti(e,t),e!==null&&(Ue(e,t),Gu(e))}function Iu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fu(e,n)}function Lu(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),Fu(e,n)}function Ru(e,t){return R(e,t)}var zu=null,Bu=null,Vu=!1,Hu=!1,Uu=!1,Wu=0;function Gu(e){e!==Bu&&e.next===null&&(Bu===null?zu=Bu=e:Bu=Bu.next=e),Hu=!0,Vu||(Vu=!0,Qu())}function Ku(e,t){if(!Uu&&Hu){Uu=!0;do for(var n=!1,r=zu;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-Ae(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Zu(r,a))}else a=J,a=Le(r,r===Ol?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Re(r,a)||(n=!0,Zu(r,a));r=r.next}while(n);Uu=!1}}function qu(){Ju()}function Ju(){Hu=Vu=!1;var e=0;Wu!==0&&(Md()&&(e=Wu),Wu=0);for(var t=ve(),n=null,r=zu;r!==null;){var i=r.next,a=Yu(r,t);a===0?(r.next=null,n===null?zu=i:n.next=i,i===null&&(Bu=n)):(n=r,(e!==0||a&3)&&(Hu=!0)),r=i}Ku(e,!1)}function Yu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ae(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=ze(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ol,n=J,n=Le(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Y===2||Y===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&he(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Re(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&he(r),Je(n)){case 2:case 8:n=xe;break;case 32:n=Se;break;case 268435456:n=we;break;default:n=Se}return r=Xu.bind(null,e),n=R(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&he(r),e.callbackPriority=2,e.callbackNode=null,2}function Xu(e,t){if(ql!==0&&ql!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Au(!0)&&e.callbackNode!==n)return null;var r=J;return r=Le(e,e===Ol?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(au(e,r,t),Yu(e,ve()),e.callbackNode!=null&&e.callbackNode===n?Xu.bind(null,e):null)}function Zu(e,t){if(Au())return null;au(e,t,!0)}function Qu(){Id(function(){K&6?R(be,qu):Ju()})}function $u(){return Wu===0&&(Wu=Be()),Wu}function ed(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Zt(``+e)}function td(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 nd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=ed((i[$e]||null).action),o=r.submitter;o&&(t=(t=o[$e]||null)?ed(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new yn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Wu!==0){var e=o?td(i,o):new FormData(i);$o(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?td(i,o):new FormData(i),$o(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var rd=0;rd<Kr.length;rd++){var id=Kr[rd];qr(id.toLowerCase(),`on`+(id[0].toUpperCase()+id.slice(1)))}qr(Rr,`onAnimationEnd`),qr(zr,`onAnimationIteration`),qr(Br,`onAnimationStart`),qr(`dblclick`,`onDoubleClick`),qr(`focusin`,`onFocus`),qr(`focusout`,`onBlur`),qr(Vr,`onTransitionRun`),qr(Hr,`onTransitionStart`),qr(Ur,`onTransitionCancel`),qr(Wr,`onTransitionEnd`),ht(`onMouseEnter`,[`mouseout`,`mouseover`]),ht(`onMouseLeave`,[`mouseout`,`mouseover`]),ht(`onPointerEnter`,[`pointerout`,`pointerover`]),ht(`onPointerLeave`,[`pointerout`,`pointerover`]),mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var ad=`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(` `),od=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(ad));function sd(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){zs(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){zs(e)}i.currentTarget=null,a=c}}}}function Z(e,t){var n=t[tt];n===void 0&&(n=t[tt]=new Set);var r=e+`__bubble`;n.has(r)||(dd(t,e,2,!1),n.add(r))}function cd(e,t,n){var r=0;t&&(r|=4),dd(n,e,r,t)}var ld=`_reactListening`+Math.random().toString(36).slice(2);function ud(e){if(!e[ld]){e[ld]=!0,ft.forEach(function(t){t!==`selectionchange`&&(od.has(t)||cd(t,!1,e),cd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ld]||(t[ld]=!0,cd(`selectionchange`,!1,t))}}function dd(e,t,n,r){switch(Zf(t)){case 2:var i=Gf;break;case 8:i=Kf;break;default:i=qf}n=i.bind(null,t,n,e),i=void 0,!cn||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 fd(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=st(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}an(function(){var r=a,i=$t(n),s=[];a:{var c=Gr.get(e);if(c!==void 0){var l=yn,u=e;switch(e){case`keypress`:if(mn(n)===0)break a;case`keydown`:case`keyup`:l=Ln;break;case`focusin`:u=`focus`,l=On;break;case`focusout`:u=`blur`,l=On;break;case`beforeblur`:case`afterblur`:l=On;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=En;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Dn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=zn;break;case Rr:case zr:case Br:l=kn;break;case Wr:l=Bn;break;case`scroll`:case`scrollend`:l=xn;break;case`wheel`:l=Vn;break;case`copy`:case`cut`:case`paste`:l=An;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Rn;break;case`toggle`:case`beforetoggle`:l=Hn}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=on(m,p),g!=null&&d.push(pd(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!==Qt&&(u=n.relatedTarget||n.fromElement)&&(st(u)||u[et]))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?st(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=En,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Rn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:lt(l),h=u==null?c:lt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,st(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=hd(h))m++;for(h=0,g=p;g;g=hd(g))h++;for(;0<m-h;)d=hd(d),m--;for(;0<h-m;)p=hd(p),h--;for(;m--;){if(d===p||p!==null&&d===p.alternate)break b;d=hd(d),p=hd(p)}d=null}else d=null;l!==null&&gd(s,c,l,d,!1),u!==null&&f!==null&&gd(s,f,u,d,!0)}}a:{if(c=r?lt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=cr;else if(nr(c))if(lr)_=vr;else{_=gr;var v=hr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Jt(r.elementType)&&(_=cr):_=_r;if(_&&=_(e,r)){rr(s,_,n,i);break a}v&&v(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Bt(c,`number`,c.value)}switch(v=r?lt(r):window,e){case`focusin`:(nr(v)||v.contentEditable===`true`)&&(Or=v,kr=r,Ar=null);break;case`focusout`:Ar=kr=Or=null;break;case`mousedown`:jr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:jr=!1,Mr(s,n,i);break;case`selectionchange`:if(Dr)break;case`keydown`:case`keyup`:Mr(s,n,i)}var y;if(Wn)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 Qn?Xn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(qn&&n.locale!==`ko`&&(Qn||b!==`onCompositionStart`?b===`onCompositionEnd`&&Qn&&(y=pn()):(un=i,dn=`value`in un?un.value:un.textContent,Qn=!0)),v=md(r,b),0<v.length&&(b=new jn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=Zn(n),y!==null&&(b.data=y)))),(y=Kn?$n(e,n):er(e,n))&&(b=md(r,`onBeforeInput`),0<b.length&&(v=new jn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),nd(s,e,r,n,i)}sd(s,t)})}function pd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function md(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=on(e,n),i!=null&&r.unshift(pd(e,i,a)),i=on(e,t),i!=null&&r.push(pd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function hd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function gd(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=on(n,a),l!=null&&o.unshift(pd(n,l,c))):i||(l=on(n,a),l!=null&&o.push(pd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var _d=/\r\n?/g,vd=/\u0000|\uFFFD/g;function yd(e){return(typeof e==`string`?e:``+e).replace(_d,`
92
+ `).replace(vd,``)}function bd(e,t){return t=yd(t),yd(e)===t}function xd(){}function Q(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Wt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Wt(e,``+r);break;case`className`:xt(e,`class`,r);break;case`tabIndex`:xt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:xt(e,n,r);break;case`style`:qt(e,r,o);break;case`data`:if(t!==`object`){xt(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=Zt(``+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`&&Q(e,t,`name`,a.name,a,null),Q(e,t,`formEncType`,a.formEncType,a,null),Q(e,t,`formMethod`,a.formMethod,a,null),Q(e,t,`formTarget`,a.formTarget,a,null)):(Q(e,t,`encType`,a.encType,a,null),Q(e,t,`method`,a.method,a,null),Q(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Zt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=xd);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`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=Zt(``+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`:Z(`beforetoggle`,e),Z(`toggle`,e),bt(e,`popover`,r);break;case`xlinkActuate`:St(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:St(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:St(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:St(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:bt(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=Yt.get(n)||n,bt(e,n,r))}}function Sd(e,t,n,r,a,o){switch(n){case`style`:qt(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`?Wt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Wt(e,``+r);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=xd);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!pt.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[$e]||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,``):bt(e,n,r)}}}function Cd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Z(`error`,e),Z(`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:Q(e,t,o,s,n,null)}}a&&Q(e,t,`srcSet`,n.srcSet,n,null),r&&Q(e,t,`src`,n.src,n,null);return;case`input`:Z(`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:Q(e,t,r,d,n,null)}}zt(e,o,c,l,u,s,a,!1),Nt(e);return;case`select`:for(a in Z(`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:Q(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Vt(e,!!r,n,!0):Vt(e,!!r,t,!1);return;case`textarea`:for(s in Z(`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:Q(e,t,s,c,n,null)}Ut(e,r,a,o),Nt(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:Q(e,t,l,r,n,null)}return;case`dialog`:Z(`beforetoggle`,e),Z(`toggle`,e),Z(`cancel`,e),Z(`close`,e);break;case`iframe`:case`object`:Z(`load`,e);break;case`video`:case`audio`:for(r=0;r<ad.length;r++)Z(ad[r],e);break;case`image`:Z(`error`,e),Z(`load`,e);break;case`details`:Z(`toggle`,e);break;case`embed`:case`source`:case`link`:Z(`error`,e),Z(`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:Q(e,t,u,r,n,null)}return;default:if(Jt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Sd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Q(e,t,c,r,n,null))}function wd(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)||Q(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&&Q(e,t,p,m,r,f)}}Rt(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)||Q(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&&Q(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Vt(e,!!n,n?[]:``,!1):Vt(e,!!n,t,!0)):Vt(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:Q(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&&Q(e,t,s,a,r,o)}Ht(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:Q(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:Q(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)&&Q(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:Q(e,t,u,p,r,m)}return;default:if(Jt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Sd(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||Sd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Q(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||Q(e,t,f,p,r,m)}var Td=null,Ed=null;function Dd(e){return e.nodeType===9?e:e.ownerDocument}function Od(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 kd(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 Ad(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 jd=null;function Md(){var e=window.event;return e&&e.type===`popstate`?e===jd?!1:(jd=e,!0):(jd=null,!1)}var Nd=typeof setTimeout==`function`?setTimeout:void 0,Pd=typeof clearTimeout==`function`?clearTimeout:void 0,Fd=typeof Promise==`function`?Promise:void 0,Id=typeof queueMicrotask==`function`?queueMicrotask:Fd===void 0?Nd:function(e){return Fd.resolve(null).then(e).catch(Ld)};function Ld(e){setTimeout(function(){throw e})}function Rd(e){return e===`head`}function zd(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&&Yd(o.documentElement),n&2&&Yd(o.body),n&4)for(n=o.head,Yd(n),o=n.firstChild;o;){var s=o.nextSibling,c=o.nodeName;o[at]||c===`SCRIPT`||c===`STYLE`||c===`LINK`&&o.rel.toLowerCase()===`stylesheet`||n.removeChild(o),o=s}}if(i===0){e.removeChild(a),gp(t);return}i--}else n===`$`||n===`$?`||n===`$!`?i++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);gp(t)}function Bd(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`:Bd(n),ot(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function Vd(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[at])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=Gd(e.nextSibling),e===null)break}return null}function Hd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=Gd(e.nextSibling),e===null))return null;return e}function Ud(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState===`complete`}function Wd(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 Gd(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 Kd=null;function qd(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 Jd(e,t,n){switch(t=Dd(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 Yd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ot(e)}var Xd=new Map,Zd=new Set;function Qd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var $d=F.d;F.d={f:ef,r:tf,D:af,C:of,L:sf,m:cf,X:uf,S:lf,M:df};function ef(){var e=$d.f(),t=lu();return e||t}function tf(e){var t=ct(e);t!==null&&t.tag===5&&t.type===`form`?ts(t):$d.r(e)}var nf=typeof document>`u`?null:document;function rf(e,t,n){var r=nf;if(r&&typeof t==`string`&&t){var i=Lt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Zd.has(i)||(Zd.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Cd(t,`link`,e),dt(t),r.head.appendChild(t)))}}function af(e){$d.D(e),rf(`dns-prefetch`,e,null)}function of(e,t){$d.C(e,t),rf(`preconnect`,e,t)}function sf(e,t,n){$d.L(e,t,n);var r=nf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Lt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Lt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Lt(n.imageSizes)+`"]`)):i+=`[href="`+Lt(e)+`"]`;var a=i;switch(t){case`style`:a=pf(e);break;case`script`:a=_f(e)}Xd.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Xd.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(mf(a))||t===`script`&&r.querySelector(vf(a))||(t=r.createElement(`link`),Cd(t,`link`,e),dt(t),r.head.appendChild(t)))}}function cf(e,t){$d.m(e,t);var n=nf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Lt(r)+`"][href="`+Lt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=_f(e)}if(!Xd.has(a)&&(e=f({rel:`modulepreload`,href:e},t),Xd.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(vf(a)))return}r=n.createElement(`link`),Cd(r,`link`,e),dt(r),n.head.appendChild(r)}}}function lf(e,t,n){$d.S(e,t,n);var r=nf;if(r&&e){var i=ut(r).hoistableStyles,a=pf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(mf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Xd.get(a))&&xf(e,n);var c=o=r.createElement(`link`);dt(c),Cd(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,bf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function uf(e,t){$d.X(e,t);var n=nf;if(n&&e){var r=ut(n).hoistableScripts,i=_f(e),a=r.get(i);a||(a=n.querySelector(vf(i)),a||(e=f({src:e,async:!0},t),(t=Xd.get(i))&&Sf(e,t),a=n.createElement(`script`),dt(a),Cd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function df(e,t){$d.M(e,t);var n=nf;if(n&&e){var r=ut(n).hoistableScripts,i=_f(e),a=r.get(i);a||(a=n.querySelector(vf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=Xd.get(i))&&Sf(e,t),a=n.createElement(`script`),dt(a),Cd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function ff(e,t,n,r){var a=(a=ce.current)?Qd(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=pf(n.href),n=ut(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=pf(n.href);var o=ut(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(mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Xd.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},Xd.set(e,n),o||gf(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=_f(n),n=ut(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 pf(e){return`href="`+Lt(e)+`"`}function mf(e){return`link[rel="stylesheet"][`+e+`]`}function hf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function gf(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}),Cd(t,`link`,n),dt(t),e.head.appendChild(t))}function _f(e){return`[src="`+Lt(e)+`"]`}function vf(e){return`script[async]`+e}function yf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Lt(n.href)+`"]`);if(r)return t.instance=r,dt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),dt(r),Cd(r,`style`,a),bf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=pf(n.href);var o=e.querySelector(mf(a));if(o)return t.state.loading|=4,t.instance=o,dt(o),o;r=hf(n),(a=Xd.get(a))&&xf(r,a),o=(e.ownerDocument||e).createElement(`link`),dt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Cd(o,`link`,r),t.state.loading|=4,bf(o,n.precedence,e),t.instance=o;case`script`:return o=_f(n.src),(a=e.querySelector(vf(o)))?(t.instance=a,dt(a),a):(r=n,(a=Xd.get(o))&&(r=f({},n),Sf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),dt(a),Cd(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,bf(r,n.precedence,e));return t.instance}function bf(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 xf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Sf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Cf=null;function wf(e,t,n){if(Cf===null){var r=new Map,i=Cf=new Map;i.set(n,r)}else i=Cf,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[at]||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 Tf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Ef(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 Df(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}var Of=null;function kf(){}function Af(e,t,n){if(Of===null)throw Error(i(475));var r=Of;if(t.type===`stylesheet`&&(typeof n.media!=`string`||!1!==matchMedia(n.media).matches)&&!(t.state.loading&4)){if(t.instance===null){var a=pf(n.href),o=e.querySelector(mf(a));if(o){e=o._p,typeof e==`object`&&e&&typeof e.then==`function`&&(r.count++,r=Mf.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=o,dt(o);return}o=e.ownerDocument||e,n=hf(n),(a=Xd.get(a))&&xf(n,a),o=o.createElement(`link`),dt(o);var s=o;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Cd(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=Mf.bind(r),e.addEventListener(`load`,t),e.addEventListener(`error`,t))}}function jf(){if(Of===null)throw Error(i(475));var e=Of;return e.stylesheets&&e.count===0&&Pf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Pf(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 Mf(){if(this.count--,this.count===0){if(this.stylesheets)Pf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Nf=null;function Pf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Nf=new Map,t.forEach(Ff,e),Nf=null,Mf.call(e))}function Ff(e,t){if(!(t.state.loading&4)){var n=Nf.get(e);if(n)var r=n.get(null);else{n=new Map,Nf.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=Mf.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 If={$$typeof:C,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function Lf(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=He(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=He(0),this.hiddenUpdates=He(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 Rf(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Lf(e,t,n,o,s,c,l,d),t=1,!0===a&&(t|=24),a=B(3,null,null,t),e.current=a,a.stateNode=e,t=ta(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ea(a),e}function zf(e){return e?(e=ii,e):ii}function Bf(e,t,n,r,i,a){i=zf(i),r.context===null?r.context=i:r.pendingContext=i,r=Oa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=ka(e,r,t),n!==null&&(iu(n,e,t),Aa(n,e,t))}function Vf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Hf(e,t){Vf(e,t),(e=e.alternate)&&Vf(e,t)}function Uf(e){if(e.tag===13){var t=ti(e,67108864);t!==null&&iu(t,e,67108864),Hf(e,67108864)}}var Wf=!0;function Gf(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=2,qf(e,t,n,r)}finally{F.p=a,P.T=i}}function Kf(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=8,qf(e,t,n,r)}finally{F.p=a,P.T=i}}function qf(e,t,n,r){if(Wf){var i=Jf(r);if(i===null)fd(e,t,r,Yf,n),op(e,r);else if(cp(i,e,t,n,r))r.stopPropagation();else if(op(e,r),t&4&&-1<ap.indexOf(e)){for(;i!==null;){var a=ct(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ie(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ae(o);s.entanglements[1]|=c,o&=~c}Gu(a),!(K&6)&&(Wl=ve()+500,Ku(0,!1))}}break;case 13:s=ti(a,2),s!==null&&iu(s,a,2),lu(),Hf(a,2)}if(a=Jf(r),a===null&&fd(e,t,r,Yf,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else fd(e,t,r,null,n)}}function Jf(e){return e=$t(e),Xf(e)}var Yf=null;function Xf(e){if(Yf=null,e=st(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 Yf=e,null}function Zf(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(ye()){case be:return 2;case xe:return 8;case Se:case Ce:return 32;case we:return 268435456;default:return 32}default:return 32}}var Qf=!1,$f=null,ep=null,tp=null,np=new Map,rp=new Map,ip=[],ap=`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 op(e,t){switch(e){case`focusin`:case`focusout`:$f=null;break;case`dragenter`:case`dragleave`:ep=null;break;case`mouseover`:case`mouseout`:tp=null;break;case`pointerover`:case`pointerout`:np.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:rp.delete(t.pointerId)}}function sp(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=ct(t),t!==null&&Uf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function cp(e,t,n,r,i){switch(t){case`focusin`:return $f=sp($f,e,t,n,r,i),!0;case`dragenter`:return ep=sp(ep,e,t,n,r,i),!0;case`mouseover`:return tp=sp(tp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return np.set(a,sp(np.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,rp.set(a,sp(rp.get(a)||null,e,t,n,r,i)),!0}return!1}function lp(e){var t=st(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,Xe(e.priority,function(){if(n.tag===13){var e=nu();e=qe(e);var t=ti(n,e);t!==null&&iu(t,n,e),Hf(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 up(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jf(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Qt=r,n.target.dispatchEvent(r),Qt=null}else return t=ct(n),t!==null&&Uf(t),e.blockedOn=n,!1;t.shift()}return!0}function dp(e,t,n){up(e)&&n.delete(t)}function fp(){Qf=!1,$f!==null&&up($f)&&($f=null),ep!==null&&up(ep)&&(ep=null),tp!==null&&up(tp)&&(tp=null),np.forEach(dp),rp.forEach(dp)}function pp(e,n){e.blockedOn===n&&(e.blockedOn=null,Qf||(Qf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,fp)))}var mp=null;function hp(e){mp!==e&&(mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){mp===e&&(mp=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(Xf(r||n)===null)continue;break}var a=ct(n);a!==null&&(e.splice(t,3),t-=3,$o(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function gp(e){function t(t){return pp(t,e)}$f!==null&&pp($f,e),ep!==null&&pp(ep,e),tp!==null&&pp(tp,e),np.forEach(t),rp.forEach(t);for(var n=0;n<ip.length;n++){var r=ip[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<ip.length&&(n=ip[0],n.blockedOn===null);)lp(n),n.blockedOn===null&&ip.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[$e]||null;if(typeof a==`function`)o||hp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[$e]||null)s=o.formAction;else if(Xf(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),hp(n)}}}function _p(e){this._internalRoot=e}vp.prototype.render=_p.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;Bf(n,nu(),e,t,null,null)},vp.prototype.unmount=_p.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bf(e.current,2,null,e,null,null),lu(),t[et]=null}};function vp(e){this._internalRoot=e}vp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ye();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ip.length&&t!==0&&t<ip[n].priority;n++);ip.splice(n,0,e),n===0&&lp(e)}};var yp=n.version;if(yp!==`19.1.0`)throw Error(i(527,yp,`19.1.0`));F.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:d(e),e=e===null?null:e.stateNode,e};var bp={bundleType:0,version:`19.1.0`,rendererPackageName:`react-dom`,currentDispatcherRef:P,reconcilerVersion:`19.1.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var xp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xp.isDisabled&&xp.supportsFiber)try{De=xp.inject(bp),Oe=xp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Bs,s=Vs,c=Hs,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=Rf(e,1,!1,null,null,n,r,o,s,c,l,null),e[et]=t.current,ud(e),new _p(t)}})),_=o(((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=g()}));u();var v=c(d()),y=_(),b=o((e=>{var t=Symbol.for(`react.transitional.element`);function n(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.jsx=n})),x=o(((e,t)=>{t.exports=b()}))();(0,y.createRoot)(document.getElementById(`root`)).render((0,x.jsx)(v.default,{...window.__SERVER_DATA__||{}}));