diff --git a/0821.json b/0821.json
index 3803a646..ddb4538b 100644
--- a/0821.json
+++ b/0821.json
@@ -1,5 +1,6 @@
{
"spider":"./jar/fan.txt;md5;2a085160a4140e1697c5d6393901ec7e",
+"logo":"https://avatars.githubusercontent.com/u/58679624?v=4",
"lives":[{"name":"初秋语•ipv4","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"YanG•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/YanG-1989/m3u/main/Gather.m3u","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"drang•ipv6","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/drangjchen/IPTV/main/M3U/ipv6.m3u","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
@@ -34,24 +35,24 @@
{"key":"310js","name":"310┃看球","type":3,"api":"./lib/drpy2.min.js","ext":"./js/310直播.js","style":{"type":"list"},"searchable": 0,"quickSearch": 0,"changeable":0},
{"key":"企鹅体育xp","name":"鹅鹅┃体育","type":3,"api":"csp_XPath","style":{"type":"list"},"searchable":0,"quickSearch":0,"changeable":0,"ext":"./json/企鹅直播.json"},
+{"key":"短剧","name":"上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
{"key":"酷看","name":"酷看┃秒播","type":3,"api":"csp_Kkys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
{"key":"原创","name":"原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
-{"key":"苹果","name":"苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
-{"key":"白嫖","name":"白飘┃不卡","type":3,"api":"csp_BaiPiao","playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.baipiaoys.com:9092/"},
-{"key":"小点","name":"小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
-{"key":"视觉","name":"视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
{"key":"厂长","name":"厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
-{"key":"七七","name":"七七┃秒播","type":3,"api":"csp_Kunyu77","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
+{"key":"视觉","name":"视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
{"key":"南瓜","name":"南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
+{"key":"苹果","name":"苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
{"key":"糯米","name":"糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"./json/nmys.json"},
+{"key":"小点","name":"小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
+{"key":"热播","name":"热播┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext":"AO7TcBkd8I/B5wQc4Qma+pU="},
+{"key":"萌米","name":"萌米┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":1,"ext":"AO7TcBkd8Iifux0Y8Qze6tVlMg=="},
+{"key":"贱贱","name":"贱贱┃P2P","type":3,"searchable":1,"quickSearch":1,"changeable":1,"playerType":"1","api":"./lib/drpy2.min.js","ext":"./js/荐片s.js"},
+{"key":"zxzj","name":"在线┃外剧","type":3,"api":"csp_Zxzj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.zxzjhd.com/"},
{"key":"低端","name":"低端┃外剧","type":3,"api":"csp_Ddrk","playerType":"2","searchable":1,"quickSearch":1,"changeable":1},
{"key":"毛驴","name":"毛驴┃多线","type":3,"api":"csp_MLYS","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.maolvys.com/"},
-{"key":"萌米","name":"萌米┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":1,"ext":"AO7TcBkd8Iifux0Y8Qze6tVlMg=="},
{"key":"比特","name":"比特┃秒播","type":3,"api":"csp_Bttwoo","searchable":1,"quickSearch":1,"changeable":1},
-{"key":"zxzj","name":"在线┃外剧","type":3,"api":"csp_Zxzj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.zxzjhd.com/"},
{"key":"Lib","name": "立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
{"key":"Auete","name":"奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
-{"key":"贱贱","name":"贱贱┃P2P","type":3,"searchable":1,"quickSearch":1,"changeable":1,"playerType":"1","api":"./lib/drpy2.min.js","ext":"./js/荐片.js"},
{"key":"新6V","name":"新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
{"key":"Dm84","name":"巴士┃动漫","type":3,"api":"csp_Dm84","searchable":1,"quickSearch":1,"changeable":1},
{"key":"Ying","name":"樱花┃动漫","type":3,"api":"csp_Ying","searchable":1,"quickSearch":1,"changeable":1},
@@ -59,7 +60,6 @@
{"key":"Anime1","name":"日本┃动漫","type": 3,"api": "csp_Anime1","searchable": 1,"quickSearch": 1,"changeable":1},
{"key":"csp_Yj1211","name":"网红┃直播","type": 3,"api": "csp_Yj1211","playerType":"1","searchable": 0,"quickSearch": 1,"changeable":0},
{"key":"csp_Nbys","name":"泥巴┃飞","type":3,"api":"csp_NiNi","searchable":1,"quickSearch":1,"filterable":1},
-{"key":"短剧","name":"上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
{"key":"夸搜","name":"夸搜┃搜索","type":3,"api":"csp_PanSearch","searchable":1,"quickSearch":1,"changeable":0,"ext": {"pan":"quark","quarkCookie":"tvfan/cookie.txt","from":"4k|auto|fhd"}},
{"key":"YiSo","name":"易搜┃搜索","type":3,"api":"csp_YiSo","searchable":1,"quickSearch":1,"changeable":0,"ext": {"aliToken":"tvfan/token.txt","from":"4k|auto|fhd"}},
@@ -77,42 +77,42 @@
{"key":"索尼","name":"索尼┃采集","type":1,"api":"https://suoniapi.com/api.php/provide/vod","searchable":1,"changeable":1},
{"key":"快帆","name":"快帆┃采集","type":1,"api":"https://api.kuaifan.tv/api.php/provide/vod","searchable":1,"changeable":1},
-{"key":"配置中心","name":"配置┃中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"http://127.0.0.1:9978/file/TV/token.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"酷狗","name":"音频┃酷狗","type":3,"api":"csp_Kugou","searchable":1,"changeable":0,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key": "Iktv","name": "MV┃KTV","type": 3,"api": "csp_Iktv","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key": "Yinyuetai","name": "MV┃音悦台","type": 3,"api": "csp_Yinyuetai","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"AliShareEBook","name":"书籍┃分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"},"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"荐片弹幕版","name":"弹幕┃荐片","type":3,"api":"csp_Jianpian","searchable":1,"quickSearch":1,"filterable":1,"ext":"./json/jianpian.json$$$1", "timeout":60,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Bdys_spider","name":"弹幕┃哔滴","api":"csp_Bdys01","type":3,"filterable":1,"quickSearch":1,"searchable":1,"ext":"https://www.bdys03.com/$$$null$$$1","timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key": "天天","name": "弹幕┃天天","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://op.ysdqjs.cn$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key": "追剧","name": "弹幕┃追剧","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://app.kzjtv.com$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"NanGua","name":"弹幕┃南瓜","type":3,"api":"csp_NanGua","searchable":1,"changeable":1,"ext":"null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"PushShare","name":"弹幕┃资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"},"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"PikPakShare","name":"弹幕┃PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"AliShare","name":"弹幕┃影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.txt$$$db$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"ThunderShare","name":"弹幕┃迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/thundershare.txt","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"QuarkShare","name":"弹幕┃夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/quarkshare.txt","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"SambaShare","name":"弹幕┃Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/sambashare.txt","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Wogg","name":"弹幕┃玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wogg.xyz/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Wobg","name":"弹幕┃表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"yydsys","name":"弹幕┃老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Xinshijue","name":"弹幕┃新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Moli","name":"弹幕┃HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Bt0","name":"弹幕┃不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"null$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"ddys","name":"弹幕┃低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"美剧迷","name":"弹幕┃美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Ppxzy","name":"弹幕┃皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null", "timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"新6V","name":"弹幕┃新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.66ss.org$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"4KHDR","name":"弹幕┃4KHDR","type":3,"api":"csp_FourKHDR","ext":"http://127.0.0.1:9978/file/TV/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"校长影视","name":"弹幕┃校长","type":3,"api":"csp_XiaoZhang","ext":"http://127.0.0.1:9978/file/TV/token.json","quickSearch":1,"changeable":1,"timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"团长资源","name":"弹幕┃团长","type":3,"api":"csp_TZFile","ext":"http://127.0.0.1:9978/file/TV/token.json", "quickSearch":1, "changeable":1, "timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"csp_Hdhive","name":"弹幕┃影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://127.0.0.1:9978/file/TV/token.json","timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Panta","name":"弹幕┃盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.91panta.cn/$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"YunPan","name":"弹幕┃云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Wo4k","name":"弹幕┃玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Xpanpan","name":"弹幕┃小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"Gaoqing","name":"弹幕┃高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/tokenm.json$$$https://gaoqing.la/$$$proxy$$$1","jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
-{"key":"push_agent","name":"手机┃推送[jar]","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30,"jar":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff"},
+{"key":"配置中心","name":"配置┃中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"http://127.0.0.1:9978/file/TV/token.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"酷狗","name":"音频┃酷狗","type":3,"api":"csp_Kugou","searchable":1,"changeable":0,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key": "Iktv","name": "MV┃KTV","type": 3,"api": "csp_Iktv","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key": "Yinyuetai","name": "MV┃音悦台","type": 3,"api": "csp_Yinyuetai","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"AliShareEBook","name":"书籍┃分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"},"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"荐片弹幕版","name":"弹幕┃荐片","type":3,"api":"csp_Jianpian","searchable":1,"quickSearch":1,"filterable":1,"ext":"./json/jianpian.json$$$1", "timeout":60,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Bdys_spider","name":"弹幕┃哔滴","api":"csp_Bdys01","type":3,"filterable":1,"quickSearch":1,"searchable":1,"ext":"https://www.bdys03.com/$$$null$$$1","timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key": "天天","name": "弹幕┃天天","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://op.ysdqjs.cn$$$null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key": "追剧","name": "弹幕┃追剧","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://app.kzjtv.com$$$null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"NanGua","name":"弹幕┃南瓜","type":3,"api":"csp_NanGua","searchable":1,"changeable":1,"ext":"null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"PushShare","name":"弹幕┃资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"},"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"PikPakShare","name":"弹幕┃PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"AliShare","name":"弹幕┃影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.txt$$$db$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"ThunderShare","name":"弹幕┃迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/thundershare.txt","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"QuarkShare","name":"弹幕┃夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/quarkshare.txt","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"SambaShare","name":"弹幕┃Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/sambashare.txt","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Wogg","name":"弹幕┃玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wogg.xyz/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Wobg","name":"弹幕┃表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"yydsys","name":"弹幕┃老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Xinshijue","name":"弹幕┃新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Moli","name":"弹幕┃HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Bt0","name":"弹幕┃不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"ddys","name":"弹幕┃低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"美剧迷","name":"弹幕┃美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Ppxzy","name":"弹幕┃皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null", "timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"新6V","name":"弹幕┃新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.66ss.org$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"4KHDR","name":"弹幕┃4KHDR","type":3,"api":"csp_FourKHDR","ext":"http://127.0.0.1:9978/file/TV/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"校长影视","name":"弹幕┃校长","type":3,"api":"csp_XiaoZhang","ext":"http://127.0.0.1:9978/file/TV/token.json","quickSearch":1,"changeable":1,"timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"团长资源","name":"弹幕┃团长","type":3,"api":"csp_TZFile","ext":"http://127.0.0.1:9978/file/TV/token.json", "quickSearch":1, "changeable":1, "timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"csp_Hdhive","name":"弹幕┃影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://127.0.0.1:9978/file/TV/token.json","timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Panta","name":"弹幕┃盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.91panta.cn/$$$null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"YunPan","name":"弹幕┃云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Wo4k","name":"弹幕┃玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Xpanpan","name":"弹幕┃小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"Gaoqing","name":"弹幕┃高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://gaoqing.la/$$$proxy$$$1","jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
+{"key":"push_agent","name":"手机┃推送[jar]","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30,"jar":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157"},
{"key":"drpy_js_360影视","name":"官源┃360[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/360影视.js"},
{"key":"drpy_js_奇珍异兽","name":"官源┃爱奇艺[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/奇珍异兽.js"},
diff --git a/0825.json b/0825.json
index e16f4a8f..58fd5dc7 100644
--- a/0825.json
+++ b/0825.json
@@ -1,5 +1,5 @@
{
-"spider":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff",
+"spider":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157",
"lives":[{"name":"初秋语•综合","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"Ray•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/dxawi/0/main/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"俊于•综合","type":0,"url":"http://home.jundie.top:81/Cat/tv/live.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"},
@@ -26,21 +26,21 @@
{"key": "Iktv","name": "KTV","type": 3,"api": "csp_Iktv","searchable": 1,"changeable": 0},
{"key": "Yinyuetai","name": "音悦台","type": 3,"api": "csp_Yinyuetai","searchable": 1,"changeable": 0},
-{"key":"配置中心","name":"配置中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"./lib/token.json"},
-{"key":"PushShare","name":"资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"}},
-{"key":"PikPakShare","name":"PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz"},
-{"key":"AliShare","name":"影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/alishare.txt$$$db$$$1"},
-{"key":"AliShareEBook","name":"书籍分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"}},
-{"key":"ThunderShare","name":"迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/thundershare.txt"},
-{"key":"QuarkShare","name":"夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/quarkshare.txt"},
-{"key":"SambaShare","name":"Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$./json/sambashare.txt"},
+{"key":"配置中心","name":"配置中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"PushShare","name":"资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"}},
+{"key":"PikPakShare","name":"PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz"},
+{"key":"AliShare","name":"影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.txt$$$db$$$1"},
+{"key":"AliShareEBook","name":"书籍分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"}},
+{"key":"ThunderShare","name":"迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/thundershare.txt"},
+{"key":"QuarkShare","name":"夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/quarkshare.txt"},
+{"key":"SambaShare","name":"Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/sambashare.txt"},
{"key": "追剧","name": "追剧","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://app.kzjtv.com$$$null$$$1"},
{"key": "天天","name": "天天","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://op.ysdqjs.cn$$$null$$$1"},
{"key":"NanGua","name":"南瓜","type":3,"api":"csp_NanGua","searchable":1,"changeable":1,"ext":"null$$$1"},
{"key":"Bdys_spider","name":"哔滴","api":"csp_Bdys01","type":3,"filterable":1,"quickSearch":1,"searchable":1,"ext":"https://www.yjys.me/$$$null$$$1","timeout":60},
{"key":"荐片弹幕版","name":"荐片","type":3,"api":"csp_Jianpian","searchable":1,"quickSearch":1,"filterable":1, "ext":"./json/jianpian.json$$$1", "timeout":60},
-{"key":"Bt0","name":"不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"null$$$null$$$1","timeout":60},
+{"key":"Bt0","name":"不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1"},
{ "key": "Ikanbot", "name": "爱看", "type": 3, "api": "csp_Ikanbot", "searchable": 1, "quickSearch": 1, "filterable": 1, "changeable": 1 , "ext":"https://v.ikanbot.com$$$proxy"},
{"key":"csp_Xunlei8","name":"迅雷吧","type":3,"api":"csp_Xunlei8","playerType":1,"searchable":1,"quickSearch":1,"filterable":1,"timeout":60},
{"key":"MeijuTT","name":"美剧天天","type":3,"api":"csp_MeijuTT","playerType":"1", "changeable":0,"timeout":60},
@@ -53,52 +53,52 @@
{"key":"櫻花","name":"櫻花","type":3,"api":"csp_Ying","searchable":1,"changeable":1},
{"key":"巴士","name":"巴士","type":3,"api":"csp_Dm84","searchable":1,"changeable":1},
-{"key":"Wogg","name":"玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://www.wogg.link/$$$null$$$1$$$./wogg.json"},
-{"key":"Wobg","name":"表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json"},
-{"key":"yydsys","name":"老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json"},
-{"key":"Moli","name":"HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json"},
-{"key":"Xinshijue","name":"新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json"},
-{"key":"Gaoqing","name":"高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/tokenm.json$$$https://gaoqing.la/$$$proxy$$$1"},
-{"key":"Bt0","name":"不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"null$$$null$$$1"},
-{"key":"ddys","name":"低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://ddys.pro/$$$proxy$$$1$$$"},
-{"key":"美剧迷","name":"美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"./lib/token.json$$$https://www.meijumi.xyz/$$$null$$$1"},
-{"key":"Ppxzy","name":"皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"./lib/token.json$$$https://ppxzy.net/$$$null$$$1", "timeout":30},
-{"key":"Panta","name":"盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json$$$https://www.91panta.cn/$$$null$$$1"},
-{"key":"csp_Hdhive","name":"影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"./lib/token.json","timeout":30},
-{"key":"新6V","name":"新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"./lib/token.json$$$https://www.66ss.org$$$null$$$1"},
-{"key":"4KHDR","name":"4KHDR","type":3,"api":"csp_FourKHDR","ext":"./lib/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60},
-{"key":"校长影视","name":"校长","type":3,"api":"csp_XiaoZhang","ext":"./lib/token.json","quickSearch":1,"changeable":1,"timeout":30},
-{"key":"团长资源","name":"团长","type":3,"api":"csp_TZFile","ext":"./lib/token.json", "quickSearch":1, "changeable":1, "timeout":30},
-{"key":"YunPan","name":"云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"./lib/token.json$$$null$$$proxy$$$1"},
-{"key":"Wo4k","name":"玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json"},
-{"key":"Xpanpan","name":"小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$https://xpanpan.site$$$null$$$1"},
+{"key":"Wogg","name":"玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wogg.link/$$$null$$$1$$$./wogg.json"},
+{"key":"Wobg","name":"表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json"},
+{"key":"yydsys","name":"老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json"},
+{"key":"Moli","name":"HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json"},
+{"key":"Xinshijue","name":"新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json"},
+{"key":"Gaoqing","name":"高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://gaoqing.la/$$$proxy$$$1"},
+{"key":"ddys","name":"低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$"},
+{"key":"美剧迷","name":"美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1"},
+{"key":"Ppxzy","name":"皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null$$$1", "timeout":30},
+{"key":"Panta","name":"盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.91panta.cn/$$$null$$$1"},
+{"key":"csp_Hdhive","name":"影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://127.0.0.1:9978/file/TV/token.json","timeout":30},
+{"key":"新6V","name":"新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.66ss.org$$$null$$$1"},
+{"key":"4KHDR","name":"4KHDR","type":3,"api":"csp_FourKHDR","ext":"http://127.0.0.1:9978/file/TV/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60},
+{"key":"校长影视","name":"校长","type":3,"api":"csp_XiaoZhang","ext":"http://127.0.0.1:9978/file/TV/token.json","quickSearch":1,"changeable":1,"timeout":30},
+{"key":"团长资源","name":"团长","type":3,"api":"csp_TZFile","ext":"http://127.0.0.1:9978/file/TV/token.json", "quickSearch":1, "changeable":1, "timeout":30},
+{"key":"YunPan","name":"云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1"},
+{"key":"Wo4k","name":"玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json"},
+{"key":"Xpanpan","name":"小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1"},
-{"key":"YingSo","name":"影搜","type":3,"api":"csp_YingSo","timeout":60, "ext":"./lib/token.json$$$1"},
-{"key":"盘友圈","name":"盘友圈","type":3,"api":"csp_Panyq","timeout":60, "ext":"./lib/token.json"},
-{"key":"88Pan","name":"88网盘","type":3,"api":"csp_EightEight","timeout":30, "ext":"./lib/token.json$$$https://662688.xyz"},
-{"key":"PikaSo","name":"皮卡搜","type":3,"api":"csp_PikaSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json$$$https://www.pikaso.top/$$$null"},
-{"key":"csp_HunHePan","name":"混合盘","type":3,"api":"csp_HunHePan","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/token.json$$$null$$$1"},
-{"key":"秒搜","name":"秒搜","type":3,"api":"csp_MiaoSou","timeout":30, "ext":"./lib/token.json"},
-{"key":"Libvio","name":"LIBVIO","type":3,"api":"csp_Libvio","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json$$$https://www.libvio.fun$$$null"},
-{"key":"DaPanSo","name":"大盘搜","type":3,"api":"csp_DaPanSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json$$$https://dapanso.com$$$null"},
-{"key":"Qianfan","name":"千帆","type":3,"api":"csp_Qianfan","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json$$$https://pan.qianfan.app$$$null$$$QianFanID="},
-{"key":"YunSo","name":"小云","type":3,"api":"csp_YunSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json"},
-{"key":"YunPanOne","name":"云盘One","type":3,"api":"csp_YunPanOne","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/token.json$$$proxy$$$1"},
-{"key":"Gitcafe", "name": "纸条", "type": 3, "api": "csp_Gitcafe", "searchable": 1, "quickSearch": 1, "filterable": 0, "ext":"./lib/token.json" , "timeout":30},
-{"key":"小紙條", "name": "小紙條", "type": 3, "api": "csp_XiaoZhiTiao", "searchable": 1, "quickSearch": 1, "filterable": 0, "ext":"./lib/token.json" , "timeout":30},
-{"key":"七夜","name":"七夜","type":3,"api":"csp_Dovx","searchable":1,"changeable":0,"ext":"./lib/token.json", "timeout":30},
-{"key":"盤搜索","name":"盤搜索","type":3,"api":"csp_PanSearch","searchable":1,"changeable":0,"ext":"./lib/token.json", "timeout":30},
-{"key":"找資源","name":"找資源","type":3,"api":"csp_Zhaozy","searchable":1,"changeable":0,"ext":"./lib/token.json$$$fanty$$$qqq111", "timeout":30},
-{"key":"易搜","name":"易搜","type":3,"api":"csp_YiSo","ext":"./lib/token.json$$$satoken=1aee2366-2ff4-4436-b321-a14db23e8294", "timeout":30},
-{"key":"盘搜","name":"盘搜","type":3,"api":"csp_PanSou","ext":"./lib/token.json", "timeout":30},
-{"key":"UP云搜","name":"云搜","type":3,"api":"csp_UpYun","ext":"./lib/token.json", "timeout":30},
-{"key":"Funletu","name":"趣盘搜","type":3,"api":"csp_Funletu","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json"},
-{"key":"QuarkPanso","name":"夸克盘搜","type":3,"api":"csp_QuarkPanso","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"./lib/token.json"},
+{"key":"YingSo","name":"影搜","type":3,"api":"csp_YingSo","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$1"},
+{"key":"盘友圈","name":"盘友圈","type":3,"api":"csp_Panyq","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"88Pan","name":"88网盘","type":3,"api":"csp_EightEight","timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://662688.xyz"},
+{"key":"PikaSo","name":"皮卡搜","type":3,"api":"csp_PikaSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.pikaso.top/$$$null"},
+{"key":"csp_HunHePan","name":"混合盘","type":3,"api":"csp_HunHePan","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$1"},
+{"key":"秒搜","name":"秒搜","type":3,"api":"csp_MiaoSou","timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"Libvio","name":"LIBVIO","type":3,"api":"csp_Libvio","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.libvio.fun$$$null"},
+{"key":"DaPanSo","name":"大盘搜","type":3,"api":"csp_DaPanSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://dapanso.com$$$null"},
+{"key":"Qianfan","name":"千帆","type":3,"api":"csp_Qianfan","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://pan.qianfan.app$$$null$$$QianFanID="},
+{"key":"YunSo","name":"小云","type":3,"api":"csp_YunSo","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"YunPanOne","name":"云盘One","type":3,"api":"csp_YunPanOne","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$proxy$$$1"},
+{"key":"Gitcafe", "name": "纸条", "type": 3, "api": "csp_Gitcafe", "searchable": 1, "quickSearch": 1, "filterable": 0, "ext":"http://127.0.0.1:9978/file/TV/token.json" , "timeout":30},
+{"key":"小紙條", "name": "小紙條", "type": 3, "api": "csp_XiaoZhiTiao", "searchable": 1, "quickSearch": 1, "filterable": 0, "ext":"http://127.0.0.1:9978/file/TV/token.json" , "timeout":30},
+{"key":"七夜","name":"七夜","type":3,"api":"csp_Dovx","searchable":1,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30},
+{"key":"盤搜索","name":"盤搜索","type":3,"api":"csp_PanSearch","searchable":1,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30},
+{"key":"找資源","name":"找資源","type":3,"api":"csp_Zhaozy","searchable":1,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$fanty$$$qqq111", "timeout":30},
+{"key":"易搜","name":"易搜","type":3,"api":"csp_YiSo","ext":"http://127.0.0.1:9978/file/TV/token.json$$$satoken=1aee2366-2ff4-4436-b321-a14db23e8294", "timeout":30},
+{"key":"盘搜","name":"盘搜","type":3,"api":"csp_PanSou","ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30},
+{"key":"UP云搜","name":"云搜","type":3,"api":"csp_UpYun","ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30},
+{"key":"Funletu","name":"趣盘搜","type":3,"api":"csp_Funletu","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"QuarkPanso","name":"夸克盘搜","type":3,"api":"csp_QuarkPanso","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
{"key": "小白","name": "小白","type": 3,"api": "csp_XBPQ","playerType": 1,"timeout":60,"jar": "./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","ext": "./XBPQ/小白.json"},
{"key": "BT天堂","name":"BT天堂","type":3,"api":"csp_XBPQ","searchable":1,"timeout":60,"quickSearch":1,"filterable":1,"ext": "./XBPQ/bttt.json","jar": "./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
{"key":"布谷tv","name":"布谷4K","type":3,"api":"csp_XBPQ","timeout":60,"searchable":1,"quickSearch":1,"filterable":1,"jar": "./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","ext":"./XBPQ/布谷4K.json"},
{"key": "haokongbu","name": "好恐怖","type": 3,"api": "csp_XBPQ","timeout":60,"searchable":1,"quickSearch":1,"filterable":1,"ext":"./XBPQ/好恐怖.json","jar": "./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
+{"key": "圣城1080","name": "圣城1080","type": 3,"api": "csp_XBPQ","timeout":60,"searchable":1,"quickSearch":1,"filterable":1,"ext":"./XBPQ/圣城1080.json","jar": "./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
{"key": "rarbt","name": "rarbt","type": 3,"changeable": 1,"searchable": 1,"quickSearch": 1,"filterable": 1,"api": "csp_XBPQ","ext":"./XBPQ/rarbt.json" ,"jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
{"key":"XBPQ_文才","name":"文才","type":3,"api":"csp_XBPQ", "jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","ext":"./XBPQ/文才.json"},
{"key":"XBPQ_BaiPiao","name":"白嫖影视","type":3,"api":"csp_XBPQ", "jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","ext": "./XBPQ/白嫖影视.json"},
@@ -127,7 +127,7 @@
{"key":"drpy_js_趣盤搜","name":"趣盘搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/funletu.js", "quickSearch":1, "changeable":1, "timeout":30},
{"key":"drpy_js_meow","name":"meow搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/meow.js", "quickSearch":1, "changeable":1, "timeout":30},
{"key": "push_quark","name": "夸克推送","type": 3,"api": "csp_Quark","changeable":0,"ext": "http://127.0.0.1:9978/file/TV/quark.txt", "timeout":30},
-{"key":"push_agent","name":"推送","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"./lib/token.json", "timeout":30},
+{"key":"push_agent","name":"推送","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30},
{"key":"量子","name":"量子","type":1,"api":"https://cj.lziapi.com/api.php/provide/vod","playUrl": "json:http://127.0.0.1:10079/parse/?thread=0&proxy=&url=","searchable":1,"changeable":1},
{"key":"非凡","name":"非凡","type":1,"api":"http://cj.ffzyapi.com/api.php/provide/vod","playUrl": "json:http://127.0.0.1:10079/parse/?thread=0&proxy=&url=","searchable":1,"changeable":1},
diff --git a/0826.json b/0826.json
index a7a9c3b8..417cb226 100644
--- a/0826.json
+++ b/0826.json
@@ -3,32 +3,35 @@
"wallpaper":"https://深色壁纸.xxooo.cf/",
"sites":[
-{"key":"豆豆","name":"🌕公众号【神秘的哥哥们】","type": 3, "api": "csp_DouDou","searchable": 0,"quickSearch": 0,"filterable": 0},
+{"key":"豆豆","name":"全接口启用智能去广告","type": 3, "api": "csp_DouDou","searchable": 0,"quickSearch": 0,"filterable": 0},
{"key":"玩偶","name":"👽玩偶哥哥┃4K弹幕","type":3,"api":"csp_WoGG","searchable":1,"quickSearch":1,"changeable":0, "ext": {"aliToken":"tvfan/token.txt","quarkCookie":"tvfan/cookie.txt","from":"4k|auto|fhd","siteUrl":"https://www.wogg.link/","danMu":"弹"}},
{"key":"YGP","name":"🚀叨观荐影┃新片","type":3,"api":"csp_YGP","searchable":0,"quickSearch":0,"changeable":0},
+{"key":"短剧","name":"🌈上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
{"key":"酷看","name":"💡酷看┃秒播","type":3,"api":"csp_Kkys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
{"key":"原创","name":"☀原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
-{"key":"苹果","name":"🍎苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
-{"key":"白嫖","name":"👻白飘┃不卡","type":3,"api":"csp_BaiPiao","playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.baipiaoys.com:9092/"},
-{"key":"小点","name":"💥小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
-{"key":"视觉","name":"👓视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
{"key":"厂长","name":"📔厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
-{"key":"七七","name":"👒七七┃秒播","type":3,"api":"csp_Kunyu77","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
+{"key":"视觉","name":"👓视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
{"key":"南瓜","name":"🎃南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
+{"key":"苹果","name":"🍎苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
+//{"key":"白嫖","name":"👻白飘┃不卡","type":3,"api":"csp_BaiPiao","playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.baipiaoys.com:9092/"},
+
{"key":"糯米","name":"🍙糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://gitlab.com/fantaiying/ext/-/raw/main/nmys.json"},
+{"key":"小点","name":"💥小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
+{"key":"热播","name":"📺热播┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext":"AO7TcBkd8I/B5wQc4Qma+pU="},
+{"key":"萌米","name":"👀萌米┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":1,"ext":"AO7TcBkd8Iifux0Y8Qze6tVlMg=="},
+{"key":"贱贱","name":"🐭贱贱┃P2P","type":3,"searchable":1,"quickSearch":1,"changeable":1,"playerType":"1","api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/jp.js"},
+{"key":"zxzj","name":"🍊在线┃外剧","type":3,"api":"csp_Zxzj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.zxzjhd.com/"},
{"key":"低端","name":"⏮️低端┃外剧","type":3,"api":"csp_Ddrk","playerType":"2","searchable":1,"quickSearch":1,"changeable":1},
-//{"key":"新星","name":"📺新星┃App","type":1,"api":"http://vipcom.xn--654a.cc/api.php/provide/vod/","playUrl":"json:http://json.xn--654a.cc/home/api?type=ys&uid=1323246&key=dfiopqzEHJKNOPSTY5&url=","searchable":1,"quickSearch":1,"changeable":1},
+//{"key":"新星","name":"👒新星┃App","type":1,"api":"http://vipcom.xn--654a.cc/api.php/provide/vod/","playUrl":"json:http://json.xn--654a.cc/home/api?type=ys&uid=1323246&key=dfiopqzEHJKNOPSTY5&url=","searchable":1,"quickSearch":1,"changeable":1},
{"key":"毛驴","name":"🍓毛驴┃多线","type":3,"api":"csp_MLYS","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.maolvys.com/"},
-{"key":"萌米","name":"👀萌米┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":1,"ext":"AO7TcBkd8Iifux0Y8Qze6tVlMg=="},
{"key":"比特","name":"🍄比特┃秒播","type":3,"api":"csp_Bttwoo","searchable":1,"quickSearch":1,"changeable":1},
//{"key":"一起看 ","name":"🌾一起┃App","type":3,"api":"csp_YQKan","searchable":1,"quickSearch":1,"changeable":1},
-{"key":"zxzj","name":"🍊在线┃外剧","type":3,"api":"csp_Zxzj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.zxzjhd.com/"},
+
{"key":"Lib","name": "🌟立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
{"key":"Auete","name":"🏝奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
-{"key":"贱贱","name":"🐭贱贱┃P2P","type":3,"searchable":1,"quickSearch":1,"changeable":1,"playerType":"1","api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/jp.js"},
{"key":"新6V","name":"🧲新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
{"key":"Dm84","name":"🚌巴士┃动漫","type":3,"api":"csp_Dm84","searchable":1,"quickSearch":1,"changeable":1},
@@ -44,7 +47,7 @@
{"key":"酷奇","name":"🎤酷奇┃MV","type": 3,"api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/酷奇MV.js","style":{"type":"rect","ratio":1.597},"searchable": 0,"quickSearch": 0,"changeable":0},
{"key":"MTV","name":"🎧明星┃MV","type":3,"api":"csp_Bili","style":{"type":"rect","ratio":1.597},"searchable":0,"quickSearch":0,"changeable":0,"ext":"https://gitlab.com/fantaiying/ext/-/raw/main/MTV.json"},
-{"key":"短剧","name":"🌈上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
+
{"key":"csp_Yj1211","name":"📽️网红┃直播","type": 3,"api": "csp_Yj1211","playerType":"1","searchable": 0,"quickSearch": 1,"changeable":0},
{"key":"虎牙直播js","name":"🐯虎牙┃直播","type":3,"api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/huya2.js","style":{"type":"rect","ratio":1.755},"playerType":"1","searchable": 0,"quickSearch": 0,"changeable":0},
{"key":"斗鱼js","name":"🐟斗鱼┃直播","type":3,"api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/斗鱼直播.js","style":{"type":"rect","ratio":1.755},"playerType":"1","searchable": 0,"quickSearch": 0,"changeable":0},
@@ -59,7 +62,6 @@
{"key":"PanSearch","name":"🙀盘Se┃搜索","type":3,"api":"csp_PanSearch","searchable":1,"quickSearch":1,"changeable":0,"ext": {"aliToken":"tvfan/token.txt","from":"4k|auto|fhd"}},
{"key":"push_agent","name":"🛴手机┃推送","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"ext": {"aliToken":"tvfan/token.txt","quarkCookie":"tvfan/cookie.txt","from":"4k|auto|fhd"}},
-
{"key":"Bili","name":"🅱哔哔┃合集","type": 3,"api": "csp_Bili","style":{"type":"rect","ratio":1.597},"searchable":1,"quickSearch":0,"changeable":0,"ext":"https://gitlab.com/fantaiying/ext/-/raw/main/bilibili.json"},
{"key":"Biliych","name":"🅱明星┃演唱会","type": 3,"api": "csp_Bili","style":{"type":"rect","ratio":1.597},"searchable":1,"quickSearch":0,"changeable":0,"ext":"https://gitlab.com/fantaiying/ext/-/raw/main/biliych.json"},
{"key":"dr_兔小贝","name":"📚儿童┃启蒙","type":3,"api":"https://gitlab.com/fantaiying/ext/-/raw/main/drpy2.min.js","ext":"https://gitlab.com/fantaiying/ext/-/raw/main/%E5%85%94%E5%B0%8F%E8%B4%9D.js","style":{"type":"rect","ratio":1.597},"searchable": 0,"quickSearch": 0,"changeable":0},
@@ -73,7 +75,7 @@
],
"doh":[{"name":"Google","url":"https://dns.google/dns-query","ips":["8.8.4.4","8.8.8.8"]},{"name":"Cloudflare","url":"https://cloudflare-dns.com/dns-query","ips":["1.1.1.1","1.0.0.1","2606:4700:4700::1111","2606:4700:4700::1001"]},{"name":"AdGuard","url":"https://dns.adguard.com/dns-query","ips":["94.140.14.140","94.140.14.141"]},{"name":"DNSWatch","url":"https://resolver2.dns.watch/dns-query","ips":["84.200.69.80","84.200.70.40"]},{"name":"Quad9","url":"https://dns.quad9.net/dns-quer","ips":["9.9.9.9","149.112.112.112"]}],
-"rules":[{"name":"kk","hosts":["kuaikan"],"regex":["5","20.123","20.167","#EXT-X-DISCONTINUITY\\r*\\n*((?!#EXT-X-DISCONTINUITY)[\\s\\S])*?#EXT-X-KEY:METHOD((?!#EXT-X-DISCONTINUITY)[\\s\\S])*?#EXT-X-DISCONTINUITY"]},{"name":"yqk","hosts":["yqk"],"regex":["18.4","15.1666","#EXT-X-DISCONTINUITY\\r*\\n*((?!#EXT-X-DISCONTINUITY)[\\s\\S])*?#EXT-X-CUE-OUT((?!#EXT-X-DISCONTINUITY)[\\s\\S])*?#EXT-X-CUE-IN"]},{"name":"sn","hosts":["suonizy"],"regex":["#EXTINF.*?\\s+.*?original.*?\\.ts\\s+","15.1666","15.2666","16.3333","15.266667"]},{"name":"bf","hosts":["bfzy"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:3,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},{"name":"xx","hosts":["aws.ulivetv.net"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:8,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},{"name":"lz","hosts":["vip.lz","hd.lz","v.cdnlz","yzzy1.play"],"regex":["18.5333","19.52","18.6666"]},{"name":"ff","hosts":["vip.ffzy","hd.ffzy","ffzy"],"regex":["25.0666","25.08","20.52","25.1","25.1999"]},{"name":"hs","hosts":["huoshan.com"],"regex":["item_id="]},{"name":"dy","hosts":["douyin.com"],"regex":["is_play_url="]},{"name":"nm","hosts":["toutiaovod.com"],"regex":["video/tos/cn"]},{"name":"cl","hosts":["magnet"],"regex":["最 新","直 播","更 新"]}],
+
"lives":[
{"name":"多线ITV","type":0,"url":"https://mirror.ghproxy.com/raw.githubusercontent.com/ssili126/tv/main/itvlist.m3u","playerType":1},
{ "name": "XIUTAN", "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", "type": 0, "url": "https://xhdwc.tk/xiutan.m3u" },{"name":"IPV6","type":0,"url":"https://live.fanmingming.com/tv/m3u/ipv6.m3u","playerType":1 }]
diff --git a/0827.json b/0827.json
index e20105e2..e5586322 100644
--- a/0827.json
+++ b/0827.json
@@ -1,5 +1,5 @@
{
- "spider": "./jar/custom_spider.jar;md5;eb9ef1e338ee3b01ef1c1c388841d7bb",
+ "spider": "./jar/custom_spider.jar;md5;2dd1047cb29daf7d351201a1cca49ae5",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [
{
@@ -494,15 +494,6 @@
"m3u8?pt=m3u8"
]
},
- {
- "name": "夜市點擊",
- "hosts": [
- "yeslivetv.com"
- ],
- "script": [
- "document.getElementsByClassName('vjs-big-play-button')[0].click()"
- ]
- },
{
"name": "毛驢點擊",
"hosts": [
diff --git a/9918.json b/9918.json
index 2890ef7b..69a97197 100644
--- a/9918.json
+++ b/9918.json
@@ -1,5 +1,6 @@
{
-"spider":"./jar/pg.jar;md5;d043e082374d30527f0b2b408bc826ff",
+"spider":"./jar/pg.jar;md5;0588c387f5804590be5edb98b7242157",
+"logo":"https://cdn.pixabay.com/photo/2020/08/09/11/43/woman-5475306_1280.jpg",
"lives":[{"name":"初秋语","type":0,"url":"./listx.txt"},
{"name":"糖意","type":0,"url":"https://wp.weikete.cc/down.php/c3eecc14547f5e1e468718148c9f762f.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png","pass":true},
{"name":"YanG","type":0,"url":"https://fongmi.cachefly.net/YanG-1989/m3u/main/Adult.m3u"},
@@ -23,13 +24,13 @@
{"key":"csp_BtSearch","name":"磁力搜","type":3,"api":"csp_BtSearch","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$1"},
{"key":"Clg","name":"磁力狗","type":3,"api":"csp_Clg","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"./lib/tokenm.json$$$https://clg.clgvip1.xyz/$$$proxy$$$1","style": {"type": "rect","ratio": 1.5}},
{"key":"csp_Netflav","name":"Netflav","type":3,"api":"csp_Netflav","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60},
-{"key":"Taohuazu","name":"桃花族","type":3,"api":"csp_Taohuazu","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://thze.cc/"},
-{"key":"SeHuaTang","name":"色花糖","type":3,"api":"csp_SeHuaTang","searchable":1,"quickSearch":1,"changeable":1,"filterable":0,"timeout":60,"ext":"null$$$proxy","style":{"type":"rect","ratio":1.5}},
+{"key":"Taohuazu","name":"桃花族","type":3,"api":"csp_Taohuazu","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://thze.cc/","ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"SeHuaTang","name":"色花糖","type":3,"api":"csp_SeHuaTang","searchable":1,"quickSearch":1,"changeable":1,"filterable":0,"timeout":60,"ext":"null$$$proxy","style":{"type":"rect","ratio":1.5},"ext":"http://127.0.0.1:9978/file/TV/token.json"},
{"key":"Xojav","name":"XOJav","type":3,"api":"csp_Xojav","searchable":1,"quickSearch":1,"changeable":1,"filterable":0,"timeout":60,"ext":"null$$$proxy","style":{"type":"rect","ratio":1.5}},
{"key":"Cable","name":"CableAV","type":3,"api":"csp_Cable","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60},
-{"key": "AList", "name": "AList", "type": 3, "api": "csp_AList", "searchable": 1, "changeable": 0, "ext": {"vodPic": "https://x.imgs.ovh/x/2023/09/05/64f680bb030b4.png","drives": [{"name": "网盘1","server": "https://alist-caimoui.cloud.okteto.net/私房菜/"}]}},
-{"key":"csp_JavBus","name":"JavBus","type":3,"api":"csp_JavBus","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60},
-{"key":"csp_JavDb","name":"JavDb","type":3,"api":"csp_JavDb","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60},
+{ "key": "AList", "name": "AList", "type": 3, "api": "csp_AList", "searchable": 1, "changeable": 0, "ext": {"vodPic": "https://x.imgs.ovh/x/2023/09/05/64f680bb030b4.png","drives": [{"name": "网盘1","server": "https://alist-caimoui.cloud.okteto.net/私房菜/"}]}},
+{"key":"csp_JavBus","name":"JavBus","type":3,"api":"csp_JavBus","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json"},
+{"key":"csp_JavDb","name":"JavDb","type":3,"api":"csp_JavDb","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json"},
{"key":"泥巴","name":"泥巴","type":3,"api":"csp_NiNi","searchable":1,"ext":"1"},
{"key":"玩偶","name":"玩偶","type":3,"api":"csp_Doll","searchable":1,"recordable":0,"style":{"type":"rect","ratio":1.309}},
{"key":"18AV","name":"18AV","type":3,"api":"csp_Eighteen","searchable":1,"recordable":0,"style":{"type":"rect","ratio":1.485}},
@@ -39,6 +40,7 @@
{"key":"黄色仓库","name":"黄色仓库","type":3,"api":"csp_XBPQ","jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","style":{"ratio":1.7},"ext":"./XBPQ/黄色仓库.json"},
{"key":"91黑料","name":"91黑料","type":3,"api":"csp_XBPQ","jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69","searchable":1,"quickSearch":1,"filterable":1,"ext":"./XBPQ/91黑料.json"},
{"key":"色花堂","name":"色花堂","type":3,"api":"csp_XBPQ","searchable":1,"quickSearch":1,"filterable":1,"ext":"./XBPQ/色花堂.json","jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
+{"key":"我爱AV","name":"我爱AV","type":3,"api":"csp_XBPQ","searchable":1,"quickSearch":1,"filterable":1,"ext":"./XBPQ/我爱AV.json","jar":"./jar/XBPQ.jar;md5;423e33ec108c0f7816200cebaf18fb69"},
{"key":"drpy_js_ss直播","name":"ss直播","type":3,"api":"./lib/drpy2.min.js","ext":"./js/ss直播.js","timeout":30},
{"key":"drpy_js_Missav","name":"Missav","type":3,"api":"./lib/drpy2.min.js","ext":"./js/Missav.js"},
{"key":"drpy_js_玩偶姐姐","name":"玩偶姐姐","type":3,"api":"./lib/drpy2.min.js","ext":"./js/玩偶姐姐.js"},
diff --git a/README.md b/README.md
index 4ba668ba..b96d6da1 100644
--- a/README.md
+++ b/README.md
@@ -73,61 +73,35 @@ V1.1.2版本以下
3. TVBox各路大佬配置(排名不分先后):
-(1)唐三:[不包含:肥猫不肥#神秘的哥哥]",
+
+ "搜索标题":"alt=\"&&\"",
+
+ "搜索副标题":"title=*>&&",
+
+ "搜索图片":"data-src=\"&&\"",
+
+ "搜索链接":"href=\"&&\"",
+
+ "线路数组":"data-dropdown-value=&&[不包含:备用#鸡儿云#飞速云#新浪云#金鹰云][排序:爱坤>蓝光>快看]",
+
+ "线路标题":"&&[替换:腾讯视频>>腾讯#优酷视频>>优酷#爱奇艺>>奇艺#芒果视频>>芒果#暴风云>>暴风#快看云>>快看#资源库>>资源#蓝光FY>>飞云#阿里云>>阿里#爱坤蓝光>>爱坤#量子云>>量子#非凡云>>非凡#>>共]+集",
+
+ "播放数组":"sort-item\"&&",
+
+ "播放标题":"&&",
+
+ "播放列表":"",
+
+ "分类url":"https://sc1080.top/index.php/vod/show/area/{area}/by/{by}/class/{class}/id/{cateId}/page/{catePg}/year/{year}.html",
+
+ "分类":"电影$1#电视剧$2#综艺$3#动漫$4#记录片$5",
+
+ "筛选":{
+ "1":[
+ {"key":"class","name":"剧情","value":[
+ {"n":"全部剧情","v":""},
+ {"n":"动作","v":"动作"},
+ {"n":"喜剧","v":"喜剧"},
+ {"n":"爱情","v":"爱情"},
+ {"n":"科幻","v":"科幻"},
+ {"n":"恐怖","v":"恐怖"},
+ {"n":"剧情","v":"剧情"},
+ {"n":"战争","v":"战争"},
+ {"n":"惊悚","v":"惊悚"},
+ {"n":"犯罪","v":"犯罪"},
+ {"n":"冒险","v":"冒险"},
+ {"n":"动画","v":"动画"},
+ {"n":"悬疑","v":"悬疑"},
+ {"n":"武侠","v":"武侠"},
+ {"n":"奇幻","v":"奇幻"},
+ {"n":"纪录","v":"纪录"},
+ {"n":"其他","v":"其他"}
+ ]
+ },
+ {"key":"area","name":"地区","value":[
+ {"n":"全部地区","v":""},
+ {"n":"国产","v":"国产"},
+ {"n":"欧美","v":"欧美"},
+ {"n":"港台","v":"港台"},
+ {"n":"日韩","v":"日韩"}
+ ]
+ },
+ {"key":"year","name":"时间","value":[
+ {"n":"全部时间","v":""},
+ {"n":"2023","v":"2023"},
+ {"n":"2022","v":"2022"},
+ {"n":"2021","v":"2021"},
+ {"n":"2020","v":"2020"},
+ {"n":"1999","v":"1999"},
+ {"n":"1998","v":"1998"},
+ {"n":"1997","v":"1997"},
+ {"n":"1996","v":"1996"},
+ {"n":"1995","v":"1995"},
+ {"n":"1994","v":"1994"},
+ {"n":"1993","v":"1993"},
+ {"n":"1992","v":"1992"},
+ {"n":"1991","v":"1991"},
+ {"n":"1990","v":"1990"}
+ ]
+ },
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "2":[
+ {"key":"class","name":"剧情","value":[
+ {"n":"全部剧情","v":""},
+ {"n":"国产剧","v":"国产剧"},
+ {"n":"港台剧","v":"港台剧"},
+ {"n":"欧美剧","v":"欧美剧"},
+ {"n":"日韩剧","v":"日韩剧"}
+ ]
+ },
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "3":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "4":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "5":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "6":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "7":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "8":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ],
+ "9":[
+ {"key":"by","name":"排序","value":[
+ {"n":"全部排序","v":""},
+ {"n":"时间排序","v":"time"},
+ {"n":"人气排序","v":"hits"},
+ {"n":"评分排序","v":"score"}
+ ]
+ }
+ ]
+ }
+ }
+
\ No newline at end of file
diff --git a/XBPQ/我爱AV.json b/XBPQ/我爱AV.json
new file mode 100644
index 00000000..be105120
--- /dev/null
+++ b/XBPQ/我爱AV.json
@@ -0,0 +1,13 @@
+{
+ "数组": "class=\"stui-vodlist__thumb lazyload\"&&&&
1){e:for(;Y--;)for(Z=Y;Z--;)if(iD(v[Y],v[Z])){let ve={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf/1/uniqueItems",keyword:"uniqueItems",params:{i:Y,j:Z},message:"must NOT have duplicate items (items ## "+Z+" and "+Y+" are identical)"};i===null?i=[ve]:i.push(ve),s++;break e}}}}else{let Q={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};i===null?i=[Q]:i.push(Q),s++}var T=j===s;N=N||T}if(N)s=w,i!==null&&(w?i.length=w:i=null);else{let j={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[j]:i.push(j),s++,Ae.errors=i,!1}var u=b===s}else var u=!0;if(u){if(n.format!==void 0){let v=s;if(typeof n.format!="string")return Ae.errors=[{instancePath:e+"/format",schemaPath:"#/properties/format/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.contentMediaType!==void 0){let v=s;if(typeof n.contentMediaType!="string")return Ae.errors=[{instancePath:e+"/contentMediaType",schemaPath:"#/properties/contentMediaType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.contentEncoding!==void 0){let v=s;if(typeof n.contentEncoding!="string")return Ae.errors=[{instancePath:e+"/contentEncoding",schemaPath:"#/properties/contentEncoding/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.if!==void 0){let v=s;Ae(n.if,{instancePath:e+"/if",parentData:n,parentDataProperty:"if",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.then!==void 0){let v=s;Ae(n.then,{instancePath:e+"/then",parentData:n,parentDataProperty:"then",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.else!==void 0){let v=s;Ae(n.else,{instancePath:e+"/else",parentData:n,parentDataProperty:"else",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.allOf!==void 0){let v=s;O2(n.allOf,{instancePath:e+"/allOf",parentData:n,parentDataProperty:"allOf",rootData:r})||(i=i===null?O2.errors:i.concat(O2.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.anyOf!==void 0){let v=s;O2(n.anyOf,{instancePath:e+"/anyOf",parentData:n,parentDataProperty:"anyOf",rootData:r})||(i=i===null?O2.errors:i.concat(O2.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.oneOf!==void 0){let v=s;O2(n.oneOf,{instancePath:e+"/oneOf",parentData:n,parentDataProperty:"oneOf",rootData:r})||(i=i===null?O2.errors:i.concat(O2.errors),s=i.length);var u=v===s}else var u=!0;if(u)if(n.not!==void 0){let v=s;Ae(n.not,{instancePath:e+"/not",parentData:n,parentDataProperty:"not",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return Ae.errors=i,s===0}});var aD=C((Yxe,uD)=>{"use strict";var Jg=class n{constructor(e,l,t="#"){this.schema=e,this.schemaId=l,this.jsonPointer=t,this.mergedSchemaId=null}getPropertyLocation(e){let l=new n(this.schema[e],this.schemaId,this.jsonPointer+"/"+e);return this.mergedSchemaId!==null&&l.addMergedSchema(this.schema[e],this.mergedSchemaId,this.jsonPointer+"/"+e),l}getSchemaId(){return this.mergedSchemaId||this.schemaId}getOriginSchemaId(){return this.schemaId}getSchemaRef(){return this.getSchemaId()+this.jsonPointer}addMergedSchema(e,l,t="#"){this.schema=e,this.mergedSchemaId=l,this.jsonPointer=t}};uD.exports=Jg});var bD=C((Jxe,_o)=>{"use strict";var Qg=JP()(),D1e=a0()({proto:!0}),{RefResolver:L1e}=nD(),oD=sD(),F1e=lh(),M1e=Wm(),fD=aD(),$1e=/'/g,L9=2e4,pD="default",j1e=["floor","ceil","round","trunc"],dD=["default","json-stringify"],yo="!addComma && (addComma = true) || (json += ',')",hD=0;function Zg(n,e){if(!oD(n)){e?e=`"${e}" `:e="";let l=oD.errors[0],t=new Error(`${e}schema is invalid: data${l.instancePath} ${l.message}`);throw t.errors=Zg.errors,t}}function vo(n,e,l){let t=l.indexOf("#");t===-1&&(t=l.length);let r=l.slice(0,t)||e.getOriginSchemaId(),i=l.slice(t)||"#",s=n.refResolver.getSchema(r,i);if(s===null)throw new Error(`Cannot find reference "${l}"`);let u=new fD(s,r,i);return s.$ref!==void 0?vo(n,u,s.$ref):u}function cD(n,e){return n.$id&&n.$id.charAt(0)!=="#"?n.$id:e}function ey(n,e){Zg(n),e=e||{};let l={functions:[],functionsCounter:0,functionsNamesBySchema:new Map,options:e,wrapObjects:!0,refResolver:new L1e,rootSchemaId:n.$id||`__fjs_root_${hD++}`,validatorSchemasIds:new Set},t=cD(n,l.rootSchemaId);if(l.refResolver.hasSchema(t)||l.refResolver.addSchema(n,l.rootSchemaId),e.schema)for(let f in e.schema){let p=e.schema[f],m=cD(p,f);l.refResolver.hasSchema(m)||(Zg(p,f),l.refResolver.addSchema(p,f))}if(e.rounding&&!j1e.includes(e.rounding))throw new Error(`Unsupported integer rounding method ${e.rounding}`);if(e.largeArrayMechanism)if(dD.includes(e.largeArrayMechanism))pD=e.largeArrayMechanism;else throw new Error(`Unsupported large array mechanism ${e.largeArrayMechanism}`);if(e.largeArraySize)if(typeof e.largeArraySize=="string"&&Number.isFinite(Number.parseInt(e.largeArraySize,10)))L9=Number.parseInt(e.largeArraySize,10);else if(typeof e.largeArraySize=="number"&&Number.isInteger(e.largeArraySize))L9=e.largeArraySize;else if(typeof e.largeArraySize=="bigint")L9=Number(e.largeArraySize);else throw new Error(`Unsupported large array size. Expected integer-like, got ${typeof e.largeArraySize} with value ${e.largeArraySize}`);let r=new fD(n,l.rootSchemaId),i=Sr(l,r,"input"),s;i==="json += anonymous0(input)"?s=` + module.exports = ${n.toString()}(validator, serializer)`}Jm.exports=wue;Jm.exports.dependencies={Serializer:rh(),Validator:Ym()}});var YI=C((exe,KI)=>{"use strict";var{dependencies:Oue}=Qm(),{Serializer:Nue,Validator:ZSe}=Oue,Rue={mode:"standalone"},Iue=Nue.restoreFromState(Rue),Cue=null;KI.exports=function(e,l){function t(i){let s=i&&typeof i.toJSON=="function"?i.toJSON():i;if(s===null)return"{}";let u=!1,a="{";return s.statusCode!==void 0&&(!u&&(u=!0)||(a+=","),a+='"statusCode":',a+=l.asNumber(s.statusCode)),s.code!==void 0&&(!u&&(u=!0)||(a+=","),a+='"code":',a+=l.asString(s.code)),s.error!==void 0&&(!u&&(u=!0)||(a+=","),a+='"error":',a+=l.asString(s.error)),s.message!==void 0&&(!u&&(u=!0)||(a+=","),a+='"message":',a+=l.asString(s.message)),a+"}"}return t}(Cue,Iue)});var H0=C((nxe,eC)=>{"use strict";var JI=require("node:http").STATUS_CODES,kue=ed(),{kReplyHeaders:Ru,kReplyNextErrorHandler:t9,kReplyIsRunningOnErrorHook:Pue,kReplyHasStatusCode:Due,kRouteContext:ZI}=Ut(),{FST_ERR_REP_INVALID_PAYLOAD_TYPE:Lue,FST_ERR_FAILED_ERROR_SERIALIZATION:Fue}=o2(),{getSchemaSerializer:Mue}=f0(),Zm=YI(),$ue={func:Uue,toJSON(){return this.func.name.toString()+"()"}};function jue(n,e,l){n[Pue]=!1;let t=n[ZI];if(n[t9]===!1){QI(e,n,function(u,a){try{u.raw.writeHead(u.raw.statusCode,u[Ru])}catch(c){u.log.warn({req:u.request,res:u,err:c},c&&c.message),u.raw.writeHead(u.raw.statusCode)}u.raw.end(a)});return}let r=n[t9]||t.errorHandler;n[t9]=Object.getPrototypeOf(r),delete n[Ru]["content-type"],delete n[Ru]["content-length"];let i=r.func;if(!i){n[t9]=!1,QI(e,n,l);return}let s=i(e,n.request,n);s!==void 0&&(s!==null&&typeof s.then=="function"?kue(s,n):n.send(s))}function Uue(n,e,l){if(Hue(n,l),!l[Due]||l.statusCode===200){let t=n.statusCode||n.status;l.code(t>=400?t:500)}l.statusCode<500?l.log.info({res:l,err:n},n&&n.message):l.log.error({req:e,res:l,err:n},n&&n.message),l.send(n)}function QI(n,e,l){let t=e.raw,r=e.statusCode;e[Ru]["content-type"]=e[Ru]["content-type"]??"application/json; charset=utf-8";let i;try{let s=Mue(e[ZI],r,e[Ru]["content-type"]);i=s===!1?Zm({error:JI[r+""],code:n.code,message:n.message,statusCode:r}):s(Object.create(n,{error:{value:JI[r+""]},message:{value:n.message},statusCode:{value:r}}))}catch(s){e.log.error({err:s,statusCode:t.statusCode},"The serializer for the given status code failed"),e.code(500),i=Zm(new Fue(s.message,n.message))}typeof i!="string"&&!Buffer.isBuffer(i)&&(i=Zm(new Lue(typeof i))),e[Ru]["content-length"]=""+Buffer.byteLength(i),l(e,i)}function Bue(n=$ue,e){if(!e)return n;let l=Object.create(n);return l.func=e,l}function Hue(n,e){let l=e.raw,t=l.statusCode;t=t>=400?t:500,n!=null&&(n.headers!==void 0&&e.headers(n.headers),n.status>=400?t=n.status:n.statusCode>=400&&(t=n.statusCode)),l.statusCode=t}eC.exports={buildErrorHandler:Bue,handleError:jue}});var o9=C((lxe,a9)=>{"use strict";var tg=require("node:stream").finished,que=require("node:stream").Readable,{kFourOhFourContext:nC,kPublicRouteContext:lC,kReplyErrorHandlerCalled:cC,kReplyHijacked:q0,kReplyStartTime:V0,kReplyEndTime:ig,kReplySerializer:pi,kReplySerializerDefault:i9,kReplyIsError:s9,kReplyHeaders:Ll,kReplyTrailers:Bt,kReplyHasStatusCode:sg,kReplyIsRunningOnErrorHook:ug,kReplyNextErrorHandler:Vue,kDisableRequestLogging:fC,kSchemaResponse:u9,kReplyCacheSerializeFns:es,kSchemaController:eg,kOptions:zue,kRouteContext:In}=Ut(),{onSendHookRunner:pC,onResponseHookRunner:Gue,preHandlerHookRunner:Xue,preSerializationHookRunner:Wue}=Ui(),tC=rd()[Symbol.for("internals")],Kue=o0(),rg=Kue.now,{handleError:rC}=H0(),{getSchemaSerializer:Yue}=f0(),ng={JSON:"application/json; charset=utf-8",PLAIN:"text/plain; charset=utf-8",OCTET:"application/octet-stream"},{FST_ERR_REP_INVALID_PAYLOAD_TYPE:Jue,FST_ERR_REP_RESPONSE_BODY_CONSUMED:Que,FST_ERR_REP_ALREADY_SENT:dC,FST_ERR_REP_SENT_VALUE:Zue,FST_ERR_SEND_INSIDE_ONERR:eae,FST_ERR_BAD_STATUS_CODE:nae,FST_ERR_BAD_TRAILER_NAME:lae,FST_ERR_BAD_TRAILER_VALUE:tae,FST_ERR_MISSING_SERIALIZATION_FN:rae,FST_ERR_MISSING_CONTENTTYPE_SERIALIZATION_FN:iae}=o2(),{FSTDEP010:sae,FSTDEP013:uae,FSTDEP019:aae,FSTDEP020:oae}=si(),hC=Object.prototype.toString;function Il(n,e,l){this.raw=n,this[pi]=null,this[cC]=!1,this[s9]=!1,this[ug]=!1,this.request=e,this[Ll]={},this[Bt]=null,this[sg]=!1,this[V0]=void 0,this.log=l}Il.props=[];Object.defineProperties(Il.prototype,{[In]:{get(){return this.request[In]}},context:{get(){return aae(),this.request[In]}},elapsedTime:{get(){return this[V0]===void 0?0:(this[ig]||rg())-this[V0]}},server:{get(){return this.request[In].server}},sent:{enumerable:!0,get(){return(this[q0]||this.raw.writableEnded)===!0},set(n){if(sae(),n!==!0)throw new Zue;if(this.sent&&this[q0])throw new dC(this.request.url,this.request.method);this[q0]=!0}},statusCode:{get(){return this.raw.statusCode},set(n){this.code(n)}},[lC]:{get(){return this.request[lC]}}});Il.prototype.hijack=function(){return this[q0]=!0,this};Il.prototype.send=function(n){if(this[ug]===!0)throw new eae;if(this.sent)return this.log.warn({err:new dC(this.request.url,this.request.method)}),this;if(n instanceof Error||this[s9]===!0)return this[s9]=!1,z0(this,n,Iu),this;if(n===void 0)return Iu(this,n),this;let e=this.getHeader("content-type"),l=e!==void 0;if(n!==null){if(typeof n.pipe=="function"||typeof n.getReader=="function"||hC.call(n)==="[object Response]")return Iu(this,n),this;if(n?.buffer instanceof ArrayBuffer){l===!1&&(this[Ll]["content-type"]=ng.OCTET);let t=Buffer.isBuffer(n)?n:Buffer.from(n.buffer,n.byteOffset,n.byteLength);return Iu(this,t),this}if(l===!1&&typeof n=="string")return this[Ll]["content-type"]=ng.PLAIN,Iu(this,n),this}if(this[pi]!==null){if(typeof n!="string")return iC(this,n),this;n=this[pi](n)}else if(l===!1||e.indexOf("json")>-1){if(l===!1)this[Ll]["content-type"]=ng.JSON;else if(e.indexOf("charset")===-1){let t=e.trim();t.endsWith(";")?this[Ll]["content-type"]=`${t} charset=utf-8`:this[Ll]["content-type"]=`${t}; charset=utf-8`}if(typeof n!="string")return iC(this,n),this}return Iu(this,n),this};Il.prototype.getHeader=function(n){n=n.toLowerCase();let e=this.raw,l=this[Ll][n];return l===void 0&&e.hasHeader(n)&&(l=e.getHeader(n)),l};Il.prototype.getHeaders=function(){return{...this.raw.getHeaders(),...this[Ll]}};Il.prototype.hasHeader=function(n){return n=n.toLowerCase(),this[Ll][n]!==void 0||this.raw.hasHeader(n)};Il.prototype.removeHeader=function(n){return delete this[Ll][n.toLowerCase()],this};Il.prototype.header=function(n,e=""){return n=n.toLowerCase(),this[Ll][n]&&n==="set-cookie"?(typeof this[Ll][n]=="string"&&(this[Ll][n]=[this[Ll][n]]),Array.isArray(e)?Array.prototype.push.apply(this[Ll][n],e):this[Ll][n].push(e)):this[Ll][n]=e,this};Il.prototype.headers=function(n){let e=Object.keys(n);for(var l=0;l!==e.length;++l){let t=e[l];this.header(t,n[t])}return this};var cae=new Set(["transfer-encoding","content-length","host","cache-control","max-forwards","te","authorization","set-cookie","content-encoding","content-type","content-range","trailer"]);Il.prototype.trailer=function(n,e){if(n=n.toLowerCase(),cae.has(n))throw new lae(n);if(typeof e!="function")throw new tae(n,typeof e);return this[Bt]===null&&(this[Bt]={}),this[Bt][n]=e,this};Il.prototype.hasTrailer=function(n){return this[Bt]?.[n.toLowerCase()]!==void 0};Il.prototype.removeTrailer=function(n){return this[Bt]===null?this:(this[Bt][n.toLowerCase()]=void 0,this)};Il.prototype.code=function(n){let e=Number(n);if(isNaN(e)||e<100||e>599)throw new nae(n||String(n));return this.raw.statusCode=e,this[sg]=!0,this};Il.prototype.status=Il.prototype.code;Il.prototype.getSerializationFunction=function(n,e){let l;return typeof n=="string"||typeof n=="number"?typeof e=="string"?l=this[In][u9]?.[n]?.[e]:l=this[In][u9]?.[n]:typeof n=="object"&&(l=this[In][es]?.get(n)),l};Il.prototype.compileSerializationSchema=function(n,e=null,l=null){let{request:t}=this,{method:r,url:i}=t;if(this[In][es]?.has(n))return this[In][es].get(n);let u=(this[In].serializerCompiler||this.server[eg].serializerCompiler||this.server[eg].setupSerializer(this.server[zue])||this.server[eg].serializerCompiler)({schema:n,method:r,url:i,httpStatus:e,contentType:l});return this[In][es]==null&&(this[In][es]=new WeakMap),this[In][es].set(n,u),u};Il.prototype.serializeInput=function(n,e,l,t){let r=l,i;if(l=typeof e=="string"||typeof e=="number"?e:l,t=l&&r!==l?r:t,l!=null){if(t!=null?i=this[In][u9]?.[l]?.[t]:i=this[In][u9]?.[l],i==null)throw t?new iae(l,t):new rae(l)}else this[In][es]?.has(e)?i=this[In][es].get(e):i=this.compileSerializationSchema(e,l,t);return i(n)};Il.prototype.serialize=function(n){return this[pi]!==null?this[pi](n):this[In]&&this[In][i9]?this[In][i9](n,this.raw.statusCode):yC(this[In],n,this.raw.statusCode)};Il.prototype.serializer=function(n){return this[pi]=n,this};Il.prototype.type=function(n){return this[Ll]["content-type"]=n,this};Il.prototype.redirect=function(n,e){return typeof n=="string"&&(e=n,n=this[sg]?this.raw.statusCode:302),this.header("location",e).code(n).send()};Il.prototype.callNotFound=function(){return gae(this),this};Il.prototype.getResponseTime=function(){return oae(),this.elapsedTime};Il.prototype.then=function(n,e){if(this.sent){n();return}tg(this.raw,l=>{l&&l.code!=="ERR_STREAM_PREMATURE_CLOSE"?e?e(l):this.log&&this.log.warn("unhandled rejection on reply.then"):n()})};function iC(n,e){n[In].preSerialization!==null?Wue(n[In].preSerialization,n.request,n,e,sC):sC(null,n.request,n,e)}function sC(n,e,l,t){if(n!=null){z0(l,n);return}try{l[pi]!==null?t=l[pi](t):l[In]&&l[In][i9]?t=l[In][i9](t,l.raw.statusCode):t=yC(l[In],t,l.raw.statusCode,l[Ll]["content-type"])}catch(r){fae(r,l),z0(l,r);return}Iu(l,t)}function fae(n,e){n.serialization=e[In].config}function Iu(n,e){n[In].onSend!==null?pC(n[In].onSend,n.request,n,e,pae):mC(n,e)}function pae(n,e,l,t){n!=null?z0(l,n):mC(l,t)}function lg(n,e){let l=n.raw;try{l.writeHead(e,n[Ll])}catch(t){throw t.code==="ERR_HTTP_HEADERS_SENT"&&n.log.warn(`Reply was already sent, did you forget to "return reply" in the "${n.request.raw.url}" (${n.request.raw.method}) route?`),t}}function mC(n,e){let l=n.raw,t=n.request;if(n[Bt]!==null){let s=Object.keys(n[Bt]),u="";for(let a of s)typeof n[Bt][a]=="function"&&(u+=" ",u+=a);n.header("Transfer-Encoding","chunked"),n.header("Trailer",u.trim())}let r=hC.call(e)==="[object Response]";r&&typeof e.status=="number"&&n.code(e.status);let i=l.statusCode;if(e==null){i>=200&&i!==204&&i!==304&&t.method!=="HEAD"&&n[Bt]===null&&(n[Ll]["content-length"]="0"),lg(n,i),r9(e,l,n);return}if(i>=100&&i<200||i===204){n.removeHeader("content-type"),n.removeHeader("content-length"),lg(n,i),r9(void 0,l,n),typeof e.resume=="function"&&(e.on("error",vC),e.resume());return}if(typeof e.pipe=="function"){gC(e,l,n);return}if(typeof e.getReader=="function"){aC(e,l,n);return}if(r){if(typeof e.headers=="object"&&typeof e.headers.forEach=="function")for(let[s,u]of e.headers)n.header(s,u);if(e.body!=null){if(e.bodyUsed)throw new Que;aC(e.body,l,n)}return}if(typeof e!="string"&&!Buffer.isBuffer(e))throw new Jue(typeof e);if(n[Bt]===null){let s=n[Ll]["content-length"];(!s||t.raw.method!=="HEAD"&&Number(s)!==Buffer.byteLength(e))&&(n[Ll]["content-length"]=""+Buffer.byteLength(e))}lg(n,i),l.write(e),r9(e,l,n)}function uC(n,e,l){e.code==="ERR_STREAM_PREMATURE_CLOSE"?n[fC]||n.info({res:l},"stream closed prematurely"):n.warn({err:e},"response terminated with an error with headers already sent")}function aC(n,e,l){let t=que.fromWeb(n);gC(t,e,l)}function gC(n,e,l){let t=!0,r=!1;if(dae(n,e,l),tg(n,{readable:!0,writable:!1},function(i){t=!1,i!=null&&(e.headersSent||l.request.raw.aborted===!0?(r||(r=!0,uC(l.log,i,e)),e.destroy()):z0(l,i))}),tg(e,function(i){t&&(i!=null&&e.headersSent&&!r&&(r=!0,uC(l.log,i,e)),typeof n.destroy=="function"?n.destroy():typeof n.close=="function"?n.close(vC):typeof n.abort=="function"?n.abort():l.log.warn("stream payload does not end properly"))}),e.headersSent)l.log.warn("response will send, but you shouldn't use res.writeHead in stream mode");else for(let i in l[Ll])e.setHeader(i,l[Ll][i]);n.pipe(e)}function r9(n,e,l){if(l[Bt]===null){e.end(null,null,null);return}let t=Object.keys(l[Bt]),r={},i=0,s=!0;function u(){i===0&&(e.addTrailers(r),e.end(null,null,null))}for(let a of t){let c=function(p,m){i++,p?l.log.debug(p):r[a]=m,process.nextTick(u)};if(typeof l[Bt][a]!="function")continue;s=!1,i--;let f=l[Bt][a](l,n,c);typeof f=="object"&&typeof f.then=="function"?f.then(p=>c(null,p),c):f!=null&&(uae(),c(null,f))}s&&e.end(null,null,null)}function dae(n,e,l){l[Bt]!==null&&n.on("end",()=>r9(null,e,l))}function z0(n,e,l){n[In].onError!==null&&!n[Vue]?(n[ug]=!0,pC(n[In].onError,n.request,n,e,()=>rC(n,e,l))):rC(n,e,l)}function hae(n){n[V0]=rg();let e=l=>{n[ig]=rg(),n.raw.removeListener("finish",e),n.raw.removeListener("error",e);let t=n[In];t&&t.onResponse!==null?Gue(t.onResponse,n.request,n,oC):oC(l,n.request,n)};n.raw.on("finish",e),n.raw.on("error",e)}function oC(n,e,l){if(l.log[fC])return;let t=l.elapsedTime;if(n!=null){l.log.error({res:l,err:n,responseTime:t},"request errored");return}l.log.info({res:l,responseTime:t},"request completed")}function mae(n){let e=n.props.slice();function l(t,r,i){this.raw=t,this[s9]=!1,this[cC]=!1,this[q0]=!1,this[pi]=null,this.request=r,this[Ll]={},this[Bt]=null,this[V0]=void 0,this[ig]=void 0,this.log=i;for(var s,u=0;u{"use strict";_C.exports=yae;function yae(n){if(!n)throw new TypeError("argument req is required");var e=_ae(n.headers["x-forwarded-for"]||""),l=vae(n),t=[l].concat(e);return t}function vae(n){return n.socket?n.socket.remoteAddress:n.connection.remoteAddress}function _ae(n){for(var e=n.length,l=[],t=n.length,r=n.length-1;r>=0;r--)switch(n.charCodeAt(r)){case 32:t===e&&(t=e=r);break;case 44:t!==e&&l.push(n.substring(t,e)),t=e=r;break;default:t=r;break}return t!==e&&l.push(n.substring(t,e)),l}});var TC=C((bC,G0)=>{(function(){var n,e,l,t,r,i,s,u,a;e={},u=this,typeof G0<"u"&&G0!==null&&G0.exports?G0.exports=e:u.ipaddr=e,s=function(c,f,p,m){var h,g;if(c.length!==f.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(h=0;m>0;){if(g=p-m,g<0&&(g=0),c[h]>>g!==f[h]>>g)return!1;m-=p,h+=1}return!0},e.subnetMatch=function(c,f,p){var m,h,g,_,S;p==null&&(p="unicast");for(g in f)for(_=f[g],_[0]&&!(_[0]instanceof Array)&&(_=[_]),m=0,h=_.length;m =0;p=m+=-1)if(h=this.octets[p],h in S){if(_=S[h],g&&_!==0)return null;_!==8&&(g=!0),f+=_}else return null;return 32-f},c}(),l="(0?\\d+|0x[a-f0-9]+)",t={fourOctet:new RegExp("^"+l+"\\."+l+"\\."+l+"\\."+l+"$","i"),longValue:new RegExp("^"+l+"$","i")},e.IPv4.parser=function(c){var f,p,m,h,g;if(p=function(_){return _[0]==="0"&&_[1]!=="x"?parseInt(_,8):parseInt(_)},f=c.match(t.fourOctet))return function(){var _,S,T,x;for(T=f.slice(1,6),x=[],_=0,S=T.length;_ 4294967295||g<0)throw new Error("ipaddr: address outside defined range");return function(){var _,S;for(S=[],h=_=0;_<=24;h=_+=8)S.push(g>>h&255);return S}().reverse()}else return null},e.IPv6=function(){function c(f,p){var m,h,g,_,S,T;if(f.length===16)for(this.parts=[],m=h=0;h<=14;m=h+=2)this.parts.push(f[m]<<8|f[m+1]);else if(f.length===8)this.parts=f;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(T=this.parts,g=0,_=T.length;g<_;g++)if(S=T[g],!(0<=S&&S<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");p&&(this.zoneId=p)}return c.prototype.kind=function(){return"ipv6"},c.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},c.prototype.toRFC5952String=function(){var f,p,m,h,g;for(h=/((^|:)(0(:|$)){2,})/g,g=this.toNormalizedString(),f=0,p=-1;m=h.exec(g);)m[0].length>p&&(f=m.index,p=m[0].length);return p<0?g:g.substring(0,f)+"::"+g.substring(f+p)},c.prototype.toByteArray=function(){var f,p,m,h,g;for(f=[],g=this.parts,p=0,m=g.length;p>8),f.push(h&255);return f},c.prototype.toNormalizedString=function(){var f,p,m;return f=function(){var h,g,_,S;for(_=this.parts,S=[],h=0,g=_.length;h >8,f&255,p>>8,p&255])},c.prototype.prefixLengthFromSubnetMask=function(){var f,p,m,h,g,_,S;for(S={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},f=0,g=!1,p=m=7;m>=0;p=m+=-1)if(h=this.parts[p],h in S){if(_=S[h],g&&_!==0)return null;_!==16&&(g=!0),f+=_}else return null;return 128-f},c}(),r="(?:[0-9a-f]+::?)+",a="%[0-9a-z]{1,}",i={zoneIndex:new RegExp(a,"i"),native:new RegExp("^(::)?("+r+")?([0-9a-f]+)?(::)?("+a+")?$","i"),transitional:new RegExp("^((?:"+r+")|(?:::)(?:"+r+")?)"+(l+"\\."+l+"\\."+l+"\\."+l)+("("+a+")?$"),"i")},n=function(c,f){var p,m,h,g,_,S;if(c.indexOf("::")!==c.lastIndexOf("::"))return null;for(S=(c.match(i.zoneIndex)||[])[0],S&&(S=S.substring(1),c=c.replace(/%.+$/,"")),p=0,m=-1;(m=c.indexOf(":",m+1))>=0;)p++;if(c.substr(0,2)==="::"&&p--,c.substr(-2,2)==="::"&&p--,p>f)return null;for(_=f-p,g=":";_--;)g+="0:";return c=c.replace("::",g),c[0]===":"&&(c=c.slice(1)),c[c.length-1]===":"&&(c=c.slice(0,-1)),f=function(){var T,x,v,b;for(v=c.split(":"),b=[],T=0,x=v.length;T =0&&f<=32))return m=[this.parse(p[1]),f],Object.defineProperty(m,"toString",{value:function(){return this.join("/")}}),m;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},e.IPv4.subnetMaskFromPrefixLength=function(c){var f,p,m;if(c=parseInt(c),c<0||c>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(m=[0,0,0,0],p=0,f=Math.floor(c/8);p =0&&f<=128))return m=[this.parse(p[1]),f],Object.defineProperty(m,"toString",{value:function(){return this.join("/")}}),m;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},e.isValid=function(c){return e.IPv6.isValid(c)||e.IPv4.isValid(c)},e.parse=function(c){if(e.IPv6.isValid(c))return e.IPv6.parse(c);if(e.IPv4.isValid(c))return e.IPv4.parse(c);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},e.parseCIDR=function(c){var f;try{return e.IPv6.parseCIDR(c)}catch(p){f=p;try{return e.IPv4.parseCIDR(c)}catch(m){throw f=m,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},e.fromByteArray=function(c){var f;if(f=c.length,f===4)return new e.IPv4(c);if(f===16)return new e.IPv6(c);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},e.process=function(c){var f;return f=this.parse(c),f.kind()==="ipv6"&&f.isIPv4MappedAddress()?f.toIPv4Address():f}}).call(bC)});var OC=C((rxe,p9)=>{"use strict";p9.exports=wae;p9.exports.all=AC;p9.exports.compile=wC;var Eae=EC(),xC=TC(),bae=/^[0-9]+$/,c9=xC.isValid,f9=xC.parse,SC={linklocal:["169.254.0.0/16","fe80::/10"],loopback:["127.0.0.1/8","::1/128"],uniquelocal:["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","fc00::/7"]};function AC(n,e){var l=Eae(n);if(!e)return l;typeof e!="function"&&(e=wC(e));for(var t=0;t r)throw new TypeError("invalid range on address: "+n);return[t,i]}function Aae(n){var e=f9(n),l=e.kind();return l==="ipv4"?e.prefixLengthFromSubnetMask():null}function wae(n,e){if(!n)throw new TypeError("req argument is required");if(!e)throw new TypeError("trust argument is required");var l=AC(n,e),t=l[l.length-1];return t}function Oae(){return!1}function Nae(n){return function(l){if(!c9(l))return!1;for(var t=f9(l),r,i=t.kind(),s=0;s {var Iae="2.0.0",Cae=Number.MAX_SAFE_INTEGER||9007199254740991,kae=16,Pae=250,Dae=["major","premajor","minor","preminor","patch","prepatch","prerelease"];NC.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:kae,MAX_SAFE_BUILD_LENGTH:Pae,MAX_SAFE_INTEGER:Cae,RELEASE_TYPES:Dae,SEMVER_SPEC_VERSION:Iae,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var W0=C((sxe,RC)=>{var Lae=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};RC.exports=Lae});var po=C((di,IC)=>{var{MAX_SAFE_COMPONENT_LENGTH:ag,MAX_SAFE_BUILD_LENGTH:Fae,MAX_LENGTH:Mae}=X0(),$ae=W0();di=IC.exports={};var jae=di.re=[],Uae=di.safeRe=[],$e=di.src=[],je=di.t={},Bae=0,og="[a-zA-Z0-9-]",Hae=[["\\s",1],["\\d",Mae],[og,Fae]],qae=n=>{for(let[e,l]of Hae)n=n.split(`${e}*`).join(`${e}{0,${l}}`).split(`${e}+`).join(`${e}{1,${l}}`);return n},bn=(n,e,l)=>{let t=qae(e),r=Bae++;$ae(n,r,e),je[n]=r,$e[r]=e,jae[r]=new RegExp(e,l?"g":void 0),Uae[r]=new RegExp(t,l?"g":void 0)};bn("NUMERICIDENTIFIER","0|[1-9]\\d*");bn("NUMERICIDENTIFIERLOOSE","\\d+");bn("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${og}*`);bn("MAINVERSION",`(${$e[je.NUMERICIDENTIFIER]})\\.(${$e[je.NUMERICIDENTIFIER]})\\.(${$e[je.NUMERICIDENTIFIER]})`);bn("MAINVERSIONLOOSE",`(${$e[je.NUMERICIDENTIFIERLOOSE]})\\.(${$e[je.NUMERICIDENTIFIERLOOSE]})\\.(${$e[je.NUMERICIDENTIFIERLOOSE]})`);bn("PRERELEASEIDENTIFIER",`(?:${$e[je.NUMERICIDENTIFIER]}|${$e[je.NONNUMERICIDENTIFIER]})`);bn("PRERELEASEIDENTIFIERLOOSE",`(?:${$e[je.NUMERICIDENTIFIERLOOSE]}|${$e[je.NONNUMERICIDENTIFIER]})`);bn("PRERELEASE",`(?:-(${$e[je.PRERELEASEIDENTIFIER]}(?:\\.${$e[je.PRERELEASEIDENTIFIER]})*))`);bn("PRERELEASELOOSE",`(?:-?(${$e[je.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${$e[je.PRERELEASEIDENTIFIERLOOSE]})*))`);bn("BUILDIDENTIFIER",`${og}+`);bn("BUILD",`(?:\\+(${$e[je.BUILDIDENTIFIER]}(?:\\.${$e[je.BUILDIDENTIFIER]})*))`);bn("FULLPLAIN",`v?${$e[je.MAINVERSION]}${$e[je.PRERELEASE]}?${$e[je.BUILD]}?`);bn("FULL",`^${$e[je.FULLPLAIN]}$`);bn("LOOSEPLAIN",`[v=\\s]*${$e[je.MAINVERSIONLOOSE]}${$e[je.PRERELEASELOOSE]}?${$e[je.BUILD]}?`);bn("LOOSE",`^${$e[je.LOOSEPLAIN]}$`);bn("GTLT","((?:<|>)?=?)");bn("XRANGEIDENTIFIERLOOSE",`${$e[je.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);bn("XRANGEIDENTIFIER",`${$e[je.NUMERICIDENTIFIER]}|x|X|\\*`);bn("XRANGEPLAIN",`[v=\\s]*(${$e[je.XRANGEIDENTIFIER]})(?:\\.(${$e[je.XRANGEIDENTIFIER]})(?:\\.(${$e[je.XRANGEIDENTIFIER]})(?:${$e[je.PRERELEASE]})?${$e[je.BUILD]}?)?)?`);bn("XRANGEPLAINLOOSE",`[v=\\s]*(${$e[je.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$e[je.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$e[je.XRANGEIDENTIFIERLOOSE]})(?:${$e[je.PRERELEASELOOSE]})?${$e[je.BUILD]}?)?)?`);bn("XRANGE",`^${$e[je.GTLT]}\\s*${$e[je.XRANGEPLAIN]}$`);bn("XRANGELOOSE",`^${$e[je.GTLT]}\\s*${$e[je.XRANGEPLAINLOOSE]}$`);bn("COERCE",`(^|[^\\d])(\\d{1,${ag}})(?:\\.(\\d{1,${ag}}))?(?:\\.(\\d{1,${ag}}))?(?:$|[^\\d])`);bn("COERCERTL",$e[je.COERCE],!0);bn("LONETILDE","(?:~>?)");bn("TILDETRIM",`(\\s*)${$e[je.LONETILDE]}\\s+`,!0);di.tildeTrimReplace="$1~";bn("TILDE",`^${$e[je.LONETILDE]}${$e[je.XRANGEPLAIN]}$`);bn("TILDELOOSE",`^${$e[je.LONETILDE]}${$e[je.XRANGEPLAINLOOSE]}$`);bn("LONECARET","(?:\\^)");bn("CARETTRIM",`(\\s*)${$e[je.LONECARET]}\\s+`,!0);di.caretTrimReplace="$1^";bn("CARET",`^${$e[je.LONECARET]}${$e[je.XRANGEPLAIN]}$`);bn("CARETLOOSE",`^${$e[je.LONECARET]}${$e[je.XRANGEPLAINLOOSE]}$`);bn("COMPARATORLOOSE",`^${$e[je.GTLT]}\\s*(${$e[je.LOOSEPLAIN]})$|^$`);bn("COMPARATOR",`^${$e[je.GTLT]}\\s*(${$e[je.FULLPLAIN]})$|^$`);bn("COMPARATORTRIM",`(\\s*)${$e[je.GTLT]}\\s*(${$e[je.LOOSEPLAIN]}|${$e[je.XRANGEPLAIN]})`,!0);di.comparatorTrimReplace="$1$2$3";bn("HYPHENRANGE",`^\\s*(${$e[je.XRANGEPLAIN]})\\s+-\\s+(${$e[je.XRANGEPLAIN]})\\s*$`);bn("HYPHENRANGELOOSE",`^\\s*(${$e[je.XRANGEPLAINLOOSE]})\\s+-\\s+(${$e[je.XRANGEPLAINLOOSE]})\\s*$`);bn("STAR","(<|>)?=?\\s*\\*");bn("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");bn("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var d9=C((uxe,CC)=>{var Vae=Object.freeze({loose:!0}),zae=Object.freeze({}),Gae=n=>n?typeof n!="object"?Vae:n:zae;CC.exports=Gae});var cg=C((axe,DC)=>{var kC=/^[0-9]+$/,PC=(n,e)=>{let l=kC.test(n),t=kC.test(e);return l&&t&&(n=+n,e=+e),n===e?0:l&&!t?-1:t&&!l?1:n PC(e,n);DC.exports={compareIdentifiers:PC,rcompareIdentifiers:Xae}});var d2=C((oxe,$C)=>{var h9=W0(),{MAX_LENGTH:LC,MAX_SAFE_INTEGER:m9}=X0(),{safeRe:FC,t:MC}=po(),Wae=d9(),{compareIdentifiers:ho}=cg(),fg=class n{constructor(e,l){if(l=Wae(l),e instanceof n){if(e.loose===!!l.loose&&e.includePrerelease===!!l.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>LC)throw new TypeError(`version is longer than ${LC} characters`);h9("SemVer",e,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;let t=e.trim().match(l.loose?FC[MC.LOOSE]:FC[MC.FULL]);if(!t)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>m9||this.major<0)throw new TypeError("Invalid major version");if(this.minor>m9||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>m9||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let i=+r;if(i>=0&&i =0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(l===this.prerelease.join(".")&&t===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(l){let i=[l,r];t===!1&&(i=[l]),ho(this.prerelease[0],l)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};$C.exports=fg});var Cu=C((cxe,UC)=>{var jC=d2(),Kae=(n,e,l=!1)=>{if(n instanceof jC)return n;try{return new jC(n,e)}catch(t){if(!l)return null;throw t}};UC.exports=Kae});var HC=C((fxe,BC)=>{var Yae=Cu(),Jae=(n,e)=>{let l=Yae(n,e);return l?l.version:null};BC.exports=Jae});var VC=C((pxe,qC)=>{var Qae=Cu(),Zae=(n,e)=>{let l=Qae(n.trim().replace(/^[=v]+/,""),e);return l?l.version:null};qC.exports=Zae});var XC=C((dxe,GC)=>{var zC=d2(),eoe=(n,e,l,t,r)=>{typeof l=="string"&&(r=t,t=l,l=void 0);try{return new zC(n instanceof zC?n.version:n,l).inc(e,t,r).version}catch{return null}};GC.exports=eoe});var YC=C((hxe,KC)=>{var WC=Cu(),noe=(n,e)=>{let l=WC(n,null,!0),t=WC(e,null,!0),r=l.compare(t);if(r===0)return null;let i=r>0,s=i?l:t,u=i?t:l,a=!!s.prerelease.length;if(!!u.prerelease.length&&!a)return!u.patch&&!u.minor?"major":s.patch?"patch":s.minor?"minor":"major";let f=a?"pre":"";return l.major!==t.major?f+"major":l.minor!==t.minor?f+"minor":l.patch!==t.patch?f+"patch":"prerelease"};KC.exports=noe});var QC=C((mxe,JC)=>{var loe=d2(),toe=(n,e)=>new loe(n,e).major;JC.exports=toe});var ek=C((gxe,ZC)=>{var roe=d2(),ioe=(n,e)=>new roe(n,e).minor;ZC.exports=ioe});var lk=C((yxe,nk)=>{var soe=d2(),uoe=(n,e)=>new soe(n,e).patch;nk.exports=uoe});var rk=C((vxe,tk)=>{var aoe=Cu(),ooe=(n,e)=>{let l=aoe(n,e);return l&&l.prerelease.length?l.prerelease:null};tk.exports=ooe});var S3=C((_xe,sk)=>{var ik=d2(),coe=(n,e,l)=>new ik(n,l).compare(new ik(e,l));sk.exports=coe});var ak=C((Exe,uk)=>{var foe=S3(),poe=(n,e,l)=>foe(e,n,l);uk.exports=poe});var ck=C((bxe,ok)=>{var doe=S3(),hoe=(n,e)=>doe(n,e,!0);ok.exports=hoe});var g9=C((Txe,pk)=>{var fk=d2(),moe=(n,e,l)=>{let t=new fk(n,l),r=new fk(e,l);return t.compare(r)||t.compareBuild(r)};pk.exports=moe});var hk=C((Sxe,dk)=>{var goe=g9(),yoe=(n,e)=>n.sort((l,t)=>goe(l,t,e));dk.exports=yoe});var gk=C((xxe,mk)=>{var voe=g9(),_oe=(n,e)=>n.sort((l,t)=>voe(t,l,e));mk.exports=_oe});var K0=C((Axe,yk)=>{var Eoe=S3(),boe=(n,e,l)=>Eoe(n,e,l)>0;yk.exports=boe});var y9=C((wxe,vk)=>{var Toe=S3(),Soe=(n,e,l)=>Toe(n,e,l)<0;vk.exports=Soe});var pg=C((Oxe,_k)=>{var xoe=S3(),Aoe=(n,e,l)=>xoe(n,e,l)===0;_k.exports=Aoe});var dg=C((Nxe,Ek)=>{var woe=S3(),Ooe=(n,e,l)=>woe(n,e,l)!==0;Ek.exports=Ooe});var v9=C((Rxe,bk)=>{var Noe=S3(),Roe=(n,e,l)=>Noe(n,e,l)>=0;bk.exports=Roe});var _9=C((Ixe,Tk)=>{var Ioe=S3(),Coe=(n,e,l)=>Ioe(n,e,l)<=0;Tk.exports=Coe});var hg=C((Cxe,Sk)=>{var koe=pg(),Poe=dg(),Doe=K0(),Loe=v9(),Foe=y9(),Moe=_9(),$oe=(n,e,l,t)=>{switch(e){case"===":return typeof n=="object"&&(n=n.version),typeof l=="object"&&(l=l.version),n===l;case"!==":return typeof n=="object"&&(n=n.version),typeof l=="object"&&(l=l.version),n!==l;case"":case"=":case"==":return koe(n,l,t);case"!=":return Poe(n,l,t);case">":return Doe(n,l,t);case">=":return Loe(n,l,t);case"<":return Foe(n,l,t);case"<=":return Moe(n,l,t);default:throw new TypeError(`Invalid operator: ${e}`)}};Sk.exports=$oe});var Ak=C((kxe,xk)=>{var joe=d2(),Uoe=Cu(),{safeRe:E9,t:b9}=po(),Boe=(n,e)=>{if(n instanceof joe)return n;if(typeof n=="number"&&(n=String(n)),typeof n!="string")return null;e=e||{};let l=null;if(!e.rtl)l=n.match(E9[b9.COERCE]);else{let t;for(;(t=E9[b9.COERCERTL].exec(n))&&(!l||l.index+l[0].length!==n.length);)(!l||t.index+t[0].length!==l.index+l[0].length)&&(l=t),E9[b9.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;E9[b9.COERCERTL].lastIndex=-1}return l===null?null:Uoe(`${l[2]}.${l[3]||"0"}.${l[4]||"0"}`,e)};xk.exports=Boe});var Ok=C((Pxe,wk)=>{"use strict";wk.exports=function(n){n.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var Rk=C((Dxe,Nk)=>{"use strict";Nk.exports=nl;nl.Node=ku;nl.create=nl;function nl(n){var e=this;if(e instanceof nl||(e=new nl),e.tail=null,e.head=null,e.length=0,n&&typeof n.forEach=="function")n.forEach(function(r){e.push(r)});else if(arguments.length>0)for(var l=0,t=arguments.length;l 1)l=e;else if(this.head)t=this.head.next,l=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=0;t!==null;r++)l=n(l,t.value,r),t=t.next;return l};nl.prototype.reduceReverse=function(n,e){var l,t=this.tail;if(arguments.length>1)l=e;else if(this.tail)t=this.tail.prev,l=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=this.length-1;t!==null;r--)l=n(l,t.value,r),t=t.prev;return l};nl.prototype.toArray=function(){for(var n=new Array(this.length),e=0,l=this.head;l!==null;e++)n[e]=l.value,l=l.next;return n};nl.prototype.toArrayReverse=function(){for(var n=new Array(this.length),e=0,l=this.tail;l!==null;e++)n[e]=l.value,l=l.prev;return n};nl.prototype.slice=function(n,e){e=e||this.length,e<0&&(e+=this.length),n=n||0,n<0&&(n+=this.length);var l=new nl;if(e this.length&&(e=this.length);for(var t=0,r=this.head;r!==null&&t this.length&&(e=this.length);for(var t=this.length,r=this.tail;r!==null&&t>e;t--)r=r.prev;for(;r!==null&&t>n;t--,r=r.prev)l.push(r.value);return l};nl.prototype.splice=function(n,e,...l){n>this.length&&(n=this.length-1),n<0&&(n=this.length+n);for(var t=0,r=this.head;r!==null&&t {"use strict";var zoe=Rk(),Pu=Symbol("max"),mi=Symbol("length"),mo=Symbol("lengthCalculator"),J0=Symbol("allowStale"),Du=Symbol("maxAge"),hi=Symbol("dispose"),Ik=Symbol("noDisposeOnSet"),Ht=Symbol("lruList"),W3=Symbol("cache"),kk=Symbol("updateAgeOnGet"),mg=()=>1,yg=class{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");let l=this[Pu]=e.max||1/0,t=e.length||mg;if(this[mo]=typeof t!="function"?mg:t,this[J0]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[Du]=e.maxAge||0,this[hi]=e.dispose,this[Ik]=e.noDisposeOnSet||!1,this[kk]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[Pu]=e||1/0,Y0(this)}get max(){return this[Pu]}set allowStale(e){this[J0]=!!e}get allowStale(){return this[J0]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[Du]=e,Y0(this)}get maxAge(){return this[Du]}set lengthCalculator(e){typeof e!="function"&&(e=mg),e!==this[mo]&&(this[mo]=e,this[mi]=0,this[Ht].forEach(l=>{l.length=this[mo](l.value,l.key),this[mi]+=l.length})),Y0(this)}get lengthCalculator(){return this[mo]}get length(){return this[mi]}get itemCount(){return this[Ht].length}rforEach(e,l){l=l||this;for(let t=this[Ht].tail;t!==null;){let r=t.prev;Ck(this,e,t,l),t=r}}forEach(e,l){l=l||this;for(let t=this[Ht].head;t!==null;){let r=t.next;Ck(this,e,t,l),t=r}}keys(){return this[Ht].toArray().map(e=>e.key)}values(){return this[Ht].toArray().map(e=>e.value)}reset(){this[hi]&&this[Ht]&&this[Ht].length&&this[Ht].forEach(e=>this[hi](e.key,e.value)),this[W3]=new Map,this[Ht]=new zoe,this[mi]=0}dump(){return this[Ht].map(e=>T9(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[Ht]}set(e,l,t){if(t=t||this[Du],t&&typeof t!="number")throw new TypeError("maxAge must be a number");let r=t?Date.now():0,i=this[mo](l,e);if(this[W3].has(e)){if(i>this[Pu])return go(this,this[W3].get(e)),!1;let a=this[W3].get(e).value;return this[hi]&&(this[Ik]||this[hi](e,a.value)),a.now=r,a.maxAge=t,a.value=l,this[mi]+=i-a.length,a.length=i,this.get(e),Y0(this),!0}let s=new vg(e,l,i,r,t);return s.length>this[Pu]?(this[hi]&&this[hi](e,l),!1):(this[mi]+=s.length,this[Ht].unshift(s),this[W3].set(e,this[Ht].head),Y0(this),!0)}has(e){if(!this[W3].has(e))return!1;let l=this[W3].get(e).value;return!T9(this,l)}get(e){return gg(this,e,!0)}peek(e){return gg(this,e,!1)}pop(){let e=this[Ht].tail;return e?(go(this,e),e.value):null}del(e){go(this,this[W3].get(e))}load(e){this.reset();let l=Date.now();for(let t=e.length-1;t>=0;t--){let r=e[t],i=r.e||0;if(i===0)this.set(r.k,r.v);else{let s=i-l;s>0&&this.set(r.k,r.v,s)}}}prune(){this[W3].forEach((e,l)=>gg(this,l,!1))}},gg=(n,e,l)=>{let t=n[W3].get(e);if(t){let r=t.value;if(T9(n,r)){if(go(n,t),!n[J0])return}else l&&(n[kk]&&(t.value.now=Date.now()),n[Ht].unshiftNode(t));return r.value}},T9=(n,e)=>{if(!e||!e.maxAge&&!n[Du])return!1;let l=Date.now()-e.now;return e.maxAge?l>e.maxAge:n[Du]&&l>n[Du]},Y0=n=>{if(n[mi]>n[Pu])for(let e=n[Ht].tail;n[mi]>n[Pu]&&e!==null;){let l=e.prev;go(n,e),e=l}},go=(n,e)=>{if(e){let l=e.value;n[hi]&&n[hi](l.key,l.value),n[mi]-=l.length,n[W3].delete(l.key),n[Ht].removeNode(e)}},vg=class{constructor(e,l,t,r,i){this.key=e,this.value=l,this.length=t,this.now=r,this.maxAge=i||0}},Ck=(n,e,l,t)=>{let r=l.value;T9(n,r)&&(go(n,l),n[J0]||(r=void 0)),r&&e.call(t,r.value,r.key,n)};Pk.exports=yg});var x3=C((Fxe,$k)=>{var _g=class n{constructor(e,l){if(l=Xoe(l),e instanceof n)return e.loose===!!l.loose&&e.includePrerelease===!!l.includePrerelease?e:new n(e.raw,l);if(e instanceof Eg)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(t=>this.parseRange(t.trim())).filter(t=>t.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let t=this.set[0];if(this.set=this.set.filter(r=>!Fk(r[0])),this.set.length===0)this.set=[t];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&e4e(r[0])){this.set=[r];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&Qoe)|(this.options.loose&&Zoe))+":"+e,r=Lk.get(t);if(r)return r;let i=this.options.loose,s=i?H2[w2.HYPHENRANGELOOSE]:H2[w2.HYPHENRANGE];e=e.replace(s,c4e(this.options.includePrerelease)),Ul("hyphen replace",e),e=e.replace(H2[w2.COMPARATORTRIM],Koe),Ul("comparator trim",e),e=e.replace(H2[w2.TILDETRIM],Yoe),Ul("tilde trim",e),e=e.replace(H2[w2.CARETTRIM],Joe),Ul("caret trim",e);let u=e.split(" ").map(p=>n4e(p,this.options)).join(" ").split(/\s+/).map(p=>o4e(p,this.options));i&&(u=u.filter(p=>(Ul("loose invalid filter",p,this.options),!!p.match(H2[w2.COMPARATORLOOSE])))),Ul("range list",u);let a=new Map,c=u.map(p=>new Eg(p,this.options));for(let p of c){if(Fk(p))return[p];a.set(p.value,p)}a.size>1&&a.has("")&&a.delete("");let f=[...a.values()];return Lk.set(t,f),f}intersects(e,l){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(t=>Mk(t,l)&&e.set.some(r=>Mk(r,l)&&t.every(i=>r.every(s=>i.intersects(s,l)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Woe(e,this.options)}catch{return!1}for(let l=0;l n.value==="<0.0.0-0",e4e=n=>n.value==="",Mk=(n,e)=>{let l=!0,t=n.slice(),r=t.pop();for(;l&&t.length;)l=t.every(i=>r.intersects(i,e)),r=t.pop();return l},n4e=(n,e)=>(Ul("comp",n,e),n=r4e(n,e),Ul("caret",n),n=l4e(n,e),Ul("tildes",n),n=s4e(n,e),Ul("xrange",n),n=a4e(n,e),Ul("stars",n),n),O2=n=>!n||n.toLowerCase()==="x"||n==="*",l4e=(n,e)=>n.trim().split(/\s+/).map(l=>t4e(l,e)).join(" "),t4e=(n,e)=>{let l=e.loose?H2[w2.TILDELOOSE]:H2[w2.TILDE];return n.replace(l,(t,r,i,s,u)=>{Ul("tilde",n,t,r,i,s,u);let a;return O2(r)?a="":O2(i)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:O2(s)?a=`>=${r}.${i}.0 <${r}.${+i+1}.0-0`:u?(Ul("replaceTilde pr",u),a=`>=${r}.${i}.${s}-${u} <${r}.${+i+1}.0-0`):a=`>=${r}.${i}.${s} <${r}.${+i+1}.0-0`,Ul("tilde return",a),a})},r4e=(n,e)=>n.trim().split(/\s+/).map(l=>i4e(l,e)).join(" "),i4e=(n,e)=>{Ul("caret",n,e);let l=e.loose?H2[w2.CARETLOOSE]:H2[w2.CARET],t=e.includePrerelease?"-0":"";return n.replace(l,(r,i,s,u,a)=>{Ul("caret",n,r,i,s,u,a);let c;return O2(i)?c="":O2(s)?c=`>=${i}.0.0${t} <${+i+1}.0.0-0`:O2(u)?i==="0"?c=`>=${i}.${s}.0${t} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.0${t} <${+i+1}.0.0-0`:a?(Ul("replaceCaret pr",a),i==="0"?s==="0"?c=`>=${i}.${s}.${u}-${a} <${i}.${s}.${+u+1}-0`:c=`>=${i}.${s}.${u}-${a} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.${u}-${a} <${+i+1}.0.0-0`):(Ul("no pr"),i==="0"?s==="0"?c=`>=${i}.${s}.${u}${t} <${i}.${s}.${+u+1}-0`:c=`>=${i}.${s}.${u}${t} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.${u} <${+i+1}.0.0-0`),Ul("caret return",c),c})},s4e=(n,e)=>(Ul("replaceXRanges",n,e),n.split(/\s+/).map(l=>u4e(l,e)).join(" ")),u4e=(n,e)=>{n=n.trim();let l=e.loose?H2[w2.XRANGELOOSE]:H2[w2.XRANGE];return n.replace(l,(t,r,i,s,u,a)=>{Ul("xRange",n,t,r,i,s,u,a);let c=O2(i),f=c||O2(s),p=f||O2(u),m=p;return r==="="&&m&&(r=""),a=e.includePrerelease?"-0":"",c?r===">"||r==="<"?t="<0.0.0-0":t="*":r&&m?(f&&(s=0),u=0,r===">"?(r=">=",f?(i=+i+1,s=0,u=0):(s=+s+1,u=0)):r==="<="&&(r="<",f?i=+i+1:s=+s+1),r==="<"&&(a="-0"),t=`${r+i}.${s}.${u}${a}`):f?t=`>=${i}.0.0${a} <${+i+1}.0.0-0`:p&&(t=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),Ul("xRange return",t),t})},a4e=(n,e)=>(Ul("replaceStars",n,e),n.trim().replace(H2[w2.STAR],"")),o4e=(n,e)=>(Ul("replaceGTE0",n,e),n.trim().replace(H2[e.includePrerelease?w2.GTE0PRE:w2.GTE0],"")),c4e=n=>(e,l,t,r,i,s,u,a,c,f,p,m,h)=>(O2(t)?l="":O2(r)?l=`>=${t}.0.0${n?"-0":""}`:O2(i)?l=`>=${t}.${r}.0${n?"-0":""}`:s?l=`>=${l}`:l=`>=${l}${n?"-0":""}`,O2(c)?a="":O2(f)?a=`<${+c+1}.0.0-0`:O2(p)?a=`<${c}.${+f+1}.0-0`:m?a=`<=${c}.${f}.${p}-${m}`:n?a=`<${c}.${f}.${+p+1}-0`:a=`<=${a}`,`${l} ${a}`.trim()),f4e=(n,e,l)=>{for(let t=0;t 0){let r=n[t].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var Q0=C((Mxe,Vk)=>{var Z0=Symbol("SemVer ANY"),Sg=class n{static get ANY(){return Z0}constructor(e,l){if(l=jk(l),e instanceof n){if(e.loose===!!l.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Tg("comparator",e,l),this.options=l,this.loose=!!l.loose,this.parse(e),this.semver===Z0?this.value="":this.value=this.operator+this.semver.version,Tg("comp",this)}parse(e){let l=this.options.loose?Uk[Bk.COMPARATORLOOSE]:Uk[Bk.COMPARATOR],t=e.match(l);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new Hk(t[2],this.options.loose):this.semver=Z0}toString(){return this.value}test(e){if(Tg("Comparator.test",e,this.options.loose),this.semver===Z0||e===Z0)return!0;if(typeof e=="string")try{e=new Hk(e,this.options)}catch{return!1}return bg(e,this.operator,this.semver,this.options)}intersects(e,l){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new qk(e.value,l).test(this.value):e.operator===""?e.value===""?!0:new qk(this.value,l).test(e.semver):(l=jk(l),l.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!l.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||bg(this.semver,"<",e.semver,l)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||bg(this.semver,">",e.semver,l)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Vk.exports=Sg;var jk=d9(),{safeRe:Uk,t:Bk}=po(),bg=hg(),Tg=W0(),Hk=d2(),qk=x3()});var e1=C(($xe,zk)=>{var p4e=x3(),d4e=(n,e,l)=>{try{e=new p4e(e,l)}catch{return!1}return e.test(n)};zk.exports=d4e});var Xk=C((jxe,Gk)=>{var h4e=x3(),m4e=(n,e)=>new h4e(n,e).set.map(l=>l.map(t=>t.value).join(" ").trim().split(" "));Gk.exports=m4e});var Kk=C((Uxe,Wk)=>{var g4e=d2(),y4e=x3(),v4e=(n,e,l)=>{let t=null,r=null,i=null;try{i=new y4e(e,l)}catch{return null}return n.forEach(s=>{i.test(s)&&(!t||r.compare(s)===-1)&&(t=s,r=new g4e(t,l))}),t};Wk.exports=v4e});var Jk=C((Bxe,Yk)=>{var _4e=d2(),E4e=x3(),b4e=(n,e,l)=>{let t=null,r=null,i=null;try{i=new E4e(e,l)}catch{return null}return n.forEach(s=>{i.test(s)&&(!t||r.compare(s)===1)&&(t=s,r=new _4e(t,l))}),t};Yk.exports=b4e});var eP=C((Hxe,Zk)=>{var xg=d2(),T4e=x3(),Qk=K0(),S4e=(n,e)=>{n=new T4e(n,e);let l=new xg("0.0.0");if(n.test(l)||(l=new xg("0.0.0-0"),n.test(l)))return l;l=null;for(let t=0;t {let u=new xg(s.semver.version);switch(s.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!i||Qk(u,i))&&(i=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),i&&(!l||Qk(l,i))&&(l=i)}return l&&n.test(l)?l:null};Zk.exports=S4e});var lP=C((qxe,nP)=>{var x4e=x3(),A4e=(n,e)=>{try{return new x4e(n,e).range||"*"}catch{return null}};nP.exports=A4e});var S9=C((Vxe,sP)=>{var w4e=d2(),iP=Q0(),{ANY:O4e}=iP,N4e=x3(),R4e=e1(),tP=K0(),rP=y9(),I4e=_9(),C4e=v9(),k4e=(n,e,l,t)=>{n=new w4e(n,t),e=new N4e(e,t);let r,i,s,u,a;switch(l){case">":r=tP,i=I4e,s=rP,u=">",a=">=";break;case"<":r=rP,i=C4e,s=tP,u="<",a="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(R4e(n,e,t))return!1;for(let c=0;c {h.semver===O4e&&(h=new iP(">=0.0.0")),p=p||h,m=m||h,r(h.semver,p.semver,t)?p=h:s(h.semver,m.semver,t)&&(m=h)}),p.operator===u||p.operator===a||(!m.operator||m.operator===u)&&i(n,m.semver))return!1;if(m.operator===a&&s(n,m.semver))return!1}return!0};sP.exports=k4e});var aP=C((zxe,uP)=>{var P4e=S9(),D4e=(n,e,l)=>P4e(n,e,">",l);uP.exports=D4e});var cP=C((Gxe,oP)=>{var L4e=S9(),F4e=(n,e,l)=>L4e(n,e,"<",l);oP.exports=F4e});var dP=C((Xxe,pP)=>{var fP=x3(),M4e=(n,e,l)=>(n=new fP(n,l),e=new fP(e,l),n.intersects(e,l));pP.exports=M4e});var mP=C((Wxe,hP)=>{var $4e=e1(),j4e=S3();hP.exports=(n,e,l)=>{let t=[],r=null,i=null,s=n.sort((f,p)=>j4e(f,p,l));for(let f of s)$4e(f,e,l)?(i=f,r||(r=f)):(i&&t.push([r,i]),i=null,r=null);r&&t.push([r,null]);let u=[];for(let[f,p]of t)f===p?u.push(f):!p&&f===s[0]?u.push("*"):p?f===s[0]?u.push(`<=${p}`):u.push(`${f} - ${p}`):u.push(`>=${f}`);let a=u.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return a.length {var gP=x3(),wg=Q0(),{ANY:Ag}=wg,n1=e1(),Og=S3(),U4e=(n,e,l={})=>{if(n===e)return!0;n=new gP(n,l),e=new gP(e,l);let t=!1;e:for(let r of n.set){for(let i of e.set){let s=H4e(r,i,l);if(t=t||s!==null,s)continue e}if(t)return!1}return!0},B4e=[new wg(">=0.0.0-0")],yP=[new wg(">=0.0.0")],H4e=(n,e,l)=>{if(n===e)return!0;if(n.length===1&&n[0].semver===Ag){if(e.length===1&&e[0].semver===Ag)return!0;l.includePrerelease?n=B4e:n=yP}if(e.length===1&&e[0].semver===Ag){if(l.includePrerelease)return!0;e=yP}let t=new Set,r,i;for(let h of n)h.operator===">"||h.operator===">="?r=vP(r,h,l):h.operator==="<"||h.operator==="<="?i=_P(i,h,l):t.add(h.semver);if(t.size>1)return null;let s;if(r&&i){if(s=Og(r.semver,i.semver,l),s>0)return null;if(s===0&&(r.operator!==">="||i.operator!=="<="))return null}for(let h of t){if(r&&!n1(h,String(r),l)||i&&!n1(h,String(i),l))return null;for(let g of e)if(!n1(h,String(g),l))return!1;return!0}let u,a,c,f,p=i&&!l.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=r&&!l.includePrerelease&&r.semver.prerelease.length?r.semver:!1;p&&p.prerelease.length===1&&i.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let h of e){if(f=f||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",r){if(m&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===m.major&&h.semver.minor===m.minor&&h.semver.patch===m.patch&&(m=!1),h.operator===">"||h.operator===">="){if(u=vP(r,h,l),u===h&&u!==r)return!1}else if(r.operator===">="&&!n1(r.semver,String(h),l))return!1}if(i){if(p&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===p.major&&h.semver.minor===p.minor&&h.semver.patch===p.patch&&(p=!1),h.operator==="<"||h.operator==="<="){if(a=_P(i,h,l),a===h&&a!==i)return!1}else if(i.operator==="<="&&!n1(i.semver,String(h),l))return!1}if(!h.operator&&(i||r)&&s!==0)return!1}return!(r&&c&&!i&&s!==0||i&&f&&!r&&s!==0||m||p)},vP=(n,e,l)=>{if(!n)return e;let t=Og(n.semver,e.semver,l);return t>0?n:t<0||e.operator===">"&&n.operator===">="?e:n},_P=(n,e,l)=>{if(!n)return e;let t=Og(n.semver,e.semver,l);return t<0?n:t>0||e.operator==="<"&&n.operator==="<="?e:n};EP.exports=U4e});var Rg=C((Yxe,xP)=>{var Ng=po(),TP=X0(),q4e=d2(),SP=cg(),V4e=Cu(),z4e=HC(),G4e=VC(),X4e=XC(),W4e=YC(),K4e=QC(),Y4e=ek(),J4e=lk(),Q4e=rk(),Z4e=S3(),e0e=ak(),n0e=ck(),l0e=g9(),t0e=hk(),r0e=gk(),i0e=K0(),s0e=y9(),u0e=pg(),a0e=dg(),o0e=v9(),c0e=_9(),f0e=hg(),p0e=Ak(),d0e=Q0(),h0e=x3(),m0e=e1(),g0e=Xk(),y0e=Kk(),v0e=Jk(),_0e=eP(),E0e=lP(),b0e=S9(),T0e=aP(),S0e=cP(),x0e=dP(),A0e=mP(),w0e=bP();xP.exports={parse:V4e,valid:z4e,clean:G4e,inc:X4e,diff:W4e,major:K4e,minor:Y4e,patch:J4e,prerelease:Q4e,compare:Z4e,rcompare:e0e,compareLoose:n0e,compareBuild:l0e,sort:t0e,rsort:r0e,gt:i0e,lt:s0e,eq:u0e,neq:a0e,gte:o0e,lte:c0e,cmp:f0e,coerce:p0e,Comparator:d0e,Range:h0e,satisfies:m0e,toComparators:g0e,maxSatisfying:y0e,minSatisfying:v0e,minVersion:_0e,validRange:E0e,outside:b0e,gtr:T0e,ltr:S0e,intersects:x0e,simplifyRange:A0e,subset:w0e,SemVer:q4e,re:Ng.re,src:Ng.src,tokens:Ng.t,SEMVER_SPEC_VERSION:TP.SEMVER_SPEC_VERSION,RELEASE_TYPES:TP.RELEASE_TYPES,compareIdentifiers:SP.compareIdentifiers,rcompareIdentifiers:SP.rcompareIdentifiers}});var A9=C((Jxe,Pg)=>{"use strict";var x9=OC(),O0e=Rg(),{FSTDEP005:N0e,FSTDEP012:R0e,FSTDEP015:I0e,FSTDEP016:C0e,FSTDEP017:k0e,FSTDEP018:P0e}=si(),{kHasBeenDecorated:D0e,kSchemaBody:L0e,kSchemaHeaders:F0e,kSchemaParams:M0e,kSchemaQuerystring:AP,kSchemaController:Ig,kOptions:$0e,kRequestCacheValidateFns:ns,kRouteContext:pt,kPublicRouteContext:wP,kRequestOriginalUrl:Cg}=Ut(),{FST_ERR_REQ_INVALID_VALIDATION_INVOCATION:j0e}=o2(),OP={body:L0e,headers:F0e,params:M0e,querystring:AP,query:AP};function kg(n,e,l,t,r,i){this.id=n,this[pt]=i,this.params=e,this.raw=l,this.query=t,this.log=r,this.body=void 0}kg.props=[];function U0e(n){if(typeof n=="function")return n;if(n===!0)return function(){return!0};if(typeof n=="number")return function(e,l){return l l.trim());return x9.compile(e)}return x9.compile(n)}function B0e(n,e){return e?H0e(n,e):RP(n)}function RP(n){let e=n.props.slice();function l(t,r,i,s,u,a){this.id=t,this[pt]=a,this.params=r,this.raw=i,this.query=s,this.log=u,this.body=void 0;for(var c,f=0;f n.config},schema:{get:()=>n.schema}}),Object.freeze(r)}},routerMethod:{get(){return P0e(),this[pt].config?.method}},routeConfig:{get(){return C0e(),this[pt][wP]?.config}},routeSchema:{get(){return I0e(),this[pt][wP].schema}},is404:{get(){return this[pt].config?.url===void 0}},connection:{get(){return O0e.gte(process.versions.node,"13.0.0")&&N0e(),this.raw.connection}},socket:{get(){return this.raw.socket}},ip:{get(){if(this.socket)return this.socket.remoteAddress}},hostname:{get(){return this.raw.headers.host||this.raw.headers[":authority"]}},protocol:{get(){if(this.socket)return this.socket.encrypted?"https":"http"}},headers:{get(){return this.additionalHeaders?Object.assign({},this.raw.headers,this.additionalHeaders):this.raw.headers},set(n){this.additionalHeaders=n}},getValidationFunction:{value:function(n){if(typeof n=="string"){let e=OP[n];return this[pt][e]}else if(typeof n=="object")return this[pt][ns]?.get(n)}},compileValidationSchema:{value:function(n,e=null){let{method:l,url:t}=this;if(this[pt][ns]?.has(n))return this[pt][ns].get(n);let i=(this[pt].validatorCompiler||this.server[Ig].validatorCompiler||this.server[Ig].setupValidator(this.server[$0e])||this.server[Ig].validatorCompiler)({schema:n,method:l,url:t,httpPart:e});return this[pt][ns]==null&&(this[pt][ns]=new WeakMap),this[pt][ns].set(n,i),i}},validateInput:{value:function(n,e,l){l=typeof e=="string"?e:l;let t=l!=null&&typeof l=="string"&&OP[l],r;if(t&&(r=this[pt][t]),r==null&&(e==null||typeof e!="object"||Array.isArray(e)))throw new j0e(l);return r==null&&(this[pt][ns]?.has(e)?r=this[pt][ns].get(e):r=this.compileValidationSchema(e,l)),r(n)}}});Pg.exports=kg;Pg.exports.buildRequest=B0e});var w9=C((Qxe,IP)=>{"use strict";var{kFourOhFourContext:q0e,kReplySerializerDefault:V0e,kSchemaErrorFormatter:z0e,kErrorHandler:G0e,kChildLoggerFactory:X0e,kOptions:W0e,kReply:K0e,kRequest:Y0e,kBodyLimit:J0e,kLogLevel:Q0e,kContentTypeParser:Z0e,kRouteByFastify:e1e,kRequestCacheValidateFns:n1e,kReplyCacheSerializeFns:l1e,kPublicRouteContext:t1e}=Ut();function r1e({schema:n,handler:e,config:l,requestIdLogLabel:t,childLoggerFactory:r,errorHandler:i,bodyLimit:s,logLevel:u,logSerializers:a,attachValidation:c,validatorCompiler:f,serializerCompiler:p,replySerializer:m,schemaErrorFormatter:h,exposeHeadRoute:g,prefixTrailingSlash:_,server:S,isFastify:T}){this.schema=n,this.handler=e,this.Reply=S[K0e],this.Request=S[Y0e],this.contentTypeParser=S[Z0e],this.onRequest=null,this.onSend=null,this.onError=null,this.onTimeout=null,this.preHandler=null,this.onResponse=null,this.preSerialization=null,this.onRequestAbort=null,this.config=l,this.errorHandler=i||S[G0e],this.requestIdLogLabel=t||S[W0e].requestIdLogLabel,this.childLoggerFactory=r||S[X0e],this._middie=null,this._parserOptions={limit:s||S[J0e]},this.exposeHeadRoute=g,this.prefixTrailingSlash=_,this.logLevel=u||S[Q0e],this.logSerializers=a,this[q0e]=null,this.attachValidation=c,this[V0e]=m,this.schemaErrorFormatter=h||S[z0e]||s1e,this[e1e]=T,this[n1e]=null,this[l1e]=null,this.validatorCompiler=f||null,this.serializerCompiler=p||null,this[t1e]=i1e(this),this.server=S}function i1e(n){return Object.create(null,{schema:{enumerable:!0,get(){return n.schema}},config:{enumerable:!0,get(){return n.config}}})}function s1e(n,e){let l="",t=", ";for(var r=0;r!==n.length;++r){let i=n[r];l+=e+(i.instancePath||"")+" "+i.message+t}return new Error(l.slice(0,-t.length))}IP.exports=r1e});var Dg=C((Zxe,CP)=>{"use strict";CP.exports={supportedMethods:["DELETE","GET","HEAD","PATCH","POST","PUT","OPTIONS","PROPFIND","PROPPATCH","MKCOL","COPY","MOVE","LOCK","UNLOCK","TRACE","SEARCH"]}});var jg=C((eAe,LP)=>{"use strict";var{kReply:Lg,kRequest:Fg,kState:u1e,kHasBeenDecorated:a1e}=Ut(),{FST_ERR_DEC_ALREADY_PRESENT:kP,FST_ERR_DEC_MISSING_DEPENDENCY:o1e,FST_ERR_DEC_AFTER_START:c1e,FST_ERR_DEC_DEPENDENCY_INVALID_TYPE:f1e}=o2(),{FSTDEP006:p1e}=si();function d1e(n,e,l,t){if(Object.prototype.hasOwnProperty.call(n,e))throw new kP(e);Mg(n,e,t),l&&(typeof l.getter=="function"||typeof l.setter=="function")?Object.defineProperty(n,e,{get:l.getter,set:l.setter}):n[e]=l}function PP(n,e,l,t){let r=n.prototype;if(Object.prototype.hasOwnProperty.call(r,e)||N9(n,e))throw new kP(e);n[a1e]=!0,Mg(n,e,t),l&&(typeof l.getter=="function"||typeof l.setter=="function")?Object.defineProperty(r,e,{get:l.getter,set:l.setter}):typeof l=="function"?r[e]=l:n.props.push({key:e,value:l})}function DP(n,e){typeof e=="object"&&e&&!(typeof e.getter=="function"||typeof e.setter=="function")&&p1e(n)}function h1e(n,e,l){return $g(this,n),d1e(this,n,e,l),this}function O9(n,e){return e?e in n||n.prototype&&e in n.prototype||N9(n,e):n in this}function N9(n,e){return n.props?n.props.find(({key:l})=>l===e):!1}function m1e(n){return n&&N9(this[Fg],n)?!0:O9(this[Fg].prototype,n)}function g1e(n){return n&&N9(this[Lg],n)?!0:O9(this[Lg].prototype,n)}function Mg(n,e,l){if(l!=null){if(!Array.isArray(l))throw new f1e(e);for(var t=0;t!==l.length;++t)if(!O9(n,l[t]))throw new o1e(l[t])}}function y1e(n,e,l){return $g(this,n),DP(n,e),PP(this[Lg],n,e,l),this}function v1e(n,e,l){return $g(this,n),DP(n,e),PP(this[Fg],n,e,l),this}function $g(n,e){if(n[u1e].started)throw new c1e(e)}LP.exports={add:h1e,exist:O9,existRequest:m1e,existReply:g1e,dependencies:Mg,decorateReply:y1e,decorateRequest:v1e}});var MP=C(Sr=>{"use strict";var Ug=class{constructor(e=1e3,l=0){if(isNaN(e)||e<0)throw new Error("Invalid max value");if(isNaN(l)||l<0)throw new Error("Invalid ttl value");this.first=null,this.items=new Map,this.last=null,this.max=e,this.ttl=l}get size(){return this.items.size}clear(){this.items=new Map,this.first=null,this.last=null}delete(e){if(this.items.has(e)){let l=this.items.get(e);this.items.delete(e),l.prev!==null&&(l.prev.next=l.next),l.next!==null&&(l.next.prev=l.prev),this.first===l&&(this.first=l.next),this.last===l&&(this.last=l.prev)}}deleteMany(e){for(var l=0;l 0){let e=this.first;this.items.delete(e.key),this.size===0?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(this.items.has(e))return this.items.get(e).expiry}get(e){if(this.items.has(e)){let l=this.items.get(e);if(this.ttl>0&&l.expiry<=Date.now()){this.delete(e);return}return l.value}}getMany(e){let l=[];for(var t=0;t 0?Date.now()+this.ttl:this.ttl;return}this.max>0&&this.size===this.max&&this.evict();let t={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:l};this.items.set(e,t),this.size===1?this.first=t:this.last.next=t,this.last=t}},Bg=class{constructor(e=1e3,l=0){if(isNaN(e)||e<0)throw new Error("Invalid max value");if(isNaN(l)||l<0)throw new Error("Invalid ttl value");this.first=null,this.items=new Map,this.last=null,this.max=e,this.ttl=l}get size(){return this.items.size}bumpLru(e){if(this.last===e)return;let l=this.last,t=e.next,r=e.prev;this.first===e&&(this.first=t),e.next=null,e.prev=l,l.next=e,r!==null&&(r.next=t),t!==null&&(t.prev=r),this.last=e}clear(){this.items=new Map,this.first=null,this.last=null}delete(e){if(this.items.has(e)){let l=this.items.get(e);this.items.delete(e),l.prev!==null&&(l.prev.next=l.next),l.next!==null&&(l.next.prev=l.prev),this.first===l&&(this.first=l.next),this.last===l&&(this.last=l.prev)}}deleteMany(e){for(var l=0;l 0){let e=this.first;this.items.delete(e.key),this.size===0?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(this.items.has(e))return this.items.get(e).expiry}get(e){if(this.items.has(e)){let l=this.items.get(e);if(this.ttl>0&&l.expiry<=Date.now()){this.delete(e);return}return this.bumpLru(l),l.value}}getMany(e){let l=[];for(var t=0;t 0?Date.now()+this.ttl:this.ttl,this.last!==r&&this.bumpLru(r);return}this.max>0&&this.size===this.max&&this.evict();let t={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:l};this.items.set(e,t),this.size===1?this.first=t:this.last.next=t,this.last=t}},l1=class{constructor(e=1e3,l=0){if(isNaN(e)||e<0)throw new Error("Invalid max value");if(isNaN(l)||l<0)throw new Error("Invalid ttl value");this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this.max=e,this.ttl=l}bumpLru(e){if(this.last===e)return;let l=this.last,t=e.next,r=e.prev;this.first===e&&(this.first=t),e.next=null,e.prev=l,l.next=e,r!==null&&(r.next=t),t!==null&&(t.prev=r),this.last=e}clear(){this.items=Object.create(null),this.first=null,this.last=null,this.size=0}delete(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let l=this.items[e];delete this.items[e],this.size--,l.prev!==null&&(l.prev.next=l.next),l.next!==null&&(l.next.prev=l.prev),this.first===l&&(this.first=l.next),this.last===l&&(this.last=l.prev)}}deleteMany(e){for(var l=0;l 0){let e=this.first;delete this.items[e.key],--this.size===0?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(Object.prototype.hasOwnProperty.call(this.items,e))return this.items[e].expiry}get(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let l=this.items[e];if(this.ttl>0&&l.expiry<=Date.now()){this.delete(e);return}return this.bumpLru(l),l.value}}getMany(e){let l=[];for(var t=0;t 0?Date.now()+this.ttl:this.ttl,this.last!==r&&this.bumpLru(r);return}this.max>0&&this.size===this.max&&this.evict();let t={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:l};this.items[e]=t,++this.size===1?this.first=t:this.last.next=t,this.last=t}},R9=class{constructor(){this.records={}}initForCache(e,l){this.records[e]={[l]:{cacheSize:0,hits:0,falsyHits:0,emptyHits:0,misses:0,expirations:0,evictions:0,invalidateOne:0,invalidateAll:0,sets:0}}}resetForCache(e){for(let l of Object.keys(this.records[e]))this.records[e][l]={cacheSize:0,hits:0,falsyHits:0,emptyHits:0,misses:0,expirations:0,evictions:0,invalidateOne:0,invalidateAll:0,sets:0}}getStatistics(){return this.records}};function FP(n){return`${n.getFullYear()}-${(n.getMonth()+1).toString().padStart(2,"0")}-${n.getDate().toString().padStart(2,"0")}`}var Hg=class{constructor(e,l,t){this.cacheId=e,this.statisticTtlInHours=l,this.collectionStart=new Date,this.currentTimeStamp=FP(this.collectionStart),this.records=t||new R9,this.records.initForCache(this.cacheId,this.currentTimeStamp)}get currentRecord(){return this.records.records[this.cacheId][this.currentTimeStamp]||(this.records.records[this.cacheId][this.currentTimeStamp]={cacheSize:0,hits:0,falsyHits:0,emptyHits:0,misses:0,expirations:0,evictions:0,sets:0,invalidateOne:0,invalidateAll:0}),this.records.records[this.cacheId][this.currentTimeStamp]}hoursPassed(){return(Date.now()-this.collectionStart)/1e3/60/60}addHit(){this.archiveIfNeeded(),this.currentRecord.hits++}addFalsyHit(){this.archiveIfNeeded(),this.currentRecord.falsyHits++}addEmptyHit(){this.archiveIfNeeded(),this.currentRecord.emptyHits++}addMiss(){this.archiveIfNeeded(),this.currentRecord.misses++}addEviction(){this.archiveIfNeeded(),this.currentRecord.evictions++}setCacheSize(e){this.archiveIfNeeded(),this.currentRecord.cacheSize=e}addExpiration(){this.archiveIfNeeded(),this.currentRecord.expirations++}addSet(){this.archiveIfNeeded(),this.currentRecord.sets++}addInvalidateOne(){this.archiveIfNeeded(),this.currentRecord.invalidateOne++}addInvalidateAll(){this.archiveIfNeeded(),this.currentRecord.invalidateAll++}getStatistics(){return this.records.getStatistics()}archiveIfNeeded(){this.hoursPassed()>=this.statisticTtlInHours&&(this.collectionStart=new Date,this.currentTimeStamp=FP(this.collectionStart),this.records.initForCache(this.cacheId,this.currentTimeStamp))}},I9=class extends l1{constructor(e,l,t,r,i){if(super(e||1e3,l||0),!t)throw new Error("Cache id is mandatory");this.hitStatistics=new Hg(t,i!==void 0?i:24,r)}getStatistics(){return this.hitStatistics.getStatistics()}set(e,l){super.set(e,l),this.hitStatistics.addSet(),this.hitStatistics.setCacheSize(this.size)}evict(){super.evict(),this.hitStatistics.addEviction(),this.hitStatistics.setCacheSize(this.size)}delete(e,l=!1){super.delete(e),l||this.hitStatistics.addInvalidateOne(),this.hitStatistics.setCacheSize(this.size)}clear(){super.clear(),this.hitStatistics.addInvalidateAll(),this.hitStatistics.setCacheSize(this.size)}get(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let l=this.items[e];if(this.ttl>0&&l.expiry<=Date.now()){this.delete(e,!0),this.hitStatistics.addExpiration();return}return this.bumpLru(l),l.value||this.hitStatistics.addFalsyHit(),(l.value===void 0||l.value===null||l.value==="")&&this.hitStatistics.addEmptyHit(),this.hitStatistics.addHit(),l.value}this.hitStatistics.addMiss()}},C9=class{constructor(e=1e3,l=0){if(isNaN(e)||e<0)throw new Error("Invalid max value");if(isNaN(l)||l<0)throw new Error("Invalid ttl value");this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this.max=e,this.ttl=l}clear(){this.items=Object.create(null),this.first=null,this.last=null,this.size=0}delete(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let l=this.items[e];delete this.items[e],this.size--,l.prev!==null&&(l.prev.next=l.next),l.next!==null&&(l.next.prev=l.prev),this.first===l&&(this.first=l.next),this.last===l&&(this.last=l.prev)}}deleteMany(e){for(var l=0;l 0){let e=this.first;delete this.items[e.key],--this.size===0?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(Object.prototype.hasOwnProperty.call(this.items,e))return this.items[e].expiry}get(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let l=this.items[e];if(this.ttl>0&&l.expiry<=Date.now()){this.delete(e);return}return l.value}}getMany(e){let l=[];for(var t=0;t 0?Date.now()+this.ttl:this.ttl;return}this.max>0&&this.size===this.max&&this.evict();let t={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:l};this.items[e]=t,++this.size===1?this.first=t:this.last.next=t,this.last=t}};Sr.Fifo=C9;Sr.FifoMap=Ug;Sr.FifoObject=C9;Sr.HitStatisticsRecord=R9;Sr.Lru=l1;Sr.LruHitStatistics=I9;Sr.LruMap=Bg;Sr.LruObject=l1;Sr.LruObjectHitStatistics=I9});var BP=C((lAe,t1)=>{"use strict";var D9=function(){};D9.prototype=Object.create(null);var k9=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,P9=/\\([\v\u0020-\u00ff])/gu,$P=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Lu={type:"",parameters:new D9};Object.freeze(Lu.parameters);Object.freeze(Lu);function jP(n){if(typeof n!="string")throw new TypeError("argument header is required and must be a string");let e=n.indexOf(";"),l=e!==-1?n.slice(0,e).trim():n.trim();if($P.test(l)===!1)throw new TypeError("invalid media type");let t={type:l.toLowerCase(),parameters:new D9};if(e===-1)return t;let r,i,s;for(k9.lastIndex=e;i=k9.exec(n);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,r=i[1].toLowerCase(),s=i[2],s[0]==='"'&&(s=s.slice(1,s.length-1),P9.test(s)&&(s=s.replace(P9,"$1"))),t.parameters[r]=s}if(e!==n.length)throw new TypeError("invalid parameter format");return t}function UP(n){if(typeof n!="string")return Lu;let e=n.indexOf(";"),l=e!==-1?n.slice(0,e).trim():n.trim();if($P.test(l)===!1)return Lu;let t={type:l.toLowerCase(),parameters:new D9};if(e===-1)return t;let r,i,s;for(k9.lastIndex=e;i=k9.exec(n);){if(i.index!==e)return Lu;e+=i[0].length,r=i[1].toLowerCase(),s=i[2],s[0]==='"'&&(s=s.slice(1,s.length-1),P9.test(s)&&(s=s.replace(P9,"$1"))),t.parameters[r]=s}return e!==n.length?Lu:t}t1.exports.default={parse:jP,safeParse:UP};t1.exports.parse=jP;t1.exports.safeParse=UP;t1.exports.defaultContentType=Lu});var GP=C((tAe,yo)=>{"use strict";var _1e=typeof Buffer<"u",HP=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,qP=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function VP(n,e,l){l==null&&e!==null&&typeof e=="object"&&(l=e,e=void 0),_1e&&Buffer.isBuffer(n)&&(n=n.toString()),n&&n.charCodeAt(0)===65279&&(n=n.slice(1));let t=JSON.parse(n,e);if(t===null||typeof t!="object")return t;let r=l&&l.protoAction||"error",i=l&&l.constructorAction||"error";if(r==="ignore"&&i==="ignore")return t;if(r!=="ignore"&&i!=="ignore"){if(HP.test(n)===!1&&qP.test(n)===!1)return t}else if(r!=="ignore"&&i==="ignore"){if(HP.test(n)===!1)return t}else if(qP.test(n)===!1)return t;return zP(t,{protoAction:r,constructorAction:i,safe:l&&l.safe})}function zP(n,{protoAction:e="error",constructorAction:l="error",safe:t}={}){let r=[n];for(;r.length;){let i=r;r=[];for(let s of i){if(e!=="ignore"&&Object.prototype.hasOwnProperty.call(s,"__proto__")){if(t===!0)return null;if(e==="error")throw new SyntaxError("Object contains forbidden prototype property");delete s.__proto__}if(l!=="ignore"&&Object.prototype.hasOwnProperty.call(s,"constructor")&&Object.prototype.hasOwnProperty.call(s.constructor,"prototype")){if(t===!0)return null;if(l==="error")throw new SyntaxError("Object contains forbidden prototype property");delete s.constructor}for(let u in s){let a=s[u];a&&typeof a=="object"&&r.push(a)}}}return n}function qg(n,e,l){let t=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return VP(n,e,l)}finally{Error.stackTraceLimit=t}}function E1e(n,e){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return VP(n,e,{safe:!0})}catch{return null}finally{Error.stackTraceLimit=l}}yo.exports=qg;yo.exports.default=qg;yo.exports.parse=qg;yo.exports.safeParse=E1e;yo.exports.scan=zP});var Wg=C((rAe,i1)=>{"use strict";var{AsyncResource:b1e}=require("node:async_hooks"),{Fifo:WP}=MP(),{safeParse:KP,defaultContentType:T1e}=BP(),S1e=GP(),{kDefaultJsonParse:r1,kContentTypeParser:vo,kBodyLimit:x1e,kRequestPayloadStream:YP,kState:zg,kTestInternals:A1e,kReplyIsError:JP,kRouteContext:w1e}=Ut(),{FST_ERR_CTP_INVALID_TYPE:QP,FST_ERR_CTP_EMPTY_TYPE:O1e,FST_ERR_CTP_ALREADY_PRESENT:N1e,FST_ERR_CTP_INVALID_HANDLER:R1e,FST_ERR_CTP_INVALID_PARSE_TYPE:I1e,FST_ERR_CTP_BODY_TOO_LARGE:XP,FST_ERR_CTP_INVALID_MEDIA_TYPE:C1e,FST_ERR_CTP_INVALID_CONTENT_LENGTH:k1e,FST_ERR_CTP_EMPTY_JSON_BODY:P1e,FST_ERR_CTP_INSTANCE_ALREADY_STARTED:Gg}=o2();function gi(n,e,l){this[r1]=eD(e,l),this.customParsers=new Map,this.customParsers.set("application/json",new Vg(!0,!1,n,this[r1])),this.customParsers.set("text/plain",new Vg(!0,!1,n,Xg)),this.parserList=[new L9("application/json"),new L9("text/plain")],this.parserRegExpList=[],this.cache=new WP(100)}gi.prototype.add=function(n,e,l){let t=typeof n=="string";if(!t&&!(n instanceof RegExp))throw new QP;if(t&&n.length===0)throw new O1e;if(typeof l!="function")throw new R1e;if(this.existingParser(n))throw new N1e(n);if(e.parseAs!==void 0&&e.parseAs!=="string"&&e.parseAs!=="buffer")throw new I1e(e.parseAs);let r=new Vg(e.parseAs==="string",e.parseAs==="buffer",e.bodyLimit,l);t&&n==="*"?this.customParsers.set("",r):(t?this.parserList.unshift(new L9(n)):(n.isEssence=n.source.indexOf(";")===-1,this.parserRegExpList.unshift(n)),this.customParsers.set(n.toString(),r))};gi.prototype.hasParser=function(n){return this.customParsers.has(typeof n=="string"?n:n.toString())};gi.prototype.existingParser=function(n){return n==="application/json"&&this.customParsers.has(n)?this.customParsers.get(n).fn!==this[r1]:n==="text/plain"&&this.customParsers.has(n)?this.customParsers.get(n).fn!==Xg:this.hasParser(n)};gi.prototype.getParser=function(n){if(this.hasParser(n))return this.customParsers.get(n);let e=this.cache.get(n);if(e!==void 0)return e;let l=KP(n);if(l===T1e)return this.customParsers.get("");for(var t=0;t!==this.parserList.length;++t){let i=this.parserList[t];if(j1e(l,i)){let s=this.customParsers.get(i.name);return this.cache.set(n,s),s}}for(var r=0;r!==this.parserRegExpList.length;++r){let i=this.parserRegExpList[r];if(U1e(n,l.type,i)){let s=this.customParsers.get(i.toString());return this.cache.set(n,s),s}}return this.customParsers.get("")};gi.prototype.removeAll=function(){this.customParsers=new Map,this.parserRegExpList=[],this.parserList=[],this.cache=new WP(100)};gi.prototype.remove=function(n){if(!(typeof n=="string"||n instanceof RegExp))throw new QP;let e=this.customParsers.delete(n.toString()),l=typeof n=="string"?this.parserList:this.parserRegExpList,t=l.findIndex(r=>r.toString()===n.toString());return t>-1&&l.splice(t,1),e||t>-1};gi.prototype.run=function(n,e,l,t){let r=this.getParser(n);if(r===void 0){l.is404?e(l,t):t.send(new C1e(n||void 0));return}let i=new b1e("content-type-parser:run",l);if(r.asString===!0||r.asBuffer===!0)ZP(l,t,t[w1e]._parserOptions,r,s);else{let u=r.fn(l,l[YP],s);u&&typeof u.then=="function"&&u.then(a=>s(null,a),s)}function s(u,a){i.runInAsyncScope(()=>{i.emitDestroy(),u?(t[JP]=!0,t.send(u)):(l.body=a,e(l,t))})}};function ZP(n,e,l,t,r){let i=t.asString,s=l.limit===null?t.bodyLimit:l.limit,u=n.headers["content-length"]===void 0?NaN:Number(n.headers["content-length"]);if(u>s){e.header("connection","close"),e.send(new XP);return}let a=0,c=i===!0?"":[],f=n[YP]||n.raw;i===!0&&f.setEncoding("utf8"),f.on("data",p),f.on("end",m),f.on("error",m),f.resume();function p(h){a+=h.length;let{receivedEncodedLength:g=0}=f;if(a>s||g>s){f.removeListener("data",p),f.removeListener("end",m),f.removeListener("error",m),e.send(new XP);return}i===!0?c+=h:c.push(h)}function m(h){if(f.removeListener("data",p),f.removeListener("end",m),f.removeListener("error",m),h!==void 0){typeof h.statusCode=="number"&&h.statusCode>=400||(h.statusCode=400),e[JP]=!0,e.code(h.statusCode).send(h);return}if(i===!0&&(a=Buffer.byteLength(c)),!Number.isNaN(u)&&(f.receivedEncodedLength||a)!==u){e.header("connection","close"),e.send(new k1e);return}i===!1&&(c=Buffer.concat(c));let g=t.fn(n,c,r);g&&typeof g.then=="function"&&g.then(_=>r(null,_),r)}}function eD(n,e){return l;function l(t,r,i){if(r===""||r==null||Buffer.isBuffer(r)&&r.length===0)return i(new P1e,void 0);let s;try{s=S1e.parse(r,{protoAction:n,constructorAction:e})}catch(u){return u.statusCode=400,i(u,void 0)}i(null,s)}}function Xg(n,e,l){l(null,e)}function Vg(n,e,l,t){this.asString=n,this.asBuffer=e,this.bodyLimit=l,this.fn=t}function D1e(n){let e=new gi;return e[r1]=n[r1],e.customParsers=new Map(n.customParsers.entries()),e.parserList=n.parserList.slice(),e.parserRegExpList=n.parserRegExpList.slice(),e}function L1e(n,e,l){if(this[zg].started)throw new Gg("addContentTypeParser");return typeof e=="function"&&(l=e,e={}),e||(e={}),e.bodyLimit||(e.bodyLimit=this[x1e]),Array.isArray(n)?n.forEach(t=>this[vo].add(t,e,l)):this[vo].add(n,e,l),this}function F1e(n){return this[vo].hasParser(n)}function M1e(n){if(this[zg].started)throw new Gg("removeContentTypeParser");if(Array.isArray(n))for(let e of n)this[vo].remove(e);else this[vo].remove(n)}function $1e(){if(this[zg].started)throw new Gg("removeAllContentTypeParsers");this[vo].removeAll()}function j1e(n,e){if(e.isEssence)return n.type.indexOf(e)!==-1;if(n.type.indexOf(e.type)===-1)return!1;for(let l of e.parameterKeys)if(!(l in n.parameters)||n.parameters[l]!==e.parameters[l])return!1;return!0}function U1e(n,e,l){return l.isEssence?l.test(e):l.test(n)}function L9(n){this.name=n;let e=KP(n);if(this.isEssence=n.indexOf(";")===-1,this.isEssence===!1&&e.type===""){let l=n.split(";",1)[0];this.type=l===""?n:l}else this.type=e.type;this.parameters=e.parameters,this.parameterKeys=Object.keys(e.parameters)}L9.prototype.toString=function(){return this.name};i1.exports=gi;i1.exports.helpers={buildContentTypeParser:D1e,addContentTypeParser:L1e,hasContentTypeParser:F1e,removeContentTypeParser:M1e,removeAllContentTypeParsers:$1e};i1.exports.defaultParsers={getDefaultJsonParser:eD,defaultTextParser:Xg};i1.exports[A1e]={rawBody:ZP}});var nD=C((iAe,F9)=>{"use strict";var B1e=Object.getPrototypeOf({});function Kg(n){function e(T){return T!=="constructor"&&T!=="prototype"&&T!=="__proto__"}function l(T){let x=0,v=T.length,b=new Array(v);for(x=0;x typeof T!="object"||T===null||T instanceof RegExp||T instanceof Date||T instanceof Buffer:T=>typeof T!="object"||T===null||T instanceof RegExp||T instanceof Date,m=n&&typeof n.mergeArray=="function"?n.mergeArray({clone:h,deepmerge:_,getKeys:u,isMergeableObject:c}):r;function h(T){return c(T)?Array.isArray(T)?l(T):t(T):T}function g(T,x){let v={},b=u(T),w=u(x),R,N,k;for(R=0,N=b.length;R {"use strict";var lD=eo(),H1e=Symbol.for("json-schema-ref"),Yg=class{#e;#n;#t;#r;#i;constructor(e={}){this.#e={},this.#n={},this.#t=e.insertRefSymbol??!1,this.#r=e.allowEqualDuplicates??!0,this.#i=e.cloneSchemaWithoutRefs??!1}addSchema(e,l){e.$id!==void 0&&e.$id.charAt(0)!=="#"?l=e.$id:this.#o(e,l),this.#u(e,l)}getSchema(e,l="#"){let t=this.#e[e];if(t===void 0)throw new Error(`Cannot resolve ref "${e}${l}". Schema with id "${e}" is not found.`);return t.anchors[l]!==void 0?t.anchors[l]:tD(t.schema,l)}hasSchema(e){return this.#e[e]!==void 0}getSchemaRefs(e){let l=this.#e[e];if(l===void 0)throw new Error(`Schema with id "${e}" is not found.`);return l.refs}getSchemaDependencies(e,l={}){let t=this.#e[e];for(let r of t.refs){let i=r.schemaId;l[i]===void 0&&(l[i]=this.getSchema(i),this.getSchemaDependencies(i,l))}return l}derefSchema(e){if(this.#n[e]!==void 0)return;let l=this.#e[e];if(l===void 0)throw new Error(`Schema with id "${e}" is not found.`);!this.#i&&l.refs.length===0&&(this.#n[e]={schema:l.schema,anchors:l.anchors});let t=[];this.#l(l.schema,e,t);let r=this.getSchemaDependencies(e);for(let i in r){let s=r[i];this.#l(s,i,t)}for(let i of t){let{refSchemaId:s,refJsonPointer:u}=this.#s(i.ref,i.sourceSchemaId),a=this.getDerefSchema(s,u);if(a===null)throw new Error(`Cannot resolve ref "${i.ref}". Ref "${u}" is not found in schema "${s}".`);i.targetSchema=a,i.targetSchemaId=s}for(let i of t)this.#a(i,t)}getDerefSchema(e,l="#"){let t=this.#n[e];return t===void 0&&(this.derefSchema(e),t=this.#n[e]),t.anchors[l]!==void 0?t.anchors[l]:tD(t.schema,l)}#s(e,l){let t=e.indexOf("#");return t===-1?{refSchemaId:e,refJsonPointer:"#"}:t===0?{refSchemaId:l,refJsonPointer:e}:{refSchemaId:e.slice(0,t),refJsonPointer:e.slice(t)}}#u(e,l){let t=e.$id;t!==void 0&&typeof t=="string"&&(t.charAt(0)==="#"?this.#c(e,l,t):(this.#o(e,t),l=t));let r=e.$ref;if(r!==void 0&&typeof r=="string"){let{refSchemaId:i,refJsonPointer:s}=this.#s(r,l);this.#e[l].refs.push({schemaId:i,jsonPointer:s})}for(let i in e)typeof e[i]=="object"&&e[i]!==null&&this.#u(e[i],l)}#l(e,l,t=[]){let r=Array.isArray(e)?[...e]:{...e},i=r.$id;i!==void 0&&typeof i=="string"&&(i.charAt(0)==="#"?this.#p(r,l,i):(this.#f(r,i),l=i)),r.$ref!==void 0&&t.push({ref:r.$ref,sourceSchemaId:l,sourceSchema:r});for(let s in r){let u=r[s];typeof u=="object"&&u!==null&&(r[s]=this.#l(u,l,t))}return r}#a(e,l){let{sourceSchema:t,targetSchema:r}=e;if(t.$ref){if(this.#t&&(t[H1e]=t.$ref),delete t.$ref,r.$ref){let i=l.find(s=>s.sourceSchema===r);this.#a(i,l)}for(let i in r)if(i!=="$id"){if(t[i]!==void 0){if(lD(t[i],r[i]))continue;throw new Error(`Cannot resolve ref "${e.ref}". Property "${i}" is already exist in schema "${e.sourceSchemaId}".`)}t[i]=r[i]}e.isResolved=!0}}#o(e,l){let t=this.#e[l];if(t!==void 0){if(this.#r&&lD(e,t.schema))return;throw new Error(`There is already another schema with id "${l}".`)}this.#e[l]={schema:e,anchors:{},refs:[]}}#c(e,l,t){let{anchors:r}=this.#e[l];if(r[t]!==void 0)throw new Error(`There is already another anchor "${t}" in a schema "${l}".`);r[t]=e}#f(e,l){this.#n[l]===void 0&&(this.#n[l]={schema:e,anchors:{}})}#p(e,l,t){let{anchors:r}=this.#n[l];r[t]=e}};function tD(n,e){let l=e.split("/"),t=n;for(let r of l)if(!(r===""||r==="#")){if(typeof t!="object"||t===null)return null;t=t[r]}return t??null}rD.exports={RefResolver:Yg}});var cD=C((uAe,Qg)=>{"use strict";Qg.exports=Ae;Qg.exports.default=Ae;var q1e={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0},sD={enum:["array","boolean","integer","null","number","object","string"]},uD=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,V1e=n9().fullFormats.uri,aD=n9().fullFormats.regex;function A3(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0,u=s;return typeof n=="number"&&!(n%1)&&!isNaN(n)&&isFinite(n)?s===u&&typeof n=="number"&&isFinite(n)&&(n<0||isNaN(n))?(A3.errors=[{instancePath:e,schemaPath:"#/definitions/nonNegativeInteger/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1):(A3.errors=i,s===0):(A3.errors=[{instancePath:e,schemaPath:"#/definitions/nonNegativeInteger/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1)}var Jg={validate:Ae};function N2(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0;if(s===0)if(Array.isArray(n)){if(n.length<1)return N2.errors=[{instancePath:e,schemaPath:"#/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"}],!1;{var u=!0;let a=n.length;for(let c=0;c",limit:0},message:"must be > 0"}],!1}else return Ae.errors=[{instancePath:e+"/multipleOf",schemaPath:"#/properties/multipleOf/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var u=b===s}else var u=!0;if(u){if(n.maximum!==void 0){let v=n.maximum,b=s;if(!(typeof v=="number"&&isFinite(v)))return Ae.errors=[{instancePath:e+"/maximum",schemaPath:"#/properties/maximum/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var u=b===s}else var u=!0;if(u){if(n.exclusiveMaximum!==void 0){let v=n.exclusiveMaximum,b=s;if(!(typeof v=="number"&&isFinite(v)))return Ae.errors=[{instancePath:e+"/exclusiveMaximum",schemaPath:"#/properties/exclusiveMaximum/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var u=b===s}else var u=!0;if(u){if(n.minimum!==void 0){let v=n.minimum,b=s;if(!(typeof v=="number"&&isFinite(v)))return Ae.errors=[{instancePath:e+"/minimum",schemaPath:"#/properties/minimum/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var u=b===s}else var u=!0;if(u){if(n.exclusiveMinimum!==void 0){let v=n.exclusiveMinimum,b=s;if(!(typeof v=="number"&&isFinite(v)))return Ae.errors=[{instancePath:e+"/exclusiveMinimum",schemaPath:"#/properties/exclusiveMinimum/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var u=b===s}else var u=!0;if(u){if(n.maxLength!==void 0){let v=n.maxLength,b=s,w=s;if(!(typeof v=="number"&&!(v%1)&&!isNaN(v)&&isFinite(v)))return Ae.errors=[{instancePath:e+"/maxLength",schemaPath:"#/definitions/nonNegativeInteger/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===w&&typeof v=="number"&&isFinite(v)&&(v<0||isNaN(v)))return Ae.errors=[{instancePath:e+"/maxLength",schemaPath:"#/definitions/nonNegativeInteger/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var u=b===s}else var u=!0;if(u){if(n.minLength!==void 0){let v=s;A3(n.minLength,{instancePath:e+"/minLength",parentData:n,parentDataProperty:"minLength",rootData:r})||(i=i===null?A3.errors:i.concat(A3.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.pattern!==void 0){let v=n.pattern,b=s;if(s===b&&s===b)if(typeof v=="string"){if(!aD(v))return Ae.errors=[{instancePath:e+"/pattern",schemaPath:"#/properties/pattern/format",keyword:"format",params:{format:"regex"},message:'must match format "regex"'}],!1}else return Ae.errors=[{instancePath:e+"/pattern",schemaPath:"#/properties/pattern/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=b===s}else var u=!0;if(u){if(n.additionalItems!==void 0){let v=s;Ae(n.additionalItems,{instancePath:e+"/additionalItems",parentData:n,parentDataProperty:"additionalItems",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.items!==void 0){let v=n.items,b=s,w=s,R=!1,N=s;Ae(v,{instancePath:e+"/items",parentData:n,parentDataProperty:"items",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var a=N===s;if(R=R||a,!R){let j=s;N2(v,{instancePath:e+"/items",parentData:n,parentDataProperty:"items",rootData:r})||(i=i===null?N2.errors:i.concat(N2.errors),s=i.length);var a=j===s;R=R||a}if(R)s=w,i!==null&&(w?i.length=w:i=null);else{let j={instancePath:e+"/items",schemaPath:"#/properties/items/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[j]:i.push(j),s++,Ae.errors=i,!1}var u=b===s}else var u=!0;if(u){if(n.maxItems!==void 0){let v=n.maxItems,b=s,w=s;if(!(typeof v=="number"&&!(v%1)&&!isNaN(v)&&isFinite(v)))return Ae.errors=[{instancePath:e+"/maxItems",schemaPath:"#/definitions/nonNegativeInteger/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===w&&typeof v=="number"&&isFinite(v)&&(v<0||isNaN(v)))return Ae.errors=[{instancePath:e+"/maxItems",schemaPath:"#/definitions/nonNegativeInteger/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var u=b===s}else var u=!0;if(u){if(n.minItems!==void 0){let v=s;A3(n.minItems,{instancePath:e+"/minItems",parentData:n,parentDataProperty:"minItems",rootData:r})||(i=i===null?A3.errors:i.concat(A3.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.uniqueItems!==void 0){let v=s;if(typeof n.uniqueItems!="boolean")return Ae.errors=[{instancePath:e+"/uniqueItems",schemaPath:"#/properties/uniqueItems/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var u=v===s}else var u=!0;if(u){if(n.contains!==void 0){let v=s;Ae(n.contains,{instancePath:e+"/contains",parentData:n,parentDataProperty:"contains",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.maxProperties!==void 0){let v=n.maxProperties,b=s,w=s;if(!(typeof v=="number"&&!(v%1)&&!isNaN(v)&&isFinite(v)))return Ae.errors=[{instancePath:e+"/maxProperties",schemaPath:"#/definitions/nonNegativeInteger/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===w&&typeof v=="number"&&isFinite(v)&&(v<0||isNaN(v)))return Ae.errors=[{instancePath:e+"/maxProperties",schemaPath:"#/definitions/nonNegativeInteger/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var u=b===s}else var u=!0;if(u){if(n.minProperties!==void 0){let v=s;A3(n.minProperties,{instancePath:e+"/minProperties",parentData:n,parentDataProperty:"minProperties",rootData:r})||(i=i===null?A3.errors:i.concat(A3.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.required!==void 0){let v=n.required,b=s;if(s===s)if(Array.isArray(v)){var c=!0;let N=v.length;for(let k=0;k 1){let L={};for(;k--;){let Q=v[k];if(typeof Q=="string"){if(typeof L[Q]=="number"){return j=L[Q],Ae.errors=[{instancePath:e+"/required",schemaPath:"#/definitions/stringArray/uniqueItems",keyword:"uniqueItems",params:{i:k,j},message:"must NOT have duplicate items (items ## "+j+" and "+k+" are identical)"}],!1;break}L[Q]=k}}}}}else return Ae.errors=[{instancePath:e+"/required",schemaPath:"#/definitions/stringArray/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var u=b===s}else var u=!0;if(u){if(n.additionalProperties!==void 0){let v=s;Ae(n.additionalProperties,{instancePath:e+"/additionalProperties",parentData:n,parentDataProperty:"additionalProperties",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.definitions!==void 0){let v=n.definitions,b=s;if(s===b)if(v&&typeof v=="object"&&!Array.isArray(v))for(let R in v){let N=s;Ae(v[R],{instancePath:e+"/definitions/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:R,rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var f=N===s;if(!f)break}else return Ae.errors=[{instancePath:e+"/definitions",schemaPath:"#/properties/definitions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=b===s}else var u=!0;if(u){if(n.properties!==void 0){let v=n.properties,b=s;if(s===b)if(v&&typeof v=="object"&&!Array.isArray(v))for(let R in v){let N=s;Ae(v[R],{instancePath:e+"/properties/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:R,rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var p=N===s;if(!p)break}else return Ae.errors=[{instancePath:e+"/properties",schemaPath:"#/properties/properties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=b===s}else var u=!0;if(u){if(n.patternProperties!==void 0){let v=n.patternProperties,b=s;if(s===b)if(v&&typeof v=="object"&&!Array.isArray(v)){for(let R in v){let N=s;if(s===N&&typeof R=="string"&&!aD(R)){let k={instancePath:e+"/patternProperties",schemaPath:"#/properties/patternProperties/propertyNames/format",keyword:"format",params:{format:"regex"},message:'must match format "regex"',propertyName:R};i===null?i=[k]:i.push(k),s++}var m=N===s;if(!m){let k={instancePath:e+"/patternProperties",schemaPath:"#/properties/patternProperties/propertyNames",keyword:"propertyNames",params:{propertyName:R},message:"property name must be valid"};return i===null?i=[k]:i.push(k),s++,Ae.errors=i,!1;break}}if(m)for(let R in v){let N=s;Ae(v[R],{instancePath:e+"/patternProperties/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:R,rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var h=N===s;if(!h)break}}else return Ae.errors=[{instancePath:e+"/patternProperties",schemaPath:"#/properties/patternProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=b===s}else var u=!0;if(u){if(n.dependencies!==void 0){let v=n.dependencies,b=s;if(s===b)if(v&&typeof v=="object"&&!Array.isArray(v))for(let R in v){let N=v[R],k=s,j=s,L=!1,Q=s;Ae(N,{instancePath:e+"/dependencies/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:v,parentDataProperty:R,rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var g=Q===s;if(L=L||g,!L){let Y=s;if(s===s)if(Array.isArray(N)){var _=!0;let Re=N.length;for(let pe=0;pe 1){let ye={};for(;pe--;){let q=N[pe];if(typeof q=="string"){if(typeof ye[q]=="number"){ue=ye[q];let re={instancePath:e+"/dependencies/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/definitions/stringArray/uniqueItems",keyword:"uniqueItems",params:{i:pe,j:ue},message:"must NOT have duplicate items (items ## "+ue+" and "+pe+" are identical)"};i===null?i=[re]:i.push(re),s++;break}ye[q]=pe}}}}}else{let Re={instancePath:e+"/dependencies/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/definitions/stringArray/type",keyword:"type",params:{type:"array"},message:"must be array"};i===null?i=[Re]:i.push(Re),s++}var g=Y===s;L=L||g}if(L)s=j,i!==null&&(j?i.length=j:i=null);else{let Y={instancePath:e+"/dependencies/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/properties/dependencies/additionalProperties/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[Y]:i.push(Y),s++,Ae.errors=i,!1}var S=k===s;if(!S)break}else return Ae.errors=[{instancePath:e+"/dependencies",schemaPath:"#/properties/dependencies/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=b===s}else var u=!0;if(u){if(n.propertyNames!==void 0){let v=s;Ae(n.propertyNames,{instancePath:e+"/propertyNames",parentData:n,parentDataProperty:"propertyNames",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.enum!==void 0){let v=n.enum,b=s;if(s===b)if(Array.isArray(v)){if(v.length<1)return Ae.errors=[{instancePath:e+"/enum",schemaPath:"#/properties/enum/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"}],!1;{let R=v.length,N;if(R>1){e:for(;R--;)for(N=R;N--;)if(oD(v[R],v[N])){return Ae.errors=[{instancePath:e+"/enum",schemaPath:"#/properties/enum/uniqueItems",keyword:"uniqueItems",params:{i:R,j:N},message:"must NOT have duplicate items (items ## "+N+" and "+R+" are identical)"}],!1;break e}}}}else return Ae.errors=[{instancePath:e+"/enum",schemaPath:"#/properties/enum/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var u=b===s}else var u=!0;if(u){if(n.type!==void 0){let v=n.type,b=s,w=s,R=!1,N=s;if(!(v==="array"||v==="boolean"||v==="integer"||v==="null"||v==="number"||v==="object"||v==="string")){let j={instancePath:e+"/type",schemaPath:"#/definitions/simpleTypes/enum",keyword:"enum",params:{allowedValues:sD.enum},message:"must be equal to one of the allowed values"};i===null?i=[j]:i.push(j),s++}var T=N===s;if(R=R||T,!R){let j=s;if(s===j)if(Array.isArray(v))if(v.length<1){let Q={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf/1/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};i===null?i=[Q]:i.push(Q),s++}else{var x=!0;let Q=v.length;for(let Y=0;Y 1){e:for(;Y--;)for(Z=Y;Z--;)if(oD(v[Y],v[Z])){let ve={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf/1/uniqueItems",keyword:"uniqueItems",params:{i:Y,j:Z},message:"must NOT have duplicate items (items ## "+Z+" and "+Y+" are identical)"};i===null?i=[ve]:i.push(ve),s++;break e}}}}else{let Q={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};i===null?i=[Q]:i.push(Q),s++}var T=j===s;R=R||T}if(R)s=w,i!==null&&(w?i.length=w:i=null);else{let j={instancePath:e+"/type",schemaPath:"#/properties/type/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[j]:i.push(j),s++,Ae.errors=i,!1}var u=b===s}else var u=!0;if(u){if(n.format!==void 0){let v=s;if(typeof n.format!="string")return Ae.errors=[{instancePath:e+"/format",schemaPath:"#/properties/format/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.contentMediaType!==void 0){let v=s;if(typeof n.contentMediaType!="string")return Ae.errors=[{instancePath:e+"/contentMediaType",schemaPath:"#/properties/contentMediaType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.contentEncoding!==void 0){let v=s;if(typeof n.contentEncoding!="string")return Ae.errors=[{instancePath:e+"/contentEncoding",schemaPath:"#/properties/contentEncoding/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(n.if!==void 0){let v=s;Ae(n.if,{instancePath:e+"/if",parentData:n,parentDataProperty:"if",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.then!==void 0){let v=s;Ae(n.then,{instancePath:e+"/then",parentData:n,parentDataProperty:"then",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.else!==void 0){let v=s;Ae(n.else,{instancePath:e+"/else",parentData:n,parentDataProperty:"else",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.allOf!==void 0){let v=s;N2(n.allOf,{instancePath:e+"/allOf",parentData:n,parentDataProperty:"allOf",rootData:r})||(i=i===null?N2.errors:i.concat(N2.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.anyOf!==void 0){let v=s;N2(n.anyOf,{instancePath:e+"/anyOf",parentData:n,parentDataProperty:"anyOf",rootData:r})||(i=i===null?N2.errors:i.concat(N2.errors),s=i.length);var u=v===s}else var u=!0;if(u){if(n.oneOf!==void 0){let v=s;N2(n.oneOf,{instancePath:e+"/oneOf",parentData:n,parentDataProperty:"oneOf",rootData:r})||(i=i===null?N2.errors:i.concat(N2.errors),s=i.length);var u=v===s}else var u=!0;if(u)if(n.not!==void 0){let v=s;Ae(n.not,{instancePath:e+"/not",parentData:n,parentDataProperty:"not",rootData:r})||(i=i===null?Ae.errors:i.concat(Ae.errors),s=i.length);var u=v===s}else var u=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return Ae.errors=i,s===0}});var pD=C((aAe,fD)=>{"use strict";var Zg=class n{constructor(e,l,t="#"){this.schema=e,this.schemaId=l,this.jsonPointer=t,this.mergedSchemaId=null}getPropertyLocation(e){let l=new n(this.schema[e],this.schemaId,this.jsonPointer+"/"+e);return this.mergedSchemaId!==null&&l.addMergedSchema(this.schema[e],this.mergedSchemaId,this.jsonPointer+"/"+e),l}getSchemaId(){return this.mergedSchemaId||this.schemaId}getOriginSchemaId(){return this.schemaId}getSchemaRef(){return this.getSchemaId()+this.jsonPointer}addMergedSchema(e,l,t="#"){this.schema=e,this.mergedSchemaId=l,this.jsonPointer=t}};fD.exports=Zg});var AD=C((oAe,bo)=>{"use strict";var ey=nD()(),z1e=c0()({proto:!0}),{RefResolver:G1e}=iD(),dD=cD(),X1e=rh(),W1e=Ym(),mD=pD(),K1e=/'/g,M9=2e4,gD="default",Y1e=["floor","ceil","round","trunc"],yD=["default","json-stringify"],_o="!addComma && (addComma = true) || (json += ',')",vD=0;function ny(n,e){if(!dD(n)){e?e=`"${e}" `:e="";let l=dD.errors[0],t=new Error(`${e}schema is invalid: data${l.instancePath} ${l.message}`);throw t.errors=ny.errors,t}}function Eo(n,e,l){let t=l.indexOf("#");t===-1&&(t=l.length);let r=l.slice(0,t)||e.getOriginSchemaId(),i=l.slice(t)||"#",s=n.refResolver.getSchema(r,i);if(s===null)throw new Error(`Cannot find reference "${l}"`);let u=new mD(s,r,i);return s.$ref!==void 0?Eo(n,u,s.$ref):u}function hD(n,e){return n.$id&&n.$id.charAt(0)!=="#"?n.$id:e}function ly(n,e){ny(n),e=e||{};let l={functions:[],functionsCounter:0,functionsNamesBySchema:new Map,options:e,wrapObjects:!0,refResolver:new G1e,rootSchemaId:n.$id||`__fjs_root_${vD++}`,validatorSchemasIds:new Set},t=hD(n,l.rootSchemaId);if(l.refResolver.hasSchema(t)||l.refResolver.addSchema(n,l.rootSchemaId),e.schema)for(let f in e.schema){let p=e.schema[f],m=hD(p,f);l.refResolver.hasSchema(m)||(ny(p,f),l.refResolver.addSchema(p,f))}if(e.rounding&&!Y1e.includes(e.rounding))throw new Error(`Unsupported integer rounding method ${e.rounding}`);if(e.largeArrayMechanism)if(yD.includes(e.largeArrayMechanism))gD=e.largeArrayMechanism;else throw new Error(`Unsupported large array mechanism ${e.largeArrayMechanism}`);if(e.largeArraySize)if(typeof e.largeArraySize=="string"&&Number.isFinite(Number.parseInt(e.largeArraySize,10)))M9=Number.parseInt(e.largeArraySize,10);else if(typeof e.largeArraySize=="number"&&Number.isInteger(e.largeArraySize))M9=e.largeArraySize;else if(typeof e.largeArraySize=="bigint")M9=Number(e.largeArraySize);else throw new Error(`Unsupported large array size. Expected integer-like, got ${typeof e.largeArraySize} with value ${e.largeArraySize}`);let r=new mD(n,l.rootSchemaId),i=xr(l,r,"input"),s;i==="json += anonymous0(input)"?s=` ${l.functions.join(` `)} const main = anonymous0 @@ -133,9 +133,9 @@ ${T}`),g.pop(),`{${w}}`}case"number":return isFinite(h)?String(h):e?e(h):"null"; ${l.functions.join(` `)} return main - `;let u=new F1e(e),a=new M1e(e.ajv);for(let f of l.validatorSchemasIds){let p=l.refResolver.getSchema(f);a.addSchema(p,f);let m=l.refResolver.getSchemaDependencies(f);for(let[h,g]of Object.entries(m))a.addSchema(g,h)}if(e.debugMode&&(e.mode="debug"),e.mode==="debug")return{validator:a,serializer:u,code:`validator + `;let u=new X1e(e),a=new W1e(e.ajv);for(let f of l.validatorSchemasIds){let p=l.refResolver.getSchema(f);a.addSchema(p,f);let m=l.refResolver.getSchemaDependencies(f);for(let[h,g]of Object.entries(m))a.addSchema(g,h)}if(e.debugMode&&(e.mode="debug"),e.mode==="debug")return{validator:a,serializer:u,code:`validator serializer -${s}`,ajv:a.ajv};let c=new Function("validator","serializer",s);return e.mode==="standalone"?Ym()(c,l,u,a):c(a,u)}var U1e=["properties","required","additionalProperties","patternProperties","maxProperties","minProperties","dependencies"],B1e=["items","additionalItems","maxItems","minItems","uniqueItems","contains"],H1e=["maxLength","minLength","pattern"],q1e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum"];function mD(n){for(var e of U1e)if(e in n)return"object";for(var e of B1e)if(e in n)return"array";for(var e of H1e)if(e in n)return"string";for(var e of q1e)if(e in n)return"number";return n.type}function V1e(n,e){let l=e.schema,t=Object.keys(l.properties||{}),r=` +${s}`,ajv:a.ajv};let c=new Function("validator","serializer",s);return e.mode==="standalone"?Qm()(c,l,u,a):c(a,u)}var J1e=["properties","required","additionalProperties","patternProperties","maxProperties","minProperties","dependencies"],Q1e=["items","additionalItems","maxItems","minItems","uniqueItems","contains"],Z1e=["maxLength","minLength","pattern"],e5e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum"];function _D(n){for(var e of J1e)if(e in n)return"object";for(var e of Q1e)if(e in n)return"array";for(var e of Z1e)if(e in n)return"string";for(var e of e5e)if(e in n)return"number";return n.type}function n5e(n,e){let l=e.schema,t=Object.keys(l.properties||{}),r=` const propertiesKeys = ${JSON.stringify(t)} for (const [key, value] of Object.entries(obj)) { if ( @@ -146,61 +146,61 @@ ${s}`,ajv:a.ajv};let c=new Function("validator","serializer",s);return e.mode=== ) continue `,i=e.getPropertyLocation("patternProperties"),s=i.schema;if(s!==void 0)for(let c in s){let f=i.getPropertyLocation(c);r+=` if (/${c.replace(/\\*\//g,"\\/")}/.test(key)) { - ${yo} + ${_o} json += serializer.asString(key) + ':' - ${Sr(n,f,"value")} + ${xr(n,f,"value")} continue } `}let a=e.getPropertyLocation("additionalProperties").schema;if(a!==void 0)if(a===!0)r+=` - ${yo} + ${_o} json += serializer.asString(key) + ':' + JSON.stringify(value) `;else{let c=e.getPropertyLocation("additionalProperties");r+=` - ${yo} + ${_o} json += serializer.asString(key) + ':' - ${Sr(n,c,"value")} + ${xr(n,c,"value")} `}return r+=` } - `,r}function z1e(n,e){let l="",t=e.schema,r=t.required||[],i=e.getPropertyLocation("properties"),s=[],u=[];if(t.properties)for(let c of Object.keys(t.properties)){if(r.indexOf(c)===-1)continue;let f=i.getPropertyLocation(c);f.schema.$ref&&(f=vo(n,e,f.schema.$ref));let p=JSON.stringify(c);f.schema.default===void 0&&(l+=`if (obj[${p}] === undefined) throw new Error('${p} is required!') + `,r}function l5e(n,e){let l="",t=e.schema,r=t.required||[],i=e.getPropertyLocation("properties"),s=[],u=[];if(t.properties)for(let c of Object.keys(t.properties)){if(r.indexOf(c)===-1)continue;let f=i.getPropertyLocation(c);f.schema.$ref&&(f=Eo(n,e,f.schema.$ref));let p=JSON.stringify(c);f.schema.default===void 0&&(l+=`if (obj[${p}] === undefined) throw new Error('${p} is required!') `,u.push(c)),s.push(c)}for(let c of r)s.indexOf(c)===-1&&(l+=`if (obj['${c}'] === undefined) throw new Error('"${c}" is required!') `);l+=` let addComma = false let json = '${n.wrapObjects?"{":""}' - `;let a=n.wrapObjects;if(n.wrapObjects=!0,t.properties)for(let c of Object.keys(t.properties)){let f=i.getPropertyLocation(c);f.schema.$ref&&(f=vo(n,e,f.schema.$ref));let p=JSON.stringify(c);if(u.indexOf(c)!==-1)l+=` - ${yo} + `;let a=n.wrapObjects;if(n.wrapObjects=!0,t.properties)for(let c of Object.keys(t.properties)){let f=i.getPropertyLocation(c);f.schema.$ref&&(f=Eo(n,e,f.schema.$ref));let p=JSON.stringify(c);if(u.indexOf(c)!==-1)l+=` + ${_o} json += ${JSON.stringify(p+":")} - ${Sr(n,f,`obj[${p}]`)} + ${xr(n,f,`obj[${p}]`)} `;else{l+=` if (obj[${p}] !== undefined) { - ${yo} + ${_o} json += ${JSON.stringify(p+":")} - ${Sr(n,f,`obj[${p}]`)} + ${xr(n,f,`obj[${p}]`)} } `;let m=f.schema.default;m!==void 0&&(l+=` else { - ${yo} + ${_o} json += ${JSON.stringify(p+":"+JSON.stringify(m))} } - `)}}return(t.patternProperties||t.additionalProperties)&&(l+=V1e(n,e)),n.wrapObjects=a,l+=` + `)}}return(t.patternProperties||t.additionalProperties)&&(l+=n5e(n,e)),n.wrapObjects=a,l+=` return json${n.wrapObjects?" + '}'":""} - `,l}function gD(n,e,l,t){let r=e.getPropertyLocation("allOf");for(let i=0;i${r.length}) { throw new Error(\`Item at ${r.length} does not match schema definition.\`) } - `),pD==="json-stringify"&&(u+=`if (arrayLength && arrayLength >= ${L9}) return JSON.stringify(obj) + `),gD==="json-stringify"&&(u+=`if (arrayLength && arrayLength >= ${M9}) return JSON.stringify(obj) `),u+=` let jsonOutput = '' - `,Array.isArray(r)){for(let c=0;c vD(r,e)).join(" || ")})`)}return l}function _D(n){return"anonymous"+n.functionsCounter++}function K1e(n,e,l){let r=e.schema.type.sort(u=>u==="null"?-1:1),i="";r.forEach((u,a)=>{e.schema={...e.schema,type:u};let c=ED(n,e,l),f=a===0?"if":"else if";switch(u){case"null":i+=` + )`;break;case"integer":l=`Number.isInteger(obj${e})`;break;case"number":l=`Number.isFinite(obj${e})`;break;case"boolean":l=`typeof obj${e} === 'boolean'`;break;case"object":l=`obj${e} && typeof obj${e} === 'object' && obj${e}.constructor === Object`;break;case"array":l=`Array.isArray(obj${e})`;break;default:Array.isArray(n)&&(l=`(${n.map(r=>TD(r,e)).join(" || ")})`)}return l}function SD(n){return"anonymous"+n.functionsCounter++}function s5e(n,e,l){let r=e.schema.type.sort(u=>u==="null"?-1:1),i="";r.forEach((u,a)=>{e.schema={...e.schema,type:u};let c=xD(n,e,l),f=a===0?"if":"else if";switch(u){case"null":i+=` ${f} (${l} === null) ${c} `;break;case"string":{i+=` @@ -278,17 +278,17 @@ ${s}`,ajv:a.ajv};let c=new Function("validator","serializer",s);return e.mode=== ${c} `;break}}});let s=e.getSchemaRef();return s.startsWith(n.rootSchemaId)&&(s=s.replace(n.rootSchemaId,"")),i+=` else throw new TypeError(\`The value of '${s}' does not match schema definition.\`) - `,i}function ED(n,e,l){let t=e.schema;switch(t.type){case"null":return"json += 'null'";case"string":return t.format==="date-time"?`json += serializer.asDateTime(${l})`:t.format==="date"?`json += serializer.asDate(${l})`:t.format==="time"?`json += serializer.asTime(${l})`:`json += serializer.asString(${l})`;case"integer":return`json += serializer.asInteger(${l})`;case"number":return`json += serializer.asNumber(${l})`;case"boolean":return`json += serializer.asBoolean(${l})`;case"object":return`json += ${yD(n,e)}(${l})`;case"array":return`json += ${W1e(n,e)}(${l})`;case void 0:return`json += JSON.stringify(${l})`;default:throw new Error(`${t.type} unsupported`)}}function Y1e(n,e){let l=n.schema,t=l.type,r=Array.isArray(t)&&t.includes("null"),i="";return r&&(i+=` + `,i}function xD(n,e,l){let t=e.schema;switch(t.type){case"null":return"json += 'null'";case"string":return t.format==="date-time"?`json += serializer.asDateTime(${l})`:t.format==="date"?`json += serializer.asDate(${l})`:t.format==="time"?`json += serializer.asTime(${l})`:`json += serializer.asString(${l})`;case"integer":return`json += serializer.asInteger(${l})`;case"number":return`json += serializer.asNumber(${l})`;case"boolean":return`json += serializer.asBoolean(${l})`;case"object":return`json += ${bD(n,e)}(${l})`;case"array":return`json += ${i5e(n,e)}(${l})`;case void 0:return`json += JSON.stringify(${l})`;default:throw new Error(`${t.type} unsupported`)}}function u5e(n,e){let l=n.schema,t=l.type,r=Array.isArray(t)&&t.includes("null"),i="";return r&&(i+=` if (${e} === null) { json += 'null' } else { - `),i+=`json += '${JSON.stringify(l.const).replace($1e,"\\'")}'`,r&&(i+=` + `),i+=`json += '${JSON.stringify(l.const).replace(K1e,"\\'")}'`,r&&(i+=` } - `),i}function Sr(n,e,l){let t=e.schema;if(typeof t=="boolean")return`json += JSON.stringify(${l})`;if(t.$ref&&(e=vo(n,e,t.$ref),t=e.schema),t.type===void 0){let u=mD(t);u&&(t.type=u)}if(t.if&&t.then)return G1e(n,e,l);t.allOf&&(gD(n,e,t,D1e(t)),t=e.schema);let r=t.type,i="";if((r===void 0||r==="object")&&(t.anyOf||t.oneOf)){if(n.validatorSchemasIds.add(e.getSchemaId()),t.type==="object"){n.wrapObjects=!1;let f=yD(n,e);i+=` + `),i}function xr(n,e,l){let t=e.schema;if(typeof t=="boolean")return`json += JSON.stringify(${l})`;if(t.$ref&&(e=Eo(n,e,t.$ref),t=e.schema),t.type===void 0){let u=_D(t);u&&(t.type=u)}if(t.if&&t.then)return t5e(n,e,l);t.allOf&&(ED(n,e,t,z1e(t)),t=e.schema);let r=t.type,i="";if((r===void 0||r==="object")&&(t.anyOf||t.oneOf)){if(n.validatorSchemasIds.add(e.getSchemaId()),t.type==="object"){n.wrapObjects=!1;let f=bD(n,e);i+=` json += '{' json += ${f}(${l}) json += ',' - `}let u=t.anyOf?"anyOf":"oneOf",a=e.getPropertyLocation(u);for(let f=0;f {"use strict";var J1e=ly();function TD(n={readMode:!0}){if(n.readMode===!0&&typeof n.restoreFunction!="function")throw new Error("You must provide a function for the restoreFunction-option when readMode ON");if(n.readMode!==!0&&typeof n.storeFunction!="function")throw new Error("You must provide a function for the storeFunction-option when readMode OFF");if(n.readMode===!0)return function(){return function(t){return n.restoreFunction(t)}};let e=J1e();return function(t,r={}){r.mode="standalone";let i=e(t,r);return function(s){let u=i(s);return n.storeFunction(s,u),new Function(u)}}}ny.exports=TD;ny.exports.default=TD});var ly=C((Zxe,r1)=>{"use strict";var Q1e=bD();function ty(){return function(e,l){let t=Object.assign({},l,{schema:e});return Z1e.bind(null,t)}}function Z1e(n,{schema:e}){return n.schema&&e.$id&&n.schema[e.$id]&&(n.schema={...n.schema},delete n.schema[e.$id]),Q1e(e,n)}r1.exports=ty;r1.exports.default=ty;r1.exports.SerializerSelector=ty;r1.exports.StandaloneSerializer=SD()});var gi=C(i1=>{"use strict";Object.defineProperty(i1,"__esModule",{value:!0});i1.checkMetadata=void 0;var e5e=En(),n5e={keyword:"metadata",schemaType:"object",code(n){xD(n);let{gen:e,schema:l,it:t}=n;if((0,e5e.alwaysValidSchema)(t,l))return;let r=e.name("valid");n.subschema({keyword:"metadata",jtdMetadata:!0},r),n.ok(r)}};function xD({it:n,keyword:e},l){if(n.jtdMetadata!==l)throw new Error(`JTD: "${e}" cannot be used in this schema location`)}i1.checkMetadata=xD;i1.default=n5e});var F9=C(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});u1.hasRef=void 0;var AD=Su(),s1=Ze(),l5e=Yi(),wD=_3(),OD=Xh(),t5e=gi(),r5e={keyword:"ref",schemaType:"string",code(n){(0,t5e.checkMetadata)(n);let{gen:e,data:l,schema:t,parentSchema:r,it:i}=n,{schemaEnv:{root:s}}=i,u=e.name("valid");r.nullable?(e.var(u,(0,s1._)`${l} === null`),e.if((0,s1.not)(u),a)):(e.var(u,!1),a()),n.ok(u);function a(){var p;let m=(p=s.schema.definitions)===null||p===void 0?void 0:p[t];if(!m)throw new l5e.default(i.opts.uriResolver,"",t,`No definition ${t}`);ry(m)||!i.opts.inlineRefs?c(m):f(m)}function c(p){let m=AD.compileSchema.call(i.self,new AD.SchemaEnv({schema:p,root:s,schemaPath:`/definitions/${t}`})),h=(0,OD.getValidate)(n,m),g=e.const("_errs",wD.default.errors);(0,OD.callRef)(n,h,m,m.$async),e.assign(u,(0,s1._)`${g} === ${wD.default.errors}`)}function f(p){let m=e.scopeValue("schema",i.opts.code.source===!0?{ref:p,code:(0,s1.stringify)(p)}:{ref:p});n.subschema({schema:p,dataTypes:[],schemaPath:s1.nil,topSchemaRef:m,errSchemaPath:`/definitions/${t}`},u)}}};function ry(n){for(let e in n){let l;if(e==="ref"||typeof(l=n[e])=="object"&&ry(l))return!0}return!1}u1.hasRef=ry;u1.default=r5e});var sy=C(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});var i5e=/t|\s/i,s5e=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,u5e=/^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:z|([+-]\d\d)(?::?(\d\d))?)$/i,a5e=[0,31,28,31,30,31,30,31,31,30,31,30,31];function ND(n,e){let l=n.split(i5e);return l.length===2&&RD(l[0])&&o5e(l[1])||e&&l.length===1&&RD(l[0])}iy.default=ND;function RD(n){let e=s5e.exec(n);if(!e)return!1;let l=+e[1],t=+e[2],r=+e[3];return t>=1&&t<=12&&r>=1&&(r<=a5e[t]||t===2&&r===29&&(l%100===0?l%400===0:l%4===0))}function o5e(n){let e=u5e.exec(n);if(!e)return!1;let l=+e[1],t=+e[2],r=+e[3],i=+(e[4]||0),s=+(e[5]||0);return l<=23&&t<=59&&r<=59||l-i===23&&t-s===59&&r===60}ND.code='require("ajv/dist/runtime/timestamp").default'});var Eo=C(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.typeErrorParams=ns.typeErrorMessage=ns.typeError=void 0;var c5e=Ze();function f5e(n){return{message:e=>ID(e,n),params:e=>CD(e,n)}}ns.typeError=f5e;function ID({parentSchema:n},e){return n?.nullable?`must be ${e} or null`:`must be ${e}`}ns.typeErrorMessage=ID;function CD({parentSchema:n},e){return(0,c5e._)`{type: ${e}, nullable: ${!!n?.nullable}}`}ns.typeErrorParams=CD});var uy=C(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.intRange=void 0;var n3=Ze(),p5e=sy(),d5e=En(),h5e=gi(),kD=Eo();bo.intRange={int8:[-128,127,3],uint8:[0,255,3],int16:[-32768,32767,5],uint16:[0,65535,5],int32:[-2147483648,2147483647,10],uint32:[0,4294967295,10]};var m5e={message:n=>(0,kD.typeErrorMessage)(n,n.schema),params:n=>(0,kD.typeErrorParams)(n,n.schema)};function g5e(n){let{gen:e,data:l,it:t}=n,{timestamp:r,allowDate:i}=t.opts;if(r==="date")return(0,n3._)`${l} instanceof Date `;let s=(0,d5e.useFunc)(e,p5e.default),u=i?(0,n3._)`, true`:n3.nil,a=(0,n3._)`typeof ${l} == "string" && ${s}(${l}${u})`;return r==="string"?a:(0,n3.or)((0,n3._)`${l} instanceof Date`,a)}var y5e={keyword:"type",schemaType:"string",error:m5e,code(n){(0,h5e.checkMetadata)(n);let{data:e,schema:l,parentSchema:t,it:r}=n,i;switch(l){case"boolean":case"string":i=(0,n3._)`typeof ${e} == ${l}`;break;case"timestamp":{i=g5e(n);break}case"float32":case"float64":i=(0,n3._)`typeof ${e} == "number"`;break;default:{let s=l;if(i=(0,n3._)`typeof ${e} == "number" && isFinite(${e}) && !(${e} % 1)`,!r.opts.int32range&&(s==="int32"||s==="uint32"))s==="uint32"&&(i=(0,n3._)`${i} && ${e} >= 0`);else{let[u,a]=bo.intRange[s];i=(0,n3._)`${i} && ${e} >= ${u} && ${e} <= ${a}`}}}n.pass(t.nullable?(0,n3.or)((0,n3._)`${e} === null`,i):i)}};bo.default=y5e});var So=C(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.checkNullableObject=To.checkNullable=void 0;var M9=Ze();function PD({gen:n,data:e,parentSchema:l},t=M9.nil){let r=n.name("valid");return l.nullable?(n.let(r,(0,M9._)`${e} === null`),t=(0,M9.not)(r)):n.let(r,!1),[r,t]}To.checkNullable=PD;function v5e(n,e){let[l,t]=PD(n,e);return[l,(0,M9._)`${t} && typeof ${n.data} == "object" && !Array.isArray(${n.data})`]}To.checkNullableObject=v5e});var DD=C(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});var ls=Ze(),_5e=gi(),E5e=So(),b5e={message:"must be equal to one of the allowed values",params:({schemaCode:n})=>(0,ls._)`{allowedValues: ${n}}`},T5e={keyword:"enum",schemaType:"array",error:b5e,code(n){(0,_5e.checkMetadata)(n);let{gen:e,data:l,schema:t,schemaValue:r,parentSchema:i,it:s}=n;if(t.length===0)throw new Error("enum must have non-empty array");if(t.length!==new Set(t).size)throw new Error("enum items must be unique");let u,a=(0,ls._)`typeof ${l} == "string"`;if(t.length>=s.opts.loopEnum){let f;[u,f]=(0,E5e.checkNullable)(n,a),e.if(f,c)}else{if(!Array.isArray(t))throw new Error("ajv implementation error");u=(0,ls.and)(a,(0,ls.or)(...t.map(f=>(0,ls._)`${l} === ${f}`))),i.nullable&&(u=(0,ls.or)((0,ls._)`${l} === null`,u))}n.pass(u);function c(){e.forOf("v",r,f=>e.if((0,ls._)`${u} = ${l} === ${f}`,()=>e.break()))}}};ay.default=T5e});var FD=C(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});var S5e=En(),x5e=Kt(),LD=Ze(),A5e=gi(),w5e=So(),O5e=Eo(),R5e={keyword:"elements",schemaType:"object",error:(0,O5e.typeError)("array"),code(n){(0,A5e.checkMetadata)(n);let{gen:e,data:l,schema:t,it:r}=n;if((0,S5e.alwaysValidSchema)(r,t))return;let[i]=(0,w5e.checkNullable)(n);e.if((0,LD.not)(i),()=>e.if((0,LD._)`Array.isArray(${l})`,()=>e.assign(i,(0,x5e.validateArray)(n)),()=>n.error())),n.ok(i)}};oy.default=R5e});var fy=C(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.validateProperties=ts.error=void 0;var cy=Kt(),MD=En(),yi=Ze(),N5e=gi(),I5e=So(),$D=Eo(),xo;(function(n){n.Additional="additional",n.Missing="missing"})(xo||(xo={}));ts.error={message:n=>{let{params:e}=n;return e.propError?e.propError===xo.Additional?"must NOT have additional properties":`must have property '${e.missingProperty}'`:(0,$D.typeErrorMessage)(n,"object")},params:n=>{let{params:e}=n;return e.propError?e.propError===xo.Additional?(0,yi._)`{error: ${e.propError}, additionalProperty: ${e.additionalProperty}}`:(0,yi._)`{error: ${e.propError}, missingProperty: ${e.missingProperty}}`:(0,$D.typeErrorParams)(n,"object")}};var C5e={keyword:"properties",schemaType:"object",error:ts.error,code:jD};function jD(n){(0,N5e.checkMetadata)(n);let{gen:e,data:l,parentSchema:t,it:r}=n,{additionalProperties:i,nullable:s}=t;if(r.jtdDiscriminator&&s)throw new Error("JTD: nullable inside discriminator mapping");if(h())throw new Error("JTD: properties and optionalProperties have common members");let[u,a]=g("properties"),[c,f]=g("optionalProperties");if(a.length===0&&f.length===0&&i)return;let[p,m]=r.jtdDiscriminator===void 0?(0,I5e.checkNullableObject)(n,l):[e.let("valid",!1),!0];e.if(m,()=>e.assign(p,!0).block(()=>{_(a,"properties",!0),_(f,"optionalProperties"),i||T()})),n.pass(p);function h(){let v=t.properties,b=t.optionalProperties;if(!(v&&b))return!1;for(let w in v)if(Object.prototype.hasOwnProperty.call(b,w))return!0;return!1}function g(v){let b=t[v],w=b?(0,cy.allSchemaProperties)(b):[];if(r.jtdDiscriminator&&w.some(R=>R===r.jtdDiscriminator))throw new Error(`JTD: discriminator tag used in ${v}`);let N=w.filter(R=>!(0,MD.alwaysValidSchema)(r,b[R]));return[w,N]}function _(v,b,w){let N=e.var("valid");for(let k of v)e.if((0,cy.propertyInData)(e,l,k,r.opts.ownProperties),()=>S(k,b,N),()=>R(k)),n.ok(N);function R(k){w?(e.assign(N,!1),n.error(!1,{propError:xo.Missing,missingProperty:k},{schemaPath:k})):e.assign(N,!0)}}function S(v,b,w){n.subschema({keyword:b,schemaProp:v,dataProp:v},w)}function T(){e.forIn("key",l,v=>{let b=x(v,u,"properties",r.jtdDiscriminator),w=x(v,c,"optionalProperties"),N=b===!0?w:w===!0?b:(0,yi.and)(b,w);e.if(N,()=>{r.opts.removeAdditional?e.code((0,yi._)`delete ${l}[${v}]`):(n.error(!1,{propError:xo.Additional,additionalProperty:v},{instancePath:v,parentSchema:!0}),r.opts.allErrors||e.break())})})}function x(v,b,w,N){let R;if(b.length>8){let k=(0,MD.schemaRefOrVal)(r,t[w],w);R=(0,yi.not)((0,cy.isOwnProperty)(e,k,v)),N!==void 0&&(R=(0,yi.and)(R,(0,yi._)`${v} !== ${N}`))}else if(b.length||N!==void 0){let k=N===void 0?b:[N].concat(b);R=(0,yi.and)(...k.map(j=>(0,yi._)`${v} !== ${j}`))}else R=!0;return R}}ts.validateProperties=jD;ts.default=C5e});var BD=C(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});var UD=fy(),k5e={keyword:"optionalProperties",schemaType:"object",error:UD.error,code(n){n.parentSchema.properties||(0,UD.validateProperties)(n)}};py.default=k5e});var qD=C(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});var Du=Ze(),P5e=gi(),D5e=So(),HD=Eo(),$9=Pm(),L5e={message:n=>{let{schema:e,params:l}=n;return l.discrError?l.discrError===$9.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in mapping`:(0,HD.typeErrorMessage)(n,"object")},params:n=>{let{schema:e,params:l}=n;return l.discrError?(0,Du._)`{error: ${l.discrError}, tag: ${e}, tagValue: ${l.tag}}`:(0,HD.typeErrorParams)(n,"object")}},F5e={keyword:"discriminator",schemaType:"string",implements:["mapping"],error:L5e,code(n){(0,P5e.checkMetadata)(n);let{gen:e,data:l,schema:t,parentSchema:r}=n,[i,s]=(0,D5e.checkNullableObject)(n,l);e.if(s),u(),e.elseIf((0,Du.not)(i)),n.error(),e.endIf(),n.ok(i);function u(){let f=e.const("tag",(0,Du._)`${l}${(0,Du.getProperty)(t)}`);e.if((0,Du._)`${f} === undefined`),n.error(!1,{discrError:$9.DiscrError.Tag,tag:f}),e.elseIf((0,Du._)`typeof ${f} == "string"`),a(f),e.else(),n.error(!1,{discrError:$9.DiscrError.Tag,tag:f},{instancePath:t}),e.endIf()}function a(f){e.if(!1);for(let p in r.mapping)e.elseIf((0,Du._)`${f} === ${p}`),e.assign(i,c(p));e.else(),n.error(!1,{discrError:$9.DiscrError.Mapping,tag:f},{instancePath:t,schemaPath:"mapping",parentSchema:!0}),e.endIf()}function c(f){let p=e.name("valid");return n.subschema({keyword:"mapping",schemaProp:f,jtdDiscriminator:t},p),p}}};dy.default=F5e});var zD=C(hy=>{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});var VD=En(),j9=Ze(),M5e=gi(),$5e=So(),j5e=Eo(),U5e={keyword:"values",schemaType:"object",error:(0,j5e.typeError)("object"),code(n){(0,M5e.checkMetadata)(n);let{gen:e,data:l,schema:t,it:r}=n,[i,s]=(0,$5e.checkNullableObject)(n,l);(0,VD.alwaysValidSchema)(r,t)?e.if((0,j9.not)((0,j9.or)(s,i)),()=>n.error()):(e.if(s),e.assign(i,u()),e.elseIf((0,j9.not)(i)),n.error(),e.endIf()),n.ok(i);function u(){let a=e.name("valid");if(r.allErrors){let f=e.let("valid",!0);return c(()=>e.assign(f,!1)),f}return e.var(a,!0),c(()=>e.break()),a;function c(f){e.forIn("key",l,p=>{n.subschema({keyword:"values",dataProp:p,dataPropType:VD.Type.Str},a),e.if((0,j9.not)(a),f)})}}}};hy.default=U5e});var GD=C(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});var B5e=Kt(),H5e={keyword:"union",schemaType:"array",trackErrors:!0,code:B5e.validateUnion,error:{message:"must match a schema in union"}};my.default=H5e});var XD=C(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});var q5e=F9(),V5e=uy(),z5e=DD(),G5e=FD(),X5e=fy(),W5e=BD(),K5e=qD(),Y5e=zD(),J5e=GD(),Q5e=gi(),Z5e=["definitions",q5e.default,V5e.default,z5e.default,G5e.default,X5e.default,W5e.default,K5e.default,Y5e.default,J5e.default,Q5e.default,{keyword:"additionalProperties",schemaType:"boolean"},{keyword:"nullable",schemaType:"boolean"}];gy.default=Z5e});var JD=C(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});var vi=n=>{let e={nullable:{type:"boolean"},metadata:{optionalProperties:{union:{elements:{ref:"schema"}}},additionalProperties:!0}};return n&&(e.definitions={values:{ref:"schema"}}),e},e6e=n=>({optionalProperties:vi(n)}),n6e=n=>({properties:{ref:{type:"string"}},optionalProperties:vi(n)}),l6e=n=>({properties:{type:{enum:["boolean","timestamp","string","float32","float64","int8","uint8","int16","uint16","int32","uint32"]}},optionalProperties:vi(n)}),t6e=n=>({properties:{enum:{elements:{type:"string"}}},optionalProperties:vi(n)}),r6e=n=>({properties:{elements:{ref:"schema"}},optionalProperties:vi(n)}),KD=n=>({properties:{properties:{values:{ref:"schema"}}},optionalProperties:{optionalProperties:{values:{ref:"schema"}},additionalProperties:{type:"boolean"},...vi(n)}}),YD=n=>({properties:{optionalProperties:{values:{ref:"schema"}}},optionalProperties:{additionalProperties:{type:"boolean"},...vi(n)}}),i6e=n=>({properties:{discriminator:{type:"string"},mapping:{values:{metadata:{union:[KD(!1),YD(!1)]}}}},optionalProperties:vi(n)}),s6e=n=>({properties:{values:{ref:"schema"}},optionalProperties:vi(n)}),WD=n=>({metadata:{union:[e6e,n6e,l6e,t6e,r6e,KD,YD,i6e,s6e].map(e=>e(n))}}),u6e={definitions:{schema:WD(!1)},...WD(!0)};yy.default=u6e});var vy=C(U9=>{"use strict";Object.defineProperty(U9,"__esModule",{value:!0});U9.jtdForms=void 0;U9.jtdForms=["elements","values","discriminator","properties","optionalProperties","enum","type","ref"]});var ZD=C(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});var _y=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a6e={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function QD(n){return _y.lastIndex=0,'"'+(_y.test(n)?n.replace(_y,e=>{let l=a6e[e];return typeof l=="string"?l:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}):n)+'"'}Ey.default=QD;QD.code='require("ajv/dist/runtime/quote").default'});var iL=C(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});var o6e=vy(),nL=Su(),Ln=Ze(),c6e=Yi(),kl=_3(),f6e=Kt(),p6e=F9(),d6e=En(),h6e=ZD(),m6e={elements:y6e,values:v6e,discriminator:_6e,properties:eL,optionalProperties:eL,enum:a1,type:E6e,ref:T6e};function lL(n,e){let l=nL.getCompilingSchema.call(this,n);if(l)return l;let{es5:t,lines:r}=this.opts.code,{ownProperties:i}=this.opts,s=new Ln.CodeGen(this.scope,{es5:t,lines:r,ownProperties:i}),u=s.scopeName("serialize"),a={self:this,gen:s,schema:n.schema,schemaEnv:n,definitions:e,data:kl.default.data},c;try{this._compilations.add(n),n.serializeName=u,s.func(u,kl.default.data,!1,()=>{s.let(kl.default.json,(0,Ln.str)``),o1(a),s.return(kl.default.json)}),s.optimize(this.opts.code.optimize);let f=s.toString();c=`${s.scopeRefs(kl.default.scope)}return ${f}`;let m=new Function(`${kl.default.scope}`,c)(this.scope.get());this.scope.value(u,{ref:m}),n.serialize=m}catch(f){throw c&&this.logger.error("Error compiling serializer, function code:",c),delete n.serialize,delete n.serializeName,f}finally{this._compilations.delete(n)}return n}Ty.default=lL;function o1(n){let e;for(let l of o6e.jtdForms)if(l in n.schema){e=l;break}g6e(n,e?m6e[e]:x6e)}function g6e(n,e){let{gen:l,schema:t,data:r}=n;if(!t.nullable)return e(n);l.if((0,Ln._)`${r} === undefined || ${r} === null`,()=>l.add(kl.default.json,(0,Ln._)`"null"`),()=>e(n))}function y6e(n){let{gen:e,schema:l,data:t}=n;e.add(kl.default.json,(0,Ln.str)`[`);let r=e.let("first",!0);e.forOf("el",t,i=>{by(n,r),o1({...n,schema:l.elements,data:i})}),e.add(kl.default.json,(0,Ln.str)`]`)}function v6e(n){let{gen:e,schema:l,data:t}=n;e.add(kl.default.json,(0,Ln.str)`{`);let r=e.let("first",!0);e.forIn("key",t,i=>tL(n,i,l.values,r)),e.add(kl.default.json,(0,Ln.str)`}`)}function tL(n,e,l,t){let{gen:r,data:i}=n;by(n,t),a1({...n,data:e}),r.add(kl.default.json,(0,Ln.str)`:`);let s=r.const("value",(0,Ln._)`${i}${(0,Ln.getProperty)(e)}`);o1({...n,schema:l,data:s})}function _6e(n){let{gen:e,schema:l,data:t}=n,{discriminator:r}=l;e.add(kl.default.json,(0,Ln.str)`{${JSON.stringify(r)}:`);let i=e.const("tag",(0,Ln._)`${t}${(0,Ln.getProperty)(r)}`);a1({...n,data:i}),e.if(!1);for(let s in l.mapping){e.elseIf((0,Ln._)`${i} === ${s}`);let u=l.mapping[s];rL({...n,schema:u},r)}e.endIf(),e.add(kl.default.json,(0,Ln.str)`}`)}function eL(n){let{gen:e}=n;e.add(kl.default.json,(0,Ln.str)`{`),rL(n),e.add(kl.default.json,(0,Ln.str)`}`)}function rL(n,e){let{gen:l,schema:t,data:r}=n,{properties:i,optionalProperties:s}=t,u=m(i),a=m(s),c=h(u.concat(a)),f=!e,p;for(let T of u)f?f=!1:l.add(kl.default.json,(0,Ln.str)`,`),_(T,i[T],g(T));f&&(p=l.let("first",!0));for(let T of a){let x=g(T);l.if((0,Ln.and)((0,Ln._)`${x} !== undefined`,(0,f6e.isOwnProperty)(l,r,T)),()=>{by(n,p),_(T,s[T],x)})}t.additionalProperties&&l.forIn("key",r,T=>l.if(S(T,c),()=>tL(n,T,{},p)));function m(T){return T?Object.keys(T):[]}function h(T){if(e&&T.push(e),new Set(T).size!==T.length)throw new Error("JTD: properties/optionalProperties/disciminator overlap");return T}function g(T){return l.const("value",(0,Ln._)`${r}${(0,Ln.getProperty)(T)}`)}function _(T,x,v){l.add(kl.default.json,(0,Ln.str)`${JSON.stringify(T)}:`),o1({...n,schema:x,data:v})}function S(T,x){return x.length?(0,Ln.and)(...x.map(v=>(0,Ln._)`${T} !== ${v}`)):!0}}function E6e(n){let{gen:e,schema:l,data:t}=n;switch(l.type){case"boolean":e.add(kl.default.json,(0,Ln._)`${t} ? "true" : "false"`);break;case"string":a1(n);break;case"timestamp":e.if((0,Ln._)`${t} instanceof Date`,()=>e.add(kl.default.json,(0,Ln._)`'"' + ${t}.toISOString() + '"'`),()=>a1(n));break;default:b6e(n)}}function a1({gen:n,data:e}){n.add(kl.default.json,(0,Ln._)`${(0,d6e.useFunc)(n,h6e.default)}(${e})`)}function b6e({gen:n,data:e}){n.add(kl.default.json,(0,Ln._)`"" + ${e}`)}function T6e(n){let{gen:e,self:l,data:t,definitions:r,schema:i,schemaEnv:s}=n,{ref:u}=i,a=r[u];if(!a)throw new c6e.default(l.opts.uriResolver,"",u,`No definition ${u}`);if(!(0,p6e.hasRef)(a))return o1({...n,schema:a});let{root:c}=s,f=lL.call(l,new nL.SchemaEnv({schema:a,root:c}),r);e.add(kl.default.json,(0,Ln._)`${S6e(e,f)}(${t})`)}function S6e(n,e){return e.serialize?n.scopeValue("serialize",{ref:e.serialize}):(0,Ln._)`${n.scopeValue("wrapper",{ref:e})}.serialize`}function x6e({gen:n,data:e}){n.add(kl.default.json,(0,Ln._)`JSON.stringify(${e})`)}function by({gen:n},e){e?n.if(e,()=>n.assign(e,!1),()=>n.add(kl.default.json,(0,Ln.str)`,`)):n.add(kl.default.json,(0,Ln.str)`,`)}});var uL=C(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.parseJsonString=is.parseJsonNumber=is.parseJson=void 0;var A6e=/position\s(\d+)$/;function _i(n,e){let l;_i.message=void 0;let t;e&&(n=n.slice(e));try{return _i.position=e+n.length,JSON.parse(n)}catch(r){if(t=A6e.exec(r.message),!t){_i.message="unexpected end";return}l=+t[1];let i=n[l];n=n.slice(0,l),_i.position=e+l;try{return JSON.parse(n)}catch{_i.message=`unexpected token ${i}`;return}}}is.parseJson=_i;_i.message=void 0;_i.position=0;_i.code='require("ajv/dist/runtime/parseJson").parseJson';function Ei(n,e,l){let t="",r;if(Ei.message=void 0,n[e]==="-"&&(t+="-",e++),n[e]==="0")t+="0",e++;else if(!i(l)){s();return}if(l)return Ei.position=e,+t;if(n[e]==="."&&(t+=".",e++,!i())){s();return}if(r=n[e],(r==="e"||r==="E")&&(t+="e",e++,r=n[e],(r==="+"||r==="-")&&(t+=r,e++),!i())){s();return}return Ei.position=e,+t;function i(u){let a=!1;for(;r=n[e],r>="0"&&r<="9"&&(u===void 0||u-- >0);)a=!0,t+=r,e++;return a}function s(){Ei.position=e,Ei.message=e ="a"&&t<="f")s+=t.charCodeAt(0)-w6e+10;else if(t>="0"&&t<="9")s+=t.charCodeAt(0)-O6e;else{r(`unexpected token ${t}`);return}e++}l+=String.fromCharCode(s)}else{r(`unexpected token ${t}`);return}else if(t===void 0){r("unexpected end");return}else if(t.charCodeAt(0)>=32)l+=t;else{r(`unexpected token ${t}`);return}return rs.position=e,l;function r(i){rs.position=e,rs.message=i}}is.parseJsonString=rs;rs.message=void 0;rs.position=0;rs.code='require("ajv/dist/runtime/parseJson").parseJsonString'});var vL=C(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});var R6e=vy(),fL=Su(),ze=Ze(),N6e=Yi(),kn=_3(),I6e=Kt(),C6e=F9(),k6e=uy(),Ay=uL(),pL=En(),P6e=sy(),D6e={elements:$6e,values:j6e,discriminator:B6e,properties:aL,optionalProperties:aL,enum:q6e,type:H6e,ref:V6e};function dL(n,e){let l=fL.getCompilingSchema.call(this,n);if(l)return l;let{es5:t,lines:r}=this.opts.code,{ownProperties:i}=this.opts,s=new ze.CodeGen(this.scope,{es5:t,lines:r,ownProperties:i}),u=s.scopeName("parse"),a={self:this,gen:s,schema:n.schema,schemaEnv:n,definitions:e,data:kn.default.data,parseName:u,char:s.name("c")},c;try{this._compilations.add(n),n.parseName=u,L6e(a),s.optimize(this.opts.code.optimize);let f=s.toString();c=`${s.scopeRefs(kn.default.scope)}return ${f}`;let m=new Function(`${kn.default.scope}`,c)(this.scope.get());this.scope.value(u,{ref:m}),n.parse=m}catch(f){throw c&&this.logger.error("Error compiling parser, function code:",c),delete n.parse,delete n.parseName,f}finally{this._compilations.delete(n)}return n}Iy.default=dL;var xy=(0,ze._)`undefined`;function L6e(n){let{gen:e,parseName:l,char:t}=n;e.func(l,(0,ze._)`${kn.default.json}, ${kn.default.jsonPos}, ${kn.default.jsonPart}`,!1,()=>{e.let(kn.default.data),e.let(t),e.assign((0,ze._)`${l}.message`,xy),e.assign((0,ze._)`${l}.position`,xy),e.assign(kn.default.jsonPos,(0,ze._)`${kn.default.jsonPos} || 0`),e.const(kn.default.jsonLen,(0,ze._)`${kn.default.json}.length`),B9(n),Ny(n),e.if(kn.default.jsonPart,()=>{e.assign((0,ze._)`${l}.position`,kn.default.jsonPos),e.return(kn.default.data)}),e.if((0,ze._)`${kn.default.jsonPos} === ${kn.default.jsonLen}`,()=>e.return(kn.default.data)),Ao(n)})}function B9(n){let e;for(let l of R6e.jtdForms)if(l in n.schema){e=l;break}e?M6e(n,D6e[e]):Oy(n)}var F6e=cL(!0,cL(!1,Ao));function M6e(n,e){let{gen:l,schema:t,data:r}=n;if(!t.nullable)return e(n);c1(n,"null",e,()=>l.assign(r,null))}function $6e(n){let{gen:e,schema:l,data:t}=n;xr(n,"[");let r=e.let("i",0);e.assign(t,(0,ze._)`[]`),wy(n,"]",()=>{let i=e.let("el");B9({...n,schema:l.elements,data:i}),e.assign((0,ze._)`${t}[${r}++]`,i)})}function j6e(n){let{gen:e,schema:l,data:t}=n;xr(n,"{"),e.assign(t,(0,ze._)`{}`),wy(n,"}",()=>U6e(n,l.values))}function wy(n,e,l){hL(n,e,l),xr(n,e)}function hL(n,e,l){let{gen:t}=n;t.for((0,ze._)`;${kn.default.jsonPos}<${kn.default.jsonLen} && ${H9(1)}!==${e};`,()=>{l(),c1(n,",",()=>t.break(),r)});function r(){c1(n,e,()=>{},Ao)}}function U6e(n,e){let{gen:l}=n,t=l.let("key");Lu({...n,data:t}),xr(n,":"),gL(n,t,e)}function B6e(n){let{gen:e,data:l,schema:t}=n,{discriminator:r,mapping:i}=t;xr(n,"{"),e.assign(l,(0,ze._)`{}`);let s=e.const("pos",kn.default.jsonPos),u=e.let("value"),a=e.let("tag");hL(n,"}",()=>{let c=e.let("key");Lu({...n,data:c}),xr(n,":"),e.if((0,ze._)`${c} === ${r}`,()=>{Lu({...n,data:a}),e.assign((0,ze._)`${l}[${c}]`,a),e.break()},()=>Oy({...n,data:u}))}),e.assign(kn.default.jsonPos,s),e.if((0,ze._)`${a} === undefined`),bi(n,(0,ze.str)`discriminator tag not found`);for(let c in i)e.elseIf((0,ze._)`${a} === ${c}`),mL({...n,schema:i[c]},r);e.else(),bi(n,(0,ze.str)`discriminator value not in schema`),e.endIf()}function aL(n){let{gen:e,data:l}=n;xr(n,"{"),e.assign(l,(0,ze._)`{}`),mL(n)}function mL(n,e){let{gen:l,schema:t,data:r}=n,{properties:i,optionalProperties:s,additionalProperties:u}=t;if(wy(n,"}",()=>{let a=l.let("key");if(Lu({...n,data:a}),xr(n,":"),l.if(!1),oL(n,a,i),oL(n,a,s),e){l.elseIf((0,ze._)`${a} === ${e}`);let c=l.let("tag");Lu({...n,data:c})}l.else(),u?Oy({...n,data:(0,ze._)`${r}[${a}]`}):bi(n,(0,ze.str)`property ${a} not allowed`),l.endIf()}),i){let a=(0,I6e.hasPropFunc)(l),c=(0,ze.and)(...Object.keys(i).map(f=>(0,ze._)`${a}.call(${r}, ${f})`));l.if((0,ze.not)(c),()=>bi(n,(0,ze.str)`missing required properties`))}}function oL(n,e,l={}){let{gen:t}=n;for(let r in l)t.elseIf((0,ze._)`${e} === ${r}`),gL(n,e,l[r])}function gL(n,e,l){B9({...n,schema:l,data:(0,ze._)`${n.data}[${e}]`})}function H6e(n){let{gen:e,schema:l,data:t,self:r}=n;switch(l.type){case"boolean":F6e(n);break;case"string":Lu(n);break;case"timestamp":{Lu(n);let i=(0,pL.useFunc)(e,P6e.default),{allowDate:s,parseDate:u}=r.opts,a=s?(0,ze._)`!${i}(${t}, true)`:(0,ze._)`!${i}(${t})`,c=u?(0,ze.or)(a,(0,ze._)`(${t} = new Date(${t}), false)`,(0,ze._)`isNaN(${t}.valueOf())`):a;e.if(c,()=>bi(n,(0,ze.str)`invalid timestamp`));break}case"float32":case"float64":Sy(n);break;default:{let i=l.type;if(!r.opts.int32range&&(i==="int32"||i==="uint32"))Sy(n,16),i==="uint32"&&e.if((0,ze._)`${t} < 0`,()=>bi(n,(0,ze.str)`integer out of range`));else{let[s,u,a]=k6e.intRange[i];Sy(n,a),e.if((0,ze._)`${t} < ${s} || ${t} > ${u}`,()=>bi(n,(0,ze.str)`integer out of range`))}}}}function Lu(n){xr(n,'"'),Ry(n,Ay.parseJsonString)}function q6e(n){let{gen:e,data:l,schema:t}=n,r=t.enum;xr(n,'"'),e.if(!1);for(let i of r){let s=JSON.stringify(i).slice(1);e.elseIf((0,ze._)`${H9(s.length)} === ${s}`),e.assign(l,(0,ze.str)`${i}`),e.add(kn.default.jsonPos,s.length)}e.else(),Ao(n),e.endIf()}function Sy(n,e){let{gen:l}=n;Ny(n),l.if((0,ze._)`"-0123456789".indexOf(${H9(1)}) < 0`,()=>Ao(n),()=>Ry(n,Ay.parseJsonNumber,e))}function cL(n,e){return l=>{let{gen:t,data:r}=l;c1(l,`${n}`,()=>e(l),()=>t.assign(r,n))}}function V6e(n){let{gen:e,self:l,definitions:t,schema:r,schemaEnv:i}=n,{ref:s}=r,u=t[s];if(!u)throw new N6e.default(l.opts.uriResolver,"",s,`No definition ${s}`);if(!(0,C6e.hasRef)(u))return B9({...n,schema:u});let{root:a}=i,c=dL.call(l,new fL.SchemaEnv({schema:u,root:a}),t);yL(n,z6e(e,c),!0)}function z6e(n,e){return e.parse?n.scopeValue("parse",{ref:e.parse}):(0,ze._)`${n.scopeValue("wrapper",{ref:e})}.parse`}function Oy(n){Ry(n,Ay.parseJson)}function Ry(n,e,l){yL(n,(0,pL.useFunc)(n.gen,e),l)}function yL(n,e,l){let{gen:t,data:r}=n;t.assign(r,(0,ze._)`${e}(${kn.default.json}, ${kn.default.jsonPos}${l?(0,ze._)`, ${l}`:ze.nil})`),t.assign(kn.default.jsonPos,(0,ze._)`${e}.position`),t.if((0,ze._)`${r} === undefined`,()=>bi(n,(0,ze._)`${e}.message`))}function xr(n,e){c1(n,e,Ao)}function c1(n,e,l,t){let{gen:r}=n,i=e.length;Ny(n),r.if((0,ze._)`${H9(i)} === ${e}`,()=>{r.add(kn.default.jsonPos,i),t?.(n)},()=>l(n))}function Ny({gen:n,char:e}){n.code((0,ze._)`while((${e}=${kn.default.json}[${kn.default.jsonPos}],${e}===" "||${e}==="\\n"||${e}==="\\r"||${e}==="\\t"))${kn.default.jsonPos}++;`)}function H9(n){return n===1?(0,ze._)`${kn.default.json}[${kn.default.jsonPos}]`:(0,ze._)`${kn.default.json}.slice(${kn.default.jsonPos}, ${kn.default.jsonPos}+${n})`}function Ao(n){bi(n,(0,ze._)`"unexpected token " + ${kn.default.json}[${kn.default.jsonPos}]`)}function bi({gen:n,parseName:e},l){n.assign((0,ze._)`${e}.message`,l),n.assign((0,ze._)`${e}.position`,kn.default.jsonPos),n.return(xy)}});var ky=C((zl,_L)=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.MissingRefError=zl.ValidationError=zl.CodeGen=zl.Name=zl.nil=zl.stringify=zl.str=zl._=zl.KeywordCxt=void 0;var G6e=zh(),X6e=XD(),W6e=JD(),K6e=iL(),Y6e=vL(),Cy="JTD-meta-schema",q9=class extends G6e.default{constructor(e={}){super({...e,jtd:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(X6e.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema(),this.opts.meta&&this.addMetaSchema(W6e.default,Cy,!1)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Cy)?Cy:void 0)}compileSerializer(e){let l=this._addSchema(e);return l.serialize||this._compileSerializer(l)}compileParser(e){let l=this._addSchema(e);return l.parse||this._compileParser(l)}_compileSerializer(e){if(K6e.default.call(this,e,e.schema.definitions||{}),!e.serialize)throw new Error("ajv implementation error");return e.serialize}_compileParser(e){if(Y6e.default.call(this,e,e.schema.definitions||{}),!e.parse)throw new Error("ajv implementation error");return e.parse}};_L.exports=zl=q9;Object.defineProperty(zl,"__esModule",{value:!0});zl.default=q9;var J6e=eo();Object.defineProperty(zl,"KeywordCxt",{enumerable:!0,get:function(){return J6e.KeywordCxt}});var wo=Ze();Object.defineProperty(zl,"_",{enumerable:!0,get:function(){return wo._}});Object.defineProperty(zl,"str",{enumerable:!0,get:function(){return wo.str}});Object.defineProperty(zl,"stringify",{enumerable:!0,get:function(){return wo.stringify}});Object.defineProperty(zl,"nil",{enumerable:!0,get:function(){return wo.nil}});Object.defineProperty(zl,"Name",{enumerable:!0,get:function(){return wo.Name}});Object.defineProperty(zl,"CodeGen",{enumerable:!0,get:function(){return wo.CodeGen}});var Q6e=S0();Object.defineProperty(zl,"ValidationError",{enumerable:!0,get:function(){return Q6e.default}});var Z6e=Yi();Object.defineProperty(zl,"MissingRefError",{enumerable:!0,get:function(){return Z6e.default}})});var Py=C((EAe,EL)=>{"use strict";var e8e=jm();EL.exports=Object.freeze({coerceTypes:"array",useDefaults:!0,removeAdditional:!0,uriResolver:e8e,addUsedSchema:!1,allErrors:!1})});var SL=C((bAe,TL)=>{"use strict";var n8e=K8().default,l8e=ky(),bL=Py(),Dy=class{constructor(e,l){l.mode==="JTD"?this.ajv=new l8e(Object.assign({},bL,l.customOptions)):this.ajv=new n8e(Object.assign({},bL,l.customOptions));let t=!0;if(l.plugins&&l.plugins.length>0)for(let i of l.plugins)Array.isArray(i)?(t=t&&i[0].name!=="formatsPlugin",i[0](this.ajv,i[1])):(t=t&&i.name!=="formatsPlugin",i(this.ajv));t&&Gm()(this.ajv);let r=Object.values(e);for(let i of r)this.ajv.addSchema(i)}buildValidatorFunction({schema:e}){if(e.$id){let l=this.ajv.getSchema(e.$id);if(l)return l}return this.ajv.compile(e)}};TL.exports=Dy});var AL=C((TAe,xL)=>{"use strict";var t8e=ky(),r8e=Py(),Ly=class{constructor(e,l){this.ajv=new t8e(Object.assign({},r8e,l))}buildSerializerFunction({schema:e}){return this.ajv.compileSerializer(e)}};xL.exports=Ly});var RL=C((p1,OL)=>{"use strict";Object.defineProperty(p1,"__esModule",{value:!0});var f1=T8(),W3=Ga();function wL(n,e){if(!n.opts.code.source)throw new Error("moduleCode: ajv instance must have code.source option");let{_n:l}=n.scope.opts;return typeof e=="function"?r(e.source):e!==void 0?i(e,t):i(n.schemas,u=>u.meta?void 0:n.compile(u.schema));function t(u){let a=n.getSchema(u);if(!a)throw new Error(`moduleCode: no schema with id ${u}`);return a}function r(u){let a={},c=u?.validateName,f=s(a,u);return n.opts.code.esm?`"use strict";${l}export const validate = ${c};${l}export default ${c};${l}${f}`:`"use strict";${l}module.exports = ${c};${l}module.exports.default = ${c};${l}${f}`}function i(u,a){var c;let f={},p=(0,W3._)`"use strict";`;for(let m in u){let h=a(u[m]);if(h){let g=s(f,h.source),_=n.opts.code.esm?(0,W3._)`export const ${(0,W3.getEsmExportName)(m)}`:(0,W3._)`exports${(0,W3.getProperty)(m)}`;p=(0,W3._)`${p}${l}${_} = ${(c=h.source)===null||c===void 0?void 0:c.validateName};${l}${g}`}}return`${p}`}function s(u,a){if(!a)throw new Error('moduleCode: function does not have "source" property');if(m(a.validateName)===f1.UsedValueState.Completed)return W3.nil;h(a.validateName,f1.UsedValueState.Started);let c=n.scope.scopeCode(a.scopeValues,u,p),f=new W3._Code(`${c}${l}${a.validateCode}`);return a.evaluated?(0,W3._)`${f}${a.validateName}.evaluated = ${a.evaluated};${l}`:f;function p(g){var _;let S=(_=g.value)===null||_===void 0?void 0:_.ref;if(g.prefix==="validate"&&typeof S=="function")return s(u,S.source);if((g.prefix==="root"||g.prefix==="wrapper")&&typeof S=="object"){let{validate:T,validateName:x}=S;if(!x)throw new Error("ajv internal error");let v=n.opts.code.es5?f1.varKinds.var:f1.varKinds.const,b=(0,W3._)`${v} ${g} = {validate: ${x}};`;if(m(x)===f1.UsedValueState.Started)return b;let w=s(u,T?.source);return(0,W3._)`${b}${l}${w}`}}function m(g){var _;return(_=u[g.prefix])===null||_===void 0?void 0:_.get(g)}function h(g,_){let{prefix:S}=g;(u[S]=u[S]||new Map).set(g,_)}}}OL.exports=p1=wL;Object.defineProperty(p1,"__esModule",{value:!0});p1.default=wL});var CL=C((SAe,IL)=>{"use strict";var NL=Fy(),i8e=RL().default;function s8e(n={readMode:!0}){if(n.readMode===!0&&!n.restoreFunction)throw new Error("You must provide a restoreFunction options when readMode ON");if(n.readMode!==!0&&!n.storeFunction)throw new Error("You must provide a storeFunction options when readMode OFF");if(n.readMode===!0)return function(){return function(t){return n.restoreFunction(t)}};let e=NL();return function(t,r={}){(!r.customOptions||!r.customOptions.code)&&(r.customOptions=Object.assign({},r.customOptions,{code:{source:!0}}));let i=e(t,r);return function(s){let u=i(s),a=i8e(i[NL.AjvReference].ajv,u);return n.storeFunction(s,a),u}}}IL.exports=s8e});var Fy=C((xAe,Oo)=>{"use strict";var PL=Symbol.for("fastify.ajv-compiler.reference"),u8e=SL(),a8e=AL();function My(n){let e=new Map,l=new Map;return n&&n.jtdSerializer===!0?function(r,i){let s=kL({},i);if(l.has(s))return l.get(s);let u=new a8e(r,i),a=u.buildSerializerFunction.bind(u);return l.set(s,a),a}:function(r,i){let s=kL(r,i.customOptions);if(e.has(s))return e.get(s);let u=new u8e(r,i),a=u.buildValidatorFunction.bind(u);return e.set(s,a),i.customOptions.code!==void 0&&(a[PL]=u),a}}function kL(n,e){let l=JSON.stringify(n),t=JSON.stringify(e);return`${l}${t}`}Oo.exports=My;Oo.exports.default=My;Oo.exports.AjvCompiler=My;Oo.exports.AjvReference=PL;Oo.exports.StandaloneValidator=CL()});var $y=C((AAe,DL)=>{"use strict";var{buildSchemas:o8e}=o0(),c8e=ly(),f8e=Fy();function p8e(n,e){if(n)return new Ro(n,e);let l=Object.assign({buildValidator:null,buildSerializer:null},e?.compilersFactory);l.buildValidator||(l.buildValidator=f8e()),l.buildSerializer||(l.buildSerializer=c8e());let t={bucket:e&&e.bucket||o8e,compilersFactory:l,isCustomValidatorCompiler:typeof e?.compilersFactory?.buildValidator=="function",isCustomSerializerCompiler:typeof e?.compilersFactory?.buildValidator=="function"};return new Ro(void 0,t)}var Ro=class{constructor(e,l){this.opts=l||e?.opts,this.addedSchemas=!1,this.compilersFactory=this.opts.compilersFactory,e?(this.schemaBucket=this.opts.bucket(e.getSchemas()),this.validatorCompiler=e.getValidatorCompiler(),this.serializerCompiler=e.getSerializerCompiler(),this.isCustomValidatorCompiler=e.isCustomValidatorCompiler,this.isCustomSerializerCompiler=e.isCustomSerializerCompiler,this.parent=e):(this.schemaBucket=this.opts.bucket(),this.isCustomValidatorCompiler=this.opts.isCustomValidatorCompiler||!1,this.isCustomSerializerCompiler=this.opts.isCustomSerializerCompiler||!1)}add(e){return this.addedSchemas=!0,this.schemaBucket.add(e)}getSchema(e){return this.schemaBucket.getSchema(e)}getSchemas(){return this.schemaBucket.getSchemas()}setValidatorCompiler(e){this.compilersFactory=Object.assign({},this.compilersFactory,{buildValidator:()=>e}),this.validatorCompiler=e,this.isCustomValidatorCompiler=!0}setSerializerCompiler(e){this.compilersFactory=Object.assign({},this.compilersFactory,{buildSerializer:()=>e}),this.serializerCompiler=e,this.isCustomSerializerCompiler=!0}getValidatorCompiler(){return this.validatorCompiler||this.parent&&this.parent.getValidatorCompiler()}getSerializerCompiler(){return this.serializerCompiler||this.parent&&this.parent.getSerializerCompiler()}getSerializerBuilder(){return this.compilersFactory.buildSerializer||this.parent&&this.parent.getSerializerBuilder()}getValidatorBuilder(){return this.compilersFactory.buildValidator||this.parent&&this.parent.getValidatorBuilder()}setupValidator(e){this.validatorCompiler!==void 0&&!this.addedSchemas||(this.validatorCompiler=this.getValidatorBuilder()(this.schemaBucket.getSchemas(),e.ajv))}setupSerializer(e){this.serializerCompiler!==void 0&&!this.addedSchemas||(this.serializerCompiler=this.getSerializerBuilder()(this.schemaBucket.getSchemas(),e.serializerOpts))}};Ro.buildSchemaController=p8e;DL.exports=Ro});var Vy=C((wAe,qy)=>{"use strict";var jy=Og(),By=require("node:assert"),Hy=Symbol.for("registered-plugin"),{kTestInternals:d8e}=jt(),{exist:h8e,existReply:m8e,existRequest:g8e}=Mg(),{FST_ERR_PLUGIN_VERSION_MISMATCH:y8e,FST_ERR_PLUGIN_NOT_PRESENT_IN_INSTANCE:v8e}=a2(),{FSTWRN002:_8e}=ii();function d1(n){return n[Symbol.for("plugin-meta")]}function LL(n){let e=FL(n);if(e)return e;let l=require.cache;if(l){let t=Object.keys(l);for(let r=0;r e.trim()).join(" -- ")}function FL(n){return n[Symbol.for("fastify.display-name")]}function ML(n){return!!n[Symbol.for("skip-override")]}function $L(n){let e=d1(n);if(!e)return;let l=e.dependencies;l&&(By(Array.isArray(l),"The dependencies should be an array of strings"),l.forEach(t=>{By(this[Hy].indexOf(t)>-1,`The dependency '${t}' of plugin '${e.name}' is not registered`)}))}function jL(n){let e=d1(n);if(!e)return;let{decorators:l,name:t}=e;l&&(l.fastify&&Uy(this,"Fastify",l.fastify,t),l.reply&&Uy(this,"Reply",l.reply,t),l.request&&Uy(this,"Request",l.request,t))}var b8e={Fastify:h8e,Request:g8e,Reply:m8e};function Uy(n,e,l,t){By(Array.isArray(l),"The decorators should be an array of strings"),l.forEach(r=>{let i=typeof t=="string"?` required by '${t}'`:"";if(!b8e[e].call(n,r))throw new v8e(r,i,e)})}function T8e(n){let e=d1(n);if(!e)return;let l=e.fastify,t=/-rc.+$/.test(this.version);if(!(t===!0&&jy.gt(this.version,jy.coerce(l))===!0)&&l&&jy.satisfies(this.version,l,{includePrerelease:t})===!1)throw new y8e(e.name,l,this.version)}function S8e(n){let e=d1(n);if(!e)return;let l=e.name;if(l)return this[Hy].push(l),l}function x8e(n,e){n.constructor.name==="AsyncFunction"&&n.length===3&&_8e(e||"anonymous")}function A8e(n){let e=S8e.call(this,n)||LL(n);return x8e.call(this,n,e),T8e.call(this,n),jL.call(this,n),$L.call(this,n),ML(n)}qy.exports={getPluginName:LL,getFuncPreview:E8e,kRegisteredPlugins:Hy,getDisplayName:FL,registerPlugin:A8e};qy.exports[d8e]={shouldSkipOverride:ML,getMeta:d1,checkDecorators:jL,checkDependencies:$L}});var V9=C((OAe,UL)=>{"use strict";function w8e(n,e){let l=e||R8e();return n?N8e(n,l):l}function O8e(n,e){return n.genReqId(e)}function R8e(){let e=0;return function(){return e=e+1&2147483647,`req-${e.toString(36)}`}}function N8e(n,e){return function(l){return l.headers[n]||e(l)}}UL.exports={getGenReqId:O8e,reqIdGenFactory:w8e}});var VL=C((RAe,qL)=>{"use strict";var BL=12,I8e=0,zy=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function C8e(n){var e=n.indexOf("%");if(e===-1)return n;for(var l=n.length,t="",r=0,i=0,s=e,u=BL;e>-1&&e >10),56320+(i&1023)),i=0,r=e+3,e=s=n.indexOf("%",r);else{if(u===I8e)return null;if(e+=3,e {"use strict";var zL=VL(),GL=/\+/g,XL=function(){};XL.prototype=Object.create(null);function P8e(n){let e=new XL;if(typeof n!="string")return e;let l=n.length,t="",r="",i=-1,s=-1,u=!1,a=!1,c=!1,f=!1,p=!1,m=0;for(let h=0;h i,p||(s=h),t=n.slice(i+1,s),p||t.length>0){c&&(t=t.replace(GL," ")),u&&(t=zL(t)||t),p&&(r=n.slice(s+1,h),f&&(r=r.replace(GL," ")),a&&(r=zL(r)||r));let g=e[t];g===void 0?e[t]=r:g.pop?g.push(r):e[t]=[g,r]}r="",i=h,s=h,u=!1,a=!1,c=!1,f=!1}else m===61?s<=i?s=h:a=!0:m===43?s>i?f=!0:c=!0:m===37&&(s>i?a=!0:u=!0);return e}WL.exports=P8e});var JL=C((IAe,YL)=>{var Ar=Array.from({length:256},(n,e)=>"%"+((e<16?"0":"")+e.toString(16)).toUpperCase()),D8e=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function L8e(n){let e=n.length;if(e===0)return"";let l="",t=0,r=0;e:for(;r >6]+Ar[128|i&63];continue}if(i<55296||i>=57344){t=r+1,l+=Ar[224|i>>12]+Ar[128|i>>6&63]+Ar[128|i&63];continue}if(++r,r>=e)throw new Error("URI malformed");let s=n.charCodeAt(r)&1023;t=r+1,i=65536+((i&1023)<<10|s),l+=Ar[240|i>>18]+Ar[128|i>>12&63]+Ar[128|i>>6&63]+Ar[128|i&63]}return t===0?n:t {"use strict";var{encodeString:Gy}=JL();function QL(n){let e=typeof n;return e==="string"?Gy(n):e==="bigint"?n.toString():e==="boolean"?n?"true":"false":e==="number"&&Number.isFinite(n)?n<1e21?""+n:Gy(""+n):""}function F8e(n){let e="";if(n===null||typeof n!="object")return e;let l="&",t=Object.keys(n),r=t.length,i=0;for(let s=0;s {"use strict";var nF=KL(),lF=eF(),tF={parse:nF,stringify:lF};h1.exports=tF;h1.exports.default=tF;h1.exports.parse=nF;h1.exports.stringify=lF});var m1=C((PAe,iF)=>{iF.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}});var Wy=C(ss=>{var sl=m1(),Xy=()=>[{type:sl.RANGE,from:48,to:57}],sF=()=>[{type:sl.CHAR,value:95},{type:sl.RANGE,from:97,to:122},{type:sl.RANGE,from:65,to:90}].concat(Xy()),uF=()=>[{type:sl.CHAR,value:9},{type:sl.CHAR,value:10},{type:sl.CHAR,value:11},{type:sl.CHAR,value:12},{type:sl.CHAR,value:13},{type:sl.CHAR,value:32},{type:sl.CHAR,value:160},{type:sl.CHAR,value:5760},{type:sl.RANGE,from:8192,to:8202},{type:sl.CHAR,value:8232},{type:sl.CHAR,value:8233},{type:sl.CHAR,value:8239},{type:sl.CHAR,value:8287},{type:sl.CHAR,value:12288},{type:sl.CHAR,value:65279}],M8e=()=>[{type:sl.CHAR,value:10},{type:sl.CHAR,value:13},{type:sl.CHAR,value:8232},{type:sl.CHAR,value:8233}];ss.words=()=>({type:sl.SET,set:sF(),not:!1});ss.notWords=()=>({type:sl.SET,set:sF(),not:!0});ss.ints=()=>({type:sl.SET,set:Xy(),not:!1});ss.notInts=()=>({type:sl.SET,set:Xy(),not:!0});ss.whitespace=()=>({type:sl.SET,set:uF(),not:!1});ss.notWhitespace=()=>({type:sl.SET,set:uF(),not:!0});ss.anyChar=()=>({type:sl.SET,set:M8e(),not:!0})});var oF=C(g1=>{var aF=m1(),No=Wy(),$8e="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?",j8e={0:0,t:9,n:10,v:11,f:12,r:13};g1.strToChars=function(n){var e=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g;return n=n.replace(e,function(l,t,r,i,s,u,a,c){if(r)return l;var f=t?8:i?parseInt(i,16):s?parseInt(s,16):u?parseInt(u,8):a?$8e.indexOf(a):j8e[c],p=String.fromCharCode(f);return/[[\]{}^$.|?*+()]/.test(p)&&(p="\\"+p),p}),n};g1.tokenizeClass=(n,e)=>{for(var l=[],t=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g,r,i;(r=t.exec(n))!=null;)if(r[1])l.push(No.words());else if(r[2])l.push(No.ints());else if(r[3])l.push(No.whitespace());else if(r[4])l.push(No.notWords());else if(r[5])l.push(No.notInts());else if(r[6])l.push(No.notWhitespace());else if(r[7])l.push({type:aF.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:r[10].charCodeAt(0)});else if(i=r[12])l.push({type:aF.CHAR,value:i.charCodeAt(0)});else return[l,t.lastIndex];g1.error(e,"Unterminated character class")};g1.error=(n,e)=>{throw new SyntaxError("Invalid regular expression: /"+n+"/: "+e)}});var cF=C(y1=>{var z9=m1();y1.wordBoundary=()=>({type:z9.POSITION,value:"b"});y1.nonWordBoundary=()=>({type:z9.POSITION,value:"B"});y1.begin=()=>({type:z9.POSITION,value:"^"});y1.end=()=>({type:z9.POSITION,value:"$"})});var fF=C((MAe,Ky)=>{var Io=oF(),A3=m1(),Fu=Wy(),G9=cF();Ky.exports=n=>{var e=0,l,t,r={type:A3.ROOT,stack:[]},i=r,s=r.stack,u=[],a=T=>{Io.error(n,`Nothing to repeat at column ${T-1}`)},c=Io.strToChars(n);for(l=c.length;e {"use strict";var pF=fF(),U8e=pF.types;dF.exports=function(n,e){e||(e={});var l=e.limit===void 0?25:e.limit;B8e(n)?n=n.source:typeof n!="string"&&(n=String(n));try{n=pF(n)}catch{return!1}var t=0;return function r(i,s){var u,a,c;if(i.type===U8e.REPETITION&&(s++,t++,s>1||t>l))return!1;if(i.options){for(u=0,c=i.options.length;u {"use strict";mF.exports={name:"__fmw_internal_strategy_merged_tree_http_method__",storage:function(){let n={};return{get:e=>n[e]||null,set:(e,l)=>{n[e]=l}}},deriveConstraint:n=>n.method,mustMatchWhenDerived:!0}});var TF=C((UAe,bF)=>{"use strict";var gF=Qa(),yF=X9(),vF=Symbol("treeData");function _F(n,e=""){let l="",t=Object.keys(n);for(let r=0;r {"use strict";var a5e=ry();function wD(n={readMode:!0}){if(n.readMode===!0&&typeof n.restoreFunction!="function")throw new Error("You must provide a function for the restoreFunction-option when readMode ON");if(n.readMode!==!0&&typeof n.storeFunction!="function")throw new Error("You must provide a function for the storeFunction-option when readMode OFF");if(n.readMode===!0)return function(){return function(t){return n.restoreFunction(t)}};let e=a5e();return function(t,r={}){r.mode="standalone";let i=e(t,r);return function(s){let u=i(s);return n.storeFunction(s,u),new Function(u)}}}ty.exports=wD;ty.exports.default=wD});var ry=C((fAe,s1)=>{"use strict";var o5e=AD();function iy(){return function(e,l){let t=Object.assign({},l,{schema:e});return c5e.bind(null,t)}}function c5e(n,{schema:e}){return n.schema&&e.$id&&n.schema[e.$id]&&(n.schema={...n.schema},delete n.schema[e.$id]),o5e(e,n)}s1.exports=iy;s1.exports.default=iy;s1.exports.SerializerSelector=iy;s1.exports.StandaloneSerializer=OD()});var yi=C(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});u1.checkMetadata=void 0;var f5e=En(),p5e={keyword:"metadata",schemaType:"object",code(n){ND(n);let{gen:e,schema:l,it:t}=n;if((0,f5e.alwaysValidSchema)(t,l))return;let r=e.name("valid");n.subschema({keyword:"metadata",jtdMetadata:!0},r),n.ok(r)}};function ND({it:n,keyword:e},l){if(n.jtdMetadata!==l)throw new Error(`JTD: "${e}" cannot be used in this schema location`)}u1.checkMetadata=ND;u1.default=p5e});var $9=C(o1=>{"use strict";Object.defineProperty(o1,"__esModule",{value:!0});o1.hasRef=void 0;var RD=Au(),a1=Ze(),d5e=Ji(),ID=E3(),CD=Kh(),h5e=yi(),m5e={keyword:"ref",schemaType:"string",code(n){(0,h5e.checkMetadata)(n);let{gen:e,data:l,schema:t,parentSchema:r,it:i}=n,{schemaEnv:{root:s}}=i,u=e.name("valid");r.nullable?(e.var(u,(0,a1._)`${l} === null`),e.if((0,a1.not)(u),a)):(e.var(u,!1),a()),n.ok(u);function a(){var p;let m=(p=s.schema.definitions)===null||p===void 0?void 0:p[t];if(!m)throw new d5e.default(i.opts.uriResolver,"",t,`No definition ${t}`);sy(m)||!i.opts.inlineRefs?c(m):f(m)}function c(p){let m=RD.compileSchema.call(i.self,new RD.SchemaEnv({schema:p,root:s,schemaPath:`/definitions/${t}`})),h=(0,CD.getValidate)(n,m),g=e.const("_errs",ID.default.errors);(0,CD.callRef)(n,h,m,m.$async),e.assign(u,(0,a1._)`${g} === ${ID.default.errors}`)}function f(p){let m=e.scopeValue("schema",i.opts.code.source===!0?{ref:p,code:(0,a1.stringify)(p)}:{ref:p});n.subschema({schema:p,dataTypes:[],schemaPath:a1.nil,topSchemaRef:m,errSchemaPath:`/definitions/${t}`},u)}}};function sy(n){for(let e in n){let l;if(e==="ref"||typeof(l=n[e])=="object"&&sy(l))return!0}return!1}o1.hasRef=sy;o1.default=m5e});var ay=C(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});var g5e=/t|\s/i,y5e=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,v5e=/^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:z|([+-]\d\d)(?::?(\d\d))?)$/i,_5e=[0,31,28,31,30,31,30,31,31,30,31,30,31];function PD(n,e){let l=n.split(g5e);return l.length===2&&kD(l[0])&&E5e(l[1])||e&&l.length===1&&kD(l[0])}uy.default=PD;function kD(n){let e=y5e.exec(n);if(!e)return!1;let l=+e[1],t=+e[2],r=+e[3];return t>=1&&t<=12&&r>=1&&(r<=_5e[t]||t===2&&r===29&&(l%100===0?l%400===0:l%4===0))}function E5e(n){let e=v5e.exec(n);if(!e)return!1;let l=+e[1],t=+e[2],r=+e[3],i=+(e[4]||0),s=+(e[5]||0);return l<=23&&t<=59&&r<=59||l-i===23&&t-s===59&&r===60}PD.code='require("ajv/dist/runtime/timestamp").default'});var To=C(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.typeErrorParams=ls.typeErrorMessage=ls.typeError=void 0;var b5e=Ze();function T5e(n){return{message:e=>DD(e,n),params:e=>LD(e,n)}}ls.typeError=T5e;function DD({parentSchema:n},e){return n?.nullable?`must be ${e} or null`:`must be ${e}`}ls.typeErrorMessage=DD;function LD({parentSchema:n},e){return(0,b5e._)`{type: ${e}, nullable: ${!!n?.nullable}}`}ls.typeErrorParams=LD});var oy=C(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.intRange=void 0;var l3=Ze(),S5e=ay(),x5e=En(),A5e=yi(),FD=To();So.intRange={int8:[-128,127,3],uint8:[0,255,3],int16:[-32768,32767,5],uint16:[0,65535,5],int32:[-2147483648,2147483647,10],uint32:[0,4294967295,10]};var w5e={message:n=>(0,FD.typeErrorMessage)(n,n.schema),params:n=>(0,FD.typeErrorParams)(n,n.schema)};function O5e(n){let{gen:e,data:l,it:t}=n,{timestamp:r,allowDate:i}=t.opts;if(r==="date")return(0,l3._)`${l} instanceof Date `;let s=(0,x5e.useFunc)(e,S5e.default),u=i?(0,l3._)`, true`:l3.nil,a=(0,l3._)`typeof ${l} == "string" && ${s}(${l}${u})`;return r==="string"?a:(0,l3.or)((0,l3._)`${l} instanceof Date`,a)}var N5e={keyword:"type",schemaType:"string",error:w5e,code(n){(0,A5e.checkMetadata)(n);let{data:e,schema:l,parentSchema:t,it:r}=n,i;switch(l){case"boolean":case"string":i=(0,l3._)`typeof ${e} == ${l}`;break;case"timestamp":{i=O5e(n);break}case"float32":case"float64":i=(0,l3._)`typeof ${e} == "number"`;break;default:{let s=l;if(i=(0,l3._)`typeof ${e} == "number" && isFinite(${e}) && !(${e} % 1)`,!r.opts.int32range&&(s==="int32"||s==="uint32"))s==="uint32"&&(i=(0,l3._)`${i} && ${e} >= 0`);else{let[u,a]=So.intRange[s];i=(0,l3._)`${i} && ${e} >= ${u} && ${e} <= ${a}`}}}n.pass(t.nullable?(0,l3.or)((0,l3._)`${e} === null`,i):i)}};So.default=N5e});var Ao=C(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.checkNullableObject=xo.checkNullable=void 0;var j9=Ze();function MD({gen:n,data:e,parentSchema:l},t=j9.nil){let r=n.name("valid");return l.nullable?(n.let(r,(0,j9._)`${e} === null`),t=(0,j9.not)(r)):n.let(r,!1),[r,t]}xo.checkNullable=MD;function R5e(n,e){let[l,t]=MD(n,e);return[l,(0,j9._)`${t} && typeof ${n.data} == "object" && !Array.isArray(${n.data})`]}xo.checkNullableObject=R5e});var $D=C(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});var ts=Ze(),I5e=yi(),C5e=Ao(),k5e={message:"must be equal to one of the allowed values",params:({schemaCode:n})=>(0,ts._)`{allowedValues: ${n}}`},P5e={keyword:"enum",schemaType:"array",error:k5e,code(n){(0,I5e.checkMetadata)(n);let{gen:e,data:l,schema:t,schemaValue:r,parentSchema:i,it:s}=n;if(t.length===0)throw new Error("enum must have non-empty array");if(t.length!==new Set(t).size)throw new Error("enum items must be unique");let u,a=(0,ts._)`typeof ${l} == "string"`;if(t.length>=s.opts.loopEnum){let f;[u,f]=(0,C5e.checkNullable)(n,a),e.if(f,c)}else{if(!Array.isArray(t))throw new Error("ajv implementation error");u=(0,ts.and)(a,(0,ts.or)(...t.map(f=>(0,ts._)`${l} === ${f}`))),i.nullable&&(u=(0,ts.or)((0,ts._)`${l} === null`,u))}n.pass(u);function c(){e.forOf("v",r,f=>e.if((0,ts._)`${u} = ${l} === ${f}`,()=>e.break()))}}};cy.default=P5e});var UD=C(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});var D5e=En(),L5e=Yt(),jD=Ze(),F5e=yi(),M5e=Ao(),$5e=To(),j5e={keyword:"elements",schemaType:"object",error:(0,$5e.typeError)("array"),code(n){(0,F5e.checkMetadata)(n);let{gen:e,data:l,schema:t,it:r}=n;if((0,D5e.alwaysValidSchema)(r,t))return;let[i]=(0,M5e.checkNullable)(n);e.if((0,jD.not)(i),()=>e.if((0,jD._)`Array.isArray(${l})`,()=>e.assign(i,(0,L5e.validateArray)(n)),()=>n.error())),n.ok(i)}};fy.default=j5e});var dy=C(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.validateProperties=rs.error=void 0;var py=Yt(),BD=En(),vi=Ze(),U5e=yi(),B5e=Ao(),HD=To(),wo;(function(n){n.Additional="additional",n.Missing="missing"})(wo||(wo={}));rs.error={message:n=>{let{params:e}=n;return e.propError?e.propError===wo.Additional?"must NOT have additional properties":`must have property '${e.missingProperty}'`:(0,HD.typeErrorMessage)(n,"object")},params:n=>{let{params:e}=n;return e.propError?e.propError===wo.Additional?(0,vi._)`{error: ${e.propError}, additionalProperty: ${e.additionalProperty}}`:(0,vi._)`{error: ${e.propError}, missingProperty: ${e.missingProperty}}`:(0,HD.typeErrorParams)(n,"object")}};var H5e={keyword:"properties",schemaType:"object",error:rs.error,code:qD};function qD(n){(0,U5e.checkMetadata)(n);let{gen:e,data:l,parentSchema:t,it:r}=n,{additionalProperties:i,nullable:s}=t;if(r.jtdDiscriminator&&s)throw new Error("JTD: nullable inside discriminator mapping");if(h())throw new Error("JTD: properties and optionalProperties have common members");let[u,a]=g("properties"),[c,f]=g("optionalProperties");if(a.length===0&&f.length===0&&i)return;let[p,m]=r.jtdDiscriminator===void 0?(0,B5e.checkNullableObject)(n,l):[e.let("valid",!1),!0];e.if(m,()=>e.assign(p,!0).block(()=>{_(a,"properties",!0),_(f,"optionalProperties"),i||T()})),n.pass(p);function h(){let v=t.properties,b=t.optionalProperties;if(!(v&&b))return!1;for(let w in v)if(Object.prototype.hasOwnProperty.call(b,w))return!0;return!1}function g(v){let b=t[v],w=b?(0,py.allSchemaProperties)(b):[];if(r.jtdDiscriminator&&w.some(N=>N===r.jtdDiscriminator))throw new Error(`JTD: discriminator tag used in ${v}`);let R=w.filter(N=>!(0,BD.alwaysValidSchema)(r,b[N]));return[w,R]}function _(v,b,w){let R=e.var("valid");for(let k of v)e.if((0,py.propertyInData)(e,l,k,r.opts.ownProperties),()=>S(k,b,R),()=>N(k)),n.ok(R);function N(k){w?(e.assign(R,!1),n.error(!1,{propError:wo.Missing,missingProperty:k},{schemaPath:k})):e.assign(R,!0)}}function S(v,b,w){n.subschema({keyword:b,schemaProp:v,dataProp:v},w)}function T(){e.forIn("key",l,v=>{let b=x(v,u,"properties",r.jtdDiscriminator),w=x(v,c,"optionalProperties"),R=b===!0?w:w===!0?b:(0,vi.and)(b,w);e.if(R,()=>{r.opts.removeAdditional?e.code((0,vi._)`delete ${l}[${v}]`):(n.error(!1,{propError:wo.Additional,additionalProperty:v},{instancePath:v,parentSchema:!0}),r.opts.allErrors||e.break())})})}function x(v,b,w,R){let N;if(b.length>8){let k=(0,BD.schemaRefOrVal)(r,t[w],w);N=(0,vi.not)((0,py.isOwnProperty)(e,k,v)),R!==void 0&&(N=(0,vi.and)(N,(0,vi._)`${v} !== ${R}`))}else if(b.length||R!==void 0){let k=R===void 0?b:[R].concat(b);N=(0,vi.and)(...k.map(j=>(0,vi._)`${v} !== ${j}`))}else N=!0;return N}}rs.validateProperties=qD;rs.default=H5e});var zD=C(hy=>{"use strict";Object.defineProperty(hy,"__esModule",{value:!0});var VD=dy(),q5e={keyword:"optionalProperties",schemaType:"object",error:VD.error,code(n){n.parentSchema.properties||(0,VD.validateProperties)(n)}};hy.default=q5e});var XD=C(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});var Fu=Ze(),V5e=yi(),z5e=Ao(),GD=To(),U9=Lm(),G5e={message:n=>{let{schema:e,params:l}=n;return l.discrError?l.discrError===U9.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in mapping`:(0,GD.typeErrorMessage)(n,"object")},params:n=>{let{schema:e,params:l}=n;return l.discrError?(0,Fu._)`{error: ${l.discrError}, tag: ${e}, tagValue: ${l.tag}}`:(0,GD.typeErrorParams)(n,"object")}},X5e={keyword:"discriminator",schemaType:"string",implements:["mapping"],error:G5e,code(n){(0,V5e.checkMetadata)(n);let{gen:e,data:l,schema:t,parentSchema:r}=n,[i,s]=(0,z5e.checkNullableObject)(n,l);e.if(s),u(),e.elseIf((0,Fu.not)(i)),n.error(),e.endIf(),n.ok(i);function u(){let f=e.const("tag",(0,Fu._)`${l}${(0,Fu.getProperty)(t)}`);e.if((0,Fu._)`${f} === undefined`),n.error(!1,{discrError:U9.DiscrError.Tag,tag:f}),e.elseIf((0,Fu._)`typeof ${f} == "string"`),a(f),e.else(),n.error(!1,{discrError:U9.DiscrError.Tag,tag:f},{instancePath:t}),e.endIf()}function a(f){e.if(!1);for(let p in r.mapping)e.elseIf((0,Fu._)`${f} === ${p}`),e.assign(i,c(p));e.else(),n.error(!1,{discrError:U9.DiscrError.Mapping,tag:f},{instancePath:t,schemaPath:"mapping",parentSchema:!0}),e.endIf()}function c(f){let p=e.name("valid");return n.subschema({keyword:"mapping",schemaProp:f,jtdDiscriminator:t},p),p}}};my.default=X5e});var KD=C(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});var WD=En(),B9=Ze(),W5e=yi(),K5e=Ao(),Y5e=To(),J5e={keyword:"values",schemaType:"object",error:(0,Y5e.typeError)("object"),code(n){(0,W5e.checkMetadata)(n);let{gen:e,data:l,schema:t,it:r}=n,[i,s]=(0,K5e.checkNullableObject)(n,l);(0,WD.alwaysValidSchema)(r,t)?e.if((0,B9.not)((0,B9.or)(s,i)),()=>n.error()):(e.if(s),e.assign(i,u()),e.elseIf((0,B9.not)(i)),n.error(),e.endIf()),n.ok(i);function u(){let a=e.name("valid");if(r.allErrors){let f=e.let("valid",!0);return c(()=>e.assign(f,!1)),f}return e.var(a,!0),c(()=>e.break()),a;function c(f){e.forIn("key",l,p=>{n.subschema({keyword:"values",dataProp:p,dataPropType:WD.Type.Str},a),e.if((0,B9.not)(a),f)})}}}};gy.default=J5e});var YD=C(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});var Q5e=Yt(),Z5e={keyword:"union",schemaType:"array",trackErrors:!0,code:Q5e.validateUnion,error:{message:"must match a schema in union"}};yy.default=Z5e});var JD=C(vy=>{"use strict";Object.defineProperty(vy,"__esModule",{value:!0});var e6e=$9(),n6e=oy(),l6e=$D(),t6e=UD(),r6e=dy(),i6e=zD(),s6e=XD(),u6e=KD(),a6e=YD(),o6e=yi(),c6e=["definitions",e6e.default,n6e.default,l6e.default,t6e.default,r6e.default,i6e.default,s6e.default,u6e.default,a6e.default,o6e.default,{keyword:"additionalProperties",schemaType:"boolean"},{keyword:"nullable",schemaType:"boolean"}];vy.default=c6e});var nL=C(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0});var _i=n=>{let e={nullable:{type:"boolean"},metadata:{optionalProperties:{union:{elements:{ref:"schema"}}},additionalProperties:!0}};return n&&(e.definitions={values:{ref:"schema"}}),e},f6e=n=>({optionalProperties:_i(n)}),p6e=n=>({properties:{ref:{type:"string"}},optionalProperties:_i(n)}),d6e=n=>({properties:{type:{enum:["boolean","timestamp","string","float32","float64","int8","uint8","int16","uint16","int32","uint32"]}},optionalProperties:_i(n)}),h6e=n=>({properties:{enum:{elements:{type:"string"}}},optionalProperties:_i(n)}),m6e=n=>({properties:{elements:{ref:"schema"}},optionalProperties:_i(n)}),ZD=n=>({properties:{properties:{values:{ref:"schema"}}},optionalProperties:{optionalProperties:{values:{ref:"schema"}},additionalProperties:{type:"boolean"},..._i(n)}}),eL=n=>({properties:{optionalProperties:{values:{ref:"schema"}}},optionalProperties:{additionalProperties:{type:"boolean"},..._i(n)}}),g6e=n=>({properties:{discriminator:{type:"string"},mapping:{values:{metadata:{union:[ZD(!1),eL(!1)]}}}},optionalProperties:_i(n)}),y6e=n=>({properties:{values:{ref:"schema"}},optionalProperties:_i(n)}),QD=n=>({metadata:{union:[f6e,p6e,d6e,h6e,m6e,ZD,eL,g6e,y6e].map(e=>e(n))}}),v6e={definitions:{schema:QD(!1)},...QD(!0)};_y.default=v6e});var Ey=C(H9=>{"use strict";Object.defineProperty(H9,"__esModule",{value:!0});H9.jtdForms=void 0;H9.jtdForms=["elements","values","discriminator","properties","optionalProperties","enum","type","ref"]});var tL=C(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});var by=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_6e={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function lL(n){return by.lastIndex=0,'"'+(by.test(n)?n.replace(by,e=>{let l=_6e[e];return typeof l=="string"?l:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}):n)+'"'}Ty.default=lL;lL.code='require("ajv/dist/runtime/quote").default'});var oL=C(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});var E6e=Ey(),iL=Au(),Fn=Ze(),b6e=Ji(),Fl=E3(),T6e=Yt(),S6e=$9(),x6e=En(),A6e=tL(),w6e={elements:N6e,values:R6e,discriminator:I6e,properties:rL,optionalProperties:rL,enum:c1,type:C6e,ref:P6e};function sL(n,e){let l=iL.getCompilingSchema.call(this,n);if(l)return l;let{es5:t,lines:r}=this.opts.code,{ownProperties:i}=this.opts,s=new Fn.CodeGen(this.scope,{es5:t,lines:r,ownProperties:i}),u=s.scopeName("serialize"),a={self:this,gen:s,schema:n.schema,schemaEnv:n,definitions:e,data:Fl.default.data},c;try{this._compilations.add(n),n.serializeName=u,s.func(u,Fl.default.data,!1,()=>{s.let(Fl.default.json,(0,Fn.str)``),f1(a),s.return(Fl.default.json)}),s.optimize(this.opts.code.optimize);let f=s.toString();c=`${s.scopeRefs(Fl.default.scope)}return ${f}`;let m=new Function(`${Fl.default.scope}`,c)(this.scope.get());this.scope.value(u,{ref:m}),n.serialize=m}catch(f){throw c&&this.logger.error("Error compiling serializer, function code:",c),delete n.serialize,delete n.serializeName,f}finally{this._compilations.delete(n)}return n}xy.default=sL;function f1(n){let e;for(let l of E6e.jtdForms)if(l in n.schema){e=l;break}O6e(n,e?w6e[e]:L6e)}function O6e(n,e){let{gen:l,schema:t,data:r}=n;if(!t.nullable)return e(n);l.if((0,Fn._)`${r} === undefined || ${r} === null`,()=>l.add(Fl.default.json,(0,Fn._)`"null"`),()=>e(n))}function N6e(n){let{gen:e,schema:l,data:t}=n;e.add(Fl.default.json,(0,Fn.str)`[`);let r=e.let("first",!0);e.forOf("el",t,i=>{Sy(n,r),f1({...n,schema:l.elements,data:i})}),e.add(Fl.default.json,(0,Fn.str)`]`)}function R6e(n){let{gen:e,schema:l,data:t}=n;e.add(Fl.default.json,(0,Fn.str)`{`);let r=e.let("first",!0);e.forIn("key",t,i=>uL(n,i,l.values,r)),e.add(Fl.default.json,(0,Fn.str)`}`)}function uL(n,e,l,t){let{gen:r,data:i}=n;Sy(n,t),c1({...n,data:e}),r.add(Fl.default.json,(0,Fn.str)`:`);let s=r.const("value",(0,Fn._)`${i}${(0,Fn.getProperty)(e)}`);f1({...n,schema:l,data:s})}function I6e(n){let{gen:e,schema:l,data:t}=n,{discriminator:r}=l;e.add(Fl.default.json,(0,Fn.str)`{${JSON.stringify(r)}:`);let i=e.const("tag",(0,Fn._)`${t}${(0,Fn.getProperty)(r)}`);c1({...n,data:i}),e.if(!1);for(let s in l.mapping){e.elseIf((0,Fn._)`${i} === ${s}`);let u=l.mapping[s];aL({...n,schema:u},r)}e.endIf(),e.add(Fl.default.json,(0,Fn.str)`}`)}function rL(n){let{gen:e}=n;e.add(Fl.default.json,(0,Fn.str)`{`),aL(n),e.add(Fl.default.json,(0,Fn.str)`}`)}function aL(n,e){let{gen:l,schema:t,data:r}=n,{properties:i,optionalProperties:s}=t,u=m(i),a=m(s),c=h(u.concat(a)),f=!e,p;for(let T of u)f?f=!1:l.add(Fl.default.json,(0,Fn.str)`,`),_(T,i[T],g(T));f&&(p=l.let("first",!0));for(let T of a){let x=g(T);l.if((0,Fn.and)((0,Fn._)`${x} !== undefined`,(0,T6e.isOwnProperty)(l,r,T)),()=>{Sy(n,p),_(T,s[T],x)})}t.additionalProperties&&l.forIn("key",r,T=>l.if(S(T,c),()=>uL(n,T,{},p)));function m(T){return T?Object.keys(T):[]}function h(T){if(e&&T.push(e),new Set(T).size!==T.length)throw new Error("JTD: properties/optionalProperties/disciminator overlap");return T}function g(T){return l.const("value",(0,Fn._)`${r}${(0,Fn.getProperty)(T)}`)}function _(T,x,v){l.add(Fl.default.json,(0,Fn.str)`${JSON.stringify(T)}:`),f1({...n,schema:x,data:v})}function S(T,x){return x.length?(0,Fn.and)(...x.map(v=>(0,Fn._)`${T} !== ${v}`)):!0}}function C6e(n){let{gen:e,schema:l,data:t}=n;switch(l.type){case"boolean":e.add(Fl.default.json,(0,Fn._)`${t} ? "true" : "false"`);break;case"string":c1(n);break;case"timestamp":e.if((0,Fn._)`${t} instanceof Date`,()=>e.add(Fl.default.json,(0,Fn._)`'"' + ${t}.toISOString() + '"'`),()=>c1(n));break;default:k6e(n)}}function c1({gen:n,data:e}){n.add(Fl.default.json,(0,Fn._)`${(0,x6e.useFunc)(n,A6e.default)}(${e})`)}function k6e({gen:n,data:e}){n.add(Fl.default.json,(0,Fn._)`"" + ${e}`)}function P6e(n){let{gen:e,self:l,data:t,definitions:r,schema:i,schemaEnv:s}=n,{ref:u}=i,a=r[u];if(!a)throw new b6e.default(l.opts.uriResolver,"",u,`No definition ${u}`);if(!(0,S6e.hasRef)(a))return f1({...n,schema:a});let{root:c}=s,f=sL.call(l,new iL.SchemaEnv({schema:a,root:c}),r);e.add(Fl.default.json,(0,Fn._)`${D6e(e,f)}(${t})`)}function D6e(n,e){return e.serialize?n.scopeValue("serialize",{ref:e.serialize}):(0,Fn._)`${n.scopeValue("wrapper",{ref:e})}.serialize`}function L6e({gen:n,data:e}){n.add(Fl.default.json,(0,Fn._)`JSON.stringify(${e})`)}function Sy({gen:n},e){e?n.if(e,()=>n.assign(e,!1),()=>n.add(Fl.default.json,(0,Fn.str)`,`)):n.add(Fl.default.json,(0,Fn.str)`,`)}});var fL=C(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.parseJsonString=ss.parseJsonNumber=ss.parseJson=void 0;var F6e=/position\s(\d+)$/;function Ei(n,e){let l;Ei.message=void 0;let t;e&&(n=n.slice(e));try{return Ei.position=e+n.length,JSON.parse(n)}catch(r){if(t=F6e.exec(r.message),!t){Ei.message="unexpected end";return}l=+t[1];let i=n[l];n=n.slice(0,l),Ei.position=e+l;try{return JSON.parse(n)}catch{Ei.message=`unexpected token ${i}`;return}}}ss.parseJson=Ei;Ei.message=void 0;Ei.position=0;Ei.code='require("ajv/dist/runtime/parseJson").parseJson';function bi(n,e,l){let t="",r;if(bi.message=void 0,n[e]==="-"&&(t+="-",e++),n[e]==="0")t+="0",e++;else if(!i(l)){s();return}if(l)return bi.position=e,+t;if(n[e]==="."&&(t+=".",e++,!i())){s();return}if(r=n[e],(r==="e"||r==="E")&&(t+="e",e++,r=n[e],(r==="+"||r==="-")&&(t+=r,e++),!i())){s();return}return bi.position=e,+t;function i(u){let a=!1;for(;r=n[e],r>="0"&&r<="9"&&(u===void 0||u-- >0);)a=!0,t+=r,e++;return a}function s(){bi.position=e,bi.message=e ="a"&&t<="f")s+=t.charCodeAt(0)-M6e+10;else if(t>="0"&&t<="9")s+=t.charCodeAt(0)-$6e;else{r(`unexpected token ${t}`);return}e++}l+=String.fromCharCode(s)}else{r(`unexpected token ${t}`);return}else if(t===void 0){r("unexpected end");return}else if(t.charCodeAt(0)>=32)l+=t;else{r(`unexpected token ${t}`);return}return is.position=e,l;function r(i){is.position=e,is.message=i}}ss.parseJsonString=is;is.message=void 0;is.position=0;is.code='require("ajv/dist/runtime/parseJson").parseJsonString'});var TL=C(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0});var j6e=Ey(),mL=Au(),ze=Ze(),U6e=Ji(),Pn=E3(),B6e=Yt(),H6e=$9(),q6e=oy(),Oy=fL(),gL=En(),V6e=ay(),z6e={elements:K6e,values:Y6e,discriminator:Q6e,properties:pL,optionalProperties:pL,enum:e8e,type:Z6e,ref:n8e};function yL(n,e){let l=mL.getCompilingSchema.call(this,n);if(l)return l;let{es5:t,lines:r}=this.opts.code,{ownProperties:i}=this.opts,s=new ze.CodeGen(this.scope,{es5:t,lines:r,ownProperties:i}),u=s.scopeName("parse"),a={self:this,gen:s,schema:n.schema,schemaEnv:n,definitions:e,data:Pn.default.data,parseName:u,char:s.name("c")},c;try{this._compilations.add(n),n.parseName=u,G6e(a),s.optimize(this.opts.code.optimize);let f=s.toString();c=`${s.scopeRefs(Pn.default.scope)}return ${f}`;let m=new Function(`${Pn.default.scope}`,c)(this.scope.get());this.scope.value(u,{ref:m}),n.parse=m}catch(f){throw c&&this.logger.error("Error compiling parser, function code:",c),delete n.parse,delete n.parseName,f}finally{this._compilations.delete(n)}return n}ky.default=yL;var wy=(0,ze._)`undefined`;function G6e(n){let{gen:e,parseName:l,char:t}=n;e.func(l,(0,ze._)`${Pn.default.json}, ${Pn.default.jsonPos}, ${Pn.default.jsonPart}`,!1,()=>{e.let(Pn.default.data),e.let(t),e.assign((0,ze._)`${l}.message`,wy),e.assign((0,ze._)`${l}.position`,wy),e.assign(Pn.default.jsonPos,(0,ze._)`${Pn.default.jsonPos} || 0`),e.const(Pn.default.jsonLen,(0,ze._)`${Pn.default.json}.length`),q9(n),Cy(n),e.if(Pn.default.jsonPart,()=>{e.assign((0,ze._)`${l}.position`,Pn.default.jsonPos),e.return(Pn.default.data)}),e.if((0,ze._)`${Pn.default.jsonPos} === ${Pn.default.jsonLen}`,()=>e.return(Pn.default.data)),Oo(n)})}function q9(n){let e;for(let l of j6e.jtdForms)if(l in n.schema){e=l;break}e?W6e(n,z6e[e]):Ry(n)}var X6e=hL(!0,hL(!1,Oo));function W6e(n,e){let{gen:l,schema:t,data:r}=n;if(!t.nullable)return e(n);p1(n,"null",e,()=>l.assign(r,null))}function K6e(n){let{gen:e,schema:l,data:t}=n;Ar(n,"[");let r=e.let("i",0);e.assign(t,(0,ze._)`[]`),Ny(n,"]",()=>{let i=e.let("el");q9({...n,schema:l.elements,data:i}),e.assign((0,ze._)`${t}[${r}++]`,i)})}function Y6e(n){let{gen:e,schema:l,data:t}=n;Ar(n,"{"),e.assign(t,(0,ze._)`{}`),Ny(n,"}",()=>J6e(n,l.values))}function Ny(n,e,l){vL(n,e,l),Ar(n,e)}function vL(n,e,l){let{gen:t}=n;t.for((0,ze._)`;${Pn.default.jsonPos}<${Pn.default.jsonLen} && ${V9(1)}!==${e};`,()=>{l(),p1(n,",",()=>t.break(),r)});function r(){p1(n,e,()=>{},Oo)}}function J6e(n,e){let{gen:l}=n,t=l.let("key");Mu({...n,data:t}),Ar(n,":"),EL(n,t,e)}function Q6e(n){let{gen:e,data:l,schema:t}=n,{discriminator:r,mapping:i}=t;Ar(n,"{"),e.assign(l,(0,ze._)`{}`);let s=e.const("pos",Pn.default.jsonPos),u=e.let("value"),a=e.let("tag");vL(n,"}",()=>{let c=e.let("key");Mu({...n,data:c}),Ar(n,":"),e.if((0,ze._)`${c} === ${r}`,()=>{Mu({...n,data:a}),e.assign((0,ze._)`${l}[${c}]`,a),e.break()},()=>Ry({...n,data:u}))}),e.assign(Pn.default.jsonPos,s),e.if((0,ze._)`${a} === undefined`),Ti(n,(0,ze.str)`discriminator tag not found`);for(let c in i)e.elseIf((0,ze._)`${a} === ${c}`),_L({...n,schema:i[c]},r);e.else(),Ti(n,(0,ze.str)`discriminator value not in schema`),e.endIf()}function pL(n){let{gen:e,data:l}=n;Ar(n,"{"),e.assign(l,(0,ze._)`{}`),_L(n)}function _L(n,e){let{gen:l,schema:t,data:r}=n,{properties:i,optionalProperties:s,additionalProperties:u}=t;if(Ny(n,"}",()=>{let a=l.let("key");if(Mu({...n,data:a}),Ar(n,":"),l.if(!1),dL(n,a,i),dL(n,a,s),e){l.elseIf((0,ze._)`${a} === ${e}`);let c=l.let("tag");Mu({...n,data:c})}l.else(),u?Ry({...n,data:(0,ze._)`${r}[${a}]`}):Ti(n,(0,ze.str)`property ${a} not allowed`),l.endIf()}),i){let a=(0,B6e.hasPropFunc)(l),c=(0,ze.and)(...Object.keys(i).map(f=>(0,ze._)`${a}.call(${r}, ${f})`));l.if((0,ze.not)(c),()=>Ti(n,(0,ze.str)`missing required properties`))}}function dL(n,e,l={}){let{gen:t}=n;for(let r in l)t.elseIf((0,ze._)`${e} === ${r}`),EL(n,e,l[r])}function EL(n,e,l){q9({...n,schema:l,data:(0,ze._)`${n.data}[${e}]`})}function Z6e(n){let{gen:e,schema:l,data:t,self:r}=n;switch(l.type){case"boolean":X6e(n);break;case"string":Mu(n);break;case"timestamp":{Mu(n);let i=(0,gL.useFunc)(e,V6e.default),{allowDate:s,parseDate:u}=r.opts,a=s?(0,ze._)`!${i}(${t}, true)`:(0,ze._)`!${i}(${t})`,c=u?(0,ze.or)(a,(0,ze._)`(${t} = new Date(${t}), false)`,(0,ze._)`isNaN(${t}.valueOf())`):a;e.if(c,()=>Ti(n,(0,ze.str)`invalid timestamp`));break}case"float32":case"float64":Ay(n);break;default:{let i=l.type;if(!r.opts.int32range&&(i==="int32"||i==="uint32"))Ay(n,16),i==="uint32"&&e.if((0,ze._)`${t} < 0`,()=>Ti(n,(0,ze.str)`integer out of range`));else{let[s,u,a]=q6e.intRange[i];Ay(n,a),e.if((0,ze._)`${t} < ${s} || ${t} > ${u}`,()=>Ti(n,(0,ze.str)`integer out of range`))}}}}function Mu(n){Ar(n,'"'),Iy(n,Oy.parseJsonString)}function e8e(n){let{gen:e,data:l,schema:t}=n,r=t.enum;Ar(n,'"'),e.if(!1);for(let i of r){let s=JSON.stringify(i).slice(1);e.elseIf((0,ze._)`${V9(s.length)} === ${s}`),e.assign(l,(0,ze.str)`${i}`),e.add(Pn.default.jsonPos,s.length)}e.else(),Oo(n),e.endIf()}function Ay(n,e){let{gen:l}=n;Cy(n),l.if((0,ze._)`"-0123456789".indexOf(${V9(1)}) < 0`,()=>Oo(n),()=>Iy(n,Oy.parseJsonNumber,e))}function hL(n,e){return l=>{let{gen:t,data:r}=l;p1(l,`${n}`,()=>e(l),()=>t.assign(r,n))}}function n8e(n){let{gen:e,self:l,definitions:t,schema:r,schemaEnv:i}=n,{ref:s}=r,u=t[s];if(!u)throw new U6e.default(l.opts.uriResolver,"",s,`No definition ${s}`);if(!(0,H6e.hasRef)(u))return q9({...n,schema:u});let{root:a}=i,c=yL.call(l,new mL.SchemaEnv({schema:u,root:a}),t);bL(n,l8e(e,c),!0)}function l8e(n,e){return e.parse?n.scopeValue("parse",{ref:e.parse}):(0,ze._)`${n.scopeValue("wrapper",{ref:e})}.parse`}function Ry(n){Iy(n,Oy.parseJson)}function Iy(n,e,l){bL(n,(0,gL.useFunc)(n.gen,e),l)}function bL(n,e,l){let{gen:t,data:r}=n;t.assign(r,(0,ze._)`${e}(${Pn.default.json}, ${Pn.default.jsonPos}${l?(0,ze._)`, ${l}`:ze.nil})`),t.assign(Pn.default.jsonPos,(0,ze._)`${e}.position`),t.if((0,ze._)`${r} === undefined`,()=>Ti(n,(0,ze._)`${e}.message`))}function Ar(n,e){p1(n,e,Oo)}function p1(n,e,l,t){let{gen:r}=n,i=e.length;Cy(n),r.if((0,ze._)`${V9(i)} === ${e}`,()=>{r.add(Pn.default.jsonPos,i),t?.(n)},()=>l(n))}function Cy({gen:n,char:e}){n.code((0,ze._)`while((${e}=${Pn.default.json}[${Pn.default.jsonPos}],${e}===" "||${e}==="\\n"||${e}==="\\r"||${e}==="\\t"))${Pn.default.jsonPos}++;`)}function V9(n){return n===1?(0,ze._)`${Pn.default.json}[${Pn.default.jsonPos}]`:(0,ze._)`${Pn.default.json}.slice(${Pn.default.jsonPos}, ${Pn.default.jsonPos}+${n})`}function Oo(n){Ti(n,(0,ze._)`"unexpected token " + ${Pn.default.json}[${Pn.default.jsonPos}]`)}function Ti({gen:n,parseName:e},l){n.assign((0,ze._)`${e}.message`,l),n.assign((0,ze._)`${e}.position`,Pn.default.jsonPos),n.return(wy)}});var Dy=C((Wl,SL)=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.MissingRefError=Wl.ValidationError=Wl.CodeGen=Wl.Name=Wl.nil=Wl.stringify=Wl.str=Wl._=Wl.KeywordCxt=void 0;var t8e=Xh(),r8e=JD(),i8e=nL(),s8e=oL(),u8e=TL(),Py="JTD-meta-schema",z9=class extends t8e.default{constructor(e={}){super({...e,jtd:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(r8e.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema(),this.opts.meta&&this.addMetaSchema(i8e.default,Py,!1)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Py)?Py:void 0)}compileSerializer(e){let l=this._addSchema(e);return l.serialize||this._compileSerializer(l)}compileParser(e){let l=this._addSchema(e);return l.parse||this._compileParser(l)}_compileSerializer(e){if(s8e.default.call(this,e,e.schema.definitions||{}),!e.serialize)throw new Error("ajv implementation error");return e.serialize}_compileParser(e){if(u8e.default.call(this,e,e.schema.definitions||{}),!e.parse)throw new Error("ajv implementation error");return e.parse}};SL.exports=Wl=z9;Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=z9;var a8e=lo();Object.defineProperty(Wl,"KeywordCxt",{enumerable:!0,get:function(){return a8e.KeywordCxt}});var No=Ze();Object.defineProperty(Wl,"_",{enumerable:!0,get:function(){return No._}});Object.defineProperty(Wl,"str",{enumerable:!0,get:function(){return No.str}});Object.defineProperty(Wl,"stringify",{enumerable:!0,get:function(){return No.stringify}});Object.defineProperty(Wl,"nil",{enumerable:!0,get:function(){return No.nil}});Object.defineProperty(Wl,"Name",{enumerable:!0,get:function(){return No.Name}});Object.defineProperty(Wl,"CodeGen",{enumerable:!0,get:function(){return No.CodeGen}});var o8e=A0();Object.defineProperty(Wl,"ValidationError",{enumerable:!0,get:function(){return o8e.default}});var c8e=Ji();Object.defineProperty(Wl,"MissingRefError",{enumerable:!0,get:function(){return c8e.default}})});var Ly=C((kAe,xL)=>{"use strict";var f8e=Bm();xL.exports=Object.freeze({coerceTypes:"array",useDefaults:!0,removeAdditional:!0,uriResolver:f8e,addUsedSchema:!1,allErrors:!1})});var OL=C((PAe,wL)=>{"use strict";var p8e=J8().default,d8e=Dy(),AL=Ly(),Fy=class{constructor(e,l){l.mode==="JTD"?this.ajv=new d8e(Object.assign({},AL,l.customOptions)):this.ajv=new p8e(Object.assign({},AL,l.customOptions));let t=!0;if(l.plugins&&l.plugins.length>0)for(let i of l.plugins)Array.isArray(i)?(t=t&&i[0].name!=="formatsPlugin",i[0](this.ajv,i[1])):(t=t&&i.name!=="formatsPlugin",i(this.ajv));t&&Wm()(this.ajv);let r=Object.values(e);for(let i of r)this.ajv.addSchema(i)}buildValidatorFunction({schema:e}){if(e.$id){let l=this.ajv.getSchema(e.$id);if(l)return l}return this.ajv.compile(e)}};wL.exports=Fy});var RL=C((DAe,NL)=>{"use strict";var h8e=Dy(),m8e=Ly(),My=class{constructor(e,l){this.ajv=new h8e(Object.assign({},m8e,l))}buildSerializerFunction({schema:e}){return this.ajv.compileSerializer(e)}};NL.exports=My});var kL=C((h1,CL)=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});var d1=x8(),K3=Wa();function IL(n,e){if(!n.opts.code.source)throw new Error("moduleCode: ajv instance must have code.source option");let{_n:l}=n.scope.opts;return typeof e=="function"?r(e.source):e!==void 0?i(e,t):i(n.schemas,u=>u.meta?void 0:n.compile(u.schema));function t(u){let a=n.getSchema(u);if(!a)throw new Error(`moduleCode: no schema with id ${u}`);return a}function r(u){let a={},c=u?.validateName,f=s(a,u);return n.opts.code.esm?`"use strict";${l}export const validate = ${c};${l}export default ${c};${l}${f}`:`"use strict";${l}module.exports = ${c};${l}module.exports.default = ${c};${l}${f}`}function i(u,a){var c;let f={},p=(0,K3._)`"use strict";`;for(let m in u){let h=a(u[m]);if(h){let g=s(f,h.source),_=n.opts.code.esm?(0,K3._)`export const ${(0,K3.getEsmExportName)(m)}`:(0,K3._)`exports${(0,K3.getProperty)(m)}`;p=(0,K3._)`${p}${l}${_} = ${(c=h.source)===null||c===void 0?void 0:c.validateName};${l}${g}`}}return`${p}`}function s(u,a){if(!a)throw new Error('moduleCode: function does not have "source" property');if(m(a.validateName)===d1.UsedValueState.Completed)return K3.nil;h(a.validateName,d1.UsedValueState.Started);let c=n.scope.scopeCode(a.scopeValues,u,p),f=new K3._Code(`${c}${l}${a.validateCode}`);return a.evaluated?(0,K3._)`${f}${a.validateName}.evaluated = ${a.evaluated};${l}`:f;function p(g){var _;let S=(_=g.value)===null||_===void 0?void 0:_.ref;if(g.prefix==="validate"&&typeof S=="function")return s(u,S.source);if((g.prefix==="root"||g.prefix==="wrapper")&&typeof S=="object"){let{validate:T,validateName:x}=S;if(!x)throw new Error("ajv internal error");let v=n.opts.code.es5?d1.varKinds.var:d1.varKinds.const,b=(0,K3._)`${v} ${g} = {validate: ${x}};`;if(m(x)===d1.UsedValueState.Started)return b;let w=s(u,T?.source);return(0,K3._)`${b}${l}${w}`}}function m(g){var _;return(_=u[g.prefix])===null||_===void 0?void 0:_.get(g)}function h(g,_){let{prefix:S}=g;(u[S]=u[S]||new Map).set(g,_)}}}CL.exports=h1=IL;Object.defineProperty(h1,"__esModule",{value:!0});h1.default=IL});var LL=C((LAe,DL)=>{"use strict";var PL=$y(),g8e=kL().default;function y8e(n={readMode:!0}){if(n.readMode===!0&&!n.restoreFunction)throw new Error("You must provide a restoreFunction options when readMode ON");if(n.readMode!==!0&&!n.storeFunction)throw new Error("You must provide a storeFunction options when readMode OFF");if(n.readMode===!0)return function(){return function(t){return n.restoreFunction(t)}};let e=PL();return function(t,r={}){(!r.customOptions||!r.customOptions.code)&&(r.customOptions=Object.assign({},r.customOptions,{code:{source:!0}}));let i=e(t,r);return function(s){let u=i(s),a=g8e(i[PL.AjvReference].ajv,u);return n.storeFunction(s,a),u}}}DL.exports=y8e});var $y=C((FAe,Ro)=>{"use strict";var ML=Symbol.for("fastify.ajv-compiler.reference"),v8e=OL(),_8e=RL();function jy(n){let e=new Map,l=new Map;return n&&n.jtdSerializer===!0?function(r,i){let s=FL({},i);if(l.has(s))return l.get(s);let u=new _8e(r,i),a=u.buildSerializerFunction.bind(u);return l.set(s,a),a}:function(r,i){let s=FL(r,i.customOptions);if(e.has(s))return e.get(s);let u=new v8e(r,i),a=u.buildValidatorFunction.bind(u);return e.set(s,a),i.customOptions.code!==void 0&&(a[ML]=u),a}}function FL(n,e){let l=JSON.stringify(n),t=JSON.stringify(e);return`${l}${t}`}Ro.exports=jy;Ro.exports.default=jy;Ro.exports.AjvCompiler=jy;Ro.exports.AjvReference=ML;Ro.exports.StandaloneValidator=LL()});var Uy=C((MAe,$L)=>{"use strict";var{buildSchemas:E8e}=f0(),b8e=ry(),T8e=$y();function S8e(n,e){if(n)return new Io(n,e);let l=Object.assign({buildValidator:null,buildSerializer:null},e?.compilersFactory);l.buildValidator||(l.buildValidator=T8e()),l.buildSerializer||(l.buildSerializer=b8e());let t={bucket:e&&e.bucket||E8e,compilersFactory:l,isCustomValidatorCompiler:typeof e?.compilersFactory?.buildValidator=="function",isCustomSerializerCompiler:typeof e?.compilersFactory?.buildValidator=="function"};return new Io(void 0,t)}var Io=class{constructor(e,l){this.opts=l||e?.opts,this.addedSchemas=!1,this.compilersFactory=this.opts.compilersFactory,e?(this.schemaBucket=this.opts.bucket(e.getSchemas()),this.validatorCompiler=e.getValidatorCompiler(),this.serializerCompiler=e.getSerializerCompiler(),this.isCustomValidatorCompiler=e.isCustomValidatorCompiler,this.isCustomSerializerCompiler=e.isCustomSerializerCompiler,this.parent=e):(this.schemaBucket=this.opts.bucket(),this.isCustomValidatorCompiler=this.opts.isCustomValidatorCompiler||!1,this.isCustomSerializerCompiler=this.opts.isCustomSerializerCompiler||!1)}add(e){return this.addedSchemas=!0,this.schemaBucket.add(e)}getSchema(e){return this.schemaBucket.getSchema(e)}getSchemas(){return this.schemaBucket.getSchemas()}setValidatorCompiler(e){this.compilersFactory=Object.assign({},this.compilersFactory,{buildValidator:()=>e}),this.validatorCompiler=e,this.isCustomValidatorCompiler=!0}setSerializerCompiler(e){this.compilersFactory=Object.assign({},this.compilersFactory,{buildSerializer:()=>e}),this.serializerCompiler=e,this.isCustomSerializerCompiler=!0}getValidatorCompiler(){return this.validatorCompiler||this.parent&&this.parent.getValidatorCompiler()}getSerializerCompiler(){return this.serializerCompiler||this.parent&&this.parent.getSerializerCompiler()}getSerializerBuilder(){return this.compilersFactory.buildSerializer||this.parent&&this.parent.getSerializerBuilder()}getValidatorBuilder(){return this.compilersFactory.buildValidator||this.parent&&this.parent.getValidatorBuilder()}setupValidator(e){this.validatorCompiler!==void 0&&!this.addedSchemas||(this.validatorCompiler=this.getValidatorBuilder()(this.schemaBucket.getSchemas(),e.ajv))}setupSerializer(e){this.serializerCompiler!==void 0&&!this.addedSchemas||(this.serializerCompiler=this.getSerializerBuilder()(this.schemaBucket.getSchemas(),e.serializerOpts))}};Io.buildSchemaController=S8e;$L.exports=Io});var Gy=C(($Ae,zy)=>{"use strict";var By=Rg(),qy=require("node:assert"),Vy=Symbol.for("registered-plugin"),{kTestInternals:x8e}=Ut(),{exist:A8e,existReply:w8e,existRequest:O8e}=jg(),{FST_ERR_PLUGIN_VERSION_MISMATCH:N8e,FST_ERR_PLUGIN_NOT_PRESENT_IN_INSTANCE:R8e}=o2(),{FSTWRN002:I8e}=si();function m1(n){return n[Symbol.for("plugin-meta")]}function jL(n){let e=UL(n);if(e)return e;let l=require.cache;if(l){let t=Object.keys(l);for(let r=0;r e.trim()).join(" -- ")}function UL(n){return n[Symbol.for("fastify.display-name")]}function BL(n){return!!n[Symbol.for("skip-override")]}function HL(n){let e=m1(n);if(!e)return;let l=e.dependencies;l&&(qy(Array.isArray(l),"The dependencies should be an array of strings"),l.forEach(t=>{qy(this[Vy].indexOf(t)>-1,`The dependency '${t}' of plugin '${e.name}' is not registered`)}))}function qL(n){let e=m1(n);if(!e)return;let{decorators:l,name:t}=e;l&&(l.fastify&&Hy(this,"Fastify",l.fastify,t),l.reply&&Hy(this,"Reply",l.reply,t),l.request&&Hy(this,"Request",l.request,t))}var k8e={Fastify:A8e,Request:O8e,Reply:w8e};function Hy(n,e,l,t){qy(Array.isArray(l),"The decorators should be an array of strings"),l.forEach(r=>{let i=typeof t=="string"?` required by '${t}'`:"";if(!k8e[e].call(n,r))throw new R8e(r,i,e)})}function P8e(n){let e=m1(n);if(!e)return;let l=e.fastify,t=/-rc.+$/.test(this.version);if(!(t===!0&&By.gt(this.version,By.coerce(l))===!0)&&l&&By.satisfies(this.version,l,{includePrerelease:t})===!1)throw new N8e(e.name,l,this.version)}function D8e(n){let e=m1(n);if(!e)return;let l=e.name;if(l)return this[Vy].push(l),l}function L8e(n,e){n.constructor.name==="AsyncFunction"&&n.length===3&&I8e(e||"anonymous")}function F8e(n){let e=D8e.call(this,n)||jL(n);return L8e.call(this,n,e),P8e.call(this,n),qL.call(this,n),HL.call(this,n),BL(n)}zy.exports={getPluginName:jL,getFuncPreview:C8e,kRegisteredPlugins:Vy,getDisplayName:UL,registerPlugin:F8e};zy.exports[x8e]={shouldSkipOverride:BL,getMeta:m1,checkDecorators:qL,checkDependencies:HL}});var G9=C((jAe,VL)=>{"use strict";function M8e(n,e){let l=e||j8e();return n?U8e(n,l):l}function $8e(n,e){return n.genReqId(e)}function j8e(){let e=0;return function(){return e=e+1&2147483647,`req-${e.toString(36)}`}}function U8e(n,e){return function(l){return l.headers[n]||e(l)}}VL.exports={getGenReqId:$8e,reqIdGenFactory:M8e}});var WL=C((UAe,XL)=>{"use strict";var zL=12,B8e=0,Xy=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function H8e(n){var e=n.indexOf("%");if(e===-1)return n;for(var l=n.length,t="",r=0,i=0,s=e,u=zL;e>-1&&e >10),56320+(i&1023)),i=0,r=e+3,e=s=n.indexOf("%",r);else{if(u===B8e)return null;if(e+=3,e {"use strict";var KL=WL(),YL=/\+/g,JL=function(){};JL.prototype=Object.create(null);function V8e(n){let e=new JL;if(typeof n!="string")return e;let l=n.length,t="",r="",i=-1,s=-1,u=!1,a=!1,c=!1,f=!1,p=!1,m=0;for(let h=0;h i,p||(s=h),t=n.slice(i+1,s),p||t.length>0){c&&(t=t.replace(YL," ")),u&&(t=KL(t)||t),p&&(r=n.slice(s+1,h),f&&(r=r.replace(YL," ")),a&&(r=KL(r)||r));let g=e[t];g===void 0?e[t]=r:g.pop?g.push(r):e[t]=[g,r]}r="",i=h,s=h,u=!1,a=!1,c=!1,f=!1}else m===61?s<=i?s=h:a=!0:m===43?s>i?f=!0:c=!0:m===37&&(s>i?a=!0:u=!0);return e}QL.exports=V8e});var nF=C((HAe,eF)=>{var wr=Array.from({length:256},(n,e)=>"%"+((e<16?"0":"")+e.toString(16)).toUpperCase()),z8e=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function G8e(n){let e=n.length;if(e===0)return"";let l="",t=0,r=0;e:for(;r >6]+wr[128|i&63];continue}if(i<55296||i>=57344){t=r+1,l+=wr[224|i>>12]+wr[128|i>>6&63]+wr[128|i&63];continue}if(++r,r>=e)throw new Error("URI malformed");let s=n.charCodeAt(r)&1023;t=r+1,i=65536+((i&1023)<<10|s),l+=wr[240|i>>18]+wr[128|i>>12&63]+wr[128|i>>6&63]+wr[128|i&63]}return t===0?n:t {"use strict";var{encodeString:Wy}=nF();function lF(n){let e=typeof n;return e==="string"?Wy(n):e==="bigint"?n.toString():e==="boolean"?n?"true":"false":e==="number"&&Number.isFinite(n)?n<1e21?""+n:Wy(""+n):""}function X8e(n){let e="";if(n===null||typeof n!="object")return e;let l="&",t=Object.keys(n),r=t.length,i=0;for(let s=0;s {"use strict";var iF=ZL(),sF=rF(),uF={parse:iF,stringify:sF};g1.exports=uF;g1.exports.default=uF;g1.exports.parse=iF;g1.exports.stringify=sF});var y1=C((zAe,oF)=>{oF.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}});var Yy=C(us=>{var sl=y1(),Ky=()=>[{type:sl.RANGE,from:48,to:57}],cF=()=>[{type:sl.CHAR,value:95},{type:sl.RANGE,from:97,to:122},{type:sl.RANGE,from:65,to:90}].concat(Ky()),fF=()=>[{type:sl.CHAR,value:9},{type:sl.CHAR,value:10},{type:sl.CHAR,value:11},{type:sl.CHAR,value:12},{type:sl.CHAR,value:13},{type:sl.CHAR,value:32},{type:sl.CHAR,value:160},{type:sl.CHAR,value:5760},{type:sl.RANGE,from:8192,to:8202},{type:sl.CHAR,value:8232},{type:sl.CHAR,value:8233},{type:sl.CHAR,value:8239},{type:sl.CHAR,value:8287},{type:sl.CHAR,value:12288},{type:sl.CHAR,value:65279}],W8e=()=>[{type:sl.CHAR,value:10},{type:sl.CHAR,value:13},{type:sl.CHAR,value:8232},{type:sl.CHAR,value:8233}];us.words=()=>({type:sl.SET,set:cF(),not:!1});us.notWords=()=>({type:sl.SET,set:cF(),not:!0});us.ints=()=>({type:sl.SET,set:Ky(),not:!1});us.notInts=()=>({type:sl.SET,set:Ky(),not:!0});us.whitespace=()=>({type:sl.SET,set:fF(),not:!1});us.notWhitespace=()=>({type:sl.SET,set:fF(),not:!0});us.anyChar=()=>({type:sl.SET,set:W8e(),not:!0})});var dF=C(v1=>{var pF=y1(),Co=Yy(),K8e="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?",Y8e={0:0,t:9,n:10,v:11,f:12,r:13};v1.strToChars=function(n){var e=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g;return n=n.replace(e,function(l,t,r,i,s,u,a,c){if(r)return l;var f=t?8:i?parseInt(i,16):s?parseInt(s,16):u?parseInt(u,8):a?K8e.indexOf(a):Y8e[c],p=String.fromCharCode(f);return/[[\]{}^$.|?*+()]/.test(p)&&(p="\\"+p),p}),n};v1.tokenizeClass=(n,e)=>{for(var l=[],t=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g,r,i;(r=t.exec(n))!=null;)if(r[1])l.push(Co.words());else if(r[2])l.push(Co.ints());else if(r[3])l.push(Co.whitespace());else if(r[4])l.push(Co.notWords());else if(r[5])l.push(Co.notInts());else if(r[6])l.push(Co.notWhitespace());else if(r[7])l.push({type:pF.RANGE,from:(r[8]||r[9]).charCodeAt(0),to:r[10].charCodeAt(0)});else if(i=r[12])l.push({type:pF.CHAR,value:i.charCodeAt(0)});else return[l,t.lastIndex];v1.error(e,"Unterminated character class")};v1.error=(n,e)=>{throw new SyntaxError("Invalid regular expression: /"+n+"/: "+e)}});var hF=C(_1=>{var X9=y1();_1.wordBoundary=()=>({type:X9.POSITION,value:"b"});_1.nonWordBoundary=()=>({type:X9.POSITION,value:"B"});_1.begin=()=>({type:X9.POSITION,value:"^"});_1.end=()=>({type:X9.POSITION,value:"$"})});var mF=C((KAe,Jy)=>{var ko=dF(),w3=y1(),$u=Yy(),W9=hF();Jy.exports=n=>{var e=0,l,t,r={type:w3.ROOT,stack:[]},i=r,s=r.stack,u=[],a=T=>{ko.error(n,`Nothing to repeat at column ${T-1}`)},c=ko.strToChars(n);for(l=c.length;e {"use strict";var gF=mF(),J8e=gF.types;yF.exports=function(n,e){e||(e={});var l=e.limit===void 0?25:e.limit;Q8e(n)?n=n.source:typeof n!="string"&&(n=String(n));try{n=gF(n)}catch{return!1}var t=0;return function r(i,s){var u,a,c;if(i.type===J8e.REPETITION&&(s++,t++,s>1||t>l))return!1;if(i.options){for(u=0,c=i.options.length;u {"use strict";_F.exports={name:"__fmw_internal_strategy_merged_tree_http_method__",storage:function(){let n={};return{get:e=>n[e]||null,set:(e,l)=>{n[e]=l}}},deriveConstraint:n=>n.method,mustMatchWhenDerived:!0}});var wF=C((QAe,AF)=>{"use strict";var EF=eo(),bF=K9(),TF=Symbol("treeData");function SF(n,e=""){let l="",t=Object.keys(n);for(let r=0;r EF(e)):typeof n=="symbol"?n.toString():typeof n=="function"?H8e(n):n}function q8e(n,e){if(!e.includeMeta)return{};let l=e.buildPrettyMeta(n),t={},r=e.includeMeta;Array.isArray(r)||(r=Reflect.ownKeys(l));for(let i of r){if(!Object.prototype.hasOwnProperty.call(l,i))continue;let s=i.toString(),u=l[i];if(u!=null){let a=JSON.stringify(EF(u));t[s]=a}}return t}function V8e(n){let e="";for(let[l,t]of Object.entries(n))e+=` -\u2022 (${l}) ${t}`;return e}function z8e(n){let e={...n.opts.constraints},l=e[yF.name];return delete e[yF.name],{...n,method:l,opts:{constraints:e}}}function G8e(n){let e=` (${n.method})`,l=n.opts.constraints||{};return Object.keys(l).length!==0&&(e+=" "+JSON.stringify(l)),e+=V8e(n.metaData),e}function X8e(n){return n.reduce((e,l)=>{for(let t of e)if(gF(l.opts.constraints,t.opts.constraints)&&gF(l.metaData,t.metaData))return t.method+=", "+l.method,e;return e.push(l),e},[])}function W8e(n,e,l){let t=n.routes;return l.method===void 0&&(t=t.map(z8e)),t=t.map(r=>(r.metaData=q8e(r,l),r)),l.method===void 0&&(t=X8e(t)),t.map(G8e).join(` -${e}`)}function W9(n,e,l,t){if((n.isLeafNode||t.commonPrefix!==!1)&&(l=l||"(empty root node)",e=e[l]={},n.isLeafNode&&(e[vF]=W8e(n,l,t)),l=""),n.staticChildren)for(let r of Object.values(n.staticChildren))W9(r,e,l+r.prefix,t);if(n.parametricChildren)for(let r of Object.values(n.parametricChildren)){let i=Array.from(r.nodePaths).join("|");W9(r,e,l+i,t)}n.wildcardChild&&W9(n.wildcardChild,e,"*",t)}function K8e(n,e){let l={};return W9(n,l,n.prefix,e),_F(l)}bF.exports={prettyPrintTree:K8e}});var xF=C((BAe,SF)=>{"use strict";var Y8e=X9(),Yy=class{constructor(){this.unconstrainedHandler=null,this.constraints=[],this.handlers=[],this.constrainedHandlerStores=null}getMatchingHandler(e){return e===void 0?this.unconstrainedHandler:this._getHandlerMatchingConstraints(e)}addHandler(e,l){let t=l.params,r=l.opts.constraints||{},i={params:t,constraints:r,handler:l.handler,store:l.store||null,_createParamsObject:this._compileCreateParamsObject(t)},s=Object.keys(r);s.length===0&&(this.unconstrainedHandler=i);for(let a of s)this.constraints.includes(a)||(a==="version"?this.constraints.unshift(a):this.constraints.push(a));let u=s.includes(Y8e.name);if(!u&&this.handlers.length>=32)throw new Error("find-my-way supports a maximum of 32 route handlers per node when there are constraints, limit reached");this.handlers.push(i),this.handlers.sort((a,c)=>Object.keys(a.constraints).length-Object.keys(c.constraints).length),u||this._compileGetHandlerMatchingConstraints(e,r)}_compileCreateParamsObject(e){let l=[];for(let t=0;t xF(e)):typeof n=="symbol"?n.toString():typeof n=="function"?Z8e(n):n}function e9e(n,e){if(!e.includeMeta)return{};let l=e.buildPrettyMeta(n),t={},r=e.includeMeta;Array.isArray(r)||(r=Reflect.ownKeys(l));for(let i of r){if(!Object.prototype.hasOwnProperty.call(l,i))continue;let s=i.toString(),u=l[i];if(u!=null){let a=JSON.stringify(xF(u));t[s]=a}}return t}function n9e(n){let e="";for(let[l,t]of Object.entries(n))e+=` +\u2022 (${l}) ${t}`;return e}function l9e(n){let e={...n.opts.constraints},l=e[bF.name];return delete e[bF.name],{...n,method:l,opts:{constraints:e}}}function t9e(n){let e=` (${n.method})`,l=n.opts.constraints||{};return Object.keys(l).length!==0&&(e+=" "+JSON.stringify(l)),e+=n9e(n.metaData),e}function r9e(n){return n.reduce((e,l)=>{for(let t of e)if(EF(l.opts.constraints,t.opts.constraints)&&EF(l.metaData,t.metaData))return t.method+=", "+l.method,e;return e.push(l),e},[])}function i9e(n,e,l){let t=n.routes;return l.method===void 0&&(t=t.map(l9e)),t=t.map(r=>(r.metaData=e9e(r,l),r)),l.method===void 0&&(t=r9e(t)),t.map(t9e).join(` +${e}`)}function Y9(n,e,l,t){if((n.isLeafNode||t.commonPrefix!==!1)&&(l=l||"(empty root node)",e=e[l]={},n.isLeafNode&&(e[TF]=i9e(n,l,t)),l=""),n.staticChildren)for(let r of Object.values(n.staticChildren))Y9(r,e,l+r.prefix,t);if(n.parametricChildren)for(let r of Object.values(n.parametricChildren)){let i=Array.from(r.nodePaths).join("|");Y9(r,e,l+i,t)}n.wildcardChild&&Y9(n.wildcardChild,e,"*",t)}function s9e(n,e){let l={};return Y9(n,l,n.prefix,e),SF(l)}AF.exports={prettyPrintTree:s9e}});var NF=C((ZAe,OF)=>{"use strict";var u9e=K9(),Qy=class{constructor(){this.unconstrainedHandler=null,this.constraints=[],this.handlers=[],this.constrainedHandlerStores=null}getMatchingHandler(e){return e===void 0?this.unconstrainedHandler:this._getHandlerMatchingConstraints(e)}addHandler(e,l){let t=l.params,r=l.opts.constraints||{},i={params:t,constraints:r,handler:l.handler,store:l.store||null,_createParamsObject:this._compileCreateParamsObject(t)},s=Object.keys(r);s.length===0&&(this.unconstrainedHandler=i);for(let a of s)this.constraints.includes(a)||(a==="version"?this.constraints.unshift(a):this.constraints.push(a));let u=s.includes(u9e.name);if(!u&&this.handlers.length>=32)throw new Error("find-my-way supports a maximum of 32 route handlers per node when there are constraints, limit reached");this.handlers.push(i),this.handlers.sort((a,c)=>Object.keys(a.constraints).length-Object.keys(c.constraints).length),u||this._compileGetHandlerMatchingConstraints(e,r)}_compileCreateParamsObject(e){let l=[];for(let t=0;t {"use strict";var J8e=xF(),e7={STATIC:0,PARAMETRIC:1,WILDCARD:2},K9=class{constructor(){this.isLeafNode=!1,this.routes=null,this.handlerStorage=null}addRoute(e,l){this.routes===null&&(this.routes=[]),this.handlerStorage===null&&(this.handlerStorage=new J8e),this.isLeafNode=!0,this.routes.push(e),this.handlerStorage.addHandler(l,e)}},Y9=class extends K9{constructor(){super(),this.staticChildren={}}findStaticMatchingChild(e,l){let t=this.staticChildren[e.charAt(l)];return t===void 0||!t.matchPrefix(e,l)?null:t}getStaticChild(e,l=0){if(e.length===l)return this;let t=this.findStaticMatchingChild(e,l);return t?t.getStaticChild(e,l+t.prefix.length):null}createStaticChild(e){if(e.length===0)return this;let l=this.staticChildren[e.charAt(0)];if(l){let r=1;for(;r (r.regex&&r.regex.source)===l);return t||null}createParametricChild(e,l,t){let r=this.getParametricChild(e);return r?(r.nodePaths.add(t),r):(r=new Q9(e,l,t),this.parametricChildren.push(r),this.parametricChildren.sort((i,s)=>i.isRegex?s.isRegex?i.staticSuffix===null?1:s.staticSuffix===null?-1:s.staticSuffix.endsWith(i.staticSuffix)?1:i.staticSuffix.endsWith(s.staticSuffix)?-1:0:-1:1),r)}getWildcardChild(){return this.wildcardChild?this.wildcardChild:null}createWildcardChild(){return this.wildcardChild=this.getWildcardChild()||new Z9,this.wildcardChild}split(e,l){let t=this.prefix.slice(0,l),r=this.prefix.slice(l);this.prefix=r,this._compilePrefixMatch();let i=new n(t);return i.staticChildren[r.charAt(0)]=this,e.staticChildren[t.charAt(0)]=i,i}getNextNode(e,l,t,r){let i=this.findStaticMatchingChild(e,l),s=0;if(i===null){if(this.parametricChildren.length===0)return this.wildcardChild;i=this.parametricChildren[0],s=1}this.wildcardChild!==null&&t.push({paramsCount:r,brotherPathIndex:l,brotherNode:this.wildcardChild});for(let u=this.parametricChildren.length-1;u>=s;u--)t.push({paramsCount:r,brotherPathIndex:l,brotherNode:this.parametricChildren[u]});return i}_compilePrefixMatch(){if(this.prefix.length===1){this.matchPrefix=()=>!0;return}let e=[];for(let l=1;l {"use strict";var Q8e=require("assert");function v1(){if(!(this instanceof v1))return new v1;this.store={},this.maxMajor=0,this.maxMinors={},this.maxPatches={}}v1.prototype.set=function(n,e){if(typeof n!="string")throw new TypeError("Version should be a string");let[l,t,r]=n.split(".");return l=Number(l)||0,t=Number(t)||0,r=Number(r)||0,l>=this.maxMajor&&(this.maxMajor=l,this.store.x=e,this.store["*"]=e,this.store["x.x"]=e,this.store["x.x.x"]=e),t>=(this.maxMinors[l]||0)&&(this.maxMinors[l]=t,this.store[`${l}.x`]=e,this.store[`${l}.x.x`]=e),r>=(this.store[`${l}.${t}`]||0)&&(this.maxPatches[`${l}.${t}`]=r,this.store[`${l}.${t}.x`]=e),this.store[`${l}.${t}.${r}`]=e,this};v1.prototype.get=function(n){return this.store[n]};OF.exports={name:"version",mustMatchWhenDerived:!0,storage:v1,validate(n){Q8e(typeof n=="string","Version should be a string")}}});var IF=C((VAe,NF)=>{"use strict";var Z8e=require("assert");function e9e(){let n={},e=[];return{get:l=>{let t=n[l];if(t)return t;for(let r of e)if(r.host.test(l))return r.value},set:(l,t)=>{l instanceof RegExp?e.push({host:l,value:t}):n[l]=t}}}NF.exports={name:"host",mustMatchWhenDerived:!1,storage:e9e,validate(n){Z8e(typeof n=="string"||Object.prototype.toString.call(n)==="[object RegExp]","Host should be a string or a RegExp")}}});var kF=C((zAe,CF)=>{"use strict";var n9e=RF(),l9e=IF(),Jy=require("assert"),Qy=class{constructor(e){if(this.strategies={version:n9e,host:l9e},this.strategiesInUse=new Set,this.asyncStrategiesInUse=new Set,e)for(let l of Object.values(e))this.addConstraintStrategy(l)}isStrategyUsed(e){return this.strategiesInUse.has(e)||this.asyncStrategiesInUse.has(e)}hasConstraintStrategy(e){let l=this.strategies[e];return l!==void 0?l.isCustom||this.isStrategyUsed(e):!1}addConstraintStrategy(e){if(Jy(typeof e.name=="string"&&e.name!=="","strategy.name is required."),Jy(e.storage&&typeof e.storage=="function","strategy.storage function is required."),Jy(e.deriveConstraint&&typeof e.deriveConstraint=="function","strategy.deriveConstraint function is required."),this.strategies[e.name]&&this.strategies[e.name].isCustom)throw new Error(`There already exists a custom constraint with the name ${e.name}.`);if(this.isStrategyUsed(e.name))throw new Error(`There already exists a route with ${e.name} constraint.`);e.isCustom=!0,e.isAsync=e.deriveConstraint.length===3,this.strategies[e.name]=e,e.mustMatchWhenDerived&&this.noteUsage({[e.name]:e})}deriveConstraints(e,l,t){let r=this.deriveSyncConstraints(e,l);if(t===void 0)return r;this.deriveAsyncConstraints(r,e,l,t)}deriveSyncConstraints(e,l){}noteUsage(e){if(e){let l=this.strategiesInUse.size;for(let t in e)this.strategies[t].isAsync?this.asyncStrategiesInUse.add(t):this.strategiesInUse.add(t);l!==this.strategiesInUse.size&&this._buildDeriveConstraints()}}newStoreForConstraint(e){if(!this.strategies[e])throw new Error(`No strategy registered for constraint key ${e}`);return this.strategies[e].storage()}validateConstraints(e){for(let l in e){let t=e[l];if(typeof t>"u")throw new Error("Can't pass an undefined constraint value, must pass null or no key at all");let r=this.strategies[l];if(!r)throw new Error(`No strategy registered for constraint key ${l}`);r.validate&&r.validate(t)}}deriveAsyncConstraints(e,l,t,r){let i=this.asyncStrategiesInUse.size;if(i===0){r(null,e);return}e=e||{};for(let s of this.asyncStrategiesInUse)this.strategies[s].deriveConstraint(l,t,(a,c)=>{if(a!==null){r(a);return}e[s]=c,--i===0&&r(null,e)})}_buildDeriveConstraints(){if(this.strategiesInUse.size===0)return;let e=["return {"];for(let l of this.strategiesInUse){let t=this.strategies[l];if(t.isCustom)e.push(` ${t.name}: this.strategies.${l}.deriveConstraint(req, ctx),`);else if(l==="version")e.push(" version: req.headers['accept-version'],");else if(l==="host")e.push(" host: req.headers.host || req.headers[':authority'],");else throw new Error("unknown non-custom strategy for compiling constraint derivation function")}e.push("}"),this.deriveSyncConstraints=new Function("req","ctx",e.join(` -`)).bind(this)}};CF.exports=Qy});var DF=C((GAe,PF)=>{"use strict";var t9e=["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"];PF.exports=t9e});var MF=C((XAe,FF)=>{"use strict";function LF(n,e){return n===50?e===53?"%":e===51?"#":e===52?"$":e===54?"&":e===66||e===98?"+":e===67||e===99?",":e===70||e===102?"/":null:n===51?e===65||e===97?":":e===66||e===98?";":e===68||e===100?"=":e===70||e===102?"?":null:n===52&&e===48?"@":null}function r9e(n,e){let l=!1,t=!1,r="";for(let s=1;s {"use strict";var ft=require("assert"),s9e=rF(),n7=hF(),nv=Qa(),{prettyPrintTree:u9e}=TF(),{StaticNode:$F,NODE_TYPES:Zy}=wF(),a9e=kF(),Co=DF(),ev=X9(),{safeDecodeURI:o9e,safeDecodeURIComponent:jF}=MF(),UF=/^https?:\/\/.*?\//,Mu=/(\/:[^/()]*?)\?(\/?)/;if(!n7(UF))throw new Error("the FULL_PATH_REGEXP is not safe, update this module");if(!n7(Mu))throw new Error("the OPTIONAL_PARAM_REGEXP is not safe, update this module");function Gl(n){if(!(this instanceof Gl))return new Gl(n);n=n||{},this._opts=n,n.defaultRoute?(ft(typeof n.defaultRoute=="function","The default route must be a function"),this.defaultRoute=n.defaultRoute):this.defaultRoute=null,n.onBadUrl?(ft(typeof n.onBadUrl=="function","The bad url handler must be a function"),this.onBadUrl=n.onBadUrl):this.onBadUrl=null,n.buildPrettyMeta?(ft(typeof n.buildPrettyMeta=="function","buildPrettyMeta must be a function"),this.buildPrettyMeta=n.buildPrettyMeta):this.buildPrettyMeta=c9e,n.querystringParser?(ft(typeof n.querystringParser=="function","querystringParser must be a function"),this.querystringParser=n.querystringParser):this.querystringParser=e=>e===""?{}:s9e.parse(e),this.caseSensitive=n.caseSensitive===void 0?!0:n.caseSensitive,this.ignoreTrailingSlash=n.ignoreTrailingSlash||!1,this.ignoreDuplicateSlashes=n.ignoreDuplicateSlashes||!1,this.maxParamLength=n.maxParamLength||100,this.allowUnsafeRegex=n.allowUnsafeRegex||!1,this.constrainer=new a9e(n.constraints),this.useSemicolonDelimiter=n.useSemicolonDelimiter||!1,this.routes=[],this.trees={}}Gl.prototype.on=function(e,l,t,r,i){typeof t=="function"&&(r!==void 0&&(i=r),r=t,t={}),ft(typeof l=="string","Path should be a string"),ft(l.length>0,"The path could not be empty"),ft(l[0]==="/"||l[0]==="*","The first character of a path should be `/` or `*`"),ft(typeof r=="function","Handler should be a function");let s=l.match(Mu);if(s){ft(l.length===s.index+s[0].length,"Optional Parameter needs to be the last parameter of the path");let c=l.replace(Mu,"$1$2"),f=l.replace(Mu,"$2");this.on(e,c,t,r,i),this.on(e,f,t,r,i);return}let u=l;this.ignoreDuplicateSlashes&&(l=lv(l)),this.ignoreTrailingSlash&&(l=tv(l));let a=Array.isArray(e)?e:[e];for(let c of a)ft(typeof c=="string","Method should be a string"),ft(Co.includes(c),`Method '${c}' is not an http method.`),this._on(c,l,t,r,i,u)};Gl.prototype._on=function(e,l,t,r,i){let s={};t.constraints!==void 0&&(ft(typeof t.constraints=="object"&&t.constraints!==null,"Constraints should be an object"),Object.keys(t.constraints).length!==0&&(s=t.constraints)),this.constrainer.validateConstraints(s),this.constrainer.noteUsage(s),this.trees[e]===void 0&&(this.trees[e]=new $F("/"));let u=l;if(u==="*"&&this.trees[e].prefix.length!==0){let m=this.trees[e];this.trees[e]=new $F(""),this.trees[e].staticChildren["/"]=m}let a=this.trees[e],c=a.prefix.length,f=[];for(let m=0;m<=u.length;m++){if(u.charCodeAt(m)===58&&u.charCodeAt(m+1)===58){m++;continue}let h=u.charCodeAt(m)===58&&u.charCodeAt(m+1)!==58,g=u.charCodeAt(m)===42;if(h||g||m===u.length&&m!==c){let _=u.slice(c,m);this.caseSensitive||(_=_.toLowerCase()),_=_.split("::").join(":"),_=_.split("%").join("%25"),a=a.createStaticChild(_)}if(h){let _=!1,S=[],T=m+1;for(let x=T;;x++){let v=u.charCodeAt(x),b=v===40,w=v===45||v===46,N=v===47||x===u.length;if(b||w||N){let R=u.slice(T,x);if(f.push(R),_=_||b||w,b){let L=qF(u,x),Q=u.slice(x,L+1);this.allowUnsafeRegex||ft(n7(new RegExp(Q)),`The regex '${Q}' is not safe!`),S.push(HF(Q)),x=L+1}else S.push("(.*?)");let k=x;for(;x 0,"The path could not be empty"),ft(l[0]==="/"||l[0]==="*","The first character of a path should be `/` or `*`"),ft(typeof t>"u"||typeof t=="object"&&!Array.isArray(t)&&t!==null,"Constraints should be an object or undefined.");let r=l.match(Mu);if(r){ft(l.length===r.index+r[0].length,"Optional Parameter needs to be the last parameter of the path");let s=l.replace(Mu,"$1$2"),u=l.replace(Mu,"$2");this.off(e,s,t),this.off(e,u,t);return}this.ignoreDuplicateSlashes&&(l=lv(l)),this.ignoreTrailingSlash&&(l=tv(l));let i=Array.isArray(e)?e:[e];for(let s of i)this._off(s,l,t)};Gl.prototype._off=function(e,l,t){ft(typeof e=="string","Method should be a string"),ft(Co.includes(e),`Method '${e}' is not an http method.`);function r(a){return e!==a.method||l!==a.path}function i(a){return r(a)||!nv(t,a.opts.constraints||{})}let s=t?i:r,u=this.routes.filter(s);this._rebuild(u)};Gl.prototype.lookup=function(e,l,t,r){if(typeof t=="function"&&(r=t,t=void 0),r===void 0){let i=this.constrainer.deriveConstraints(e,t),s=this.find(e.method,e.url,i);return this.callHandler(s,e,l,t)}this.constrainer.deriveConstraints(e,t,(i,s)=>{if(i!==null){r(i);return}try{let u=this.find(e.method,e.url,s),a=this.callHandler(u,e,l,t);r(null,a)}catch(u){r(u)}})};Gl.prototype.callHandler=function(e,l,t,r){return e===null?this._defaultRoute(l,t,r):r===void 0?e.handler(l,t,e.params,e.store,e.searchParams):e.handler.call(r,l,t,e.params,e.store,e.searchParams)};Gl.prototype.find=function(e,l,t){let r=this.trees[e];if(r===void 0)return null;l.charCodeAt(0)!==47&&(l=l.replace(UF,"/")),this.ignoreDuplicateSlashes&&(l=lv(l));let i,s,u;try{i=o9e(l,this.useSemicolonDelimiter),l=i.path,s=i.querystring,u=i.shouldDecodeParam}catch{return this._onBadUrl(l)}this.ignoreTrailingSlash&&(l=tv(l));let a=l;this.caseSensitive===!1&&(l=l.toLowerCase());let c=this.maxParamLength,f=r.prefix.length,p=[],m=l.length,h=[];for(;;){if(f===m&&r.isLeafNode){let _=r.handlerStorage.getMatchingHandler(t);if(_!==null)return{handler:_.handler,store:_.store,params:_._createParamsObject(p),searchParams:this.querystringParser(s)}}let g=r.getNextNode(l,f,h,p.length);if(g===null){if(h.length===0)return null;let _=h.pop();f=_.brotherPathIndex,p.splice(_.paramsCount),g=_.brotherNode}if(r=g,r.kind===Zy.STATIC){f+=r.prefix.length;continue}if(r.kind===Zy.WILDCARD){let _=a.slice(f);u&&(_=jF(_)),p.push(_),f=m;continue}if(r.kind===Zy.PARAMETRIC){let _=a.indexOf("/",f);_===-1&&(_=m);let S=a.slice(f,_);if(u&&(S=jF(S)),r.isRegex){let T=r.regex.exec(S);if(T===null)continue;for(let x=1;x c)return null;p.push(v)}}else{if(S.length>c)return null;p.push(S)}f=_}}};Gl.prototype._rebuild=function(n){this.reset();for(let e of n){let{method:l,path:t,opts:r,handler:i,store:s}=e;this._on(l,t,r,i,s)}};Gl.prototype._defaultRoute=function(n,e,l){if(this.defaultRoute!==null)return l===void 0?this.defaultRoute(n,e):this.defaultRoute.call(l,n,e);e.statusCode=404,e.end()};Gl.prototype._onBadUrl=function(n){if(this.onBadUrl===null)return null;let e=this.onBadUrl;return{handler:(l,t,r)=>e(n,l,t),params:{},store:null}};Gl.prototype.prettyPrint=function(n={}){let e=n.method;n.buildPrettyMeta=this.buildPrettyMeta.bind(this);let l=null;if(e===void 0){let{version:t,host:r,...i}=this.constrainer.strategies;i[ev.name]=ev;let s=new Gl({...this._opts,constraints:i}),u=this.routes.map(a=>{let c={...a.opts.constraints,[ev.name]:a.method};return{...a,method:"MERGED",opts:{constraints:c}}});s._rebuild(u),l=s.trees.MERGED}else l=this.trees[e];return l==null?"(empty tree)":u9e(l,n)};for(let n in Co){if(!Co.hasOwnProperty(n))continue;let e=Co[n],l=e.toLowerCase();if(Gl.prototype[l])throw new Error("Method already exists: "+l);Gl.prototype[l]=function(t,r,i){return this.on(e,t,r,i)}}Gl.prototype.all=function(n,e,l){this.on(Co,n,e,l)};VF.exports=Gl;function BF(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function lv(n){return n.replace(/\/\/+/g,"/")}function tv(n){return n.length>1&&n.charCodeAt(n.length-1)===47?n.slice(0,-1):n}function HF(n){return n.charCodeAt(1)===94&&(n=n.slice(0,1)+n.slice(2)),n.charCodeAt(n.length-2)===36&&(n=n.slice(0,n.length-2)+n.slice(n.length-1)),n}function qF(n,e){let l=1;for(;e {"use strict";function iv(n,e,l,t){if(l===void 0)return e.header("content-length","0"),t(null,null);if(typeof l.resume=="function")return l.on("error",i=>{e.log.error({err:i},"Error on Stream found for HEAD route")}),l.resume(),t(null,null);let r=""+Buffer.byteLength(l);e.header("content-length",r),t(null,null)}function f9e(n){return n==null?iv:Array.isArray(n)?[...n,iv]:[n,iv]}zF.exports={parseHeadOnSendHandlers:f9e}});var oM=C((YAe,aM)=>{"use strict";var p9e=rv(),d9e=x9(),XF=ld(),{onRequestAbortHookRunner:h9e,lifecycleHooks:WF,preParsingHookRunner:m9e,onTimeoutHookRunner:g9e,onRequestHookRunner:y9e}=ji(),{supportedMethods:v9e}=kg(),{normalizeSchema:_9e}=o0(),{parseHeadOnSendHandlers:E9e}=GF(),{FSTDEP007:b9e,FSTDEP008:T9e,FSTDEP014:KF}=ii(),{compileSchemasForValidation:S9e,compileSchemasForSerialization:x9e}=Jp(),{FST_ERR_SCH_VALIDATION_BUILD:A9e,FST_ERR_SCH_SERIALIZATION_BUILD:w9e,FST_ERR_DEFAULT_ROUTE_INVALID_TYPE:O9e,FST_ERR_DUPLICATED_ROUTE:R9e,FST_ERR_INVALID_URL:N9e,FST_ERR_HOOK_INVALID_HANDLER:YF,FST_ERR_ROUTE_OPTIONS_NOT_OBJ:I9e,FST_ERR_ROUTE_DUPLICATED_HANDLER:C9e,FST_ERR_ROUTE_HANDLER_NOT_FN:JF,FST_ERR_ROUTE_MISSING_HANDLER:k9e,FST_ERR_ROUTE_METHOD_NOT_SUPPORTED:P9e,FST_ERR_ROUTE_METHOD_INVALID:D9e,FST_ERR_ROUTE_BODY_VALIDATION_SCHEMA_NOT_SUPPORTED:L9e,FST_ERR_ROUTE_BODY_LIMIT_OPTION_NOT_INT:F9e,FST_ERR_HOOK_INVALID_ASYNC_HANDLER:sv}=a2(),{kRoutePrefix:M9e,kLogLevel:$9e,kLogSerializers:QF,kHooks:ZF,kSchemaController:j9e,kOptions:eM,kReplySerializerDefault:uv,kReplyIsError:U9e,kRequestPayloadStream:B9e,kDisableRequestLogging:H9e,kSchemaErrorFormatter:q9e,kErrorHandler:nM,kHasBeenDecorated:lM,kRequestAcceptVersion:av,kRouteByFastify:ov,kRouteContext:tM}=jt(),{buildErrorHandler:V9e}=U0(),{createChildLogger:z9e}=u0(),{getGenReqId:G9e}=V9();function X9e(n){let e=p9e(n.config),l,t,r,i,s,u,a,c,f,p,m,h,g,_=!1;return{setup(k,j){l=j.avvio,t=j.fourOhFour,r=j.logger,i=j.hasLogger,s=j.setupResponseListeners,u=j.throwIfAlreadyStarted,h=j.validateHTTPVersion,m=k.exposeHeadRoutes,a=k.disableRequestLogging,c=k.ignoreTrailingSlash,f=k.ignoreDuplicateSlashes,p=Object.prototype.hasOwnProperty.call(k,"return503OnClosing")?k.return503OnClosing:!0,g=j.keepAliveConnections},routing:e.lookup.bind(e),route:N,hasRoute:b,prepareRoute:v,getDefaultRoute:function(){return KF(),e.defaultRoute},setDefaultRoute:function(k){if(KF(),typeof k!="function")throw new O9e;e.defaultRoute=k},routeHandler:R,closeRoutes:()=>{_=!0},printRoutes:e.prettyPrint.bind(e),addConstraintStrategy:S,hasConstraintStrategy:T,isAsyncConstraint:x,findRoute:w};function S(k){return u("Cannot add constraint strategy!"),e.addConstraintStrategy(k)}function T(k){return e.hasConstraintStrategy(k)}function x(){return e.constrainer.asyncStrategiesInUse.size>0}function v({method:k,url:j,options:L,handler:Q,isFastify:Y}){if(typeof j!="string")throw new N9e(typeof j);if(!Q&&typeof L=="function")Q=L,L={};else if(Q&&typeof Q=="function"){if(Object.prototype.toString.call(L)!=="[object Object]")throw new I9e(k,j);if(L.handler)throw typeof L.handler=="function"?new C9e(k,j):new JF(k,j)}return L=Object.assign({},L,{method:k,url:j,path:j,handler:Q||L&&L.handler}),N.call(this,{options:L,isFastify:Y})}function b({options:k}){return w(k)!==null}function w(k){let j=e.find(k.method,k.url||"",k.constraints);return j?{handler:j.handler,params:j.params,searchParams:j.searchParams}:null}function N({options:k,isFastify:j}){let L={...k},{exposeHeadRoute:Q}=L,Z=Q!=null?Q:m,ve=L.method==="GET"||Array.isArray(L.method)&&L.method.includes("GET"),Ne=L.method==="HEAD"||Array.isArray(L.method)&&L.method.includes("HEAD"),pe=Z&&ve?{...k}:null;u("Cannot add route!");let ue=L.url||L.path||"";if(Array.isArray(L.method))for(var ye=0;ye 0&&L.method!=="HEAD")switch(L.prefixTrailingSlash){case"slash":re.call(this,{path:ue,isFastify:j});break;case"no-slash":re.call(this,{path:"",isFastify:j});break;case"both":default:re.call(this,{path:"",isFastify:j}),c!==!0&&(f!==!0||!q.endsWith("/"))&&re.call(this,{path:ue,prefixing:!0,isFastify:j})}else ue[0]==="/"&&q.endsWith("/")?re.call(this,{path:ue.slice(1),isFastify:j}):re.call(this,{path:ue,isFastify:j});return this;function re({path:te,prefixing:ne=!1,isFastify:Bl=!1}){let On=q+te;if(L.url=On,L.path=On,L.routePath=te,L.prefix=q,L.logLevel=L.logLevel||this[$9e],(this[QF]||L.logSerializers)&&(L.logSerializers=Object.assign(Object.create(this[QF]),L.logSerializers)),L.attachValidation==null&&(L.attachValidation=!1),ne===!1)for(let fn of this[ZF].onRoute)fn.call(this,L);for(let fn of WF)if(L&&fn in L){if(Array.isArray(L[fn]))for(let dn of L[fn]){if(typeof dn!="function")throw new YF(fn,Object.prototype.toString.call(dn));if(fn==="onSend"||fn==="preSerialization"||fn==="onError"||fn==="preParsing"){if(dn.constructor.name==="AsyncFunction"&&dn.length===4)throw new sv}else if(fn==="onRequestAbort"){if(dn.constructor.name==="AsyncFunction"&&dn.length!==1)throw new sv}else if(dn.constructor.name==="AsyncFunction"&&dn.length===3)throw new sv}else if(L[fn]!==void 0&&typeof L[fn]!="function")throw new YF(fn,Object.prototype.toString.call(L[fn]))}let Ge=L.constraints||{},Bn={...L.config,url:On,method:L.method},Ke=new d9e({schema:L.schema,handler:L.handler.bind(this),config:Bn,errorHandler:L.errorHandler,childLoggerFactory:L.childLoggerFactory,bodyLimit:L.bodyLimit,logLevel:L.logLevel,logSerializers:L.logSerializers,attachValidation:L.attachValidation,schemaErrorFormatter:L.schemaErrorFormatter,replySerializer:this[uv],validatorCompiler:L.validatorCompiler,serializerCompiler:L.serializerCompiler,exposeHeadRoute:Z,prefixTrailingSlash:L.prefixTrailingSlash||"both",server:this,isFastify:Bl});L.version&&(T9e(),Ge.version=L.version);let Xe=e.findRoute("HEAD",L.url,Ge),Sl=Xe!==null;Ne&&Sl&&!Ke[ov]&&Xe.store[ov]&&e.off("HEAD",L.url,Ge);try{e.on(L.method,L.url,{constraints:Ge},R,Ke)}catch(fn){if(!Ke[ov])throw fn.message.includes(`Method '${L.method}' already declared for route '${L.url}'`)?new R9e(L.method,L.url):fn}if(this.after((fn,dn)=>{Ke.errorHandler=L.errorHandler?V9e(this[nM],L.errorHandler):this[nM],Ke._parserOptions.limit=L.bodyLimit||null,Ke.logLevel=L.logLevel,Ke.logSerializers=L.logSerializers,Ke.attachValidation=L.attachValidation,Ke[uv]=this[uv],Ke.schemaErrorFormatter=L.schemaErrorFormatter||this[q9e]||Ke.schemaErrorFormatter,l.once("preReady",()=>{for(let J of WF){let me=this[ZF][J].concat(L[J]||[]).map(Te=>Te.bind(this));Ke[J]=me.length?me:null}for(;!Ke.Request[lM]&&Ke.Request.parent;)Ke.Request=Ke.Request.parent;for(;!Ke.Reply[lM]&&Ke.Reply.parent;)Ke.Reply=Ke.Reply.parent;if(t.setContext(this,Ke),L.schema){Ke.schema=_9e(Ke.schema,this.initialConfig);let J=this[j9e];!L.validatorCompiler&&(L.schema.body||L.schema.headers||L.schema.querystring||L.schema.params)&&J.setupValidator(this[eM]);try{let me=typeof L?.validatorCompiler=="function"||J.isCustomValidatorCompiler;S9e(Ke,L.validatorCompiler||J.validatorCompiler,me)}catch(me){throw new A9e(L.method,On,me.message)}L.schema.response&&!L.serializerCompiler&&J.setupSerializer(this[eM]);try{x9e(Ke,L.serializerCompiler||J.serializerCompiler)}catch(me){throw new w9e(L.method,On,me.message)}}}),dn(fn)}),Z&&ve&&!Ne&&!Sl){let fn=E9e(pe.onSend);v.call(this,{method:"HEAD",url:te,options:{...pe,onSend:fn},isFastify:!0})}else Sl&&Q&&b9e()}}function R(k,j,L,Q,Y){let Z=G9e(Q.server,k),ve={level:Q.logLevel};Q.logSerializers&&(ve.serializers=Q.logSerializers);let Ne=z9e(Q,r,k,Z,ve);if(Ne[H9e]=a,!h(k.httpVersion)){Ne.info({res:{statusCode:505}},"request aborted - invalid HTTP version");let q='{"error":"HTTP Version Not Supported","message":"HTTP Version Not Supported","statusCode":505}',re={"Content-Type":"application/json","Content-Length":q.length};j.writeHead(505,re),j.end(q);return}if(_===!0&&(k.httpVersionMajor!==2&&j.setHeader("Connection","close"),p)){let q={"Content-Type":"application/json","Content-Length":"80"};j.writeHead(503,q),j.end('{"error":"Service Unavailable","message":"Service Unavailable","statusCode":503}'),Ne.info({res:{statusCode:503}},"request aborted - refusing to accept new requests as server is closing");return}String.prototype.toLowerCase.call(k.headers.connection||"")==="keep-alive"&&g.has(k.socket)===!1&&(g.add(k.socket),k.socket.on("close",Y9e.bind({keepAliveConnections:g,socket:k.socket}))),k.headers[av]!==void 0&&(k.headers["accept-version"]=k.headers[av],k.headers[av]=void 0);let ue=new Q.Request(Z,L,k,Y,Ne,Q),ye=new Q.Reply(j,ue,Ne);a===!1&&Ne.info({req:ue},"incoming request"),(i===!0||Q.onResponse!==null)&&s(ye),Q.onRequest!==null?y9e(Q.onRequest,ue,ye,sM):sM(null,ue,ye),Q.onRequestAbort!==null&&k.on("close",()=>{k.aborted&&h9e(Q.onRequestAbort,ue,W9e.bind(null,ye))}),Q.onTimeout!==null&&(ue.raw.socket._meta||ue.raw.socket.on("timeout",K9e),ue.raw.socket._meta={context:Q,request:ue,reply:ye})}}function W9e(n,e){e&&n.log.error({err:e},"onRequestAborted hook failed")}function K9e(){let{context:n,request:e,reply:l}=this._meta;g9e(n.onTimeout,e,l,J9e)}function rM(n){if(typeof n!="string")throw new D9e;if(n=n.toUpperCase(),v9e.indexOf(n)===-1)throw new P9e(n);return n}function iM(n,e,l){if((n==="GET"||n==="HEAD")&&l&&l.body)throw new L9e(n,e)}function uM(n){if(n!==void 0&&(!Number.isInteger(n)||n<=0))throw new F9e(n)}function sM(n,e,l){if(l.sent!==!0){if(n!=null){l[U9e]=!0,l.send(n);return}e[B9e]=e.raw,e[tM].preParsing!==null?m9e(e[tM].preParsing,e,l,XF):XF(null,e,l)}}function Y9e(){this.keepAliveConnections.delete(this.socket)}function J9e(){}aM.exports={buildRouting:X9e,validateBodyLimitOption:uM}});var gM=C((JAe,mM)=>{"use strict";var Q9e=rv(),cM=u9(),fM=S9(),Z9e=x9(),{kRoutePrefix:e7e,kCanSetNotFoundHandler:_1,kFourOhFourLevelInstance:E1,kFourOhFourContext:wr,kHooks:n7e,kErrorHandler:pM}=jt(),{lifecycleHooks:l7e}=ji(),{buildErrorHandler:t7e}=U0(),{FST_ERR_NOT_FOUND:r7e}=a2(),{createChildLogger:dM}=u0(),{getGenReqId:hM}=V9();function i7e(n){let{logger:e}=n,l=Q9e({onBadUrl:s(),defaultRoute:f}),t=null;return{router:l,setNotFoundHandler:a,setContext:u,arrange404:r};function r(p){p[E1]=p,p[_1]=!0,l.onBadUrl=l.onBadUrl.bind(p),l.defaultRoute=l.defaultRoute.bind(p)}function i(p,m){let{url:h,method:g}=p.raw,_=`Route ${g}:${h} not found`;p.log.info(_),m.code(404).send({message:_,error:"Not Found",statusCode:404})}function s(){return function(m,h,g){let _=this[E1][wr],S=hM(_.server,h),T=dM(_,e,h,S),x=new fM(S,null,h,null,T,_),v=new cM(g,x,T);t(x,v)}}function u(p,m){let h=Object.assign({},p[wr]);h.onSend=m.onSend,m[wr]=h}function a(p,m,h,g){this[_1]===void 0&&(this[_1]=!0),this[wr]===void 0&&(this[wr]=null);let _=this,S=this[e7e]||"/";if(this[_1]===!1)throw new Error(`Not found handler already set for Fastify instance with prefix: '${S}'`);typeof p=="object"&&(p.preHandler&&(Array.isArray(p.preHandler)?p.preHandler=p.preHandler.map(T=>T.bind(_)):p.preHandler=p.preHandler.bind(_)),p.preValidation&&(Array.isArray(p.preValidation)?p.preValidation=p.preValidation.map(T=>T.bind(_)):p.preValidation=p.preValidation.bind(_))),typeof p=="function"&&(m=p,p=void 0),p=p||{},m?(this[E1][_1]=!1,m=m.bind(this),t=m):(m=i,t=i),this.after((T,x)=>{c.call(this,S,p,m,h,g),x(T)})}function c(p,m,h,g,_){let S=new Z9e({schema:m.schema,handler:h,config:m.config||{},server:this});if(g.once("preReady",()=>{let T=this[wr];for(let x of l7e){let v=this[n7e][x].concat(m[x]||[]).map(b=>b.bind(this));T[x]=v.length?v:null}T.errorHandler=m.errorHandler?t7e(this[pM],m.errorHandler):this[pM]}),this[wr]!==null&&p==="/"){Object.assign(this[wr],S);return}this[E1][wr]=S,l.all(p+(p.endsWith("/")?"*":"/*"),_,S),l.all(p,_,S)}function f(p,m){let h=this[E1][wr],g=hM(h.server,p),_=dM(h,e,p,g);_.info({req:p},"incoming request");let S=new fM(g,null,p,null,_,h),T=new cM(m,S,_);S.log.warn("the default handler for 404 did not catch this, this is likely a fastify bug, please report it"),S.log.warn(l.prettyPrint()),T.code(404).send(new r7e)}}mM.exports=i7e});var vM=C((QAe,l7)=>{"use strict";l7.exports=Wn;l7.exports.default=Wn;var yM={type:"object",additionalProperties:!1,properties:{connectionTimeout:{type:"integer",default:0},keepAliveTimeout:{type:"integer",default:72e3},forceCloseConnections:{oneOf:[{type:"string",pattern:"idle"},{type:"boolean"}]},maxRequestsPerSocket:{type:"integer",default:0,nullable:!0},requestTimeout:{type:"integer",default:0},bodyLimit:{type:"integer",default:1048576},caseSensitive:{type:"boolean",default:!0},allowUnsafeRegex:{type:"boolean",default:!1},http2:{type:"boolean"},https:{if:{not:{oneOf:[{type:"boolean"},{type:"null"},{type:"object",additionalProperties:!1,required:["allowHTTP1"],properties:{allowHTTP1:{type:"boolean"}}}]}},then:{setDefaultValue:!0}},ignoreTrailingSlash:{type:"boolean",default:!1},ignoreDuplicateSlashes:{type:"boolean",default:!1},disableRequestLogging:{type:"boolean",default:!1},jsonShorthand:{type:"boolean",default:!0},maxParamLength:{type:"integer",default:100},onProtoPoisoning:{type:"string",default:"error"},onConstructorPoisoning:{type:"string",default:"error"},pluginTimeout:{type:"integer",default:1e4},requestIdHeader:{anyOf:[{enum:[!1]},{type:"string"}],default:"request-id"},requestIdLogLabel:{type:"string",default:"reqId"},http2SessionTimeout:{type:"integer",default:72e3},exposeHeadRoutes:{type:"boolean",default:!0},useSemicolonDelimiter:{type:"boolean",default:!0},versioning:{type:"object",additionalProperties:!0,required:["storage","deriveVersion"],properties:{storage:{},deriveVersion:{}}},constraints:{type:"object",additionalProperties:{type:"object",required:["name","storage","validate","deriveConstraint"],additionalProperties:!0,properties:{name:{type:"string"},storage:{},validate:{},deriveConstraint:{}}}}}},s7e=Object.prototype.hasOwnProperty,u7e=new RegExp("idle","u");function Wn(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0;if(s===0)if(n&&typeof n=="object"&&!Array.isArray(n)){n.connectionTimeout===void 0&&(n.connectionTimeout=0),n.keepAliveTimeout===void 0&&(n.keepAliveTimeout=72e3),n.maxRequestsPerSocket===void 0&&(n.maxRequestsPerSocket=0),n.requestTimeout===void 0&&(n.requestTimeout=0),n.bodyLimit===void 0&&(n.bodyLimit=1048576),n.caseSensitive===void 0&&(n.caseSensitive=!0),n.allowUnsafeRegex===void 0&&(n.allowUnsafeRegex=!1),n.ignoreTrailingSlash===void 0&&(n.ignoreTrailingSlash=!1),n.ignoreDuplicateSlashes===void 0&&(n.ignoreDuplicateSlashes=!1),n.disableRequestLogging===void 0&&(n.disableRequestLogging=!1),n.jsonShorthand===void 0&&(n.jsonShorthand=!0),n.maxParamLength===void 0&&(n.maxParamLength=100),n.onProtoPoisoning===void 0&&(n.onProtoPoisoning="error"),n.onConstructorPoisoning===void 0&&(n.onConstructorPoisoning="error"),n.pluginTimeout===void 0&&(n.pluginTimeout=1e4),n.requestIdHeader===void 0&&(n.requestIdHeader="request-id"),n.requestIdLogLabel===void 0&&(n.requestIdLogLabel="reqId"),n.http2SessionTimeout===void 0&&(n.http2SessionTimeout=72e3),n.exposeHeadRoutes===void 0&&(n.exposeHeadRoutes=!0),n.useSemicolonDelimiter===void 0&&(n.useSemicolonDelimiter=!0);let g=s;for(let _ in n)s7e.call(yM.properties,_)||delete n[_];if(g===s){let _=n.connectionTimeout,S=s;if(!(typeof _=="number"&&!(_%1)&&!isNaN(_)&&isFinite(_))){let T=typeof _,x;if(x===void 0)if(T==="boolean"||_===null||T==="string"&&_&&_==+_&&!(_%1))x=+_;else return Wn.errors=[{instancePath:e+"/connectionTimeout",schemaPath:"#/properties/connectionTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;x!==void 0&&(_=x,n!==void 0&&(n.connectionTimeout=x))}var u=S===s;if(u){let T=n.keepAliveTimeout,x=s;if(!(typeof T=="number"&&!(T%1)&&!isNaN(T)&&isFinite(T))){let b=typeof T,w;if(w===void 0)if(b==="boolean"||T===null||b==="string"&&T&&T==+T&&!(T%1))w=+T;else return Wn.errors=[{instancePath:e+"/keepAliveTimeout",schemaPath:"#/properties/keepAliveTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;w!==void 0&&(T=w,n!==void 0&&(n.keepAliveTimeout=w))}var u=x===s;if(u){if(n.forceCloseConnections!==void 0){let b=n.forceCloseConnections,w=s,N=s,R=!1,k=null,j=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.forceCloseConnections=Z))}if(s===j&&typeof b=="string"&&!u7e.test(b)){let Y={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/0/pattern",keyword:"pattern",params:{pattern:"idle"},message:'must match pattern "idle"'};i===null?i=[Y]:i.push(Y),s++}var a=j===s;a&&(R=!0,k=0);let L=s;if(typeof b!="boolean"){let Y;if(Y===void 0)if(b==="false"||b===0||b===null)Y=!1;else if(b==="true"||b===1)Y=!0;else{let Z={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};i===null?i=[Z]:i.push(Z),s++}Y!==void 0&&(b=Y,n!==void 0&&(n.forceCloseConnections=Y))}var a=L===s;if(a&&R?(R=!1,k=[k,1]):a&&(R=!0,k=1),R)s=N,i!==null&&(N?i.length=N:i=null);else{let Y={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Y]:i.push(Y),s++,Wn.errors=i,!1}var u=w===s}else var u=!0;if(u){let b=n.maxRequestsPerSocket,w=s;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b))&&b!==null){let R=typeof b,k;if(k===void 0)if(R==="boolean"||b===null||R==="string"&&b&&b==+b&&!(b%1))k=+b;else if(b===""||b===0||b===!1)k=null;else return Wn.errors=[{instancePath:e+"/maxRequestsPerSocket",schemaPath:"#/properties/maxRequestsPerSocket/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.maxRequestsPerSocket=k))}var u=w===s;if(u){let R=n.requestTimeout,k=s;if(!(typeof R=="number"&&!(R%1)&&!isNaN(R)&&isFinite(R))){let L=typeof R,Q;if(Q===void 0)if(L==="boolean"||R===null||L==="string"&&R&&R==+R&&!(R%1))Q=+R;else return Wn.errors=[{instancePath:e+"/requestTimeout",schemaPath:"#/properties/requestTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;Q!==void 0&&(R=Q,n!==void 0&&(n.requestTimeout=Q))}var u=k===s;if(u){let L=n.bodyLimit,Q=s;if(!(typeof L=="number"&&!(L%1)&&!isNaN(L)&&isFinite(L))){let Z=typeof L,ve;if(ve===void 0)if(Z==="boolean"||L===null||Z==="string"&&L&&L==+L&&!(L%1))ve=+L;else return Wn.errors=[{instancePath:e+"/bodyLimit",schemaPath:"#/properties/bodyLimit/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;ve!==void 0&&(L=ve,n!==void 0&&(n.bodyLimit=ve))}var u=Q===s;if(u){let Z=n.caseSensitive,ve=s;if(typeof Z!="boolean"){let pe;if(pe===void 0)if(Z==="false"||Z===0||Z===null)pe=!1;else if(Z==="true"||Z===1)pe=!0;else return Wn.errors=[{instancePath:e+"/caseSensitive",schemaPath:"#/properties/caseSensitive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;pe!==void 0&&(Z=pe,n!==void 0&&(n.caseSensitive=pe))}var u=ve===s;if(u){let pe=n.allowUnsafeRegex,ue=s;if(typeof pe!="boolean"){let q;if(q===void 0)if(pe==="false"||pe===0||pe===null)q=!1;else if(pe==="true"||pe===1)q=!0;else return Wn.errors=[{instancePath:e+"/allowUnsafeRegex",schemaPath:"#/properties/allowUnsafeRegex/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;q!==void 0&&(pe=q,n!==void 0&&(n.allowUnsafeRegex=q))}var u=ue===s;if(u){if(n.http2!==void 0){let q=n.http2,re=s;if(typeof q!="boolean"){let ne;if(ne===void 0)if(q==="false"||q===0||q===null)ne=!1;else if(q==="true"||q===1)ne=!0;else return Wn.errors=[{instancePath:e+"/http2",schemaPath:"#/properties/http2/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;ne!==void 0&&(q=ne,n!==void 0&&(n.http2=ne))}var u=re===s}else var u=!0;if(u){if(n.https!==void 0){let q=n.https,re=s,te=s,ne=!0,Bl=s,On=s,Ge=s,Bn=s,Ke=!1,Xe=null,Sl=s;if(typeof q!="boolean"){let J;if(J===void 0)if(q==="false"||q===0||q===null)J=!1;else if(q==="true"||q===1)J=!0;else{let me={};i===null?i=[me]:i.push(me),s++}J!==void 0&&(q=J,n!==void 0&&(n.https=J))}var c=Sl===s;c&&(Ke=!0,Xe=0);let fn=s;if(q!==null){let J;if(J===void 0)if(q===""||q===0||q===!1)J=null;else{let me={};i===null?i=[me]:i.push(me),s++}J!==void 0&&(q=J,n!==void 0&&(n.https=J))}var c=fn===s;if(c&&Ke)Ke=!1,Xe=[Xe,1];else{c&&(Ke=!0,Xe=1);let J=s;if(s===J)if(q&&typeof q=="object"&&!Array.isArray(q)){let Te;if(q.allowHTTP1===void 0&&(Te="allowHTTP1")){let Ue={};i===null?i=[Ue]:i.push(Ue),s++}else{let Ue=s;for(let sn in q)sn!=="allowHTTP1"&&delete q[sn];if(Ue===s&&q.allowHTTP1!==void 0){let sn=q.allowHTTP1;if(typeof sn!="boolean"){let Ce;if(Ce===void 0)if(sn==="false"||sn===0||sn===null)Ce=!1;else if(sn==="true"||sn===1)Ce=!0;else{let Rn={};i===null?i=[Rn]:i.push(Rn),s++}Ce!==void 0&&(sn=Ce,q!==void 0&&(q.allowHTTP1=Ce))}}}}else{let Te={};i===null?i=[Te]:i.push(Te),s++}var c=J===s;c&&Ke?(Ke=!1,Xe=[Xe,2]):c&&(Ke=!0,Xe=2)}if(Ke)s=Bn,i!==null&&(Bn?i.length=Bn:i=null);else{let J={};i===null?i=[J]:i.push(J),s++}var f=Ge===s;if(f){let J={};i===null?i=[J]:i.push(J),s++}else s=On,i!==null&&(On?i.length=On:i=null);var p=Bl===s;if(s=te,i!==null&&(te?i.length=te:i=null),p){let J=s;n.https=!0;var p=J===s;ne=p}if(!ne){let J={instancePath:e+"/https",schemaPath:"#/properties/https/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};return i===null?i=[J]:i.push(J),s++,Wn.errors=i,!1}var u=re===s}else var u=!0;if(u){let q=n.ignoreTrailingSlash,re=s;if(typeof q!="boolean"){let ne;if(ne===void 0)if(q==="false"||q===0||q===null)ne=!1;else if(q==="true"||q===1)ne=!0;else return Wn.errors=[{instancePath:e+"/ignoreTrailingSlash",schemaPath:"#/properties/ignoreTrailingSlash/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;ne!==void 0&&(q=ne,n!==void 0&&(n.ignoreTrailingSlash=ne))}var u=re===s;if(u){let ne=n.ignoreDuplicateSlashes,Bl=s;if(typeof ne!="boolean"){let Ge;if(Ge===void 0)if(ne==="false"||ne===0||ne===null)Ge=!1;else if(ne==="true"||ne===1)Ge=!0;else return Wn.errors=[{instancePath:e+"/ignoreDuplicateSlashes",schemaPath:"#/properties/ignoreDuplicateSlashes/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Ge!==void 0&&(ne=Ge,n!==void 0&&(n.ignoreDuplicateSlashes=Ge))}var u=Bl===s;if(u){let Ge=n.disableRequestLogging,Bn=s;if(typeof Ge!="boolean"){let Xe;if(Xe===void 0)if(Ge==="false"||Ge===0||Ge===null)Xe=!1;else if(Ge==="true"||Ge===1)Xe=!0;else return Wn.errors=[{instancePath:e+"/disableRequestLogging",schemaPath:"#/properties/disableRequestLogging/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Xe!==void 0&&(Ge=Xe,n!==void 0&&(n.disableRequestLogging=Xe))}var u=Bn===s;if(u){let Xe=n.jsonShorthand,Sl=s;if(typeof Xe!="boolean"){let dn;if(dn===void 0)if(Xe==="false"||Xe===0||Xe===null)dn=!1;else if(Xe==="true"||Xe===1)dn=!0;else return Wn.errors=[{instancePath:e+"/jsonShorthand",schemaPath:"#/properties/jsonShorthand/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;dn!==void 0&&(Xe=dn,n!==void 0&&(n.jsonShorthand=dn))}var u=Sl===s;if(u){let dn=n.maxParamLength,J=s;if(!(typeof dn=="number"&&!(dn%1)&&!isNaN(dn)&&isFinite(dn))){let Te=typeof dn,Ue;if(Ue===void 0)if(Te==="boolean"||dn===null||Te==="string"&&dn&&dn==+dn&&!(dn%1))Ue=+dn;else return Wn.errors=[{instancePath:e+"/maxParamLength",schemaPath:"#/properties/maxParamLength/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;Ue!==void 0&&(dn=Ue,n!==void 0&&(n.maxParamLength=Ue))}var u=J===s;if(u){let Te=n.onProtoPoisoning,Ue=s;if(typeof Te!="string"){let Ce=typeof Te,Rn;if(Rn===void 0)if(Ce=="number"||Ce=="boolean")Rn=""+Te;else if(Te===null)Rn="";else return Wn.errors=[{instancePath:e+"/onProtoPoisoning",schemaPath:"#/properties/onProtoPoisoning/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;Rn!==void 0&&(Te=Rn,n!==void 0&&(n.onProtoPoisoning=Rn))}var u=Ue===s;if(u){let Ce=n.onConstructorPoisoning,Rn=s;if(typeof Ce!="string"){let Nn=typeof Ce,zn;if(zn===void 0)if(Nn=="number"||Nn=="boolean")zn=""+Ce;else if(Ce===null)zn="";else return Wn.errors=[{instancePath:e+"/onConstructorPoisoning",schemaPath:"#/properties/onConstructorPoisoning/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;zn!==void 0&&(Ce=zn,n!==void 0&&(n.onConstructorPoisoning=zn))}var u=Rn===s;if(u){let Nn=n.pluginTimeout,zn=s;if(!(typeof Nn=="number"&&!(Nn%1)&&!isNaN(Nn)&&isFinite(Nn))){let $l=typeof Nn,kt;if(kt===void 0)if($l==="boolean"||Nn===null||$l==="string"&&Nn&&Nn==+Nn&&!(Nn%1))kt=+Nn;else return Wn.errors=[{instancePath:e+"/pluginTimeout",schemaPath:"#/properties/pluginTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;kt!==void 0&&(Nn=kt,n!==void 0&&(n.pluginTimeout=kt))}var u=zn===s;if(u){let $l=n.requestIdHeader,kt=s,Yl=s,Vt=!1,e2=s;if($l!==!1){let tt={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf/0/enum",keyword:"enum",params:{allowedValues:yM.properties.requestIdHeader.anyOf[0].enum},message:"must be equal to one of the allowed values"};i===null?i=[tt]:i.push(tt),s++}var m=e2===s;if(Vt=Vt||m,!Vt){let tt=s;if(typeof $l!="string"){let lr=typeof $l,xl;if(xl===void 0)if(lr=="number"||lr=="boolean")xl=""+$l;else if($l===null)xl="";else{let y2={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[y2]:i.push(y2),s++}xl!==void 0&&($l=xl,n!==void 0&&(n.requestIdHeader=xl))}var m=tt===s;Vt=Vt||m}if(Vt)s=Yl,i!==null&&(Yl?i.length=Yl:i=null);else{let tt={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[tt]:i.push(tt),s++,Wn.errors=i,!1}var u=kt===s;if(u){let tt=n.requestIdLogLabel,ga=s;if(typeof tt!="string"){let xl=typeof tt,y2;if(y2===void 0)if(xl=="number"||xl=="boolean")y2=""+tt;else if(tt===null)y2="";else return Wn.errors=[{instancePath:e+"/requestIdLogLabel",schemaPath:"#/properties/requestIdLogLabel/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;y2!==void 0&&(tt=y2,n!==void 0&&(n.requestIdLogLabel=y2))}var u=ga===s;if(u){let xl=n.http2SessionTimeout,y2=s;if(!(typeof xl=="number"&&!(xl%1)&&!isNaN(xl)&&isFinite(xl))){let Pt=typeof xl,gt;if(gt===void 0)if(Pt==="boolean"||xl===null||Pt==="string"&&xl&&xl==+xl&&!(xl%1))gt=+xl;else return Wn.errors=[{instancePath:e+"/http2SessionTimeout",schemaPath:"#/properties/http2SessionTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;gt!==void 0&&(xl=gt,n!==void 0&&(n.http2SessionTimeout=gt))}var u=y2===s;if(u){let Pt=n.exposeHeadRoutes,gt=s;if(typeof Pt!="boolean"){let Et;if(Et===void 0)if(Pt==="false"||Pt===0||Pt===null)Et=!1;else if(Pt==="true"||Pt===1)Et=!0;else return Wn.errors=[{instancePath:e+"/exposeHeadRoutes",schemaPath:"#/properties/exposeHeadRoutes/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Et!==void 0&&(Pt=Et,n!==void 0&&(n.exposeHeadRoutes=Et))}var u=gt===s;if(u){let Et=n.useSemicolonDelimiter,qr=s;if(typeof Et!="boolean"){let Hl;if(Hl===void 0)if(Et==="false"||Et===0||Et===null)Hl=!1;else if(Et==="true"||Et===1)Hl=!0;else return Wn.errors=[{instancePath:e+"/useSemicolonDelimiter",schemaPath:"#/properties/useSemicolonDelimiter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Hl!==void 0&&(Et=Hl,n!==void 0&&(n.useSemicolonDelimiter=Hl))}var u=qr===s;if(u){if(n.versioning!==void 0){let Hl=n.versioning,rt=s;if(s===rt)if(Hl&&typeof Hl=="object"&&!Array.isArray(Hl)){let n2;if(Hl.storage===void 0&&(n2="storage")||Hl.deriveVersion===void 0&&(n2="deriveVersion"))return Wn.errors=[{instancePath:e+"/versioning",schemaPath:"#/properties/versioning/required",keyword:"required",params:{missingProperty:n2},message:"must have required property '"+n2+"'"}],!1}else return Wn.errors=[{instancePath:e+"/versioning",schemaPath:"#/properties/versioning/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=rt===s}else var u=!0;if(u)if(n.constraints!==void 0){let Hl=n.constraints,rt=s;if(s===rt)if(Hl&&typeof Hl=="object"&&!Array.isArray(Hl))for(let n2 in Hl){let zt=Hl[n2],C3=s;if(s===C3)if(zt&&typeof zt=="object"&&!Array.isArray(zt)){let Y2;if(zt.name===void 0&&(Y2="name")||zt.storage===void 0&&(Y2="storage")||zt.validate===void 0&&(Y2="validate")||zt.deriveConstraint===void 0&&(Y2="deriveConstraint"))return Wn.errors=[{instancePath:e+"/constraints/"+n2.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/properties/constraints/additionalProperties/required",keyword:"required",params:{missingProperty:Y2},message:"must have required property '"+Y2+"'"}],!1;if(zt.name!==void 0){let k3=zt.name;if(typeof k3!="string"){let rr=typeof k3,u3;if(u3===void 0)if(rr=="number"||rr=="boolean")u3=""+k3;else if(k3===null)u3="";else return Wn.errors=[{instancePath:e+"/constraints/"+n2.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/properties/constraints/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;u3!==void 0&&(k3=u3,zt!==void 0&&(zt.name=u3))}}}else return Wn.errors=[{instancePath:e+"/constraints/"+n2.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/properties/constraints/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=C3===s;if(!h)break}else return Wn.errors=[{instancePath:e+"/constraints",schemaPath:"#/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=rt===s}else var u=!0}}}}}}}}}}}}}}}}}}}}}}}}}else return Wn.errors=[{instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Wn.errors=i,s===0}l7.exports.defaultInitOptions={connectionTimeout:0,keepAliveTimeout:72e3,maxRequestsPerSocket:0,requestTimeout:0,bodyLimit:1048576,caseSensitive:!0,allowUnsafeRegex:!1,disableRequestLogging:!1,jsonShorthand:!0,ignoreTrailingSlash:!1,ignoreDuplicateSlashes:!1,maxParamLength:100,onProtoPoisoning:"error",onConstructorPoisoning:"error",pluginTimeout:1e4,requestIdHeader:"request-id",requestIdLogLabel:"reqId",http2SessionTimeout:72e3,exposeHeadRoutes:!0,useSemicolonDelimiter:!0}});var _M=C((ZAe,r7)=>{"use strict";var t7=vM(),a7e=a0()({circles:!0,proto:!1}),{FST_ERR_INIT_OPTS_INVALID:o7e}=a2();function c7e(n){let e=a7e(n);if(!t7(e)){let l=new o7e(JSON.stringify(t7.errors.map(t=>t.message)));throw l.errors=t7.errors,l}return cv(e)}function cv(n){let e=Object.getOwnPropertyNames(n);for(let l of e){let t=n[l];ArrayBuffer.isView(t)&&!(t instanceof DataView)||(n[l]=t&&typeof t=="object"?cv(t):t)}return Object.freeze(n)}r7.exports=c7e;r7.exports.defaultInitOptions=t7.defaultInitOptions;r7.exports.utils={deepFreezeObject:cv}});var RM=C((ewe,OM)=>{"use strict";var{kAvvioBoot:f7e,kChildren:EM,kRoutePrefix:bM,kLogLevel:TM,kLogSerializers:fv,kHooks:pv,kSchemaController:ko,kContentTypeParser:SM,kReply:xM,kRequest:AM,kFourOhFour:p7e,kPluginNameChain:wM}=jt(),d7e=u9(),h7e=S9(),m7e=$y(),g7e=Gg(),{buildHooks:y7e}=ji(),b1=Vy();OM.exports=function(e,l,t){let r=b1.registerPlugin.call(e,l),i=b1.getPluginName(l)||b1.getFuncPreview(l);if(r)return e[wM].push(i),e;let s=Object.create(e);e[EM].push(s),s.ready=e[f7e].bind(s),s[EM]=[],s[xM]=d7e.buildReply(s[xM]),s[AM]=h7e.buildRequest(s[AM]),s[SM]=g7e.helpers.buildContentTypeParser(s[SM]),s[pv]=y7e(s[pv]),s[bM]=v7e(s[bM],t.prefix),s[TM]=t.logLevel||s[TM],s[ko]=m7e.buildSchemaController(e[ko]),s.getSchema=s[ko].getSchema.bind(s[ko]),s.getSchemas=s[ko].getSchemas.bind(s[ko]),s[b1.kRegisteredPlugins]=Object.create(s[b1.kRegisteredPlugins]),s[wM]=[i],(s[fv]||t.logSerializers)&&(s[fv]=Object.assign(Object.create(s[fv]),t.logSerializers)),t.prefix&&s[p7e].arrange404(s);for(let u of s[pv].onRegister)u.call(this,s,t);return s};function v7e(n,e){return e?(n.endsWith("/")&&e[0]==="/"?e=e.slice(1):e[0]!=="/"&&(e="/"+e),n+e):n}});var IM=C((nwe,NM)=>{"use strict";NM.exports=function(){return{[Symbol.iterator]:function*(){},add(){},delete(){},has(){return!0}}}});var CM=C(dv=>{"use strict";dv.parse=E7e;dv.serialize=b7e;var _7e=Object.prototype.toString,i7=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function E7e(n,e){if(typeof n!="string")throw new TypeError("argument str must be a string");for(var l={},t=e||{},r=t.decode||T7e,i=0;i {"use strict";var{format:hv}=require("node:util");function mv(){let n={},e=new Map,l=Object.create(null);function t(s,u,a,{unlimited:c=!1}={}){if(!s)throw new Error("Warning name must not be empty");if(!u)throw new Error("Warning code must not be empty");if(!a)throw new Error("Warning message must not be empty");if(typeof c!="boolean")throw new Error("Warning opts.unlimited must be a boolean");if(u=u.toUpperCase(),n[u]!==void 0)throw new Error(`The code '${u}' already exist`);function f(p,m,h){let g;return p&&m&&h?g=hv(a,p,m,h):p&&m?g=hv(a,p,m):p?g=hv(a,p):g=a,{code:u,name:s,message:g}}return Object.assign(l,{unlimited:c}),e.set(u,c),n[u]=f,n[u]}function r(s,u,a={}){return t("DeprecationWarning",s,u,a)}function i(s,u,a,c){if(e.get(s)===!0&&l.unlimited===!1)return;if(n[s]===void 0)throw new Error(`The code '${s}' does not exist`);e.set(s,!0);let f=n[s](u,a,c);process.emitWarning(f.message,f.name,f.code)}return{create:t,createDeprecation:r,emit:i,emitted:e}}s7.exports=mv;s7.exports.default=mv;s7.exports.processWarning=mv});var LM=C((rwe,DM)=>{"use strict";var{URL:PM}=require("node:url"),gv="http://localhost";DM.exports=function(e,l){(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]")&&e.startsWith("//")&&(e=gv+e);let t=typeof e=="object"?Object.assign(new PM(gv),e):new PM(e,gv);if(typeof l=="string"){l=new URLSearchParams(l);for(let r of l.keys()){t.searchParams.delete(r);for(let i of l.getAll(r))t.searchParams.append(r,i)}}else{let r=Object.assign({},e.query,l);for(let i in r){let s=r[i];if(Array.isArray(s)){t.searchParams.delete(i);for(let u of s)t.searchParams.append(i,u)}else t.searchParams.set(i,s)}}return t}});var jM=C((iwe,u7)=>{"use strict";var{Readable:FM,addAbortSignal:w7e}=require("node:stream"),vv=require("node:util"),O7e=CM(),R7e=require("node:assert"),MM=kM()(),N7e=LM(),{EventEmitter:I7e}=require("node:events");MM.create("FastifyDeprecationLightMyRequest","FST_LIGHTMYREQUEST_DEP01",'You are accessing "request.connection", use "request.socket" instead.');function C7e(n){return n.port?n.host:n.hostname+(n.protocol==="https:"?":443":":80")}var yv=class extends I7e{constructor(e){super(),this.remoteAddress=e}};function $M(n){return new e(this);function e(l){Or.call(l,{...n,Request:void 0}),Object.assign(this,l);for(let t of Object.keys(Or.prototype))this.constructor.prototype[t]=Or.prototype[t];return vv.inherits(this.constructor,n.Request),this}}function Or(n){FM.call(this,{autoDestroy:!1});let e=N7e(n.url||n.path,n.query);this.url=e.pathname+e.search,this.aborted=!1,this.httpVersionMajor=1,this.httpVersionMinor=1,this.httpVersion="1.1",this.method=n.method?n.method.toUpperCase():"GET",this.headers={},this.rawHeaders=[];let l=n.headers||{};for(let s in l){let u=s.toLowerCase();if((u==="user-agent"||u==="content-type")&&l[s]===void 0){this.headers[u]=void 0;continue}let a=l[s];R7e(a!==void 0,'invalid value "undefined" for header '+s),this.headers[u]=""+a}if("user-agent"in this.headers||(this.headers["user-agent"]="lightMyRequest"),this.headers.host=this.headers.host||n.authority||C7e(e),n.cookies){let{cookies:s}=n,u=Object.keys(s).map(a=>O7e.serialize(a,s[a]));this.headers.cookie&&u.unshift(this.headers.cookie),this.headers.cookie=u.join("; ")}this.socket=new yv(n.remoteAddress||"127.0.0.1"),Object.defineProperty(this,"connection",{get(){return MM.emit("FST_LIGHTMYREQUEST_DEP01"),this.socket},configurable:!0});let t=n.payload||n.body||null,r=t&&typeof t.resume=="function";t&&typeof t!="string"&&!r&&!Buffer.isBuffer(t)&&(t=JSON.stringify(t),"content-type"in this.headers||(this.headers["content-type"]="application/json")),t&&!r&&!Object.prototype.hasOwnProperty.call(this.headers,"content-length")&&(this.headers["content-length"]=(Buffer.isBuffer(t)?t.length:Buffer.byteLength(t)).toString());for(let s of Object.keys(this.headers))this.rawHeaders.push(s,this.headers[s]);this._lightMyRequest={payload:t,isDone:!1,simulate:n.simulate||{}};let i=n.signal;return i&&w7e(i,this),this}vv.inherits(Or,FM);vv.inherits($M,Or);Or.prototype.prepare=function(n){let e=this._lightMyRequest.payload;if(!e||typeof e.resume!="function")return n();let l=[];e.on("data",t=>l.push(Buffer.from(t))),e.on("end",()=>{let t=Buffer.concat(l);return this.headers["content-length"]=this.headers["content-length"]||""+t.length,this._lightMyRequest.payload=t,n()}),e.resume()};Or.prototype._read=function(n){setImmediate(()=>{if(this._lightMyRequest.isDone){this._lightMyRequest.simulate.end!==!1&&this.push(null);return}this._lightMyRequest.isDone=!0,this._lightMyRequest.payload&&(this._lightMyRequest.simulate.split?(this.push(this._lightMyRequest.payload.slice(0,1)),this.push(this._lightMyRequest.payload.slice(1))):this.push(this._lightMyRequest.payload)),this._lightMyRequest.simulate.error&&this.emit("error",new Error("Simulated")),this._lightMyRequest.simulate.close&&this.emit("close"),this._lightMyRequest.simulate.end!==!1&&this.push(null)})};Or.prototype.destroy=function(n){this.destroyed||this._lightMyRequest.isDone||(this.destroyed=!0,n&&(this._error=!0,process.nextTick(()=>this.emit("error",n))),process.nextTick(()=>this.emit("close")))};u7.exports=Or;u7.exports.Request=Or;u7.exports.CustomRequest=$M});var BM=C((swe,T1)=>{"use strict";var Po={decodeValues:!0,map:!1,silent:!1};function _v(n){return typeof n=="string"&&!!n.trim()}function Ev(n,e){var l=n.split(";").filter(_v),t=l.shift(),r=k7e(t),i=r.name,s=r.value;e=e?Object.assign({},Po,e):Po;try{s=e.decodeValues?decodeURIComponent(s):s}catch(a){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+s+"'. Set options.decodeValues to false to disable this feature.",a)}var u={name:i,value:s};return l.forEach(function(a){var c=a.split("="),f=c.shift().trimLeft().toLowerCase(),p=c.join("=");f==="expires"?u.expires=new Date(p):f==="max-age"?u.maxAge=parseInt(p,10):f==="secure"?u.secure=!0:f==="httponly"?u.httpOnly=!0:f==="samesite"?u.sameSite=p:u[f]=p}),u}function k7e(n){var e="",l="",t=n.split("=");return t.length>1?(e=t.shift(),l=t.join("=")):l=n,{name:e,value:l}}function UM(n,e){if(e=e?Object.assign({},Po,e):Po,!n)return e.map?{}:[];if(n.headers)if(typeof n.headers.getSetCookie=="function")n=n.headers.getSetCookie();else if(n.headers["set-cookie"])n=n.headers["set-cookie"];else{var l=n.headers[Object.keys(n.headers).find(function(r){return r.toLowerCase()==="set-cookie"})];!l&&n.headers.cookie&&!e.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),n=l}if(Array.isArray(n)||(n=[n]),e=e?Object.assign({},Po,e):Po,e.map){var t={};return n.filter(_v).reduce(function(r,i){var s=Ev(i,e);return r[s.name]=s,r},t)}else return n.filter(_v).map(function(r){return Ev(r,e)})}function P7e(n){if(Array.isArray(n))return n;if(typeof n!="string")return[];var e=[],l=0,t,r,i,s,u;function a(){for(;l =n.length)&&e.push(n.substring(t,n.length))}return e}T1.exports=UM;T1.exports.parse=UM;T1.exports.parseString=Ev;T1.exports.splitCookiesString=P7e});var VM=C((uwe,qM)=>{"use strict";var S1=require("node:http"),{Writable:D7e}=require("node:stream"),L7e=require("node:util"),F7e=BM();function us(n,e,l){S1.ServerResponse.call(this,n),this._lightMyRequest={headers:null,trailers:{},payloadChunks:[]},this.setHeader("foo","bar"),this.removeHeader("foo"),this.assignSocket($7e()),this._promiseCallback=typeof l=="function";let t=!1,r=s=>{if(t=!0,this._promiseCallback)return process.nextTick(()=>e(s));process.nextTick(()=>e(null,s))},i=s=>{if(!t){if(t=!0,this._promiseCallback)return process.nextTick(()=>l(s));process.nextTick(()=>e(s,null))}};this.once("finish",()=>{let s=M7e(this);s.raw.req=n,r(s)}),this.connection.once("error",i),this.once("error",i),this.once("close",i)}L7e.inherits(us,S1.ServerResponse);us.prototype.setTimeout=function(n,e){return this.timeoutHandle=setTimeout(()=>{this.emit("timeout")},n),this.on("timeout",e),this};us.prototype.writeHead=function(){let n=S1.ServerResponse.prototype.writeHead.apply(this,arguments);return HM(this),n};us.prototype.write=function(n,e,l){return this.timeoutHandle&&clearTimeout(this.timeoutHandle),S1.ServerResponse.prototype.write.call(this,n,e,l),this._lightMyRequest.payloadChunks.push(Buffer.from(n,e)),!0};us.prototype.end=function(n,e,l){n&&this.write(n,e),S1.ServerResponse.prototype.end.call(this,l),this.emit("finish"),this.destroy()};us.prototype.destroy=function(n){this.destroyed||(this.destroyed=!0,n&&process.nextTick(()=>this.emit("error",n)),process.nextTick(()=>this.emit("close")))};us.prototype.addTrailers=function(n){for(let e in n)this._lightMyRequest.trailers[e.toLowerCase().trim()]=n[e].toString().trim()};function M7e(n){n._lightMyRequest.headers===null&&HM(n),j7e(n);let e={raw:{res:n},headers:n._lightMyRequest.headers,statusCode:n.statusCode,statusMessage:n.statusMessage,trailers:{},get cookies(){return F7e.parse(this)}},l=Buffer.concat(n._lightMyRequest.payloadChunks);return e.rawPayload=l,e.payload=l.toString(),e.body=e.payload,e.trailers=n._lightMyRequest.trailers,e.json=function(){return JSON.parse(e.payload)},e}function $7e(){return new D7e({write(n,e,l){setImmediate(l)}})}function j7e(n){let e=n._lightMyRequest.headers;for(let l of Object.keys(e)){let t=e[l];Array.isArray(t)?e[l]=t.map(r=>""+r):e[l]=""+t}}function HM(n){n._lightMyRequest.headers=Object.assign({},n.getHeaders()),["Date","Connection","Transfer-Encoding"].forEach(e=>{let l=new RegExp("\\r\\n"+e+": ([^\\r]*)\\r\\n"),t=n._header.match(l);t&&(n._lightMyRequest.headers[e.toLowerCase()]=t[1])})}qM.exports=us});var zM=C((awe,bv)=>{"use strict";bv.exports=vt;bv.exports.default=vt;var U7e={type:"object",properties:{url:{oneOf:[{type:"string"},{type:"object",properties:{protocol:{type:"string"},hostname:{type:"string"},pathname:{type:"string"}},additionalProperties:!0,required:["pathname"]}]},path:{oneOf:[{type:"string"},{type:"object",properties:{protocol:{type:"string"},hostname:{type:"string"},pathname:{type:"string"}},additionalProperties:!0,required:["pathname"]}]},cookies:{type:"object",additionalProperties:!0},headers:{type:"object",additionalProperties:!0},query:{anyOf:[{type:"object",additionalProperties:!0},{type:"string"}]},simulate:{type:"object",properties:{end:{type:"boolean"},split:{type:"boolean"},error:{type:"boolean"},close:{type:"boolean"}}},authority:{type:"string"},remoteAddress:{type:"string"},method:{type:"string",enum:["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE","acl","bind","checkout","connect","copy","delete","get","head","link","lock","m-search","merge","mkactivity","mkcalendar","mkcol","move","notify","options","patch","post","propfind","proppatch","purge","put","rebind","report","search","source","subscribe","trace","unbind","unlink","unlock","unsubscribe"]},validate:{type:"boolean"}},additionalProperties:!0,oneOf:[{required:["url"]},{required:["path"]}]};function vt(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0,u=s,a=!1,c=null,f=s;if(n&&typeof n=="object"&&!Array.isArray(n)){let b;if(n.url===void 0&&(b="url")){let w={instancePath:e,schemaPath:"#/oneOf/0/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"};i===null?i=[w]:i.push(w),s++}}var m=f===s;m&&(a=!0,c=0);let p=s;if(n&&typeof n=="object"&&!Array.isArray(n)){let b;if(n.path===void 0&&(b="path")){let w={instancePath:e,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"};i===null?i=[w]:i.push(w),s++}}var m=p===s;if(m&&a?(a=!1,c=[c,1]):m&&(a=!0,c=1),a)s=u,i!==null&&(u?i.length=u:i=null);else{let b={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return i===null?i=[b]:i.push(b),s++,vt.errors=i,!1}if(s===0)if(n&&typeof n=="object"&&!Array.isArray(n)){if(n.url!==void 0){let b=n.url,w=s,N=s,R=!1,k=null,j=s;if(typeof b!="string"){let Q=typeof b,Y;if(Y===void 0)if(Q=="number"||Q=="boolean")Y=""+b;else if(b===null)Y="";else{let Z={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[Z]:i.push(Z),s++}Y!==void 0&&(b=Y,n!==void 0&&(n.url=Y))}var g=j===s;g&&(R=!0,k=0);let L=s;if(s===L)if(b&&typeof b=="object"&&!Array.isArray(b)){let Q;if(b.pathname===void 0&&(Q="pathname")){let Y={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/1/required",keyword:"required",params:{missingProperty:Q},message:"must have required property '"+Q+"'"};i===null?i=[Y]:i.push(Y),s++}else{if(b.protocol!==void 0){let Y=b.protocol,Z=s;if(typeof Y!="string"){let ve=typeof Y,Ne;if(Ne===void 0)if(ve=="number"||ve=="boolean")Ne=""+Y;else if(Y===null)Ne="";else{let pe={instancePath:e+"/url/protocol",schemaPath:"#/properties/url/oneOf/1/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[pe]:i.push(pe),s++}Ne!==void 0&&(Y=Ne,b!==void 0&&(b.protocol=Ne))}var h=Z===s}else var h=!0;if(h){if(b.hostname!==void 0){let Y=b.hostname,Z=s;if(typeof Y!="string"){let Ne=typeof Y,pe;if(pe===void 0)if(Ne=="number"||Ne=="boolean")pe=""+Y;else if(Y===null)pe="";else{let ue={instancePath:e+"/url/hostname",schemaPath:"#/properties/url/oneOf/1/properties/hostname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Y=pe,b!==void 0&&(b.hostname=pe))}var h=Z===s}else var h=!0;if(h)if(b.pathname!==void 0){let Y=b.pathname,Z=s;if(typeof Y!="string"){let Ne=typeof Y,pe;if(pe===void 0)if(Ne=="number"||Ne=="boolean")pe=""+Y;else if(Y===null)pe="";else{let ue={instancePath:e+"/url/pathname",schemaPath:"#/properties/url/oneOf/1/properties/pathname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Y=pe,b!==void 0&&(b.pathname=pe))}var h=Z===s}else var h=!0}}}else{let Q={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[Q]:i.push(Q),s++}var g=L===s;if(g&&R?(R=!1,k=[k,1]):g&&(R=!0,k=1),R)s=N,i!==null&&(N?i.length=N:i=null);else{let Q={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Q]:i.push(Q),s++,vt.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.path!==void 0){let b=n.path,w=s,N=s,R=!1,k=null,j=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.path=Z))}var T=j===s;T&&(R=!0,k=0);let L=s;if(s===L)if(b&&typeof b=="object"&&!Array.isArray(b)){let Y;if(b.pathname===void 0&&(Y="pathname")){let Z={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/1/required",keyword:"required",params:{missingProperty:Y},message:"must have required property '"+Y+"'"};i===null?i=[Z]:i.push(Z),s++}else{if(b.protocol!==void 0){let Z=b.protocol,ve=s;if(typeof Z!="string"){let Ne=typeof Z,pe;if(pe===void 0)if(Ne=="number"||Ne=="boolean")pe=""+Z;else if(Z===null)pe="";else{let ue={instancePath:e+"/path/protocol",schemaPath:"#/properties/path/oneOf/1/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Z=pe,b!==void 0&&(b.protocol=pe))}var S=ve===s}else var S=!0;if(S){if(b.hostname!==void 0){let Z=b.hostname,ve=s;if(typeof Z!="string"){let pe=typeof Z,ue;if(ue===void 0)if(pe=="number"||pe=="boolean")ue=""+Z;else if(Z===null)ue="";else{let ye={instancePath:e+"/path/hostname",schemaPath:"#/properties/path/oneOf/1/properties/hostname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ye]:i.push(ye),s++}ue!==void 0&&(Z=ue,b!==void 0&&(b.hostname=ue))}var S=ve===s}else var S=!0;if(S)if(b.pathname!==void 0){let Z=b.pathname,ve=s;if(typeof Z!="string"){let pe=typeof Z,ue;if(ue===void 0)if(pe=="number"||pe=="boolean")ue=""+Z;else if(Z===null)ue="";else{let ye={instancePath:e+"/path/pathname",schemaPath:"#/properties/path/oneOf/1/properties/pathname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ye]:i.push(ye),s++}ue!==void 0&&(Z=ue,b!==void 0&&(b.pathname=ue))}var S=ve===s}else var S=!0}}}else{let Y={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[Y]:i.push(Y),s++}var T=L===s;if(T&&R?(R=!1,k=[k,1]):T&&(R=!0,k=1),R)s=N,i!==null&&(N?i.length=N:i=null);else{let Y={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Y]:i.push(Y),s++,vt.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.cookies!==void 0){let b=n.cookies,w=s;if(s===w&&!(b&&typeof b=="object"&&!Array.isArray(b)))return vt.errors=[{instancePath:e+"/cookies",schemaPath:"#/properties/cookies/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.headers!==void 0){let b=n.headers,w=s;if(s===w&&!(b&&typeof b=="object"&&!Array.isArray(b)))return vt.errors=[{instancePath:e+"/headers",schemaPath:"#/properties/headers/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.query!==void 0){let b=n.query,w=s,N=s,R=!1,k=s;if(s===k&&!(b&&typeof b=="object"&&!Array.isArray(b))){let L={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[L]:i.push(L),s++}var x=k===s;if(R=R||x,!R){let L=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.query=Z))}var x=L===s;R=R||x}if(R)s=N,i!==null&&(N?i.length=N:i=null);else{let L={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[L]:i.push(L),s++,vt.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.simulate!==void 0){let b=n.simulate,w=s;if(s===w)if(b&&typeof b=="object"&&!Array.isArray(b)){if(b.end!==void 0){let R=b.end,k=s;if(typeof R!="boolean"){let j;if(j===void 0)if(R==="false"||R===0||R===null)j=!1;else if(R==="true"||R===1)j=!0;else return vt.errors=[{instancePath:e+"/simulate/end",schemaPath:"#/properties/simulate/properties/end/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;j!==void 0&&(R=j,b!==void 0&&(b.end=j))}var v=k===s}else var v=!0;if(v){if(b.split!==void 0){let R=b.split,k=s;if(typeof R!="boolean"){let L;if(L===void 0)if(R==="false"||R===0||R===null)L=!1;else if(R==="true"||R===1)L=!0;else return vt.errors=[{instancePath:e+"/simulate/split",schemaPath:"#/properties/simulate/properties/split/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(R=L,b!==void 0&&(b.split=L))}var v=k===s}else var v=!0;if(v){if(b.error!==void 0){let R=b.error,k=s;if(typeof R!="boolean"){let L;if(L===void 0)if(R==="false"||R===0||R===null)L=!1;else if(R==="true"||R===1)L=!0;else return vt.errors=[{instancePath:e+"/simulate/error",schemaPath:"#/properties/simulate/properties/error/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(R=L,b!==void 0&&(b.error=L))}var v=k===s}else var v=!0;if(v)if(b.close!==void 0){let R=b.close,k=s;if(typeof R!="boolean"){let L;if(L===void 0)if(R==="false"||R===0||R===null)L=!1;else if(R==="true"||R===1)L=!0;else return vt.errors=[{instancePath:e+"/simulate/close",schemaPath:"#/properties/simulate/properties/close/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(R=L,b!==void 0&&(b.close=L))}var v=k===s}else var v=!0}}}else return vt.errors=[{instancePath:e+"/simulate",schemaPath:"#/properties/simulate/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.authority!==void 0){let b=n.authority,w=s;if(typeof b!="string"){let R=typeof b,k;if(k===void 0)if(R=="number"||R=="boolean")k=""+b;else if(b===null)k="";else return vt.errors=[{instancePath:e+"/authority",schemaPath:"#/properties/authority/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.authority=k))}var _=w===s}else var _=!0;if(_){if(n.remoteAddress!==void 0){let b=n.remoteAddress,w=s;if(typeof b!="string"){let R=typeof b,k;if(k===void 0)if(R=="number"||R=="boolean")k=""+b;else if(b===null)k="";else return vt.errors=[{instancePath:e+"/remoteAddress",schemaPath:"#/properties/remoteAddress/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.remoteAddress=k))}var _=w===s}else var _=!0;if(_){if(n.method!==void 0){let b=n.method,w=s;if(typeof b!="string"){let R=typeof b,k;if(k===void 0)if(R=="number"||R=="boolean")k=""+b;else if(b===null)k="";else return vt.errors=[{instancePath:e+"/method",schemaPath:"#/properties/method/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.method=k))}if(!(b==="ACL"||b==="BIND"||b==="CHECKOUT"||b==="CONNECT"||b==="COPY"||b==="DELETE"||b==="GET"||b==="HEAD"||b==="LINK"||b==="LOCK"||b==="M-SEARCH"||b==="MERGE"||b==="MKACTIVITY"||b==="MKCALENDAR"||b==="MKCOL"||b==="MOVE"||b==="NOTIFY"||b==="OPTIONS"||b==="PATCH"||b==="POST"||b==="PROPFIND"||b==="PROPPATCH"||b==="PURGE"||b==="PUT"||b==="REBIND"||b==="REPORT"||b==="SEARCH"||b==="SOURCE"||b==="SUBSCRIBE"||b==="TRACE"||b==="UNBIND"||b==="UNLINK"||b==="UNLOCK"||b==="UNSUBSCRIBE"||b==="acl"||b==="bind"||b==="checkout"||b==="connect"||b==="copy"||b==="delete"||b==="get"||b==="head"||b==="link"||b==="lock"||b==="m-search"||b==="merge"||b==="mkactivity"||b==="mkcalendar"||b==="mkcol"||b==="move"||b==="notify"||b==="options"||b==="patch"||b==="post"||b==="propfind"||b==="proppatch"||b==="purge"||b==="put"||b==="rebind"||b==="report"||b==="search"||b==="source"||b==="subscribe"||b==="trace"||b==="unbind"||b==="unlink"||b==="unlock"||b==="unsubscribe"))return vt.errors=[{instancePath:e+"/method",schemaPath:"#/properties/method/enum",keyword:"enum",params:{allowedValues:U7e.properties.method.enum},message:"must be equal to one of the allowed values"}],!1;var _=w===s}else var _=!0;if(_)if(n.validate!==void 0){let b=n.validate,w=s;if(typeof b!="boolean"){let R;if(R===void 0)if(b==="false"||b===0||b===null)R=!1;else if(b==="true"||b===1)R=!0;else return vt.errors=[{instancePath:e+"/validate",schemaPath:"#/properties/validate/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;R!==void 0&&(b=R,n!==void 0&&(n.validate=R))}var _=w===s}else var _=!0}}}}}}}}}else return vt.errors=[{instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return vt.errors=i,s===0}});var WM=C((owe,A1)=>{"use strict";var B7e=require("node:assert"),Tv=jM(),a7=VM(),c7="The dispatch function has already been invoked",GM=zM();function Sv(n,e,l){return typeof l>"u"?new x1(n,e):o7(n,e,l)}function XM(n,e,l,t){return l.once("error",function(r){this.destroyed&&t.destroy(r)}),l.once("close",function(){this.destroyed&&!this._error&&t.destroy()}),l.prepare(()=>n.call(e,l,t))}function o7(n,e,l){if(e=typeof e=="string"?{url:e}:e,e.validate!==!1&&(B7e(typeof n=="function","dispatchFunc should be a function"),!GM(e)))throw new Error(GM.errors.map(s=>s.message));let t=e.server||{},r=e.Request?Tv.CustomRequest:Tv;if(n.request&&n.request.app===n&&(Object.setPrototypeOf(Object.getPrototypeOf(n.request),r.prototype),Object.setPrototypeOf(Object.getPrototypeOf(n.response),a7.prototype)),typeof l=="function"){let i=new r(e),s=new a7(i,l);return XM(n,t,i,s)}else return new Promise((i,s)=>{let u=new r(e),a=new a7(u,i,s);XM(n,t,u,a)})}function x1(n,e){typeof e=="string"?this.option={url:e}:this.option=Object.assign({},e),this.dispatch=n,this._hasInvoked=!1,this._promise=null,this.option.autoStart!==!1&&process.nextTick(()=>{this._hasInvoked||this.end()})}var H7e=["delete","get","head","options","patch","post","put","trace"];H7e.forEach(n=>{x1.prototype[n]=function(e){if(this._hasInvoked===!0||this._promise)throw new Error(c7);return this.option.url=e,this.option.method=n.toUpperCase(),this}});var q7e=["body","cookies","headers","payload","query"];q7e.forEach(n=>{x1.prototype[n]=function(e){if(this._hasInvoked===!0||this._promise)throw new Error(c7);return this.option[n]=e,this}});x1.prototype.end=function(n){if(this._hasInvoked===!0||this._promise)throw new Error(c7);if(this._hasInvoked=!0,typeof n=="function")o7(this.dispatch,this.option,n);else return this._promise=o7(this.dispatch,this.option),this._promise};Object.getOwnPropertyNames(Promise.prototype).forEach(n=>{n!=="constructor"&&(x1.prototype[n]=function(...e){if(!this._promise){if(this._hasInvoked===!0)throw new Error(c7);this._hasInvoked=!0,this._promise=o7(this.dispatch,this.option)}return this._promise[n](...e)})});function V7e(n){return n instanceof Tv||n instanceof a7||n&&n.constructor&&n.constructor.name==="_CustomLMRRequest"}A1.exports=Sv;A1.exports.default=Sv;A1.exports.inject=Sv;A1.exports.isInjection=V7e});var o$=C((cwe,h7)=>{"use strict";var z7e="4.26.0",G7e=lA(),xv=require("node:http"),w1,{kAvvioBoot:O1,kChildren:Av,kServerBindings:KM,kBodyLimit:X7e,kRoutePrefix:YM,kLogLevel:W7e,kLogSerializers:K7e,kHooks:wv,kSchemaController:as,kRequestAcceptVersion:Y7e,kReplySerializerDefault:JM,kContentTypeParser:J7e,kReply:Q7e,kRequest:Z7e,kFourOhFour:ece,kState:pt,kOptions:Ov,kPluginNameChain:R1,kSchemaErrorFormatter:Rv,kErrorHandler:f7,kKeepAliveConnections:Nv,kChildLoggerFactory:Iv,kGenReqId:Cv}=jt(),{createServer:nce,compileValidateHTTPVersion:lce}=OA(),N1=u9(),p7=S9(),tce=x9(),{supportedMethods:rce}=kg(),Do=Mg(),$u=Gg(),QM=$y(),{Hooks:ice,hookRunnerApplication:ZM,supportedHooks:kv}=ji(),{createLogger:sce,createChildLogger:e$,defaultChildLoggerFactory:uce}=u0(),n$=Vy(),{getGenReqId:l$,reqIdGenFactory:t$}=V9(),{buildRouting:ace,validateBodyLimitOption:oce}=oM(),cce=gM(),a$=_M(),fce=RM(),{FSTDEP009:pce}=ii(),dce=IM(),{appendStackTrace:hce,AVVIO_ERRORS_MAP:r$,...ju}=a2(),{defaultInitOptions:B2}=a$,{FST_ERR_ASYNC_CONSTRAINT:mce,FST_ERR_BAD_URL:gce,FST_ERR_FORCE_CLOSE_CONNECTIONS_IDLE_NOT_AVAILABLE:yce,FST_ERR_OPTIONS_NOT_OBJ:vce,FST_ERR_QSP_NOT_FN:_ce,FST_ERR_SCHEMA_CONTROLLER_BUCKET_OPT_NOT_FN:Ece,FST_ERR_AJV_CUSTOM_OPTIONS_OPT_NOT_OBJ:bce,FST_ERR_AJV_CUSTOM_OPTIONS_OPT_NOT_ARR:Tce,FST_ERR_VERSION_CONSTRAINT_NOT_STR:Sce,FST_ERR_INSTANCE_ALREADY_LISTENING:xce,FST_ERR_REOPENED_CLOSE_SERVER:Ace,FST_ERR_ROUTE_REWRITE_NOT_STR:wce,FST_ERR_SCHEMA_ERROR_FORMATTER_NOT_FN:i$}=ju,{buildErrorHandler:s$}=U0();function Oce(n){let e={};return["errorHandler","logLevel","logSerializers"].concat(kv).forEach(t=>{e[t]=n.store[t]}),Object.assign({},e)}function d7(n){if(n=n||{},typeof n!="object")throw new vce;if(n.querystringParser&&typeof n.querystringParser!="function")throw new _ce(typeof n.querystringParser);if(n.schemaController&&n.schemaController.bucket&&typeof n.schemaController.bucket!="function")throw new Ece(typeof n.schemaController.bucket);oce(n.bodyLimit);let e=n.requestIdHeader===!1?!1:(n.requestIdHeader||B2.requestIdHeader).toLowerCase(),l=t$(e,n.genReqId),t=n.requestIdLogLabel||"reqId",r=n.bodyLimit||B2.bodyLimit,i=n.disableRequestLogging||!1,s=Object.assign({customOptions:{},plugins:[]},n.ajv),u=n.frameworkErrors;if(!s.customOptions||Object.prototype.toString.call(s.customOptions)!=="[object Object]")throw new bce(typeof s.customOptions);if(!s.plugins||!Array.isArray(s.plugins))throw new Tce(typeof s.plugins);let{logger:a,hasLogger:c}=sce(n);n.connectionTimeout=n.connectionTimeout||B2.connectionTimeout,n.keepAliveTimeout=n.keepAliveTimeout||B2.keepAliveTimeout,n.maxRequestsPerSocket=n.maxRequestsPerSocket||B2.maxRequestsPerSocket,n.requestTimeout=n.requestTimeout||B2.requestTimeout,n.logger=a,n.requestIdHeader=e,n.requestIdLogLabel=t,n.disableRequestLogging=i,n.ajv=s,n.clientErrorHandler=n.clientErrorHandler||ue;let f=a$(n);n.exposeHeadRoutes=f.exposeHeadRoutes;let p=n.constraints;n.versioning&&(pce(),p={...p,version:{name:"version",mustMatchWhenDerived:!0,storage:n.versioning.storage,deriveConstraint:n.versioning.deriveVersion,validate(J){if(typeof J!="string")throw new Sce}}});let m=ace({config:{defaultRoute:ye,onBadUrl:q,constraints:p,ignoreTrailingSlash:n.ignoreTrailingSlash||B2.ignoreTrailingSlash,ignoreDuplicateSlashes:n.ignoreDuplicateSlashes||B2.ignoreDuplicateSlashes,maxParamLength:n.maxParamLength||B2.maxParamLength,caseSensitive:n.caseSensitive,allowUnsafeRegex:n.allowUnsafeRegex||B2.allowUnsafeRegex,buildPrettyMeta:Oce,querystringParser:n.querystringParser,useSemicolonDelimiter:n.useSemicolonDelimiter??B2.useSemicolonDelimiter}}),h=cce(n),g=fn(m,n);n.http2SessionTimeout=f.http2SessionTimeout;let{server:_,listen:S}=nce(n,g),T=typeof _.closeAllConnections=="function",x=typeof _.closeIdleConnections=="function",v=n.forceCloseConnections;if(v==="idle"&&!x)throw new yce;typeof v!="boolean"&&(v=x?"idle":!1);let b=!T&&v===!0?new Set:dce(),w=N1.setupResponseListeners,N=QM.buildSchemaController(null,n.schemaController),R={[pt]:{listening:!1,closing:!1,started:!1,ready:!1,booting:!1,readyPromise:null},[Nv]:b,[Ov]:n,[Av]:[],[KM]:[],[X7e]:r,[YM]:"",[W7e]:"",[K7e]:null,[wv]:new ice,[as]:N,[Rv]:null,[f7]:s$(),[Iv]:uce,[JM]:null,[J7e]:new $u(r,n.onProtoPoisoning||B2.onProtoPoisoning,n.onConstructorPoisoning||B2.onConstructorPoisoning),[Q7e]:N1.buildReply(N1),[Z7e]:p7.buildRequest(p7,n.trustProxy),[ece]:h,[n$.kRegisteredPlugins]:[],[R1]:["fastify"],[O1]:null,[Cv]:l,routing:g,getDefaultRoute:m.getDefaultRoute.bind(m),setDefaultRoute:m.setDefaultRoute.bind(m),delete:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"DELETE",url:me,options:Te,handler:Ue})},get:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"GET",url:me,options:Te,handler:Ue})},head:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"HEAD",url:me,options:Te,handler:Ue})},patch:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"PATCH",url:me,options:Te,handler:Ue})},post:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"POST",url:me,options:Te,handler:Ue})},put:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"PUT",url:me,options:Te,handler:Ue})},options:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"OPTIONS",url:me,options:Te,handler:Ue})},all:function(me,Te,Ue){return m.prepareRoute.call(this,{method:rce,url:me,options:Te,handler:Ue})},route:function(me){return m.route.call(this,{options:me})},hasRoute:function(me){return m.hasRoute.call(this,{options:me})},findRoute:function(me){return m.findRoute(me)},log:a,withTypeProvider:ve,addHook:Ne,addSchema:pe,getSchema:N.getSchema.bind(N),getSchemas:N.getSchemas.bind(N),setValidatorCompiler:ne,setSerializerCompiler:On,setSchemaController:Ge,setReplySerializer:Bn,setSchemaErrorFormatter:Bl,setGenReqId:dn,addContentTypeParser:$u.helpers.addContentTypeParser,hasContentTypeParser:$u.helpers.hasContentTypeParser,getDefaultJsonParser:$u.defaultParsers.getDefaultJsonParser,defaultTextParser:$u.defaultParsers.defaultTextParser,removeContentTypeParser:$u.helpers.removeContentTypeParser,removeAllContentTypeParsers:$u.helpers.removeAllContentTypeParsers,register:null,after:null,ready:null,onClose:null,close:null,printPlugins:null,hasPlugin:function(J){return this[n$.kRegisteredPlugins].includes(J)||this[R1].includes(J)},listen:S,server:_,addresses:function(){let J=this[KM].map(me=>me.address());return J.push(this.server.address()),J.filter(me=>me)},decorate:Do.add,hasDecorator:Do.exist,decorateReply:Do.decorateReply,decorateRequest:Do.decorateRequest,hasRequestDecorator:Do.existRequest,hasReplyDecorator:Do.existReply,inject:Y,printRoutes:Sl,setNotFoundHandler:te,setErrorHandler:Ke,setChildLoggerFactory:Xe,initialConfig:f,addConstraintStrategy:m.addConstraintStrategy.bind(m),hasConstraintStrategy:m.hasConstraintStrategy.bind(m)};Object.defineProperties(R,{listeningOrigin:{get(){let J=this.addresses().slice(-1).pop();if(typeof J=="string")return J;let me=J.family==="IPv6"?`[${J.address}]`:J.address;return`${this[Ov].https?"https":"http"}://${me}:${J.port}`}},pluginName:{configurable:!0,get(){return this[R1].length>1?this[R1].join(" -> "):this[R1][0]}},prefix:{configurable:!0,get(){return this[YM]}},validatorCompiler:{configurable:!0,get(){return this[as].getValidatorCompiler()}},serializerCompiler:{configurable:!0,get(){return this[as].getSerializerCompiler()}},childLoggerFactory:{configurable:!0,get(){return this[Iv]}},version:{configurable:!0,get(){return z7e}},errorHandler:{configurable:!0,get(){return this[f7].func}},genReqId:{configurable:!0,get(){return this[Cv]}}}),n.schemaErrorFormatter&&(u$(n.schemaErrorFormatter),R[Rv]=n.schemaErrorFormatter.bind(R));let k=Number(n.pluginTimeout),j=G7e(R,{autostart:!1,timeout:isNaN(k)===!1?k:B2.pluginTimeout,expose:{use:"register"}});j.override=fce,j.on("start",()=>R[pt].started=!0),R[O1]=R.ready,R.ready=Z,R.printPlugins=j.prettyPrint.bind(j),j.once("preReady",()=>{R.onClose((J,me)=>{R[pt].closing=!0,m.closeRoutes(),ZM("preClose",R[O1],R,function(){if(R[pt].listening){if(v==="idle")J.server.closeIdleConnections();else if(T&&v)J.server.closeAllConnections();else if(v===!0)for(let Te of R[Nv])Te.destroy(),R[Nv].delete(Te)}!n.serverFactory||R[pt].listening?J.server.close(function(Te){Te&&Te.code!=="ERR_SERVER_NOT_RUNNING"?me(null):me()}):process.nextTick(me,null)})})});let L=new tce({server:R,config:{}});R.setNotFoundHandler(),h.arrange404(R),m.setup(n,{avvio:j,fourOhFour:h,logger:a,hasLogger:c,setupResponseListeners:w,throwIfAlreadyStarted:Q,validateHTTPVersion:lce(n),keepAliveConnections:b}),_.on("clientError",n.clientErrorHandler.bind(R));try{let me=require("node:diagnostics_channel").channel("fastify.initialization");me.hasSubscribers&&me.publish({fastify:R})}catch{}return"asyncDispose"in Symbol&&(R[Symbol.asyncDispose]=function(){return R.close()}),R;function Q(J){if(R[pt].started)throw new xce(J)}function Y(J,me){if(w1===void 0&&(w1=WM()),R[pt].started){if(R[pt].closing){let Te=new Ace;if(me){me(Te);return}else return Promise.reject(Te)}return w1(g,J,me)}if(me)this.ready(Te=>{Te?me(Te,null):w1(g,J,me)});else return w1((Te,Ue)=>{this.ready(function(sn){if(sn){Ue.emit("error",sn);return}g(Te,Ue)})},J)}function Z(J){if(this[pt].readyPromise!==null){if(J!=null){this[pt].readyPromise.then(()=>J(null,R),J);return}return this[pt].readyPromise}let me,Te;if(process.nextTick(Ue),this[pt].readyPromise=new Promise(function(Ce,Rn){me=Ce,Te=Rn}),J)this[pt].readyPromise.then(()=>J(null,R),J);else return this[pt].readyPromise;function Ue(){R[O1]((Ce,Rn)=>{Ce||R[pt].started||R[pt].ready||R[pt].booting?sn(Ce):(R[pt].booting=!0,ZM("onReady",R[O1],R,sn)),Rn()})}function sn(Ce){if(Ce=Ce!=null&&r$[Ce.code]!=null?hce(Ce,new r$[Ce.code](Ce.message)):Ce,Ce)return Te(Ce);me(R),R[pt].booting=!1,R[pt].ready=!0,R[pt].promise=null}}function ve(){return this}function Ne(J,me){if(Q('Cannot call "addHook"!'),me==null)throw new ju.FST_ERR_HOOK_INVALID_HANDLER(J,me);if(J==="onSend"||J==="preSerialization"||J==="onError"||J==="preParsing"){if(me.constructor.name==="AsyncFunction"&&me.length===4)throw new ju.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(J==="onReady"||J==="onListen"){if(me.constructor.name==="AsyncFunction"&&me.length!==0)throw new ju.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(J==="onRequestAbort"){if(me.constructor.name==="AsyncFunction"&&me.length!==1)throw new ju.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(me.constructor.name==="AsyncFunction"&&me.length===3)throw new ju.FST_ERR_HOOK_INVALID_ASYNC_HANDLER;return J==="onClose"?this.onClose(me):J==="onReady"||J==="onListen"||J==="onRoute"?this[wv].add(J,me):this.after((Ue,sn)=>{Te.call(this,J,me),sn(Ue)}),this;function Te(Ue,sn){this[wv].add(Ue,sn),this[Av].forEach(Ce=>Te.call(Ce,Ue,sn))}}function pe(J){return Q('Cannot call "addSchema"!'),this[as].add(J),this[Av].forEach(me=>me.addSchema(J)),this}function ue(J,me){if(J.code==="ECONNRESET"||me.destroyed)return;let Te,Ue,sn,Ce;J.code==="ERR_HTTP_REQUEST_TIMEOUT"?(Ue="408",sn=xv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Client Timeout","statusCode":408}`,Ce="timeout"):J.code==="HPE_HEADER_OVERFLOW"?(Ue="431",sn=xv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Exceeded maximum allowed HTTP header size","statusCode":431}`,Ce="header_overflow"):(Ue="400",sn=xv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Client Error","statusCode":400}`,Ce="error"),this.log.trace({err:J},`client ${Ce}`),me.writable&&me.write(`HTTP/1.1 ${Ue} ${sn}\r +`))}};OF.exports=Qy});var IF=C((ewe,RF)=>{"use strict";var a9e=NF(),l7={STATIC:0,PARAMETRIC:1,WILDCARD:2},J9=class{constructor(){this.isLeafNode=!1,this.routes=null,this.handlerStorage=null}addRoute(e,l){this.routes===null&&(this.routes=[]),this.handlerStorage===null&&(this.handlerStorage=new a9e),this.isLeafNode=!0,this.routes.push(e),this.handlerStorage.addHandler(l,e)}},Q9=class extends J9{constructor(){super(),this.staticChildren={}}findStaticMatchingChild(e,l){let t=this.staticChildren[e.charAt(l)];return t===void 0||!t.matchPrefix(e,l)?null:t}getStaticChild(e,l=0){if(e.length===l)return this;let t=this.findStaticMatchingChild(e,l);return t?t.getStaticChild(e,l+t.prefix.length):null}createStaticChild(e){if(e.length===0)return this;let l=this.staticChildren[e.charAt(0)];if(l){let r=1;for(;r (r.regex&&r.regex.source)===l);return t||null}createParametricChild(e,l,t){let r=this.getParametricChild(e);return r?(r.nodePaths.add(t),r):(r=new e7(e,l,t),this.parametricChildren.push(r),this.parametricChildren.sort((i,s)=>i.isRegex?s.isRegex?i.staticSuffix===null?1:s.staticSuffix===null?-1:s.staticSuffix.endsWith(i.staticSuffix)?1:i.staticSuffix.endsWith(s.staticSuffix)?-1:0:-1:1),r)}getWildcardChild(){return this.wildcardChild?this.wildcardChild:null}createWildcardChild(){return this.wildcardChild=this.getWildcardChild()||new n7,this.wildcardChild}split(e,l){let t=this.prefix.slice(0,l),r=this.prefix.slice(l);this.prefix=r,this._compilePrefixMatch();let i=new n(t);return i.staticChildren[r.charAt(0)]=this,e.staticChildren[t.charAt(0)]=i,i}getNextNode(e,l,t,r){let i=this.findStaticMatchingChild(e,l),s=0;if(i===null){if(this.parametricChildren.length===0)return this.wildcardChild;i=this.parametricChildren[0],s=1}this.wildcardChild!==null&&t.push({paramsCount:r,brotherPathIndex:l,brotherNode:this.wildcardChild});for(let u=this.parametricChildren.length-1;u>=s;u--)t.push({paramsCount:r,brotherPathIndex:l,brotherNode:this.parametricChildren[u]});return i}_compilePrefixMatch(){if(this.prefix.length===1){this.matchPrefix=()=>!0;return}let e=[];for(let l=1;l {"use strict";var o9e=require("assert");function E1(){if(!(this instanceof E1))return new E1;this.store={},this.maxMajor=0,this.maxMinors={},this.maxPatches={}}E1.prototype.set=function(n,e){if(typeof n!="string")throw new TypeError("Version should be a string");let[l,t,r]=n.split(".");return l=Number(l)||0,t=Number(t)||0,r=Number(r)||0,l>=this.maxMajor&&(this.maxMajor=l,this.store.x=e,this.store["*"]=e,this.store["x.x"]=e,this.store["x.x.x"]=e),t>=(this.maxMinors[l]||0)&&(this.maxMinors[l]=t,this.store[`${l}.x`]=e,this.store[`${l}.x.x`]=e),r>=(this.store[`${l}.${t}`]||0)&&(this.maxPatches[`${l}.${t}`]=r,this.store[`${l}.${t}.x`]=e),this.store[`${l}.${t}.${r}`]=e,this};E1.prototype.get=function(n){return this.store[n]};CF.exports={name:"version",mustMatchWhenDerived:!0,storage:E1,validate(n){o9e(typeof n=="string","Version should be a string")}}});var DF=C((lwe,PF)=>{"use strict";var c9e=require("assert");function f9e(){let n={},e=[];return{get:l=>{let t=n[l];if(t)return t;for(let r of e)if(r.host.test(l))return r.value},set:(l,t)=>{l instanceof RegExp?e.push({host:l,value:t}):n[l]=t}}}PF.exports={name:"host",mustMatchWhenDerived:!1,storage:f9e,validate(n){c9e(typeof n=="string"||Object.prototype.toString.call(n)==="[object RegExp]","Host should be a string or a RegExp")}}});var FF=C((twe,LF)=>{"use strict";var p9e=kF(),d9e=DF(),Zy=require("assert"),ev=class{constructor(e){if(this.strategies={version:p9e,host:d9e},this.strategiesInUse=new Set,this.asyncStrategiesInUse=new Set,e)for(let l of Object.values(e))this.addConstraintStrategy(l)}isStrategyUsed(e){return this.strategiesInUse.has(e)||this.asyncStrategiesInUse.has(e)}hasConstraintStrategy(e){let l=this.strategies[e];return l!==void 0?l.isCustom||this.isStrategyUsed(e):!1}addConstraintStrategy(e){if(Zy(typeof e.name=="string"&&e.name!=="","strategy.name is required."),Zy(e.storage&&typeof e.storage=="function","strategy.storage function is required."),Zy(e.deriveConstraint&&typeof e.deriveConstraint=="function","strategy.deriveConstraint function is required."),this.strategies[e.name]&&this.strategies[e.name].isCustom)throw new Error(`There already exists a custom constraint with the name ${e.name}.`);if(this.isStrategyUsed(e.name))throw new Error(`There already exists a route with ${e.name} constraint.`);e.isCustom=!0,e.isAsync=e.deriveConstraint.length===3,this.strategies[e.name]=e,e.mustMatchWhenDerived&&this.noteUsage({[e.name]:e})}deriveConstraints(e,l,t){let r=this.deriveSyncConstraints(e,l);if(t===void 0)return r;this.deriveAsyncConstraints(r,e,l,t)}deriveSyncConstraints(e,l){}noteUsage(e){if(e){let l=this.strategiesInUse.size;for(let t in e)this.strategies[t].isAsync?this.asyncStrategiesInUse.add(t):this.strategiesInUse.add(t);l!==this.strategiesInUse.size&&this._buildDeriveConstraints()}}newStoreForConstraint(e){if(!this.strategies[e])throw new Error(`No strategy registered for constraint key ${e}`);return this.strategies[e].storage()}validateConstraints(e){for(let l in e){let t=e[l];if(typeof t>"u")throw new Error("Can't pass an undefined constraint value, must pass null or no key at all");let r=this.strategies[l];if(!r)throw new Error(`No strategy registered for constraint key ${l}`);r.validate&&r.validate(t)}}deriveAsyncConstraints(e,l,t,r){let i=this.asyncStrategiesInUse.size;if(i===0){r(null,e);return}e=e||{};for(let s of this.asyncStrategiesInUse)this.strategies[s].deriveConstraint(l,t,(a,c)=>{if(a!==null){r(a);return}e[s]=c,--i===0&&r(null,e)})}_buildDeriveConstraints(){if(this.strategiesInUse.size===0)return;let e=["return {"];for(let l of this.strategiesInUse){let t=this.strategies[l];if(t.isCustom)e.push(` ${t.name}: this.strategies.${l}.deriveConstraint(req, ctx),`);else if(l==="version")e.push(" version: req.headers['accept-version'],");else if(l==="host")e.push(" host: req.headers.host || req.headers[':authority'],");else throw new Error("unknown non-custom strategy for compiling constraint derivation function")}e.push("}"),this.deriveSyncConstraints=new Function("req","ctx",e.join(` +`)).bind(this)}};LF.exports=ev});var $F=C((rwe,MF)=>{"use strict";var h9e=["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"];MF.exports=h9e});var BF=C((iwe,UF)=>{"use strict";function jF(n,e){return n===50?e===53?"%":e===51?"#":e===52?"$":e===54?"&":e===66||e===98?"+":e===67||e===99?",":e===70||e===102?"/":null:n===51?e===65||e===97?":":e===66||e===98?";":e===68||e===100?"=":e===70||e===102?"?":null:n===52&&e===48?"@":null}function m9e(n,e){let l=!1,t=!1,r="";for(let s=1;s {"use strict";var dt=require("assert"),y9e=aF(),t7=vF(),tv=eo(),{prettyPrintTree:v9e}=wF(),{StaticNode:HF,NODE_TYPES:nv}=IF(),_9e=FF(),Po=$F(),lv=K9(),{safeDecodeURI:E9e,safeDecodeURIComponent:qF}=BF(),VF=/^https?:\/\/.*?\//,ju=/(\/:[^/()]*?)\?(\/?)/;if(!t7(VF))throw new Error("the FULL_PATH_REGEXP is not safe, update this module");if(!t7(ju))throw new Error("the OPTIONAL_PARAM_REGEXP is not safe, update this module");function Kl(n){if(!(this instanceof Kl))return new Kl(n);n=n||{},this._opts=n,n.defaultRoute?(dt(typeof n.defaultRoute=="function","The default route must be a function"),this.defaultRoute=n.defaultRoute):this.defaultRoute=null,n.onBadUrl?(dt(typeof n.onBadUrl=="function","The bad url handler must be a function"),this.onBadUrl=n.onBadUrl):this.onBadUrl=null,n.buildPrettyMeta?(dt(typeof n.buildPrettyMeta=="function","buildPrettyMeta must be a function"),this.buildPrettyMeta=n.buildPrettyMeta):this.buildPrettyMeta=b9e,n.querystringParser?(dt(typeof n.querystringParser=="function","querystringParser must be a function"),this.querystringParser=n.querystringParser):this.querystringParser=e=>e===""?{}:y9e.parse(e),this.caseSensitive=n.caseSensitive===void 0?!0:n.caseSensitive,this.ignoreTrailingSlash=n.ignoreTrailingSlash||!1,this.ignoreDuplicateSlashes=n.ignoreDuplicateSlashes||!1,this.maxParamLength=n.maxParamLength||100,this.allowUnsafeRegex=n.allowUnsafeRegex||!1,this.constrainer=new _9e(n.constraints),this.useSemicolonDelimiter=n.useSemicolonDelimiter||!1,this.routes=[],this.trees={}}Kl.prototype.on=function(e,l,t,r,i){typeof t=="function"&&(r!==void 0&&(i=r),r=t,t={}),dt(typeof l=="string","Path should be a string"),dt(l.length>0,"The path could not be empty"),dt(l[0]==="/"||l[0]==="*","The first character of a path should be `/` or `*`"),dt(typeof r=="function","Handler should be a function");let s=l.match(ju);if(s){dt(l.length===s.index+s[0].length,"Optional Parameter needs to be the last parameter of the path");let c=l.replace(ju,"$1$2"),f=l.replace(ju,"$2");this.on(e,c,t,r,i),this.on(e,f,t,r,i);return}let u=l;this.ignoreDuplicateSlashes&&(l=rv(l)),this.ignoreTrailingSlash&&(l=iv(l));let a=Array.isArray(e)?e:[e];for(let c of a)dt(typeof c=="string","Method should be a string"),dt(Po.includes(c),`Method '${c}' is not an http method.`),this._on(c,l,t,r,i,u)};Kl.prototype._on=function(e,l,t,r,i){let s={};t.constraints!==void 0&&(dt(typeof t.constraints=="object"&&t.constraints!==null,"Constraints should be an object"),Object.keys(t.constraints).length!==0&&(s=t.constraints)),this.constrainer.validateConstraints(s),this.constrainer.noteUsage(s),this.trees[e]===void 0&&(this.trees[e]=new HF("/"));let u=l;if(u==="*"&&this.trees[e].prefix.length!==0){let m=this.trees[e];this.trees[e]=new HF(""),this.trees[e].staticChildren["/"]=m}let a=this.trees[e],c=a.prefix.length,f=[];for(let m=0;m<=u.length;m++){if(u.charCodeAt(m)===58&&u.charCodeAt(m+1)===58){m++;continue}let h=u.charCodeAt(m)===58&&u.charCodeAt(m+1)!==58,g=u.charCodeAt(m)===42;if(h||g||m===u.length&&m!==c){let _=u.slice(c,m);this.caseSensitive||(_=_.toLowerCase()),_=_.split("::").join(":"),_=_.split("%").join("%25"),a=a.createStaticChild(_)}if(h){let _=!1,S=[],T=m+1;for(let x=T;;x++){let v=u.charCodeAt(x),b=v===40,w=v===45||v===46,R=v===47||x===u.length;if(b||w||R){let N=u.slice(T,x);if(f.push(N),_=_||b||w,b){let L=XF(u,x),Q=u.slice(x,L+1);this.allowUnsafeRegex||dt(t7(new RegExp(Q)),`The regex '${Q}' is not safe!`),S.push(GF(Q)),x=L+1}else S.push("(.*?)");let k=x;for(;x 0,"The path could not be empty"),dt(l[0]==="/"||l[0]==="*","The first character of a path should be `/` or `*`"),dt(typeof t>"u"||typeof t=="object"&&!Array.isArray(t)&&t!==null,"Constraints should be an object or undefined.");let r=l.match(ju);if(r){dt(l.length===r.index+r[0].length,"Optional Parameter needs to be the last parameter of the path");let s=l.replace(ju,"$1$2"),u=l.replace(ju,"$2");this.off(e,s,t),this.off(e,u,t);return}this.ignoreDuplicateSlashes&&(l=rv(l)),this.ignoreTrailingSlash&&(l=iv(l));let i=Array.isArray(e)?e:[e];for(let s of i)this._off(s,l,t)};Kl.prototype._off=function(e,l,t){dt(typeof e=="string","Method should be a string"),dt(Po.includes(e),`Method '${e}' is not an http method.`);function r(a){return e!==a.method||l!==a.path}function i(a){return r(a)||!tv(t,a.opts.constraints||{})}let s=t?i:r,u=this.routes.filter(s);this._rebuild(u)};Kl.prototype.lookup=function(e,l,t,r){if(typeof t=="function"&&(r=t,t=void 0),r===void 0){let i=this.constrainer.deriveConstraints(e,t),s=this.find(e.method,e.url,i);return this.callHandler(s,e,l,t)}this.constrainer.deriveConstraints(e,t,(i,s)=>{if(i!==null){r(i);return}try{let u=this.find(e.method,e.url,s),a=this.callHandler(u,e,l,t);r(null,a)}catch(u){r(u)}})};Kl.prototype.callHandler=function(e,l,t,r){return e===null?this._defaultRoute(l,t,r):r===void 0?e.handler(l,t,e.params,e.store,e.searchParams):e.handler.call(r,l,t,e.params,e.store,e.searchParams)};Kl.prototype.find=function(e,l,t){let r=this.trees[e];if(r===void 0)return null;l.charCodeAt(0)!==47&&(l=l.replace(VF,"/")),this.ignoreDuplicateSlashes&&(l=rv(l));let i,s,u;try{i=E9e(l,this.useSemicolonDelimiter),l=i.path,s=i.querystring,u=i.shouldDecodeParam}catch{return this._onBadUrl(l)}this.ignoreTrailingSlash&&(l=iv(l));let a=l;this.caseSensitive===!1&&(l=l.toLowerCase());let c=this.maxParamLength,f=r.prefix.length,p=[],m=l.length,h=[];for(;;){if(f===m&&r.isLeafNode){let _=r.handlerStorage.getMatchingHandler(t);if(_!==null)return{handler:_.handler,store:_.store,params:_._createParamsObject(p),searchParams:this.querystringParser(s)}}let g=r.getNextNode(l,f,h,p.length);if(g===null){if(h.length===0)return null;let _=h.pop();f=_.brotherPathIndex,p.splice(_.paramsCount),g=_.brotherNode}if(r=g,r.kind===nv.STATIC){f+=r.prefix.length;continue}if(r.kind===nv.WILDCARD){let _=a.slice(f);u&&(_=qF(_)),p.push(_),f=m;continue}if(r.kind===nv.PARAMETRIC){let _=a.indexOf("/",f);_===-1&&(_=m);let S=a.slice(f,_);if(u&&(S=qF(S)),r.isRegex){let T=r.regex.exec(S);if(T===null)continue;for(let x=1;x c)return null;p.push(v)}}else{if(S.length>c)return null;p.push(S)}f=_}}};Kl.prototype._rebuild=function(n){this.reset();for(let e of n){let{method:l,path:t,opts:r,handler:i,store:s}=e;this._on(l,t,r,i,s)}};Kl.prototype._defaultRoute=function(n,e,l){if(this.defaultRoute!==null)return l===void 0?this.defaultRoute(n,e):this.defaultRoute.call(l,n,e);e.statusCode=404,e.end()};Kl.prototype._onBadUrl=function(n){if(this.onBadUrl===null)return null;let e=this.onBadUrl;return{handler:(l,t,r)=>e(n,l,t),params:{},store:null}};Kl.prototype.prettyPrint=function(n={}){let e=n.method;n.buildPrettyMeta=this.buildPrettyMeta.bind(this);let l=null;if(e===void 0){let{version:t,host:r,...i}=this.constrainer.strategies;i[lv.name]=lv;let s=new Kl({...this._opts,constraints:i}),u=this.routes.map(a=>{let c={...a.opts.constraints,[lv.name]:a.method};return{...a,method:"MERGED",opts:{constraints:c}}});s._rebuild(u),l=s.trees.MERGED}else l=this.trees[e];return l==null?"(empty tree)":v9e(l,n)};for(let n in Po){if(!Po.hasOwnProperty(n))continue;let e=Po[n],l=e.toLowerCase();if(Kl.prototype[l])throw new Error("Method already exists: "+l);Kl.prototype[l]=function(t,r,i){return this.on(e,t,r,i)}}Kl.prototype.all=function(n,e,l){this.on(Po,n,e,l)};WF.exports=Kl;function zF(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function rv(n){return n.replace(/\/\/+/g,"/")}function iv(n){return n.length>1&&n.charCodeAt(n.length-1)===47?n.slice(0,-1):n}function GF(n){return n.charCodeAt(1)===94&&(n=n.slice(0,1)+n.slice(2)),n.charCodeAt(n.length-2)===36&&(n=n.slice(0,n.length-2)+n.slice(n.length-1)),n}function XF(n,e){let l=1;for(;e {"use strict";function uv(n,e,l,t){if(l===void 0)return e.header("content-length","0"),t(null,null);if(typeof l.resume=="function")return l.on("error",i=>{e.log.error({err:i},"Error on Stream found for HEAD route")}),l.resume(),t(null,null);let r=""+Buffer.byteLength(l);e.header("content-length",r),t(null,null)}function T9e(n){return n==null?uv:Array.isArray(n)?[...n,uv]:[n,uv]}KF.exports={parseHeadOnSendHandlers:T9e}});var dM=C((awe,pM)=>{"use strict";var S9e=sv(),x9e=w9(),JF=rd(),{onRequestAbortHookRunner:A9e,lifecycleHooks:QF,preParsingHookRunner:w9e,onTimeoutHookRunner:O9e,onRequestHookRunner:N9e}=Ui(),{supportedMethods:R9e}=Dg(),{normalizeSchema:I9e}=f0(),{parseHeadOnSendHandlers:C9e}=YF(),{FSTDEP007:k9e,FSTDEP008:P9e,FSTDEP014:ZF}=si(),{compileSchemasForValidation:D9e,compileSchemasForSerialization:L9e}=Zp(),{FST_ERR_SCH_VALIDATION_BUILD:F9e,FST_ERR_SCH_SERIALIZATION_BUILD:M9e,FST_ERR_DEFAULT_ROUTE_INVALID_TYPE:$9e,FST_ERR_DUPLICATED_ROUTE:j9e,FST_ERR_INVALID_URL:U9e,FST_ERR_HOOK_INVALID_HANDLER:eM,FST_ERR_ROUTE_OPTIONS_NOT_OBJ:B9e,FST_ERR_ROUTE_DUPLICATED_HANDLER:H9e,FST_ERR_ROUTE_HANDLER_NOT_FN:nM,FST_ERR_ROUTE_MISSING_HANDLER:q9e,FST_ERR_ROUTE_METHOD_NOT_SUPPORTED:V9e,FST_ERR_ROUTE_METHOD_INVALID:z9e,FST_ERR_ROUTE_BODY_VALIDATION_SCHEMA_NOT_SUPPORTED:G9e,FST_ERR_ROUTE_BODY_LIMIT_OPTION_NOT_INT:X9e,FST_ERR_HOOK_INVALID_ASYNC_HANDLER:av}=o2(),{kRoutePrefix:W9e,kLogLevel:K9e,kLogSerializers:lM,kHooks:tM,kSchemaController:Y9e,kOptions:rM,kReplySerializerDefault:ov,kReplyIsError:J9e,kRequestPayloadStream:Q9e,kDisableRequestLogging:Z9e,kSchemaErrorFormatter:e7e,kErrorHandler:iM,kHasBeenDecorated:sM,kRequestAcceptVersion:cv,kRouteByFastify:fv,kRouteContext:uM}=Ut(),{buildErrorHandler:n7e}=H0(),{createChildLogger:l7e}=o0(),{getGenReqId:t7e}=G9();function r7e(n){let e=S9e(n.config),l,t,r,i,s,u,a,c,f,p,m,h,g,_=!1;return{setup(k,j){l=j.avvio,t=j.fourOhFour,r=j.logger,i=j.hasLogger,s=j.setupResponseListeners,u=j.throwIfAlreadyStarted,h=j.validateHTTPVersion,m=k.exposeHeadRoutes,a=k.disableRequestLogging,c=k.ignoreTrailingSlash,f=k.ignoreDuplicateSlashes,p=Object.prototype.hasOwnProperty.call(k,"return503OnClosing")?k.return503OnClosing:!0,g=j.keepAliveConnections},routing:e.lookup.bind(e),route:R,hasRoute:b,prepareRoute:v,getDefaultRoute:function(){return ZF(),e.defaultRoute},setDefaultRoute:function(k){if(ZF(),typeof k!="function")throw new $9e;e.defaultRoute=k},routeHandler:N,closeRoutes:()=>{_=!0},printRoutes:e.prettyPrint.bind(e),addConstraintStrategy:S,hasConstraintStrategy:T,isAsyncConstraint:x,findRoute:w};function S(k){return u("Cannot add constraint strategy!"),e.addConstraintStrategy(k)}function T(k){return e.hasConstraintStrategy(k)}function x(){return e.constrainer.asyncStrategiesInUse.size>0}function v({method:k,url:j,options:L,handler:Q,isFastify:Y}){if(typeof j!="string")throw new U9e(typeof j);if(!Q&&typeof L=="function")Q=L,L={};else if(Q&&typeof Q=="function"){if(Object.prototype.toString.call(L)!=="[object Object]")throw new B9e(k,j);if(L.handler)throw typeof L.handler=="function"?new H9e(k,j):new nM(k,j)}return L=Object.assign({},L,{method:k,url:j,path:j,handler:Q||L&&L.handler}),R.call(this,{options:L,isFastify:Y})}function b({options:k}){return w(k)!==null}function w(k){let j=e.find(k.method,k.url||"",k.constraints);return j?{handler:j.handler,params:j.params,searchParams:j.searchParams}:null}function R({options:k,isFastify:j}){let L={...k},{exposeHeadRoute:Q}=L,Z=Q!=null?Q:m,ve=L.method==="GET"||Array.isArray(L.method)&&L.method.includes("GET"),Re=L.method==="HEAD"||Array.isArray(L.method)&&L.method.includes("HEAD"),pe=Z&&ve?{...k}:null;u("Cannot add route!");let ue=L.url||L.path||"";if(Array.isArray(L.method))for(var ye=0;ye 0&&L.method!=="HEAD")switch(L.prefixTrailingSlash){case"slash":re.call(this,{path:ue,isFastify:j});break;case"no-slash":re.call(this,{path:"",isFastify:j});break;case"both":default:re.call(this,{path:"",isFastify:j}),c!==!0&&(f!==!0||!q.endsWith("/"))&&re.call(this,{path:ue,prefixing:!0,isFastify:j})}else ue[0]==="/"&&q.endsWith("/")?re.call(this,{path:ue.slice(1),isFastify:j}):re.call(this,{path:ue,isFastify:j});return this;function re({path:te,prefixing:ne=!1,isFastify:Vl=!1}){let On=q+te;if(L.url=On,L.path=On,L.routePath=te,L.prefix=q,L.logLevel=L.logLevel||this[K9e],(this[lM]||L.logSerializers)&&(L.logSerializers=Object.assign(Object.create(this[lM]),L.logSerializers)),L.attachValidation==null&&(L.attachValidation=!1),ne===!1)for(let fn of this[tM].onRoute)fn.call(this,L);for(let fn of QF)if(L&&fn in L){if(Array.isArray(L[fn]))for(let dn of L[fn]){if(typeof dn!="function")throw new eM(fn,Object.prototype.toString.call(dn));if(fn==="onSend"||fn==="preSerialization"||fn==="onError"||fn==="preParsing"){if(dn.constructor.name==="AsyncFunction"&&dn.length===4)throw new av}else if(fn==="onRequestAbort"){if(dn.constructor.name==="AsyncFunction"&&dn.length!==1)throw new av}else if(dn.constructor.name==="AsyncFunction"&&dn.length===3)throw new av}else if(L[fn]!==void 0&&typeof L[fn]!="function")throw new eM(fn,Object.prototype.toString.call(L[fn]))}let Ge=L.constraints||{},Hn={...L.config,url:On,method:L.method},Ke=new x9e({schema:L.schema,handler:L.handler.bind(this),config:Hn,errorHandler:L.errorHandler,childLoggerFactory:L.childLoggerFactory,bodyLimit:L.bodyLimit,logLevel:L.logLevel,logSerializers:L.logSerializers,attachValidation:L.attachValidation,schemaErrorFormatter:L.schemaErrorFormatter,replySerializer:this[ov],validatorCompiler:L.validatorCompiler,serializerCompiler:L.serializerCompiler,exposeHeadRoute:Z,prefixTrailingSlash:L.prefixTrailingSlash||"both",server:this,isFastify:Vl});L.version&&(P9e(),Ge.version=L.version);let Xe=e.findRoute("HEAD",L.url,Ge),Ol=Xe!==null;Re&&Ol&&!Ke[fv]&&Xe.store[fv]&&e.off("HEAD",L.url,Ge);try{e.on(L.method,L.url,{constraints:Ge},N,Ke)}catch(fn){if(!Ke[fv])throw fn.message.includes(`Method '${L.method}' already declared for route '${L.url}'`)?new j9e(L.method,L.url):fn}if(this.after((fn,dn)=>{Ke.errorHandler=L.errorHandler?n7e(this[iM],L.errorHandler):this[iM],Ke._parserOptions.limit=L.bodyLimit||null,Ke.logLevel=L.logLevel,Ke.logSerializers=L.logSerializers,Ke.attachValidation=L.attachValidation,Ke[ov]=this[ov],Ke.schemaErrorFormatter=L.schemaErrorFormatter||this[e7e]||Ke.schemaErrorFormatter,l.once("preReady",()=>{for(let J of QF){let me=this[tM][J].concat(L[J]||[]).map(Te=>Te.bind(this));Ke[J]=me.length?me:null}for(;!Ke.Request[sM]&&Ke.Request.parent;)Ke.Request=Ke.Request.parent;for(;!Ke.Reply[sM]&&Ke.Reply.parent;)Ke.Reply=Ke.Reply.parent;if(t.setContext(this,Ke),L.schema){Ke.schema=I9e(Ke.schema,this.initialConfig);let J=this[Y9e];!L.validatorCompiler&&(L.schema.body||L.schema.headers||L.schema.querystring||L.schema.params)&&J.setupValidator(this[rM]);try{let me=typeof L?.validatorCompiler=="function"||J.isCustomValidatorCompiler;D9e(Ke,L.validatorCompiler||J.validatorCompiler,me)}catch(me){throw new F9e(L.method,On,me.message)}L.schema.response&&!L.serializerCompiler&&J.setupSerializer(this[rM]);try{L9e(Ke,L.serializerCompiler||J.serializerCompiler)}catch(me){throw new M9e(L.method,On,me.message)}}}),dn(fn)}),Z&&ve&&!Re&&!Ol){let fn=C9e(pe.onSend);v.call(this,{method:"HEAD",url:te,options:{...pe,onSend:fn},isFastify:!0})}else Ol&&Q&&k9e()}}function N(k,j,L,Q,Y){let Z=t7e(Q.server,k),ve={level:Q.logLevel};Q.logSerializers&&(ve.serializers=Q.logSerializers);let Re=l7e(Q,r,k,Z,ve);if(Re[Z9e]=a,!h(k.httpVersion)){Re.info({res:{statusCode:505}},"request aborted - invalid HTTP version");let q='{"error":"HTTP Version Not Supported","message":"HTTP Version Not Supported","statusCode":505}',re={"Content-Type":"application/json","Content-Length":q.length};j.writeHead(505,re),j.end(q);return}if(_===!0&&(k.httpVersionMajor!==2&&j.setHeader("Connection","close"),p)){let q={"Content-Type":"application/json","Content-Length":"80"};j.writeHead(503,q),j.end('{"error":"Service Unavailable","message":"Service Unavailable","statusCode":503}'),Re.info({res:{statusCode:503}},"request aborted - refusing to accept new requests as server is closing");return}String.prototype.toLowerCase.call(k.headers.connection||"")==="keep-alive"&&g.has(k.socket)===!1&&(g.add(k.socket),k.socket.on("close",u7e.bind({keepAliveConnections:g,socket:k.socket}))),k.headers[cv]!==void 0&&(k.headers["accept-version"]=k.headers[cv],k.headers[cv]=void 0);let ue=new Q.Request(Z,L,k,Y,Re,Q),ye=new Q.Reply(j,ue,Re);a===!1&&Re.info({req:ue},"incoming request"),(i===!0||Q.onResponse!==null)&&s(ye),Q.onRequest!==null?N9e(Q.onRequest,ue,ye,cM):cM(null,ue,ye),Q.onRequestAbort!==null&&k.on("close",()=>{k.aborted&&A9e(Q.onRequestAbort,ue,i7e.bind(null,ye))}),Q.onTimeout!==null&&(ue.raw.socket._meta||ue.raw.socket.on("timeout",s7e),ue.raw.socket._meta={context:Q,request:ue,reply:ye})}}function i7e(n,e){e&&n.log.error({err:e},"onRequestAborted hook failed")}function s7e(){let{context:n,request:e,reply:l}=this._meta;O9e(n.onTimeout,e,l,a7e)}function aM(n){if(typeof n!="string")throw new z9e;if(n=n.toUpperCase(),R9e.indexOf(n)===-1)throw new V9e(n);return n}function oM(n,e,l){if((n==="GET"||n==="HEAD")&&l&&l.body)throw new G9e(n,e)}function fM(n){if(n!==void 0&&(!Number.isInteger(n)||n<=0))throw new X9e(n)}function cM(n,e,l){if(l.sent!==!0){if(n!=null){l[J9e]=!0,l.send(n);return}e[Q9e]=e.raw,e[uM].preParsing!==null?w9e(e[uM].preParsing,e,l,JF):JF(null,e,l)}}function u7e(){this.keepAliveConnections.delete(this.socket)}function a7e(){}pM.exports={buildRouting:r7e,validateBodyLimitOption:fM}});var EM=C((owe,_M)=>{"use strict";var o7e=sv(),hM=o9(),mM=A9(),c7e=w9(),{kRoutePrefix:f7e,kCanSetNotFoundHandler:b1,kFourOhFourLevelInstance:T1,kFourOhFourContext:Or,kHooks:p7e,kErrorHandler:gM}=Ut(),{lifecycleHooks:d7e}=Ui(),{buildErrorHandler:h7e}=H0(),{FST_ERR_NOT_FOUND:m7e}=o2(),{createChildLogger:yM}=o0(),{getGenReqId:vM}=G9();function g7e(n){let{logger:e}=n,l=o7e({onBadUrl:s(),defaultRoute:f}),t=null;return{router:l,setNotFoundHandler:a,setContext:u,arrange404:r};function r(p){p[T1]=p,p[b1]=!0,l.onBadUrl=l.onBadUrl.bind(p),l.defaultRoute=l.defaultRoute.bind(p)}function i(p,m){let{url:h,method:g}=p.raw,_=`Route ${g}:${h} not found`;p.log.info(_),m.code(404).send({message:_,error:"Not Found",statusCode:404})}function s(){return function(m,h,g){let _=this[T1][Or],S=vM(_.server,h),T=yM(_,e,h,S),x=new mM(S,null,h,null,T,_),v=new hM(g,x,T);t(x,v)}}function u(p,m){let h=Object.assign({},p[Or]);h.onSend=m.onSend,m[Or]=h}function a(p,m,h,g){this[b1]===void 0&&(this[b1]=!0),this[Or]===void 0&&(this[Or]=null);let _=this,S=this[f7e]||"/";if(this[b1]===!1)throw new Error(`Not found handler already set for Fastify instance with prefix: '${S}'`);typeof p=="object"&&(p.preHandler&&(Array.isArray(p.preHandler)?p.preHandler=p.preHandler.map(T=>T.bind(_)):p.preHandler=p.preHandler.bind(_)),p.preValidation&&(Array.isArray(p.preValidation)?p.preValidation=p.preValidation.map(T=>T.bind(_)):p.preValidation=p.preValidation.bind(_))),typeof p=="function"&&(m=p,p=void 0),p=p||{},m?(this[T1][b1]=!1,m=m.bind(this),t=m):(m=i,t=i),this.after((T,x)=>{c.call(this,S,p,m,h,g),x(T)})}function c(p,m,h,g,_){let S=new c7e({schema:m.schema,handler:h,config:m.config||{},server:this});if(g.once("preReady",()=>{let T=this[Or];for(let x of d7e){let v=this[p7e][x].concat(m[x]||[]).map(b=>b.bind(this));T[x]=v.length?v:null}T.errorHandler=m.errorHandler?h7e(this[gM],m.errorHandler):this[gM]}),this[Or]!==null&&p==="/"){Object.assign(this[Or],S);return}this[T1][Or]=S,l.all(p+(p.endsWith("/")?"*":"/*"),_,S),l.all(p,_,S)}function f(p,m){let h=this[T1][Or],g=vM(h.server,p),_=yM(h,e,p,g);_.info({req:p},"incoming request");let S=new mM(g,null,p,null,_,h),T=new hM(m,S,_);S.log.warn("the default handler for 404 did not catch this, this is likely a fastify bug, please report it"),S.log.warn(l.prettyPrint()),T.code(404).send(new m7e)}}_M.exports=g7e});var TM=C((cwe,r7)=>{"use strict";r7.exports=Kn;r7.exports.default=Kn;var bM={type:"object",additionalProperties:!1,properties:{connectionTimeout:{type:"integer",default:0},keepAliveTimeout:{type:"integer",default:72e3},forceCloseConnections:{oneOf:[{type:"string",pattern:"idle"},{type:"boolean"}]},maxRequestsPerSocket:{type:"integer",default:0,nullable:!0},requestTimeout:{type:"integer",default:0},bodyLimit:{type:"integer",default:1048576},caseSensitive:{type:"boolean",default:!0},allowUnsafeRegex:{type:"boolean",default:!1},http2:{type:"boolean"},https:{if:{not:{oneOf:[{type:"boolean"},{type:"null"},{type:"object",additionalProperties:!1,required:["allowHTTP1"],properties:{allowHTTP1:{type:"boolean"}}}]}},then:{setDefaultValue:!0}},ignoreTrailingSlash:{type:"boolean",default:!1},ignoreDuplicateSlashes:{type:"boolean",default:!1},disableRequestLogging:{type:"boolean",default:!1},jsonShorthand:{type:"boolean",default:!0},maxParamLength:{type:"integer",default:100},onProtoPoisoning:{type:"string",default:"error"},onConstructorPoisoning:{type:"string",default:"error"},pluginTimeout:{type:"integer",default:1e4},requestIdHeader:{anyOf:[{enum:[!1]},{type:"string"}],default:"request-id"},requestIdLogLabel:{type:"string",default:"reqId"},http2SessionTimeout:{type:"integer",default:72e3},exposeHeadRoutes:{type:"boolean",default:!0},useSemicolonDelimiter:{type:"boolean",default:!0},versioning:{type:"object",additionalProperties:!0,required:["storage","deriveVersion"],properties:{storage:{},deriveVersion:{}}},constraints:{type:"object",additionalProperties:{type:"object",required:["name","storage","validate","deriveConstraint"],additionalProperties:!0,properties:{name:{type:"string"},storage:{},validate:{},deriveConstraint:{}}}}}},y7e=Object.prototype.hasOwnProperty,v7e=new RegExp("idle","u");function Kn(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0;if(s===0)if(n&&typeof n=="object"&&!Array.isArray(n)){n.connectionTimeout===void 0&&(n.connectionTimeout=0),n.keepAliveTimeout===void 0&&(n.keepAliveTimeout=72e3),n.maxRequestsPerSocket===void 0&&(n.maxRequestsPerSocket=0),n.requestTimeout===void 0&&(n.requestTimeout=0),n.bodyLimit===void 0&&(n.bodyLimit=1048576),n.caseSensitive===void 0&&(n.caseSensitive=!0),n.allowUnsafeRegex===void 0&&(n.allowUnsafeRegex=!1),n.ignoreTrailingSlash===void 0&&(n.ignoreTrailingSlash=!1),n.ignoreDuplicateSlashes===void 0&&(n.ignoreDuplicateSlashes=!1),n.disableRequestLogging===void 0&&(n.disableRequestLogging=!1),n.jsonShorthand===void 0&&(n.jsonShorthand=!0),n.maxParamLength===void 0&&(n.maxParamLength=100),n.onProtoPoisoning===void 0&&(n.onProtoPoisoning="error"),n.onConstructorPoisoning===void 0&&(n.onConstructorPoisoning="error"),n.pluginTimeout===void 0&&(n.pluginTimeout=1e4),n.requestIdHeader===void 0&&(n.requestIdHeader="request-id"),n.requestIdLogLabel===void 0&&(n.requestIdLogLabel="reqId"),n.http2SessionTimeout===void 0&&(n.http2SessionTimeout=72e3),n.exposeHeadRoutes===void 0&&(n.exposeHeadRoutes=!0),n.useSemicolonDelimiter===void 0&&(n.useSemicolonDelimiter=!0);let g=s;for(let _ in n)y7e.call(bM.properties,_)||delete n[_];if(g===s){let _=n.connectionTimeout,S=s;if(!(typeof _=="number"&&!(_%1)&&!isNaN(_)&&isFinite(_))){let T=typeof _,x;if(x===void 0)if(T==="boolean"||_===null||T==="string"&&_&&_==+_&&!(_%1))x=+_;else return Kn.errors=[{instancePath:e+"/connectionTimeout",schemaPath:"#/properties/connectionTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;x!==void 0&&(_=x,n!==void 0&&(n.connectionTimeout=x))}var u=S===s;if(u){let T=n.keepAliveTimeout,x=s;if(!(typeof T=="number"&&!(T%1)&&!isNaN(T)&&isFinite(T))){let b=typeof T,w;if(w===void 0)if(b==="boolean"||T===null||b==="string"&&T&&T==+T&&!(T%1))w=+T;else return Kn.errors=[{instancePath:e+"/keepAliveTimeout",schemaPath:"#/properties/keepAliveTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;w!==void 0&&(T=w,n!==void 0&&(n.keepAliveTimeout=w))}var u=x===s;if(u){if(n.forceCloseConnections!==void 0){let b=n.forceCloseConnections,w=s,R=s,N=!1,k=null,j=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.forceCloseConnections=Z))}if(s===j&&typeof b=="string"&&!v7e.test(b)){let Y={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/0/pattern",keyword:"pattern",params:{pattern:"idle"},message:'must match pattern "idle"'};i===null?i=[Y]:i.push(Y),s++}var a=j===s;a&&(N=!0,k=0);let L=s;if(typeof b!="boolean"){let Y;if(Y===void 0)if(b==="false"||b===0||b===null)Y=!1;else if(b==="true"||b===1)Y=!0;else{let Z={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};i===null?i=[Z]:i.push(Z),s++}Y!==void 0&&(b=Y,n!==void 0&&(n.forceCloseConnections=Y))}var a=L===s;if(a&&N?(N=!1,k=[k,1]):a&&(N=!0,k=1),N)s=R,i!==null&&(R?i.length=R:i=null);else{let Y={instancePath:e+"/forceCloseConnections",schemaPath:"#/properties/forceCloseConnections/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Y]:i.push(Y),s++,Kn.errors=i,!1}var u=w===s}else var u=!0;if(u){let b=n.maxRequestsPerSocket,w=s;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b))&&b!==null){let N=typeof b,k;if(k===void 0)if(N==="boolean"||b===null||N==="string"&&b&&b==+b&&!(b%1))k=+b;else if(b===""||b===0||b===!1)k=null;else return Kn.errors=[{instancePath:e+"/maxRequestsPerSocket",schemaPath:"#/properties/maxRequestsPerSocket/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.maxRequestsPerSocket=k))}var u=w===s;if(u){let N=n.requestTimeout,k=s;if(!(typeof N=="number"&&!(N%1)&&!isNaN(N)&&isFinite(N))){let L=typeof N,Q;if(Q===void 0)if(L==="boolean"||N===null||L==="string"&&N&&N==+N&&!(N%1))Q=+N;else return Kn.errors=[{instancePath:e+"/requestTimeout",schemaPath:"#/properties/requestTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;Q!==void 0&&(N=Q,n!==void 0&&(n.requestTimeout=Q))}var u=k===s;if(u){let L=n.bodyLimit,Q=s;if(!(typeof L=="number"&&!(L%1)&&!isNaN(L)&&isFinite(L))){let Z=typeof L,ve;if(ve===void 0)if(Z==="boolean"||L===null||Z==="string"&&L&&L==+L&&!(L%1))ve=+L;else return Kn.errors=[{instancePath:e+"/bodyLimit",schemaPath:"#/properties/bodyLimit/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;ve!==void 0&&(L=ve,n!==void 0&&(n.bodyLimit=ve))}var u=Q===s;if(u){let Z=n.caseSensitive,ve=s;if(typeof Z!="boolean"){let pe;if(pe===void 0)if(Z==="false"||Z===0||Z===null)pe=!1;else if(Z==="true"||Z===1)pe=!0;else return Kn.errors=[{instancePath:e+"/caseSensitive",schemaPath:"#/properties/caseSensitive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;pe!==void 0&&(Z=pe,n!==void 0&&(n.caseSensitive=pe))}var u=ve===s;if(u){let pe=n.allowUnsafeRegex,ue=s;if(typeof pe!="boolean"){let q;if(q===void 0)if(pe==="false"||pe===0||pe===null)q=!1;else if(pe==="true"||pe===1)q=!0;else return Kn.errors=[{instancePath:e+"/allowUnsafeRegex",schemaPath:"#/properties/allowUnsafeRegex/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;q!==void 0&&(pe=q,n!==void 0&&(n.allowUnsafeRegex=q))}var u=ue===s;if(u){if(n.http2!==void 0){let q=n.http2,re=s;if(typeof q!="boolean"){let ne;if(ne===void 0)if(q==="false"||q===0||q===null)ne=!1;else if(q==="true"||q===1)ne=!0;else return Kn.errors=[{instancePath:e+"/http2",schemaPath:"#/properties/http2/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;ne!==void 0&&(q=ne,n!==void 0&&(n.http2=ne))}var u=re===s}else var u=!0;if(u){if(n.https!==void 0){let q=n.https,re=s,te=s,ne=!0,Vl=s,On=s,Ge=s,Hn=s,Ke=!1,Xe=null,Ol=s;if(typeof q!="boolean"){let J;if(J===void 0)if(q==="false"||q===0||q===null)J=!1;else if(q==="true"||q===1)J=!0;else{let me={};i===null?i=[me]:i.push(me),s++}J!==void 0&&(q=J,n!==void 0&&(n.https=J))}var c=Ol===s;c&&(Ke=!0,Xe=0);let fn=s;if(q!==null){let J;if(J===void 0)if(q===""||q===0||q===!1)J=null;else{let me={};i===null?i=[me]:i.push(me),s++}J!==void 0&&(q=J,n!==void 0&&(n.https=J))}var c=fn===s;if(c&&Ke)Ke=!1,Xe=[Xe,1];else{c&&(Ke=!0,Xe=1);let J=s;if(s===J)if(q&&typeof q=="object"&&!Array.isArray(q)){let Te;if(q.allowHTTP1===void 0&&(Te="allowHTTP1")){let Ue={};i===null?i=[Ue]:i.push(Ue),s++}else{let Ue=s;for(let sn in q)sn!=="allowHTTP1"&&delete q[sn];if(Ue===s&&q.allowHTTP1!==void 0){let sn=q.allowHTTP1;if(typeof sn!="boolean"){let Ce;if(Ce===void 0)if(sn==="false"||sn===0||sn===null)Ce=!1;else if(sn==="true"||sn===1)Ce=!0;else{let Nn={};i===null?i=[Nn]:i.push(Nn),s++}Ce!==void 0&&(sn=Ce,q!==void 0&&(q.allowHTTP1=Ce))}}}}else{let Te={};i===null?i=[Te]:i.push(Te),s++}var c=J===s;c&&Ke?(Ke=!1,Xe=[Xe,2]):c&&(Ke=!0,Xe=2)}if(Ke)s=Hn,i!==null&&(Hn?i.length=Hn:i=null);else{let J={};i===null?i=[J]:i.push(J),s++}var f=Ge===s;if(f){let J={};i===null?i=[J]:i.push(J),s++}else s=On,i!==null&&(On?i.length=On:i=null);var p=Vl===s;if(s=te,i!==null&&(te?i.length=te:i=null),p){let J=s;n.https=!0;var p=J===s;ne=p}if(!ne){let J={instancePath:e+"/https",schemaPath:"#/properties/https/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};return i===null?i=[J]:i.push(J),s++,Kn.errors=i,!1}var u=re===s}else var u=!0;if(u){let q=n.ignoreTrailingSlash,re=s;if(typeof q!="boolean"){let ne;if(ne===void 0)if(q==="false"||q===0||q===null)ne=!1;else if(q==="true"||q===1)ne=!0;else return Kn.errors=[{instancePath:e+"/ignoreTrailingSlash",schemaPath:"#/properties/ignoreTrailingSlash/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;ne!==void 0&&(q=ne,n!==void 0&&(n.ignoreTrailingSlash=ne))}var u=re===s;if(u){let ne=n.ignoreDuplicateSlashes,Vl=s;if(typeof ne!="boolean"){let Ge;if(Ge===void 0)if(ne==="false"||ne===0||ne===null)Ge=!1;else if(ne==="true"||ne===1)Ge=!0;else return Kn.errors=[{instancePath:e+"/ignoreDuplicateSlashes",schemaPath:"#/properties/ignoreDuplicateSlashes/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Ge!==void 0&&(ne=Ge,n!==void 0&&(n.ignoreDuplicateSlashes=Ge))}var u=Vl===s;if(u){let Ge=n.disableRequestLogging,Hn=s;if(typeof Ge!="boolean"){let Xe;if(Xe===void 0)if(Ge==="false"||Ge===0||Ge===null)Xe=!1;else if(Ge==="true"||Ge===1)Xe=!0;else return Kn.errors=[{instancePath:e+"/disableRequestLogging",schemaPath:"#/properties/disableRequestLogging/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;Xe!==void 0&&(Ge=Xe,n!==void 0&&(n.disableRequestLogging=Xe))}var u=Hn===s;if(u){let Xe=n.jsonShorthand,Ol=s;if(typeof Xe!="boolean"){let dn;if(dn===void 0)if(Xe==="false"||Xe===0||Xe===null)dn=!1;else if(Xe==="true"||Xe===1)dn=!0;else return Kn.errors=[{instancePath:e+"/jsonShorthand",schemaPath:"#/properties/jsonShorthand/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;dn!==void 0&&(Xe=dn,n!==void 0&&(n.jsonShorthand=dn))}var u=Ol===s;if(u){let dn=n.maxParamLength,J=s;if(!(typeof dn=="number"&&!(dn%1)&&!isNaN(dn)&&isFinite(dn))){let Te=typeof dn,Ue;if(Ue===void 0)if(Te==="boolean"||dn===null||Te==="string"&&dn&&dn==+dn&&!(dn%1))Ue=+dn;else return Kn.errors=[{instancePath:e+"/maxParamLength",schemaPath:"#/properties/maxParamLength/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;Ue!==void 0&&(dn=Ue,n!==void 0&&(n.maxParamLength=Ue))}var u=J===s;if(u){let Te=n.onProtoPoisoning,Ue=s;if(typeof Te!="string"){let Ce=typeof Te,Nn;if(Nn===void 0)if(Ce=="number"||Ce=="boolean")Nn=""+Te;else if(Te===null)Nn="";else return Kn.errors=[{instancePath:e+"/onProtoPoisoning",schemaPath:"#/properties/onProtoPoisoning/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;Nn!==void 0&&(Te=Nn,n!==void 0&&(n.onProtoPoisoning=Nn))}var u=Ue===s;if(u){let Ce=n.onConstructorPoisoning,Nn=s;if(typeof Ce!="string"){let Rn=typeof Ce,Gn;if(Gn===void 0)if(Rn=="number"||Rn=="boolean")Gn=""+Ce;else if(Ce===null)Gn="";else return Kn.errors=[{instancePath:e+"/onConstructorPoisoning",schemaPath:"#/properties/onConstructorPoisoning/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;Gn!==void 0&&(Ce=Gn,n!==void 0&&(n.onConstructorPoisoning=Gn))}var u=Nn===s;if(u){let Rn=n.pluginTimeout,Gn=s;if(!(typeof Rn=="number"&&!(Rn%1)&&!isNaN(Rn)&&isFinite(Rn))){let Bl=typeof Rn,Pt;if(Pt===void 0)if(Bl==="boolean"||Rn===null||Bl==="string"&&Rn&&Rn==+Rn&&!(Rn%1))Pt=+Rn;else return Kn.errors=[{instancePath:e+"/pluginTimeout",schemaPath:"#/properties/pluginTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;Pt!==void 0&&(Rn=Pt,n!==void 0&&(n.pluginTimeout=Pt))}var u=Gn===s;if(u){let Bl=n.requestIdHeader,Pt=s,Ql=s,zt=!1,n2=s;if(Bl!==!1){let it={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf/0/enum",keyword:"enum",params:{allowedValues:bM.properties.requestIdHeader.anyOf[0].enum},message:"must be equal to one of the allowed values"};i===null?i=[it]:i.push(it),s++}var m=n2===s;if(zt=zt||m,!zt){let it=s;if(typeof Bl!="string"){let tr=typeof Bl,Nl;if(Nl===void 0)if(tr=="number"||tr=="boolean")Nl=""+Bl;else if(Bl===null)Nl="";else{let v2={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[v2]:i.push(v2),s++}Nl!==void 0&&(Bl=Nl,n!==void 0&&(n.requestIdHeader=Nl))}var m=it===s;zt=zt||m}if(zt)s=Ql,i!==null&&(Ql?i.length=Ql:i=null);else{let it={instancePath:e+"/requestIdHeader",schemaPath:"#/properties/requestIdHeader/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[it]:i.push(it),s++,Kn.errors=i,!1}var u=Pt===s;if(u){let it=n.requestIdLogLabel,va=s;if(typeof it!="string"){let Nl=typeof it,v2;if(v2===void 0)if(Nl=="number"||Nl=="boolean")v2=""+it;else if(it===null)v2="";else return Kn.errors=[{instancePath:e+"/requestIdLogLabel",schemaPath:"#/properties/requestIdLogLabel/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;v2!==void 0&&(it=v2,n!==void 0&&(n.requestIdLogLabel=v2))}var u=va===s;if(u){let Nl=n.http2SessionTimeout,v2=s;if(!(typeof Nl=="number"&&!(Nl%1)&&!isNaN(Nl)&&isFinite(Nl))){let Dt=typeof Nl,yt;if(yt===void 0)if(Dt==="boolean"||Nl===null||Dt==="string"&&Nl&&Nl==+Nl&&!(Nl%1))yt=+Nl;else return Kn.errors=[{instancePath:e+"/http2SessionTimeout",schemaPath:"#/properties/http2SessionTimeout/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;yt!==void 0&&(Nl=yt,n!==void 0&&(n.http2SessionTimeout=yt))}var u=v2===s;if(u){let Dt=n.exposeHeadRoutes,yt=s;if(typeof Dt!="boolean"){let bt;if(bt===void 0)if(Dt==="false"||Dt===0||Dt===null)bt=!1;else if(Dt==="true"||Dt===1)bt=!0;else return Kn.errors=[{instancePath:e+"/exposeHeadRoutes",schemaPath:"#/properties/exposeHeadRoutes/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;bt!==void 0&&(Dt=bt,n!==void 0&&(n.exposeHeadRoutes=bt))}var u=yt===s;if(u){let bt=n.useSemicolonDelimiter,Vr=s;if(typeof bt!="boolean"){let zl;if(zl===void 0)if(bt==="false"||bt===0||bt===null)zl=!1;else if(bt==="true"||bt===1)zl=!0;else return Kn.errors=[{instancePath:e+"/useSemicolonDelimiter",schemaPath:"#/properties/useSemicolonDelimiter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;zl!==void 0&&(bt=zl,n!==void 0&&(n.useSemicolonDelimiter=zl))}var u=Vr===s;if(u){if(n.versioning!==void 0){let zl=n.versioning,st=s;if(s===st)if(zl&&typeof zl=="object"&&!Array.isArray(zl)){let l2;if(zl.storage===void 0&&(l2="storage")||zl.deriveVersion===void 0&&(l2="deriveVersion"))return Kn.errors=[{instancePath:e+"/versioning",schemaPath:"#/properties/versioning/required",keyword:"required",params:{missingProperty:l2},message:"must have required property '"+l2+"'"}],!1}else return Kn.errors=[{instancePath:e+"/versioning",schemaPath:"#/properties/versioning/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=st===s}else var u=!0;if(u)if(n.constraints!==void 0){let zl=n.constraints,st=s;if(s===st)if(zl&&typeof zl=="object"&&!Array.isArray(zl))for(let l2 in zl){let Gt=zl[l2],k3=s;if(s===k3)if(Gt&&typeof Gt=="object"&&!Array.isArray(Gt)){let J2;if(Gt.name===void 0&&(J2="name")||Gt.storage===void 0&&(J2="storage")||Gt.validate===void 0&&(J2="validate")||Gt.deriveConstraint===void 0&&(J2="deriveConstraint"))return Kn.errors=[{instancePath:e+"/constraints/"+l2.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/properties/constraints/additionalProperties/required",keyword:"required",params:{missingProperty:J2},message:"must have required property '"+J2+"'"}],!1;if(Gt.name!==void 0){let P3=Gt.name;if(typeof P3!="string"){let ir=typeof P3,a3;if(a3===void 0)if(ir=="number"||ir=="boolean")a3=""+P3;else if(P3===null)a3="";else return Kn.errors=[{instancePath:e+"/constraints/"+l2.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/properties/constraints/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;a3!==void 0&&(P3=a3,Gt!==void 0&&(Gt.name=a3))}}}else return Kn.errors=[{instancePath:e+"/constraints/"+l2.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/properties/constraints/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=k3===s;if(!h)break}else return Kn.errors=[{instancePath:e+"/constraints",schemaPath:"#/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=st===s}else var u=!0}}}}}}}}}}}}}}}}}}}}}}}}}else return Kn.errors=[{instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Kn.errors=i,s===0}r7.exports.defaultInitOptions={connectionTimeout:0,keepAliveTimeout:72e3,maxRequestsPerSocket:0,requestTimeout:0,bodyLimit:1048576,caseSensitive:!0,allowUnsafeRegex:!1,disableRequestLogging:!1,jsonShorthand:!0,ignoreTrailingSlash:!1,ignoreDuplicateSlashes:!1,maxParamLength:100,onProtoPoisoning:"error",onConstructorPoisoning:"error",pluginTimeout:1e4,requestIdHeader:"request-id",requestIdLogLabel:"reqId",http2SessionTimeout:72e3,exposeHeadRoutes:!0,useSemicolonDelimiter:!0}});var SM=C((fwe,s7)=>{"use strict";var i7=TM(),_7e=c0()({circles:!0,proto:!1}),{FST_ERR_INIT_OPTS_INVALID:E7e}=o2();function b7e(n){let e=_7e(n);if(!i7(e)){let l=new E7e(JSON.stringify(i7.errors.map(t=>t.message)));throw l.errors=i7.errors,l}return pv(e)}function pv(n){let e=Object.getOwnPropertyNames(n);for(let l of e){let t=n[l];ArrayBuffer.isView(t)&&!(t instanceof DataView)||(n[l]=t&&typeof t=="object"?pv(t):t)}return Object.freeze(n)}s7.exports=b7e;s7.exports.defaultInitOptions=i7.defaultInitOptions;s7.exports.utils={deepFreezeObject:pv}});var kM=C((pwe,CM)=>{"use strict";var{kAvvioBoot:T7e,kChildren:xM,kRoutePrefix:AM,kLogLevel:wM,kLogSerializers:dv,kHooks:hv,kSchemaController:Do,kContentTypeParser:OM,kReply:NM,kRequest:RM,kFourOhFour:S7e,kPluginNameChain:IM}=Ut(),x7e=o9(),A7e=A9(),w7e=Uy(),O7e=Wg(),{buildHooks:N7e}=Ui(),S1=Gy();CM.exports=function(e,l,t){let r=S1.registerPlugin.call(e,l),i=S1.getPluginName(l)||S1.getFuncPreview(l);if(r)return e[IM].push(i),e;let s=Object.create(e);e[xM].push(s),s.ready=e[T7e].bind(s),s[xM]=[],s[NM]=x7e.buildReply(s[NM]),s[RM]=A7e.buildRequest(s[RM]),s[OM]=O7e.helpers.buildContentTypeParser(s[OM]),s[hv]=N7e(s[hv]),s[AM]=R7e(s[AM],t.prefix),s[wM]=t.logLevel||s[wM],s[Do]=w7e.buildSchemaController(e[Do]),s.getSchema=s[Do].getSchema.bind(s[Do]),s.getSchemas=s[Do].getSchemas.bind(s[Do]),s[S1.kRegisteredPlugins]=Object.create(s[S1.kRegisteredPlugins]),s[IM]=[i],(s[dv]||t.logSerializers)&&(s[dv]=Object.assign(Object.create(s[dv]),t.logSerializers)),t.prefix&&s[S7e].arrange404(s);for(let u of s[hv].onRegister)u.call(this,s,t);return s};function R7e(n,e){return e?(n.endsWith("/")&&e[0]==="/"?e=e.slice(1):e[0]!=="/"&&(e="/"+e),n+e):n}});var DM=C((dwe,PM)=>{"use strict";PM.exports=function(){return{[Symbol.iterator]:function*(){},add(){},delete(){},has(){return!0}}}});var LM=C(mv=>{"use strict";mv.parse=C7e;mv.serialize=k7e;var I7e=Object.prototype.toString,u7=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function C7e(n,e){if(typeof n!="string")throw new TypeError("argument str must be a string");for(var l={},t=e||{},r=t.decode||P7e,i=0;i {"use strict";var{format:gv}=require("node:util");function yv(){let n={},e=new Map,l=Object.create(null);function t(s,u,a,{unlimited:c=!1}={}){if(!s)throw new Error("Warning name must not be empty");if(!u)throw new Error("Warning code must not be empty");if(!a)throw new Error("Warning message must not be empty");if(typeof c!="boolean")throw new Error("Warning opts.unlimited must be a boolean");if(u=u.toUpperCase(),n[u]!==void 0)throw new Error(`The code '${u}' already exist`);function f(p,m,h){let g;return p&&m&&h?g=gv(a,p,m,h):p&&m?g=gv(a,p,m):p?g=gv(a,p):g=a,{code:u,name:s,message:g}}return Object.assign(l,{unlimited:c}),e.set(u,c),n[u]=f,n[u]}function r(s,u,a={}){return t("DeprecationWarning",s,u,a)}function i(s,u,a,c){if(e.get(s)===!0&&l.unlimited===!1)return;if(n[s]===void 0)throw new Error(`The code '${s}' does not exist`);e.set(s,!0);let f=n[s](u,a,c);process.emitWarning(f.message,f.name,f.code)}return{create:t,createDeprecation:r,emit:i,emitted:e}}a7.exports=yv;a7.exports.default=yv;a7.exports.processWarning=yv});var jM=C((gwe,$M)=>{"use strict";var{URL:MM}=require("node:url"),vv="http://localhost";$M.exports=function(e,l){(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]")&&e.startsWith("//")&&(e=vv+e);let t=typeof e=="object"?Object.assign(new MM(vv),e):new MM(e,vv);if(typeof l=="string"){l=new URLSearchParams(l);for(let r of l.keys()){t.searchParams.delete(r);for(let i of l.getAll(r))t.searchParams.append(r,i)}}else{let r=Object.assign({},e.query,l);for(let i in r){let s=r[i];if(Array.isArray(s)){t.searchParams.delete(i);for(let u of s)t.searchParams.append(i,u)}else t.searchParams.set(i,s)}}return t}});var qM=C((ywe,o7)=>{"use strict";var{Readable:UM,addAbortSignal:M7e}=require("node:stream"),Ev=require("node:util"),$7e=LM(),j7e=require("node:assert"),BM=FM()(),U7e=jM(),{EventEmitter:B7e}=require("node:events");BM.create("FastifyDeprecationLightMyRequest","FST_LIGHTMYREQUEST_DEP01",'You are accessing "request.connection", use "request.socket" instead.');function H7e(n){return n.port?n.host:n.hostname+(n.protocol==="https:"?":443":":80")}var _v=class extends B7e{constructor(e){super(),this.remoteAddress=e}};function HM(n){return new e(this);function e(l){Nr.call(l,{...n,Request:void 0}),Object.assign(this,l);for(let t of Object.keys(Nr.prototype))this.constructor.prototype[t]=Nr.prototype[t];return Ev.inherits(this.constructor,n.Request),this}}function Nr(n){UM.call(this,{autoDestroy:!1});let e=U7e(n.url||n.path,n.query);this.url=e.pathname+e.search,this.aborted=!1,this.httpVersionMajor=1,this.httpVersionMinor=1,this.httpVersion="1.1",this.method=n.method?n.method.toUpperCase():"GET",this.headers={},this.rawHeaders=[];let l=n.headers||{};for(let s in l){let u=s.toLowerCase();if((u==="user-agent"||u==="content-type")&&l[s]===void 0){this.headers[u]=void 0;continue}let a=l[s];j7e(a!==void 0,'invalid value "undefined" for header '+s),this.headers[u]=""+a}if("user-agent"in this.headers||(this.headers["user-agent"]="lightMyRequest"),this.headers.host=this.headers.host||n.authority||H7e(e),n.cookies){let{cookies:s}=n,u=Object.keys(s).map(a=>$7e.serialize(a,s[a]));this.headers.cookie&&u.unshift(this.headers.cookie),this.headers.cookie=u.join("; ")}this.socket=new _v(n.remoteAddress||"127.0.0.1"),Object.defineProperty(this,"connection",{get(){return BM.emit("FST_LIGHTMYREQUEST_DEP01"),this.socket},configurable:!0});let t=n.payload||n.body||null,r=t&&typeof t.resume=="function";t&&typeof t!="string"&&!r&&!Buffer.isBuffer(t)&&(t=JSON.stringify(t),"content-type"in this.headers||(this.headers["content-type"]="application/json")),t&&!r&&!Object.prototype.hasOwnProperty.call(this.headers,"content-length")&&(this.headers["content-length"]=(Buffer.isBuffer(t)?t.length:Buffer.byteLength(t)).toString());for(let s of Object.keys(this.headers))this.rawHeaders.push(s,this.headers[s]);this._lightMyRequest={payload:t,isDone:!1,simulate:n.simulate||{}};let i=n.signal;return i&&M7e(i,this),this}Ev.inherits(Nr,UM);Ev.inherits(HM,Nr);Nr.prototype.prepare=function(n){let e=this._lightMyRequest.payload;if(!e||typeof e.resume!="function")return n();let l=[];e.on("data",t=>l.push(Buffer.from(t))),e.on("end",()=>{let t=Buffer.concat(l);return this.headers["content-length"]=this.headers["content-length"]||""+t.length,this._lightMyRequest.payload=t,n()}),e.resume()};Nr.prototype._read=function(n){setImmediate(()=>{if(this._lightMyRequest.isDone){this._lightMyRequest.simulate.end!==!1&&this.push(null);return}this._lightMyRequest.isDone=!0,this._lightMyRequest.payload&&(this._lightMyRequest.simulate.split?(this.push(this._lightMyRequest.payload.slice(0,1)),this.push(this._lightMyRequest.payload.slice(1))):this.push(this._lightMyRequest.payload)),this._lightMyRequest.simulate.error&&this.emit("error",new Error("Simulated")),this._lightMyRequest.simulate.close&&this.emit("close"),this._lightMyRequest.simulate.end!==!1&&this.push(null)})};Nr.prototype.destroy=function(n){this.destroyed||this._lightMyRequest.isDone||(this.destroyed=!0,n&&(this._error=!0,process.nextTick(()=>this.emit("error",n))),process.nextTick(()=>this.emit("close")))};o7.exports=Nr;o7.exports.Request=Nr;o7.exports.CustomRequest=HM});var zM=C((vwe,x1)=>{"use strict";var Lo={decodeValues:!0,map:!1,silent:!1};function bv(n){return typeof n=="string"&&!!n.trim()}function Tv(n,e){var l=n.split(";").filter(bv),t=l.shift(),r=q7e(t),i=r.name,s=r.value;e=e?Object.assign({},Lo,e):Lo;try{s=e.decodeValues?decodeURIComponent(s):s}catch(a){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+s+"'. Set options.decodeValues to false to disable this feature.",a)}var u={name:i,value:s};return l.forEach(function(a){var c=a.split("="),f=c.shift().trimLeft().toLowerCase(),p=c.join("=");f==="expires"?u.expires=new Date(p):f==="max-age"?u.maxAge=parseInt(p,10):f==="secure"?u.secure=!0:f==="httponly"?u.httpOnly=!0:f==="samesite"?u.sameSite=p:u[f]=p}),u}function q7e(n){var e="",l="",t=n.split("=");return t.length>1?(e=t.shift(),l=t.join("=")):l=n,{name:e,value:l}}function VM(n,e){if(e=e?Object.assign({},Lo,e):Lo,!n)return e.map?{}:[];if(n.headers)if(typeof n.headers.getSetCookie=="function")n=n.headers.getSetCookie();else if(n.headers["set-cookie"])n=n.headers["set-cookie"];else{var l=n.headers[Object.keys(n.headers).find(function(r){return r.toLowerCase()==="set-cookie"})];!l&&n.headers.cookie&&!e.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),n=l}if(Array.isArray(n)||(n=[n]),e=e?Object.assign({},Lo,e):Lo,e.map){var t={};return n.filter(bv).reduce(function(r,i){var s=Tv(i,e);return r[s.name]=s,r},t)}else return n.filter(bv).map(function(r){return Tv(r,e)})}function V7e(n){if(Array.isArray(n))return n;if(typeof n!="string")return[];var e=[],l=0,t,r,i,s,u;function a(){for(;l =n.length)&&e.push(n.substring(t,n.length))}return e}x1.exports=VM;x1.exports.parse=VM;x1.exports.parseString=Tv;x1.exports.splitCookiesString=V7e});var WM=C((_we,XM)=>{"use strict";var A1=require("node:http"),{Writable:z7e}=require("node:stream"),G7e=require("node:util"),X7e=zM();function as(n,e,l){A1.ServerResponse.call(this,n),this._lightMyRequest={headers:null,trailers:{},payloadChunks:[]},this.setHeader("foo","bar"),this.removeHeader("foo"),this.assignSocket(K7e()),this._promiseCallback=typeof l=="function";let t=!1,r=s=>{if(t=!0,this._promiseCallback)return process.nextTick(()=>e(s));process.nextTick(()=>e(null,s))},i=s=>{if(!t){if(t=!0,this._promiseCallback)return process.nextTick(()=>l(s));process.nextTick(()=>e(s,null))}};this.once("finish",()=>{let s=W7e(this);s.raw.req=n,r(s)}),this.connection.once("error",i),this.once("error",i),this.once("close",i)}G7e.inherits(as,A1.ServerResponse);as.prototype.setTimeout=function(n,e){return this.timeoutHandle=setTimeout(()=>{this.emit("timeout")},n),this.on("timeout",e),this};as.prototype.writeHead=function(){let n=A1.ServerResponse.prototype.writeHead.apply(this,arguments);return GM(this),n};as.prototype.write=function(n,e,l){return this.timeoutHandle&&clearTimeout(this.timeoutHandle),A1.ServerResponse.prototype.write.call(this,n,e,l),this._lightMyRequest.payloadChunks.push(Buffer.from(n,e)),!0};as.prototype.end=function(n,e,l){n&&this.write(n,e),A1.ServerResponse.prototype.end.call(this,l),this.emit("finish"),this.destroy()};as.prototype.destroy=function(n){this.destroyed||(this.destroyed=!0,n&&process.nextTick(()=>this.emit("error",n)),process.nextTick(()=>this.emit("close")))};as.prototype.addTrailers=function(n){for(let e in n)this._lightMyRequest.trailers[e.toLowerCase().trim()]=n[e].toString().trim()};function W7e(n){n._lightMyRequest.headers===null&&GM(n),Y7e(n);let e={raw:{res:n},headers:n._lightMyRequest.headers,statusCode:n.statusCode,statusMessage:n.statusMessage,trailers:{},get cookies(){return X7e.parse(this)}},l=Buffer.concat(n._lightMyRequest.payloadChunks);return e.rawPayload=l,e.payload=l.toString(),e.body=e.payload,e.trailers=n._lightMyRequest.trailers,e.json=function(){return JSON.parse(e.payload)},e}function K7e(){return new z7e({write(n,e,l){setImmediate(l)}})}function Y7e(n){let e=n._lightMyRequest.headers;for(let l of Object.keys(e)){let t=e[l];Array.isArray(t)?e[l]=t.map(r=>""+r):e[l]=""+t}}function GM(n){n._lightMyRequest.headers=Object.assign({},n.getHeaders()),["Date","Connection","Transfer-Encoding"].forEach(e=>{let l=new RegExp("\\r\\n"+e+": ([^\\r]*)\\r\\n"),t=n._header.match(l);t&&(n._lightMyRequest.headers[e.toLowerCase()]=t[1])})}XM.exports=as});var KM=C((Ewe,Sv)=>{"use strict";Sv.exports=_t;Sv.exports.default=_t;var J7e={type:"object",properties:{url:{oneOf:[{type:"string"},{type:"object",properties:{protocol:{type:"string"},hostname:{type:"string"},pathname:{type:"string"}},additionalProperties:!0,required:["pathname"]}]},path:{oneOf:[{type:"string"},{type:"object",properties:{protocol:{type:"string"},hostname:{type:"string"},pathname:{type:"string"}},additionalProperties:!0,required:["pathname"]}]},cookies:{type:"object",additionalProperties:!0},headers:{type:"object",additionalProperties:!0},query:{anyOf:[{type:"object",additionalProperties:!0},{type:"string"}]},simulate:{type:"object",properties:{end:{type:"boolean"},split:{type:"boolean"},error:{type:"boolean"},close:{type:"boolean"}}},authority:{type:"string"},remoteAddress:{type:"string"},method:{type:"string",enum:["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE","acl","bind","checkout","connect","copy","delete","get","head","link","lock","m-search","merge","mkactivity","mkcalendar","mkcol","move","notify","options","patch","post","propfind","proppatch","purge","put","rebind","report","search","source","subscribe","trace","unbind","unlink","unlock","unsubscribe"]},validate:{type:"boolean"}},additionalProperties:!0,oneOf:[{required:["url"]},{required:["path"]}]};function _t(n,{instancePath:e="",parentData:l,parentDataProperty:t,rootData:r=n}={}){let i=null,s=0,u=s,a=!1,c=null,f=s;if(n&&typeof n=="object"&&!Array.isArray(n)){let b;if(n.url===void 0&&(b="url")){let w={instancePath:e,schemaPath:"#/oneOf/0/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"};i===null?i=[w]:i.push(w),s++}}var m=f===s;m&&(a=!0,c=0);let p=s;if(n&&typeof n=="object"&&!Array.isArray(n)){let b;if(n.path===void 0&&(b="path")){let w={instancePath:e,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:b},message:"must have required property '"+b+"'"};i===null?i=[w]:i.push(w),s++}}var m=p===s;if(m&&a?(a=!1,c=[c,1]):m&&(a=!0,c=1),a)s=u,i!==null&&(u?i.length=u:i=null);else{let b={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return i===null?i=[b]:i.push(b),s++,_t.errors=i,!1}if(s===0)if(n&&typeof n=="object"&&!Array.isArray(n)){if(n.url!==void 0){let b=n.url,w=s,R=s,N=!1,k=null,j=s;if(typeof b!="string"){let Q=typeof b,Y;if(Y===void 0)if(Q=="number"||Q=="boolean")Y=""+b;else if(b===null)Y="";else{let Z={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[Z]:i.push(Z),s++}Y!==void 0&&(b=Y,n!==void 0&&(n.url=Y))}var g=j===s;g&&(N=!0,k=0);let L=s;if(s===L)if(b&&typeof b=="object"&&!Array.isArray(b)){let Q;if(b.pathname===void 0&&(Q="pathname")){let Y={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/1/required",keyword:"required",params:{missingProperty:Q},message:"must have required property '"+Q+"'"};i===null?i=[Y]:i.push(Y),s++}else{if(b.protocol!==void 0){let Y=b.protocol,Z=s;if(typeof Y!="string"){let ve=typeof Y,Re;if(Re===void 0)if(ve=="number"||ve=="boolean")Re=""+Y;else if(Y===null)Re="";else{let pe={instancePath:e+"/url/protocol",schemaPath:"#/properties/url/oneOf/1/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[pe]:i.push(pe),s++}Re!==void 0&&(Y=Re,b!==void 0&&(b.protocol=Re))}var h=Z===s}else var h=!0;if(h){if(b.hostname!==void 0){let Y=b.hostname,Z=s;if(typeof Y!="string"){let Re=typeof Y,pe;if(pe===void 0)if(Re=="number"||Re=="boolean")pe=""+Y;else if(Y===null)pe="";else{let ue={instancePath:e+"/url/hostname",schemaPath:"#/properties/url/oneOf/1/properties/hostname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Y=pe,b!==void 0&&(b.hostname=pe))}var h=Z===s}else var h=!0;if(h)if(b.pathname!==void 0){let Y=b.pathname,Z=s;if(typeof Y!="string"){let Re=typeof Y,pe;if(pe===void 0)if(Re=="number"||Re=="boolean")pe=""+Y;else if(Y===null)pe="";else{let ue={instancePath:e+"/url/pathname",schemaPath:"#/properties/url/oneOf/1/properties/pathname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Y=pe,b!==void 0&&(b.pathname=pe))}var h=Z===s}else var h=!0}}}else{let Q={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[Q]:i.push(Q),s++}var g=L===s;if(g&&N?(N=!1,k=[k,1]):g&&(N=!0,k=1),N)s=R,i!==null&&(R?i.length=R:i=null);else{let Q={instancePath:e+"/url",schemaPath:"#/properties/url/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Q]:i.push(Q),s++,_t.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.path!==void 0){let b=n.path,w=s,R=s,N=!1,k=null,j=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.path=Z))}var T=j===s;T&&(N=!0,k=0);let L=s;if(s===L)if(b&&typeof b=="object"&&!Array.isArray(b)){let Y;if(b.pathname===void 0&&(Y="pathname")){let Z={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/1/required",keyword:"required",params:{missingProperty:Y},message:"must have required property '"+Y+"'"};i===null?i=[Z]:i.push(Z),s++}else{if(b.protocol!==void 0){let Z=b.protocol,ve=s;if(typeof Z!="string"){let Re=typeof Z,pe;if(pe===void 0)if(Re=="number"||Re=="boolean")pe=""+Z;else if(Z===null)pe="";else{let ue={instancePath:e+"/path/protocol",schemaPath:"#/properties/path/oneOf/1/properties/protocol/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ue]:i.push(ue),s++}pe!==void 0&&(Z=pe,b!==void 0&&(b.protocol=pe))}var S=ve===s}else var S=!0;if(S){if(b.hostname!==void 0){let Z=b.hostname,ve=s;if(typeof Z!="string"){let pe=typeof Z,ue;if(ue===void 0)if(pe=="number"||pe=="boolean")ue=""+Z;else if(Z===null)ue="";else{let ye={instancePath:e+"/path/hostname",schemaPath:"#/properties/path/oneOf/1/properties/hostname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ye]:i.push(ye),s++}ue!==void 0&&(Z=ue,b!==void 0&&(b.hostname=ue))}var S=ve===s}else var S=!0;if(S)if(b.pathname!==void 0){let Z=b.pathname,ve=s;if(typeof Z!="string"){let pe=typeof Z,ue;if(ue===void 0)if(pe=="number"||pe=="boolean")ue=""+Z;else if(Z===null)ue="";else{let ye={instancePath:e+"/path/pathname",schemaPath:"#/properties/path/oneOf/1/properties/pathname/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ye]:i.push(ye),s++}ue!==void 0&&(Z=ue,b!==void 0&&(b.pathname=ue))}var S=ve===s}else var S=!0}}}else{let Y={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[Y]:i.push(Y),s++}var T=L===s;if(T&&N?(N=!1,k=[k,1]):T&&(N=!0,k=1),N)s=R,i!==null&&(R?i.length=R:i=null);else{let Y={instancePath:e+"/path",schemaPath:"#/properties/path/oneOf",keyword:"oneOf",params:{passingSchemas:k},message:"must match exactly one schema in oneOf"};return i===null?i=[Y]:i.push(Y),s++,_t.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.cookies!==void 0){let b=n.cookies,w=s;if(s===w&&!(b&&typeof b=="object"&&!Array.isArray(b)))return _t.errors=[{instancePath:e+"/cookies",schemaPath:"#/properties/cookies/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.headers!==void 0){let b=n.headers,w=s;if(s===w&&!(b&&typeof b=="object"&&!Array.isArray(b)))return _t.errors=[{instancePath:e+"/headers",schemaPath:"#/properties/headers/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.query!==void 0){let b=n.query,w=s,R=s,N=!1,k=s;if(s===k&&!(b&&typeof b=="object"&&!Array.isArray(b))){let L={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[L]:i.push(L),s++}var x=k===s;if(N=N||x,!N){let L=s;if(typeof b!="string"){let Y=typeof b,Z;if(Z===void 0)if(Y=="number"||Y=="boolean")Z=""+b;else if(b===null)Z="";else{let ve={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};i===null?i=[ve]:i.push(ve),s++}Z!==void 0&&(b=Z,n!==void 0&&(n.query=Z))}var x=L===s;N=N||x}if(N)s=R,i!==null&&(R?i.length=R:i=null);else{let L={instancePath:e+"/query",schemaPath:"#/properties/query/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[L]:i.push(L),s++,_t.errors=i,!1}var _=w===s}else var _=!0;if(_){if(n.simulate!==void 0){let b=n.simulate,w=s;if(s===w)if(b&&typeof b=="object"&&!Array.isArray(b)){if(b.end!==void 0){let N=b.end,k=s;if(typeof N!="boolean"){let j;if(j===void 0)if(N==="false"||N===0||N===null)j=!1;else if(N==="true"||N===1)j=!0;else return _t.errors=[{instancePath:e+"/simulate/end",schemaPath:"#/properties/simulate/properties/end/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;j!==void 0&&(N=j,b!==void 0&&(b.end=j))}var v=k===s}else var v=!0;if(v){if(b.split!==void 0){let N=b.split,k=s;if(typeof N!="boolean"){let L;if(L===void 0)if(N==="false"||N===0||N===null)L=!1;else if(N==="true"||N===1)L=!0;else return _t.errors=[{instancePath:e+"/simulate/split",schemaPath:"#/properties/simulate/properties/split/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(N=L,b!==void 0&&(b.split=L))}var v=k===s}else var v=!0;if(v){if(b.error!==void 0){let N=b.error,k=s;if(typeof N!="boolean"){let L;if(L===void 0)if(N==="false"||N===0||N===null)L=!1;else if(N==="true"||N===1)L=!0;else return _t.errors=[{instancePath:e+"/simulate/error",schemaPath:"#/properties/simulate/properties/error/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(N=L,b!==void 0&&(b.error=L))}var v=k===s}else var v=!0;if(v)if(b.close!==void 0){let N=b.close,k=s;if(typeof N!="boolean"){let L;if(L===void 0)if(N==="false"||N===0||N===null)L=!1;else if(N==="true"||N===1)L=!0;else return _t.errors=[{instancePath:e+"/simulate/close",schemaPath:"#/properties/simulate/properties/close/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;L!==void 0&&(N=L,b!==void 0&&(b.close=L))}var v=k===s}else var v=!0}}}else return _t.errors=[{instancePath:e+"/simulate",schemaPath:"#/properties/simulate/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=w===s}else var _=!0;if(_){if(n.authority!==void 0){let b=n.authority,w=s;if(typeof b!="string"){let N=typeof b,k;if(k===void 0)if(N=="number"||N=="boolean")k=""+b;else if(b===null)k="";else return _t.errors=[{instancePath:e+"/authority",schemaPath:"#/properties/authority/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.authority=k))}var _=w===s}else var _=!0;if(_){if(n.remoteAddress!==void 0){let b=n.remoteAddress,w=s;if(typeof b!="string"){let N=typeof b,k;if(k===void 0)if(N=="number"||N=="boolean")k=""+b;else if(b===null)k="";else return _t.errors=[{instancePath:e+"/remoteAddress",schemaPath:"#/properties/remoteAddress/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.remoteAddress=k))}var _=w===s}else var _=!0;if(_){if(n.method!==void 0){let b=n.method,w=s;if(typeof b!="string"){let N=typeof b,k;if(k===void 0)if(N=="number"||N=="boolean")k=""+b;else if(b===null)k="";else return _t.errors=[{instancePath:e+"/method",schemaPath:"#/properties/method/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;k!==void 0&&(b=k,n!==void 0&&(n.method=k))}if(!(b==="ACL"||b==="BIND"||b==="CHECKOUT"||b==="CONNECT"||b==="COPY"||b==="DELETE"||b==="GET"||b==="HEAD"||b==="LINK"||b==="LOCK"||b==="M-SEARCH"||b==="MERGE"||b==="MKACTIVITY"||b==="MKCALENDAR"||b==="MKCOL"||b==="MOVE"||b==="NOTIFY"||b==="OPTIONS"||b==="PATCH"||b==="POST"||b==="PROPFIND"||b==="PROPPATCH"||b==="PURGE"||b==="PUT"||b==="REBIND"||b==="REPORT"||b==="SEARCH"||b==="SOURCE"||b==="SUBSCRIBE"||b==="TRACE"||b==="UNBIND"||b==="UNLINK"||b==="UNLOCK"||b==="UNSUBSCRIBE"||b==="acl"||b==="bind"||b==="checkout"||b==="connect"||b==="copy"||b==="delete"||b==="get"||b==="head"||b==="link"||b==="lock"||b==="m-search"||b==="merge"||b==="mkactivity"||b==="mkcalendar"||b==="mkcol"||b==="move"||b==="notify"||b==="options"||b==="patch"||b==="post"||b==="propfind"||b==="proppatch"||b==="purge"||b==="put"||b==="rebind"||b==="report"||b==="search"||b==="source"||b==="subscribe"||b==="trace"||b==="unbind"||b==="unlink"||b==="unlock"||b==="unsubscribe"))return _t.errors=[{instancePath:e+"/method",schemaPath:"#/properties/method/enum",keyword:"enum",params:{allowedValues:J7e.properties.method.enum},message:"must be equal to one of the allowed values"}],!1;var _=w===s}else var _=!0;if(_)if(n.validate!==void 0){let b=n.validate,w=s;if(typeof b!="boolean"){let N;if(N===void 0)if(b==="false"||b===0||b===null)N=!1;else if(b==="true"||b===1)N=!0;else return _t.errors=[{instancePath:e+"/validate",schemaPath:"#/properties/validate/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;N!==void 0&&(b=N,n!==void 0&&(n.validate=N))}var _=w===s}else var _=!0}}}}}}}}}else return _t.errors=[{instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return _t.errors=i,s===0}});var QM=C((bwe,O1)=>{"use strict";var Q7e=require("node:assert"),xv=qM(),c7=WM(),p7="The dispatch function has already been invoked",YM=KM();function Av(n,e,l){return typeof l>"u"?new w1(n,e):f7(n,e,l)}function JM(n,e,l,t){return l.once("error",function(r){this.destroyed&&t.destroy(r)}),l.once("close",function(){this.destroyed&&!this._error&&t.destroy()}),l.prepare(()=>n.call(e,l,t))}function f7(n,e,l){if(e=typeof e=="string"?{url:e}:e,e.validate!==!1&&(Q7e(typeof n=="function","dispatchFunc should be a function"),!YM(e)))throw new Error(YM.errors.map(s=>s.message));let t=e.server||{},r=e.Request?xv.CustomRequest:xv;if(n.request&&n.request.app===n&&(Object.setPrototypeOf(Object.getPrototypeOf(n.request),r.prototype),Object.setPrototypeOf(Object.getPrototypeOf(n.response),c7.prototype)),typeof l=="function"){let i=new r(e),s=new c7(i,l);return JM(n,t,i,s)}else return new Promise((i,s)=>{let u=new r(e),a=new c7(u,i,s);JM(n,t,u,a)})}function w1(n,e){typeof e=="string"?this.option={url:e}:this.option=Object.assign({},e),this.dispatch=n,this._hasInvoked=!1,this._promise=null,this.option.autoStart!==!1&&process.nextTick(()=>{this._hasInvoked||this.end()})}var Z7e=["delete","get","head","options","patch","post","put","trace"];Z7e.forEach(n=>{w1.prototype[n]=function(e){if(this._hasInvoked===!0||this._promise)throw new Error(p7);return this.option.url=e,this.option.method=n.toUpperCase(),this}});var ece=["body","cookies","headers","payload","query"];ece.forEach(n=>{w1.prototype[n]=function(e){if(this._hasInvoked===!0||this._promise)throw new Error(p7);return this.option[n]=e,this}});w1.prototype.end=function(n){if(this._hasInvoked===!0||this._promise)throw new Error(p7);if(this._hasInvoked=!0,typeof n=="function")f7(this.dispatch,this.option,n);else return this._promise=f7(this.dispatch,this.option),this._promise};Object.getOwnPropertyNames(Promise.prototype).forEach(n=>{n!=="constructor"&&(w1.prototype[n]=function(...e){if(!this._promise){if(this._hasInvoked===!0)throw new Error(p7);this._hasInvoked=!0,this._promise=f7(this.dispatch,this.option)}return this._promise[n](...e)})});function nce(n){return n instanceof xv||n instanceof c7||n&&n.constructor&&n.constructor.name==="_CustomLMRRequest"}O1.exports=Av;O1.exports.default=Av;O1.exports.inject=Av;O1.exports.isInjection=nce});var d$=C((Twe,g7)=>{"use strict";var lce="4.26.0",tce=sA(),wv=require("node:http"),N1,{kAvvioBoot:R1,kChildren:Ov,kServerBindings:ZM,kBodyLimit:rce,kRoutePrefix:e$,kLogLevel:ice,kLogSerializers:sce,kHooks:Nv,kSchemaController:os,kRequestAcceptVersion:uce,kReplySerializerDefault:n$,kContentTypeParser:ace,kReply:oce,kRequest:cce,kFourOhFour:fce,kState:ht,kOptions:Rv,kPluginNameChain:I1,kSchemaErrorFormatter:Iv,kErrorHandler:d7,kKeepAliveConnections:Cv,kChildLoggerFactory:kv,kGenReqId:Pv}=Ut(),{createServer:pce,compileValidateHTTPVersion:dce}=CA(),C1=o9(),h7=A9(),hce=w9(),{supportedMethods:mce}=Dg(),Fo=jg(),Uu=Wg(),l$=Uy(),{Hooks:gce,hookRunnerApplication:t$,supportedHooks:Dv}=Ui(),{createLogger:yce,createChildLogger:r$,defaultChildLoggerFactory:vce}=o0(),i$=Gy(),{getGenReqId:s$,reqIdGenFactory:u$}=G9(),{buildRouting:_ce,validateBodyLimitOption:Ece}=dM(),bce=EM(),p$=SM(),Tce=kM(),{FSTDEP009:Sce}=si(),xce=DM(),{appendStackTrace:Ace,AVVIO_ERRORS_MAP:a$,...Bu}=o2(),{defaultInitOptions:q2}=p$,{FST_ERR_ASYNC_CONSTRAINT:wce,FST_ERR_BAD_URL:Oce,FST_ERR_FORCE_CLOSE_CONNECTIONS_IDLE_NOT_AVAILABLE:Nce,FST_ERR_OPTIONS_NOT_OBJ:Rce,FST_ERR_QSP_NOT_FN:Ice,FST_ERR_SCHEMA_CONTROLLER_BUCKET_OPT_NOT_FN:Cce,FST_ERR_AJV_CUSTOM_OPTIONS_OPT_NOT_OBJ:kce,FST_ERR_AJV_CUSTOM_OPTIONS_OPT_NOT_ARR:Pce,FST_ERR_VERSION_CONSTRAINT_NOT_STR:Dce,FST_ERR_INSTANCE_ALREADY_LISTENING:Lce,FST_ERR_REOPENED_CLOSE_SERVER:Fce,FST_ERR_ROUTE_REWRITE_NOT_STR:Mce,FST_ERR_SCHEMA_ERROR_FORMATTER_NOT_FN:o$}=Bu,{buildErrorHandler:c$}=H0();function $ce(n){let e={};return["errorHandler","logLevel","logSerializers"].concat(Dv).forEach(t=>{e[t]=n.store[t]}),Object.assign({},e)}function m7(n){if(n=n||{},typeof n!="object")throw new Rce;if(n.querystringParser&&typeof n.querystringParser!="function")throw new Ice(typeof n.querystringParser);if(n.schemaController&&n.schemaController.bucket&&typeof n.schemaController.bucket!="function")throw new Cce(typeof n.schemaController.bucket);Ece(n.bodyLimit);let e=n.requestIdHeader===!1?!1:(n.requestIdHeader||q2.requestIdHeader).toLowerCase(),l=u$(e,n.genReqId),t=n.requestIdLogLabel||"reqId",r=n.bodyLimit||q2.bodyLimit,i=n.disableRequestLogging||!1,s=Object.assign({customOptions:{},plugins:[]},n.ajv),u=n.frameworkErrors;if(!s.customOptions||Object.prototype.toString.call(s.customOptions)!=="[object Object]")throw new kce(typeof s.customOptions);if(!s.plugins||!Array.isArray(s.plugins))throw new Pce(typeof s.plugins);let{logger:a,hasLogger:c}=yce(n);n.connectionTimeout=n.connectionTimeout||q2.connectionTimeout,n.keepAliveTimeout=n.keepAliveTimeout||q2.keepAliveTimeout,n.maxRequestsPerSocket=n.maxRequestsPerSocket||q2.maxRequestsPerSocket,n.requestTimeout=n.requestTimeout||q2.requestTimeout,n.logger=a,n.requestIdHeader=e,n.requestIdLogLabel=t,n.disableRequestLogging=i,n.ajv=s,n.clientErrorHandler=n.clientErrorHandler||ue;let f=p$(n);n.exposeHeadRoutes=f.exposeHeadRoutes;let p=n.constraints;n.versioning&&(Sce(),p={...p,version:{name:"version",mustMatchWhenDerived:!0,storage:n.versioning.storage,deriveConstraint:n.versioning.deriveVersion,validate(J){if(typeof J!="string")throw new Dce}}});let m=_ce({config:{defaultRoute:ye,onBadUrl:q,constraints:p,ignoreTrailingSlash:n.ignoreTrailingSlash||q2.ignoreTrailingSlash,ignoreDuplicateSlashes:n.ignoreDuplicateSlashes||q2.ignoreDuplicateSlashes,maxParamLength:n.maxParamLength||q2.maxParamLength,caseSensitive:n.caseSensitive,allowUnsafeRegex:n.allowUnsafeRegex||q2.allowUnsafeRegex,buildPrettyMeta:$ce,querystringParser:n.querystringParser,useSemicolonDelimiter:n.useSemicolonDelimiter??q2.useSemicolonDelimiter}}),h=bce(n),g=fn(m,n);n.http2SessionTimeout=f.http2SessionTimeout;let{server:_,listen:S}=pce(n,g),T=typeof _.closeAllConnections=="function",x=typeof _.closeIdleConnections=="function",v=n.forceCloseConnections;if(v==="idle"&&!x)throw new Nce;typeof v!="boolean"&&(v=x?"idle":!1);let b=!T&&v===!0?new Set:xce(),w=C1.setupResponseListeners,R=l$.buildSchemaController(null,n.schemaController),N={[ht]:{listening:!1,closing:!1,started:!1,ready:!1,booting:!1,readyPromise:null},[Cv]:b,[Rv]:n,[Ov]:[],[ZM]:[],[rce]:r,[e$]:"",[ice]:"",[sce]:null,[Nv]:new gce,[os]:R,[Iv]:null,[d7]:c$(),[kv]:vce,[n$]:null,[ace]:new Uu(r,n.onProtoPoisoning||q2.onProtoPoisoning,n.onConstructorPoisoning||q2.onConstructorPoisoning),[oce]:C1.buildReply(C1),[cce]:h7.buildRequest(h7,n.trustProxy),[fce]:h,[i$.kRegisteredPlugins]:[],[I1]:["fastify"],[R1]:null,[Pv]:l,routing:g,getDefaultRoute:m.getDefaultRoute.bind(m),setDefaultRoute:m.setDefaultRoute.bind(m),delete:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"DELETE",url:me,options:Te,handler:Ue})},get:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"GET",url:me,options:Te,handler:Ue})},head:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"HEAD",url:me,options:Te,handler:Ue})},patch:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"PATCH",url:me,options:Te,handler:Ue})},post:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"POST",url:me,options:Te,handler:Ue})},put:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"PUT",url:me,options:Te,handler:Ue})},options:function(me,Te,Ue){return m.prepareRoute.call(this,{method:"OPTIONS",url:me,options:Te,handler:Ue})},all:function(me,Te,Ue){return m.prepareRoute.call(this,{method:mce,url:me,options:Te,handler:Ue})},route:function(me){return m.route.call(this,{options:me})},hasRoute:function(me){return m.hasRoute.call(this,{options:me})},findRoute:function(me){return m.findRoute(me)},log:a,withTypeProvider:ve,addHook:Re,addSchema:pe,getSchema:R.getSchema.bind(R),getSchemas:R.getSchemas.bind(R),setValidatorCompiler:ne,setSerializerCompiler:On,setSchemaController:Ge,setReplySerializer:Hn,setSchemaErrorFormatter:Vl,setGenReqId:dn,addContentTypeParser:Uu.helpers.addContentTypeParser,hasContentTypeParser:Uu.helpers.hasContentTypeParser,getDefaultJsonParser:Uu.defaultParsers.getDefaultJsonParser,defaultTextParser:Uu.defaultParsers.defaultTextParser,removeContentTypeParser:Uu.helpers.removeContentTypeParser,removeAllContentTypeParsers:Uu.helpers.removeAllContentTypeParsers,register:null,after:null,ready:null,onClose:null,close:null,printPlugins:null,hasPlugin:function(J){return this[i$.kRegisteredPlugins].includes(J)||this[I1].includes(J)},listen:S,server:_,addresses:function(){let J=this[ZM].map(me=>me.address());return J.push(this.server.address()),J.filter(me=>me)},decorate:Fo.add,hasDecorator:Fo.exist,decorateReply:Fo.decorateReply,decorateRequest:Fo.decorateRequest,hasRequestDecorator:Fo.existRequest,hasReplyDecorator:Fo.existReply,inject:Y,printRoutes:Ol,setNotFoundHandler:te,setErrorHandler:Ke,setChildLoggerFactory:Xe,initialConfig:f,addConstraintStrategy:m.addConstraintStrategy.bind(m),hasConstraintStrategy:m.hasConstraintStrategy.bind(m)};Object.defineProperties(N,{listeningOrigin:{get(){let J=this.addresses().slice(-1).pop();if(typeof J=="string")return J;let me=J.family==="IPv6"?`[${J.address}]`:J.address;return`${this[Rv].https?"https":"http"}://${me}:${J.port}`}},pluginName:{configurable:!0,get(){return this[I1].length>1?this[I1].join(" -> "):this[I1][0]}},prefix:{configurable:!0,get(){return this[e$]}},validatorCompiler:{configurable:!0,get(){return this[os].getValidatorCompiler()}},serializerCompiler:{configurable:!0,get(){return this[os].getSerializerCompiler()}},childLoggerFactory:{configurable:!0,get(){return this[kv]}},version:{configurable:!0,get(){return lce}},errorHandler:{configurable:!0,get(){return this[d7].func}},genReqId:{configurable:!0,get(){return this[Pv]}}}),n.schemaErrorFormatter&&(f$(n.schemaErrorFormatter),N[Iv]=n.schemaErrorFormatter.bind(N));let k=Number(n.pluginTimeout),j=tce(N,{autostart:!1,timeout:isNaN(k)===!1?k:q2.pluginTimeout,expose:{use:"register"}});j.override=Tce,j.on("start",()=>N[ht].started=!0),N[R1]=N.ready,N.ready=Z,N.printPlugins=j.prettyPrint.bind(j),j.once("preReady",()=>{N.onClose((J,me)=>{N[ht].closing=!0,m.closeRoutes(),t$("preClose",N[R1],N,function(){if(N[ht].listening){if(v==="idle")J.server.closeIdleConnections();else if(T&&v)J.server.closeAllConnections();else if(v===!0)for(let Te of N[Cv])Te.destroy(),N[Cv].delete(Te)}!n.serverFactory||N[ht].listening?J.server.close(function(Te){Te&&Te.code!=="ERR_SERVER_NOT_RUNNING"?me(null):me()}):process.nextTick(me,null)})})});let L=new hce({server:N,config:{}});N.setNotFoundHandler(),h.arrange404(N),m.setup(n,{avvio:j,fourOhFour:h,logger:a,hasLogger:c,setupResponseListeners:w,throwIfAlreadyStarted:Q,validateHTTPVersion:dce(n),keepAliveConnections:b}),_.on("clientError",n.clientErrorHandler.bind(N));try{let me=require("node:diagnostics_channel").channel("fastify.initialization");me.hasSubscribers&&me.publish({fastify:N})}catch{}return"asyncDispose"in Symbol&&(N[Symbol.asyncDispose]=function(){return N.close()}),N;function Q(J){if(N[ht].started)throw new Lce(J)}function Y(J,me){if(N1===void 0&&(N1=QM()),N[ht].started){if(N[ht].closing){let Te=new Fce;if(me){me(Te);return}else return Promise.reject(Te)}return N1(g,J,me)}if(me)this.ready(Te=>{Te?me(Te,null):N1(g,J,me)});else return N1((Te,Ue)=>{this.ready(function(sn){if(sn){Ue.emit("error",sn);return}g(Te,Ue)})},J)}function Z(J){if(this[ht].readyPromise!==null){if(J!=null){this[ht].readyPromise.then(()=>J(null,N),J);return}return this[ht].readyPromise}let me,Te;if(process.nextTick(Ue),this[ht].readyPromise=new Promise(function(Ce,Nn){me=Ce,Te=Nn}),J)this[ht].readyPromise.then(()=>J(null,N),J);else return this[ht].readyPromise;function Ue(){N[R1]((Ce,Nn)=>{Ce||N[ht].started||N[ht].ready||N[ht].booting?sn(Ce):(N[ht].booting=!0,t$("onReady",N[R1],N,sn)),Nn()})}function sn(Ce){if(Ce=Ce!=null&&a$[Ce.code]!=null?Ace(Ce,new a$[Ce.code](Ce.message)):Ce,Ce)return Te(Ce);me(N),N[ht].booting=!1,N[ht].ready=!0,N[ht].promise=null}}function ve(){return this}function Re(J,me){if(Q('Cannot call "addHook"!'),me==null)throw new Bu.FST_ERR_HOOK_INVALID_HANDLER(J,me);if(J==="onSend"||J==="preSerialization"||J==="onError"||J==="preParsing"){if(me.constructor.name==="AsyncFunction"&&me.length===4)throw new Bu.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(J==="onReady"||J==="onListen"){if(me.constructor.name==="AsyncFunction"&&me.length!==0)throw new Bu.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(J==="onRequestAbort"){if(me.constructor.name==="AsyncFunction"&&me.length!==1)throw new Bu.FST_ERR_HOOK_INVALID_ASYNC_HANDLER}else if(me.constructor.name==="AsyncFunction"&&me.length===3)throw new Bu.FST_ERR_HOOK_INVALID_ASYNC_HANDLER;return J==="onClose"?this.onClose(me):J==="onReady"||J==="onListen"||J==="onRoute"?this[Nv].add(J,me):this.after((Ue,sn)=>{Te.call(this,J,me),sn(Ue)}),this;function Te(Ue,sn){this[Nv].add(Ue,sn),this[Ov].forEach(Ce=>Te.call(Ce,Ue,sn))}}function pe(J){return Q('Cannot call "addSchema"!'),this[os].add(J),this[Ov].forEach(me=>me.addSchema(J)),this}function ue(J,me){if(J.code==="ECONNRESET"||me.destroyed)return;let Te,Ue,sn,Ce;J.code==="ERR_HTTP_REQUEST_TIMEOUT"?(Ue="408",sn=wv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Client Timeout","statusCode":408}`,Ce="timeout"):J.code==="HPE_HEADER_OVERFLOW"?(Ue="431",sn=wv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Exceeded maximum allowed HTTP header size","statusCode":431}`,Ce="header_overflow"):(Ue="400",sn=wv.STATUS_CODES[Ue],Te=`{"error":"${sn}","message":"Client Error","statusCode":400}`,Ce="error"),this.log.trace({err:J},`client ${Ce}`),me.writable&&me.write(`HTTP/1.1 ${Ue} ${sn}\r Content-Length: ${Te.length}\r Content-Type: application/json\r \r -${Te}`),me.destroy(J)}function ye(J,me){J.headers["accept-version"]!==void 0&&(J.headers[Y7e]=J.headers["accept-version"],J.headers["accept-version"]=void 0),h.router.lookup(J,me)}function q(J,me,Te){if(u){let sn=l$(L.server,me),Ce=e$(L,a,me,sn),Rn=new p7(sn,null,me,null,Ce,L),Kl=new N1(Te,Rn,Ce);return i===!1&&Ce.info({req:Rn},"incoming request"),u(new gce(J),Rn,Kl)}let Ue=`{"error":"Bad Request","code":"FST_ERR_BAD_URL","message":"'${J}' is not a valid url component","statusCode":400}`;Te.writeHead(400,{"Content-Type":"application/json","Content-Length":Ue.length}),Te.end(Ue)}function re(J,me,Te){if(J!==!1)return function(sn){if(sn){if(u){let Rn=l$(L.server,me),Kl=e$(L,a,me,Rn),Nn=new p7(Rn,null,me,null,Kl,L),zn=new N1(Te,Nn,Kl);return i===!1&&Kl.info({req:Nn},"incoming request"),u(new mce,Nn,zn)}let Ce='{"error":"Internal Server Error","message":"Unexpected error from async constraint","statusCode":500}';Te.writeHead(500,{"Content-Type":"application/json","Content-Length":Ce.length}),Te.end(Ce)}}}function te(J,me){return Q('Cannot call "setNotFoundHandler"!'),h.setNotFoundHandler.call(this,J,me,j,m.routeHandler),this}function ne(J){return Q('Cannot call "setValidatorCompiler"!'),this[as].setValidatorCompiler(J),this}function Bl(J){return Q('Cannot call "setSchemaErrorFormatter"!'),u$(J),this[Rv]=J.bind(this),this}function On(J){return Q('Cannot call "setSerializerCompiler"!'),this[as].setSerializerCompiler(J),this}function Ge(J){Q('Cannot call "setSchemaController"!');let me=this[as],Te=QM.buildSchemaController(me,Object.assign({},me.opts,J));return this[as]=Te,this.getSchema=Te.getSchema.bind(Te),this.getSchemas=Te.getSchemas.bind(Te),this}function Bn(J){return Q('Cannot call "setReplySerializer"!'),this[JM]=J,this}function Ke(J){return Q('Cannot call "setErrorHandler"!'),this[f7]=s$(this[f7],J.bind(this)),this}function Xe(J){return Q('Cannot call "setChildLoggerFactory"!'),this[Iv]=J,this}function Sl(J={}){return J.includeMeta=J.includeHooks?J.includeMeta?kv.concat(J.includeMeta):kv:J.includeMeta,m.printRoutes(J)}function fn(J,{rewriteUrl:me,logger:Te}){let Ue;return function(Ce,Rn){if(Ue===void 0&&(Ue=J.isAsyncConstraint()),me){Ce.originalUrl=Ce.url;let Kl=me.call(R,Ce);if(typeof Kl=="string")Ce.url=Kl;else{let Nn=new wce(Ce.url,typeof Kl);Ce.destroy(Nn)}}J.routing(Ce,Rn,re(Ue,Ce,Rn))}}function dn(J){return Q('Cannot call "setGenReqId"!'),this[Cv]=t$(this[Ov].requestIdHeader,J),this}}d7.errorCodes=ju;function u$(n){if(typeof n!="function")throw new i$(typeof n);if(n.constructor.name==="AsyncFunction")throw new i$("AsyncFunction")}h7.exports=d7;h7.exports.fastify=d7;h7.exports.default=d7});var LH=C((JOe,DH)=>{"use strict";DH.exports=Error});var MH=C((QOe,FH)=>{"use strict";FH.exports=EvalError});var jH=C((ZOe,$H)=>{"use strict";$H.exports=RangeError});var BH=C((eRe,UH)=>{"use strict";UH.exports=ReferenceError});var SE=C((nRe,HH)=>{"use strict";HH.exports=SyntaxError});var h4=C((lRe,qH)=>{"use strict";qH.exports=TypeError});var zH=C((tRe,VH)=>{"use strict";VH.exports=URIError});var XH=C((rRe,GH)=>{"use strict";GH.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},l=Symbol("test"),t=Object(l);if(typeof l=="string"||Object.prototype.toString.call(l)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;var r=42;e[l]=r;for(l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==l||!Object.prototype.propertyIsEnumerable.call(e,l))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,l);if(s.value!==r||s.enumerable!==!0)return!1}return!0}});var YH=C((iRe,KH)=>{"use strict";var WH=typeof Symbol<"u"&&Symbol,wme=XH();KH.exports=function(){return typeof WH!="function"||typeof Symbol!="function"||typeof WH("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:wme()}});var QH=C((sRe,JH)=>{"use strict";var xE={__proto__:null,foo:{}},Ome=Object;JH.exports=function(){return{__proto__:xE}.foo===xE.foo&&!(xE instanceof Ome)}});var nq=C((uRe,eq)=>{"use strict";var Rme="Function.prototype.bind called on incompatible ",Nme=Object.prototype.toString,Ime=Math.max,Cme="[object Function]",ZH=function(e,l){for(var t=[],r=0;r {"use strict";var Dme=nq();lq.exports=Function.prototype.bind||Dme});var rq=C((oRe,tq)=>{"use strict";var Lme=Function.prototype.call,Fme=Object.prototype.hasOwnProperty,Mme=Uc();tq.exports=Mme.call(Lme,Fme)});var ia=C((cRe,oq)=>{"use strict";var Fn,$me=LH(),jme=MH(),Ume=jH(),Bme=BH(),v4=SE(),y4=h4(),Hme=zH(),aq=Function,AE=function(n){try{return aq('"use strict"; return ('+n+").constructor;")()}catch{}},ta=Object.getOwnPropertyDescriptor;if(ta)try{ta({},"")}catch{ta=null}var wE=function(){throw new y4},qme=ta?function(){try{return arguments.callee,wE}catch{try{return ta(arguments,"callee").get}catch{return wE}}}():wE,m4=YH()(),Vme=QH()(),qt=Object.getPrototypeOf||(Vme?function(n){return n.__proto__}:null),g4={},zme=typeof Uint8Array>"u"||!qt?Fn:qt(Uint8Array),ra={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Fn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Fn:ArrayBuffer,"%ArrayIteratorPrototype%":m4&&qt?qt([][Symbol.iterator]()):Fn,"%AsyncFromSyncIteratorPrototype%":Fn,"%AsyncFunction%":g4,"%AsyncGenerator%":g4,"%AsyncGeneratorFunction%":g4,"%AsyncIteratorPrototype%":g4,"%Atomics%":typeof Atomics>"u"?Fn:Atomics,"%BigInt%":typeof BigInt>"u"?Fn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Fn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Fn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Fn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$me,"%eval%":eval,"%EvalError%":jme,"%Float32Array%":typeof Float32Array>"u"?Fn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Fn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Fn:FinalizationRegistry,"%Function%":aq,"%GeneratorFunction%":g4,"%Int8Array%":typeof Int8Array>"u"?Fn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Fn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Fn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m4&&qt?qt(qt([][Symbol.iterator]())):Fn,"%JSON%":typeof JSON=="object"?JSON:Fn,"%Map%":typeof Map>"u"?Fn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!m4||!qt?Fn:qt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Fn:Promise,"%Proxy%":typeof Proxy>"u"?Fn:Proxy,"%RangeError%":Ume,"%ReferenceError%":Bme,"%Reflect%":typeof Reflect>"u"?Fn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Fn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!m4||!qt?Fn:qt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Fn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m4&&qt?qt(""[Symbol.iterator]()):Fn,"%Symbol%":m4?Symbol:Fn,"%SyntaxError%":v4,"%ThrowTypeError%":qme,"%TypedArray%":zme,"%TypeError%":y4,"%Uint8Array%":typeof Uint8Array>"u"?Fn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Fn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Fn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Fn:Uint32Array,"%URIError%":Hme,"%WeakMap%":typeof WeakMap>"u"?Fn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Fn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Fn:WeakSet};if(qt)try{null.error}catch(n){iq=qt(qt(n)),ra["%Error.prototype%"]=iq}var iq,Gme=function n(e){var l;if(e==="%AsyncFunction%")l=AE("async function () {}");else if(e==="%GeneratorFunction%")l=AE("function* () {}");else if(e==="%AsyncGeneratorFunction%")l=AE("async function* () {}");else if(e==="%AsyncGenerator%"){var t=n("%AsyncGeneratorFunction%");t&&(l=t.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=n("%AsyncGenerator%");r&&qt&&(l=qt(r.prototype))}return ra[e]=l,l},sq={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S5=Uc(),Bc=rq(),Xme=S5.call(Function.call,Array.prototype.concat),Wme=S5.call(Function.apply,Array.prototype.splice),uq=S5.call(Function.call,String.prototype.replace),Hc=S5.call(Function.call,String.prototype.slice),Kme=S5.call(Function.call,RegExp.prototype.exec),Yme=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jme=/\\(\\)?/g,Qme=function(e){var l=Hc(e,0,1),t=Hc(e,-1);if(l==="%"&&t!=="%")throw new v4("invalid intrinsic syntax, expected closing `%`");if(t==="%"&&l!=="%")throw new v4("invalid intrinsic syntax, expected opening `%`");var r=[];return uq(e,Yme,function(i,s,u,a){r[r.length]=u?uq(a,Jme,"$1"):s||i}),r},Zme=function(e,l){var t=e,r;if(Bc(sq,t)&&(r=sq[t],t="%"+r[0]+"%"),Bc(ra,t)){var i=ra[t];if(i===g4&&(i=Gme(t)),typeof i>"u"&&!l)throw new y4("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:t,value:i}}throw new v4("intrinsic "+e+" does not exist!")};oq.exports=function(e,l){if(typeof e!="string"||e.length===0)throw new y4("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof l!="boolean")throw new y4('"allowMissing" argument must be a boolean');if(Kme(/^%?[^%]*%?$/,e)===null)throw new v4("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=Qme(e),r=t.length>0?t[0]:"",i=Zme("%"+r+"%",l),s=i.name,u=i.value,a=!1,c=i.alias;c&&(r=c[0],Wme(t,Xme([0,1],c)));for(var f=1,p=!0;f =t.length){var _=ta(u,m);p=!!_,p&&"get"in _&&!("originalValue"in _.get)?u=_.get:u=u[m]}else p=Bc(u,m),u=u[m];p&&!a&&(ra[s]=u)}}return u}});var Vc=C((fRe,cq)=>{"use strict";var ege=ia(),qc=ege("%Object.defineProperty%",!0)||!1;if(qc)try{qc({},"a",{value:1})}catch{qc=!1}cq.exports=qc});var OE=C((pRe,fq)=>{"use strict";var nge=ia(),zc=nge("%Object.getOwnPropertyDescriptor%",!0);if(zc)try{zc([],"length")}catch{zc=null}fq.exports=zc});var mq=C((dRe,hq)=>{"use strict";var pq=Vc(),lge=SE(),_4=h4(),dq=OE();hq.exports=function(e,l,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _4("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new _4("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new _4("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new _4("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new _4("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new _4("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,a=!!dq&&dq(e,l);if(pq)pq(e,l,{configurable:s===null&&a?a.configurable:!s,enumerable:r===null&&a?a.enumerable:!r,value:t,writable:i===null&&a?a.writable:!i});else if(u||!r&&!i&&!s)e[l]=t;else throw new lge("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var vq=C((hRe,yq)=>{"use strict";var RE=Vc(),gq=function(){return!!RE};gq.hasArrayLengthDefineBug=function(){if(!RE)return null;try{return RE([],"length",{value:1}).length!==1}catch{return!0}};yq.exports=gq});var Sq=C((mRe,Tq)=>{"use strict";var tge=ia(),_q=mq(),rge=vq()(),Eq=OE(),bq=h4(),ige=tge("%Math.floor%");Tq.exports=function(e,l){if(typeof e!="function")throw new bq("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||ige(l)!==l)throw new bq("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,i=!0;if("length"in e&&Eq){var s=Eq(e,"length");s&&!s.configurable&&(r=!1),s&&!s.writable&&(i=!1)}return(r||i||!t)&&(rge?_q(e,"length",l,!0,!0):_q(e,"length",l)),e}});var Nq=C((gRe,Gc)=>{"use strict";var NE=Uc(),Xc=ia(),sge=Sq(),uge=h4(),wq=Xc("%Function.prototype.apply%"),Oq=Xc("%Function.prototype.call%"),Rq=Xc("%Reflect.apply%",!0)||NE.call(Oq,wq),xq=Vc(),age=Xc("%Math.max%");Gc.exports=function(e){if(typeof e!="function")throw new uge("a function is required");var l=Rq(NE,Oq,arguments);return sge(l,1+age(0,e.length-(arguments.length-1)),!0)};var Aq=function(){return Rq(NE,wq,arguments)};xq?xq(Gc.exports,"apply",{value:Aq}):Gc.exports.apply=Aq});var Pq=C((yRe,kq)=>{"use strict";var Iq=ia(),Cq=Nq(),oge=Cq(Iq("String.prototype.indexOf"));kq.exports=function(e,l){var t=Iq(e,!!l);return typeof t=="function"&&oge(e,".prototype.")>-1?Cq(t):t}});var Lq=C((vRe,Dq)=>{Dq.exports=require("util").inspect});var nV=C((_Re,eV)=>{var jE=typeof Map=="function"&&Map.prototype,IE=Object.getOwnPropertyDescriptor&&jE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Kc=jE&&IE&&typeof IE.get=="function"?IE.get:null,Fq=jE&&Map.prototype.forEach,UE=typeof Set=="function"&&Set.prototype,CE=Object.getOwnPropertyDescriptor&&UE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Yc=UE&&CE&&typeof CE.get=="function"?CE.get:null,Mq=UE&&Set.prototype.forEach,cge=typeof WeakMap=="function"&&WeakMap.prototype,A5=cge?WeakMap.prototype.has:null,fge=typeof WeakSet=="function"&&WeakSet.prototype,w5=fge?WeakSet.prototype.has:null,pge=typeof WeakRef=="function"&&WeakRef.prototype,$q=pge?WeakRef.prototype.deref:null,dge=Boolean.prototype.valueOf,hge=Object.prototype.toString,mge=Function.prototype.toString,gge=String.prototype.match,BE=String.prototype.slice,xs=String.prototype.replace,yge=String.prototype.toUpperCase,jq=String.prototype.toLowerCase,Wq=RegExp.prototype.test,Uq=Array.prototype.concat,jr=Array.prototype.join,vge=Array.prototype.slice,Bq=Math.floor,DE=typeof BigInt=="function"?BigInt.prototype.valueOf:null,kE=Object.getOwnPropertySymbols,LE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,E4=typeof Symbol=="function"&&typeof Symbol.iterator=="object",h2=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===E4||!0)?Symbol.toStringTag:null,Kq=Object.prototype.propertyIsEnumerable,Hq=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function qq(n,e){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||Wq.call(/e/,e))return e;var l=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var t=n<0?-Bq(-n):Bq(n);if(t!==n){var r=String(t),i=BE.call(e,r.length+1);return xs.call(r,l,"$&_")+"."+xs.call(xs.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return xs.call(e,l,"$&_")}var FE=Lq(),Vq=FE.custom,zq=Jq(Vq)?Vq:null;eV.exports=function n(e,l,t,r){var i=l||{};if(Ss(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ss(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Ss(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ss(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ss(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Zq(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return u?qq(e,a):a}if(typeof e=="bigint"){var c=String(e)+"n";return u?qq(e,c):c}var f=typeof i.depth>"u"?5:i.depth;if(typeof t>"u"&&(t=0),t>=f&&f>0&&typeof e=="object")return ME(e)?"[Array]":"[Object]";var p=Fge(i,t);if(typeof r>"u")r=[];else if(Qq(r,e)>=0)return"[Circular]";function m(Z,ve,Ne){if(ve&&(r=vge.call(r),r.push(ve)),Ne){var pe={depth:i.depth};return Ss(i,"quoteStyle")&&(pe.quoteStyle=i.quoteStyle),n(Z,pe,t+1,r)}return n(Z,i,t+1,r)}if(typeof e=="function"&&!Gq(e)){var h=Oge(e),g=Wc(e,m);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(g.length>0?" { "+jr.call(g,", ")+" }":"")}if(Jq(e)){var _=E4?xs.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):LE.call(e);return typeof e=="object"&&!E4?x5(_):_}if(Pge(e)){for(var S="<"+jq.call(String(e.nodeName)),T=e.attributes||[],x=0;x ",e.childNodes&&e.childNodes.length&&(S+="..."),S+=""+jq.call(String(e.nodeName))+">",S}if(ME(e)){if(e.length===0)return"[]";var v=Wc(e,m);return p&&!Lge(v)?"["+$E(v,p)+"]":"[ "+jr.call(v,", ")+" ]"}if(bge(e)){var b=Wc(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!Kq.call(e,"cause")?"{ ["+String(e)+"] "+jr.call(Uq.call("[cause]: "+m(e.cause),b),", ")+" }":b.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+jr.call(b,", ")+" }"}if(typeof e=="object"&&s){if(zq&&typeof e[zq]=="function"&&FE)return FE(e,{depth:f-t});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Rge(e)){var w=[];return Fq&&Fq.call(e,function(Z,ve){w.push(m(ve,e,!0)+" => "+m(Z,e))}),Xq("Map",Kc.call(e),w,p)}if(Cge(e)){var N=[];return Mq&&Mq.call(e,function(Z){N.push(m(Z,e))}),Xq("Set",Yc.call(e),N,p)}if(Nge(e))return PE("WeakMap");if(kge(e))return PE("WeakSet");if(Ige(e))return PE("WeakRef");if(Sge(e))return x5(m(Number(e)));if(Age(e))return x5(m(DE.call(e)));if(xge(e))return x5(dge.call(e));if(Tge(e))return x5(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===global)return"{ [object globalThis] }";if(!Ege(e)&&!Gq(e)){var R=Wc(e,m),k=Hq?Hq(e)===Object.prototype:e instanceof Object||e.constructor===Object,j=e instanceof Object?"":"null prototype",L=!k&&h2&&Object(e)===e&&h2 in e?BE.call(As(e),8,-1):j?"Object":"",Q=k||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Y=Q+(L||j?"["+jr.call(Uq.call([],L||[],j||[]),": ")+"] ":"");return R.length===0?Y+"{}":p?Y+"{"+$E(R,p)+"}":Y+"{ "+jr.call(R,", ")+" }"}return String(e)};function Yq(n,e,l){var t=(l.quoteStyle||e)==="double"?'"':"'";return t+n+t}function _ge(n){return xs.call(String(n),/"/g,""")}function ME(n){return As(n)==="[object Array]"&&(!h2||!(typeof n=="object"&&h2 in n))}function Ege(n){return As(n)==="[object Date]"&&(!h2||!(typeof n=="object"&&h2 in n))}function Gq(n){return As(n)==="[object RegExp]"&&(!h2||!(typeof n=="object"&&h2 in n))}function bge(n){return As(n)==="[object Error]"&&(!h2||!(typeof n=="object"&&h2 in n))}function Tge(n){return As(n)==="[object String]"&&(!h2||!(typeof n=="object"&&h2 in n))}function Sge(n){return As(n)==="[object Number]"&&(!h2||!(typeof n=="object"&&h2 in n))}function xge(n){return As(n)==="[object Boolean]"&&(!h2||!(typeof n=="object"&&h2 in n))}function Jq(n){if(E4)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!LE)return!1;try{return LE.call(n),!0}catch{}return!1}function Age(n){if(!n||typeof n!="object"||!DE)return!1;try{return DE.call(n),!0}catch{}return!1}var wge=Object.prototype.hasOwnProperty||function(n){return n in this};function Ss(n,e){return wge.call(n,e)}function As(n){return hge.call(n)}function Oge(n){if(n.name)return n.name;var e=gge.call(mge.call(n),/^function\s*([\w$]+)/);return e?e[1]:null}function Qq(n,e){if(n.indexOf)return n.indexOf(e);for(var l=0,t=n.length;l e.maxStringLength){var l=n.length-e.maxStringLength,t="... "+l+" more character"+(l>1?"s":"");return Zq(BE.call(n,0,e.maxStringLength),e)+t}var r=xs.call(xs.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Dge);return Yq(r,"single",e)}function Dge(n){var e=n.charCodeAt(0),l={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return l?"\\"+l:"\\x"+(e<16?"0":"")+yge.call(e.toString(16))}function x5(n){return"Object("+n+")"}function PE(n){return n+" { ? }"}function Xq(n,e,l,t){var r=t?$E(l,t):jr.call(l,", ");return n+" ("+e+") {"+r+"}"}function Lge(n){for(var e=0;e =0)return!1;return!0}function Fge(n,e){var l;if(n.indent===" ")l=" ";else if(typeof n.indent=="number"&&n.indent>0)l=jr.call(Array(n.indent+1)," ");else return null;return{base:l,prev:jr.call(Array(e+1),l)}}function $E(n,e){if(n.length===0)return"";var l=` -`+e.prev+e.base;return l+jr.call(n,","+l)+` -`+e.prev}function Wc(n,e){var l=ME(n),t=[];if(l){t.length=n.length;for(var r=0;r {"use strict";var lV=ia(),b4=Pq(),Mge=nV(),$ge=h4(),Jc=lV("%WeakMap%",!0),Qc=lV("%Map%",!0),jge=b4("WeakMap.prototype.get",!0),Uge=b4("WeakMap.prototype.set",!0),Bge=b4("WeakMap.prototype.has",!0),Hge=b4("Map.prototype.get",!0),qge=b4("Map.prototype.set",!0),Vge=b4("Map.prototype.has",!0),HE=function(n,e){for(var l=n,t;(t=l.next)!==null;l=t)if(t.key===e)return l.next=t.next,t.next=n.next,n.next=t,t},zge=function(n,e){var l=HE(n,e);return l&&l.value},Gge=function(n,e,l){var t=HE(n,e);t?t.value=l:n.next={key:e,next:n.next,value:l}},Xge=function(n,e){return!!HE(n,e)};tV.exports=function(){var e,l,t,r={assert:function(i){if(!r.has(i))throw new $ge("Side channel does not contain "+Mge(i))},get:function(i){if(Jc&&i&&(typeof i=="object"||typeof i=="function")){if(e)return jge(e,i)}else if(Qc){if(l)return Hge(l,i)}else if(t)return zge(t,i)},has:function(i){if(Jc&&i&&(typeof i=="object"||typeof i=="function")){if(e)return Bge(e,i)}else if(Qc){if(l)return Vge(l,i)}else if(t)return Xge(t,i);return!1},set:function(i,s){Jc&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new Jc),Uge(e,i,s)):Qc?(l||(l=new Qc),qge(l,i,s)):(t||(t={key:{},next:null}),Gge(t,i,s))}};return r}});var Zc=C((bRe,iV)=>{"use strict";var Wge=String.prototype.replace,Kge=/%20/g,qE={RFC1738:"RFC1738",RFC3986:"RFC3986"};iV.exports={default:qE.RFC3986,formatters:{RFC1738:function(n){return Wge.call(n,Kge,"+")},RFC3986:function(n){return String(n)}},RFC1738:qE.RFC1738,RFC3986:qE.RFC3986}});var GE=C((TRe,uV)=>{"use strict";var Yge=Zc(),VE=Object.prototype.hasOwnProperty,sa=Array.isArray,Ur=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),Jge=function(e){for(;e.length>1;){var l=e.pop(),t=l.obj[l.prop];if(sa(t)){for(var r=[],i=0;i =zE?s.slice(a,a+zE):s,f=[],p=0;p =48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||i===Yge.RFC1738&&(m===40||m===41)){f[f.length]=c.charAt(p);continue}if(m<128){f[f.length]=Ur[m];continue}if(m<2048){f[f.length]=Ur[192|m>>6]+Ur[128|m&63];continue}if(m<55296||m>=57344){f[f.length]=Ur[224|m>>12]+Ur[128|m>>6&63]+Ur[128|m&63];continue}p+=1,m=65536+((m&1023)<<10|c.charCodeAt(p)&1023),f[f.length]=Ur[240|m>>18]+Ur[128|m>>12&63]+Ur[128|m>>6&63]+Ur[128|m&63]}u+=f.join("")}return u},lye=function(e){for(var l=[{obj:{o:e},prop:"o"}],t=[],r=0;r {"use strict";var oV=rV(),ef=GE(),O5=Zc(),uye=Object.prototype.hasOwnProperty,cV={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,l){return e+"["+l+"]"},repeat:function(e){return e}},Br=Array.isArray,aye=Array.prototype.push,fV=function(n,e){aye.apply(n,Br(e)?e:[e])},oye=Date.prototype.toISOString,aV=O5.default,Nt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ef.encode,encodeValuesOnly:!1,format:aV,formatter:O5.formatters[aV],indices:!1,serializeDate:function(e){return oye.call(e)},skipNulls:!1,strictNullHandling:!1},cye=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},XE={},fye=function n(e,l,t,r,i,s,u,a,c,f,p,m,h,g,_,S,T,x){for(var v=e,b=x,w=0,N=!1;(b=b.get(XE))!==void 0&&!N;){var R=b.get(e);if(w+=1,typeof R<"u"){if(R===w)throw new RangeError("Cyclic object value");N=!0}typeof b.get(XE)>"u"&&(w=0)}if(typeof f=="function"?v=f(l,v):v instanceof Date?v=h(v):t==="comma"&&Br(v)&&(v=ef.maybeMap(v,function(re){return re instanceof Date?h(re):re})),v===null){if(s)return c&&!S?c(l,Nt.encoder,T,"key",g):l;v=""}if(cye(v)||ef.isBuffer(v)){if(c){var k=S?l:c(l,Nt.encoder,T,"key",g);return[_(k)+"="+_(c(v,Nt.encoder,T,"value",g))]}return[_(l)+"="+_(String(v))]}var j=[];if(typeof v>"u")return j;var L;if(t==="comma"&&Br(v))S&&c&&(v=ef.maybeMap(v,c)),L=[{value:v.length>0?v.join(",")||null:void 0}];else if(Br(f))L=f;else{var Q=Object.keys(v);L=p?Q.sort(p):Q}var Y=a?l.replace(/\./g,"%2E"):l,Z=r&&Br(v)&&v.length===1?Y+"[]":Y;if(i&&Br(v)&&v.length===0)return Z+"[]";for(var ve=0;ve "u"?e.encodeDotInKeys===!0?!0:Nt.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Nt.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Nt.allowEmptyArrays,arrayFormat:s,charset:l,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Nt.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?Nt.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Nt.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:Nt.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:Nt.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Nt.encodeValuesOnly,filter:i,format:t,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Nt.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Nt.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Nt.strictNullHandling}};pV.exports=function(n,e){var l=n,t=pye(e),r,i;typeof t.filter=="function"?(i=t.filter,l=i("",l)):Br(t.filter)&&(i=t.filter,r=i);var s=[];if(typeof l!="object"||l===null)return"";var u=cV[t.arrayFormat],a=u==="comma"&&t.commaRoundTrip;r||(r=Object.keys(l)),t.sort&&r.sort(t.sort);for(var c=oV(),f=0;f 0?h+m:""}});var gV=C((xRe,mV)=>{"use strict";var T4=GE(),WE=Object.prototype.hasOwnProperty,dye=Array.isArray,mt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:T4.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},hye=function(n){return n.replace(/(\d+);/g,function(e,l){return String.fromCharCode(parseInt(l,10))})},hV=function(n,e){return n&&typeof n=="string"&&e.comma&&n.indexOf(",")>-1?n.split(","):n},mye="utf8=%26%2310003%3B",gye="utf8=%E2%9C%93",yye=function(e,l){var t={__proto__:null},r=l.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=l.parameterLimit===1/0?void 0:l.parameterLimit,s=r.split(l.delimiter,i),u=-1,a,c=l.charset;if(l.charsetSentinel)for(a=0;a -1&&(g=dye(g)?[g]:g);var _=WE.call(t,h);_&&l.duplicates==="combine"?t[h]=T4.combine(t[h],g):(!_||l.duplicates==="last")&&(t[h]=g)}return t},vye=function(n,e,l,t){for(var r=t?e:hV(e,l),i=n.length-1;i>=0;--i){var s,u=n[i];if(u==="[]"&&l.parseArrays)s=l.allowEmptyArrays&&r===""?[]:[].concat(r);else{s=l.plainObjects?Object.create(null):{};var a=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=l.decodeDotInKeys?a.replace(/%2E/g,"."):a,f=parseInt(c,10);!l.parseArrays&&c===""?s={0:r}:!isNaN(f)&&u!==c&&String(f)===c&&f>=0&&l.parseArrays&&f<=l.arrayLimit?(s=[],s[f]=r):c!=="__proto__"&&(s[c]=r)}r=s}return r},_ye=function(e,l,t,r){if(e){var i=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,a=t.depth>0&&s.exec(i),c=a?i.slice(0,a.index):i,f=[];if(c){if(!t.plainObjects&&WE.call(Object.prototype,c)&&!t.allowPrototypes)return;f.push(c)}for(var p=0;t.depth>0&&(a=u.exec(i))!==null&&p "u"?mt.charset:e.charset,t=typeof e.duplicates>"u"?mt.duplicates:e.duplicates;if(t!=="combine"&&t!=="first"&&t!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var r=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:mt.allowDots:!!e.allowDots;return{allowDots:r,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:mt.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:mt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:mt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:mt.arrayLimit,charset:l,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:mt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:mt.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:mt.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:mt.decoder,delimiter:typeof e.delimiter=="string"||T4.isRegExp(e.delimiter)?e.delimiter:mt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:mt.depth,duplicates:t,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:mt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:mt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:mt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:mt.strictNullHandling}};mV.exports=function(n,e){var l=Eye(e);if(n===""||n===null||typeof n>"u")return l.plainObjects?Object.create(null):{};for(var t=typeof n=="string"?yye(n,l):n,r=l.plainObjects?Object.create(null):{},i=Object.keys(t),s=0;s {"use strict";var bye=dV(),Tye=gV(),Sye=Zc();yV.exports={formats:Sye,parse:Tye,stringify:bye}});var kV=C((CRe,CV)=>{var IV=require("stream").Stream,rve=require("util");CV.exports=er;function er(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}rve.inherits(er,IV);er.create=function(n,e){var l=new this;e=e||{};for(var t in e)l[t]=e[t];l.source=n;var r=n.emit;return n.emit=function(){return l._handleEmit(arguments),r.apply(n,arguments)},n.on("error",function(){}),l.pauseStream&&n.pause(),l};Object.defineProperty(er.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});er.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};er.prototype.resume=function(){this._released||this.release(),this.source.resume()};er.prototype.pause=function(){this.source.pause()};er.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]};er.prototype.pipe=function(){var n=IV.prototype.pipe.apply(this,arguments);return this.resume(),n};er.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)};er.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}}});var FV=C((kRe,LV)=>{var ive=require("util"),DV=require("stream").Stream,PV=kV();LV.exports=lt;function lt(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}ive.inherits(lt,DV);lt.create=function(n){var e=new this;n=n||{};for(var l in n)e[l]=n[l];return e};lt.isStreamLike=function(n){return typeof n!="function"&&typeof n!="string"&&typeof n!="boolean"&&typeof n!="number"&&!Buffer.isBuffer(n)};lt.prototype.append=function(n){var e=lt.isStreamLike(n);if(e){if(!(n instanceof PV)){var l=PV.create(n,{maxDataSize:1/0,pauseStream:this.pauseStreams});n.on("data",this._checkDataSize.bind(this)),n=l}this._handleErrors(n),this.pauseStreams&&n.pause()}return this._streams.push(n),this};lt.prototype.pipe=function(n,e){return DV.prototype.pipe.call(this,n,e),this.resume(),n};lt.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};lt.prototype._realGetNext=function(){var n=this._streams.shift();if(typeof n>"u"){this.end();return}if(typeof n!="function"){this._pipeNext(n);return}var e=n;e(function(l){var t=lt.isStreamLike(l);t&&(l.on("data",this._checkDataSize.bind(this)),this._handleErrors(l)),this._pipeNext(l)}.bind(this))};lt.prototype._pipeNext=function(n){this._currentStream=n;var e=lt.isStreamLike(n);if(e){n.on("end",this._getNext.bind(this)),n.pipe(this,{end:!1});return}var l=n;this.write(l),this._getNext()};lt.prototype._handleErrors=function(n){var e=this;n.on("error",function(l){e._emitError(l)})};lt.prototype.write=function(n){this.emit("data",n)};lt.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};lt.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};lt.prototype.end=function(){this._reset(),this.emit("end")};lt.prototype.destroy=function(){this._reset(),this.emit("close")};lt.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};lt.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(n))}};lt.prototype._updateDataSize=function(){this.dataSize=0;var n=this;this._streams.forEach(function(e){e.dataSize&&(n.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};lt.prototype._emitError=function(n){this._reset(),this.emit("error",n)}});var MV=C((PRe,sve)=>{sve.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var jV=C((DRe,$V)=>{$V.exports=MV()});var HV=C(W2=>{"use strict";var sf=jV(),uve=require("path").extname,UV=/^\s*([^;\s]*)(?:;|\s|$)/,ave=/^text\//i;W2.charset=BV;W2.charsets={lookup:BV};W2.contentType=ove;W2.extension=cve;W2.extensions=Object.create(null);W2.lookup=fve;W2.types=Object.create(null);pve(W2.extensions,W2.types);function BV(n){if(!n||typeof n!="string")return!1;var e=UV.exec(n),l=e&&sf[e[1].toLowerCase()];return l&&l.charset?l.charset:e&&ave.test(e[1])?"UTF-8":!1}function ove(n){if(!n||typeof n!="string")return!1;var e=n.indexOf("/")===-1?W2.lookup(n):n;if(!e)return!1;if(e.indexOf("charset")===-1){var l=W2.charset(e);l&&(e+="; charset="+l.toLowerCase())}return e}function cve(n){if(!n||typeof n!="string")return!1;var e=UV.exec(n),l=e&&W2.extensions[e[1].toLowerCase()];return!l||!l.length?!1:l[0]}function fve(n){if(!n||typeof n!="string")return!1;var e=uve("x."+n).toLowerCase().substr(1);return e&&W2.types[e]||!1}function pve(n,e){var l=["nginx","apache",void 0,"iana"];Object.keys(sf).forEach(function(r){var i=sf[r],s=i.extensions;if(!(!s||!s.length)){n[r]=s;for(var u=0;u f||c===f&&e[a].substr(0,12)==="application/"))continue}e[a]=r}}})}});var VV=C((FRe,qV)=>{qV.exports=dve;function dve(n){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(n):setTimeout(n,0)}});var QE=C((MRe,GV)=>{var zV=VV();GV.exports=hve;function hve(n){var e=!1;return zV(function(){e=!0}),function(t,r){e?n(t,r):zV(function(){n(t,r)})}}});var ZE=C(($Re,XV)=>{XV.exports=mve;function mve(n){Object.keys(n.jobs).forEach(gve.bind(n)),n.jobs={}}function gve(n){typeof this.jobs[n]=="function"&&this.jobs[n]()}});var eb=C((jRe,KV)=>{var WV=QE(),yve=ZE();KV.exports=vve;function vve(n,e,l,t){var r=l.keyedList?l.keyedList[l.index]:l.index;l.jobs[r]=_ve(e,r,n[r],function(i,s){r in l.jobs&&(delete l.jobs[r],i?yve(l):l.results[r]=s,t(i,l.results))})}function _ve(n,e,l,t){var r;return n.length==2?r=n(l,WV(t)):r=n(l,e,WV(t)),r}});var nb=C((URe,YV)=>{YV.exports=Eve;function Eve(n,e){var l=!Array.isArray(n),t={index:0,keyedList:l||e?Object.keys(n):null,jobs:{},results:l?{}:[],size:l?Object.keys(n).length:n.length};return e&&t.keyedList.sort(l?e:function(r,i){return e(n[r],n[i])}),t}});var lb=C((BRe,JV)=>{var bve=ZE(),Tve=QE();JV.exports=Sve;function Sve(n){Object.keys(this.jobs).length&&(this.index=this.size,bve(this),Tve(n)(null,this.results))}});var ZV=C((HRe,QV)=>{var xve=eb(),Ave=nb(),wve=lb();QV.exports=Ove;function Ove(n,e,l){for(var t=Ave(n);t.index<(t.keyedList||n).length;)xve(n,e,t,function(r,i){if(r){l(r,i);return}if(Object.keys(t.jobs).length===0){l(null,t.results);return}}),t.index++;return wve.bind(t,l)}});var tb=C((qRe,uf)=>{var ez=eb(),Rve=nb(),Nve=lb();uf.exports=Ive;uf.exports.ascending=nz;uf.exports.descending=Cve;function Ive(n,e,l,t){var r=Rve(n,l);return ez(n,e,r,function i(s,u){if(s){t(s,u);return}if(r.index++,r.index<(r.keyedList||n).length){ez(n,e,r,i);return}t(null,r.results)}),Nve.bind(r,t)}function nz(n,e){return n e?1:0}function Cve(n,e){return-1*nz(n,e)}});var tz=C((VRe,lz)=>{var kve=tb();lz.exports=Pve;function Pve(n,e,l){return kve(n,e,null,l)}});var iz=C((zRe,rz)=>{rz.exports={parallel:ZV(),serial:tz(),serialOrdered:tb()}});var uz=C((GRe,sz)=>{sz.exports=function(n,e){return Object.keys(e).forEach(function(l){n[l]=n[l]||e[l]}),n}});var cz=C((XRe,oz)=>{var ub=FV(),az=require("util"),rb=require("path"),Dve=require("http"),Lve=require("https"),Fve=require("url").parse,Mve=require("fs"),$ve=require("stream").Stream,ib=HV(),jve=iz(),sb=uz();oz.exports=Yn;az.inherits(Yn,ub);function Yn(n){if(!(this instanceof Yn))return new Yn(n);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],ub.call(this),n=n||{};for(var e in n)this[e]=n[e]}Yn.LINE_BREAK=`\r -`;Yn.DEFAULT_CONTENT_TYPE="application/octet-stream";Yn.prototype.append=function(n,e,l){l=l||{},typeof l=="string"&&(l={filename:l});var t=ub.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),az.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(n,e,l),i=this._multiPartFooter();t(r),t(e),t(i),this._trackLength(r,e,l)};Yn.prototype._trackLength=function(n,e,l){var t=0;l.knownLength!=null?t+=+l.knownLength:Buffer.isBuffer(e)?t=e.length:typeof e=="string"&&(t=Buffer.byteLength(e)),this._valueLength+=t,this._overheadLength+=Buffer.byteLength(n)+Yn.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof $ve))&&(l.knownLength||this._valuesToMeasure.push(e))};Yn.prototype._lengthRetriever=function(n,e){n.hasOwnProperty("fd")?n.end!=null&&n.end!=1/0&&n.start!=null?e(null,n.end+1-(n.start?n.start:0)):Mve.stat(n.path,function(l,t){var r;if(l){e(l);return}r=t.size-(n.start?n.start:0),e(null,r)}):n.hasOwnProperty("httpVersion")?e(null,+n.headers["content-length"]):n.hasOwnProperty("httpModule")?(n.on("response",function(l){n.pause(),e(null,+l.headers["content-length"])}),n.resume()):e("Unknown stream")};Yn.prototype._multiPartHeader=function(n,e,l){if(typeof l.header=="string")return l.header;var t=this._getContentDisposition(e,l),r=this._getContentType(e,l),i="",s={"Content-Disposition":["form-data",'name="'+n+'"'].concat(t||[]),"Content-Type":[].concat(r||[])};typeof l.header=="object"&&sb(s,l.header);var u;for(var a in s)s.hasOwnProperty(a)&&(u=s[a],u!=null&&(Array.isArray(u)||(u=[u]),u.length&&(i+=a+": "+u.join("; ")+Yn.LINE_BREAK)));return"--"+this.getBoundary()+Yn.LINE_BREAK+i+Yn.LINE_BREAK};Yn.prototype._getContentDisposition=function(n,e){var l,t;return typeof e.filepath=="string"?l=rb.normalize(e.filepath).replace(/\\/g,"/"):e.filename||n.name||n.path?l=rb.basename(e.filename||n.name||n.path):n.readable&&n.hasOwnProperty("httpVersion")&&(l=rb.basename(n.client._httpMessage.path||"")),l&&(t='filename="'+l+'"'),t};Yn.prototype._getContentType=function(n,e){var l=e.contentType;return!l&&n.name&&(l=ib.lookup(n.name)),!l&&n.path&&(l=ib.lookup(n.path)),!l&&n.readable&&n.hasOwnProperty("httpVersion")&&(l=n.headers["content-type"]),!l&&(e.filepath||e.filename)&&(l=ib.lookup(e.filepath||e.filename)),!l&&typeof n=="object"&&(l=Yn.DEFAULT_CONTENT_TYPE),l};Yn.prototype._multiPartFooter=function(){return function(n){var e=Yn.LINE_BREAK,l=this._streams.length===0;l&&(e+=this._lastBoundary()),n(e)}.bind(this)};Yn.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Yn.LINE_BREAK};Yn.prototype.getHeaders=function(n){var e,l={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in n)n.hasOwnProperty(e)&&(l[e.toLowerCase()]=n[e]);return l};Yn.prototype.setBoundary=function(n){this._boundary=n};Yn.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};Yn.prototype.getBuffer=function(){for(var n=new Buffer.alloc(0),e=this.getBoundary(),l=0,t=this._streams.length;l {"use strict";var n_e=require("url").parse,l_e={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},t_e=String.prototype.endsWith||function(n){return n.length<=this.length&&this.indexOf(n,this.length-n.length)!==-1};function r_e(n){var e=typeof n=="string"?n_e(n):n||{},l=e.protocol,t=e.host,r=e.port;if(typeof t!="string"||!t||typeof l!="string"||(l=l.split(":",1)[0],t=t.replace(/:\d*$/,""),r=parseInt(r)||l_e[l]||0,!i_e(t,r)))return"";var i=R4("npm_config_"+l+"_proxy")||R4(l+"_proxy")||R4("npm_config_proxy")||R4("all_proxy");return i&&i.indexOf("://")===-1&&(i=l+"://"+i),i}function i_e(n,e){var l=(R4("npm_config_no_proxy")||R4("no_proxy")).toLowerCase();return l?l==="*"?!1:l.split(/[,\s]/).every(function(t){if(!t)return!0;var r=t.match(/^(.+):(\d+)$/),i=r?r[1]:t,s=r?parseInt(r[2]):0;return s&&s!==e?!0:/^[.*]/.test(i)?(i.charAt(0)==="*"&&(i=i.slice(1)),!t_e.call(n,i)):n!==i}):!0}function R4(n){return process.env[n.toLowerCase()]||process.env[n.toUpperCase()]||""}Az.getProxyForUrl=r_e});var Rz=C((WNe,Oz)=>{var D5;Oz.exports=function(){if(!D5){try{D5=H6()("follow-redirects")}catch{}typeof D5!="function"&&(D5=function(){})}D5.apply(null,arguments)}});var Pz=C((KNe,Rb)=>{var M5=require("url"),L5=M5.URL,s_e=require("http"),u_e=require("https"),bb=require("stream").Writable,Tb=require("assert"),Nz=Rz(),Sb=!1;try{Tb(new L5)}catch(n){Sb=n.code==="ERR_INVALID_URL"}var a_e=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],xb=["abort","aborted","connect","error","socket","timeout"],Ab=Object.create(null);xb.forEach(function(n){Ab[n]=function(e,l,t){this._redirectable.emit(n,e,l,t)}});var vb=$5("ERR_INVALID_URL","Invalid URL",TypeError),_b=$5("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),o_e=$5("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",_b),c_e=$5("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),f_e=$5("ERR_STREAM_WRITE_AFTER_END","write after end"),p_e=bb.prototype.destroy||Cz;function K2(n,e){bb.call(this),this._sanitizeOptions(n),this._options=n,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var l=this;this._onNativeResponse=function(t){try{l._processResponse(t)}catch(r){l.emit("error",r instanceof _b?r:new _b({cause:r}))}},this._performRequest()}K2.prototype=Object.create(bb.prototype);K2.prototype.abort=function(){Ob(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};K2.prototype.destroy=function(n){return Ob(this._currentRequest,n),p_e.call(this,n),this};K2.prototype.write=function(n,e,l){if(this._ending)throw new f_e;if(!oa(n)&&!m_e(n))throw new TypeError("data should be a string, Buffer or Uint8Array");if(F5(e)&&(l=e,e=null),n.length===0){l&&l();return}this._requestBodyLength+n.length<=this._options.maxBodyLength?(this._requestBodyLength+=n.length,this._requestBodyBuffers.push({data:n,encoding:e}),this._currentRequest.write(n,e,l)):(this.emit("error",new c_e),this.abort())};K2.prototype.end=function(n,e,l){if(F5(n)?(l=n,n=e=null):F5(e)&&(l=e,e=null),!n)this._ended=this._ending=!0,this._currentRequest.end(null,null,l);else{var t=this,r=this._currentRequest;this.write(n,e,function(){t._ended=!0,r.end(null,null,l)}),this._ending=!0}};K2.prototype.setHeader=function(n,e){this._options.headers[n]=e,this._currentRequest.setHeader(n,e)};K2.prototype.removeHeader=function(n){delete this._options.headers[n],this._currentRequest.removeHeader(n)};K2.prototype.setTimeout=function(n,e){var l=this;function t(s){s.setTimeout(n),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function r(s){l._timeout&&clearTimeout(l._timeout),l._timeout=setTimeout(function(){l.emit("timeout"),i()},n),t(s)}function i(){l._timeout&&(clearTimeout(l._timeout),l._timeout=null),l.removeListener("abort",i),l.removeListener("error",i),l.removeListener("response",i),l.removeListener("close",i),e&&l.removeListener("timeout",e),l.socket||l._currentRequest.removeListener("socket",r)}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",t),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(n){K2.prototype[n]=function(e,l){return this._currentRequest[n](e,l)}});["aborted","connection","socket"].forEach(function(n){Object.defineProperty(K2.prototype,n,{get:function(){return this._currentRequest[n]}})});K2.prototype._sanitizeOptions=function(n){if(n.headers||(n.headers={}),n.host&&(n.hostname||(n.hostname=n.host),delete n.host),!n.pathname&&n.path){var e=n.path.indexOf("?");e<0?n.pathname=n.path:(n.pathname=n.path.substring(0,e),n.search=n.path.substring(e))}};K2.prototype._performRequest=function(){var n=this._options.protocol,e=this._options.nativeProtocols[n];if(!e)throw new TypeError("Unsupported protocol "+n);if(this._options.agents){var l=n.slice(0,-1);this._options.agent=this._options.agents[l]}var t=this._currentRequest=e.request(this._options,this._onNativeResponse);t._redirectable=this;for(var r of xb)t.on(r,Ab[r]);if(this._currentUrl=/^\//.test(this._options.path)?M5.format(this._options):this._options.path,this._isRedirect){var i=0,s=this,u=this._requestBodyBuffers;(function a(c){if(t===s._currentRequest)if(c)s.emit("error",c);else if(i =400){n.responseUrl=this._currentUrl,n.redirects=this._redirects,this.emit("response",n),this._requestBodyBuffers=[];return}if(Ob(this._currentRequest),n.destroy(),++this._redirectCount>this._options.maxRedirects)throw new o_e;var t,r=this._options.beforeRedirect;r&&(t=Object.assign({Host:n.req.getHeader("host")},this._options.headers));var i=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],yb(/^content-/i,this._options.headers));var s=yb(/^host$/i,this._options.headers),u=wb(this._currentUrl),a=s||u.host,c=/^\w+:/.test(l)?this._currentUrl:M5.format(Object.assign(u,{host:a})),f=d_e(l,c);if(Nz("redirecting to",f.href),this._isRedirect=!0,Eb(f,this._options),(f.protocol!==u.protocol&&f.protocol!=="https:"||f.host!==a&&!h_e(f.host,a))&&yb(/^(?:authorization|cookie)$/i,this._options.headers),F5(r)){var p={headers:n.headers,statusCode:e},m={url:c,method:i,headers:t};r(this._options,p,m),this._sanitizeOptions(this._options)}this._performRequest()};function Iz(n){var e={maxRedirects:21,maxBodyLength:10485760},l={};return Object.keys(n).forEach(function(t){var r=t+":",i=l[r]=n[t],s=e[t]=Object.create(i);function u(c,f,p){return g_e(c)?c=Eb(c):oa(c)?c=Eb(wb(c)):(p=f,f=kz(c),c={protocol:r}),F5(f)&&(p=f,f=null),f=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,f),f.nativeProtocols=l,!oa(f.host)&&!oa(f.hostname)&&(f.hostname="::1"),Tb.equal(f.protocol,r,"protocol mismatch"),Nz("options",f),new K2(f,p)}function a(c,f,p){var m=s.request(c,f,p);return m.end(),m}Object.defineProperties(s,{request:{value:u,configurable:!0,enumerable:!0,writable:!0},get:{value:a,configurable:!0,enumerable:!0,writable:!0}})}),e}function Cz(){}function wb(n){var e;if(Sb)e=new L5(n);else if(e=kz(M5.parse(n)),!oa(e.protocol))throw new vb({input:n});return e}function d_e(n,e){return Sb?new L5(n,e):wb(M5.resolve(e,n))}function kz(n){if(/^\[/.test(n.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(n.hostname))throw new vb({input:n.href||n});if(/^\[/.test(n.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(n.host))throw new vb({input:n.href||n});return n}function Eb(n,e){var l=e||{};for(var t of a_e)l[t]=n[t];return l.hostname.startsWith("[")&&(l.hostname=l.hostname.slice(1,-1)),l.port!==""&&(l.port=Number(l.port)),l.path=l.search?l.pathname+l.search:l.pathname,l}function yb(n,e){var l;for(var t in e)n.test(t)&&(l=e[t],delete e[t]);return l===null||typeof l>"u"?void 0:String(l).trim()}function $5(n,e,l){function t(r){Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=n,this.message=this.cause?e+": "+this.cause.message:e}return t.prototype=new(l||Error),Object.defineProperties(t.prototype,{constructor:{value:t,enumerable:!1},name:{value:"Error ["+n+"]",enumerable:!1}}),t}function Ob(n,e){for(var l of xb)n.removeListener(l,Ab[l]);n.on("error",Cz),n.destroy(e)}function h_e(n,e){Tb(oa(n)&&oa(e));var l=n.length-e.length-1;return l>0&&n[l]==="."&&n.endsWith(e)}function oa(n){return typeof n=="string"||n instanceof String}function F5(n){return typeof n=="function"}function m_e(n){return typeof n=="object"&&"length"in n}function g_e(n){return L5&&n instanceof L5}Rb.exports=Iz({http:s_e,https:u_e});Rb.exports.wrap=Iz});var mG=C(C4=>{"use strict";var pke=require("net"),M_e=require("tls"),Bb=require("http"),pG=require("https"),$_e=require("events"),dke=require("assert"),j_e=require("util");C4.httpOverHttp=U_e;C4.httpsOverHttp=B_e;C4.httpOverHttps=H_e;C4.httpsOverHttps=q_e;function U_e(n){var e=new Ci(n);return e.request=Bb.request,e}function B_e(n){var e=new Ci(n);return e.request=Bb.request,e.createSocket=dG,e.defaultPort=443,e}function H_e(n){var e=new Ci(n);return e.request=pG.request,e}function q_e(n){var e=new Ci(n);return e.request=pG.request,e.createSocket=dG,e.defaultPort=443,e}function Ci(n){var e=this;e.options=n||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||Bb.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(t,r,i,s){for(var u=hG(r,i,s),a=0,c=e.requests.length;a =this.maxSockets){i.requests.push(s);return}i.createSocket(s,function(u){u.on("free",a),u.on("close",c),u.on("agentRemove",c),e.onSocket(u);function a(){i.emit("free",u,s)}function c(f){i.removeSocket(u),u.removeListener("free",a),u.removeListener("close",c),u.removeListener("agentRemove",c)}})};Ci.prototype.createSocket=function(e,l){var t=this,r={};t.sockets.push(r);var i=Hb({},t.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),Is("making CONNECT request");var s=t.request(i);s.useChunkedEncodingByDefault=!1,s.once("response",u),s.once("upgrade",a),s.once("connect",c),s.once("error",f),s.end();function u(p){p.upgrade=!0}function a(p,m,h){process.nextTick(function(){c(p,m,h)})}function c(p,m,h){if(s.removeAllListeners(),m.removeAllListeners(),p.statusCode!==200){Is("tunneling socket could not be established, statusCode=%d",p.statusCode),m.destroy();var g=new Error("tunneling socket could not be established, statusCode="+p.statusCode);g.code="ECONNRESET",e.request.emit("error",g),t.removeSocket(r);return}if(h.length>0){Is("got illegal response body from proxy"),m.destroy();var g=new Error("got illegal response body from proxy");g.code="ECONNRESET",e.request.emit("error",g),t.removeSocket(r);return}return Is("tunneling connection has established"),t.sockets[t.sockets.indexOf(r)]=m,l(m)}function f(p){s.removeAllListeners(),Is(`tunneling socket could not be established, cause=%s -`,p.message,p.stack);var m=new Error("tunneling socket could not be established, cause="+p.message);m.code="ECONNRESET",e.request.emit("error",m),t.removeSocket(r)}};Ci.prototype.removeSocket=function(e){var l=this.sockets.indexOf(e);if(l!==-1){this.sockets.splice(l,1);var t=this.requests.shift();t&&this.createSocket(t,function(r){t.request.onSocket(r)})}};function dG(n,e){var l=this;Ci.prototype.createSocket.call(l,n,function(t){var r=n.request.getHeader("host"),i=Hb({},l.options,{socket:t,servername:r?r.replace(/:.*$/,""):n.host}),s=M_e.connect(0,i);l.sockets[l.sockets.indexOf(t)]=s,e(s)})}function hG(n,e,l){return typeof n=="string"?{host:n,port:e,localAddress:l}:n}function Hb(n){for(var e=1,l=arguments.length;e {gG.exports=mG()});var iW=C(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.removeTrailingChar=ma.merge=void 0;var KEe=(...n)=>{let e={};return n.forEach(function(l){var t;for(t in l)t in e&&e[t]===null?e[t]=l[t]:t in e&&Array.isArray(e[t])?e[t]=e[t].concat(l[t]):t in e&&typeof e[t]=="object"?e[t]=(0,ma.merge)(e[t],l[t]):e[t]=l[t]}),e};ma.merge=KEe;var YEe=(n,e)=>n.length>1&&n.endsWith(e)?n.substring(0,n.length-1):n;ma.removeTrailingChar=YEe});var L4=C(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.DataError=Xs.DatabaseError=Xs.NestedError=void 0;var z5=class extends Error{inner;id;constructor(e,l,t){super(e),this.inner=t,this.id=l,this.name=this.constructor.name}toString(){let e=this.name+": "+this.message;return this.inner?e+`: -`+this.inner:e}};Xs.NestedError=z5;var vT=class extends z5{};Xs.DatabaseError=vT;var _T=class extends z5{};Xs.DataError=_T});var xT=C(I2=>{"use strict";Object.defineProperty(I2,"__esModule",{value:!0});I2.getArrayIndicies=I2.validateArrayIndex=I2.validateArrayIndicies=I2.isInt=I2.ArrayInfo=I2.arrayRegex=void 0;var Ef=L4(),JEe=()=>/^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)\[((?!(\]|\[)).*|)\]$/gm;I2.arrayRegex=JEe;var ET={},bT=class n{property;index=0;append=!1;indicies=[];constructor(e,l){this.property=e;let t=l[0]??0;if(this.append=t===""||l[l.length-1]==="",this.indicies=l,TT(t))this.index=parseInt(t);else if(!this.append)throw new Ef.DataError("Only numerical values accepted for array index",200)}static processArray(e){if(typeof e>"u")return null;if(ET[e])return ET[e];let t=(0,I2.arrayRegex)().exec(e.trim());if(t!=null){let r=t[1],i="["+t[2].toString()+"]",s=ST(i);return sW(s),ET[e]=new n(r,s)}return null}getIndex(e,l){if(this.append)return-1;let t=this.index;if(t==-1){let r=l?e:e[this.property];return r.length===0?0:r.length-1}return t}getData(e){if(this.append)throw new Ef.DataError("Can't get data when appending",100);let{index:l,dataForProperty:t}=this.getArrayDataAndIndexFromProperty(e);return t[l]}setData(e,l){if(this.append){let t=e[this.property];this.indicies.forEach(r=>{r!==""&&(r=+r,r===-1&&(r=t.length-1),t=t[+r])}),t.push(l)}else{let{index:t,dataForProperty:r}=this.getArrayDataAndIndexFromProperty(e);t===-1?r.push(l):r[t]=l}}delete(e){if(this.append)throw new Ef.DataError("Can't delete an appended data",10);let{index:l,dataForProperty:t}=this.getArrayDataAndIndexFromProperty(e);t.splice(l,1)}isValid(e){let{index:l,dataForProperty:t}=this.getArrayDataAndIndexFromProperty(e);return t.hasOwnProperty(l)}getArrayDataAndIndexFromProperty(e){let l=0,t=e instanceof Array?e:e[this.property]??e;if(this.indicies.length>0){l=+this.indicies[this.indicies.length-1];for(let r=0;r