diff --git a/404.html b/404.html new file mode 100644 index 0000000..2258272 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +
Skip to content

404

页面未找到

但是,如果你不改变方向,并且一直寻找,最终可能会到达你要去的地方。
\ No newline at end of file diff --git a/article/027o3g1x/index.html b/article/027o3g1x/index.html new file mode 100644 index 0000000..65f1473 --- /dev/null +++ b/article/027o3g1x/index.html @@ -0,0 +1,11 @@ +程序结构和执行
Skip to content

程序结构和执行

838字约3分钟

2024-11-02

AT&T汇编

指令 源操作数 目的操作数 描述内存中的位置 intel QWORD PTR[rbx] AT&T (%rbx)

16位数据 字 WORD 32位数据 双字 DWORD 64位数据 四字 QWORD

x86-64 提供了16个通用寄存器
rax eax ax al 返回值
rbx 被调用者保存 rcx 第四个参数 rdx 第三个参数 rsi esi si sil 第二个参数 rdi 第一个参数
rbp 栈底指针 r8 r8d r8w r8b 第五个参数 r9 第六个参数 r10 被调用者保存 ... r15 被调用者保存

mov 指令 MOV S D S->D 传送 源操作数是一个立即数,存储寄存器或内存中 目的操作数是一个"地址",也就是这个位置。它可以是寄存器或是内存地址 目的操作数指定为立即数时需要 movabsq指令 如 movabsq $0x0011223344556677 ,%rax %rax =0x0011223344556677 指令需要指明移动寄存器的部分大小(b,w,l,q) movl以寄存器为目的寄存器时会把寄存器的高四位设置为0

较小的原值移动到较大的目的地址 MOVS 以0填充高位 MOVZ 以符号位填充高位

cltq S R 符号位扩展%eax -> %rax

exampl movabsq$0x0011223344556677 ,%rax %rax =0x0011223344556677 movb $0xAA ,%dl %dl=AA 将立即数移动到寄存器rdx最低八位也就是dl movb %dl,%al %rax=0x00112233445566AA 将寄存器rdx的低八位%dl中的值移动到%al寄存器中 movsbq %dl ,%rax %rax=FFFFFFFFFFFFFFAA 跟据原字节最高位设置扩展 movzbq %dl,%rax %rax=00000000000000AA 零扩展

示例

long exchange (long *xo,long y){
+    long x=*xp;
+    *xp=y;
+    return x;
+}
long exchange(long *xp,long y) xp int %rdi,y in %rsi
+1 exchange:  
+2 moveq (%rdi),%rax   取%rdi地址指向的内存空间的值传送给%rax。xp是指针,指针的值在寄存器中,那么解引用指针得出指针指向的值,这个"解引用"的操作映射为(%rdi)
+3 movq %rsi,(%rdi)   作为对比这里不加括号,因为值就存储在%rsi寄存器中,取%rsi寄存器存储的值,移动到%rdi寄存器值所指向的内存中。
+4 ret

pushq S 栈指针减少8(指针大小) 将四字压入栈 因为栈是倒过来画的地址由高到低 等价于 subq $8 ,%rsp movq %rbq,(%rsp) popq D 栈指针加8 将四字弹出 等价于 movq (%rsp),%rax addq $8,%rsp

算数操作 leaq S, D D <-&S 把S的地址传送给D INC D D <-D+1 加1 DEC D D <-D-1 减1 NEG 取负 NOR 取补 ADD 加 SUB S,D D<-D+S 减 IMUL 乘
XOR 异或 OR 或 AND 与 SAL S,D D <-D<<k 左移 SHL 左移同上 SAR 算数右移 SHR 逻辑右移

leaq 指令 load effective address 是movq指令的变形,他将有效地址写入到目的操作数,是从内存读数据到寄存器 如 设 %rdx中值为x leaq 7(%rdx,%rdx,4),%rax 将%rax中的值设置为5x+7 例

long scale (long x,long y ,long z){
+    long t=x+4*y+12*z
+}

3.9.1

#例题3.46

3.1

%rax 0x100
0x104 0xAB
$0x108 0x108
(%rax) 0xFF
4(%rax) 0x103
9(%rcx,%rdx) 0x10c
260(%rcx,%rdx) 0x108
0xFC(,%rcx,4) 0x101
(%rax,rdx,4) 0x118

3.5

函数原型为 void decode1(long *xp,long *yp,long *zp) xp in %rdi yp in %rsi ,zp in % rdx

long xp1=*xp; long yp1=*xp; long zp1=*zp; *yp=xp1; *zp=yp1; *xp=zp1;

3.6

\ No newline at end of file diff --git a/article/72dkdlbu/index.html b/article/72dkdlbu/index.html new file mode 100644 index 0000000..b6e635b --- /dev/null +++ b/article/72dkdlbu/index.html @@ -0,0 +1,87 @@ +fast_io_sixfile
Skip to content

fast_io_sixfile

4094字约14分钟

2024-12-03

wine nt win32 posix c filebuf

c_file

c_file类创建出来的对象,它有个成员变量fp或者native_handle()方法(都一样)

using namespace ::fast_io::io;
+fast_io::c_file cf(u8"文件路径\\out\\cfile_test.txt", fast_io::open_mode::out);
+
+println(cf, "helloworld");//fastio print
+
+fprintf(cf.fp,"Hello %s\n", "World");//c api
+fprintf(cf.native_handle(), "cfile_test %s\n", "native_handle()");
+
+static_assert(sizeof(FILE*)==sizeof(c_file),"FILE* 大小与c_file相同")
+//fast_io::c_file_unlocked cf2(u8"hello2.txt", fast_io::open_mode::in|fast_io::open_mode::out|fast_io::open_mode::trunc);

FILE* fp=fopen(); fp通常再c编程中指代文件打开后返回的FILE* 文件指针 c_file就是一个C语言的FILE* 的包装,它有移动语义的,可以放进容器里,而且类型的大小,布局和FILE完全相同 c_file还有别的字符的版本,例如wc_file, u8c_file, u16c_file, u32c_file 这个就是自动管理FILE的类,自动关文件 很多代码的接口就只支持FILE* c_file可以用fast_io的api,也可以用C语言的api

c_file还有另一个类c_file_unlocked 因为c_file所有的操作都会上锁的 如果你不要上锁,那用c_file_unlocked 因为FILE*的操作在POSIX标准中是上锁的 你也可以手工锁

c_file cf;
+cf.lock();
+cf.unlock();
+
+c_file cf;
+std::lock_guard guard{cf};

不过你不用管 它都上锁的

只是说它提供api你可以手工锁

之后变成无锁版本来操作

这样就可以优化

或者你知道你不会多线程中使用这个FILE*

你可以直接用c_file_unlocked

如果是c_file

可以竞争读写

它所有操作都会上锁之后操作的

它就会调用这个

当然是跨平台的,帮你包装好了

windows上就调用win的win的

多线程同时读写同一个全局的c_file是没问题的

一个线程用c_file另一个用它的fp的FILE*也没问题

它用的是FILE自己的锁 C库提供的锁这个不是文件锁,只是FILE缓冲区的锁

提示

scan print第一个参数如果是io设备类型就从这里输入或者输出 否则从标准输入输出到输入输出呀

它是io缓冲区的锁 比如你使用C语言的printf stdio并不会直接把数据写盘的 一个io对象一个缓冲区呀

FILE *fp=fopen();
+c_file cf(fp);

c_file支持直接用FILE*构造

但你这里不能用c_file

因为你不想把stdout析构函数关掉吧

关掉就ub了 c_file cf(stdout);

语法上正确。但直接程序就炸了

因为析构函数把它关了

c_file一定执行析构的

但你现在手头上就有个FILE*

比如这里stdout

你就想对它用一下fast_io scan print这种api

FILE*直接不能放scan print里

所以你要用

c_io_observer ciob{fp}; print(ciob,"hello world");

用c_io_observer把它包装起来就行了 这个是个聚合类 它没有析构,也没定义复制移动,甚至没有构造方法

提示

c_file才关,c_io_observer只是观察者print不写设备就相当于写到c_io_observer{stdout}里,【锅楠阳叫兽】 scan同理 从c_io_observer{stdin}里读 因而它不存在C++流还需要与stdio同步的问题 它就是直接操作的C语言的FILE*

fast_io提供了c_stdout(),它就是c_io_observer{stdout} 但它保证noexcept的,效率会更高的 因为stdout很多C库没加noexcept 实际根本不可能抛出异常(兼容c函数的都是无条件noexcept 这是lakos规则但是编译器是否遵守不知道)

相关信息

u8c_io_observer 这就char8_t版本的FILE* FILE*本身并不提供char8_t的支持 但fast_io是支持的

filebuf_file

首先你需要include fast_io_legacy.h,表示C++流支持 legacy表示旧的东西

但如果看文件流的类方法 fstream 它有一个rdbuf() 返回的是std::filebuf* std::fstream继承了std::iostream 实际上就是在iostream上加了个std::filebuf 做设备 把上面虚方法重写让它去操作std filebuf std::filebuf你是可以直接用的 第二种文件了。叫fast_io::filebuf_file 和前面c_file的用法是一样的,不过filebuf_file是没有锁的,它不能多线程同时使用的

using namespace ::fast_io::io;
+fast_io::filebuf_file fbf(u8"D:\\workfile\\c++ try\\fastio_study\\out\\filebuf_test.txt", fast_io::open_mode::out);
+println(fbf, "filebuf_test");

这个文件就是一个std::filebuf的包装器了 就像c_file是FILE的包装器 它是new/delete打开关闭std::filebuf的 FILE*是用fopen fclose 这里是用的new new std::filebuf 它也只有一个成员fb,或者native_handle()方法

提示

注意,这里是fb 不是fp fb是std::filebuf的file buf的简称 fp是FILE Pointer的简称

它的作用是与C++流互相操作 操作C++流 就像c_file操作C语言FILE*

fast_io::filebuf_file fbf("hello.txt", fast_io::open_mode::out);
+std::ostream myosm(fbf.fb);
+myosm<<"Hello World from std::ostream\n";
+print(fbf,"Hello World from fast_io print\n");

这样你就得到了一个ostream,或者你用istream,iostream都行 这里有个问题,当然能ostream自然好,可如果某个api就要std::fstream怎么办呢 std::fstream并没有这个方法 构造方法不能接受一个std::streambuf* 因为它把std::filebuf绑定在std::fstream对象里了

所以要这么写

 fast_io::filebuf_file fbf("hello.txt", fast_io::open_mode::out);
+std::ofstream fout;
+ *fout.rdbuf()=std::move(*fbf.fb);

得这么写 才能让它变成std::ofstream 这样就把fast_io::filebuf_file里的std::filebuf移动给标准库文件流了 去做缓冲了 因而之后你就不可以再使用这个fast_io::filebuf_file了 再用就得用fast_io::filebuf_io_observer了 就像c_io_observer一样

fbf.fb是什么

它的成员呀 它只有一个成员就是fb 类型是std::filebuf*

class filebuf_file
+{
+public:
+//析构移动,还有构造方法略
+std::filebuf* fb{};
+};

它就是这样的 当然具体细节还有别的比如char_type之类我就没列出来

比如你现在手头有个std::ifstream std::ofstream 或 std::fstream 你怎么用fast_io操作它呢? 就和刚才有个FILE*你用c_io_observer操作一样

操作一个fstream

用fast_io

如果只是std::streambuf*,那你用fast_io::streambuf_io_observer,如果std::filebuf*那显然最好了

用fast_io::filebuf_io_observer

不然你得动态转换 将streambuf* 动态转换成filebuf* 你要不在乎它只是filebuf,那就用streambuf_io_observer就行

fs.rdbuf()

我都说了它是对std::filebuf*操作,不是对流本身操作了

fstream ifstream ofstream的rdbuf()方法都是返回这个std::filebuf*的

std::fstream fs("D:\\workfile\\c++ try\\fastio_study\\out\\file_buf_test2.txt", std::ios::in | std::ios::out| std::ios::trunc);
+fast_io::filebuf_io_observer obf(fs.rdbuf());
+println(obf, "file_buftest2");

反过来用fast_io::filebuf_file构造std::fstream呢?

还记得么

fast_io::filebuf_file fbf(u8"D:\\workfile\\c++ try\\fastio_study\\out\\filebuf_test3.txt", fast_io::open_mode::in | fast_io::open_mode::out | fast_io::open_mode::trunc);
+std::ostream myosm(fbf.fb);
+myosm << "file_buftest3 from std::ostream\n";
+println(fbf, "file_buftest3 from fast_io print");
+
+
+std::string str{ "file_buftest4_str" };
+fast_io::filebuf_file fbf(u8"D:\\workfile\\c++ try\\fastio_study\\out\\filebuf_test4.txt", fast_io::open_mode::in | fast_io::open_mode::out | fast_io::open_mode::trunc);
+fast_io::filebuf_io_observer obf2(fbf);
+
+std::fstream fs("D:\\workfile\\c++ try\\fastio_study\\out\\filebuf_test_fstream.txt", std::ios::in | std::ios::out | std::ios::trunc);
+fs << str;
+*fs.rdbuf() = std::move(*fbf.fb);
+fs << str;

把filebuf_file里的filebuf移动给文件流本身的filebuf 之后再操作这个fstream的时候就只能filebuf_io_observer了,不能再对filebuf_file操作了

提示

一般C艹的流api都是接受ostream istream这种的 所以一般并不需要必须构造fstream出来 只是就怕哪个脑抽api规定就要fstream 那你就只能移动了

你不是有一个filebuf_io_observer么 它可以强转成c_io_observer或者c_io_observer_unlocked static_cast 这样就能让文件流变成C的FILE*来操作

fast_io::filebuf_file fbf(u8"D:\\workfile\\c++ try\\fastio_study\\out\\filebuf_to_cfile.txt", fast_io::open_mode::in | fast_io::open_mode::out | fast_io::open_mode::trunc);
+fast_io::filebuf_io_observer obf(fbf);
+auto cf_io = static_cast<fast_io::c_io_observer>(obf);//单向
+println(cf_io, "static_cast filebuf_to_c_io\n");
+fprintf(cf_io.fp, "filebuf_to_cfile %s\n", "OOOO");
+println(fast_io::mnp::handlevw(cf_io.fp));
+println(fast_io::mnp::pointervw(cf_io.fp))

注意

只能从filebuf_io_observer向c_io_observer(_unlocked)强转

c_file才会关文件 c_io_observer是不管的

提示

fast_io::mnp里的都是操纵符 pointervw 指针输出为16进制按你机器长度对齐 handlevw 指针或整型输出,指针输出为16进制按你机器长度对齐,整型输出成10进制不对齐 methodvw是输出方法(成员函数)指针的

cf_io.fp 因为它是FILE*,所以你当然可以直接对它使用fprintf呀 这个FILE* 不是我提供的,是C++流里本身就有的FILE* 我只是帮你提取出来 因为有些api只能对FILE用但不能对流用对吧 这样就能在流上使用FILE的api 但要注意flush再用,不然缓冲区会乱 因为它有两个缓冲了 搞了一大坨,最终就是个FILE包装器 因为它自己filebuf里有一个对吧 下面FILE本身还有一个 FILE是std::filebuf的一个私有或保护成员 三家标准库都是这么实现的 MSVC STL, GNU libstdc++, LLVM libc++都是用FILE去实现流的

关同步流是不是取消这两个同步 ios::sync_with_stdio(0),cin.tie(0),cout.tie(0) 不是 关流同步就没有用。因为线程不安全。就libstdc++实现了,别人都没实现 而且libstdc++关流同步就线程不安全了 所以一点屁用没有 libstdc++是改下面streambuf*绑定的类型 把它从__gnu_cxx::stdio_sync_filebuf改成绑定__gnu_cxx::stdio_filebuf 你也看到了,不管是哪个,都仍然是stdio

既然文件流是stdio FILE实现的 我能拿到里头的FILE 反过来,是不是能用一个FILE*去构造filebuf呢?

FILE* fp = fopen("D:\\workfile\\c++ try\\fastio_study\\out\\cfile_to_filebuf.txt", "wb");
+if (fp == nullptr) abort();//文件打开失败了
+fast_io::c_file cf(fp);
+print(cf, "cfile_to_filebuf I am fast_io::c_file\n");
+fast_io::filebuf_file fbf(std::move(cf), fast_io::open_mode::out);
+std::ostream fout(fbf.fb);
+fout << "cfile_to_filebuf FILE* from std::ostream\n";
+print(fbf, "Hello FILE* from fast_io::filebuf_file\n");

这不是把一个FILE* 变成流了么 你也可以变成fstream

Q:c_file能用file*构造,filebuf_file能用c_file构造,那为什么c_io_observer不能构造filebuf_io_observer

A:它没货呀 都observer了 怎么构造std::filebuf*? filebuf_file能用c_file构造, c_io_observer可以从filebuf_io_observer强转 下级向上级得移动,上级到下级才能强转 这有个层级问题呀 统一的规则 之后还有别的文件也是这个规则 因为流是用FILE* 实现的,因而流的层级比FILE*高一级 同样你不能用filebuf_file去构造c_file

Q:c_io_observer->fp->c_file->filebuf_file->filebuf_io_observer

A:这是不行的呀 c_io_observer->fp->c_file这一步就是错的 这不是二次释放了? observer是别人的 FILE*又不是你的 你能给它fclose了? io_observer的意思就是不能关 只是借用一下 所以你这过程是不成立的 要注意c层和filebuf层这两级的文件或io_observer都自带缓冲的 都是标准库已经有的 所以fast_io操作他们的时候性能比较快 而且可以读入 如果不带缓冲是不能读入的 输出也不是原地的 不是直接在缓冲区上输出的

posix_file

它的成员不叫fp也不叫fb,叫fd file descriptor 文件描述符 类型自然就是整型了

sizeof(posix_file)==sizeof(posix_io_observer)==sizeof(int)
+
+//用起来也一样了
+posix_file pf("posixfile.txt", fast_io::open_mode::out);
+print(pf,"Hello World\n");

fast_io又不管格式串 只是一个一个输出而已 因为unix上标准输入的文件描述符是0,输出是1,错误是2,因而你打开的文件自然它的fd就是3了 你可以调用POSIX write函数的windows上也能写成_write, _write(pf.fd,"hello\n",6); 同样fd可以用posix_io_observer包装了对吧 这和c_io_observer filebuf_io_observer 一样的呀 也有u8, w, u16, u32的版本 u8posix_io_observer版本比如说 u8posix_file posix层没有提供缓冲,所以读入字符串这种会丢弃字符的是不行的,输出的话也没缓冲,直接就走系统调用进内核了

Q:u8, w版本的io_observer能互相转换吗

A:可以。但不能直接强转

u8posix_io_observer u8piob{piob.fd};
+print(u8piob,u8"Hello World from u8\n");

posix, c, filebuf三层之间也是互相可以转化的 posix层显然是C层的下一层对吧 文件描述符实现文件指针,文件指针实现文件缓冲指针

posix层是c层的下层对吧 因而posix_file pf可以移动给c_file,也可以直接移动给filebuf_file 当然都需要加open_mode了 因为移动给filebuf_file就是先构造c_file出来再移动一次 因而如果你有一个fd,这样可以变成一个C++文件流了 也可以同时用fast_io的api来操作 fast_io会尽可能的高效的帮你来操作,比你手工调用函数是要高效的 你看这个也是unix api fdopen fast_io就会帮你调fdopen 用fdopen去打开FILE*

posix_file pf("posix_file.txt",fast_io::open_mode::out):
+filebuf_file fbf(std::move(pf),fast_io::open_mode::out);

提示

规则是下级向上级移动文件,上级向下级才能强转观察者

所以你可以用这个来得到fstream里的文件描述符 你把它变成filebuf_io_observer

filebuf_io_observer fiob{fout.rdbuf()};
+posix_io_observer piob{static_cast<posix_io_observer>(fiob)};
+println("fd in the ofstream fout is ",piob.fd);

这样就拿到里头的fd了 看懂了么 因为流是FILE* 实现的,FILE*是用fd实现的 因而fd是可以从流中拿到的

同样构造C层也是一样的

posix_file pf("posix_file.txt",fast_io::open_mode::out):
+c_file cf(std::move(pf),fast_io::open_mode::out);
+fprintf(cf.fp,"hello fd %d\n",pf.fd);
+
+//在windows上lf/crlf转换是posix层提供的,fast_io打开文件默认统一的二进制流,你如果要打开crlf的话就可以在posix层或以上打开文件的时候加fast_io::open_mode::out|fast_io::open_mode::text
+
+filebuf_file fbf("filebuf_file.txt",fast_io::open_mode::out|fast_io::open_mode::text);
+
+c_file cf("c_file.txt",fast_io::open_mode::out|fast_io::open_mode::text);
+posix_file pf("posix_file.txt",fast_io::open_mode::out|fast_io::open_mode::text);

win32

下面一个层级就是win32了 win32_io_observer win32_file posix下面 自然它的成员就叫handle 就是句柄了

因而win上fd和handle都有的,fd是用handle实现的 win32_file win32_io_observer u8win32_file u8win32_io_obsever一样的 win32可以加_9xa或者_ntw后缀。win32_file_9xa, win32_file_ntw. win32_file是win32_file_9xa还是win32_file_ntw取决于_WIN32_WINNT宏是否被定义。 比如你非得让它在windows95上能运行就9xa,只能在nt上运行就ntw 不然你就win32_file

A系9x内核, W系nt内核. CreateFileA只应在windows95/98/me上使用. CreateFileW只应在nt内核上使用 u8win32 file和win32 file 非要都兼容就得用A系,但nt内核上会乱码

既然是handle,你可以把win32_file当HANDLE的raii类,也可以用win32_io_observer去让一个HANDLE调用fast_io的print/scan对吧 和fd, fp, fb一样的呀 只不过这次是handle handle, fd, fp, fb

win32层是posix层的下层,posix层是win32的上层

因而你可以从上层强转观察者或者从下层构造上层文件对吧

posix_file pf("posix_file.txt",fast_io::open_mode::out):
+filebuf_file fbf(std::move(pf),fast_io::open_mode::out);
+//刚才posix是这样的对吧
+win32_file pf("win32_file.txt",fast_io::open_mode::out):
+filebuf_file fbf(std::move(pf),fast_io::open_mode::out);
+//用win32去构造posix的fd也是可以的
+win32_file pf("win32_file.txt",fast_io::open_mode::out):
+posix_file fbf(std::move(pf),fast_io::open_mode::out);
+
+//用win32去构造c的fp也是可以的
+win32_file wf("win32_file.txt",fast_io::open_mode::out):
+c_file cf(std::move(wf),fast_io::open_mode::out);
+fprintf(cf.fp,"hello win32 from C: %p\n", cf.fp);

这里直接改win32就行了

nt

下面的层叫nt层 这就是windows的系统调用层了 linux系统调用是稳定的。windows不稳定。windows用的是ntdll.dll来做的 ntdll.dll负责进行系统调用 因而叫nt_file nt_io_observer 成员也是handle 因而它不需要,也不能去移动给win32层。因为它也是handle win32是在kernel32.dll里的api,他们会去调用ntdll.dll里的api,叫NT API

nt_file nf("nt_file.txt",fast_io::open_mode::out):
+filebuf_file fbf(std::move(nt),fast_io::open_mode::out);

这样就可以直接从NT系统调用api去构造C++ fstream

nt_file nf("nt_file,txt",open_mode::out);
+win32_io_observer wiob{static_cast<win32_io_observer>(nf)};

观察者之间直接转就行 nt和win32虽然层级不同,却不用构造的 他们一样的

wine

nt层正常就进windows nt内核了 不过嘛,在比如linux上有wine你知道吧 wine会将nt api去用Linux上的api去实现 这就多了一层,wine层 wine_io_observer wine_file 叫host_fd,不过还没实现

这个就是让你能在linux的环境中直接调用wine宿主的api

native_file native_io_observer不过是fast_io选一层去当fast_io的默认实现

目前在除了windows(不含cygwin) 上是用的win32层,别的都用的posix层

而obuf_file不过是在native_file上加了个输出缓冲

native_file是根据你平台fast_io决定的,默认 要不然posix_file要不然win32_file

提示

建议选择ibuf_file 做输入输出 ibuf_file就是basic_ibuf<native_file> 就是native_file上面加个输入缓冲

\ No newline at end of file diff --git a/article/d3sghq29/index.html b/article/d3sghq29/index.html new file mode 100644 index 0000000..b8d2ec3 --- /dev/null +++ b/article/d3sghq29/index.html @@ -0,0 +1,7 @@ +fast_io_manipulators
Skip to content

fast_io_manipulators

243字小于1分钟

2024-12-04

就是比如浮点格式,场宽,整形基底什么的 就是一种类型改它输出方式 操纵符全被定义在fast_io的manipulators命名空间中 用户允许向这个命名空间加自己的操纵符 比如你要将整数16进制输出

size_t i=100;
+using namespace fast_io::mnp;
+println(hex(i));
+
+如果前面要有0x你hex0x
+base<36>(i)这是36进制输出
+println(base<基底>(i));

hex是不是base<16>的特化 还有oct, bin ,dec 把整数按地址格式输出就有addrvw(i)

你用操纵符,只是告诉fast_io让它类型能找到正确的 在编译时 它本身并不干活的 如果你要输出char const* cstr,你需要用os_c_str(cstr)或者os_c_str(cstr,n) 前者调用strlen得到长度,后者调用strnlen得到长度 如果要输出指针值,要用pointervw或handlevw 成员函数指针,要用methodvw

\ No newline at end of file diff --git a/article/j3e883z1/index.html b/article/j3e883z1/index.html new file mode 100644 index 0000000..becc6c4 --- /dev/null +++ b/article/j3e883z1/index.html @@ -0,0 +1,119 @@ +vscode_clang
Skip to content

vscode_clang

1165字约4分钟

2024-12-02

1.首先是下载,解压(注意使用管理员权限解压) 下载链接
2.将/.../llvm/bin/.../x86_64-windows-gnu/bin 路径添加到用户path 3.安装clangd插件 4.创建一个项目文件夹此处为helloproject,进入文件夹,右键打打开powershell 5.测试clang clang --version 测试cmake cmake --version 测试ninja ninja --version

编写一个最简单hello.cpp文件保存

首先编写CmakeLists.txt和CmakePresets.json

cmake_minimum_required(VERSION 3.5.0)
+
+set(CMAKE_CXX_STANDARD 23)
+set(CMAKE_CXX_STANDARD_REQUIRED true)
+set(CMAKE_CXX_EXTENSIONS OFF)
+
+project(hello)
+
+add_executable(hello hello.cpp)
{"version": 8,
+    "configurePresets": [
+        {
+            "name": "clang",
+            "hidden": false,
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build/${presetName}",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+                "CMAKE_C_COMPILER": "D:\\workfile\\compiler\\clang\\llvm\\bin\\clang.exe",
+                "CMAKE_CXX_COMPILER": "D:\\workfile\\compiler\\clang\\llvm\\bin\\clang++.exe",
+                "CMAKE_CXX_FLAGS": "--target=x86_64-windows-gnu --sysroot=D:\\workfile\\compiler\\clang\\x86_64-windows-gnu -fuse-ld=lld  -rtlib=compiler-rt -unwindlib=libunwind  -lc++abi -lunwind -lntdll -Wno-unused-command-line-argument  -fcolor-diagnostics -stdlib=libc++",
+                "CMAKE_C_FLAGS": "--target=x86_64-windows-gnu --sysroot=D:\\workfile\\compiler\\clang\\x86_64-windows-gnu -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind  -lc++abi -lunwind -lntdll -Wno-unused-command-line-argument -fcolor-diagnostics "
+            }
+        }
+    ]
+}

在当前项目文件夹下打开powershell,或使用vscode的终端,依次输入一下命令

cmake -Bbuild --preset clang .
+
+ninja -C build hello
+
+./hello

这就是完整的使用cmake和ninja的构建,并执行的过程。 准备工作做好后 首先开始配置vscode相关配置 1.taskjson taskjson相当于任务配置文件,而一个task任务相当于执行一个个命令行命令。把一个个命令行命令抽象成任务。 也就是说用taskjson中的任务代替你执行上述的命令 相比每次开始新项目时重新写taskjson,vscode支持配置默认任务。这是写在C:\Users<用户名>\AppData\Roaming\Code\User\profiles文件中的全局任务设置。

当然这里我们先选择配置任务而不是默认生成的任务,注意这个默认生成的任务是全局的.点击配置任务后,命令面板也就是出现的下拉框。如果之前没有配置本地任务,则会出现使用模板创建taskjson文件,点击后,选择Other后会在本地项目的文件夹下创建一个.vscode文件夹其中包含一个task.json文件。其中包含了vscode模板创建的任务一般为 echo Hello

  • helloproject
    • .vscode
      • task.json
    • build
    • Cmakefile
    • ...
    • .ninja_deps
    • .ninja_log
    • build.ninja
    • cmake_install.cmake
    • CmakeCache.txt
    • hello.exe
    • CmakeLists.txt
    • CmakePresets.json
    • hello.cpp

首先提供以下三个最基础的代替上述命令的任务

"version": "2.0.0",
+    "tasks": [
+        {
+            "type": "shell",
+            "label": "cmake-build",
+            "command": "cmake",
+            "args": [
+                "-Bbuild",
+                "--preset",
+                "clang",
+                "."
+            ],
+            "options": {
+                "cwd": "${workspaceFolder}/"
+            },
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            },
+            "detail": "cmake构建",
+            "problemMatcher": []
+        },
+        {
+            "type": "shell",
+            "label": "ninja-make",
+            "command": "ninja ",
+            "args": [
+                "-v"
+            ],
+            "options": {
+                "cwd": "${workspaceFolder}/build"
+            },
+            "problemMatcher": [],
+            "group": {
+                "kind": "build",
+                "isDefault": false
+            },
+            "detail": "ninja编译"
+        },
+        {
+            "label": "执行",
+            "type": "shell",
+            "command": "./hello",
+            "options": {
+                "cwd": "${workspaceFolder}/"
+            },
+            "problemMatcher": [],
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            },
+            "detail": "执行exe",
+            "dependsOrder": "sequence",
+            "dependsOn": [
+                "cmake-build",
+                "ninja-make"
+            ]
+        }
+    ]

保存task.json文件后点击vscode的任务栏的终端选项,点击运行任务。在出现的下拉框中点击执行 $env:path.split(";")

clang++ -o main.exe main.cpp --target=x86_64-windows-msvc --sysroot=D:\workfile\compiler\windows-msvc-sysroot -fuse-ld=lld -D_DLL=1 -lmsvcrt -flto=thin


+-L<dir>, --library-directory <arg>, --library-directory=<arg>
+Add directory to library search path
+
+-flto-jobs=<arg>
+Controls the backend parallelism of -flto=thin (default of 0 means the number of threads will be derived from the number of CPUs detected)
+
+-flto=<arg>, -flto (equivalent to -flto=full), -flto=auto (equivalent to -flto=full), -flto=jobserver (equivalent to -flto=full)
+Set LTO mode. <arg> must be thin or full.
+
+-fuse-ld=lld 指定链接器为lld
+
+-rtlib=compiler-rt 指定[低级运行时库](https://compiler-rt.llvm.org/)
+
+
+-unwindlib=libunwind 这玩意不支持windows系统时是给 elf格式文件用的 参考[这个](https://github.com/libunwind/libunwind)
+
+指定栈回退的库确定 ELF 程序执行线程的当前调用链,并在该调用链的任意点恢复执行。主要是处理异常和调用栈(debug)
+
+-unwindlib=<arg>, --unwindlib=<arg>
+Unwind library to use. <arg> must be libgcc,unwindlib or platform.
+
+-lunwind 链接unwind库
+
+-lc++abi  链接cxxabi 库 这玩意是为了生成的abi兼容 libc++abi is a new implementation of low level support for a standard C++ library.
+简单说就是libc++的底层实现比如异常的一些[玩意](https://libcxxabi.llvm.org/)
+
+
+-lntdll ntdll 是windows的内核dll NT Layer DLL  包含一些系统调用 异常处理等功能
+
+
+-stdlib=<arg>, --stdlib=<arg>, --stdlib <arg>
+C++ standard library to use. <arg> must be libc++,libstdc++ or platform.

-Wno-unused-command-line-argument 关闭未使用参数的警告

cmake --build . 在build文件夹下编译项目

cmake --build ./build -t(--target) <目标>

ninja -C build 两步操作1.进入build文件夹2.编译项目

ninja -C build <目标>同上

在build文件夹下 ninja -t clean 清除构建文件

ninja <目标> 编译对应项目 有时你的引入的库依赖太多文件 此时只构建你的目标文件

ninja -v 详细模式构建所有目标

\ No newline at end of file diff --git a/article/j3qgcpng/index.html b/article/j3qgcpng/index.html new file mode 100644 index 0000000..bc00499 --- /dev/null +++ b/article/j3qgcpng/index.html @@ -0,0 +1,75 @@ +c++编程语言第四版
Skip to content

c++编程语言第四版

3683字约12分钟

2024-11-02

导言

本文是The Cpp Programming Language 4th edition的学习记录

If you find this "lightning tour" confusing, skip to the more systematic presentation starting in Chapter 6

总的来说前五张只是速览,并不该纠结于细节问题

The Basics

首先一如其他编程或计算机书籍一样,一个从源码到可执行文件的流程图介绍。不过这里本老爹也借此重申了所谓c++的兼容性

When we talk about portability of C++ programs, we usually mean portability of source code; that is, the source code can be successfully compiled and run on a variety of systems

也就是说谈论兼容性说的是源码兼容,一份符合c++标准的源码应该可以保证在任何所支持平台和对应版本的编译器编译的。尽管这是常识,不过我还是写这里用作提醒。 然后本老爹引入一个名词实体

The ISO C++ standard defines two kinds of entities:
• Core language features, such as built-in types (e.g., char and int) and loops (e.g., for-statements and while-statements)
• Standard-library components, such as containers (e.g., vector and map) and I/O operations (e.g., << and getline())

不过这里和cppreference所述的实体有些出入。我不知为何*语句(statement)*也被划入实体的范畴。不过相比"对象"这个概念,实体确实很少有人去讨论或表述。就我的理解实体就是在c++程序中能被操作或识别的事物。他是真实存在的概念但不必通过占用内存,执行操作之类事件观测他的存在。

C++ is a statically typed language. That is, the type of every entity (e.g., object, value, name, and expression) must be known to the compiler at its point of use. The type of an object determines the set of operations applicable to it

我觉得这是很有用的一句话。因为接受这句话或许能帮助我解决初学c++时期的一些困惑。我个人认为它和我之后所认识到的严格别名优化或通过union进行类型转换所造成的UB相关。

Every C++ program must have exactly one global function named main(). The program starts by executing that function. The int value returned by main(), if any, is the program’s return value to "the system." If no value is returned, the system will receive a value indicating successful completion.

这段话或许能从所有c++相关书籍中都能找到。尽管如此我还是摘抄下来,因为后面本老爹给出了一个有趣的例子。之后本老爹解释了一段经典helloworld程序中每个字符的意思.这里对于稍微接触过C++的人来说应该都没什么好看的。

Every name and every expression has a type that determines the operations that may be performed on it
A declaration is a statement that introduces a name into the program. It specifies a type for the named entity:
• A type defines a set of possible values and a set of operations (for an object).
• An object is some memory that holds a value of some type.
• A value is a set of bits interpreted according to a type.
• A variable is a named object

这里很清楚的说明了一个"名字"或者说id-expression,和表达式都有其类型来指定它所能执行的操作。也就是说表达式也有其类型。声明是向程序中引入一个名字,这个名字指代所声明类型的实体.这里更细致的说明可能要引入标识符(identifier)的概念,不过对初学者可能没有必要。剩下五句解释很简单,不过其中引入了对象的概念,不过这里本老爹似乎是因为前文叙述了阅读此部分的要求而没有解释。

Each fundamental type corresponds directly to hardware facilities and has a fixed size that determines the range of values that can be stored it

这里没什么好说的每个基础类型都有其硬件表示。不过这里如果不是基本类型似乎可以扩展到值表示对象表示的概念上。

A char variable is of the natural size to hold a character on a given machine (typically an 8-bit byte), and the sizes of other types are quoted in multiples of the size of a char. The size of a type is implementation-defined (i.e., it can vary among different machines) and can be obtained by the sizeof operator; for example, sizeof(char) equals 1 and sizeof(int) is often 4

这一大段我认为很重要也很容易被人忽略。直接说就是char类型所占用字节数是由实现定义的,不过通常为8。也有例外,有些平台一个char类型占9个字节比如PDP-11。c++为了实现其兼容性这里不作规定似乎是很重要的一点。每个类型都为char类型大小的整数倍, 这里似乎能为unsigned char数组作存储重用和进行类型转换埋下伏笔。

之后介绍了c++基本类型所能做的操作,也简单的介绍了一下类型转换,即在不同类型进行赋值和计算操作时,类型会做相应的转换。

double d = 2.2; //初始化浮点数
+int i = 7; // 初始化整数
+d = d+i; // 求和赋值给d
+i=d∗i; // 将产生的值赋值给i(将双精度浮点数截断转换为整型)

C++ offers a variety of notations for expressing initialization, such as the = used above, and a universal form based on curly-brace-delimited initializer lists

简单的说c++提供了花括号初始化器,是得我们在初始化变量时(定义),可以这么写

double d1 = 2.3;
+double d2 {2.3};
+complex<double> z = 1; // a complex number with double-precision floating-point scalars
+complex<double> z2 {d1,d2};
+complex<double> z3 = {1,2}; // the = is optional with { ... }
+vector<int> v {1,2,3,4,5,6};

使用花括号初始化器需要注意一点的是它无法窄化转换。同时复制列表初始化器可以通过auto占位符推导到std::initializer_list,而直接列表初始化则不能。

A constant (§2.2.3) cannot be left uninitialized and a variable should only be left uninitialized in extremely rare circumstances

后一句的那种少部分情况应该能在嵌入式中看到。

Don’t introduce a name until you have a suitable value for it.

这里与我所作的一样,不同于c语言在进函数体开头就声明所需要的类型,而是在需要的地方声明他,应该有意识的控制所用变量的作用域。

We use auto where we don’t hav e a specific reason to mention the type explicitly. ‘‘Specific reasons’’ include:
• The definition is in a large scope where we want to make the type clearly visible to readers of our code.
• We want to be explicit about a variable’s range or precision (e.g., double rather than float)

本老爹给了两种情况对不使用auto的情况,其他情况都是能用则用。不过对于第二种因为重载运算符我们也可以使用auto来自动推导。同时auto也经常被用做泛型编程来避免写很长的类型名。在是否使用auto的问题上推荐herb的一篇文章GotW #94 Solution: AAA Style (Almost Always Auto)

//这里需要补充下例子
+auto i=0uz;//c++23可以这样。这样可以使用auto也清楚类型具体的精度(长度)

C++ supports two notions of immutability (§7.5):
• const: meaning roughly "I promise not to change this value"(§7.5). This is used primarily to specify interfaces, so that data can be passed to functions without fear of it being modified. The compiler enforces the promise made by const.
• constexpr: meaning roughly"to be evaluated at compile time"(§10.4). This is used primarily to specify constants, to allow placement of data in memory where it is unlikely to be corrupted, and for performance

尽管本老爹说这是大致意思,不过对初学者来说能够理解避很多错误,比如相当有部分的人喜欢修改常量表达式的值,或使用const_cast转换const引用的指针或引用以为这就可以直接修改所引用或指向的值了(假设所引用或指向对象同样拥有const 修饰)。并且这种和编译器的"承诺"也同时帮助编译器进行常量优化。此外constexpr的限定的函数在c++14之后也更放松,同时也引入了更为严格的constevl关键字来指定必须进行编译器计算。cosntexpr修饰的函数不一定进行编译期求值,这是根据其中所使用的变量和传递的参数是否为常量表达式决定的,因此我们不必同一个功能的函数仅仅因为是否常量求值而写两个版本。在经常使用常量表达式的地方,这里只举了三个例子如模板参数,case标签,数组边界。同时编译期求值是除了性能考虑,不变性的概念是非常的设计考量。关于不变性,后面在关于类的设计中本老爹会叙述。

2.2.4与2.2.5章节作者的叙述通俗易懂相对简单,不过其中一个例子很重要

char  a[6]="hello";
+char* p=&a[0];
+char* p2=a;//数组隐式转换到指针 
+//地址相同

单看初始化表达式的子表达式也应该知道这两不是得到的不是一个类型,不过数组隐式转化到指针丢失了长度信息。我们不能因为单纯的地址相同,汇编相同等实现原因来直接断言两个抽象的类型或操作是一样的。同时,鉴于之前有人直接将数组复制给另一个数组妄图进行每个元素的复制。书上这个例子也暗示了不能这样做,所以直接写了一个for循环进行赋值。或使用std::array

//Consider copying ten elements from one array to another:
+void copy_fct()
+{
+int v1[10] = {0,1,2,3,4,5,6,7,8,9};
+int v2[10]; // to become a copy of v1
+v2=v1 //error
+for (auto i=0; i!=10; ++i) // copy elements
+v2[i]=v1[i];
+// ...
+}

同时介绍的这个c++11的范围for循环也很有用,我们可以不用指定边界。对于任意序列我们都可以

void print()
+{
+int v[] = {0,1,2,3,4,5,6,7,8,9};
+for (auto x : v) // for each x in v
+cout << x << '\n';
+for (auto x : {10,21,32,43,54,65})
+cout << x << '\n';
+for (auto& x : {10,21,32,43,54,65}) //我不想单纯的复制序列中的元素而是希望引用,使用auto&这样的写法
+cout << ++x << '\n';  
+// ...
+}

这里的任意序列可以用很多种形式如std::iota(1,10),std::vector,std::array,std::map等标准库容器都支持范围for语句。

通常我们需要让声明的指针指向一个有效类型的地址,这样解引用才不会无效。不过有时我们也需要一个不属于任何对象的地址,nullptr。nullptr可以对任意指针类型使用,不过在一些老的c风格代码中使用0或NULL表示空指针。

double∗ pd = nullptr;
+Link<Record>∗ lst = nullptr; // pointer to a Link to a Record
+int x = nullptr; // error : nullptr is a pointer not an integer

像内建类型一样使用自定义类型

当我们使用struct或class构建自定义类型时我更希望像内建类型一样使用,不过为了实现这一步也走过许多弯路

struct A {int a,int b};
+A* ptr=(A*)malloc(sizeof(A));
+ptr->a=10;
+ptr->b=11;        //c风格写法
+
+class stack{
+/*member*/
+};
+class stack * ptr2 =new stack //c with class 其中new是构建函数不同于现在的new运算符
+
+struct vector{        //一个朴素的想法
+    double*p;
+    int elem;
+void vector_init(vector &v,int s){
+    v.p=new double[s];
+    v.elem=s;
+}
+vector v;
+vector_init(v,5);
+};

class和struct关键字的区别仅在于默认的访问控制符和继承时的默认控制。

尽管将数据与操作分离有一些数据处理的优势,但正如前文所说c++作为静态语言每个类型除了必要的数据还拥有可以对自身执行的操作集合。我们既然希望像内建类型一样使用自定义类这是必不可少的。由此引入的class关键字更像是不单单数据集合而是对某个具体事物的抽象。其中诞生了构造函数,至此我们可以这样声明自定义类型vector:

class Vector {
+public:
+Vector(int s) :elem{new double[s]}, sz{s} { } // 构造函数
+double& operator[](int i) { return elem[i]; } // 下标访问
+int size() { return sz; }
+private:
+double∗ elem; 
+int sz; s
+};
+Vector vec(6); //像内建类型一样使用。

这个和类同名的函数为构造函数,它不用声明返回类型,或者说它的返回类型就是类本身的类型。由此通过构造函数替换上诉例子中的成员函数vector_init(),与普通函数不同的是构造函数保证被用来初始化对象,也就是说想要构造类对象必须经过构造函数完成其初始化。同样的上诉:elem{new double[s]}, sz{s} 语法为成员初始化器列表,这样我们不用在函数体内进行初始化操作了。同时注意成员初始化器列表的初始化顺序按成员声明顺序进行,也就是说elme的初始化一定早于sz。同时这里应该引入错误处理的概念,不过为了简化,略过。

注意:emun和emun class的区别

enum class Color { red, blue , green };
+enum  Traffic_light { green, yellow, red };
+int i = Color::red; // 错误不能隐式转换
+Color c = 2; // 错误2不是Color类型
+int b=Traffic_light::red;//可以

默认的枚举体enum 只能进行赋值,初始化,相等性比较操作。但用户自定义类型的可以通过重载实现更多操作。

Traffic_light& operator++(Traffic_light& t)
+{
+switch (t) {
+case Traffic_light::green: return t=Traffic_light::yellow;
+case Traffic_light::yellow: return t=Traffic_light::red;
+case Traffic_light::red: return t=Traffic_light::green;
+}
+}
+Traffic_light light=Traffic_light::red;
+Traffic_light next = ++light; // next becomes Traffic_light::green;

模块化,分离编译,命名空间,错误处理,异常略过。

不变式(Invariants)

程序运行中一直保持为真的前提条件。比如上诉原文异常标题下,使用异常捕获out_of_range。程序运行中数组的索引始终处于[0,size)范围内,或 elme始终是指向 double [size]的指针,类似这样的陈述这就是类中的不变式。不变式的概念是c++中通过构造和析构函数管理内存的基本概念。

Often, a function has no way of completing its assigned task after an exception is thrown.Then, "handling"an exception simply means doing some minimal local cleanup and rethrowing the exception

通常函数无法完成分配任务时需要抛出异常,并且处理剩余的清理工作。异常是RAII的关键概念。

静态断言略过。

\ No newline at end of file diff --git a/article/jaovy4gg/index.html b/article/jaovy4gg/index.html new file mode 100644 index 0000000..7c96711 --- /dev/null +++ b/article/jaovy4gg/index.html @@ -0,0 +1,90 @@ +搭建vscode-cpp环境
Skip to content

搭建vscode-cpp环境

1157字约4分钟

2024-07-03

准备工作

1.下载VScode 2.Windows环境下载mingw64
下载链接
3.解压缩x86-64 w64-mingw32
4.D:\workfile\gcc15\x86_64-w64-mingw32\bin
D:\workfile\gcc15\x86_64-w64-mingw32\lib
D:\workfile\gcc15\x86_64-w64-mingw32\lib32 添加至用户环境变量PATH
5.打开下载c++插件

Cmake搭配Vscode

前提介绍

1.CMakePresets.json:用于指定整个项目的构建细节,json中包含

name
+预设的名称,一般用表示平台或编译期的版本名字;
+
+vendor
+可选内容,提供供应商的信息,Cmake一般不管除非有所谓映射(不用管)
+
+displayName
+此预设的个性化名词(无关紧要)一般有编译期名字代替如"GCC 15.0.0 x86_64-w64-mingw32"
+
+description
+自定义的描述(无关紧要)一般使用本地编译期所在路径描述
+
+steps
+A required array of objects describing the steps of the workflow. The first step must be a configure preset, and all subsequent steps must be non- configure presets whose configurePreset field matches the starting configure preset. Each object may contain the following fields:
+
+type
+A required string. The first step must be configure. Subsequent steps must be either build, test, or package.
+
+name
+A required string representing the name of the configure, build, test, or package preset to run as this workflow step.

2.CmakeLists.txt:告诉Cmake如何构建你的项目

构建CmakeLists

1.打开Vscode的命令面板 (Ctrl+Shift+P) 并运行CMake: Quick Start命令
2.输入项目名称,选择c++作为项目语言
3.暂时选择CTest作为测试支持
4.选择Executable作为项目类型时,创建包含main函数的mian.cpp文件 Note:当然想要创建头文件或基础资源时可选择Library

创建 CMakePresets.json

1.选择 添加新的预设值和从编译器创建
note:该扩展可自动扫描计算机上的工具包,并创建系统中发现的编译器列表。 2.根据你想要编译器选择 3.输入预设的名字 完成这些步骤后,您就拥有了一个完整的 hello world CMake 项目,其中包含以下文件: main.cpp, CMakeLists.txt, and CMakePresets.json.

创建一个项目

tasks.json (构建指导)
launch.json (debugger 设置)
c_cpp_properties.json (编译器路径与智能感知设置)

首次运行程序时,C++ 扩展会创建一个 tasks.json 文件,您可以在项目的 .vscode 文件夹中找到该文件。tasks.json 会存储您的构建配置

{
+  "tasks": [
+    {
+      "type": "cppbuild",
+      "label": "C/C++: g++.exe build active file",
+      "command": "C:\\msys64\\ucrt64\\bin\\g++.exe",
+      "args": [
+        "-fdiagnostics-color=always",
+        "-g",
+        "${file}",
+        "-o",
+        "${fileDirname}\\${fileBasenameNoExtension}.exe"
+      ],
+      "options": {
+        "cwd": "${fileDirname}"
+      },
+      "problemMatcher": ["$gcc"],
+      "group": {
+        "kind": "build",
+        "isDefault": true
+      },
+      "detail": "Task generated by Debugger."
+    }
+  ],
+  "version": "2.0.0"
+}

使用cmake

cmakelist配置

生成动态库

1.有如下目录结构

>cmake_study  
+    |          
+    |__lib  
+    |__testFunc  
+        |__testFunc.c  
+        |__test2.h
# 新建变量SRC_LIST
+set(SRC_LIST ${PROJECT_SOURCE_DIR}/testFunc/testFunc.c)
+
+# 对 源文件变量 生成动态库 testFunc_shared
+add_library(testFunc_shared SHARED ${SRC_LIST})
+# 对 源文件变量 生成静态库 testFunc_static
+add_library(testFunc_static STATIC ${SRC_LIST})
+
+# 设置最终生成的库的名称
+set_target_properties(testFunc_shared PROPERTIES OUTPUT_NAME "testFunc")
+set_target_properties(testFunc_static PROPERTIES OUTPUT_NAME "testFunc")
+
+# 设置库文件的输出路径
+set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

1.add_library:生成动态库或静态库
第1个参数:指定库的名字
第2个参数:决定是动态还是静态,如果没有就默认静态
第3个参数:指定生成库的源文件
2.set_target_properties:设置最终生成的库的名称,还有其它功能,如设置库的版本号等等
3.LIBRARY_OUTPUT_PATH:库文件的默认输出路径,这里设置为工程目录下的lib目录

前面使用set_target_properties重新定义了库的输出名称,如果不使用set_target_properties也可以,那么库的名称就是add_library里定义的名称,只是连续2次使用add_library指定库名称时(第一个参数),这个名称不能相同,而set_target_properties可以把名称设置为相同,只是最终生成的库文件后缀不同(一个是.so,一个是.a.win中为dll),这样相对来说会好看点

链接库

有如下文件路径

cmake_study
+    |
+    |__bin
+    |__build
+    |__src
+    |__test
+        |__inc
+        |   |__test1.h
+        |__lib
+            |__test2.lib
+            |__tets2.dll
+   cmakelist.txt
# 输出bin文件路径
+set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
+
+# 将源代码添加到变量
+set(src_list ${PROJECT_SOURCE_DIR}/src/main.c)
+
+# 添加头文件搜索路径
+include_directories(${PROJECT_SOURCE_DIR}/testFunc/inc)
+
+# 在指定路径下查找库,并把库的绝对路径存放到变量里
+find_library(TESTFUNC_LIB testFunc HINTS ${PROJECT_SOURCE_DIR}/testFunc/lib)
+
+# 执行源文件
+add_executable(main ${src_list})
+
+# 把目标文件与库文件进行链接
+target_link_libraries(main ${TESTFUNC_LIB})

PRIVATE 关键字表明 fmt 仅在生成 HelloWorld 时需要,不应传播到其他依赖项目

cmake 命令速览

cmake -Bbuild -GNinja -S. 以ninja生成 以 当前目录为源码 构建目录为build(如果没有就新建)

cmake -Bbuild -GNinja -S.. 在build文件夹下执行

ninja 在build文件夹下执行

贡献者: ImoutoCon1999
\ No newline at end of file diff --git a/article/oy4qci0t/index.html b/article/oy4qci0t/index.html new file mode 100644 index 0000000..6c3db00 --- /dev/null +++ b/article/oy4qci0t/index.html @@ -0,0 +1 @@ +llvm链接时优化
Skip to content

llvm链接时优化

14字小于1分钟

2024-12-07

\ No newline at end of file diff --git a/article/pc9qmrqh/index.html b/article/pc9qmrqh/index.html new file mode 100644 index 0000000..cf475f1 --- /dev/null +++ b/article/pc9qmrqh/index.html @@ -0,0 +1 @@ +win下的生成工具
Skip to content

win下的生成工具

95字小于1分钟

2024-12-07

dumpbin工具的使用

1)查看它的输入信息,可以看到加载的dll及dll函数

dumpbin /dependents xxx.exe # 简化版,到加载的dll dumpbin -imports xxx.exe # 可以看到dll及dll函数 2)列出导出函数

dumpbin /dependents xxx.dll dumpbin –exports xxx.dll

llvm 工具

llvm-objdump -x xxx.exe 列出引用的所有头文件

\ No newline at end of file diff --git a/article/vqkwmfa2/index.html b/article/vqkwmfa2/index.html new file mode 100644 index 0000000..434c839 --- /dev/null +++ b/article/vqkwmfa2/index.html @@ -0,0 +1,2 @@ +c#随记
Skip to content

c#随记

346字约1分钟

2024-12-04

System.Collections.Generic c#中的泛型集合

Thread C#线程分前台线程和后台线程,前台线程需要进程等待其结束,而后台进程在前台进程执行完 后进程结束时自动中止。

public bool IsBackground { get; set; }

提示

默认情况下 主线程,所有通过Thread构造函数构造的线程都为前台线程(IsBackground返回false) 由运行时提供的线程池线程,从非托管代码进入托管执行环境的所有线程为后台线程

相关信息

类型版本
.NETCore 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard2.0, 2.1
public static bool Yield ();

让出当前线程的时间片给,由操作系统选择其他线程。 仅限于执行调用线程的处理器。 操作系统不会将执行切换到另一个处理器,即使该处理器处于空闲状态或正在运行优先级较低的线程也是如此。 如果没有其他线程已准备好在当前处理器上执行,则操作系统不会生成执行,此方法返回 false 此方法等效于使用平台调用调用本机 Win32 SwitchToThread 函数。

[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+public void Start ();

启动线程

\ No newline at end of file diff --git a/article/wpu7x9jw/index.html b/article/wpu7x9jw/index.html new file mode 100644 index 0000000..f67cdcf --- /dev/null +++ b/article/wpu7x9jw/index.html @@ -0,0 +1,126 @@ +搭建vscode-cpp环境
Skip to content

搭建vscode-cpp环境

2267字约8分钟

2024-11-05

前提介绍

因为本文使用的编译器为Cqwrteur编译的编译器,所以相比mingw-w64的安装包缺少在linux上的常用构建工具makefile,且因为直接解压缩没有写入注册表,环境变量需要读者自己配置。 本文采用ninja作为构建工具,Cmake作为生成.ninja的项目管理工具。

准备工作

1.下载VScode,ninja,Cmake
2.Windows环境下载mingw64
下载链接
3.解压缩x86-64 w64-mingw32
4.添加至用户环境变量PATH
D:\workfile\gcc15\x86_64-w64-mingw32\bin
D:\workfile\gcc15\x86_64-w64-mingw32\lib
D:\workfile\gcc15\x86_64-w64-mingw32\lib32
5.下载c++插件 alt text

Vscode搭配Cmake

首先需要了解Vscode配置的三个重要的json文件,当然你也可以选择手动在命令行输入编译指令与构建命令.

task.json

1.创建一个文件夹vscodestudy,一个main.cpp文件,在文件中复制下列代码

#include<iostream>
+
+int main(){
+    std::cout<<"hello world";
+}

2.由于你装了之前的CPP插件,右上角有一个三角形的运行按钮,点击;在vscode上方的任务栏中会出现默认生成的任务供你选择。我们选择第二个任务[1]alt text
alt text
这是根据你本地安装的编译器,且在用户变量中配置后,vscode检测到生成的,本文中使用mingw-w64(GCC)编译器,所以只出现了g++相关配置,之后插件会自动生成task.json文件[1:1]
3.这样就拥有了一个单文件的编译器
4.深入了解task.json
ide的本质还是在终端调用对应编译器的命令来进行编译的,task.json文件就是帮我们在终端进行命令的输出,读者可以在vscode下方的终端中输入 g++ -g main.cpp -o main.exe命令来手动编译。

{
+    "tasks": [
+        {
+            "type": "cppbuild",
+            "label": "C/C++: g++.exe 生成活动文件",
+            "command": "D:\...\x86_64-w64-mingw32\\bin\\g++.exe",
+            "args": [
+                "-fdiagnostics-color=always",
+                "-g",
+                "${file}",
+                "-o",
+                "${fileDirname}\\${fileBasenameNoExtension}.exe"
+            ],
+            "options": {
+                "cwd": "${fileDirname}"
+            },
+            "problemMatcher": [
+                "$gcc"
+            ],
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            },
+            "detail": "调试器生成的任务。"
+        }
+    ],
+    "version": "2.0.0"
+}

如上是自动生成的task.json,因为插件的原因,当鼠标触碰到对应字段上会显示对应字段的意义,以下选取一些进行讲解. 1.type为自定义的任务类型,当前只需要了解有默认生成的cppbuild,shell,process就好。对于自定义任务,这可以是shell或process。如果指定shell,则该命令将解释为 shell 命令(例如:bash、cmd 或 PowerShell)。如果process指定,则该命令被解释为要执行的进程 2.lable任务标签,你可以按你喜欢的方式取名字
3.command实际执行的命令,如果你像环境变量添加了某些路径那么不需要将完整路径写出,如上文的 g++ -g ...
4.args 不是必要的,某些命令就不需要参数,如执行在本地exe程序 ./main.exe,你可以直接写入在commnd中而不需要任何参数
5.

task.json具体参数

常见问题:

正在启动生成...
+cmd /c chcp 65001>nul && D:\workfile\gcc15\x86_64-w64-mingw32\bin\gcc.exe -fdiagnostics-color=always -g C:\Users\Yuzhiy\Desktop\vscodestudy\main.cpp -o C:\Users\Yuzhiy\Desktop\vscodestudy\main.exe
+D:/workfile/gcc15/x86_64-w64-mingw32/bin/../lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\Yuzhiy\AppData\Local\Temp\cc0yAYeW.o: in function `main':
+C:/Users/Yuzhiy/Desktop/vscodestudy/main.cpp:4:(.text+0x1f): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
+D:/workfile/gcc15/x86_64-w64-mingw32/bin/../lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\Yuzhiy\AppData\Local\Temp\cc0yAYeW.o:main.cpp:(.rdata$.refptr._ZSt4cout[.refptr._ZSt4cout]+0x0): undefined reference to `std::cout'
+collect2.exe: error: ld returned 1 exit status

3.Q:task.json中的传递给编译器的参数行(args)中的-fdiagnostics-color=always参数是什么意思? A:-fdiagnostics-color=always 即总是输出颜色代码,由于vscode的任务栏中的输出不是真正的终端,是由js文件渲染的伪终端,需要将g++输出的信息渲染为带颜色的输出

1.CMakePresets.json:用于指定整个项目的构建细节,json中包含

name
+预设的名称,一般用表示平台或编译期的版本名字;
+
+vendor
+可选内容,提供供应商的信息,Cmake一般不管除非有所谓映射(不用管)
+
+displayName
+此预设的个性化名词(无关紧要)一般有编译期名字代替如"GCC 15.0.0 x86_64-w64-mingw32"
+
+description
+自定义的描述(无关紧要)一般使用本地编译期所在路径描述
+
+steps
+A required array of objects describing the steps of the workflow. The first step must be a configure preset, and all subsequent steps must be non- configure presets whose configurePreset field matches the starting configure preset. Each object may contain the following fields:
+
+type
+A required string. The first step must be configure. Subsequent steps must be either build, test, or package.
+
+name
+A required string representing the name of the configure, build, test, or package preset to run as this workflow step.

2.CmakeLists.txt:告诉Cmake如何构建你的项目

构建CmakeLists

1.打开Vscode的命令面板 (Ctrl+Shift+P) 并运行CMake: Quick Start命令
2.输入项目名称,选择c++作为项目语言
3.暂时选择CTest作为测试支持
4.选择Executable作为项目类型时,创建包含main函数的mian.cpp文件 Note:当然想要创建头文件或基础资源时可选择Library

创建 CMakePresets.json

1.选择 添加新的预设值和从编译器创建
note:该扩展可自动扫描计算机上的工具包,并创建系统中发现的编译器列表。 2.根据你想要编译器选择 3.输入预设的名字 完成这些步骤后,您就拥有了一个完整的 hello world CMake 项目,其中包含以下文件: main.cpp, CMakeLists.txt, and CMakePresets.json.

创建一个项目

tasks.json (构建指导)
launch.json (debugger 设置)
c_cpp_properties.json (编译器路径与智能感知设置)

首次运行程序时,C++ 扩展会创建一个 tasks.json 文件,您可以在项目的 .vscode 文件夹中找到该文件。tasks.json 会存储您的构建配置

{
+  "tasks": [
+    {
+      "type": "cppbuild",
+      "label": "C/C++: g++.exe build active file",
+      "command": "C:\\msys64\\ucrt64\\bin\\g++.exe",
+      "args": [
+        "-fdiagnostics-color=always",
+        "-g",
+        "${file}",
+        "-o",
+        "${fileDirname}\\${fileBasenameNoExtension}.exe"
+      ],
+      "options": {
+        "cwd": "${fileDirname}"
+      },
+      "problemMatcher": ["$gcc"],
+      "group": {
+        "kind": "build",
+        "isDefault": true
+      },
+      "detail": "Task generated by Debugger."
+    }
+  ],
+  "version": "2.0.0"
+}

使用cmake

cmakelist配置

生成动态库

1.有如下目录结构

>cmake_study  
+    |          
+    |__lib  
+    |__testFunc  
+        |__testFunc.c  
+        |__test2.h
# 新建变量SRC_LIST
+set(SRC_LIST ${PROJECT_SOURCE_DIR}/testFunc/testFunc.c)
+
+# 对 源文件变量 生成动态库 testFunc_shared
+add_library(testFunc_shared SHARED ${SRC_LIST})
+# 对 源文件变量 生成静态库 testFunc_static
+add_library(testFunc_static STATIC ${SRC_LIST})
+
+# 设置最终生成的库的名称
+set_target_properties(testFunc_shared PROPERTIES OUTPUT_NAME "testFunc")
+set_target_properties(testFunc_static PROPERTIES OUTPUT_NAME "testFunc")
+
+# 设置库文件的输出路径
+set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

1.add_library:生成动态库或静态库
第1个参数:指定库的名字
第2个参数:决定是动态还是静态,如果没有就默认静态
第3个参数:指定生成库的源文件
2.set_target_properties:设置最终生成的库的名称,还有其它功能,如设置库的版本号等等
3.LIBRARY_OUTPUT_PATH:库文件的默认输出路径,这里设置为工程目录下的lib目录

前面使用set_target_properties重新定义了库的输出名称,如果不使用set_target_properties也可以,那么库的名称就是add_library里定义的名称,只是连续2次使用add_library指定库名称时(第一个参数),这个名称不能相同,而set_target_properties可以把名称设置为相同,只是最终生成的库文件后缀不同(一个是.so,一个是.a.win中为dll),这样相对来说会好看点

链接库

有如下文件路径

cmake_study
+    |
+    |__bin
+    |__build
+    |__src
+    |__test
+        |__inc
+        |   |__test1.h
+        |__lib
+            |__test2.lib
+            |__tets2.dll
+   cmakelist.txt
# 输出bin文件路径
+set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
+
+# 将源代码添加到变量
+set(src_list ${PROJECT_SOURCE_DIR}/src/main.c)
+
+# 添加头文件搜索路径
+include_directories(${PROJECT_SOURCE_DIR}/testFunc/inc)
+
+# 在指定路径下查找库,并把库的绝对路径存放到变量里
+find_library(TESTFUNC_LIB testFunc HINTS ${PROJECT_SOURCE_DIR}/testFunc/lib)
+
+# 执行源文件
+add_executable(main ${src_list})
+
+# 把目标文件与库文件进行链接
+target_link_libraries(main ${TESTFUNC_LIB})

PRIVATE 关键字表明 fmt 仅在生成 HelloWorld 时需要,不应传播到其他依赖项目

cmake 命令速览

cmake -Bbuild -GNinja -S. 以ninja生成 以 当前目录为源码 构建目录为build(如果没有就新建)

cmake -Bbuild -GNinja -S.. 在build文件夹下执行

ninja 在build文件夹下执行


  1. 为什么选择第二个呢?我们创建的文件中使用了c++的标准库<iostream>所以需要创建以第二个任务编译器g++而不是gcc。如果你不小心点击了第一个任务并运行,则你肯定会在vscode下端的终端中获得如下报错,如果你不小心就是点击到了第一个任务,你可以选择编辑当前vscode打开的文件夹下的.vscode中的task.json文件,将'command'一行的最后一个gcc手动改为g++,并且为了避免混淆,将label行的C/C++: g++.exe 生成活动文件改为 g++或者你喜欢的名字` ↩︎ ↩︎

\ No newline at end of file diff --git a/article/xst10xfz/index.html b/article/xst10xfz/index.html new file mode 100644 index 0000000..48186e2 --- /dev/null +++ b/article/xst10xfz/index.html @@ -0,0 +1,63 @@ +fast_io_tutorials
Skip to content

fast_io_tutorials

235字小于1分钟

2024-12-02

打印自定义类型需要特化print_define

#include <fast_io.h>
+struct point
+{
+	int x{};
+	int y{};
+};
+
+template <typename char_type, typename output>
+void print_define(::fast_io::io_reserve_type_t<char_type, point>, output out, point const &p)
+{
+	if constexpr (::std::is_same_v<char_type, char>)
+	{
+		::fast_io::println(out, "(", p.x, ",", p.y, ")");
+	}
+	::fast_io::println("-----------------");
+}
+
+int main(){
+     ::fast_io::println(point{2, 5});
+}

结果

(2,5) -----------------

打印容器

 std::vector vec{1,2,3,4,5};
+ fast_io::println(::fast_io::mnp::rgvw(str, ","));

结果

1|2|3|4|5

打印带自定义类的容器

#include <fast_io.h>
+struct test_t
+{
+	constexpr test_t() noexcept
+		: content{}
+	{}
+	constexpr test_t(std::size_t i) noexcept
+		: content{i}
+	{}
+	constexpr test_t(test_t const &other) noexcept
+		: content{other.content}
+	{}
+	constexpr test_t &operator=(test_t const &other) noexcept
+	{
+		content = other.content;
+		return *this;
+	}
+	constexpr test_t(test_t &&other) noexcept
+		: content{other.content}
+	{}
+	constexpr test_t &operator=(test_t &&other) noexcept
+	{
+		content = other.content;
+		return *this;
+	}
+	constexpr ~test_t() noexcept
+	{}
+	std::size_t content;
+};
+
+template <typename char_type, typename out_type>
+inline constexpr void print_define(fast_io::io_reserve_type_t<char_type, test_t>, out_type out,test_t const &t) noexcept
+{
+	fast_io::operations::print_freestanding<false>(out, t.content);
+}
+int main(){
+    std::vector v3{test_t{3}, test_t{4}, test_t{5}};
+	println("-----");
+
+	v3.insert(v3.begin(), 3);
+	println(fast_io::mnp::rgvw(v3, " "));
+	println("-----");
+}

结果

-----
3 3 4 5
-----

\ No newline at end of file diff --git a/assets/404.html-BwoBnKWK.js b/assets/404.html-BwoBnKWK.js new file mode 100644 index 0000000..6b19103 --- /dev/null +++ b/assets/404.html-BwoBnKWK.js @@ -0,0 +1 @@ +import{_ as e,c as o,e as n,o as r}from"./app-Ih2NXXP0.js";const a={};function i(l,t){return r(),o("div",null,t[0]||(t[0]=[n("p",null,"404 Not Found",-1)]))}const s=e(a,[["render",i],["__file","404.html.vue"]]),c=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://github.com/Yuzhiy05/Yuzhiy05.github.io/404.html"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"readingTime":{"minutes":0.01,"words":3},"git":{},"autoDesc":true,"filePathRelative":null,"bulletin":false}');export{s as comp,c as data}; diff --git a/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 b/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 new file mode 100644 index 0000000..0acaaff Binary files /dev/null and b/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 differ diff --git a/assets/KaTeX_AMS-Regular-DMm9YOAa.woff b/assets/KaTeX_AMS-Regular-DMm9YOAa.woff new file mode 100644 index 0000000..b804d7b Binary files /dev/null and b/assets/KaTeX_AMS-Regular-DMm9YOAa.woff differ diff --git a/assets/KaTeX_AMS-Regular-DRggAlZN.ttf b/assets/KaTeX_AMS-Regular-DRggAlZN.ttf new file mode 100644 index 0000000..c6f9a5e Binary files /dev/null and b/assets/KaTeX_AMS-Regular-DRggAlZN.ttf differ diff --git a/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf b/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf new file mode 100644 index 0000000..9ff4a5e Binary files /dev/null and b/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf differ diff --git a/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff b/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff new file mode 100644 index 0000000..9759710 Binary files /dev/null and b/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff differ diff --git a/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 b/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 new file mode 100644 index 0000000..f390922 Binary files /dev/null and b/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 differ diff --git a/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff b/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff new file mode 100644 index 0000000..9bdd534 Binary files /dev/null and b/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff differ diff --git a/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 b/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 new file mode 100644 index 0000000..75344a1 Binary files /dev/null and b/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 differ diff --git a/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf b/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf new file mode 100644 index 0000000..f522294 Binary files /dev/null and b/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf differ diff --git a/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf b/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf new file mode 100644 index 0000000..4e98259 Binary files /dev/null and b/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf differ diff --git a/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff b/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff new file mode 100644 index 0000000..e7730f6 Binary files /dev/null and b/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff differ diff --git a/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 b/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 new file mode 100644 index 0000000..395f28b Binary files /dev/null and b/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 differ diff --git a/assets/KaTeX_Fraktur-Regular-CB_wures.ttf b/assets/KaTeX_Fraktur-Regular-CB_wures.ttf new file mode 100644 index 0000000..b8461b2 Binary files /dev/null and b/assets/KaTeX_Fraktur-Regular-CB_wures.ttf differ diff --git a/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 b/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 new file mode 100644 index 0000000..735f694 Binary files /dev/null and b/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 differ diff --git a/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff b/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff new file mode 100644 index 0000000..acab069 Binary files /dev/null and b/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff differ diff --git a/assets/KaTeX_Main-Bold-Cx986IdX.woff2 b/assets/KaTeX_Main-Bold-Cx986IdX.woff2 new file mode 100644 index 0000000..ab2ad21 Binary files /dev/null and b/assets/KaTeX_Main-Bold-Cx986IdX.woff2 differ diff --git a/assets/KaTeX_Main-Bold-Jm3AIy58.woff b/assets/KaTeX_Main-Bold-Jm3AIy58.woff new file mode 100644 index 0000000..f38136a Binary files /dev/null and b/assets/KaTeX_Main-Bold-Jm3AIy58.woff differ diff --git a/assets/KaTeX_Main-Bold-waoOVXN0.ttf b/assets/KaTeX_Main-Bold-waoOVXN0.ttf new file mode 100644 index 0000000..4060e62 Binary files /dev/null and b/assets/KaTeX_Main-Bold-waoOVXN0.ttf differ diff --git a/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 b/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 new file mode 100644 index 0000000..5931794 Binary files /dev/null and b/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 differ diff --git a/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf b/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf new file mode 100644 index 0000000..dc00797 Binary files /dev/null and b/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf differ diff --git a/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff b/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff new file mode 100644 index 0000000..67807b0 Binary files /dev/null and b/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff differ diff --git a/assets/KaTeX_Main-Italic-3WenGoN9.ttf b/assets/KaTeX_Main-Italic-3WenGoN9.ttf new file mode 100644 index 0000000..0e9b0f3 Binary files /dev/null and b/assets/KaTeX_Main-Italic-3WenGoN9.ttf differ diff --git a/assets/KaTeX_Main-Italic-BMLOBm91.woff b/assets/KaTeX_Main-Italic-BMLOBm91.woff new file mode 100644 index 0000000..6f43b59 Binary files /dev/null and b/assets/KaTeX_Main-Italic-BMLOBm91.woff differ diff --git a/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 b/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 new file mode 100644 index 0000000..b50920e Binary files /dev/null and b/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 differ diff --git a/assets/KaTeX_Main-Regular-B22Nviop.woff2 b/assets/KaTeX_Main-Regular-B22Nviop.woff2 new file mode 100644 index 0000000..eb24a7b Binary files /dev/null and b/assets/KaTeX_Main-Regular-B22Nviop.woff2 differ diff --git a/assets/KaTeX_Main-Regular-Dr94JaBh.woff b/assets/KaTeX_Main-Regular-Dr94JaBh.woff new file mode 100644 index 0000000..21f5812 Binary files /dev/null and b/assets/KaTeX_Main-Regular-Dr94JaBh.woff differ diff --git a/assets/KaTeX_Main-Regular-ypZvNtVU.ttf b/assets/KaTeX_Main-Regular-ypZvNtVU.ttf new file mode 100644 index 0000000..dd45e1e Binary files /dev/null and b/assets/KaTeX_Main-Regular-ypZvNtVU.ttf differ diff --git a/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf b/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf new file mode 100644 index 0000000..728ce7a Binary files /dev/null and b/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf differ diff --git a/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 b/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 new file mode 100644 index 0000000..2965702 Binary files /dev/null and b/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 differ diff --git a/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff b/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff new file mode 100644 index 0000000..0ae390d Binary files /dev/null and b/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff differ diff --git a/assets/KaTeX_Math-Italic-DA0__PXp.woff b/assets/KaTeX_Math-Italic-DA0__PXp.woff new file mode 100644 index 0000000..eb5159d Binary files /dev/null and b/assets/KaTeX_Math-Italic-DA0__PXp.woff differ diff --git a/assets/KaTeX_Math-Italic-flOr_0UB.ttf b/assets/KaTeX_Math-Italic-flOr_0UB.ttf new file mode 100644 index 0000000..70d559b Binary files /dev/null and b/assets/KaTeX_Math-Italic-flOr_0UB.ttf differ diff --git a/assets/KaTeX_Math-Italic-t53AETM-.woff2 b/assets/KaTeX_Math-Italic-t53AETM-.woff2 new file mode 100644 index 0000000..215c143 Binary files /dev/null and b/assets/KaTeX_Math-Italic-t53AETM-.woff2 differ diff --git a/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf b/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf new file mode 100644 index 0000000..2f65a8a Binary files /dev/null and b/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf differ diff --git a/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 b/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 new file mode 100644 index 0000000..cfaa3bd Binary files /dev/null and b/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 differ diff --git a/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff b/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff new file mode 100644 index 0000000..8d47c02 Binary files /dev/null and b/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff differ diff --git a/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 b/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 new file mode 100644 index 0000000..349c06d Binary files /dev/null and b/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 differ diff --git a/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff b/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff new file mode 100644 index 0000000..7e02df9 Binary files /dev/null and b/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff differ diff --git a/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf b/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf new file mode 100644 index 0000000..d5850df Binary files /dev/null and b/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf differ diff --git a/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf b/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf new file mode 100644 index 0000000..537279f Binary files /dev/null and b/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf differ diff --git a/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff b/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff new file mode 100644 index 0000000..31b8482 Binary files /dev/null and b/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff differ diff --git a/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 b/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 new file mode 100644 index 0000000..a90eea8 Binary files /dev/null and b/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 differ diff --git a/assets/KaTeX_Script-Regular-C5JkGWo-.ttf b/assets/KaTeX_Script-Regular-C5JkGWo-.ttf new file mode 100644 index 0000000..fd679bf Binary files /dev/null and b/assets/KaTeX_Script-Regular-C5JkGWo-.ttf differ diff --git a/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 b/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 new file mode 100644 index 0000000..b3048fc Binary files /dev/null and b/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 differ diff --git a/assets/KaTeX_Script-Regular-D5yQViql.woff b/assets/KaTeX_Script-Regular-D5yQViql.woff new file mode 100644 index 0000000..0e7da82 Binary files /dev/null and b/assets/KaTeX_Script-Regular-D5yQViql.woff differ diff --git a/assets/KaTeX_Size1-Regular-C195tn64.woff b/assets/KaTeX_Size1-Regular-C195tn64.woff new file mode 100644 index 0000000..7f292d9 Binary files /dev/null and b/assets/KaTeX_Size1-Regular-C195tn64.woff differ diff --git a/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf b/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf new file mode 100644 index 0000000..871fd7d Binary files /dev/null and b/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf differ diff --git a/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 b/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 new file mode 100644 index 0000000..c5a8462 Binary files /dev/null and b/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 differ diff --git a/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf b/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf new file mode 100644 index 0000000..7a212ca Binary files /dev/null and b/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf differ diff --git a/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 b/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 new file mode 100644 index 0000000..e1bccfe Binary files /dev/null and b/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 differ diff --git a/assets/KaTeX_Size2-Regular-oD1tc_U0.woff b/assets/KaTeX_Size2-Regular-oD1tc_U0.woff new file mode 100644 index 0000000..d241d9b Binary files /dev/null and b/assets/KaTeX_Size2-Regular-oD1tc_U0.woff differ diff --git a/assets/KaTeX_Size3-Regular-CTq5MqoE.woff b/assets/KaTeX_Size3-Regular-CTq5MqoE.woff new file mode 100644 index 0000000..e6e9b65 Binary files /dev/null and b/assets/KaTeX_Size3-Regular-CTq5MqoE.woff differ diff --git a/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf b/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf new file mode 100644 index 0000000..00bff34 Binary files /dev/null and b/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf differ diff --git a/assets/KaTeX_Size4-Regular-BF-4gkZK.woff b/assets/KaTeX_Size4-Regular-BF-4gkZK.woff new file mode 100644 index 0000000..e1ec545 Binary files /dev/null and b/assets/KaTeX_Size4-Regular-BF-4gkZK.woff differ diff --git a/assets/KaTeX_Size4-Regular-DWFBv043.ttf b/assets/KaTeX_Size4-Regular-DWFBv043.ttf new file mode 100644 index 0000000..74f0892 Binary files /dev/null and b/assets/KaTeX_Size4-Regular-DWFBv043.ttf differ diff --git a/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 b/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 new file mode 100644 index 0000000..680c130 Binary files /dev/null and b/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 differ diff --git a/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff b/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff new file mode 100644 index 0000000..2432419 Binary files /dev/null and b/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff differ diff --git a/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 b/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 new file mode 100644 index 0000000..771f1af Binary files /dev/null and b/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 differ diff --git a/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf b/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf new file mode 100644 index 0000000..c83252c Binary files /dev/null and b/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf differ diff --git a/assets/SearchBox-CGkexdzb.js b/assets/SearchBox-CGkexdzb.js new file mode 100644 index 0000000..9ac53c1 --- /dev/null +++ b/assets/SearchBox-CGkexdzb.js @@ -0,0 +1,7 @@ +var dt=Object.defineProperty;var ht=(o,e,t)=>e in o?dt(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var we=(o,e,t)=>ht(o,typeof e!="symbol"?e+"":e,t);import{g as J,h as de,t as ze,u as ft,n as pt,w as Oe,i as vt,_ as be,o as B,c as W,e as x,j as mt,k as gt,l as bt,m as yt,s as xe,p as Pe,q as wt,v as xt,x as _e,y as te,z as ae,A as _t,B as St,C as Et,D as It,E as kt,F as Tt,G as je,H as Nt,I as Ft,b as Se,J as Ot,K as Ct,L as Ve,M as Rt,N as Be,f as ne,O as se,P as Mt,T as At}from"./app-Ih2NXXP0.js";/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var Ze=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],fe=Ze.join(","),Xe=typeof Element>"u",U=Xe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,pe=!Xe&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},ve=function o(e,t){var n;t===void 0&&(t=!0);var s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),r=s===""||s==="true",i=r||t&&e&&o(e.parentNode);return i},Lt=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},et=function(e,t,n){if(ve(e))return[];var s=Array.prototype.slice.apply(e.querySelectorAll(fe));return t&&U.call(e,fe)&&s.unshift(e),s=s.filter(n),s},tt=function o(e,t,n){for(var s=[],r=Array.from(e);r.length;){var i=r.shift();if(!ve(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),c=a.length?a:i.children,l=o(c,!0,n);n.flatten?s.push.apply(s,l):s.push({scopeParent:i,candidates:l})}else{var h=U.call(i,fe);h&&n.filter(i)&&(t||!e.includes(i))&&s.push(i);var f=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),p=!ve(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(f&&p){var g=o(f===!0?i.children:f.children,!0,n);n.flatten?s.push.apply(s,g):s.push({scopeParent:i,candidates:g})}else r.unshift.apply(r,i.children)}}return s},nt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},K=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Lt(e))&&!nt(e)?0:e.tabIndex},Dt=function(e,t){var n=K(e);return n<0&&t&&!nt(e)?0:n},zt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},st=function(e){return e.tagName==="INPUT"},Pt=function(e){return st(e)&&e.type==="hidden"},jt=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Vt=function(e,t){for(var n=0;nsummary:first-of-type"),i=r?e.parentElement:e;if(U.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof s=="function"){for(var a=e;e;){var c=e.parentElement,l=pe(e);if(c&&!c.shadowRoot&&s(c)===!0)return We(e);e.assignedSlot?e=e.assignedSlot:!c&&l!==e.ownerDocument?e=l.host:e=c}e=a}if(Jt(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return We(e);return!1},Ut=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},Gt=function o(e){var t=[],n=[];return e.forEach(function(s,r){var i=!!s.scopeParent,a=i?s.scopeParent:s,c=Dt(a,i),l=i?o(s.candidates):a;c===0?i?t.push.apply(t,l):t.push(a):n.push({documentOrder:r,tabIndex:c,item:s,isScope:i,content:l})}),n.sort(zt).reduce(function(s,r){return r.isScope?s.push.apply(s,r.content):s.push(r.content),s},[]).concat(t)},Ht=function(e,t){t=t||{};var n;return t.getShadowRoot?n=tt([e],t.includeContainer,{filter:Ce.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:qt}):n=et(e,t.includeContainer,Ce.bind(null,t)),Gt(n)},Qt=function(e,t){t=t||{};var n;return t.getShadowRoot?n=tt([e],t.includeContainer,{filter:me.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=et(e,t.includeContainer,me.bind(null,t)),n},Q=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return U.call(e,fe)===!1?!1:Ce(t,e)},Yt=Ze.concat("iframe").join(","),Ee=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return U.call(e,Yt)===!1?!1:me(t,e)};/*! +* focus-trap 7.6.0 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function Zt(o,e,t){return(e=en(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function $e(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable})),t.push.apply(t,n)}return t}function Je(o){for(var e=1;e0){var n=e[e.length-1];n!==t&&n.pause()}var s=e.indexOf(t);s===-1||e.splice(s,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},tn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},nn=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},re=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},sn=function(e){return re(e)&&!e.shiftKey},rn=function(e){return re(e)&&e.shiftKey},Ue=function(e){return setTimeout(e,0)},qe=function(e,t){var n=-1;return e.every(function(s,r){return t(s)?(n=r,!1):!0}),n},ie=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s1?m-1:0),w=1;w=0)u=n.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},p=function(){if(i.containerGroups=i.containers.map(function(u){var d=Ht(u,r.tabbableOptions),m=Qt(u,r.tabbableOptions),v=d.length>0?d[0]:void 0,w=d.length>0?d[d.length-1]:void 0,S=m.find(function(F){return Q(F)}),T=m.slice().reverse().find(function(F){return Q(F)}),N=!!d.find(function(F){return K(F)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:N,firstTabbableNode:v,lastTabbableNode:w,firstDomTabbableNode:S,lastDomTabbableNode:T,nextTabbableNode:function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,L=d.indexOf(C);return L<0?A?m.slice(m.indexOf(C)+1).find(function(V){return Q(V)}):m.slice(0,m.indexOf(C)).reverse().find(function(V){return Q(V)}):d[L+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},g=function(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?g(d.shadowRoot):d},b=function(u){if(u!==!1&&u!==g(document)){if(!u||!u.focus){b(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,tn(u)&&u.select()}},y=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},_=function(u){var d=u.target,m=u.event,v=u.isBackward,w=v===void 0?!1:v;d=d||ce(m),p();var S=null;if(i.tabbableGroups.length>0){var T=l(d,m),N=T>=0?i.containerGroups[T]:void 0;if(T<0)w?S=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:S=i.tabbableGroups[0].firstTabbableNode;else if(w){var F=qe(i.tabbableGroups,function(ee){var ye=ee.firstTabbableNode;return d===ye});if(F<0&&(N.container===d||Ee(d,r.tabbableOptions)&&!Q(d,r.tabbableOptions)&&!N.nextTabbableNode(d,!1))&&(F=T),F>=0){var C=F===0?i.tabbableGroups.length-1:F-1,A=i.tabbableGroups[C];S=K(d)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else re(m)||(S=N.nextTabbableNode(d,!1))}else{var L=qe(i.tabbableGroups,function(ee){var ye=ee.lastTabbableNode;return d===ye});if(L<0&&(N.container===d||Ee(d,r.tabbableOptions)&&!Q(d,r.tabbableOptions)&&!N.nextTabbableNode(d))&&(L=T),L>=0){var V=L===i.tabbableGroups.length-1?0:L+1,oe=i.tabbableGroups[V];S=K(d)>=0?oe.firstTabbableNode:oe.firstDomTabbableNode}else re(m)||(S=N.nextTabbableNode(d))}}else S=h("fallbackFocus");return S},E=function(u){var d=ce(u);if(!(l(d,u)>=0)){if(ie(r.clickOutsideDeactivates,u)){a.deactivate({returnFocus:r.returnFocusOnDeactivate});return}ie(r.allowOutsideClick,u)||u.preventDefault()}},I=function(u){var d=ce(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var v,w=!0;if(i.mostRecentlyFocusedNode)if(K(i.mostRecentlyFocusedNode)>0){var S=l(i.mostRecentlyFocusedNode),T=i.containerGroups[S].tabbableNodes;if(T.length>0){var N=T.findIndex(function(F){return F===i.mostRecentlyFocusedNode});N>=0&&(r.isKeyForward(i.recentNavEvent)?N+1=0&&(v=T[N-1],w=!1))}}else i.containerGroups.some(function(F){return F.tabbableNodes.some(function(C){return K(C)>0})})||(w=!1);else w=!1;w&&(v=_({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),b(v||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},M=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=_({event:u,isBackward:d});m&&(re(u)&&u.preventDefault(),b(m))},P=function(u){(r.isKeyForward(u)||r.isKeyBackward(u))&&M(u,r.isKeyBackward(u))},D=function(u){nn(u)&&ie(r.escapeDeactivates,u)!==!1&&(u.preventDefault(),a.deactivate())},z=function(u){var d=ce(u);l(d,u)>=0||ie(r.clickOutsideDeactivates,u)||ie(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},O=function(){if(i.active)return Ke.activateTrap(s,a),i.delayInitialFocusTimer=r.delayInitialFocus?Ue(function(){b(f())}):b(f()),n.addEventListener("focusin",I,!0),n.addEventListener("mousedown",E,{capture:!0,passive:!1}),n.addEventListener("touchstart",E,{capture:!0,passive:!1}),n.addEventListener("click",z,{capture:!0,passive:!1}),n.addEventListener("keydown",P,{capture:!0,passive:!1}),n.addEventListener("keydown",D),a},q=function(){if(i.active)return n.removeEventListener("focusin",I,!0),n.removeEventListener("mousedown",E,!0),n.removeEventListener("touchstart",E,!0),n.removeEventListener("click",z,!0),n.removeEventListener("keydown",P,!0),n.removeEventListener("keydown",D),a},G=function(u){var d=u.some(function(m){var v=Array.from(m.removedNodes);return v.some(function(w){return w===i.mostRecentlyFocusedNode})});d&&b(f())},H=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(G):void 0,j=function(){H&&(H.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){H.observe(u,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),v=c(u,"checkCanFocusTrap");v||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=n.activeElement,d==null||d();var w=function(){v&&p(),O(),j(),m==null||m()};return v?(v(i.containers.concat()).then(w,w),this):(w(),this)},deactivate:function(u){if(!i.active)return this;var d=Je({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,j(),Ke.deactivateTrap(s,a);var m=c(d,"onDeactivate"),v=c(d,"onPostDeactivate"),w=c(d,"checkCanReturnFocus"),S=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var T=function(){Ue(function(){S&&b(y(i.nodeFocusedBeforeActivation)),v==null||v()})};return S&&w?(w(y(i.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),j(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),p(),O(),j(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?n.querySelector(m):m}),i.active&&p(),j(),this}},a.updateContainerElements(e),a};function cn(o,e={}){let t;const{immediate:n,...s}=e,r=J(!1),i=J(!1),a=p=>t&&t.activate(p),c=p=>t&&t.deactivate(p),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},f=de(()=>{const p=ze(o);return(Array.isArray(p)?p:[p]).map(g=>{const b=ze(g);return typeof b=="string"?b:ft(b)}).filter(pt)});return Oe(f,p=>{p.length&&(t=an(p,{...s,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),n&&a())},{flush:"post"}),vt(()=>c()),{hasFocus:r,isPaused:i,activate:a,deactivate:c,pause:l,unpause:h}}class Z{constructor(e,t=!0,n=[],s=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=s}static matches(e,t){const n=typeof t=="string"?[t]:t,s=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(s){let r=!1;return n.every(i=>s.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{const s=t.filter(r=>r.contains(n)).length>0;t.indexOf(n)===-1&&!s&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let s;try{const r=e.contentWindow;if(s=r.document,!r||!s)throw new Error("iframe inaccessible")}catch{n()}s&&t(s)}isIframeBlank(e){const t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let s=!1,r=null;const i=()=>{if(!s){s=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,s=>{n++,this.waitForIframes(s.querySelector("html"),()=>{--n||t()})},s=>{s||t()})}forEachIframe(e,t,n,s=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,a=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&s(a)};i||c(),r.forEach(l=>{Z.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(a++,n(h)),c()},c)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new Z(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){const s=e.compareDocumentPosition(n),r=Node.DOCUMENT_POSITION_PRECEDING;if(s&r)if(t!==null){const i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_FOLLOWING;if(i&a)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,s){let r=!1,i=!1;return s.forEach((a,c)=>{a.val===n&&(r=c,i=a.handled)}),this.compareNodeIframe(e,t,n)?(r===!1&&!i?s.push({val:n,handled:!0}):r!==!1&&!i&&(s[r].handled=!0),!0):(r===!1&&s.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,s){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,n,s)})})}iterateThroughNodes(e,t,n,s,r){const i=this.createIterator(t,e,s);let a=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,p=>this.checkIframeFilter(l,h,p,a),p=>{this.createInstanceOnIframe(p).forEachNode(e,g=>c.push(g),s)}),c.push(l);c.forEach(p=>{n(p)}),this.iframes&&this.handleOpenIframes(a,e,n,s),r()}forEachNode(e,t,n,s=()=>{}){const r=this.getContexts();let i=r.length;i||s(),r.forEach(a=>{const c=()=>{this.iterateThroughNodes(e,a,t,n,()=>{--i<=0&&s()})};this.iframes?this.waitForIframes(a,c):c()})}}let ln=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Z(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",s=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],a=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);a!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(c)})`,`gm${n}`),s+`(${this.processSynomyms(a)}|${this.processSynomyms(c)})`+s))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,s)=>{let r=s.charAt(n+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let s=[];return e.split("").forEach(r=>{n.every(i=>{if(i.indexOf(r)!==-1){if(s.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),s.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let n=this.opt.accuracy,s=typeof n=="string"?n:n.value,r=typeof n=="string"?[]:n.limiters,i="";switch(r.forEach(a=>{i+=`|${this.escapeStr(a)}`}),s){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(s=>{s.trim()&&t.indexOf(s)===-1&&t.push(s)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,s)=>s.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let n=0;return e.sort((s,r)=>s.start-r.start).forEach(s=>{let{start:r,end:i,valid:a}=this.callNoMatchOnInvalidRanges(s,n);a&&(s.start=r,s.length=i-r,t.push(s),n=i)}),t}callNoMatchOnInvalidRanges(e,t){let n,s,r=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),s=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&s-t>0&&s-n>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:s,valid:r}}checkWhitespaceRanges(e,t,n){let s,r=!0,i=n.length,a=t-i,c=parseInt(e.start,10)-a;return c=c>i?i:c,s=c+parseInt(e.length,10),s>i&&(s=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||s-c<0||c>i||s>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,s).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:s,valid:r}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,s=>{n.push({start:t.length,end:(t+=s.textContent).length,node:s})},s=>this.matchesExclude(s.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Z.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){const s=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(n-t);let a=document.createElement(s);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=r.textContent,r.parentNode.replaceChild(a,r),i}wrapRangeInMappedTextNode(e,t,n,s,r){e.nodes.every((i,a)=>{const c=e.nodes[a+1];if(typeof c>"u"||c.start>t){if(!s(i.node))return!1;const l=t-i.start,h=(n>i.end?i.end:n)-i.start,f=e.value.substr(0,i.start),p=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+p,e.nodes.forEach((g,b)=>{b>=a&&(e.nodes[b].start>0&&b!==a&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,r(i.node.previousSibling,i.start),n>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,n,s,r){const i=t===0?0:t+1;this.getTextNodes(a=>{a.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!n(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(a.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fn(c[i],f),(f,p)=>{e.lastIndex=p,s(f)})}r()})}wrapRangeFromIndex(e,t,n,s){this.getTextNodes(r=>{const i=r.value.length;e.forEach((a,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(a,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,p=>t(p,a,r.value.substring(l,h),c),p=>{n(p,a)})}),s()})}unwrapMatches(e){const t=e.parentNode;let n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,s="wrapMatches";const r=i=>{n++,this.opt.each(i)};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),this[s](e,this.opt.ignoreGroups,(i,a)=>this.opt.filter(a,i,n),r,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,s="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),a=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${a}`),f=0;this.log(`Searching with expression "${h}"`),this[s](h,1,(p,g)=>this.opt.filter(g,l,n,f),p=>{f++,n++,this.opt.each(p)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(n):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),i===0?this.opt.done(n):c(r[0])}markRanges(e,t){this.opt=t;let n=0,s=this.checkRanges(e);s&&s.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(s)),this.wrapRangeFromIndex(s,(r,i,a,c)=>this.opt.filter(r,i,a,c),(r,i)=>{n++,this.opt.each(r,i)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{const s=Z.matches(n,t),r=this.matchesExclude(n);return!s||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function un(o){const e=new ln(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}function he(o,e,t,n){function s(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function a(h){try{l(n.next(h))}catch(f){i(f)}}function c(h){try{l(n.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):s(h.value).then(a,c)}l((n=n.apply(o,[])).next())})}const dn="ENTRIES",it="KEYS",rt="VALUES",R="";class Ie{constructor(e,t){const n=e._tree,s=Array.from(n.keys());this.set=e,this._type=t,this._path=s.length>0?[{node:n,keys:s}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=Y(this._path);if(Y(t)===R)return{done:!1,value:this.result()};const n=e.get(Y(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=Y(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>Y(e)).filter(e=>e!==R).join("")}value(){return Y(this._path).node.get(R)}result(){switch(this._type){case rt:return this.value();case it:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const Y=o=>o[o.length-1],hn=(o,e,t)=>{const n=new Map;if(e===void 0)return n;const s=e.length+1,r=s+t,i=new Uint8Array(r*s).fill(t+1);for(let a=0;a{const c=r*i;e:for(const l of o.keys())if(l===R){const h=s[c-1];h<=t&&n.set(a,[o.get(l),h])}else{let h=r;for(let f=0;ft)continue e}ot(o.get(l),e,t,n,s,h,i,a+l)}};class ${constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=ge(this._tree,e.slice(this._prefix.length));if(t===void 0){const[s,r]=Le(n);for(const i of s.keys())if(i!==R&&i.startsWith(r)){const a=new Map;return a.set(i.slice(r.length),s.get(i)),new $(a,e)}}return new $(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,fn(this._tree,e)}entries(){return new Ie(this,dn)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return hn(this._tree,e,t)}get(e){const t=Re(this._tree,e);return t!==void 0?t.get(R):void 0}has(e){const t=Re(this._tree,e);return t!==void 0&&t.has(R)}keys(){return new Ie(this,it)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,ke(this._tree,e).set(R,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=ke(this._tree,e);return n.set(R,t(n.get(R))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=ke(this._tree,e);let s=n.get(R);return s===void 0&&n.set(R,s=t()),s}values(){return new Ie(this,rt)}[Symbol.iterator](){return this.entries()}static from(e){const t=new $;for(const[n,s]of e)t.set(n,s);return t}static fromObject(e){return $.from(Object.entries(e))}}const ge=(o,e,t=[])=>{if(e.length===0||o==null)return[o,t];for(const n of o.keys())if(n!==R&&e.startsWith(n))return t.push([o,n]),ge(o.get(n),e.slice(n.length),t);return t.push([o,e]),ge(void 0,"",t)},Re=(o,e)=>{if(e.length===0||o==null)return o;for(const t of o.keys())if(t!==R&&e.startsWith(t))return Re(o.get(t),e.slice(t.length))},ke=(o,e)=>{const t=e.length;e:for(let n=0;o&&n{const[t,n]=ge(o,e);if(t!==void 0){if(t.delete(R),t.size===0)at(n);else if(t.size===1){const[s,r]=t.entries().next().value;ct(n,s,r)}}},at=o=>{if(o.length===0)return;const[e,t]=Le(o);if(e.delete(t),e.size===0)at(o.slice(0,-1));else if(e.size===1){const[n,s]=e.entries().next().value;n!==R&&ct(o.slice(0,-1),n,s)}},ct=(o,e,t)=>{if(o.length===0)return;const[n,s]=Le(o);n.set(s+e,t),n.delete(s)},Le=o=>o[o.length-1],De="or",lt="and",pn="and_not";class X{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Fe:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Ne),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},Ge),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},yn),e.autoSuggestOptions||{})}),this._index=new $,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ae,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:n,processTerm:s,fields:r,idField:i}=this._options,a=t(e,i);if(a==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(a))throw new Error(`MiniSearch: duplicate ID ${a}`);const c=this.addDocumentId(a);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=n(h.toString(),l),p=this._fieldIds[l],g=new Set(f).size;this.addFieldLength(c,p,this._documentCount-1,g);for(const b of f){const y=s(b,l);if(Array.isArray(y))for(const _ of y)this.addTerm(p,c,_);else y&&this.addTerm(p,c,y)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,s={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:a,promise:c},l,h)=>(a.push(l),(h+1)%n===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(a))}:{chunk:a,promise:c}),s);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:n,extractField:s,fields:r,idField:i}=this._options,a=s(e,i);if(a==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(a);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${a}: it is not in the index`);for(const l of r){const h=s(e,l);if(h==null)continue;const f=t(h.toString(),l),p=this._fieldIds[l],g=new Set(f).size;this.removeFieldLength(c,p,this._documentCount,g);for(const b of f){const y=n(b,l);if(Array.isArray(y))for(const _ of y)this.removeTerm(p,c,_);else y&&this.removeTerm(p,c,y)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(a),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new $,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,s)=>{this.removeFieldLength(t,s,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:s},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,s=n(e,t);this.discard(s),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ae,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return he(this,void 0,void 0,function*(){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const s=e.batchSize||Me.batchSize,r=e.batchWait||Me.batchWait;let i=1;for(const[a,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(a).size===0&&this._index.delete(a),i%s===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=n}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||Fe.minDirtCount,n=n||Fe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const n=this.executeQuery(e,t),s=[];for(const[r,{score:i,terms:a,match:c}]of n){const l=a.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:a,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&s.push(h)}return e===X.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||s.sort(Qe),s}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const n=new Map;for(const{score:r,terms:i}of this.search(e,t)){const a=i.join(" "),c=n.get(a);c!=null?(c.score+=r,c.count+=1):n.set(a,{score:r,terms:i,count:1})}const s=[];for(const[r,{score:i,terms:a,count:c}]of n)s.push({suggestion:r,terms:a,score:i/c});return s.sort(Qe),s}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return he(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Ne.hasOwnProperty(e))return Te(Ne,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:s,fieldLength:r,storedFields:i,serializationVersion:a}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=le(s),c._fieldLength=le(r),c._storedFields=le(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of n){const f=new Map;for(const p of Object.keys(h)){let g=h[p];a===1&&(g=g.ds),f.set(parseInt(p,10),le(g))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return he(this,void 0,void 0,function*(){const{index:n,documentIds:s,fieldLength:r,storedFields:i,serializationVersion:a}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield ue(s),c._fieldLength=yield ue(r),c._storedFields=yield ue(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of n){const p=new Map;for(const g of Object.keys(f)){let b=f[g];a===1&&(b=b.ds),p.set(parseInt(g,10),yield ue(b))}++l%1e3===0&&(yield ut(0)),c._index.set(h,p)}return c})}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:s,fieldIds:r,averageFieldLength:i,dirtCount:a,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new X(t);return l._documentCount=n,l._nextId=s,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=a||0,l._index=new $,l}executeQuery(e,t={}){if(e===X.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const p=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),g=e.queries.map(b=>this.executeQuery(b,p));return this.combineResults(g,p.combineWith)}const{tokenize:n,processTerm:s,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:n,processTerm:s},r),t),{tokenize:a,processTerm:c}=i,f=a(e).flatMap(p=>c(p)).filter(p=>!!p).map(bn(i)).map(p=>this.executeQuerySpec(p,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const n=Object.assign(Object.assign({},this._options.searchOptions),t),s=(n.fields||this._options.fields).reduce((y,_)=>Object.assign(Object.assign({},y),{[_]:Te(n.boost,_)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:a,bm25:c}=n,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},Ge.weights),i),f=this._index.get(e.term),p=this.termResults(e.term,e.term,1,e.termBoost,f,s,r,c);let g,b;if(e.prefix&&(g=this._index.atPrefix(e.term)),e.fuzzy){const y=e.fuzzy===!0?.2:e.fuzzy,_=y<1?Math.min(a,Math.round(e.term.length*y)):y;_&&(b=this._index.fuzzyGet(e.term,_))}if(g)for(const[y,_]of g){const E=y.length-e.term.length;if(!E)continue;b==null||b.delete(y);const I=h*y.length/(y.length+.3*E);this.termResults(e.term,y,I,e.termBoost,_,s,r,c,p)}if(b)for(const y of b.keys()){const[_,E]=b.get(y);if(!E)continue;const I=l*y.length/(y.length+E);this.termResults(e.term,y,I,e.termBoost,_,s,r,c,p)}return p}executeWildcardQuery(e){const t=new Map,n=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[s,r]of this._documentIds){const i=n.boostDocument?n.boostDocument(r,"",this._storedFields.get(s)):1;t.set(s,{score:i,terms:[],match:{}})}return t}combineResults(e,t=De){if(e.length===0)return new Map;const n=t.toLowerCase(),s=vn[n];if(!s)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(s)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const s={};for(const[r,i]of n)s[r]=Object.fromEntries(i);e.push([t,s])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,n,s,r,i,a,c,l=new Map){if(r==null)return l;for(const h of Object.keys(i)){const f=i[h],p=this._fieldIds[h],g=r.get(p);if(g==null)continue;let b=g.size;const y=this._avgFieldLength[p];for(const _ of g.keys()){if(!this._documentIds.has(_)){this.removeTerm(p,_,t),b-=1;continue}const E=a?a(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(!E)continue;const I=g.get(_),M=this._fieldLength.get(_)[p],P=gn(I,b,this._documentCount,M,y,c),D=n*s*f*E*P,z=l.get(_);if(z){z.score+=D,wn(z.terms,e);const O=Te(z.match,t);O?O.push(h):z.match[t]=[h]}else l.set(_,{score:D,terms:[e],match:{[t]:[h]}})}}return l}addTerm(e,t,n){const s=this._index.fetch(n,Ye);let r=s.get(e);if(r==null)r=new Map,r.set(t,1),s.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const s=this._index.fetch(n,Ye),r=s.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,n):r.get(t)<=1?r.size<=1?s.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const s of Object.keys(this._fieldIds))if(this._fieldIds[s]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${s}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(o,e)?o[e]:void 0,vn={[De]:(o,e)=>{for(const t of e.keys()){const n=o.get(t);if(n==null)o.set(t,e.get(t));else{const{score:s,terms:r,match:i}=e.get(t);n.score=n.score+s,n.match=Object.assign(n.match,i),He(n.terms,r)}}return o},[lt]:(o,e)=>{const t=new Map;for(const n of e.keys()){const s=o.get(n);if(s==null)continue;const{score:r,terms:i,match:a}=e.get(n);He(s.terms,i),t.set(n,{score:s.score+r,terms:s.terms,match:Object.assign(s.match,a)})}return t},[pn]:(o,e)=>{for(const t of e.keys())o.delete(t);return o}},mn={k:1.2,b:.7,d:.5},gn=(o,e,t,n,s,r)=>{const{k:i,b:a,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+o*(i+1)/(o+i*(1-a+a*n/s)))},bn=o=>(e,t,n)=>{const s=typeof o.fuzzy=="function"?o.fuzzy(e,t,n):o.fuzzy||!1,r=typeof o.prefix=="function"?o.prefix(e,t,n):o.prefix===!0,i=typeof o.boostTerm=="function"?o.boostTerm(e,t,n):1;return{term:e,fuzzy:s,prefix:r,termBoost:i}},Ne={idField:"id",extractField:(o,e)=>o[e],tokenize:o=>o.split(xn),processTerm:o=>o.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(o,e)=>{typeof(console==null?void 0:console[o])=="function"&&console[o](e)},autoVacuum:!0},Ge={combineWith:De,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:mn},yn={combineWith:lt,prefix:(o,e,t)=>e===t.length-1},Me={batchSize:1e3,batchWait:10},Ae={minDirtFactor:.1,minDirtCount:20},Fe=Object.assign(Object.assign({},Me),Ae),wn=(o,e)=>{o.includes(e)||o.push(e)},He=(o,e)=>{for(const t of e)o.includes(t)||o.push(t)},Qe=({score:o},{score:e})=>e-o,Ye=()=>new Map,le=o=>{const e=new Map;for(const t of Object.keys(o))e.set(parseInt(t,10),o[t]);return e},ue=o=>he(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const n of Object.keys(o))e.set(parseInt(n,10),o[n]),++t%1e3===0&&(yield ut(0));return e}),ut=o=>new Promise(e=>setTimeout(e,o)),xn=/[\n\r\p{Z}\p{P}]+/u;var _n=class{constructor(o=10){we(this,"max");we(this,"cache");this.max=o,this.cache=new Map}get(o){const e=this.cache.get(o);return e!==void 0&&(this.cache.delete(o),this.cache.set(o,e)),e}set(o,e){this.cache.has(o)?this.cache.delete(o):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(o,e)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}};const Sn={},En={width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"};function In(o,e){return B(),W("svg",En,e[0]||(e[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"},null,-1)]))}const kn=be(Sn,[["render",In],["__file","BackIcon.vue"]]),Tn={},Nn={width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"};function Fn(o,e){return B(),W("svg",Nn,e[0]||(e[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"},null,-1)]))}const On=be(Tn,[["render",Fn],["__file","ClearIcon.vue"]]),Cn={},Rn={width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"};function Mn(o,e){return B(),W("svg",Rn,e[0]||(e[0]=[x("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[x("circle",{cx:"11",cy:"11",r:"8"}),x("path",{d:"m21 21l-4.35-4.35"})],-1)]))}const An=be(Cn,[["render",Mn],["__file","SearchIcon.vue"]]),Ln=mt({__name:"SearchBox",props:{locales:{},options:{}},emits:["close"],setup(o,{expose:e,emit:t}){e();const n=o,s=t,r=gt(),i=bt(yt(n.locales)),a=xe(),c=xe(),l=Tt(),{activate:h}=cn(a,{immediate:!0}),f=Pe(async()=>{var v,w,S,T,N;return je(X.loadJSON((S=await((w=(v=l.value)[r.value])==null?void 0:w.call(v)))==null?void 0:S.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1}},...(T=n.options.miniSearch)==null?void 0:T.searchOptions,...(N=n.options.miniSearch)==null?void 0:N.options}))}),p=de(()=>{var v;return((v=n.options)==null?void 0:v.disableQueryPersistence)===!0}),g=p.value?J(""):wt("vuepress-plume:mini-search-filter",""),b=de(()=>i.value.buttonText||i.value.placeholder||"Search"),y=xe([]),_=J(!1);Oe(g,()=>{_.value=!1});const E=Pe(async()=>{if(c.value)return je(new un(c.value))},null),I=new _n(16);xt(()=>[f.value,g.value],async([v,w],S,T)=>{(S==null?void 0:S[0])!==v&&I.clear();let N=!1;if(T(()=>{N=!0}),!v)return;y.value=v.search(w).slice(0,16).map(C=>{var A;return C.titles=((A=C.titles)==null?void 0:A.filter(Boolean))||[],C}),_.value=!0;const F=new Set;y.value=y.value.map(C=>{const[A,L]=C.id.split("#"),V=I.get(A),oe=(V==null?void 0:V.get(L))??"";for(const ee in C.match)F.add(ee);return{...C,text:oe}}),await te(),!N&&await new Promise(C=>{var A;(A=E.value)==null||A.unmark({done:()=>{var L;(L=E.value)==null||L.markRegExp(d(F),{done:C})}})})},{debounce:200,immediate:!0});const M=J(),P=de(()=>{var v;return((v=g.value)==null?void 0:v.length)<=0});function D(v=!0){var w,S;(w=M.value)==null||w.focus(),v&&((S=M.value)==null||S.select())}_e(()=>{D()});function z(v){v.pointerType==="mouse"&&D()}const O=J(-1),q=J(!1);Oe(y,v=>{O.value=v.length?0:-1,G()});function G(){te(()=>{const v=document.querySelector(".result.selected");v&&v.scrollIntoView({block:"nearest"})})}ae("ArrowUp",v=>{v.preventDefault(),O.value--,O.value<0&&(O.value=y.value.length-1),q.value=!0,G()}),ae("ArrowDown",v=>{v.preventDefault(),O.value++,O.value>=y.value.length&&(O.value=0),q.value=!0,G()});const H=_t();ae("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const w=y.value[O.value];if(v.target instanceof HTMLInputElement&&!w){v.preventDefault();return}w&&(H.go(w.id),s("close"))}),ae("Escape",()=>{s("close")}),_e(()=>{window.history.pushState(null,"",null)}),St("popstate",v=>{v.preventDefault(),s("close")});const j=Et(typeof document<"u"?document.body:null);_e(()=>{te(()=>{j.value=!0,te().then(()=>h())})}),It(()=>{j.value=!1});function k(){g.value="",te().then(()=>D(!1))}function u(v){return v.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function d(v){return new RegExp([...v].sort((w,S)=>S.length-w.length).map(w=>`(${u(w)})`).join("|"),"gi")}const m={props:n,emit:s,routeLocale:r,locale:i,el:a,resultsEl:c,searchIndexData:l,activate:h,searchIndex:f,disableQueryPersistence:p,filterText:g,buttonText:b,results:y,enableNoResults:_,mark:E,cache:I,searchInput:M,disableReset:P,focusSearchInput:D,onSearchBarClick:z,selectedIndex:O,disableMouseOver:q,scrollToSelectedResult:G,router:H,isLocked:j,resetSearch:k,escapeRegExp:u,formMarkRegex:d,get withBase(){return kt},BackIcon:kn,ClearIcon:On,SearchIcon:An};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),Dn=["aria-owns"],zn={class:"shell"},Pn=["title"],jn={class:"search-actions before"},Vn=["title"],Bn=["placeholder"],Wn={class:"search-actions"},$n=["disabled","title"],Jn=["id","role","aria-labelledby"],Kn=["aria-selected"],Un=["href","aria-label","onMouseenter","onFocusin"],qn={class:"titles"},Gn=["innerHTML"],Hn={class:"title main"},Qn=["innerHTML"],Yn={key:0,class:"no-results"},Zn={class:"search-keyboard-shortcuts"},Xn=["aria-label"],es=["aria-label"],ts=["aria-label"],ns=["aria-label"];function ss(o,e,t,n,s,r){var i,a,c,l,h,f,p,g,b,y,_;return B(),Nt(At,{to:"body"},[x("div",{ref:"el",role:"button","aria-owns":(i=n.results)!=null&&i.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"mini-search-label",class:"VPLocalSearchBox"},[x("div",{class:"backdrop",onClick:e[0]||(e[0]=E=>o.$emit("close"))}),x("div",zn,[x("form",{class:"search-bar",onPointerup:e[3]||(e[3]=E=>n.onSearchBarClick(E)),onSubmit:e[4]||(e[4]=Ft(()=>{},["prevent"]))},[x("label",{id:"localsearch-label",title:n.buttonText,for:"localsearch-input"},[Se(n.SearchIcon,{class:"search-icon"})],8,Pn),x("div",jn,[x("button",{class:"back-button",title:n.locale.backButtonTitle,onClick:e[1]||(e[1]=E=>o.$emit("close"))},[Se(n.BackIcon)],8,Vn)]),Ot(x("input",{id:"localsearch-input",ref:"searchInput","onUpdate:modelValue":e[2]||(e[2]=E=>n.filterText=E),placeholder:n.buttonText,"aria-labelledby":"localsearch-label",class:"search-input"},null,8,Bn),[[Ct,n.filterText]]),x("div",Wn,[x("button",{class:"clear-button",type:"reset",disabled:n.disableReset,title:n.locale.resetButtonTitle,onClick:n.resetSearch},[Se(n.ClearIcon)],8,$n)])],32),x("ul",{id:(a=n.results)!=null&&a.length?"localsearch-list":void 0,ref:"resultsEl",role:(c=n.results)!=null&&c.length?"listbox":void 0,"aria-labelledby":(l=n.results)!=null&&l.length?"localsearch-label":void 0,class:"results",onMousemove:e[6]||(e[6]=E=>n.disableMouseOver=!1)},[(B(!0),W(Be,null,Ve(n.results,(E,I)=>(B(),W("li",{key:E.id,role:"option","aria-selected":n.selectedIndex===I?"true":"false"},[x("a",{href:n.withBase(E.id),class:Rt(["result",{selected:n.selectedIndex===I}]),"aria-label":[...E.titles,E.title].join(" > "),onMouseenter:M=>!n.disableMouseOver&&(n.selectedIndex=I),onFocusin:M=>n.selectedIndex=I,onClick:e[5]||(e[5]=M=>o.$emit("close"))},[x("div",null,[x("div",qn,[e[8]||(e[8]=x("span",{class:"title-icon"},"#",-1)),(B(!0),W(Be,null,Ve(E.titles,(M,P)=>(B(),W("span",{key:P,class:"title"},[x("span",{class:"text",innerHTML:M},null,8,Gn),e[7]||(e[7]=x("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1))]))),128)),x("span",Hn,[x("span",{class:"text",innerHTML:E.title},null,8,Qn)])])])],42,Un)],8,Kn))),128)),n.filterText&&!n.results.length&&n.enableNoResults?(B(),W("li",Yn,[ne(se(n.locale.noResultsText)+' "',1),x("strong",null,se(n.filterText),1),e[9]||(e[9]=ne('" '))])):Mt("",!0)],40,Jn),x("div",Zn,[x("span",null,[x("kbd",{"aria-label":((h=n.locale.footer)==null?void 0:h.navigateUpKeyAriaLabel)??""},e[10]||(e[10]=[x("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)]),8,Xn),x("kbd",{"aria-label":((f=n.locale.footer)==null?void 0:f.navigateDownKeyAriaLabel)??""},e[11]||(e[11]=[x("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)]),8,es),ne(" "+se(((p=n.locale.footer)==null?void 0:p.navigateText)??""),1)]),x("span",null,[x("kbd",{"aria-label":((g=n.locale.footer)==null?void 0:g.selectKeyAriaLabel)??""},e[12]||(e[12]=[x("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[x("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[x("path",{d:"m9 10l-5 5l5 5"}),x("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)]),8,ts),ne(" "+se(((b=n.locale.footer)==null?void 0:b.selectText)??""),1)]),x("span",null,[x("kbd",{"aria-label":((y=n.locale.footer)==null?void 0:y.closeKeyAriaLabel)??""},"esc",8,ns),ne(" "+se(((_=n.locale.footer)==null?void 0:_.closeText)??""),1)])])])],8,Dn)])}const as=be(Ln,[["render",ss],["__scopeId","data-v-adc6be17"],["__file","SearchBox.vue"]]);export{as as default}; diff --git a/assets/app-Ih2NXXP0.js b/assets/app-Ih2NXXP0.js new file mode 100644 index 0000000..8796c73 --- /dev/null +++ b/assets/app-Ih2NXXP0.js @@ -0,0 +1,67 @@ +const $v="modulepreload",Av=function(e){return"/"+e},Ul={},Le=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=Av(l),l in Ul)return;Ul[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":$v,c||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return r.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};/** +* @vue/shared v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Wo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ae={},So=[],Ut=()=>{},Ov=()=>!1,jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ua=e=>e.startsWith("onUpdate:"),ze=Object.assign,qa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Iv=Object.prototype.hasOwnProperty,Te=(e,t)=>Iv.call(e,t),he=Array.isArray,xo=e=>zi(e)==="[object Map]",Pd=e=>zi(e)==="[object Set]",pe=e=>typeof e=="function",Ee=e=>typeof e=="string",gn=e=>typeof e=="symbol",Ve=e=>e!==null&&typeof e=="object",Td=e=>(Ve(e)||pe(e))&&pe(e.then)&&pe(e.catch),Cd=Object.prototype.toString,zi=e=>Cd.call(e),Vv=e=>zi(e).slice(8,-1),Ld=e=>zi(e)==="[object Object]",Ga=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Po=Wo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Mv=/-(\w)/g,ft=Wi(e=>e.replace(Mv,(t,n)=>n?n.toUpperCase():"")),Rv=/\B([A-Z])/g,_n=Wi(e=>e.replace(Rv,"-$1").toLowerCase()),Fr=Wi(e=>e.charAt(0).toUpperCase()+e.slice(1)),vi=Wi(e=>e?`on${Fr(e)}`:""),Mn=(e,t)=>!Object.is(e,t),mi=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nv=e=>{const t=Ee(e)?Number(e):NaN;return isNaN(t)?e:t};let ql;const Ui=()=>ql||(ql=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Re(e){if(he(e)){const t={};for(let n=0;n{if(n){const o=n.split(Dv);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Fv(e){let t="";if(!e||Ee(e))return t;for(const n in e){const o=e[n];if(Ee(o)||typeof o=="number"){const r=n.startsWith("--")?n:_n(n);t+=`${r}:${o};`}}return t}function J(e){let t="";if(Ee(e))t=e;else if(he(e))for(let n=0;n?@[\\\]^`{|}~]/g;function Yv(e,t){return e.replace(Kv,n=>`\\${n}`)}const $d=e=>!!(e&&e.__v_isRef===!0),K=e=>Ee(e)?e:e==null?"":he(e)||Ve(e)&&(e.toString===Cd||!pe(e.toString))?$d(e)?K(e.value):JSON.stringify(e,Ad,2):String(e),Ad=(e,t)=>$d(t)?Ad(e,t.value):xo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[hs(o,i)+" =>"]=r,n),{})}:Pd(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hs(n))}:gn(t)?hs(t):Ve(t)&&!he(t)&&!Ld(t)?String(t):t,hs=(e,t="")=>{var n;return gn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let at;class Qv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(ur){let t=ur;for(ur=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;cr;){let t=cr;for(cr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Rd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nd(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),Xa(o),Jv(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function ea(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Bd(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Bd(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pr))return;e.globalVersion=Pr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ea(e)){e.flags&=-3;return}const n=Ie,o=It;Ie=e,It=!0;try{Rd(e);const r=e.fn(e._value);(t.version===0||Mn(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ie=n,It=o,Nd(e),e.flags&=-3}}function Xa(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Xa(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Jv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let It=!0;const Dd=[];function yn(){Dd.push(It),It=!1}function bn(){const e=Dd.pop();It=e===void 0?!0:e}function Kl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ie;Ie=void 0;try{t()}finally{Ie=n}}}let Pr=0;class Zv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ie||!It||Ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ie)n=this.activeLink=new Zv(Ie,this),Ie.deps?(n.prevDep=Ie.depsTail,Ie.depsTail.nextDep=n,Ie.depsTail=n):Ie.deps=Ie.depsTail=n,Hd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Ie.depsTail,n.nextDep=void 0,Ie.depsTail.nextDep=n,Ie.depsTail=n,Ie.deps===n&&(Ie.deps=o)}return n}trigger(t){this.version++,Pr++,this.notify(t)}notify(t){Ya();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qa()}}}function Hd(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Hd(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ti=new WeakMap,no=Symbol(""),ta=Symbol(""),Tr=Symbol("");function tt(e,t,n){if(It&&Ie){let o=Ti.get(e);o||Ti.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new qi),r.map=o,r.key=n),r.track()}}function un(e,t,n,o,r,i){const s=Ti.get(e);if(!s){Pr++;return}const a=l=>{l&&l.trigger()};if(Ya(),t==="clear")s.forEach(a);else{const l=he(e),c=l&&Ga(n);if(l&&n==="length"){const u=Number(o);s.forEach((d,f)=>{(f==="length"||f===Tr||!gn(f)&&f>=u)&&a(d)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),c&&a(s.get(Tr)),t){case"add":l?c&&a(s.get("length")):(a(s.get(no)),xo(e)&&a(s.get(ta)));break;case"delete":l||(a(s.get(no)),xo(e)&&a(s.get(ta)));break;case"set":xo(e)&&a(s.get(no));break}}Qa()}function em(e,t){const n=Ti.get(e);return n&&n.get(t)}function vo(e){const t=we(e);return t===e?t:(tt(t,"iterate",Tr),Lt(e)?t:t.map(nt))}function Gi(e){return tt(e=we(e),"iterate",Tr),e}const tm={__proto__:null,[Symbol.iterator](){return ms(this,Symbol.iterator,nt)},concat(...e){return vo(this).concat(...e.map(t=>he(t)?vo(t):t))},entries(){return ms(this,"entries",e=>(e[1]=nt(e[1]),e))},every(e,t){return nn(this,"every",e,t,void 0,arguments)},filter(e,t){return nn(this,"filter",e,t,n=>n.map(nt),arguments)},find(e,t){return nn(this,"find",e,t,nt,arguments)},findIndex(e,t){return nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nn(this,"findLast",e,t,nt,arguments)},findLastIndex(e,t){return nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return gs(this,"includes",e)},indexOf(...e){return gs(this,"indexOf",e)},join(e){return vo(this).join(e)},lastIndexOf(...e){return gs(this,"lastIndexOf",e)},map(e,t){return nn(this,"map",e,t,void 0,arguments)},pop(){return Xo(this,"pop")},push(...e){return Xo(this,"push",e)},reduce(e,...t){return Yl(this,"reduce",e,t)},reduceRight(e,...t){return Yl(this,"reduceRight",e,t)},shift(){return Xo(this,"shift")},some(e,t){return nn(this,"some",e,t,void 0,arguments)},splice(...e){return Xo(this,"splice",e)},toReversed(){return vo(this).toReversed()},toSorted(e){return vo(this).toSorted(e)},toSpliced(...e){return vo(this).toSpliced(...e)},unshift(...e){return Xo(this,"unshift",e)},values(){return ms(this,"values",nt)}};function ms(e,t,n){const o=Gi(e),r=o[t]();return o!==e&&!Lt(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const nm=Array.prototype;function nn(e,t,n,o,r,i){const s=Gi(e),a=s!==e&&!Lt(e),l=s[t];if(l!==nm[t]){const d=l.apply(e,i);return a?nt(d):d}let c=n;s!==e&&(a?c=function(d,f){return n.call(this,nt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=l.call(s,c,o);return a&&r?r(u):u}function Yl(e,t,n,o){const r=Gi(e);let i=n;return r!==e&&(Lt(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,nt(a),l,e)}),r[t](i,...o)}function gs(e,t,n){const o=we(e);tt(o,"iterate",Tr);const r=o[t](...n);return(r===-1||r===!1)&&el(n[0])?(n[0]=we(n[0]),o[t](...n)):r}function Xo(e,t,n=[]){yn(),Ya();const o=we(e)[t].apply(e,n);return Qa(),bn(),o}const om=Wo("__proto__,__v_isRef,__isVue"),jd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gn));function rm(e){gn(e)||(e=String(e));const t=we(this);return tt(t,"has",e),t.hasOwnProperty(e)}class Fd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?hm:qd:i?Ud:Wd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const s=he(t);if(!r){let l;if(s&&(l=tm[n]))return l;if(n==="hasOwnProperty")return rm}const a=Reflect.get(t,n,Be(t)?t:o);return(gn(n)?jd.has(n):om(n))||(r||tt(t,"get",n),i)?a:Be(a)?s&&Ga(n)?a:a.value:Ve(a)?r?Uo(a):zr(a):a}}class zd extends Fd{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=ro(i);if(!Lt(o)&&!ro(o)&&(i=we(i),o=we(o)),!he(t)&&Be(i)&&!Be(o))return l?!1:(i.value=o,!0)}const s=he(t)&&Ga(n)?Number(n)e,Jr=e=>Reflect.getPrototypeOf(e);function cm(e,t,n){return function(...o){const r=this.__v_raw,i=we(r),s=xo(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=r[e](...o),u=n?na:t?oa:nt;return!t&&tt(i,"iterate",l?ta:no),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Zr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function um(e,t){const n={get(r){const i=this.__v_raw,s=we(i),a=we(r);e||(Mn(r,a)&&tt(s,"get",r),tt(s,"get",a));const{has:l}=Jr(s),c=t?na:e?oa:nt;if(l.call(s,r))return c(i.get(r));if(l.call(s,a))return c(i.get(a));i!==s&&i.get(r)},get size(){const r=this.__v_raw;return!e&&tt(we(r),"iterate",no),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,s=we(i),a=we(r);return e||(Mn(r,a)&&tt(s,"has",r),tt(s,"has",a)),r===a?i.has(r):i.has(r)||i.has(a)},forEach(r,i){const s=this,a=s.__v_raw,l=we(a),c=t?na:e?oa:nt;return!e&&tt(l,"iterate",no),a.forEach((u,d)=>r.call(i,c(u),c(d),s))}};return ze(n,e?{add:Zr("add"),set:Zr("set"),delete:Zr("delete"),clear:Zr("clear")}:{add(r){!t&&!Lt(r)&&!ro(r)&&(r=we(r));const i=we(this);return Jr(i).has.call(i,r)||(i.add(r),un(i,"add",r,r)),this},set(r,i){!t&&!Lt(i)&&!ro(i)&&(i=we(i));const s=we(this),{has:a,get:l}=Jr(s);let c=a.call(s,r);c||(r=we(r),c=a.call(s,r));const u=l.call(s,r);return s.set(r,i),c?Mn(i,u)&&un(s,"set",r,i):un(s,"add",r,i),this},delete(r){const i=we(this),{has:s,get:a}=Jr(i);let l=s.call(i,r);l||(r=we(r),l=s.call(i,r)),a&&a.call(i,r);const c=i.delete(r);return l&&un(i,"delete",r,void 0),c},clear(){const r=we(this),i=r.size!==0,s=r.clear();return i&&un(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=cm(r,e,t)}),n}function Ja(e,t){const n=um(e,t);return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Te(n,r)&&r in o?n:o,r,i)}const dm={get:Ja(!1,!1)},fm={get:Ja(!1,!0)},pm={get:Ja(!0,!1)};const Wd=new WeakMap,Ud=new WeakMap,qd=new WeakMap,hm=new WeakMap;function vm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mm(e){return e.__v_skip||!Object.isExtensible(e)?0:vm(Vv(e))}function zr(e){return ro(e)?e:Za(e,!1,sm,dm,Wd)}function Gd(e){return Za(e,!1,lm,fm,Ud)}function Uo(e){return Za(e,!0,am,pm,qd)}function Za(e,t,n,o,r){if(!Ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=mm(e);if(s===0)return e;const a=new Proxy(e,s===2?o:n);return r.set(e,a),a}function To(e){return ro(e)?To(e.__v_raw):!!(e&&e.__v_isReactive)}function ro(e){return!!(e&&e.__v_isReadonly)}function Lt(e){return!!(e&&e.__v_isShallow)}function el(e){return e?!!e.__v_raw:!1}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function gm(e){return!Te(e,"__v_skip")&&Object.isExtensible(e)&&Mo(e,"__v_skip",!0),e}const nt=e=>Ve(e)?zr(e):e,oa=e=>Ve(e)?Uo(e):e;function Be(e){return e?e.__v_isRef===!0:!1}function U(e){return Kd(e,!1)}function rt(e){return Kd(e,!0)}function Kd(e,t){return Be(e)?e:new _m(e,t)}class _m{constructor(t,n){this.dep=new qi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:we(t),this._value=n?t:nt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Lt(t)||ro(t);t=o?t:we(t),Mn(t,n)&&(this._rawValue=t,this._value=o?t:nt(t),this.dep.trigger())}}function fn(e){return Be(e)?e.value:e}function Co(e){return pe(e)?e():fn(e)}const ym={get:(e,t,n)=>t==="__v_raw"?e:fn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Be(r)&&!Be(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Yd(e){return To(e)?e:new Proxy(e,ym)}class bm{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new qi,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function tl(e){return new bm(e)}class wm{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return em(we(this._object),this._key)}}class km{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function io(e,t,n){return Be(e)?e:pe(e)?new km(e):Ve(e)&&arguments.length>1?Sm(e,t,n):U(e)}function Sm(e,t,n){const o=e[t];return Be(o)?o:new wm(e,t,n)}class xm{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ie!==this)return Md(this,!0),!0}get value(){const t=this.dep.track();return Bd(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pm(e,t,n=!1){let o,r;return pe(e)?o=e:(o=e.get,r=e.set),new xm(o,r,n)}const ei={},Ci=new WeakMap;let Jn;function Tm(e,t=!1,n=Jn){if(n){let o=Ci.get(n);o||Ci.set(n,o=[]),o.push(e)}}function Cm(e,t,n=Ae){const{immediate:o,deep:r,once:i,scheduler:s,augmentJob:a,call:l}=n,c=P=>r?P:Lt(P)||r===!1||r===0?dn(P,1):dn(P);let u,d,f,p,v=!1,m=!1;if(Be(e)?(d=()=>e.value,v=Lt(e)):To(e)?(d=()=>c(e),v=!0):he(e)?(m=!0,v=e.some(P=>To(P)||Lt(P)),d=()=>e.map(P=>{if(Be(P))return P.value;if(To(P))return c(P);if(pe(P))return l?l(P,2):P()})):pe(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){yn();try{f()}finally{bn()}}const P=Jn;Jn=u;try{return l?l(e,3,[p]):e(p)}finally{Jn=P}}:d=Ut,t&&r){const P=d,O=r===!0?1/0:r;d=()=>dn(P(),O)}const _=Od(),w=()=>{u.stop(),_&&qa(_.effects,u)};if(i&&t){const P=t;t=(...O)=>{P(...O),w()}}let T=m?new Array(e.length).fill(ei):ei;const g=P=>{if(!(!(u.flags&1)||!u.dirty&&!P))if(t){const O=u.run();if(r||v||(m?O.some((M,H)=>Mn(M,T[H])):Mn(O,T))){f&&f();const M=Jn;Jn=u;try{const H=[O,T===ei?void 0:m&&T[0]===ei?[]:T,p];l?l(t,3,H):t(...H),T=O}finally{Jn=M}}}else u.run()};return a&&a(g),u=new Id(d),u.scheduler=s?()=>s(g,!1):g,p=P=>Tm(P,!1,u),f=u.onStop=()=>{const P=Ci.get(u);if(P){if(l)l(P,4);else for(const O of P)O();Ci.delete(u)}},t?o?g(!0):T=u.run():s?s(g.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function dn(e,t=1/0,n){if(t<=0||!Ve(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Be(e))dn(e.value,t,n);else if(he(e))for(let o=0;o{dn(o,t,n)});else if(Ld(e)){for(const o in e)dn(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&dn(e[o],t,n)}return e}/** +* @vue/runtime-core v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const dr=[];let _s=!1;function Cn(e,...t){if(_s)return;_s=!0,yn();const n=dr.length?dr[dr.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=Lm();if(o)qo(o,n,11,[e+t.map(i=>{var s,a;return(a=(s=i.toString)==null?void 0:s.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${Uf(n,i.type)}>`).join(` +`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` +`,...Em(r)),console.warn(...i)}bn(),_s=!1}function Lm(){let e=dr[dr.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Em(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` +`],...$m(n))}),t}function $m({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Uf(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...Am(e.props),i]:[r+i]}function Am(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Qd(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Qd(e,t,n){return Ee(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Be(t)?(t=Qd(e,we(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):pe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=we(t),n?t:[`${e}=`,t])}function qo(e,t,n,o){try{return o?e(...o):e()}catch(r){Wr(r,t,n)}}function Nt(e,t,n,o){if(pe(e)){const r=qo(e,t,n,o);return r&&Td(r)&&r.catch(i=>{Wr(i,t,n)}),r}if(he(e)){const r=[];for(let i=0;i>>1,r=lt[o],i=Cr(r);i=Cr(n)?lt.push(e):lt.splice(Im(t),0,e),e.flags|=1,Jd()}}function Jd(){Li||(Li=Xd.then(Zd))}function Vm(e){he(e)?Lo.push(...e):$n&&e.id===-1?$n.splice(_o+1,0,e):e.flags&1||(Lo.push(e),e.flags|=1),Jd()}function Ql(e,t,n=jt+1){for(;nCr(n)-Cr(o));if(Lo.length=0,$n){$n.push(...t);return}for($n=t,_o=0;_o<$n.length;_o++){const n=$n[_o];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$n=null,_o=0}}const Cr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zd(e){try{for(jt=0;jtWt.emit(r,...i)),ir=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{ef(i,t)}),setTimeout(()=>{Wt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ra=!0,ir=[])},3e3)):(ra=!0,ir=[])}function Mm(e,t){Ki("app:init",e,t,{Fragment:oe,Text:Rn,Comment:Xe,Static:$o})}function Rm(e){Ki("app:unmount",e)}const Nm=ol("component:added"),tf=ol("component:updated"),Bm=ol("component:removed"),Dm=e=>{Wt&&typeof Wt.cleanupBuffer=="function"&&!Wt.cleanupBuffer(e)&&Bm(e)};/*! #__NO_SIDE_EFFECTS__ */function ol(e){return t=>{Ki(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Hm(e,t,n){Ki("component:emit",e.appContext.app,e,t,n)}let Ye=null,Yi=null;function $i(e){const t=Ye;return Ye=e,Yi=e&&e.type.__scopeId||null,t}function jm(e){Yi=e}function Fm(){Yi=null}const zm=e=>L;function L(e,t=Ye,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&fc(-1);const i=$i(t);let s;try{s=e(...r)}finally{$i(i),o._d&&fc(1)}return tf(t),s};return o._n=!0,o._c=!0,o._d=!0,o}function rl(e,t){if(Ye===null)return e;const n=Zi(Ye),o=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,fr=e=>e&&(e.disabled||e.disabled===""),Wm=e=>e&&(e.defer||e.defer===""),Xl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ia=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Um={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:v,createText:m,createComment:_}}=c,w=fr(t.props);let{shapeFlag:T,children:g,dynamicChildren:P}=t;if(e==null){const O=t.el=m(""),M=t.anchor=m("");p(O,n,o),p(M,n,o);const H=(R,A)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),u(g,R,A,r,i,s,a,l))},Q=()=>{const R=t.target=ia(t.props,v),A=rf(R,t,m,p);R&&(s!=="svg"&&Xl(R)?s="svg":s!=="mathml"&&Jl(R)&&(s="mathml"),w||(H(R,A),gi(t,!1)))};w&&(H(n,M),gi(t,!0)),Wm(t.props)?ut(Q,i):Q()}else{t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,M=t.target=e.target,H=t.targetAnchor=e.targetAnchor,Q=fr(e.props),R=Q?n:M,A=Q?O:H;if(s==="svg"||Xl(M)?s="svg":(s==="mathml"||Jl(M))&&(s="mathml"),P?(f(e.dynamicChildren,P,R,r,i,s,a),ul(e,t,!0)):l||d(e,t,R,A,r,i,s,a,!1),w)Q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ti(t,n,O,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=ia(t.props,v);F&&ti(t,F,null,c,0)}else Q&&ti(t,M,H,c,1);gi(t,w)}},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),i&&r(l),s&16){const p=i||!fr(f);for(let v=0;v{e.isMounted=!0}),al(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],sf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},af=e=>{const t=e.subTree;return t.component?af(t.component):t},Km={name:"BaseTransition",props:sf,setup(e,{slots:t}){const n=co(),o=Gm();return()=>{const r=t.default&&uf(t.default(),!0);if(!r||!r.length)return;const i=lf(r),s=we(e),{mode:a}=s;if(o.isLeaving)return ys(i);const l=Zl(i);if(!l)return ys(i);let c=sa(l,s,o,n,f=>c=f);l.type!==Xe&&Lr(l,c);const u=n.subTree,d=u&&Zl(u);if(d&&d.type!==Xe&&!to(l,d)&&af(n).type!==Xe){const f=sa(d,s,o,n);if(Lr(d,f),a==="out-in"&&l.type!==Xe)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave},ys(i);a==="in-out"&&l.type!==Xe&&(f.delayLeave=(p,v,m)=>{const _=cf(o,d);_[String(d.key)]=d,p[An]=()=>{v(),p[An]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return i}}};function lf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xe){t=n;break}}return t}const Ym=Km;function cf(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function sa(e,t,n,o,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:_,onAppear:w,onAfterAppear:T,onAppearCancelled:g}=t,P=String(e.key),O=cf(n,e),M=(R,A)=>{R&&Nt(R,o,9,A)},H=(R,A)=>{const F=A[1];M(R,A),he(R)?R.every(N=>N.length<=1)&&F():R.length<=1&&F()},Q={mode:s,persisted:a,beforeEnter(R){let A=l;if(!n.isMounted)if(i)A=_||l;else return;R[An]&&R[An](!0);const F=O[P];F&&to(e,F)&&F.el[An]&&F.el[An](),M(A,[R])},enter(R){let A=c,F=u,N=d;if(!n.isMounted)if(i)A=w||c,F=T||u,N=g||d;else return;let te=!1;const de=R[ni]=be=>{te||(te=!0,be?M(N,[R]):M(F,[R]),Q.delayedLeave&&Q.delayedLeave(),R[ni]=void 0)};A?H(A,[R,de]):de()},leave(R,A){const F=String(e.key);if(R[ni]&&R[ni](!0),n.isUnmounting)return A();M(f,[R]);let N=!1;const te=R[An]=de=>{N||(N=!0,A(),de?M(m,[R]):M(v,[R]),R[An]=void 0,O[F]===e&&delete O[F])};O[F]=e,p?H(p,[R,te]):te()},clone(R){const A=sa(R,t,n,o,r);return r&&r(A),A}};return Q}function ys(e){if(Ur(e))return e=Dn(e),e.children=null,e}function Zl(e){if(!Ur(e))return of(e.type)&&e.children?lf(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pe(n.default))return n.default()}}function Lr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Lr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function uf(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;iAi(v,t&&(he(t)?t[m]:t),n,o,r));return}if(oo(o)&&!r)return;const i=o.shapeFlag&4?Zi(o.component):o.el,s=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ae?a.refs={}:a.refs,d=a.setupState,f=we(d),p=d===Ae?()=>!1:v=>Te(f,v);if(c!=null&&c!==l&&(Ee(c)?(u[c]=null,p(c)&&(d[c]=null)):Be(c)&&(c.value=null)),pe(l))qo(l,a,12,[s,u]);else{const v=Ee(l),m=Be(l);if(v||m){const _=()=>{if(e.f){const w=v?p(l)?d[l]:u[l]:l.value;r?he(w)&&qa(w,i):he(w)?w.includes(i)||w.push(i):v?(u[l]=[i],p(l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else v?(u[l]=s,p(l)&&(d[l]=s)):m&&(l.value=s,e.k&&(u[e.k]=s))};s?(_.id=-1,ut(_,n)):_()}}}let ec=!1;const qn=()=>{ec||(console.error("Hydration completed but contains mismatches."),ec=!0)},Qm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Xm=e=>e.namespaceURI.includes("MathML"),oi=e=>{if(e.nodeType===1){if(Qm(e))return"svg";if(Xm(e))return"mathml"}},eo=e=>e.nodeType===8;function Jm(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(g,P)=>{if(!P.hasChildNodes()){Cn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,g,P),Ei(),P._vnode=g;return}d(P.firstChild,g,null,null,null),Ei(),P._vnode=g},d=(g,P,O,M,H,Q=!1)=>{Q=Q||!!P.dynamicChildren;const R=eo(g)&&g.data==="[",A=()=>m(g,P,O,M,H,R),{type:F,ref:N,shapeFlag:te,patchFlag:de}=P;let be=g.nodeType;P.el=g,Mo(g,"__vnode",P,!0),Mo(g,"__vueParentComponent",O,!0),de===-2&&(Q=!1,P.dynamicChildren=null);let ne=null;switch(F){case Rn:be!==3?P.children===""?(l(P.el=r(""),s(g),g),ne=g):ne=A():(g.data!==P.children&&(Cn("Hydration text mismatch in",g.parentNode,` + - rendered on server: ${JSON.stringify(g.data)} + - expected on client: ${JSON.stringify(P.children)}`),qn(),g.data=P.children),ne=i(g));break;case Xe:T(g)?(ne=i(g),w(P.el=g.content.firstChild,g,O)):be!==8||R?ne=A():ne=i(g);break;case $o:if(R&&(g=i(g),be=g.nodeType),be===1||be===3){ne=g;const ce=!P.children.length;for(let se=0;se{Q=Q||!!P.dynamicChildren;const{type:R,props:A,patchFlag:F,shapeFlag:N,dirs:te,transition:de}=P,be=R==="input"||R==="option";if(be||F!==-1){te&&Ft(P,null,O,"created");let ne=!1;if(T(g)){ne=Af(null,de)&&O&&O.vnode.props&&O.vnode.props.appear;const se=g.content.firstChild;ne&&de.beforeEnter(se),w(se,g,O),P.el=g=se}if(N&16&&!(A&&(A.innerHTML||A.textContent))){let se=p(g.firstChild,P,g,O,M,H,Q),_e=!1;for(;se;){sr(g,1)||(_e||(Cn("Hydration children mismatch on",g,` +Server rendered element contains more child nodes than client vdom.`),_e=!0),qn());const Je=se;se=se.nextSibling,a(Je)}}else if(N&8){let se=P.children;se[0]===` +`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(se=se.slice(1)),g.textContent!==se&&(sr(g,0)||(Cn("Hydration text content mismatch on",g,` + - rendered on server: ${g.textContent} + - expected on client: ${P.children}`),qn()),g.textContent=P.children)}if(A){const se=g.tagName.includes("-");for(const _e in A)!(te&&te.some(Je=>Je.dir.created))&&Zm(g,_e,A[_e],P,O)&&qn(),(be&&(_e.endsWith("value")||_e==="indeterminate")||jr(_e)&&!Po(_e)||_e[0]==="."||se)&&o(g,_e,null,A[_e],void 0,O)}let ce;(ce=A&&A.onVnodeBeforeMount)&&St(ce,O,P),te&&Ft(P,null,O,"beforeMount"),((ce=A&&A.onVnodeMounted)||te||ne)&&Nf(()=>{ce&&St(ce,O,P),ne&&de.enter(g),te&&Ft(P,null,O,"mounted")},M)}return g.nextSibling},p=(g,P,O,M,H,Q,R)=>{R=R||!!P.dynamicChildren;const A=P.children,F=A.length;let N=!1;for(let te=0;te{const{slotScopeIds:R}=P;R&&(H=H?H.concat(R):R);const A=s(g),F=p(i(g),P,A,O,M,H,Q);return F&&eo(F)&&F.data==="]"?i(P.anchor=F):(qn(),l(P.anchor=c("]"),A,F),F)},m=(g,P,O,M,H,Q)=>{if(sr(g.parentElement,1)||(Cn(`Hydration node mismatch: +- rendered on server:`,g,g.nodeType===3?"(text)":eo(g)&&g.data==="["?"(start of fragment)":"",` +- expected on client:`,P.type),qn()),P.el=null,Q){const F=_(g);for(;;){const N=i(g);if(N&&N!==F)a(N);else break}}const R=i(g),A=s(g);return a(g),n(null,P,A,R,O,M,oi(A),H),R},_=(g,P="[",O="]")=>{let M=0;for(;g;)if(g=i(g),g&&eo(g)&&(g.data===P&&M++,g.data===O)){if(M===0)return i(g);M--}return g},w=(g,P,O)=>{const M=P.parentNode;M&&M.replaceChild(g,P);let H=O;for(;H;)H.vnode.el===P&&(H.vnode.el=H.subTree.el=g),H=H.parent},T=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}function Zm(e,t,n,o,r){let i,s,a,l;if(t==="class")a=e.getAttribute("class"),l=J(n),eg(tc(a||""),tc(l))||(i=2,s="class");else if(t==="style"){a=e.getAttribute("style")||"",l=Ee(n)?n:Fv(Re(n));const c=nc(a),u=nc(l);if(o.dirs)for(const{dir:d,value:f}of o.dirs)d.name==="show"&&!f&&u.set("display","none");r&&df(r,o,u),tg(c,u)||(i=3,s="style")}else(e instanceof SVGElement&&qv(t)||e instanceof HTMLElement&&(Gl(t)||Uv(t)))&&(Gl(t)?(a=e.hasAttribute(t),l=Ka(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=Gv(n)?String(n):!1),a!==l&&(i=4,s=t));if(i!=null&&!sr(e,i)){const c=f=>f===!1?"(not rendered)":`${s}="${f}"`,u=`Hydration ${ff[i]} mismatch on`,d=` + - rendered on server: ${c(a)} + - expected on client: ${c(l)} + Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead. + You should fix the source of the mismatch.`;return Cn(u,e,d),!0}return!1}function tc(e){return new Set(e.trim().split(/\s+/))}function eg(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function nc(e){const t=new Map;for(const n of e.split(";")){let[o,r]=n.split(":");o=o.trim(),r=r&&r.trim(),o&&r&&t.set(o,r)}return t}function tg(e,t){if(e.size!==t.size)return!1;for(const[n,o]of e)if(o!==t.get(n))return!1;return!0}function df(e,t,n){const o=e.subTree;if(e.getCssVars&&(t===o||o&&o.type===oe&&o.children.includes(t))){const r=e.getCssVars();for(const i in r)n.set(`--${Yv(i)}`,String(r[i]))}t===o&&e.parent&&df(e.parent,e.vnode,n)}const oc="data-allow-mismatch",ff={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function sr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(oc);)e=e.parentElement;const n=e&&e.getAttribute(oc);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:n.split(",").includes(ff[t])}}Ui().requestIdleCallback;Ui().cancelIdleCallback;function ng(e,t){if(eo(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(eo(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const oo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function sl(e){pe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,p()),p=()=>{let v;return c||(v=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((_,w)=>{l(m,()=>_(f()),()=>w(m),d+1)});throw m}).then(m=>v!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return D({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(v,m,_){const w=i?()=>{const T=i(_,g=>ng(v,g));T&&(m.bum||(m.bum=[])).push(T)}:_;u?w():p().then(()=>!m.isUnmounted&&w())},get __asyncResolved(){return u},setup(){const v=Ke;if(il(v),u)return()=>bs(u,v);const m=g=>{c=null,Wr(g,v,13,!o)};if(a&&v.suspense||Ro)return p().then(g=>()=>bs(g,v)).catch(g=>(m(g),()=>o?B(o,{error:g}):null));const _=U(!1),w=U(),T=U(!!r);return r&&setTimeout(()=>{T.value=!1},r),s!=null&&setTimeout(()=>{if(!_.value&&!w.value){const g=new Error(`Async component timed out after ${s}ms.`);m(g),w.value=g}},s),p().then(()=>{_.value=!0,v.parent&&Ur(v.parent.vnode)&&v.parent.update()}).catch(g=>{m(g),w.value=g}),()=>{if(_.value&&u)return bs(u,v);if(w.value&&o)return B(o,{error:w.value});if(n&&!T.value)return B(n)}}})}function bs(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=B(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ur=e=>e.type.__isKeepAlive;function og(e,t){pf(e,"a",t)}function rg(e,t){pf(e,"da",t)}function pf(e,t,n=Ke){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qi(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Ur(r.parent.vnode)&&ig(o,t,n,r),r=r.parent}}function ig(e,t,n,o){const r=Qi(t,e,o,!0);Zt(()=>{qa(o[t],r)},n)}function Qi(e,t,n=Ke,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{yn();const a=qr(n),l=Nt(t,n,e,s);return a(),bn(),l});return o?r.unshift(i):r.push(i),i}}const wn=e=>(t,n=Ke)=>{(!Ro||e==="sp")&&Qi(e,(...o)=>t(...o),n)},sg=wn("bm"),Ne=wn("m"),ag=wn("bu"),hf=wn("u"),al=wn("bum"),Zt=wn("um"),lg=wn("sp"),cg=wn("rtg"),ug=wn("rtc");function dg(e,t=Ke){Qi("ec",e,t)}const vf="components";function We(e,t){return gf(vf,e,!0,t)||e}const mf=Symbol.for("v-ndc");function hn(e){return Ee(e)?gf(vf,e,!1)||e:e||mf}function gf(e,t,n=!0,o=!1){const r=Ye||Ke;if(r){const i=r.type;{const a=Wf(i,!1);if(a&&(a===t||a===ft(t)||a===Fr(ft(t))))return i}const s=rc(r[e]||i[e],t)||rc(r.appContext[e],t);return!s&&o?i:s}}function rc(e,t){return e&&(e[t]||e[ft(t)]||e[Fr(ft(t))])}function ye(e,t,n,o){let r;const i=n,s=he(e);if(s||Ee(e)){const a=s&&To(e);let l=!1;a&&(l=!Lt(e),e=Gi(e)),r=new Array(e.length);for(let c=0,u=e.length;ct(a,l,void 0,i));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,c=a.length;l$r(t)?!(t.type===Xe||t.type===oe&&!_f(t.children)):!0)?e:null}function fg(e,t){const n={};for(const o in e)n[/[A-Z]/.test(o)?`on:${o}`:vi(o)]=e[o];return n}const aa=e=>e?jf(e)?Zi(e):aa(e.parent):null,pr=ze(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>aa(e.parent),$root:e=>aa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>{nl(e.update)}),$nextTick:e=>e.n||(e.n=Et.bind(e.proxy)),$watch:e=>Vg.bind(e)}),ws=(e,t)=>e!==Ae&&!e.__isScriptSetup&&Te(e,t),pg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ws(o,t))return s[t]=1,o[t];if(r!==Ae&&Te(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&Te(c,t))return s[t]=3,i[t];if(n!==Ae&&Te(n,t))return s[t]=4,n[t];la&&(s[t]=0)}}const u=pr[t];let d,f;if(u)return t==="$attrs"&&tt(e.attrs,"get",""),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Ae&&Te(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,Te(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return ws(r,t)?(r[t]=n,!0):o!==Ae&&Te(o,t)?(o[t]=n,!0):Te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==Ae&&Te(e,s)||ws(t,s)||(a=i[0])&&Te(a,s)||Te(o,s)||Te(pr,s)||Te(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hg(){return vg().slots}function vg(){const e=co();return e.setupContext||(e.setupContext=zf(e))}function ic(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let la=!0;function mg(e){const t=ll(e),n=e.proxy,o=e.ctx;la=!1,t.beforeCreate&&sc(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:v,activated:m,deactivated:_,beforeDestroy:w,beforeUnmount:T,destroyed:g,unmounted:P,render:O,renderTracked:M,renderTriggered:H,errorCaptured:Q,serverPrefetch:R,expose:A,inheritAttrs:F,components:N,directives:te,filters:de}=t;if(c&&gg(c,o,null),s)for(const ce in s){const se=s[ce];pe(se)&&(o[ce]=se.bind(n))}if(r){const ce=r.call(n,n);Ve(ce)&&(e.data=zr(ce))}if(la=!0,i)for(const ce in i){const se=i[ce],_e=pe(se)?se.bind(n,n):pe(se.get)?se.get.bind(n,n):Ut,Je=!pe(se)&&pe(se.set)?se.set.bind(n):Ut,wt=x({get:_e,set:Je});Object.defineProperty(o,ce,{enumerable:!0,configurable:!0,get:()=>wt.value,set:Ge=>wt.value=Ge})}if(a)for(const ce in a)yf(a[ce],o,n,ce);if(l){const ce=pe(l)?l.call(n):l;Reflect.ownKeys(ce).forEach(se=>{vn(se,ce[se])})}u&&sc(u,e,"c");function ne(ce,se){he(se)?se.forEach(_e=>ce(_e.bind(n))):se&&ce(se.bind(n))}if(ne(sg,d),ne(Ne,f),ne(ag,p),ne(hf,v),ne(og,m),ne(rg,_),ne(dg,Q),ne(ug,M),ne(cg,H),ne(al,T),ne(Zt,P),ne(lg,R),he(A))if(A.length){const ce=e.exposed||(e.exposed={});A.forEach(se=>{Object.defineProperty(ce,se,{get:()=>n[se],set:_e=>n[se]=_e})})}else e.exposed||(e.exposed={});O&&e.render===Ut&&(e.render=O),F!=null&&(e.inheritAttrs=F),N&&(e.components=N),te&&(e.directives=te),R&&il(e)}function gg(e,t,n=Ut){he(e)&&(e=ca(e));for(const o in e){const r=e[o];let i;Ve(r)?"default"in r?i=Fe(r.from||o,r.default,!0):i=Fe(r.from||o):i=Fe(r),Be(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[o]=i}}function sc(e,t,n){Nt(he(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function yf(e,t,n,o){let r=o.includes(".")?Vf(n,o):()=>n[o];if(Ee(e)){const i=t[e];pe(i)&&ge(r,i)}else if(pe(e))ge(r,e.bind(n));else if(Ve(e))if(he(e))e.forEach(i=>yf(i,t,n,o));else{const i=pe(e.handler)?e.handler.bind(n):t[e.handler];pe(i)&&ge(r,i,e)}}function ll(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>Oi(l,c,s,!0)),Oi(l,t,s)),Ve(t)&&i.set(t,l),l}function Oi(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Oi(e,i,n,!0),r&&r.forEach(s=>Oi(e,s,n,!0));for(const s in t)if(!(o&&s==="expose")){const a=_g[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const _g={data:ac,props:lc,emits:lc,methods:ar,computed:ar,beforeCreate:st,created:st,beforeMount:st,mounted:st,beforeUpdate:st,updated:st,beforeDestroy:st,beforeUnmount:st,destroyed:st,unmounted:st,activated:st,deactivated:st,errorCaptured:st,serverPrefetch:st,components:ar,directives:ar,watch:bg,provide:ac,inject:yg};function ac(e,t){return t?e?function(){return ze(pe(e)?e.call(this,this):e,pe(t)?t.call(this,this):t)}:t:e}function yg(e,t){return ar(ca(e),ca(t))}function ca(e){if(he(e)){const t={};for(let n=0;n1)return n&&pe(t)?t.call(o&&o.proxy):t}}const wf={},kf=()=>Object.create(wf),Sf=e=>Object.getPrototypeOf(e)===wf;function Sg(e,t,n,o=!1){const r={},i=kf();e.propsDefaults=Object.create(null),xf(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Gd(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xg(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=we(r),[l]=e.propsOptions;let c=!1;if((o||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=Pf(d,t,!0);ze(s,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Ve(e)&&o.set(e,So),So;if(he(i))for(let u=0;ue[0]==="_"||e==="$stable",cl=e=>he(e)?e.map(Pt):[Pt(e)],Tg=(e,t,n)=>{if(t._n)return t;const o=L((...r)=>cl(t(...r)),n);return o._c=!1,o},Cf=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Tf(r))continue;const i=e[r];if(pe(i))t[r]=Tg(r,i,o);else if(i!=null){const s=cl(i);t[r]=()=>s}}},Lf=(e,t)=>{const n=cl(t);e.slots.default=()=>n},Ef=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Cg=(e,t,n)=>{const o=e.slots=kf();if(e.vnode.shapeFlag&32){const r=t._;r?(Ef(o,t,n),n&&Mo(o,"_",r,!0)):Cf(t,o)}else t&&Lf(e,t)},Lg=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=Ae;if(o.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Ef(r,t,n):(i=!t.$stable,Cf(t,r)),s=t}else t&&(Lf(e,t),s={default:1});if(i)for(const a in r)!Tf(a)&&s[a]==null&&delete r[a]},ut=Nf;function Eg(e){return $f(e)}function $g(e){return $f(e,Jm)}function $f(e,t){const n=Ui();n.__VUE__=!0,ef(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Ut,insertStaticContent:v}=e,m=(y,S,$,z=null,V=null,q=null,ee=void 0,X=null,Y=!!S.dynamicChildren)=>{if(y===S)return;y&&!to(y,S)&&(z=I(y),Ge(y,V,q,!0),y=null),S.patchFlag===-2&&(Y=!1,S.dynamicChildren=null);const{type:G,ref:fe,shapeFlag:ie}=S;switch(G){case Rn:_(y,S,$,z);break;case Xe:w(y,S,$,z);break;case $o:y==null&&T(S,$,z,ee);break;case oe:N(y,S,$,z,V,q,ee,X,Y);break;default:ie&1?O(y,S,$,z,V,q,ee,X,Y):ie&6?te(y,S,$,z,V,q,ee,X,Y):(ie&64||ie&128)&&G.process(y,S,$,z,V,q,ee,X,Y,le)}fe!=null&&V&&Ai(fe,y&&y.ref,q,S||y,!S)},_=(y,S,$,z)=>{if(y==null)o(S.el=a(S.children),$,z);else{const V=S.el=y.el;S.children!==y.children&&c(V,S.children)}},w=(y,S,$,z)=>{y==null?o(S.el=l(S.children||""),$,z):S.el=y.el},T=(y,S,$,z)=>{[y.el,y.anchor]=v(y.children,S,$,z,y.el,y.anchor)},g=({el:y,anchor:S},$,z)=>{let V;for(;y&&y!==S;)V=f(y),o(y,$,z),y=V;o(S,$,z)},P=({el:y,anchor:S})=>{let $;for(;y&&y!==S;)$=f(y),r(y),y=$;r(S)},O=(y,S,$,z,V,q,ee,X,Y)=>{S.type==="svg"?ee="svg":S.type==="math"&&(ee="mathml"),y==null?M(S,$,z,V,q,ee,X,Y):R(y,S,V,q,ee,X,Y)},M=(y,S,$,z,V,q,ee,X)=>{let Y,G;const{props:fe,shapeFlag:ie,transition:ue,dirs:ve}=y;if(Y=y.el=s(y.type,q,fe&&fe.is,fe),ie&8?u(Y,y.children):ie&16&&Q(y.children,Y,null,z,V,ks(y,q),ee,X),ve&&Ft(y,null,z,"created"),H(Y,y,y.scopeId,ee,z),fe){for(const Oe in fe)Oe!=="value"&&!Po(Oe)&&i(Y,Oe,null,fe[Oe],q,z);"value"in fe&&i(Y,"value",null,fe.value,q),(G=fe.onVnodeBeforeMount)&&St(G,z,y)}Mo(Y,"__vnode",y,!0),Mo(Y,"__vueParentComponent",z,!0),ve&&Ft(y,null,z,"beforeMount");const ke=Af(V,ue);ke&&ue.beforeEnter(Y),o(Y,S,$),((G=fe&&fe.onVnodeMounted)||ke||ve)&&ut(()=>{G&&St(G,z,y),ke&&ue.enter(Y),ve&&Ft(y,null,z,"mounted")},V)},H=(y,S,$,z,V)=>{if($&&p(y,$),z)for(let q=0;q{for(let G=Y;G{const X=S.el=y.el;X.__vnode=S;let{patchFlag:Y,dynamicChildren:G,dirs:fe}=S;Y|=y.patchFlag&16;const ie=y.props||Ae,ue=S.props||Ae;let ve;if($&&Gn($,!1),(ve=ue.onVnodeBeforeUpdate)&&St(ve,$,S,y),fe&&Ft(S,y,$,"beforeUpdate"),$&&Gn($,!0),(ie.innerHTML&&ue.innerHTML==null||ie.textContent&&ue.textContent==null)&&u(X,""),G?A(y.dynamicChildren,G,X,$,z,ks(S,V),q):ee||se(y,S,X,null,$,z,ks(S,V),q,!1),Y>0){if(Y&16)F(X,ie,ue,$,V);else if(Y&2&&ie.class!==ue.class&&i(X,"class",null,ue.class,V),Y&4&&i(X,"style",ie.style,ue.style,V),Y&8){const ke=S.dynamicProps;for(let Oe=0;Oe{ve&&St(ve,$,S,y),fe&&Ft(S,y,$,"updated")},z)},A=(y,S,$,z,V,q,ee)=>{for(let X=0;X{if(S!==$){if(S!==Ae)for(const q in S)!Po(q)&&!(q in $)&&i(y,q,S[q],null,V,z);for(const q in $){if(Po(q))continue;const ee=$[q],X=S[q];ee!==X&&q!=="value"&&i(y,q,X,ee,V,z)}"value"in $&&i(y,"value",S.value,$.value,V)}},N=(y,S,$,z,V,q,ee,X,Y)=>{const G=S.el=y?y.el:a(""),fe=S.anchor=y?y.anchor:a("");let{patchFlag:ie,dynamicChildren:ue,slotScopeIds:ve}=S;ve&&(X=X?X.concat(ve):ve),y==null?(o(G,$,z),o(fe,$,z),Q(S.children||[],$,fe,V,q,ee,X,Y)):ie>0&&ie&64&&ue&&y.dynamicChildren?(A(y.dynamicChildren,ue,$,V,q,ee,X),(S.key!=null||V&&S===V.subTree)&&ul(y,S,!0)):se(y,S,$,fe,V,q,ee,X,Y)},te=(y,S,$,z,V,q,ee,X,Y)=>{S.slotScopeIds=X,y==null?S.shapeFlag&512?V.ctx.activate(S,$,z,ee,Y):de(S,$,z,V,q,ee,Y):be(y,S,Y)},de=(y,S,$,z,V,q,ee)=>{const X=y.component=Ug(y,z,V);if(Ur(y)&&(X.ctx.renderer=le),qg(X,!1,ee),X.asyncDep){if(V&&V.registerDep(X,ne,ee),!y.el){const Y=X.subTree=B(Xe);w(null,Y,S,$)}}else ne(X,y,S,$,V,q,ee)},be=(y,S,$)=>{const z=S.component=y.component;if(Dg(y,S,$))if(z.asyncDep&&!z.asyncResolved){ce(z,S,$);return}else z.next=S,z.update();else S.el=y.el,z.vnode=S},ne=(y,S,$,z,V,q,ee)=>{const X=()=>{if(y.isMounted){let{next:ie,bu:ue,u:ve,parent:ke,vnode:Oe}=y;{const mt=Of(y);if(mt){ie&&(ie.el=Oe.el,ce(y,ie,ee)),mt.asyncDep.then(()=>{y.isUnmounted||X()});return}}let Ce=ie,vt;Gn(y,!1),ie?(ie.el=Oe.el,ce(y,ie,ee)):ie=Oe,ue&&mi(ue),(vt=ie.props&&ie.props.onVnodeBeforeUpdate)&&St(vt,ke,ie,Oe),Gn(y,!0);const et=Ss(y),$t=y.subTree;y.subTree=et,m($t,et,d($t.el),I($t),y,V,q),ie.el=et.el,Ce===null&&Hg(y,et.el),ve&&ut(ve,V),(vt=ie.props&&ie.props.onVnodeUpdated)&&ut(()=>St(vt,ke,ie,Oe),V),tf(y)}else{let ie;const{el:ue,props:ve}=S,{bm:ke,m:Oe,parent:Ce,root:vt,type:et}=y,$t=oo(S);if(Gn(y,!1),ke&&mi(ke),!$t&&(ie=ve&&ve.onVnodeBeforeMount)&&St(ie,Ce,S),Gn(y,!0),ue&&$e){const mt=()=>{y.subTree=Ss(y),$e(ue,y.subTree,y,V,null)};$t&&et.__asyncHydrate?et.__asyncHydrate(ue,y,mt):mt()}else{vt.ce&&vt.ce._injectChildStyle(et);const mt=y.subTree=Ss(y);m(null,mt,$,z,y,V,q),S.el=mt.el}if(Oe&&ut(Oe,V),!$t&&(ie=ve&&ve.onVnodeMounted)){const mt=S;ut(()=>St(ie,Ce,mt),V)}(S.shapeFlag&256||Ce&&oo(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&y.a&&ut(y.a,V),y.isMounted=!0,Nm(y),S=$=z=null}};y.scope.on();const Y=y.effect=new Id(X);y.scope.off();const G=y.update=Y.run.bind(Y),fe=y.job=Y.runIfDirty.bind(Y);fe.i=y,fe.id=y.uid,Y.scheduler=()=>nl(fe),Gn(y,!0),G()},ce=(y,S,$)=>{S.component=y;const z=y.vnode.props;y.vnode=S,y.next=null,xg(y,S.props,z,$),Lg(y,S.children,$),yn(),Ql(y),bn()},se=(y,S,$,z,V,q,ee,X,Y=!1)=>{const G=y&&y.children,fe=y?y.shapeFlag:0,ie=S.children,{patchFlag:ue,shapeFlag:ve}=S;if(ue>0){if(ue&128){Je(G,ie,$,z,V,q,ee,X,Y);return}else if(ue&256){_e(G,ie,$,z,V,q,ee,X,Y);return}}ve&8?(fe&16&&Ze(G,V,q),ie!==G&&u($,ie)):fe&16?ve&16?Je(G,ie,$,z,V,q,ee,X,Y):Ze(G,V,q,!0):(fe&8&&u($,""),ve&16&&Q(ie,$,z,V,q,ee,X,Y))},_e=(y,S,$,z,V,q,ee,X,Y)=>{y=y||So,S=S||So;const G=y.length,fe=S.length,ie=Math.min(G,fe);let ue;for(ue=0;uefe?Ze(y,V,q,!0,!1,ie):Q(S,$,z,V,q,ee,X,Y,ie)},Je=(y,S,$,z,V,q,ee,X,Y)=>{let G=0;const fe=S.length;let ie=y.length-1,ue=fe-1;for(;G<=ie&&G<=ue;){const ve=y[G],ke=S[G]=Y?On(S[G]):Pt(S[G]);if(to(ve,ke))m(ve,ke,$,null,V,q,ee,X,Y);else break;G++}for(;G<=ie&&G<=ue;){const ve=y[ie],ke=S[ue]=Y?On(S[ue]):Pt(S[ue]);if(to(ve,ke))m(ve,ke,$,null,V,q,ee,X,Y);else break;ie--,ue--}if(G>ie){if(G<=ue){const ve=ue+1,ke=veue)for(;G<=ie;)Ge(y[G],V,q,!0),G++;else{const ve=G,ke=G,Oe=new Map;for(G=ke;G<=ue;G++){const gt=S[G]=Y?On(S[G]):Pt(S[G]);gt.key!=null&&Oe.set(gt.key,G)}let Ce,vt=0;const et=ue-ke+1;let $t=!1,mt=0;const Qo=new Array(et);for(G=0;G=et){Ge(gt,V,q,!0);continue}let Ht;if(gt.key!=null)Ht=Oe.get(gt.key);else for(Ce=ke;Ce<=ue;Ce++)if(Qo[Ce-ke]===0&&to(gt,S[Ce])){Ht=Ce;break}Ht===void 0?Ge(gt,V,q,!0):(Qo[Ht-ke]=G+1,Ht>=mt?mt=Ht:$t=!0,m(gt,S[Ht],$,null,V,q,ee,X,Y),vt++)}const zl=$t?Ag(Qo):So;for(Ce=zl.length-1,G=et-1;G>=0;G--){const gt=ke+G,Ht=S[gt],Wl=gt+1{const{el:q,type:ee,transition:X,children:Y,shapeFlag:G}=y;if(G&6){wt(y.component.subTree,S,$,z);return}if(G&128){y.suspense.move(S,$,z);return}if(G&64){ee.move(y,S,$,le);return}if(ee===oe){o(q,S,$);for(let ie=0;ieX.enter(q),V);else{const{leave:ie,delayLeave:ue,afterLeave:ve}=X,ke=()=>o(q,S,$),Oe=()=>{ie(q,()=>{ke(),ve&&ve()})};ue?ue(q,ke,Oe):Oe()}else o(q,S,$)},Ge=(y,S,$,z=!1,V=!1)=>{const{type:q,props:ee,ref:X,children:Y,dynamicChildren:G,shapeFlag:fe,patchFlag:ie,dirs:ue,cacheIndex:ve}=y;if(ie===-2&&(V=!1),X!=null&&Ai(X,null,$,y,!0),ve!=null&&(S.renderCache[ve]=void 0),fe&256){S.ctx.deactivate(y);return}const ke=fe&1&&ue,Oe=!oo(y);let Ce;if(Oe&&(Ce=ee&&ee.onVnodeBeforeUnmount)&&St(Ce,S,y),fe&6)Dt(y.component,$,z);else{if(fe&128){y.suspense.unmount($,z);return}ke&&Ft(y,null,S,"beforeUnmount"),fe&64?y.type.remove(y,S,$,le,z):G&&!G.hasOnce&&(q!==oe||ie>0&&ie&64)?Ze(G,S,$,!1,!0):(q===oe&&ie&384||!V&&fe&16)&&Ze(Y,S,$),z&&ht(y)}(Oe&&(Ce=ee&&ee.onVnodeUnmounted)||ke)&&ut(()=>{Ce&&St(Ce,S,y),ke&&Ft(y,null,S,"unmounted")},$)},ht=y=>{const{type:S,el:$,anchor:z,transition:V}=y;if(S===oe){tn($,z);return}if(S===$o){P(y);return}const q=()=>{r($),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(y.shapeFlag&1&&V&&!V.persisted){const{leave:ee,delayLeave:X}=V,Y=()=>ee($,q);X?X(y.el,q,Y):Y()}else q()},tn=(y,S)=>{let $;for(;y!==S;)$=f(y),r(y),y=$;r(S)},Dt=(y,S,$)=>{const{bum:z,scope:V,job:q,subTree:ee,um:X,m:Y,a:G}=y;uc(Y),uc(G),z&&mi(z),V.stop(),q&&(q.flags|=8,Ge(ee,y,S,$)),X&&ut(X,S),ut(()=>{y.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve()),Dm(y)},Ze=(y,S,$,z=!1,V=!1,q=0)=>{for(let ee=q;ee{if(y.shapeFlag&6)return I(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const S=f(y.anchor||y.el),$=S&&S[nf];return $?f($):S};let re=!1;const Z=(y,S,$)=>{y==null?S._vnode&&Ge(S._vnode,null,null,!0):m(S._vnode||null,y,S,null,null,null,$),S._vnode=y,re||(re=!0,Ql(),Ei(),re=!1)},le={p:m,um:Ge,m:wt,r:ht,mt:de,mc:Q,pc:se,pbc:A,n:I,o:e};let xe,$e;return t&&([xe,$e]=t(le)),{render:Z,hydrate:xe,createApp:kg(Z,xe)}}function ks({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Gn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Af(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ul(e,t,n=!1){const o=e.children,r=t.children;if(he(o)&&he(r))for(let i=0;i>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Of(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Of(t)}function uc(e){if(e)for(let t=0;tFe(Og);function lo(e,t){return Xi(e,null,t)}function If(e,t){return Xi(e,null,{flush:"post"})}function ge(e,t,n){return Xi(e,t,n)}function Xi(e,t,n=Ae){const{immediate:o,deep:r,flush:i,once:s}=n,a=ze({},n),l=t&&o||!t&&i!=="post";let c;if(Ro){if(i==="sync"){const p=Ig();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Ut,p.resume=Ut,p.pause=Ut,p}}const u=Ke;a.call=(p,v,m)=>Nt(p,u,v,m);let d=!1;i==="post"?a.scheduler=p=>{ut(p,u&&u.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(p,v)=>{v?p():nl(p)}),a.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const f=Cm(e,t,a);return Ro&&(c?c.push(f):l&&f()),f}function Vg(e,t,n){const o=this.proxy,r=Ee(e)?e.includes(".")?Vf(o,e):()=>o[e]:e.bind(o,o);let i;pe(t)?i=t:(i=t.handler,n=t);const s=qr(this),a=Xi(r,i.bind(o),n);return s(),a}function Vf(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ft(t)}Modifiers`]||e[`${_n(t)}Modifiers`];function Rg(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Ae;let r=n;const i=t.startsWith("update:"),s=i&&Mg(o,t.slice(7));s&&(s.trim&&(r=n.map(u=>Ee(u)?u.trim():u)),s.number&&(r=n.map(Zs))),Hm(e,t,r);let a,l=o[a=vi(t)]||o[a=vi(ft(t))];!l&&i&&(l=o[a=vi(_n(t))]),l&&Nt(l,e,6,r);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Nt(c,e,6,r)}}function Mf(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={},a=!1;if(!pe(e)){const l=c=>{const u=Mf(c,t,!0);u&&(a=!0,ze(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Ve(e)&&o.set(e,null),null):(he(i)?i.forEach(l=>s[l]=null):ze(s,i),Ve(e)&&o.set(e,s),s)}function Ji(e,t){return!e||!jr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,_n(t))||Te(e,t))}function Ss(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:p,ctx:v,inheritAttrs:m}=e,_=$i(e);let w,T;try{if(n.shapeFlag&4){const P=r||o,O=P;w=Pt(c.call(O,P,u,d,p,f,v)),T=a}else{const P=t;w=Pt(P.length>1?P(d,{attrs:a,slots:s,emit:l}):P(d,null)),T=t.props?a:Ng(a)}}catch(P){hr.length=0,Wr(P,e,1),w=B(Xe)}let g=w;if(T&&m!==!1){const P=Object.keys(T),{shapeFlag:O}=g;P.length&&O&7&&(i&&P.some(Ua)&&(T=Bg(T,i)),g=Dn(g,T,!1,!0))}return n.dirs&&(g=Dn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Lr(g,n.transition),w=g,$i(_),w}const Ng=e=>{let t;for(const n in e)(n==="class"||n==="style"||jr(n))&&((t||(t={}))[n]=e[n]);return t},Bg=(e,t)=>{const n={};for(const o in e)(!Ua(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Dg(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?dc(o,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Nf(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Vm(e)}const oe=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),$o=Symbol.for("v-stc"),hr=[];let yt=null;function h(e=!1){hr.push(yt=e?null:[])}function jg(){hr.pop(),yt=hr[hr.length-1]||null}let Er=1;function fc(e){Er+=e,e<0&&yt&&(yt.hasOnce=!0)}function Bf(e){return e.dynamicChildren=Er>0?yt||So:null,jg(),Er>0&&yt&&yt.push(e),e}function b(e,t,n,o,r,i){return Bf(k(e,t,n,o,r,i,!0))}function j(e,t,n,o,r){return Bf(B(e,t,n,o,r,!0))}function $r(e){return e?e.__v_isVNode===!0:!1}function to(e,t){return e.type===t.type&&e.key===t.key}const Df=({key:e})=>e??null,_i=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Be(e)||pe(e)?{i:Ye,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,o=0,r=null,i=e===oe?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Df(t),ref:t&&_i(t),scopeId:Yi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ye};return a?(dl(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),Er>0&&!s&&yt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&yt.push(l),l}const B=Fg;function Fg(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===mf)&&(e=Xe),$r(e)){const a=Dn(e,t,!0);return n&&dl(a,n),Er>0&&!i&&yt&&(a.shapeFlag&6?yt[yt.indexOf(e)]=a:yt.push(a)),a.patchFlag=-2,a}if(Xg(e)&&(e=e.__vccOpts),t){t=Hf(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=J(a)),Ve(l)&&(el(l)&&!he(l)&&(l=ze({},l)),t.style=Re(l))}const s=Ee(e)?1:Rf(e)?128:of(e)?64:Ve(e)?4:pe(e)?2:0;return k(e,t,n,o,r,s,i,!0)}function Hf(e){return e?el(e)||Sf(e)?ze({},e):e:null}function Dn(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?qt(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Df(c),ref:t&&t.ref?n&&i?he(i)?i.concat(_i(t)):[i,_i(t)]:_i(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==oe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dn(e.ssContent),ssFallback:e.ssFallback&&Dn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Lr(u,l.clone(u)),u}function je(e=" ",t=0){return B(Rn,null,e,t)}function XT(e,t){const n=B($o,null,e);return n.staticCount=t,n}function E(e="",t=!1){return t?(h(),j(Xe,null,e)):B(Xe,null,e)}function Pt(e){return e==null||typeof e=="boolean"?B(Xe):he(e)?B(oe,null,e.slice()):$r(e)?On(e):B(Rn,null,String(e))}function On(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dn(e)}function dl(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),dl(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Sf(t)?t._ctx=Ye:r===3&&Ye&&(Ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pe(t)?(t={default:t,_ctx:Ye},n=32):(t=String(t),o&64?(n=16,t=[je(t)]):n=8);e.children=t,e.shapeFlag|=n}function qt(...e){const t={};for(let n=0;nKe||Ye;let Ii,da;{const e=Ui(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};Ii=t("__VUE_INSTANCE_SETTERS__",n=>Ke=n),da=t("__VUE_SSR_SETTERS__",n=>Ro=n)}const qr=e=>{const t=Ke;return Ii(e),e.scope.on(),()=>{e.scope.off(),Ii(t)}},pc=()=>{Ke&&Ke.scope.off(),Ii(null)};function jf(e){return e.vnode.shapeFlag&4}let Ro=!1;function qg(e,t=!1,n=!1){t&&da(t);const{props:o,children:r}=e.vnode,i=jf(e);Sg(e,o,i,t),Cg(e,r,n);const s=i?Gg(e,t):void 0;return t&&da(!1),s}function Gg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pg);const{setup:o}=n;if(o){yn();const r=e.setupContext=o.length>1?zf(e):null,i=qr(e),s=qo(o,e,0,[e.props,r]),a=Td(s);if(bn(),i(),(a||e.sp)&&!oo(e)&&il(e),a){if(s.then(pc,pc),t)return s.then(l=>{hc(e,l,t)}).catch(l=>{Wr(l,e,0)});e.asyncDep=s}else hc(e,s,t)}else Ff(e,t)}function hc(e,t,n){pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ve(t)&&(e.devtoolsRawSetupState=t,e.setupState=Yd(t)),Ff(e,n)}let vc;function Ff(e,t,n){const o=e.type;if(!e.render){if(!t&&vc&&!o.render){const r=o.template||ll(e).template;if(r){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,c=ze(ze({isCustomElement:i,delimiters:a},s),l);o.render=vc(r,c)}}e.render=o.render||Ut}{const r=qr(e);yn();try{mg(e)}finally{bn(),r()}}}const Kg={get(e,t){return tt(e,"get",""),e[t]}};function zf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Kg),slots:e.slots,emit:e.emit,expose:t}}function Zi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yd(gm(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pr)return pr[n](e)},has(t,n){return n in t||n in pr}})):e.proxy}const Yg=/(?:^|[-_])(\w)/g,Qg=e=>e.replace(Yg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Wf(e,t=!0){return pe(e)?e.displayName||e.name:e.name||t&&e.__name}function Uf(e,t,n=!1){let o=Wf(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=i=>{for(const s in i)if(i[s]===t)return s};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?Qg(o):n?"App":"Anonymous"}function Xg(e){return pe(e)&&"__vccOpts"in e}const x=(e,t)=>Pm(e,t,Ro);function me(e,t,n){const o=arguments.length;return o===2?Ve(t)&&!he(t)?$r(t)?B(e,null,[t]):B(e,t):B(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&$r(n)&&(n=[n]),B(e,t,n))}const mc="3.5.12";/** +* @vue/runtime-dom v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let fa;const gc=typeof window<"u"&&window.trustedTypes;if(gc)try{fa=gc.createPolicy("vue",{createHTML:e=>e})}catch{}const qf=fa?e=>fa.createHTML(e):e=>e,Jg="http://www.w3.org/2000/svg",Zg="http://www.w3.org/1998/Math/MathML",an=typeof document<"u"?document:null,_c=an&&an.createElement("template"),e_={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?an.createElementNS(Jg,e):t==="mathml"?an.createElementNS(Zg,e):n?an.createElement(e,{is:n}):an.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>an.createTextNode(e),createComment:e=>an.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>an.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{_c.innerHTML=qf(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const a=_c.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sn="transition",Jo="animation",Ar=Symbol("_vtc"),Gf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},t_=ze({},sf,Gf),n_=e=>(e.displayName="Transition",e.props=t_,e),Fn=n_((e,{slots:t})=>me(Ym,o_(e),t)),Kn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},yc=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function o_(e){const t={};for(const N in e)N in Gf||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=r_(r),m=v&&v[0],_=v&&v[1],{onBeforeEnter:w,onEnter:T,onEnterCancelled:g,onLeave:P,onLeaveCancelled:O,onBeforeAppear:M=w,onAppear:H=T,onAppearCancelled:Q=g}=t,R=(N,te,de)=>{Yn(N,te?u:a),Yn(N,te?c:s),de&&de()},A=(N,te)=>{N._isLeaving=!1,Yn(N,d),Yn(N,p),Yn(N,f),te&&te()},F=N=>(te,de)=>{const be=N?H:T,ne=()=>R(te,N,de);Kn(be,[te,ne]),bc(()=>{Yn(te,N?l:i),xn(te,N?u:a),yc(be)||wc(te,o,m,ne)})};return ze(t,{onBeforeEnter(N){Kn(w,[N]),xn(N,i),xn(N,s)},onBeforeAppear(N){Kn(M,[N]),xn(N,l),xn(N,c)},onEnter:F(!1),onAppear:F(!0),onLeave(N,te){N._isLeaving=!0;const de=()=>A(N,te);xn(N,d),xn(N,f),a_(),bc(()=>{N._isLeaving&&(Yn(N,d),xn(N,p),yc(P)||wc(N,o,_,de))}),Kn(P,[N,de])},onEnterCancelled(N){R(N,!1),Kn(g,[N])},onAppearCancelled(N){R(N,!0),Kn(Q,[N])},onLeaveCancelled(N){A(N),Kn(O,[N])}})}function r_(e){if(e==null)return null;if(Ve(e))return[xs(e.enter),xs(e.leave)];{const t=xs(e);return[t,t]}}function xs(e){return Nv(e)}function xn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ar]||(e[Ar]=new Set)).add(t)}function Yn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Ar];n&&(n.delete(t),n.size||(e[Ar]=void 0))}function bc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let i_=0;function wc(e,t,n,o){const r=e._endId=++i_,i=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=s_(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[v]||"").split(", "),r=o(`${Sn}Delay`),i=o(`${Sn}Duration`),s=kc(r,i),a=o(`${Jo}Delay`),l=o(`${Jo}Duration`),c=kc(a,l);let u=null,d=0,f=0;t===Sn?s>0&&(u=Sn,d=s,f=i.length):t===Jo?c>0&&(u=Jo,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Sn:Jo:null,f=u?u===Sn?i.length:l.length:0);const p=u===Sn&&/\b(transform|all)(,|$)/.test(o(`${Sn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function kc(e,t){for(;e.lengthSc(n)+Sc(e[o])))}function Sc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function a_(){return document.body.offsetHeight}function l_(e,t,n){const o=e[Ar];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Vi=Symbol("_vod"),Kf=Symbol("_vsh"),Yf={beforeMount(e,{value:t},{transition:n}){e[Vi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Zo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Zo(e,!0),o.enter(e)):o.leave(e,()=>{Zo(e,!1)}):Zo(e,t))},beforeUnmount(e,{value:t}){Zo(e,t)}};function Zo(e,t){e.style.display=t?e[Vi]:"none",e[Kf]=!t}const c_=Symbol(""),u_=/(^|;)\s*display\s*:/;function d_(e,t,n){const o=e.style,r=Ee(n);let i=!1;if(n&&!r){if(t)if(Ee(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&yi(o,a,"")}else for(const s in t)n[s]==null&&yi(o,s,"");for(const s in n)s==="display"&&(i=!0),yi(o,s,n[s])}else if(r){if(t!==n){const s=o[c_];s&&(n+=";"+s),o.cssText=n,i=u_.test(n)}}else t&&e.removeAttribute("style");Vi in e&&(e[Vi]=i?o.display:"",e[Kf]&&(o.display="none"))}const xc=/\s*!important$/;function yi(e,t,n){if(he(n))n.forEach(o=>yi(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=f_(e,t);xc.test(n)?e.setProperty(_n(o),n.replace(xc,""),"important"):e[o]=n}}const Pc=["Webkit","Moz","ms"],Ps={};function f_(e,t){const n=Ps[t];if(n)return n;let o=ft(t);if(o!=="filter"&&o in e)return Ps[t]=o;o=Fr(o);for(let r=0;rTs||(m_.then(()=>Ts=0),Ts=Date.now());function __(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Nt(y_(o,n.value),t,5,[o])};return n.value=e,n.attached=g_(),n}function y_(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Ac=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,b_=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?l_(e,o,s):t==="style"?d_(e,n,o):jr(t)?Ua(t)||h_(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):w_(e,t,o,s))?(Lc(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Cc(e,t,o,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(o))?Lc(e,ft(t),o,i,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Cc(e,t,o,s))};function w_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ac(t)&&pe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ac(t)&&Ee(n)?!1:t in e}const Oc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>mi(t,n):t};function k_(e){e.target.composing=!0}function Ic(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Cs=Symbol("_assign"),S_={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[Cs]=Oc(r);const i=o||r.props&&r.props.type==="number";yo(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=Zs(a)),e[Cs](a)}),n&&yo(e,"change",()=>{e.value=e.value.trim()}),t||(yo(e,"compositionstart",k_),yo(e,"compositionend",Ic),yo(e,"change",Ic))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},s){if(e[Cs]=Oc(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Zs(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===l)||(e.value=l))}},x_=["ctrl","shift","alt","meta"],P_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>x_.some(n=>e[`${n}Key`]&&!t.includes(n))},Qf=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=_n(r.key);if(t.some(s=>s===i||T_[s]===i))return e(r)})},Xf=ze({patchProp:b_},e_);let vr,Vc=!1;function C_(){return vr||(vr=Eg(Xf))}function L_(){return vr=Vc?vr:$g(Xf),Vc=!0,vr}const E_=(...e)=>{const t=C_().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Zf(o);if(!r)return;const i=t._component;!pe(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=n(r,!1,Jf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t},$_=(...e)=>{const t=L_().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Zf(o);if(r)return n(r,!0,Jf(r))},t};function Jf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zf(e){return Ee(e)?document.querySelector(e):e}var ep=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),A_=/.md((\?|#).*)?$/,O_=(e,t="/")=>ep(e)||e.startsWith("/")&&!e.startsWith(t)&&!A_.test(e),Bt=e=>/^(https?:)?\/\//.test(e),Mc=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},I_="http://.",V_=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Mc(new URL(`${n}/${e}`,I_).pathname)}return Mc(e)},M_=(e,t)=>{const n=Object.keys(e).sort((o,r)=>{const i=r.split("/").length-o.split("/").length;return i!==0?i:r.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},R_=/(#|\?)/,tp=e=>{const[t,...n]=e.split(R_);return{pathname:t,hashAndQueries:n.join("")}},N_=["link","meta","script","style","noscript","template"],B_=["title","base"],D_=([e,t,n])=>B_.includes(e)?e:N_.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([o,r])=>typeof r=="boolean"?r?[o,""]:null:[o,r]).filter(o=>o!=null).sort(([o],[r])=>o.localeCompare(r)),n]):null,H_=e=>{const t=new Set,n=[];return e.forEach(o=>{const r=D_(o);r&&!t.has(r)&&(t.add(r),n.push(o))}),n},np=e=>e.startsWith("/")?e:`/${e}`,j_=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,op=e=>e.endsWith("/")?e.slice(0,-1):e,pl=e=>e.startsWith("/")?e.slice(1):e,F_=e=>typeof e=="function",No=e=>Object.prototype.toString.call(e)==="[object Object]",Vt=e=>typeof e=="string";const z_=JSON.parse('{"/1.cpplang/CppProLan.html":"/article/j3qgcpng/","/1.cpplang/fast_io_manipulators.html":"/article/d3sghq29/","/1.cpplang/fast_io_sixfile.html":"/article/72dkdlbu/","/1.cpplang/fast_io_tutorials.html":"/article/xst10xfz/","/2.csapp/%E7%A8%8B%E5%BA%8F%E7%BB%93%E6%9E%84%E5%92%8C%E6%89%A7%E8%A1%8C.html":"/article/027o3g1x/","/c#/c#%E9%9A%8F%E8%AE%B0.html":"/article/vqkwmfa2/","/tools/llvm%E9%93%BE%E6%8E%A5%E6%97%B6%E4%BC%98%E5%8C%96.html":"/article/oy4qci0t/","/tools/vscode_clang.html":"/article/j3e883z1/","/tools/win%E4%B8%8B%E7%9A%84%E7%94%9F%E6%88%90%E5%B7%A5%E5%85%B7.html":"/article/pc9qmrqh/","/tools/%E6%90%AD%E5%BB%BAvscode-cpp%E7%8E%AF%E5%A2%83.html":"/article/wpu7x9jw/","/notes/data_struct/":"/data_struct/","/notes/data_struct/map_str.html":"/data_struct/map_str/","/notes/data_struct/%E6%90%AD%E5%BB%BAvscode-cpp%E7%8E%AF%E5%A2%83.html":"/article/jaovy4gg/","/notes/math/":"/math/","/notes/math/mathformula.html":"/math/mathformula/","/notes/math/reslve.html":"/math/math/7ge8cr0s/","/notes/test1/":"/test1/","/notes/test1/chapter3-4.html":"/test1/chapter3-4/","/notes/test1/exception.html":"/test1/exception/"}'),W_=Object.fromEntries([["/",{loader:()=>Le(()=>import("./index.html-Bw4FYOJk.js"),[]),meta:{title:""}}],["/article/j3qgcpng/",{loader:()=>Le(()=>import("./index.html-D0gdlLJ5.js"),[]),meta:{title:"c++编程语言第四版"}}],["/article/d3sghq29/",{loader:()=>Le(()=>import("./index.html-D4XSmNLh.js"),[]),meta:{title:"fast_io_manipulators"}}],["/article/72dkdlbu/",{loader:()=>Le(()=>import("./index.html-CHKck6ex.js"),[]),meta:{title:"fast_io_sixfile"}}],["/article/xst10xfz/",{loader:()=>Le(()=>import("./index.html-CcEqsE3N.js"),[]),meta:{title:"fast_io_tutorials"}}],["/article/027o3g1x/",{loader:()=>Le(()=>import("./index.html-C5YLi9nC.js"),[]),meta:{title:"程序结构和执行"}}],["/article/vqkwmfa2/",{loader:()=>Le(()=>import("./index.html-CuslHZBP.js"),[]),meta:{title:"c#随记"}}],["/article/oy4qci0t/",{loader:()=>Le(()=>import("./index.html-DN-D4z-u.js"),[]),meta:{title:"llvm链接时优化"}}],["/article/j3e883z1/",{loader:()=>Le(()=>import("./index.html-DV9pNAll.js"),[]),meta:{title:"vscode_clang"}}],["/article/pc9qmrqh/",{loader:()=>Le(()=>import("./index.html-D9l-HxRv.js"),[]),meta:{title:"win下的生成工具"}}],["/article/wpu7x9jw/",{loader:()=>Le(()=>import("./index.html-BP2ETDmt.js"),[]),meta:{title:"搭建vscode-cpp环境"}}],["/data_struct/",{loader:()=>Le(()=>import("./index.html-8ELm8HXD.js"),[]),meta:{title:"data_struct"}}],["/data_struct/map_str/",{loader:()=>Le(()=>import("./index.html-CgSrqMkL.js"),[]),meta:{title:"map_str"}}],["/article/jaovy4gg/",{loader:()=>Le(()=>import("./index.html-DKjqeE9G.js"),[]),meta:{title:"搭建vscode-cpp环境"}}],["/math/",{loader:()=>Le(()=>import("./index.html-kBWmPgdv.js"),[]),meta:{title:"math"}}],["/math/mathformula/",{loader:()=>Le(()=>import("./index.html-Cf4SJRF2.js"),[]),meta:{title:"mathformula"}}],["/math/math/7ge8cr0s/",{loader:()=>Le(()=>import("./index.html-CV6D46Zm.js"),[]),meta:{title:"reslve"}}],["/test1/",{loader:()=>Le(()=>import("./index.html-BY5e6an0.js"),[]),meta:{title:"test1"}}],["/test1/chapter3-4/",{loader:()=>Le(()=>import("./index.html-cycE0uc4.js"),[]),meta:{title:"chapter3-4"}}],["/test1/exception/",{loader:()=>Le(()=>import("./index.html-C8Qgsujr.js"),[]),meta:{title:"exception"}}],["/404.html",{loader:()=>Le(()=>import("./404.html-BwoBnKWK.js"),[]),meta:{title:""}}],["/blog/",{loader:()=>Le(()=>import("./index.html-ien6EySS.js"),[]),meta:{title:"博客"}}],["/blog/tags/",{loader:()=>Le(()=>import("./index.html-BYqiM8sB.js"),[]),meta:{title:"标签"}}],["/blog/archives/",{loader:()=>Le(()=>import("./index.html-DMCOBp41.js"),[]),meta:{title:"归档"}}],["/blog/categories/",{loader:()=>Le(()=>import("./index.html-yNhk76kT.js"),[]),meta:{title:"分类"}}]]);function U_(){return rp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function rp(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const q_=typeof Proxy=="function",G_="devtools-plugin:setup",K_="plugin:settings:set";let mo,pa;function Y_(){var e;return mo!==void 0||(typeof window<"u"&&window.performance?(mo=!0,pa=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(mo=!0,pa=globalThis.perf_hooks.performance):mo=!1),mo}function Q_(){return Y_()?pa.now():Date.now()}class X_{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const o={};if(t.settings)for(const s in t.settings){const a=t.settings[s];o[s]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},o);try{const s=localStorage.getItem(r),a=JSON.parse(s);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(s){try{localStorage.setItem(r,JSON.stringify(s))}catch{}i=s},now(){return Q_()}},n&&n.on(K_,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function J_(e,t){const n=e,o=rp(),r=U_(),i=q_&&n.enableEarlyProxy;if(r&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(G_,e,t);else{const s=i?new X_(n,r):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const ln=typeof document<"u";function ip(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Z_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ip(e.default)}const Pe=Object.assign;function Ls(e,t){const n={};for(const o in t){const r=t[o];n[o]=bt(r)?r.map(e):e(r)}return n}const mr=()=>{},bt=Array.isArray,sp=/#/g,e0=/&/g,t0=/\//g,n0=/=/g,o0=/\?/g,ap=/\+/g,r0=/%5B/g,i0=/%5D/g,lp=/%5E/g,s0=/%60/g,cp=/%7B/g,a0=/%7C/g,up=/%7D/g,l0=/%20/g;function hl(e){return encodeURI(""+e).replace(a0,"|").replace(r0,"[").replace(i0,"]")}function c0(e){return hl(e).replace(cp,"{").replace(up,"}").replace(lp,"^")}function ha(e){return hl(e).replace(ap,"%2B").replace(l0,"+").replace(sp,"%23").replace(e0,"%26").replace(s0,"`").replace(cp,"{").replace(up,"}").replace(lp,"^")}function u0(e){return ha(e).replace(n0,"%3D")}function d0(e){return hl(e).replace(sp,"%23").replace(o0,"%3F")}function f0(e){return e==null?"":d0(e).replace(t0,"%2F")}function Bo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const p0=/\/$/,h0=e=>e.replace(p0,"");function Es(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=_0(o??t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Bo(s)}}function v0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function m0(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Hn(t.matched[o],n.matched[r])&&dp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function dp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!g0(e[n],t[n]))return!1;return!0}function g0(e,t){return bt(e)?Nc(e,t):bt(t)?Nc(t,e):e===t}function Nc(e,t){return bt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function _0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,s,a;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(s).join("/")}const sn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Or;(function(e){e.pop="pop",e.push="push"})(Or||(Or={}));var gr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gr||(gr={}));function y0(e){if(!e)if(ln){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),h0(e)}const b0=/^[^#]+#/;function w0(e,t){return e.replace(b0,"#")+t}function k0(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const es=()=>({left:window.scrollX,top:window.scrollY});function S0(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=k0(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bc(e,t){return(history.state?history.state.position-t:-1)+e}const va=new Map;function x0(e,t){va.set(e,t)}function P0(e){const t=va.get(e);return va.delete(e),t}let T0=()=>location.protocol+"//"+location.host;function fp(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let a=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),Rc(l,"")}return Rc(n,e)+o+r}function C0(e,t,n,o){let r=[],i=[],s=null;const a=({state:f})=>{const p=fp(e,location),v=n.value,m=t.value;let _=0;if(f){if(n.value=p,t.value=f,s&&s===v){s=null;return}_=m?f.position-m.position:0}else o(p);r.forEach(w=>{w(n.value,v,{delta:_,type:Or.pop,direction:_?_>0?gr.forward:gr.back:gr.unknown})})};function l(){s=n.value}function c(f){r.push(f);const p=()=>{const v=r.indexOf(f);v>-1&&r.splice(v,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(Pe({},f.state,{scroll:es()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Dc(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?es():null}}function L0(e){const{history:t,location:n}=window,o={value:fp(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:T0()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function s(l,c){const u=Pe({},t.state,Dc(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function a(l,c){const u=Pe({},r.value,t.state,{forward:l,scroll:es()});i(u.current,u,!0);const d=Pe({},Dc(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:a,replace:s}}function E0(e){e=y0(e);const t=L0(e),n=C0(e,t.state,t.location,t.replace);function o(i,s=!0){s||n.pauseListeners(),history.go(i)}const r=Pe({location:"",base:e,go:o,createHref:w0.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function pp(e){return typeof e=="string"||e&&typeof e=="object"}function hp(e){return typeof e=="string"||typeof e=="symbol"}const vp=Symbol("");var Hc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Hc||(Hc={}));function Do(e,t){return Pe(new Error,{type:e,[vp]:!0},t)}function on(e,t){return e instanceof Error&&vp in e&&(t==null||!!(e.type&t))}const jc="[^/]+?",$0={sensitive:!1,strict:!1,start:!0,end:!0},A0=/[.+*?^${}()[\]/\\]/g;function O0(e,t){const n=Pe({},$0,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function mp(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const V0={type:0,value:""},M0=/[a-zA-Z0-9_]/;function R0(e){if(!e)return[[]];if(e==="/")return[[V0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const r=[];let i;function s(){i&&r.push(i),i=[]}let a=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{s(g)}:mr}function s(d){if(hp(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function a(){return n}function l(d){const f=j0(d,n);n.splice(f,0,d),d.record.name&&!Uc(d)&&o.set(d.record.name,d)}function c(d,f){let p,v={},m,_;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw Do(1,{location:d});_=p.record.name,v=Pe(zc(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&zc(d.params,p.keys.map(g=>g.name))),m=p.stringify(v)}else if(d.path!=null)m=d.path,p=n.find(g=>g.re.test(m)),p&&(v=p.parse(m),_=p.record.name);else{if(p=f.name?o.get(f.name):n.find(g=>g.re.test(f.path)),!p)throw Do(1,{location:d,currentLocation:f});_=p.record.name,v=Pe({},f.params,d.params),m=p.stringify(v)}const w=[];let T=p;for(;T;)w.unshift(T.record),T=T.parent;return{name:_,path:m,params:v,matched:w,meta:H0(w)}}e.forEach(d=>i(d));function u(){n.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function zc(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Wc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:D0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function D0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Uc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function H0(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function qc(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function j0(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;mp(e,t[i])<0?o=i:n=i+1}const r=F0(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function F0(e){let t=e;for(;t=t.parent;)if(gp(t)&&mp(e,t)===0)return t}function gp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function z0(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&ha(i)):[o&&ha(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function W0(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=bt(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const U0=Symbol(""),Kc=Symbol(""),ts=Symbol(""),vl=Symbol(""),ma=Symbol("");function er(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function In(e,t,n,o,r,i=s=>s()){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Do(4,{from:n,to:t})):f instanceof Error?l(f):pp(f)?l(Do(2,{from:t,to:f})):(s&&o.enterCallbacks[r]===s&&typeof f=="function"&&s.push(f),a())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function $s(e,t,n,o,r=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(ip(l)){const u=(l.__vccOpts||l)[t];u&&i.push(In(u,n,o,s,a,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const d=Z_(u)?u.default:u;s.mods[a]=u,s.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&In(p,n,o,s,a,r)()}))}}return i}function Yc(e){const t=Fe(ts),n=Fe(vl),o=x(()=>{const l=fn(e.to);return t.resolve(l)}),r=x(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(Hn.bind(null,u));if(f>-1)return f;const p=Qc(l[c-2]);return c>1&&Qc(u)===p&&d[d.length-1].path!==p?d.findIndex(Hn.bind(null,l[c-2])):f}),i=x(()=>r.value>-1&&Y0(n.params,o.value.params)),s=x(()=>r.value>-1&&r.value===n.matched.length-1&&dp(n.params,o.value.params));function a(l={}){return K0(l)?t[fn(e.replace)?"replace":"push"](fn(e.to)).catch(mr):Promise.resolve()}if(ln){const l=co();if(l){const c={route:o.value,isActive:i.value,isExactActive:s.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),lo(()=>{c.route=o.value,c.isActive=i.value,c.isExactActive=s.value,c.error=pp(fn(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:o,href:x(()=>o.value.href),isActive:i,isExactActive:s,navigate:a}}const q0=D({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Yc,setup(e,{slots:t}){const n=zr(Yc(e)),{options:o}=Fe(ts),r=x(()=>({[Xc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Xc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:me("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),G0=q0;function K0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Y0(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!bt(r)||r.length!==o.length||o.some((i,s)=>i!==r[s]))return!1}return!0}function Qc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xc=(e,t,n)=>e??t??n,Q0=D({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Fe(ma),r=x(()=>e.route||o.value),i=Fe(Kc,0),s=x(()=>{let c=fn(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>r.value.matched[s.value]);vn(Kc,x(()=>s.value+1)),vn(U0,a),vn(ma,r);const l=U();return ge(()=>[l.value,a.value,e.name],([c,u,d],[f,p,v])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Hn(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return Jc(n.default,{Component:f,route:c});const p=d.props[u],v=p?p===!0?c.params:typeof p=="function"?p(c):p:null,_=me(f,Pe({},v,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));if(ln&&_.ref){const w={depth:s.value,name:d.name,path:d.path,meta:d.meta};(bt(_.ref)?_.ref.map(g=>g.i):[_.ref.i]).forEach(g=>{g.__vrv_devtools=w})}return Jc(n.default,{Component:_,route:c})||_}}});function Jc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const X0=Q0;function tr(e,t){const n=Pe({},e,{matched:e.matched.map(o=>l1(o,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function ri(e){return{_custom:{display:e}}}let J0=0;function Z0(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const o=J0++;J_({id:"org.vuejs.router"+(o?"."+o:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},r=>{typeof r.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((u,d)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:tr(t.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:u,componentInstance:d})=>{if(d.__vrv_devtools){const f=d.__vrv_devtools;u.tags.push({label:(f.name?`${f.name.toString()}: `:"")+f.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:_p})}bt(d.__vrl_devtools)&&(d.__devtoolsApi=r,d.__vrl_devtools.forEach(f=>{let p=f.route.path,v=wp,m="",_=0;f.error?(p=f.error,v=r1,_=i1):f.isExactActive?(v=bp,m="This is exactly active"):f.isActive&&(v=yp,m="This link is active"),u.tags.push({label:p,textColor:_,tooltip:m,backgroundColor:v})}))}),ge(t.currentRoute,()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)});const i="router:navigations:"+o;r.addTimelineLayer({id:i,label:`Router${o?" "+o:""} Navigations`,color:4237508}),t.onError((u,d)=>{r.addTimelineEvent({layerId:i,event:{title:"Error during Navigation",subtitle:d.fullPath,logType:"error",time:r.now(),data:{error:u},groupId:d.meta.__navigationId}})});let s=0;t.beforeEach((u,d)=>{const f={guard:ri("beforeEach"),from:tr(d,"Current Location during this navigation"),to:tr(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:i,event:{time:r.now(),title:"Start of navigation",subtitle:u.fullPath,data:f,groupId:u.meta.__navigationId}})}),t.afterEach((u,d,f)=>{const p={guard:ri("afterEach")};f?(p.failure={_custom:{type:Error,readOnly:!0,display:f?f.message:"",tooltip:"Navigation Failure",value:f}},p.status=ri("❌")):p.status=ri("✅"),p.from=tr(d,"Current Location during this navigation"),p.to=tr(u,"Target location"),r.addTimelineEvent({layerId:i,event:{title:"End of navigation",subtitle:u.fullPath,time:r.now(),data:p,logType:f?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+o;r.addInspector({id:a,label:"Routes"+(o?" "+o:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let d=n.getRoutes().filter(f=>!f.parent||!f.parent.record.components);d.forEach(xp),u.filter&&(d=d.filter(f=>ga(f,u.filter.toLowerCase()))),d.forEach(f=>Sp(f,t.currentRoute.value)),u.rootNodes=d.map(kp)}let c;r.on.getInspectorTree(u=>{c=u,u.app===e&&u.inspectorId===a&&l()}),r.on.getInspectorState(u=>{if(u.app===e&&u.inspectorId===a){const f=n.getRoutes().find(p=>p.record.__vd_id===u.nodeId);f&&(u.state={options:t1(f)})}}),r.sendInspectorTree(a),r.sendInspectorState(a)})}function e1(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function t1(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(o=>`${o.name}${e1(o)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(o=>o.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(o=>o.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const _p=15485081,yp=2450411,bp=8702998,n1=2282478,wp=16486972,o1=6710886,r1=16704226,i1=12131356;function kp(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:n1}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:wp}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:_p}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:bp}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:yp}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:o1});let o=n.__vd_id;return o==null&&(o=String(s1++),n.__vd_id=o),{id:o,label:n.path,tags:t,children:e.children.map(kp)}}let s1=0;const a1=/^\/(.*)\/([a-z]*)$/;function Sp(e,t){const n=t.matched.length&&Hn(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(o=>Hn(o,e.record))),e.children.forEach(o=>Sp(o,t))}function xp(e){e.__vd_match=!1,e.children.forEach(xp)}function ga(e,t){const n=String(e.re).match(a1);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(s=>ga(s,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),i=Bo(r);return!t.startsWith("/")&&(i.includes(t)||r.includes(t))||i.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(s=>ga(s,t))}function l1(e,t){const n={};for(const o in e)t.includes(o)||(n[o]=e[o]);return n}function c1(e){const t=B0(e.routes,e),n=e.parseQuery||z0,o=e.stringifyQuery||Gc,r=e.history,i=er(),s=er(),a=er(),l=rt(sn);let c=sn;ln&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ls.bind(null,I=>""+I),d=Ls.bind(null,f0),f=Ls.bind(null,Bo);function p(I,re){let Z,le;return hp(I)?(Z=t.getRecordMatcher(I),le=re):le=I,t.addRoute(le,Z)}function v(I){const re=t.getRecordMatcher(I);re&&t.removeRoute(re)}function m(){return t.getRoutes().map(I=>I.record)}function _(I){return!!t.getRecordMatcher(I)}function w(I,re){if(re=Pe({},re||l.value),typeof I=="string"){const S=Es(n,I,re.path),$=t.resolve({path:S.path},re),z=r.createHref(S.fullPath);return Pe(S,$,{params:f($.params),hash:Bo(S.hash),redirectedFrom:void 0,href:z})}let Z;if(I.path!=null)Z=Pe({},I,{path:Es(n,I.path,re.path).path});else{const S=Pe({},I.params);for(const $ in S)S[$]==null&&delete S[$];Z=Pe({},I,{params:d(S)}),re.params=d(re.params)}const le=t.resolve(Z,re),xe=I.hash||"";le.params=u(f(le.params));const $e=v0(o,Pe({},I,{hash:c0(xe),path:le.path})),y=r.createHref($e);return Pe({fullPath:$e,hash:xe,query:o===Gc?W0(I.query):I.query||{}},le,{redirectedFrom:void 0,href:y})}function T(I){return typeof I=="string"?Es(n,I,l.value.path):Pe({},I)}function g(I,re){if(c!==I)return Do(8,{from:re,to:I})}function P(I){return H(I)}function O(I){return P(Pe(T(I),{replace:!0}))}function M(I){const re=I.matched[I.matched.length-1];if(re&&re.redirect){const{redirect:Z}=re;let le=typeof Z=="function"?Z(I):Z;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=T(le):{path:le},le.params={}),Pe({query:I.query,hash:I.hash,params:le.path!=null?{}:I.params},le)}}function H(I,re){const Z=c=w(I),le=l.value,xe=I.state,$e=I.force,y=I.replace===!0,S=M(Z);if(S)return H(Pe(T(S),{state:typeof S=="object"?Pe({},xe,S.state):xe,force:$e,replace:y}),re||Z);const $=Z;$.redirectedFrom=re;let z;return!$e&&m0(o,le,Z)&&(z=Do(16,{to:$,from:le}),wt(le,le,!0,!1)),(z?Promise.resolve(z):A($,le)).catch(V=>on(V)?on(V,2)?V:Je(V):se(V,$,le)).then(V=>{if(V){if(on(V,2))return H(Pe({replace:y},T(V.to),{state:typeof V.to=="object"?Pe({},xe,V.to.state):xe,force:$e}),re||$)}else V=N($,le,!0,y,xe);return F($,le,V),V})}function Q(I,re){const Z=g(I,re);return Z?Promise.reject(Z):Promise.resolve()}function R(I){const re=tn.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(I):I()}function A(I,re){let Z;const[le,xe,$e]=u1(I,re);Z=$s(le.reverse(),"beforeRouteLeave",I,re);for(const S of le)S.leaveGuards.forEach($=>{Z.push(In($,I,re))});const y=Q.bind(null,I,re);return Z.push(y),Ze(Z).then(()=>{Z=[];for(const S of i.list())Z.push(In(S,I,re));return Z.push(y),Ze(Z)}).then(()=>{Z=$s(xe,"beforeRouteUpdate",I,re);for(const S of xe)S.updateGuards.forEach($=>{Z.push(In($,I,re))});return Z.push(y),Ze(Z)}).then(()=>{Z=[];for(const S of $e)if(S.beforeEnter)if(bt(S.beforeEnter))for(const $ of S.beforeEnter)Z.push(In($,I,re));else Z.push(In(S.beforeEnter,I,re));return Z.push(y),Ze(Z)}).then(()=>(I.matched.forEach(S=>S.enterCallbacks={}),Z=$s($e,"beforeRouteEnter",I,re,R),Z.push(y),Ze(Z))).then(()=>{Z=[];for(const S of s.list())Z.push(In(S,I,re));return Z.push(y),Ze(Z)}).catch(S=>on(S,8)?S:Promise.reject(S))}function F(I,re,Z){a.list().forEach(le=>R(()=>le(I,re,Z)))}function N(I,re,Z,le,xe){const $e=g(I,re);if($e)return $e;const y=re===sn,S=ln?history.state:{};Z&&(le||y?r.replace(I.fullPath,Pe({scroll:y&&S&&S.scroll},xe)):r.push(I.fullPath,xe)),l.value=I,wt(I,re,Z,y),Je()}let te;function de(){te||(te=r.listen((I,re,Z)=>{if(!Dt.listening)return;const le=w(I),xe=M(le);if(xe){H(Pe(xe,{replace:!0}),le).catch(mr);return}c=le;const $e=l.value;ln&&x0(Bc($e.fullPath,Z.delta),es()),A(le,$e).catch(y=>on(y,12)?y:on(y,2)?(H(y.to,le).then(S=>{on(S,20)&&!Z.delta&&Z.type===Or.pop&&r.go(-1,!1)}).catch(mr),Promise.reject()):(Z.delta&&r.go(-Z.delta,!1),se(y,le,$e))).then(y=>{y=y||N(le,$e,!1),y&&(Z.delta&&!on(y,8)?r.go(-Z.delta,!1):Z.type===Or.pop&&on(y,20)&&r.go(-1,!1)),F(le,$e,y)}).catch(mr)}))}let be=er(),ne=er(),ce;function se(I,re,Z){Je(I);const le=ne.list();return le.length?le.forEach(xe=>xe(I,re,Z)):console.error(I),Promise.reject(I)}function _e(){return ce&&l.value!==sn?Promise.resolve():new Promise((I,re)=>{be.add([I,re])})}function Je(I){return ce||(ce=!I,de(),be.list().forEach(([re,Z])=>I?Z(I):re()),be.reset()),I}function wt(I,re,Z,le){const{scrollBehavior:xe}=e;if(!ln||!xe)return Promise.resolve();const $e=!Z&&P0(Bc(I.fullPath,0))||(le||!Z)&&history.state&&history.state.scroll||null;return Et().then(()=>xe(I,re,$e)).then(y=>y&&S0(y)).catch(y=>se(y,I,re))}const Ge=I=>r.go(I);let ht;const tn=new Set,Dt={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:m,resolve:w,options:e,push:P,replace:O,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:ne.add,isReady:_e,install(I){const re=this;I.component("RouterLink",G0),I.component("RouterView",X0),I.config.globalProperties.$router=re,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>fn(l)}),ln&&!ht&&l.value===sn&&(ht=!0,P(r.location).catch(xe=>{}));const Z={};for(const xe in sn)Object.defineProperty(Z,xe,{get:()=>l.value[xe],enumerable:!0});I.provide(ts,re),I.provide(vl,Gd(Z)),I.provide(ma,l);const le=I.unmount;tn.add(I),I.unmount=function(){tn.delete(I),tn.size<1&&(c=sn,te&&te(),te=null,l.value=sn,ht=!1,ce=!1),le()},ln&&Z0(I,re,t)}};function Ze(I){return I.reduce((re,Z)=>re.then(()=>R(Z)),Promise.resolve())}return Dt}function u1(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sHn(c,a))?o.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>Hn(c,l))||r.push(l))}return[n,o,r]}function Go(){return Fe(ts)}function ct(e){return Fe(vl)}var ml=Symbol(""),kn=()=>{const e=Fe(ml);if(!e)throw new Error("useClientData() is called without provider.");return e},Pp=()=>kn().pageComponent,gl=()=>kn().pageData,_l=()=>kn().pageFrontmatter,d1=()=>kn().pageHead,Ko=()=>kn().pageLang,f1=()=>kn().pageLayout,zn=()=>kn().routeLocale,p1=()=>kn().routePath,h1=()=>kn().siteLocaleData,v1=Symbol(""),_a=rt(z_),Ao=rt(W_),Tp=(e,t)=>{const n=V_(e,t);if(Ao.value[n])return n;const o=encodeURI(n);if(Ao.value[o])return o;const r=_a.value[n]||_a.value[o];return r||n},Ho=(e,t)=>{const{pathname:n,hashAndQueries:o}=tp(e),r=Tp(n,t),i=r+o;return Ao.value[r]?{...Ao.value[r],path:i,notFound:!1}:{...Ao.value["/404.html"],path:i,notFound:!0}},Wn=(e,t)=>{const{pathname:n,hashAndQueries:o}=tp(e);return Tp(n,t)+o},m1=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},g1=D({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=Go(),o=ct(),r=x(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/${Wn(e.to,o.path).substring(1)}`);return()=>me("a",{class:["route-link",{[e.activeClass]:e.active}],href:r.value,onClick:(i={})=>{m1(i)&&n.push(e.to).catch()}},t.default())}}),_1=D({name:"ClientOnly",setup(e,t){const n=U(!1);return Ne(()=>{n.value=!0}),()=>{var o,r;return n.value?(r=(o=t.slots).default)==null?void 0:r.call(o):null}}}),Cp=D({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Pp(),n=x(()=>{if(!e.path)return t.value;const o=Ho(e.path);return sl(async()=>o.loader().then(({comp:r})=>r))});return()=>me(n.value)}}),y1="Layout",b1="en-US",Qn=zr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const o=Vt(t.description)?t.description:n.description,r=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:o}]];return H_(r)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||b1,resolvePageLayout:(e,t)=>{const n=Vt(e.frontmatter.layout)?e.frontmatter.layout:y1;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>M_(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},o)=>{var r;return{...n,...t[o],head:[...((r=t[o])==null?void 0:r.head)??[],...n.head]}}}),uo=(e={})=>e,dt=e=>Bt(e)?e:`/${pl(e)}`,w1={};const k1=Object.freeze(Object.defineProperty({__proto__:null,default:w1},Symbol.toStringTag,{value:"Module"}));var bi=[];function S1(e){bi.push(e),Zt(()=>{bi=bi.filter(t=>t!==e)})}function As(e){bi.forEach(t=>t(e))}var x1=D({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Pp(),n=x(()=>{if(!e.path)return t.value;const o=Ho(e.path);return sl(()=>o.loader().then(({comp:r})=>r))});return()=>me(n.value,{onVnodeMounted:()=>As({mounted:!0}),onVnodeUpdated:()=>As({updated:!0}),onVnodeBeforeUnmount:()=>As({beforeUnmount:!0})})}}),P1=uo({enhance({app:e}){e._context.components.Content&&delete e._context.components.Content,e.component("Content",x1)}});const T1=Object.freeze(Object.defineProperty({__proto__:null,default:P1},Symbol.toStringTag,{value:"Module"}));function Un(e){return Od()?(Xv(e),!0):!1}function He(e){return typeof e=="function"?e():fn(e)}const Gr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const C1=e=>e!=null,L1=Object.prototype.toString,E1=e=>L1.call(e)==="[object Object]",Gt=()=>{},$1=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ya=A1();function A1(){var e,t;return Gr&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Lp(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const Ep=e=>e();function O1(e,t={}){let n,o,r=Gt;const i=a=>{clearTimeout(a),r(),r=Gt};return a=>{const l=He(e),c=He(t.maxWait);return n&&i(n),l<=0||c!==void 0&&c<=0?(o&&(i(o),o=null),Promise.resolve(a())):new Promise((u,d)=>{r=t.rejectOnCancel?d:u,c&&!o&&(o=setTimeout(()=>{n&&i(n),o=null,u(a())},c)),n=setTimeout(()=>{o&&i(o),o=null,u(a())},l)})}}function I1(...e){let t=0,n,o=!0,r=Gt,i,s,a,l,c;!Be(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[s,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Gt)};return f=>{const p=He(s),v=Date.now()-t,m=()=>i=f();return u(),p<=0?(t=Date.now(),m()):(v>p&&(l||!o)?(t=Date.now(),m()):a&&(i=new Promise((_,w)=>{r=c?w:_,n=setTimeout(()=>{t=Date.now(),o=!0,_(m()),u()},Math.max(0,p-v))})),!l&&!n&&(n=setTimeout(()=>o=!0,p)),o=!1,i)}}function V1(e=Ep){const t=U(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Uo(t),pause:n,resume:o,eventFilter:r}}function M1(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function R1(e){return co()}function $p(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?Uo(tl(()=>({get:t,set:Gt}))):U(t)}function N1(e,t=200,n=!1,o=!0,r=!1){return Lp(I1(t,n,o,r),e)}function Ap(e,t,n={}){const{eventFilter:o=Ep,...r}=n;return ge(e,Lp(o,t),r)}function B1(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=V1(o);return{stop:Ap(e,t,{...r,eventFilter:i}),pause:s,resume:a,isActive:l}}function ns(e,t=!0,n){R1()?Ne(e,n):t?e():Et(e)}function D1(e,t,n={}){const{immediate:o=!0}=n,r=U(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function a(){r.value=!1,s()}function l(...c){s(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...c)},He(t))}return o&&(r.value=!0,Gr&&l()),Un(a),{isPending:Uo(r),start:l,stop:a}}function Op(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=Be(e),i=U(e);function s(a){if(arguments.length)return i.value=a,i.value;{const l=He(n);return i.value=i.value===l?He(o):l,i.value}}return r?s:[i,s]}function H1(e,t,n={}){const{debounce:o=0,maxWait:r=void 0,...i}=n;return Ap(e,t,{...i,eventFilter:O1(o,{maxWait:r})})}function JT(e,t,n){let o;Be(n)?o={evaluating:n}:o={};const{lazy:r=!1,evaluating:i=void 0,shallow:s=!0,onError:a=Gt}=o,l=U(!r),c=s?rt(t):U(t);let u=0;return lo(async d=>{if(!l.value)return;u++;const f=u;let p=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const v=await e(m=>{d(()=>{i&&(i.value=!1),p||m()})});f===u&&(c.value=v)}catch(v){a(v)}finally{i&&f===u&&(i.value=!1),p=!0}}),r?x(()=>(l.value=!0,c.value)):c}const it=Gr?window:void 0,j1=Gr?window.document:void 0,Ip=Gr?window.navigator:void 0;function ot(e){var t;const n=He(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Ue(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=it):[t,n,o,r]=e,!t)return Gt;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=ge(()=>[ot(t),He(r)],([u,d])=>{if(s(),!u)return;const f=E1(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(v=>a(u,p,v,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return Un(c),c}let Zc=!1;function Vp(e,t,n={}){const{window:o=it,ignore:r=[],capture:i=!0,detectIframe:s=!1}=n;if(!o)return Gt;ya&&!Zc&&(Zc=!0,Array.from(o.document.body.children).forEach(p=>p.addEventListener("click",Gt)),o.document.documentElement.addEventListener("click",Gt));let a=!0;const l=p=>He(r).some(v=>{if(typeof v=="string")return Array.from(o.document.querySelectorAll(v)).some(m=>m===p.target||p.composedPath().includes(m));{const m=ot(v);return m&&(p.target===m||p.composedPath().includes(m))}}),c=p=>{const v=ot(e);if(!(!v||v===p.target||p.composedPath().includes(v))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}};let u=!1;const d=[Ue(o,"click",p=>{u||(u=!0,setTimeout(()=>{u=!1},0),c(p))},{passive:!0,capture:i}),Ue(o,"pointerdown",p=>{const v=ot(e);a=!l(p)&&!!(v&&!p.composedPath().includes(v))},{passive:!0}),s&&Ue(o,"blur",p=>{setTimeout(()=>{var v;const m=ot(e);((v=o.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>d.forEach(p=>p())}function F1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function eu(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=it,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=o,l=F1(t);return Ue(r,i,u=>{u.repeat&&He(a)||l(u)&&n(u)},s)}function z1(){const e=U(!1),t=co();return t&&Ne(()=>{e.value=!0},t),e}function Yo(e){const t=z1();return x(()=>(t.value,!!e()))}function W1(e,t,n={}){const{window:o=it,...r}=n;let i;const s=Yo(()=>o&&"MutationObserver"in o),a=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>{const f=He(e),p=(Array.isArray(f)?f:[f]).map(ot).filter(C1);return new Set(p)}),c=ge(()=>l.value,f=>{a(),s.value&&f.size&&(i=new MutationObserver(t),f.forEach(p=>i.observe(p,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{c(),a()};return Un(d),{isSupported:s,stop:d,takeRecords:u}}function Qt(e,t={}){const{window:n=it}=t,o=Yo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=U(!1),s=c=>{i.value=c.matches},a=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s))},l=lo(()=>{o.value&&(a(),r=n.matchMedia(He(e)),"addEventListener"in r?r.addEventListener("change",s):r.addListener(s),i.value=r.matches)});return Un(()=>{l(),a(),r=void 0}),i}function tu(e,t={}){const{controls:n=!1,navigator:o=Ip}=t,r=Yo(()=>o&&"permissions"in o),i=rt(),s=typeof e=="string"?{name:e}:e,a=rt(),l=()=>{var u,d;a.value=(d=(u=i.value)==null?void 0:u.state)!=null?d:"prompt"};Ue(i,"change",l);const c=M1(async()=>{if(r.value){if(!i.value)try{i.value=await o.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return we(i.value)}});return c(),n?{state:a,isSupported:r,query:c}:a}function U1(e={}){const{navigator:t=Ip,read:n=!1,source:o,copiedDuring:r=1500,legacy:i=!1}=e,s=Yo(()=>t&&"clipboard"in t),a=tu("clipboard-read"),l=tu("clipboard-write"),c=x(()=>s.value||i),u=U(""),d=U(!1),f=D1(()=>d.value=!1,r);function p(){s.value&&w(a.value)?t.clipboard.readText().then(T=>{u.value=T}):u.value=_()}c.value&&n&&Ue(["copy","cut"],p);async function v(T=He(o)){c.value&&T!=null&&(s.value&&w(l.value)?await t.clipboard.writeText(T):m(T),u.value=T,d.value=!0,f.start())}function m(T){const g=document.createElement("textarea");g.value=T??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function _(){var T,g,P;return(P=(g=(T=document==null?void 0:document.getSelection)==null?void 0:T.call(document))==null?void 0:g.toString())!=null?P:""}function w(T){return T==="granted"||T==="prompt"}return{isSupported:c,text:u,copied:d,copy:v}}const ii=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},si="__vueuse_ssr_handlers__",q1=G1();function G1(){return si in ii||(ii[si]=ii[si]||{}),ii[si]}function Mp(e,t){return q1[e]||t}function Rp(e){return Qt("(prefers-color-scheme: dark)",e)}function K1(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Y1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},nu="vueuse-storage";function Kr(e,t,n,o={}){var r;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=it,eventFilter:f,onError:p=A=>{console.error(A)},initOnMounted:v}=o,m=(u?rt:U)(typeof t=="function"?t():t);if(!n)try{n=Mp("getDefaultStorage",()=>{var A;return(A=it)==null?void 0:A.localStorage})()}catch(A){p(A)}if(!n)return m;const _=He(t),w=K1(_),T=(r=o.serializer)!=null?r:Y1[w],{pause:g,resume:P}=B1(m,()=>M(m.value),{flush:i,deep:s,eventFilter:f});d&&a&&ns(()=>{n instanceof Storage?Ue(d,"storage",Q):Ue(d,nu,R),v&&Q()}),v||Q();function O(A,F){if(d){const N={key:e,oldValue:A,newValue:F,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(nu,{detail:N}))}}function M(A){try{const F=n.getItem(e);if(A==null)O(F,null),n.removeItem(e);else{const N=T.write(A);F!==N&&(n.setItem(e,N),O(F,N))}}catch(F){p(F)}}function H(A){const F=A?A.newValue:n.getItem(e);if(F==null)return l&&_!=null&&n.setItem(e,T.write(_)),_;if(!A&&c){const N=T.read(F);return typeof c=="function"?c(N,_):w==="object"&&!Array.isArray(N)?{..._,...N}:N}else return typeof F!="string"?F:T.read(F)}function Q(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){m.value=_;return}if(!(A&&A.key!==e)){g();try{(A==null?void 0:A.newValue)!==T.write(m.value)&&(m.value=H(A))}catch(F){p(F)}finally{A?Et(P):P()}}}}function R(A){Q(A.detail)}return m}const Q1="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function X1(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=it,storage:i,storageKey:s="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=Rp({window:r}),p=x(()=>f.value?"dark":"light"),v=l||(s==null?$p(o):Kr(s,o,i,{window:r,listenToStorageChanges:a})),m=x(()=>v.value==="auto"?p.value:v.value),_=Mp("updateHTMLAttrs",(P,O,M)=>{const H=typeof P=="string"?r==null?void 0:r.document.querySelector(P):ot(P);if(!H)return;const Q=new Set,R=new Set;let A=null;if(O==="class"){const N=M.split(/\s/g);Object.values(d).flatMap(te=>(te||"").split(/\s/g)).filter(Boolean).forEach(te=>{N.includes(te)?Q.add(te):R.add(te)})}else A={key:O,value:M};if(Q.size===0&&R.size===0&&A===null)return;let F;u&&(F=r.document.createElement("style"),F.appendChild(document.createTextNode(Q1)),r.document.head.appendChild(F));for(const N of Q)H.classList.add(N);for(const N of R)H.classList.remove(N);A&&H.setAttribute(A.key,A.value),u&&(r.getComputedStyle(F).opacity,document.head.removeChild(F))});function w(P){var O;_(t,n,(O=d[P])!=null?O:P)}function T(P){e.onChanged?e.onChanged(P,w):w(P)}ge(m,T,{flush:"post",immediate:!0}),ns(()=>T(m.value));const g=x({get(){return c?v.value:m.value},set(P){v.value=P}});try{return Object.assign(g,{store:v,system:p,state:m})}catch{return g}}function J1(e,t,n={}){const{window:o=it,initialValue:r,observe:i=!1}=n,s=U(r),a=x(()=>{var c;return ot(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=He(e),d=He(a);if(d&&o&&u){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();s.value=f||r}}return i&&W1(a,l,{attributeFilter:["style","class"],window:o}),ge([a,()=>He(e)],(c,u)=>{u[0]&&u[1]&&u[0].style.removeProperty(u[1]),l()},{immediate:!0}),ge(s,c=>{var u;const d=He(e);(u=a.value)!=null&&u.style&&d&&(c==null?a.value.style.removeProperty(d):a.value.style.setProperty(d,c))}),s}function Z1(e={}){const{valueDark:t="dark",valueLight:n="",window:o=it}=e,r=X1({...e,onChanged:(a,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,a==="dark",l,a):l(a)},modes:{dark:t,light:n}}),i=x(()=>r.system?r.system.value:Rp({window:o}).value?"dark":"light");return x({get(){return r.value==="dark"},set(a){const l=a?"dark":"light";i.value===l?r.value="auto":r.value=l}})}function ey(e,t,n={}){const{window:o=it,...r}=n;let i;const s=Yo(()=>o&&"ResizeObserver"in o),a=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>{const d=He(e);return Array.isArray(d)?d.map(f=>ot(f)):[ot(d)]}),c=ge(l,d=>{if(a(),s.value&&o){i=new ResizeObserver(t);for(const f of d)f&&i.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Un(u),{isSupported:s,stop:u}}function ty(e,t={width:0,height:0},n={}){const{window:o=it,box:r="content-box"}=n,i=x(()=>{var d,f;return(f=(d=ot(e))==null?void 0:d.namespaceURI)==null?void 0:f.includes("svg")}),s=U(t.width),a=U(t.height),{stop:l}=ey(e,([d])=>{const f=r==="border-box"?d.borderBoxSize:r==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&i.value){const p=ot(e);if(p){const v=p.getBoundingClientRect();s.value=v.width,a.value=v.height}}else if(f){const p=Array.isArray(f)?f:[f];s.value=p.reduce((v,{inlineSize:m})=>v+m,0),a.value=p.reduce((v,{blockSize:m})=>v+m,0)}else s.value=d.contentRect.width,a.value=d.contentRect.height},n);ns(()=>{const d=ot(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ge(()=>ot(e),d=>{s.value=d?t.width:0,a.value=d?t.height:0});function u(){l(),c()}return{width:s,height:a,stop:u}}const ou=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function ny(e,t={}){const{document:n=j1,autoExit:o=!1}=t,r=x(()=>{var w;return(w=ot(e))!=null?w:n==null?void 0:n.querySelector("html")}),i=U(!1),s=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),l=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),u=Yo(()=>r.value&&n&&s.value!==void 0&&a.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const w=r.value;if((w==null?void 0:w[l.value])!=null)return!!w[l.value]}}return!1};async function p(){if(!(!u.value||!i.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const w=r.value;(w==null?void 0:w[a.value])!=null&&await w[a.value]()}i.value=!1}}async function v(){if(!u.value||i.value)return;f()&&await p();const w=r.value;s.value&&(w==null?void 0:w[s.value])!=null&&(await w[s.value](),i.value=!0)}async function m(){await(i.value?p():v())}const _=()=>{const w=f();(!w||w&&d())&&(i.value=w)};return Ue(n,ou,_,!1),Ue(()=>ot(r),ou,_,!1),o&&Un(p),{isSupported:u,isFullscreen:i,enter:v,exit:p,toggle:m}}function Os(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function oy(e,t,n={}){const{window:o=it}=n;return Kr(e,t,o==null?void 0:o.localStorage,n)}function Np(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Is=new WeakMap;function yl(e,t=!1){const n=U(t);let o=null,r="";ge($p(e),a=>{const l=Os(He(a));if(l){const c=l;if(Is.get(c)||Is.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const a=Os(He(e));!a||n.value||(ya&&(o=Ue(a,"touchmove",l=>{ry(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=Os(He(e));!a||!n.value||(ya&&(o==null||o()),a.style.overflow=r,Is.delete(a),n.value=!1)};return Un(s),x({get(){return n.value},set(a){a?i():s()}})}function Bp(e,t,n={}){const{window:o=it}=n;return Kr(e,t,o==null?void 0:o.sessionStorage,n)}function bl(e={}){const{window:t=it,behavior:n="auto"}=e;if(!t)return{x:U(0),y:U(0)};const o=U(t.scrollX),r=U(t.scrollY),i=x({get(){return o.value},set(a){scrollTo({left:a,behavior:n})}}),s=x({get(){return r.value},set(a){scrollTo({top:a,behavior:n})}});return Ue(t,"scroll",()=>{o.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}function iy(e={}){const{window:t=it,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=U(n),l=U(o),c=()=>{t&&(s==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),ns(c),Ue("resize",c,{passive:!0}),r){const u=Qt("(orientation: portrait)");ge(u,()=>c())}return{width:a,height:l}}var _t=Uint8Array,ko=Uint16Array,sy=Int32Array,Dp=new _t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Hp=new _t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ay=new _t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),jp=function(e,t){for(var n=new ko(31),o=0;o<31;++o)n[o]=t+=1<>1|(Me&21845)<<1;Pn=(Pn&52428)>>2|(Pn&13107)<<2,Pn=(Pn&61680)>>4|(Pn&3855)<<4,ba[Me]=((Pn&65280)>>8|(Pn&255)<<8)>>1}var _r=function(e,t,n){for(var o=e.length,r=0,i=new ko(t);r>l]=c}else for(a=new ko(o),r=0;r>15-e[r]);return a},Yr=new _t(288);for(var Me=0;Me<144;++Me)Yr[Me]=8;for(var Me=144;Me<256;++Me)Yr[Me]=9;for(var Me=256;Me<280;++Me)Yr[Me]=7;for(var Me=280;Me<288;++Me)Yr[Me]=8;var Wp=new _t(32);for(var Me=0;Me<32;++Me)Wp[Me]=5;var dy=_r(Yr,9,1),fy=_r(Wp,5,1),Vs=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},At=function(e,t,n){var o=t/8|0;return(e[o]|e[o+1]<<8)>>(t&7)&n},Ms=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},py=function(e){return(e+7)/8|0},Up=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new _t(e.subarray(t,n))},hy=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xt=function(e,t,n){var o=new Error(t||hy[e]);if(o.code=e,Error.captureStackTrace&&Error.captureStackTrace(o,xt),!n)throw o;return o},vy=function(e,t,n,o){var r=e.length,i=0;if(!r||t.f&&!t.l)return n||new _t(0);var s=!n,a=s||t.i!=2,l=t.i;s&&(n=new _t(r*3));var c=function(xe){var $e=n.length;if(xe>$e){var y=new _t(Math.max($e*2,xe));y.set(n),n=y}},u=t.f||0,d=t.p||0,f=t.b||0,p=t.l,v=t.d,m=t.m,_=t.n,w=r*8;do{if(!p){u=At(e,d,1);var T=At(e,d+1,3);if(d+=3,T)if(T==1)p=dy,v=fy,m=9,_=5;else if(T==2){var M=At(e,d,31)+257,H=At(e,d+10,15)+4,Q=M+At(e,d+5,31)+1;d+=14;for(var R=new _t(Q),A=new _t(19),F=0;F>4;if(g<16)R[F++]=g;else{var ne=0,ce=0;for(g==16?(ce=3+At(e,d,3),d+=2,ne=R[F-1]):g==17?(ce=3+At(e,d,7),d+=3):g==18&&(ce=11+At(e,d,127),d+=7);ce--;)R[F++]=ne}}var se=R.subarray(0,M),_e=R.subarray(M);m=Vs(se),_=Vs(_e),p=_r(se,m,1),v=_r(_e,_,1)}else xt(1);else{var g=py(d)+4,P=e[g-4]|e[g-3]<<8,O=g+P;if(O>r){l&&xt(0);break}a&&c(f+P),n.set(e.subarray(g,O),f),t.b=f+=P,t.p=d=O*8,t.f=u;continue}if(d>w){l&&xt(0);break}}a&&c(f+131072);for(var Je=(1<>4;if(d+=ne&15,d>w){l&&xt(0);break}if(ne||xt(2),ht<256)n[f++]=ht;else if(ht==256){Ge=d,p=null;break}else{var tn=ht-254;if(ht>264){var F=ht-257,Dt=Dp[F];tn=At(e,d,(1<>4;Ze||xt(3),d+=Ze&15;var _e=uy[I];if(I>3){var Dt=Hp[I];_e+=Ms(e,d)&(1<w){l&&xt(0);break}a&&c(f+131072);var re=f+tn;if(f<_e){var Z=i-_e,le=Math.min(_e,re);for(Z+f<0&&xt(3);f>4>7||(e[0]<<8|e[1])%31)&&xt(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&xt(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function _y(e,t){return vy(e.subarray(gy(e,t),-4),{i:2},t,t)}var wa=typeof TextDecoder<"u"&&new TextDecoder,yy=0;try{wa.decode(my,{stream:!0}),yy=1}catch{}var by=function(e){for(var t="",n=0;;){var o=e[n++],r=(o>127)+(o>223)+(o>239);if(n+r>e.length)return{s:t,r:Up(e,n-1)};r?r==3?(o=((o&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|o>>10,56320|o&1023)):r&1?t+=String.fromCharCode((o&31)<<6|e[n++]&63):t+=String.fromCharCode((o&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(o)}};function wy(e,t){{for(var n=new _t(e.length),o=0;o{var o;const n=(o=co())==null?void 0:o.appContext.components;return n?e in n||ft(e)in n||Fr(ft(e))in n:!1},Sy=e=>new Promise(t=>{setTimeout(t,e)}),qp=e=>{const t=zn();return x(()=>e[t.value]??{})},xy=e=>typeof e<"u",{isArray:ka}=Array,Py=(e,t)=>Vt(e)&&e.startsWith(t),Gp=e=>Py(e,"/");/** + * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT + */const iu=(e,t)=>{e.classList.add(t)},su=(e,t)=>{e.classList.remove(t)},Ty=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},Rs=(e,t,n)=>en?n:e,au=e=>(-1+e)*100,Cy=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),Ly=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),ai=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=i=>{const{style:s}=document.body;if(i in s)return i;const a=i.charAt(0).toUpperCase()+i.slice(1);let l=e.length;for(;l--;){const c=`${e[l]}${a}`;if(c in s)return c}return i},o=i=>{const s=Ly(i);return t[s]??(t[s]=n(s))},r=(i,s,a)=>{i.style[o(s)]=a};return(i,s)=>{for(const a in s){const l=s[a];Object.hasOwn(s,a)&&xy(l)&&r(i,a,l)}}})(),rn={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},De={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=rn,o=De.isStarted(),r=Rs(e,rn.minimum,1);De.percent=r===1?null:r;const i=De.render(!o),s=i.querySelector(rn.barSelector);return i.offsetWidth,Cy(a=>{ai(s,{transform:`translate3d(${au(r)}%,0,0)`,transition:`all ${t}ms ${n}`}),r===1?(ai(i,{transition:"none",opacity:"1"}),i.offsetWidth,setTimeout(()=>{ai(i,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{De.remove(),a()},t)},t)):setTimeout(()=>{a()},t)}),De},isStarted:()=>typeof De.percent=="number",start:()=>{De.percent||De.set(0);const e=()=>{setTimeout(()=>{De.percent&&(De.trickle(),e())},rn.trickleSpeed)};return e(),De},done:e=>!e&&!De.percent?De:De.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=De;return t?(t=Rs(t+(typeof e=="number"?e:(1-t)*Rs(Math.random()*t,.1,.95)),0,.994),De.set(t)):De.start()},trickle:()=>De.increase(Math.random()*rn.trickleRate),render:e=>{if(De.isRendered())return document.getElementById("nprogress");iu(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=rn.template;const n=t.querySelector(rn.barSelector),o=document.querySelector(rn.parent),r=e?"-100":au(De.percent??0);return ai(n,{transition:"all 0 linear",transform:`translate3d(${r}%,0,0)`}),o&&(o!==document.body&&iu(o,"nprogress-custom-parent"),o.appendChild(t)),t},remove:()=>{su(document.documentElement,"nprogress-busy"),su(document.querySelector(rn.parent),"nprogress-custom-parent"),Ty(document.getElementById("nprogress"))}},Ey=()=>{Ne(()=>{const e=Go(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||De.start()}),e.afterEach(n=>{t.add(n.path),De.done()})})},$y=uo({setup(){Ey()}}),Ay=Object.freeze(Object.defineProperty({__proto__:null,default:$y},Symbol.toStringTag,{value:"Module"})),Oy=U({}),Kp=Symbol(""),Iy=()=>Fe(Kp),Vy=e=>{e.provide(Kp,Oy)},My='
',Ry=e=>Vt(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Yp=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>{t(Yp(e))},e.onerror=()=>{n()})}),Ny=(e,{download:t=!0,fullscreen:n=!0}={})=>{e.on("uiRegister",()=>{if(e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:o=>{const r=[];let i=-1;for(let s=0;s{e.goTo(r.indexOf(l.target))},r.push(a),o.appendChild(a)}e.on("change",()=>{i>=0&&r[i].classList.remove("active"),r[e.currIndex].classList.add("active"),i=e.currIndex})}}),n){const{isSupported:o,toggle:r}=ny();o.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{r()}})}t&&e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:o=>{o.setAttribute("download",""),o.setAttribute("target","_blank"),o.setAttribute("rel","noopener"),e.on("change",()=>{o.setAttribute("href",e.currSlide.data.src)})}})})},By=(e,{scrollToClose:t=!0,download:n=!0,fullscreen:o=!0,...r})=>Le(async()=>{const{default:i}=await import("./photoswipe.esm-GXRgw7eJ.js");return{default:i}},[]).then(({default:i})=>{let s=null;const a=e.map(l=>({html:My,element:l,msrc:l.src}));return e.forEach((l,c)=>{const u=()=>{s==null||s.destroy(),s=new i({preloaderDelay:0,showHideAnimationType:"zoom",...r,dataSource:a,index:c,...t?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),Ny(s,{download:n,fullscreen:o}),s.addFilter("thumbEl",()=>l),s.addFilter("placeholderSrc",()=>l.src),s.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{u()}),l.addEventListener("keypress",({key:d})=>{d==="Enter"&&u()}),l.setAttribute("photo-swipe","")),Yp(l).then(d=>{a.splice(c,1,d),s==null||s.refreshSlideContent(c)})}),t?Ue("wheel",()=>{s==null||s.close()}):()=>{}}),Dy=({selector:e,locales:t,delay:n=500,download:o=!0,fullscreen:r=!0,scrollToClose:i=!0})=>{const s=Iy(),a=qp(t),l=gl(),c=_l();let u=null;const d=()=>{const{photoSwipe:f}=c.value;f!==!1&&Et().then(()=>Sy(n)).then(async()=>{const p=Vt(f)?f:e;u=await By(Ry(p),{...s.value,...a.value,download:o,fullscreen:r,scrollToClose:i})})};Ne(()=>{d(),ge(()=>[l.value.path,s.value],()=>{u==null||u(),d()})}),Zt(()=>{u==null||u()})};var Hy={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const jy=".plume-content > img, .plume-content :not(a) > img",Fy=Hy,zy=300,Wy=!0,Uy=!0,qy=!0;var Gy=uo({enhance:({app:e})=>{Vy(e)},setup:()=>{Dy({selector:jy,delay:zy,locales:Fy,download:Wy,fullscreen:Uy,scrollToClose:qy})}});const Ky=Object.freeze(Object.defineProperty({__proto__:null,default:Gy},Symbol.toStringTag,{value:"Module"})),Yy={"/":()=>Le(()=>import("./searchBox-default-CPI1DGSu.js"),[])};var lu={"/":{placeholder:"Search",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}};function Qy(e){const t=io(e),n=zn();return x(()=>t.value[n.value]??lu[n.value]??lu["/"])}var Xy=rt(Yy);function ZT(){return Xy}const Jy=D({__name:"SearchButton",props:{locales:{}},setup(e,{expose:t}){t();const n=e,o=Qy(io(n.locales)),r={props:n,locale:o};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),W=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Zy=["aria-label"],eb={class:"mini-search-button-container"},tb={class:"mini-search-button-placeholder"};function nb(e,t,n,o,r,i){return h(),b("button",{type:"button",class:"mini-search mini-search-button","aria-label":o.locale.placeholder},[k("span",eb,[t[0]||(t[0]=k("svg",{class:"mini-search-search-icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[k("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),k("span",tb,K(o.locale.placeholder),1)]),t[1]||(t[1]=k("span",{class:"mini-search-button-keys"},[k("kbd",{class:"mini-search-button-key"}),k("kbd",{class:"mini-search-button-key"},"K")],-1))],8,Zy)}const ob=W(Jy,[["render",nb],["__file","SearchButton.vue"]]),rb=D({__name:"Search",props:{locales:{},options:{}},setup(e,{expose:t}){t();const n=sl(()=>Le(()=>import("./SearchBox-CGkexdzb.js"),[])),o=U(!1);eu("k",s=>{(s.ctrlKey||s.metaKey)&&(s.preventDefault(),o.value=!0)}),eu("/",s=>{r(s)||(s.preventDefault(),o.value=!0)});function r(s){const a=s.target,l=a.tagName;return a.isContentEditable||l==="INPUT"||l==="SELECT"||l==="TEXTAREA"}const i={SearchBox:n,showSearch:o,isEditingContent:r,SearchButton:ob};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),ib={class:"search-wrapper"},sb={id:"local-search"};function ab(e,t,n,o,r,i){return h(),b("div",ib,[o.showSearch?(h(),j(o.SearchBox,{key:0,locales:n.locales,options:n.options,onClose:t[0]||(t[0]=s=>o.showSearch=!1)},null,8,["locales","options"])):E("",!0),k("div",sb,[B(o.SearchButton,{locales:n.locales,onClick:t[1]||(t[1]=s=>o.showSearch=!0)},null,8,["locales"])])])}const lb=W(rb,[["render",ab],["__scopeId","data-v-25b97326"],["__file","Search.vue"]]);var cb={"/":{placeholder:"搜索文档",resetButtonTitle:"重置搜索",backButtonTitle:"关闭",noResultsText:"无搜索结果:",footer:{selectText:"选择",selectKeyAriaLabel:"输入",navigateText:"切换",navigateUpKeyAriaLabel:"向上",navigateDownKeyAriaLabel:"向下",closeText:"关闭",closeKeyAriaLabel:"退出"}}},ub={},db=cb,fb=ub,pb=uo({enhance({app:e}){e.component("SearchBox",t=>me(lb,{locales:db,options:fb,...t}))}});const hb=Object.freeze(Object.defineProperty({__proto__:null,default:pb},Symbol.toStringTag,{value:"Module"})),vb=["top","right","bottom","left"],cu=["start","end"],uu=vb.reduce((e,t)=>e.concat(t,t+"-"+cu[0],t+"-"+cu[1]),[]),Ir=Math.min,Zn=Math.max,mb={left:"right",right:"left",bottom:"top",top:"bottom"},gb={start:"end",end:"start"};function Sa(e,t,n){return Zn(e,Ir(t,n))}function fo(e,t){return typeof e=="function"?e(t):e}function Xt(e){return e.split("-")[0]}function Mt(e){return e.split("-")[1]}function Qp(e){return e==="x"?"y":"x"}function wl(e){return e==="y"?"height":"width"}function so(e){return["top","bottom"].includes(Xt(e))?"y":"x"}function kl(e){return Qp(so(e))}function Xp(e,t,n){n===void 0&&(n=!1);const o=Mt(e),r=kl(e),i=wl(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ri(s)),[s,Ri(s)]}function _b(e){const t=Ri(e);return[Mi(e),t,Mi(t)]}function Mi(e){return e.replace(/start|end/g,t=>gb[t])}function yb(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:s;default:return[]}}function bb(e,t,n,o){const r=Mt(e);let i=yb(Xt(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Mi)))),i}function Ri(e){return e.replace(/left|right|bottom|top/g,t=>mb[t])}function wb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jp(e){return typeof e!="number"?wb(e):{top:e,right:e,bottom:e,left:e}}function yr(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function du(e,t,n){let{reference:o,floating:r}=e;const i=so(t),s=kl(t),a=wl(s),l=Xt(t),c=i==="y",u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,f=o[a]/2-r[a]/2;let p;switch(l){case"top":p={x:u,y:o.y-r.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-r.width,y:d};break;default:p={x:o.x,y:o.y}}switch(Mt(t)){case"start":p[s]-=f*(n&&c?-1:1);break;case"end":p[s]+=f*(n&&c?-1:1);break}return p}const kb=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=du(c,o,l),f=o,p={},v=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=fo(e,t)||{};if(c==null)return{};const d=Jp(u),f={x:n,y:o},p=kl(r),v=wl(p),m=await s.getDimensions(c),_=p==="y",w=_?"top":"left",T=_?"bottom":"right",g=_?"clientHeight":"clientWidth",P=i.reference[v]+i.reference[p]-f[p]-i.floating[v],O=f[p]-i.reference[p],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let H=M?M[g]:0;(!H||!await(s.isElement==null?void 0:s.isElement(M)))&&(H=a.floating[g]||i.floating[v]);const Q=P/2-O/2,R=H/2-m[v]/2-1,A=Ir(d[w],R),F=Ir(d[T],R),N=A,te=H-m[v]-F,de=H/2-m[v]/2+Q,be=Sa(N,de,te),ne=!l.arrow&&Mt(r)!=null&&de!==be&&i.reference[v]/2-(deMt(r)===e),...n.filter(r=>Mt(r)!==e)]:n.filter(r=>Xt(r)===r)).filter(r=>e?Mt(r)===e||(t?Mi(r)!==r:!1):!0)}const Pb=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=uu,autoAlignment:p=!0,...v}=fo(e,t),m=d!==void 0||f===uu?xb(d||null,p,f):f,_=await os(t,v),w=((n=s.autoPlacement)==null?void 0:n.index)||0,T=m[w];if(T==null)return{};const g=Xp(T,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==T)return{reset:{placement:m[0]}};const P=[_[Xt(T)],_[g[0]],_[g[1]]],O=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:T,overflows:P}],M=m[w+1];if(M)return{data:{index:w+1,overflows:O},reset:{placement:M}};const H=O.map(A=>{const F=Mt(A.placement);return[A.placement,F&&u?A.overflows.slice(0,2).reduce((N,te)=>N+te,0):A.overflows[0],A.overflows]}).sort((A,F)=>A[1]-F[1]),R=((r=H.filter(A=>A[2].slice(0,Mt(A[0])?2:3).every(F=>F<=0))[0])==null?void 0:r[0])||H[0][0];return R!==a?{data:{index:w+1,overflows:O},reset:{placement:R}}:{}}}},Tb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,..._}=fo(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=Xt(r),T=so(a),g=Xt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(c.floating)),O=f||(g||!m?[Ri(a)]:_b(a)),M=v!=="none";!f&&M&&O.push(...bb(a,m,v,P));const H=[a,...O],Q=await os(t,_),R=[];let A=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&R.push(Q[w]),d){const de=Xp(r,s,P);R.push(Q[de[0]],Q[de[1]])}if(A=[...A,{placement:r,overflows:R}],!R.every(de=>de<=0)){var F,N;const de=(((F=i.flip)==null?void 0:F.index)||0)+1,be=H[de];if(be)return{data:{index:de,overflows:A},reset:{placement:be}};let ne=(N=A.filter(ce=>ce.overflows[0]<=0).sort((ce,se)=>ce.overflows[1]-se.overflows[1])[0])==null?void 0:N.placement;if(!ne)switch(p){case"bestFit":{var te;const ce=(te=A.filter(se=>{if(M){const _e=so(se.placement);return _e===T||_e==="y"}return!0}).map(se=>[se.placement,se.overflows.filter(_e=>_e>0).reduce((_e,Je)=>_e+Je,0)]).sort((se,_e)=>se[1]-_e[1])[0])==null?void 0:te[0];ce&&(ne=ce);break}case"initialPlacement":ne=a;break}if(r!==ne)return{reset:{placement:ne}}}return{}}}};async function Cb(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=Xt(n),a=Mt(n),l=so(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=fo(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}const Lb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=t,l=await Cb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},Eb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:_=>{let{x:w,y:T}=_;return{x:w,y:T}}},...l}=fo(e,t),c={x:n,y:o},u=await os(t,l),d=so(Xt(r)),f=Qp(d);let p=c[f],v=c[d];if(i){const _=f==="y"?"top":"left",w=f==="y"?"bottom":"right",T=p+u[_],g=p-u[w];p=Sa(T,p,g)}if(s){const _=d==="y"?"top":"left",w=d==="y"?"bottom":"right",T=v+u[_],g=v-u[w];v=Sa(T,v,g)}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[f]:i,[d]:s}}}}}},$b=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=fo(e,t),u=await os(t,c),d=Xt(r),f=Mt(r),p=so(r)==="y",{width:v,height:m}=i.floating;let _,w;d==="top"||d==="bottom"?(_=d,w=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(w=d,_=f==="end"?"top":"bottom");const T=m-u.top-u.bottom,g=v-u.left-u.right,P=Ir(m-u[_],T),O=Ir(v-u[w],g),M=!t.middlewareData.shift;let H=P,Q=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(Q=g),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(H=T),M&&!f){const A=Zn(u.left,0),F=Zn(u.right,0),N=Zn(u.top,0),te=Zn(u.bottom,0);p?Q=v-2*(A!==0||F!==0?A+F:Zn(u.left,u.right)):H=m-2*(N!==0||te!==0?N+te:Zn(u.top,u.bottom))}await l({...t,availableWidth:Q,availableHeight:H});const R=await s.getDimensions(a.floating);return v!==R.width||m!==R.height?{reset:{rects:!0}}:{}}}};function Ct(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kt(e){return Ct(e).getComputedStyle(e)}const fu=Math.min,br=Math.max,Ni=Math.round;function Zp(e){const t=Kt(e);let n=parseFloat(t.width),o=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,s=Ni(n)!==r||Ni(o)!==i;return s&&(n=r,o=i),{width:n,height:o,fallback:s}}function jn(e){return th(e)?(e.nodeName||"").toLowerCase():""}let li;function eh(){if(li)return li;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(li=e.brands.map(t=>t.brand+"/"+t.version).join(" "),li):navigator.userAgent}function Yt(e){return e instanceof Ct(e).HTMLElement}function Nn(e){return e instanceof Ct(e).Element}function th(e){return e instanceof Ct(e).Node}function pu(e){return typeof ShadowRoot>"u"?!1:e instanceof Ct(e).ShadowRoot||e instanceof ShadowRoot}function rs(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function Ab(e){return["table","td","th"].includes(jn(e))}function xa(e){const t=/firefox/i.test(eh()),n=Kt(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!o&&o!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const i=n.contain;return i!=null&&i.includes(r)})}function nh(){return!/^((?!chrome|android).)*safari/i.test(eh())}function Sl(e){return["html","body","#document"].includes(jn(e))}function oh(e){return Nn(e)?e:e.contextElement}const rh={x:1,y:1};function Oo(e){const t=oh(e);if(!Yt(t))return rh;const n=t.getBoundingClientRect(),{width:o,height:r,fallback:i}=Zp(t);let s=(i?Ni(n.width):n.width)/o,a=(i?Ni(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Vr(e,t,n,o){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=oh(e);let l=rh;t&&(o?Nn(o)&&(l=Oo(o)):l=Oo(e));const c=a?Ct(a):window,u=!nh()&&n;let d=(s.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,f=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,p=s.width/l.x,v=s.height/l.y;if(a){const m=Ct(a),_=o&&Nn(o)?Ct(o):o;let w=m.frameElement;for(;w&&o&&_!==m;){const T=Oo(w),g=w.getBoundingClientRect(),P=getComputedStyle(w);g.x+=(w.clientLeft+parseFloat(P.paddingLeft))*T.x,g.y+=(w.clientTop+parseFloat(P.paddingTop))*T.y,d*=T.x,f*=T.y,p*=T.x,v*=T.y,d+=g.x,f+=g.y,w=Ct(w).frameElement}}return{width:p,height:v,top:f,right:d+p,bottom:f+v,left:d,x:d,y:f}}function Bn(e){return((th(e)?e.ownerDocument:e.document)||window.document).documentElement}function is(e){return Nn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ih(e){return Vr(Bn(e)).left+is(e).scrollLeft}function Mr(e){if(jn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||pu(e)&&e.host||Bn(e);return pu(t)?t.host:t}function sh(e){const t=Mr(e);return Sl(t)?t.ownerDocument.body:Yt(t)&&rs(t)?t:sh(t)}function Bi(e,t){var n;t===void 0&&(t=[]);const o=sh(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ct(o);return r?t.concat(i,i.visualViewport||[],rs(o)?o:[]):t.concat(o,Bi(o))}function hu(e,t,n){return t==="viewport"?yr(function(o,r){const i=Ct(o),s=Bn(o),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,d=0;if(a){l=a.width,c=a.height;const f=nh();(f||!f&&r==="fixed")&&(u=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:u,y:d}}(e,n)):Nn(t)?yr(function(o,r){const i=Vr(o,!0,r==="fixed"),s=i.top+o.clientTop,a=i.left+o.clientLeft,l=Yt(o)?Oo(o):{x:1,y:1};return{width:o.clientWidth*l.x,height:o.clientHeight*l.y,x:a*l.x,y:s*l.y}}(t,n)):yr(function(o){const r=Bn(o),i=is(o),s=o.ownerDocument.body,a=br(r.scrollWidth,r.clientWidth,s.scrollWidth,s.clientWidth),l=br(r.scrollHeight,r.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+ih(o);const u=-i.scrollTop;return Kt(s).direction==="rtl"&&(c+=br(r.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Bn(e)))}function vu(e){return Yt(e)&&Kt(e).position!=="fixed"?e.offsetParent:null}function mu(e){const t=Ct(e);let n=vu(e);for(;n&&Ab(n)&&Kt(n).position==="static";)n=vu(n);return n&&(jn(n)==="html"||jn(n)==="body"&&Kt(n).position==="static"&&!xa(n))?t:n||function(o){let r=Mr(o);for(;Yt(r)&&!Sl(r);){if(xa(r))return r;r=Mr(r)}return null}(e)||t}function Ob(e,t,n){const o=Yt(t),r=Bn(t),i=Vr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((jn(t)!=="body"||rs(r))&&(s=is(t)),Yt(t)){const l=Vr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=ih(r));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const Ib={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=n==="clippingAncestors"?function(c,u){const d=u.get(c);if(d)return d;let f=Bi(c).filter(_=>Nn(_)&&jn(_)!=="body"),p=null;const v=Kt(c).position==="fixed";let m=v?Mr(c):c;for(;Nn(m)&&!Sl(m);){const _=Kt(m),w=xa(m);(v?w||p:w||_.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=_:f=f.filter(T=>T!==m),m=Mr(m)}return u.set(c,f),f}(t,this._c):[].concat(n),s=[...i,o],a=s[0],l=s.reduce((c,u)=>{const d=hu(t,u,r);return c.top=br(d.top,c.top),c.right=fu(d.right,c.right),c.bottom=fu(d.bottom,c.bottom),c.left=br(d.left,c.left),c},hu(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=Yt(n),i=Bn(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((jn(n)!=="body"||rs(i))&&(s=is(n)),Yt(n))){const c=Vr(n);a=Oo(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:Nn,getDimensions:function(e){return Yt(e)?Zp(e):e.getBoundingClientRect()},getOffsetParent:mu,getDocumentElement:Bn,getScale:Oo,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||mu,i=this.getDimensions;return{reference:Ob(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Kt(e).direction==="rtl"},Vb=(e,t,n)=>{const o=new Map,r={platform:Ib,...n},i={...r.platform,_c:o};return kb(e,t,{...r,platform:i})};function ah(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?ah(e[n],t[n]):e[n]=t[n])}const Rt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Rr(e,t){let n=Rt.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=Rt.themes[n.$extend]||{}:(n=null,o=Rt[t]):n=null;while(n);return o}function Mb(e){const t=[e];let n=Rt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Rt.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function gu(e){const t=[e];let n=Rt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Rt.themes[n.$extend]||{}):n=null;while(n);return t}let jo=!1;if(typeof window<"u"){jo=!1;try{const e=Object.defineProperty({},"passive",{get(){jo=!0}});window.addEventListener("test",null,e)}catch{}}let lh=!1;typeof window<"u"&&typeof navigator<"u"&&(lh=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ch=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),_u={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},yu={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function bu(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ns(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Ot=[];let Xn=null;const wu={};function ku(e){let t=wu[e];return t||(t=wu[e]=[]),t}let Pa=function(){};typeof window<"u"&&(Pa=window.Element);function Se(e){return function(t){return Rr(t.theme,e)}}const Bs="__floating-vue__popper",uh=()=>D({name:"VPopper",provide(){return{[Bs]:{parentPopper:this}}},inject:{[Bs]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Se("disabled")},positioningDisabled:{type:Boolean,default:Se("positioningDisabled")},placement:{type:String,default:Se("placement"),validator:e=>ch.includes(e)},delay:{type:[String,Number,Object],default:Se("delay")},distance:{type:[Number,String],default:Se("distance")},skidding:{type:[Number,String],default:Se("skidding")},triggers:{type:Array,default:Se("triggers")},showTriggers:{type:[Array,Function],default:Se("showTriggers")},hideTriggers:{type:[Array,Function],default:Se("hideTriggers")},popperTriggers:{type:Array,default:Se("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Se("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Se("popperHideTriggers")},container:{type:[String,Object,Pa,Boolean],default:Se("container")},boundary:{type:[String,Pa],default:Se("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Se("strategy")},autoHide:{type:[Boolean,Function],default:Se("autoHide")},handleResize:{type:Boolean,default:Se("handleResize")},instantMove:{type:Boolean,default:Se("instantMove")},eagerMount:{type:Boolean,default:Se("eagerMount")},popperClass:{type:[String,Array,Object],default:Se("popperClass")},computeTransformOrigin:{type:Boolean,default:Se("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Se("autoMinSize")},autoSize:{type:[Boolean,String],default:Se("autoSize")},autoMaxSize:{type:Boolean,default:Se("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Se("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Se("preventOverflow")},overflowPadding:{type:[Number,String],default:Se("overflowPadding")},arrowPadding:{type:[Number,String],default:Se("arrowPadding")},arrowOverflow:{type:Boolean,default:Se("arrowOverflow")},flip:{type:Boolean,default:Se("flip")},shift:{type:Boolean,default:Se("shift")},shiftCrossAxis:{type:Boolean,default:Se("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Se("noAutoFocus")},disposeTimeout:{type:Number,default:Se("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Bs])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,r;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Lb({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Pb({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Eb({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Tb({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Sb({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:r,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return o.startsWith("top")||o.startsWith("bottom")?s=Math.abs(a)>r.reference.width/2:s=Math.abs(a)>r.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:c=r.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push($b({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:r})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await Vb(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Xn&&this.instantMove&&Xn.instantMove&&Xn!==this.parentPopper){Xn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Xn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ns(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Bi(this.$_referenceNode),...Bi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(o.left+n.offsetLeft),i=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,bu(Ot,this),Ot.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of gu(this.theme)){const o=ku(n);bu(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Xn===this&&(Xn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ns(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,_u,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],_u,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,yu,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],yu,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,jo?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,r){let i=n;o!=null&&(i=typeof o=="function"?o(i):o),i.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:r,handler:i}=n;!e||e===r?o.forEach(s=>s.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(wr>=e.left&&wr<=e.right&&kr>=e.top&&kr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=wr-Ln,o=kr-En,r=t.left+t.width/2-Ln+(t.top+t.height/2)-En+t.width+t.height,i=Ln+n*r,s=En+o*r;return ci(Ln,En,i,s,t.left,t.top,t.left,t.bottom)||ci(Ln,En,i,s,t.left,t.top,t.right,t.top)||ci(Ln,En,i,s,t.right,t.top,t.right,t.bottom)||ci(Ln,En,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(lh){const e=jo?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Su(t,!0),e),document.addEventListener("touchend",t=>xu(t,!0),e)}else window.addEventListener("mousedown",e=>Su(e,!1),!0),window.addEventListener("click",e=>xu(e,!1),!0);window.addEventListener("resize",fh)}function Su(e,t){if(Rt.autoHideOnMousedown)dh(e,t);else for(let n=0;n=0;o--){const r=Ot[o];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Pu(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=r.parentPopper;for(;s&&Pu(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function Pu(e,t,n){return n.closeAllPopover||n.closePopover&&t||Rb(e,n)&&!t}function Rb(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function fh(){for(let e=0;e{Ln=wr,En=kr,wr=e.clientX,kr=e.clientY},jo?{passive:!0}:void 0);function ci(e,t,n,o,r,i,s,a){const l=((s-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(s-r)*(o-t)),c=((n-e)*(t-i)-(o-t)*(e-r))/((a-i)*(n-e)-(s-r)*(o-t));return l>=0&&l<=1&&c>=0&&c<=1}const Nb={extends:uh()},ss=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function Bb(e,t,n,o,r,i){return h(),b("div",{ref:"reference",class:J(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[C(e.$slots,"default",zv(Hf(e.slotData)))],2)}const Db=ss(Nb,[["render",Bb]]);function Hb(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let wi;function Ta(){Ta.init||(Ta.init=!0,wi=Hb()!==-1)}var as={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ta(),Et(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",wi&&this.$el.appendChild(e),e.data="about:blank",wi||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!wi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const jb=zm();jm("data-v-b329ee4c");const Fb={class:"resize-observer",tabindex:"-1"};Fm();const zb=jb((e,t,n,o,r,i)=>(h(),j("div",Fb)));as.render=zb;as.__scopeId="data-v-b329ee4c";as.__file="src/components/ResizeObserver.vue";const ph=(e="theme")=>({computed:{themeClass(){return Mb(this[e])}}}),Wb=D({name:"VPopperContent",components:{ResizeObserver:as},mixins:[ph()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Ub=["id","aria-hidden","tabindex","data-popper-placement"],qb={ref:"inner",class:"v-popper__inner"},Gb=k("div",{class:"v-popper__arrow-outer"},null,-1),Kb=k("div",{class:"v-popper__arrow-inner"},null,-1),Yb=[Gb,Kb];function Qb(e,t,n,o,r,i){const s=We("ResizeObserver");return h(),b("div",{id:e.popperId,ref:"popover",class:J(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Re(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=fl(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[k("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),k("div",{class:"v-popper__wrapper",style:Re(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[k("div",qb,[e.mounted?(h(),b(oe,{key:0},[k("div",null,[C(e.$slots,"default")]),e.handleResize?(h(),j(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):E("",!0)],64)):E("",!0)],512),k("div",{ref:"arrow",class:"v-popper__arrow-container",style:Re(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Yb,4)],4)],46,Ub)}const hh=ss(Wb,[["render",Qb]]),vh={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Ca=function(){};typeof window<"u"&&(Ca=window.Element);const Xb=D({name:"VPopperWrapper",components:{Popper:Db,PopperContent:hh},mixins:[vh,ph("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ca,Boolean],default:void 0},boundary:{type:[String,Ca],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Jb(e,t,n,o,r,i){const s=We("PopperContent"),a=We("Popper");return h(),j(a,qt({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:L(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:f,show:p,hide:v,handleResize:m,onResize:_,classes:w,result:T})=>[C(e.$slots,"default",{shown:c,show:p,hide:v}),B(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":d,"auto-hide":f,"handle-resize":m,classes:w,result:T,onHide:v,onResize:_},{default:L(()=>[C(e.$slots,"popper",{shown:c,hide:v})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const xl=ss(Xb,[["render",Jb]]),Zb={...xl,name:"VDropdown",vPopperTheme:"dropdown"},e2={...xl,name:"VMenu",vPopperTheme:"menu"},t2={...xl,name:"VTooltip",vPopperTheme:"tooltip"},n2=D({name:"VTooltipDirective",components:{Popper:uh(),PopperContent:hh},mixins:[vh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Rr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Rr(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),o2=["innerHTML"],r2=["textContent"];function i2(e,t,n,o,r,i){const s=We("PopperContent"),a=We("Popper");return h(),j(a,qt({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:L(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:f,hide:p,handleResize:v,onResize:m,classes:_,result:w})=>[B(s,{ref:"popperContent",class:J({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":d,"auto-hide":f,"handle-resize":v,classes:_,result:w,onHide:p,onResize:m},{default:L(()=>[e.html?(h(),b("div",{key:0,innerHTML:e.finalContent},null,8,o2)):(h(),b("div",{key:1,textContent:K(e.finalContent)},null,8,r2))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const s2=ss(n2,[["render",i2]]),mh="v-popper--has-tooltip";function a2(e,t){let n=e.placement;if(!n&&t)for(const o of ch)t[o]&&(n=o);return n||(n=Rr(e.theme||"tooltip","placement")),n}function gh(e,t,n){let o;const r=typeof t;return r==="string"?o={content:t}:t&&r==="object"?o=t:o={content:!1},o.placement=a2(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let Ds,Nr,l2=0;function c2(){if(Ds)return;Nr=U([]),Ds=E_({name:"VTooltipDirectiveApp",setup(){return{directives:Nr}},render(){return this.directives.map(t=>me(s2,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ds.mount(e)}function u2(e,t,n){c2();const o=U(gh(e,t,n)),r=U(!1),i={id:l2++,options:o,shown:r};return Nr.value.push(i),e.classList&&e.classList.add(mh),e.$_popper={options:o,item:i,show(){r.value=!0},hide(){r.value=!1}}}function _h(e){if(e.$_popper){const t=Nr.value.indexOf(e.$_popper.item);t!==-1&&Nr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(mh)}function Tu(e,{value:t,modifiers:n}){const o=gh(e,t,n);if(!o.content||Rr(o.theme||"tooltip","disabled"))_h(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=o):r=u2(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const d2={beforeMount:Tu,updated:Tu,beforeUnmount(e){_h(e)}};function Cu(e){e.addEventListener("mousedown",Di),e.addEventListener("click",Di),e.addEventListener("touchstart",yh,jo?{passive:!0}:!1)}function Lu(e){e.removeEventListener("mousedown",Di),e.removeEventListener("click",Di),e.removeEventListener("touchstart",yh),e.removeEventListener("touchend",bh),e.removeEventListener("touchcancel",wh)}function Di(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function yh(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",bh),t.addEventListener("touchcancel",wh)}}function bh(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function wh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const f2={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Cu(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?Cu(e):Lu(e))},beforeUnmount(e){Lu(e)}};function p2(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ah(Rt,t),e.directive("tooltip",d2),e.directive("close-popper",f2),e.component("VTooltip",t2),e.component("VDropdown",Zb),e.component("VMenu",e2))}const h2={version:"5.2.2",install:p2,options:Rt};var Eu=typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);function v2(e){typeof window<"u"&&window.addEventListener("click",t=>{t.composedPath().some(o=>{var r,i,s,a;return((i=(r=o==null?void 0:o.classList)==null?void 0:r.contains)==null?void 0:i.call(r,"vp-code-group"))||((a=(s=o==null?void 0:o.classList)==null?void 0:s.contains)==null?void 0:a.call(s,"tabs"))})&&fh()},{passive:!0}),e.use(h2,{themes:{twoslash:{$extend:"dropdown",triggers:Eu?["touch"]:["hover","touch"],popperTriggers:Eu?["touch"]:["hover","touch"],placement:"bottom-start",overflowPadding:10,delay:0,handleResize:!1,autoHide:!0,instantMove:!0,flip:!1,arrowPadding:8,autoBoundaryMaxSize:!0},"twoslash-query":{$extend:"twoslash",triggers:["click"],popperTriggers:["click"],autoHide:!1},"twoslash-completion":{$extend:"twoslash-query",triggers:["click"],popperTriggers:["click"],autoHide:!1,distance:0,arrowOverflow:!0}}})}var m2=/language-(?:shellscript|shell|bash|sh|zsh)/,g2=[".vp-copy-ignore",".diff.remove"];function _2({selector:e='div[class*="language-"] > button.copy',duration:t=2e3}={}){const n=new WeakMap,{copy:o}=U1({legacy:!0});Ue("click",r=>{const i=r.target;if(i.matches(e)){const s=i.parentElement,a=i.nextElementSibling;if(!s||!a)return;const l=m2.test(s.className),c=a.cloneNode(!0);c.querySelectorAll(g2.join(",")).forEach(d=>d.remove());let u=c.textContent||"";l&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),o(u).then(()=>{if(t<=0)return;i.classList.add("copied"),clearTimeout(n.get(i));const d=setTimeout(()=>{i.classList.remove("copied"),i.blur(),n.delete(i)},t);n.set(i,d)})}})}function y2({selector:e='div[class*="language-"] > .collapsed-lines'}={}){Ue("click",t=>{const n=t.target;if(n.matches(e)){const o=n.parentElement;o!=null&&o.classList.toggle("collapsed")&&o.scrollIntoView({block:"center",behavior:"instant"})}})}const b2={enhance({app:e}){v2(e)},setup(){_2({selector:'div[class*="language-"] > button.copy',duration:2e3}),y2()}},w2=Object.freeze(Object.defineProperty({__proto__:null,default:b2},Symbol.toStringTag,{value:"Module"})),k2=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),kh=({size:e=48,stroke:t=4,wrapper:n=!0,height:o=2*e})=>{const r=me("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[me("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),me("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[me("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),me("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?me("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${o}px`},r):r};kh.displayName="LoadingIcon";const $u=e=>{const t=atob(e);return ky(_y(wy(t)))},S2=e=>new Promise(t=>{setTimeout(t,e)}),x2=e=>typeof e<"u",{keys:Sh}=Object,P2='',T2='';var C2={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Hs=C2,Au={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},L2=(e,t,n)=>{const o=document.createElement(e);return No(t)&&Sh(t).forEach(r=>{if(r.indexOf("data"))o[r]=t[r];else{const i=r.replace("data","");o.dataset[i]=t[r]}}),o},Pl=e=>({...Hs,...e,jsLib:Array.from(new Set([Hs.jsLib??[],e.jsLib??[]].flat())),cssLib:Array.from(new Set([Hs.cssLib??[],e.cssLib??[]].flat()))}),Io=(e,t)=>{if(x2(e[t]))return e[t];const n=new Promise(o=>{var i;const r=document.createElement("script");r.src=t,(i=document.querySelector("body"))==null||i.appendChild(r),r.onload=()=>{o()}});return e[t]=n,n},E2=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=L2("style",{innerHTML:t.css});e.appendChild(n)}},$2=(e,t,n)=>{const o=n.getScript();if(o&&Array.from(t.childNodes).every(r=>r.nodeName!=="SCRIPT")){const r=document.createElement("script");r.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; +${o}}`)),t.appendChild(r)}},A2=["html","js","css"],O2=e=>{const t=Sh(e),n={html:[],js:[],css:[],isLegal:!1};return A2.forEach(o=>{const r=t.filter(i=>Au[o].types.includes(i));if(r.length){const i=r[0];n[o]=[e[i].replace(/^\n|\n$/g,""),Au[o].map[i]??i]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},xh=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),Ph=e=>`
+${xh(e)} +
`,I2=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; +ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,V2=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Th=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?exports.default:module.exports;})({})`,M2=(e,t)=>{const n=Pl(t),o=e.js[0]??"";return{...n,html:xh(e.html[0]??""),js:o,css:e.css[0]??"",isLegal:e.isLegal,getScript:()=>{var r;return n.useBabel?((r=window.Babel.transform(o,{presets:["es2015"]}))==null?void 0:r.code)??"":o}}},R2=/