diff --git a/reader/dist/assets/index-jPnQ2s5e.js b/reader/dist/assets/index-CnZdeEjV.js similarity index 97% rename from reader/dist/assets/index-jPnQ2s5e.js rename to reader/dist/assets/index-CnZdeEjV.js index 1bd8b90..44b75b1 100644 --- a/reader/dist/assets/index-jPnQ2s5e.js +++ b/reader/dist/assets/index-CnZdeEjV.js @@ -57,11 +57,11 @@ Error generating stack: `+n.message+` * @license MIT */var op="popstate";function Ty(a={}){function u(r,o){let{pathname:f,search:p,hash:m}=r.location;return Oc("",{pathname:f,search:p,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function s(r,o){return typeof o=="string"?o:iu(o)}return wy(u,s,null,a)}function Ne(a,u){if(a===!1||a===null||typeof a>"u")throw new Error(u)}function Ut(a,u){if(!a){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function Ry(){return Math.random().toString(36).substring(2,10)}function fp(a,u){return{usr:a.state,key:a.key,idx:u}}function Oc(a,u,s=null,r){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof u=="string"?Jl(u):u,state:s,key:u&&u.key||r||Ry()}}function iu({pathname:a="/",search:u="",hash:s=""}){return u&&u!=="?"&&(a+=u.charAt(0)==="?"?u:"?"+u),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function Jl(a){let u={};if(a){let s=a.indexOf("#");s>=0&&(u.hash=a.substring(s),a=a.substring(0,s));let r=a.indexOf("?");r>=0&&(u.search=a.substring(r),a=a.substring(0,r)),a&&(u.pathname=a)}return u}function wy(a,u,s,r={}){let{window:o=document.defaultView,v5Compat:f=!1}=r,p=o.history,m="POP",b=null,h=g();h==null&&(h=0,p.replaceState({...p.state,idx:h},""));function g(){return(p.state||{idx:null}).idx}function R(){m="POP";let D=g(),q=D==null?null:D-h;h=D,b&&b({action:m,location:k.location,delta:q})}function E(D,q){m="PUSH";let Z=Oc(k.location,D,q);h=g()+1;let G=fp(Z,h),te=k.createHref(Z);try{p.pushState(G,"",te)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;o.location.assign(te)}f&&b&&b({action:m,location:k.location,delta:1})}function U(D,q){m="REPLACE";let Z=Oc(k.location,D,q);h=g();let G=fp(Z,h),te=k.createHref(Z);p.replaceState(G,"",te),f&&b&&b({action:m,location:k.location,delta:0})}function T(D){let q=o.location.origin!=="null"?o.location.origin:o.location.href,Z=typeof D=="string"?D:iu(D);return Z=Z.replace(/ $/,"%20"),Ne(q,`No window.location.(origin|href) available to create URL for href: ${Z}`),new URL(Z,q)}let k={get action(){return m},get location(){return a(o,p)},listen(D){if(b)throw new Error("A history only accepts one active listener");return o.addEventListener(op,R),b=D,()=>{o.removeEventListener(op,R),b=null}},createHref(D){return u(o,D)},createURL:T,encodeLocation(D){let q=T(D);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:E,replace:U,go(D){return p.go(D)}};return k}function Lp(a,u,s="/"){return Ay(a,u,s,!1)}function Ay(a,u,s,r){let o=typeof u=="string"?Jl(u):u,f=fn(o.pathname||"/",s);if(f==null)return null;let p=Hp(a);Oy(p);let m=null;for(let b=0;m==null&&b