import{s as d,V as u,W as c,h as f,d as o,$ as l,j as r,i as m,y as g,u as h}from"./scheduler.518119ed.js";import{S as v,i as _}from"./index.19865bf4.js";import"./theme.6edbb4df.js";import{h as k}from"./singletons.0ec5c7cc.js";const x=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function w(e){let t,n,a;return{c(){t=u("svg"),n=u("use"),this.h()},l(s){t=c(s,"svg",{class:!0,width:!0,height:!0});var i=f(t);n=c(i,"use",{"xlink:href":!0}),f(n).forEach(o),i.forEach(o),this.h()},h(){l(n,"xlink:href",a="#"+e[0]),r(t,"class","icon svelte-5yec89"),r(t,"width",e[1]),r(t,"height",e[1])},m(s,i){m(s,t,i),g(t,n)},p(s,[i]){i&1&&a!==(a="#"+s[0])&&l(n,"xlink:href",a),i&2&&r(t,"width",s[1]),i&2&&r(t,"height",s[1])},i:h,o:h,d(s){s&&o(t)}}}function p(e,t,n){let{name:a}=t,{size:s=20}=t;return e.$$set=i=>{"name"in i&&n(0,a=i.name),"size"in i&&n(1,s=i.size)},[a,s]}class z extends v{constructor(t){super(),_(this,t,p,w,d,{name:0,size:1})}}const L=k("after_navigate");function O(e){const t=e-1;return t*t*t+1}function I(e){return e===1?e:1-Math.pow(2,-10*e)}function C(e){return e/=.5,e<1?.5*e*e:(e--,-.5*(e*(e-2)-1))}function S(e){return--e*e*e*e*e+1}function T(e,t){const n=async a=>{e.contains(a.target)||t()};return document.addEventListener("click",n,!0),{destroy(){document.removeEventListener("click",n,!0)}}}function j(e,t){function n(a){e!=null&&e.contains(a.target)||t()}return document.addEventListener("focus",n,!0),{destroy(){document.removeEventListener("focus",n,!0)}}}export{z as I,L as a,S as b,T as c,O as d,I as e,j as f,x as g,C as q};
