From f55cbdf776709ce4074d94b7870b5aef668e7416 Mon Sep 17 00:00:00 2001 From: Asutorufa Date: Sun, 8 Dec 2024 10:13:28 +0000 Subject: [PATCH] deploy: yuhaiin/yuhaiin-react@22f2ca60044e077183484a6087f0761270d9cba3 --- 404.html | 2 +- 404/index.html | 2 +- _next/static/chunks/145-4aa1ad9d647a3b26.js | 1 - _next/static/chunks/145-ab0cc061f531c763.js | 1 + _next/static/chunks/190-d1420f9d72c25a6c.js | 1 - _next/static/chunks/30-24920e636181abd2.js | 1 - _next/static/chunks/306-29349e73fe83ddff.js | 1 + _next/static/chunks/306-9c2fa43e07009827.js | 1 - ...a5d11215f94.js => 354-013980f156d66e72.js} | 0 ...e912c3945a0.js => 424-6e400e4952135326.js} | 0 ...2b37701d9ba.js => 459-9097da3ff98ae686.js} | 0 ...edec08b9c84.js => 488-a427b20cafb1db80.js} | 2 +- ...4b1952.js => 4bd1b696-eb6158f5ed7f5a59.js} | 0 ...ec64f175aad.js => 515-078a367ea03fcd21.js} | 0 ...794e5be8168.js => 517-32c8b38339dfa304.js} | 0 _next/static/chunks/589-7b7b34f2e10734bb.js | 1 - _next/static/chunks/617-e3e007e038b8c1dd.js | 1 + ...488c98dfcc9.js => 637-3fac29710c054d67.js} | 0 _next/static/chunks/64-23ec5a52ca6e927d.js | 1 + _next/static/chunks/698-5eb69049f5e0d4be.js | 1 - _next/static/chunks/698-a1509951f078e285.js | 1 + _next/static/chunks/708-1127f0a6481dd1d1.js | 1 + _next/static/chunks/708-5382ebe623e65010.js | 1 - ...53c8c73475d.js => 734-c496d915c5550947.js} | 0 _next/static/chunks/842-dbd12b09bf73c5ea.js | 1 + _next/static/chunks/85-a8265397d271793e.js | 1 - _next/static/chunks/878-d93338077944e309.js | 1 - _next/static/chunks/878-fc77b69ce873de91.js | 1 + ...2955c0d27bf.js => 920-437e11c17ba11844.js} | 0 _next/static/chunks/942-ad247b1d65d0962a.js | 1 + ...f9cdbed3045.js => 973-738061b72a020e9b.js} | 0 ...02ff58c005c.js => 995-cbcf5fbb16c93355.js} | 0 ...bc50c792f0.js => page-3caf6542e96af4ec.js} | 0 .../bypass/block/page-c457e1cb916a91ef.js | 1 - .../bypass/block/page-fb192d608fc1d744.js | 1 + ...f3c8a8ef8b.js => page-1488909856826fdd.js} | 2 +- .../docs/bypass/test/page-686145db1ec7161a.js | 1 + .../docs/bypass/test/page-9c6bc0a6be3d6e62.js | 1 - ...461c59c69a.js => page-509794d087b66b43.js} | 2 +- .../config/inbounds/page-0f3a131858e3831e.js | 1 + .../app/docs/config/page-845708ad2c1f825b.js | 1 + .../app/docs/config/page-f53111a3dcb4b6fd.js | 1 - .../failed/page-39804777c456d55d.js | 1 - .../failed/page-66b5a422196776a0.js | 1 + ...d3b6507c6e.js => page-eac1d3e904408ca2.js} | 2 +- ...3f30e74e3d.js => page-9f2a7e7107f2cb75.js} | 2 +- .../docs/subscribe/page-d88c1a224a497f26.js | 1 + .../docs/subscribe/page-eb19d9231fd15db8.js | 1 - ...005204e660.js => page-04517e64717f0b62.js} | 2 +- .../app/docs/webui/page-270cf575227966d0.js | 1 + .../app/docs/webui/page-e8832e3fc1a27bb9.js | 1 - .../chunks/app/layout-77724a14572beb8f.js | 1 + .../chunks/app/layout-d20271b6b82658d2.js | 1 - .../chunks/app/page-cd8ceb46434cab59.js | 1 + .../chunks/app/page-ce72e95b123fd554.js | 1 - .../eOvjEsjnQR-Ccz1EF9LrW/_buildManifest.js | 1 - .../nQG_DQuYhCBnG9bq3TXyB/_buildManifest.js | 1 + .../_ssgManifest.js | 0 docs/bypass/block/index.html | 2 +- docs/bypass/block/index.txt | 6 +++--- docs/bypass/index.html | 2 +- docs/bypass/index.txt | 6 +++--- docs/bypass/test/index.html | 2 +- docs/bypass/test/index.txt | 6 +++--- docs/config/about/index.html | 2 +- docs/config/about/index.txt | 6 +++--- docs/config/inbounds/index.html | 1 + docs/config/inbounds/index.txt | 20 +++++++++++++++++++ docs/config/index.html | 2 +- docs/config/index.txt | 6 +++--- docs/connections/failed/index.html | 2 +- docs/connections/failed/index.txt | 6 +++--- docs/connections/index.html | 2 +- docs/connections/index.txt | 6 +++--- docs/group/index.html | 2 +- docs/group/index.txt | 6 +++--- docs/subscribe/index.html | 2 +- docs/subscribe/index.txt | 6 +++--- docs/tag/index.html | 2 +- docs/tag/index.txt | 6 +++--- docs/webui/index.html | 2 +- docs/webui/index.txt | 6 +++--- index.html | 2 +- index.txt | 6 +++--- 84 files changed, 96 insertions(+), 74 deletions(-) delete mode 100644 _next/static/chunks/145-4aa1ad9d647a3b26.js create mode 100644 _next/static/chunks/145-ab0cc061f531c763.js delete mode 100644 _next/static/chunks/190-d1420f9d72c25a6c.js delete mode 100644 _next/static/chunks/30-24920e636181abd2.js create mode 100644 _next/static/chunks/306-29349e73fe83ddff.js delete mode 100644 _next/static/chunks/306-9c2fa43e07009827.js rename _next/static/chunks/{354-d4c08a5d11215f94.js => 354-013980f156d66e72.js} (100%) rename _next/static/chunks/{424-975e1e912c3945a0.js => 424-6e400e4952135326.js} (100%) rename _next/static/chunks/{459-bbe022b37701d9ba.js => 459-9097da3ff98ae686.js} (100%) rename _next/static/chunks/{235-deda7edec08b9c84.js => 488-a427b20cafb1db80.js} (75%) rename _next/static/chunks/{4bd1b696-84493c4b004b1952.js => 4bd1b696-eb6158f5ed7f5a59.js} (100%) rename _next/static/chunks/{515-a5462ec64f175aad.js => 515-078a367ea03fcd21.js} (100%) rename _next/static/chunks/{517-eb4ef794e5be8168.js => 517-32c8b38339dfa304.js} (100%) delete mode 100644 _next/static/chunks/589-7b7b34f2e10734bb.js create mode 100644 _next/static/chunks/617-e3e007e038b8c1dd.js rename _next/static/chunks/{637-a8591488c98dfcc9.js => 637-3fac29710c054d67.js} (100%) create mode 100644 _next/static/chunks/64-23ec5a52ca6e927d.js delete mode 100644 _next/static/chunks/698-5eb69049f5e0d4be.js create mode 100644 _next/static/chunks/698-a1509951f078e285.js create mode 100644 _next/static/chunks/708-1127f0a6481dd1d1.js delete mode 100644 _next/static/chunks/708-5382ebe623e65010.js rename _next/static/chunks/{734-eb56453c8c73475d.js => 734-c496d915c5550947.js} (100%) create mode 100644 _next/static/chunks/842-dbd12b09bf73c5ea.js delete mode 100644 _next/static/chunks/85-a8265397d271793e.js delete mode 100644 _next/static/chunks/878-d93338077944e309.js create mode 100644 _next/static/chunks/878-fc77b69ce873de91.js rename _next/static/chunks/{920-ab0772955c0d27bf.js => 920-437e11c17ba11844.js} (100%) create mode 100644 _next/static/chunks/942-ad247b1d65d0962a.js rename _next/static/chunks/{973-efe49f9cdbed3045.js => 973-738061b72a020e9b.js} (100%) rename _next/static/chunks/{995-7765502ff58c005c.js => 995-cbcf5fbb16c93355.js} (100%) rename _next/static/chunks/app/_not-found/{page-7c6be9bc50c792f0.js => page-3caf6542e96af4ec.js} (100%) delete mode 100644 _next/static/chunks/app/docs/bypass/block/page-c457e1cb916a91ef.js create mode 100644 _next/static/chunks/app/docs/bypass/block/page-fb192d608fc1d744.js rename _next/static/chunks/app/docs/bypass/{page-e11f37f3c8a8ef8b.js => page-1488909856826fdd.js} (72%) create mode 100644 _next/static/chunks/app/docs/bypass/test/page-686145db1ec7161a.js delete mode 100644 _next/static/chunks/app/docs/bypass/test/page-9c6bc0a6be3d6e62.js rename _next/static/chunks/app/docs/config/about/{page-eebca1461c59c69a.js => page-509794d087b66b43.js} (98%) create mode 100644 _next/static/chunks/app/docs/config/inbounds/page-0f3a131858e3831e.js create mode 100644 _next/static/chunks/app/docs/config/page-845708ad2c1f825b.js delete mode 100644 _next/static/chunks/app/docs/config/page-f53111a3dcb4b6fd.js delete mode 100644 _next/static/chunks/app/docs/connections/failed/page-39804777c456d55d.js create mode 100644 _next/static/chunks/app/docs/connections/failed/page-66b5a422196776a0.js rename _next/static/chunks/app/docs/connections/{page-2be128d3b6507c6e.js => page-eac1d3e904408ca2.js} (99%) rename _next/static/chunks/app/docs/group/{page-9b915b3f30e74e3d.js => page-9f2a7e7107f2cb75.js} (79%) create mode 100644 _next/static/chunks/app/docs/subscribe/page-d88c1a224a497f26.js delete mode 100644 _next/static/chunks/app/docs/subscribe/page-eb19d9231fd15db8.js rename _next/static/chunks/app/docs/tag/{page-3749ef005204e660.js => page-04517e64717f0b62.js} (60%) create mode 100644 _next/static/chunks/app/docs/webui/page-270cf575227966d0.js delete mode 100644 _next/static/chunks/app/docs/webui/page-e8832e3fc1a27bb9.js create mode 100644 _next/static/chunks/app/layout-77724a14572beb8f.js delete mode 100644 _next/static/chunks/app/layout-d20271b6b82658d2.js create mode 100644 _next/static/chunks/app/page-cd8ceb46434cab59.js delete mode 100644 _next/static/chunks/app/page-ce72e95b123fd554.js delete mode 100644 _next/static/eOvjEsjnQR-Ccz1EF9LrW/_buildManifest.js create mode 100644 _next/static/nQG_DQuYhCBnG9bq3TXyB/_buildManifest.js rename _next/static/{eOvjEsjnQR-Ccz1EF9LrW => nQG_DQuYhCBnG9bq3TXyB}/_ssgManifest.js (100%) create mode 100644 docs/config/inbounds/index.html create mode 100644 docs/config/inbounds/index.txt diff --git a/404.html b/404.html index 7a6c02e0..6992a01c 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Yuhaiin404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +Yuhaiin404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 7a6c02e0..6992a01c 100644 --- a/404/index.html +++ b/404/index.html @@ -1 +1 @@ -Yuhaiin404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +Yuhaiin404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/chunks/145-4aa1ad9d647a3b26.js b/_next/static/chunks/145-4aa1ad9d647a3b26.js deleted file mode 100644 index fe6e3e19..00000000 --- a/_next/static/chunks/145-4aa1ad9d647a3b26.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[145],{9169:(A,c,l)=>{l.d(c,{A:()=>W});var b=l(5155),d=l(4216),Z=l(5554),g=l.n(Z);let W=function(A){return(0,b.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==A.children&&(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(g(),{className:"p2",statusCode:void 0!==A.code?A.code:500,title:A.children})}),(0,b.jsx)("div",{className:"p2",children:(0,b.jsx)(d.A,{})})]})}},9969:(A,c,l)=>{l.d(c,{JN:()=>n,tA:()=>m,X2:()=>C,p8:()=>o,bT:()=>a,hf:()=>E,BS:()=>h,q:()=>Y});var b=l(6788),d=l(8123),Z=l(9297),g=l(1936),W=l(2049),G=l(4601),R=l(1649);let B=(0,b.w)("Cg9ub2RlL25vZGUucHJvdG8SDHl1aGFpaW4ubm9kZSLpAQoEbm9kZRIhCgN0Y3AYBCABKAsyFC55dWhhaWluLnBvaW50LnBvaW50EiEKA3VkcBgFIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSLAoFbGlua3MYAiADKAsyHS55dWhhaWluLm5vZGUubm9kZS5MaW5rc0VudHJ5EiYKB21hbmFnZXIYAyABKAsyFS55dWhhaWluLm5vZGUubWFuYWdlchpFCgpMaW5rc0VudHJ5EgsKA2tleRgBIAEoCRImCgV2YWx1ZRgCIAEoCzIXLnl1aGFpaW4uc3Vic2NyaWJlLmxpbms6AjgBInkKBW5vZGVzEkAKB25vZGVzVjIYAyADKAsyIC55dWhhaWluLm5vZGUubm9kZXMuTm9kZXNWMkVudHJ5Ug1ub2RlX2hhc2hfbWFwGi4KDE5vZGVzVjJFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIvsCCgdtYW5hZ2VyEkYKCGdyb3Vwc1YyGAIgAygLMiMueXVoYWlpbi5ub2RlLm1hbmFnZXIuR3JvdXBzVjJFbnRyeVIPZ3JvdXBfbm9kZXNfbWFwEi8KBW5vZGVzGAMgAygLMiAueXVoYWlpbi5ub2RlLm1hbmFnZXIuTm9kZXNFbnRyeRItCgR0YWdzGAQgAyg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dXBwb3J0Q2hhbmdlUG9ydBAGQjZaNGdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL2xhdGVuY3liBnByb3RvMw",[Z.U]),W=(0,d.Z)(g,0),G=(0,d.Z)(g,2),R=(0,d.Z)(g,3),B=(0,d.Z)(g,5),u=(0,d.Z)(g,7),I=(0,d.Z)(g,9),o=(0,d.Z)(g,10);var Y=function(A){return A[A.NAT_UNKNOWN=0]="NAT_UNKNOWN",A[A.NAT_NO_RESULT=1]="NAT_NO_RESULT",A[A.NAT_EndpointIndependentNoNAT=2]="NAT_EndpointIndependentNoNAT",A[A.NAT_EndpointIndependent=3]="NAT_EndpointIndependent",A[A.NAT_AddressDependent=4]="NAT_AddressDependent",A[A.NAT_AddressAndPortDependent=5]="NAT_AddressAndPortDependent",A[A.NAT_ServerNotSupportChangePort=6]="NAT_ServerNotSupportChangePort",A}({})},2049:(A,c,l)=>{l.d(c,{AB:()=>g,Ac:()=>W,TG:()=>G});var b=l(6788),d=l(8123),Z=l(1703);let g=(0,b.w)("ChZub2RlL3BvaW50L3BvaW50LnByb3RvEg15dWhhaWluLnBvaW50IogBCgVwb2ludBIMCgRoYXNoGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFZ3JvdXAYAyABKAkSJQoGb3JpZ2luGAQgASgOMhUueXVoYWlpbi5wb2ludC5vcmlnaW4SLQoJcHJvdG9jb2xzGAUgAygLMhoueXVoYWlpbi5wcm90b2NvbC5wcm90b2NvbCotCgZvcmlnaW4SCwoHcmVzZXJ2ZRAAEgoKBnJlbW90ZRBlEgoKBm1hbnVhbBBmQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3BvaW50YgZwcm90bzM",[Z.a3]),W=(0,d.Z)(g,0);var G=function(A){return A[A.reserve=0]="reserve",A[A.remote=101]="remote",A[A.manual=102]="manual",A}({})},1703:(A,c,l)=>{l.d(c,{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.Z)(Z,6),o=(0,d.Z)(Z,7),Y=(0,d.Z)(Z,8),C=(0,d.Z)(Z,9),a=(0,d.Z)(Z,10),m=(0,d.Z)(Z,11),n=(0,d.Z)(Z,12),E=(0,d.Z)(Z,13),h=(0,d.Z)(Z,14),V=(0,d.Z)(Z,15),X=(0,d.Z)(Z,16),S=(0,d.Z)(Z,17),N=(0,d.Z)(Z,18),v=(0,d.Z)(Z,20),J=(0,d.Z)(Z,21),y=(0,d.Z)(Z,22),F=(0,d.Z)(Z,23),L=(0,d.Z)(Z,24)},4601:(A,c,l)=>{l.d(c,{NW:()=>W,YJ:()=>Z,Yk:()=>g});var b=l(6788),d=l(8123);let Z=(0,b.w)("Ch5ub2RlL3N1YnNjcmliZS9zdWJzY3JpYmUucHJvdG8SEXl1aGFpaW4uc3Vic2NyaWJlIkgKBGxpbmsSDAoEbmFtZRgBIAEoCRIlCgR0eXBlGAIgASgOMhcueXVoYWlpbi5zdWJzY3JpYmUudHlwZRILCgN1cmwYAyABKAkqTQoEdHlwZRILCgdyZXNlcnZlEAASCgoGdHJvamFuEAESCQoFdm1lc3MQAhIPCgtzaGFkb3dzb2NrcxADEhAKDHNoYWRvd3NvY2tzchAEQjhaNmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3N1YnNjcmliZWIGcHJvdG8z"),g=(0,d.Z)(Z,0);var W=function(A){return A[A.reserve=0]="reserve",A[A.trojan=1]="trojan",A[A.vmess=2]="vmess",A[A.shadowsocks=3]="shadowsocks",A[A.shadowsocksr=4]="shadowsocksr",A}({})},1649:(A,c,l)=>{l.d(c,{Y$:()=>Z,mm:()=>W,xN:()=>g});var b=l(6788),d=l(8123);let Z=(0,b.w)("ChJub2RlL3RhZy90YWcucHJvdG8SC3l1aGFpaW4udGFnIkYKBHRhZ3MSCwoDdGFnGAEgASgJEiMKBHR5cGUYAyABKA4yFS55dWhhaWluLnRhZy50YWdfdHlwZRIMCgRoYXNoGAIgAygJKiAKCHRhZ190eXBlEggKBG5vZGUQABIKCgZtaXJyb3IQAUIyWjBnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvbm9kZS90YWdiBnByb3RvMw"),g=(0,d.Z)(Z,0);var W=function(A){return A[A.node=0]="node",A[A.mirror=1]="mirror",A}({})}}]); \ No newline at end of file diff --git a/_next/static/chunks/145-ab0cc061f531c763.js b/_next/static/chunks/145-ab0cc061f531c763.js new file mode 100644 index 00000000..5466776a --- /dev/null +++ b/_next/static/chunks/145-ab0cc061f531c763.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[145],{9169:(A,c,l)=>{l.d(c,{A:()=>W});var b=l(5155),d=l(4216),Z=l(5554),g=l.n(Z);let W=function(A){return(0,b.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==A.children&&(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(g(),{className:"p2",statusCode:void 0!==A.code?A.code:500,title:A.children})}),(0,b.jsx)("div",{className:"p2",children:(0,b.jsx)(d.A,{})})]})}},9969:(A,c,l)=>{l.d(c,{JN:()=>n,tA:()=>m,rH:()=>V,X2:()=>C,bT:()=>a,hf:()=>E,BS:()=>h,q:()=>Y});var b=l(6788),d=l(8123),Z=l(4395),g=l(9297),W=l(1936),G=l(2049),R=l(4601),B=l(1649);let u=(0,b.w)("Cg9ub2RlL25vZGUucHJvdG8SDHl1aGFpaW4ubm9kZSLpAQoEbm9kZRIhCgN0Y3AYBCABKAsyFC55dWhhaWluLnBvaW50LnBvaW50EiEKA3VkcBgFIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSLAoFbGlua3MYAiADKAsyHS55dWhhaWluLm5vZGUubm9kZS5MaW5rc0VudHJ5EiYKB21hbmFnZXIYAyABKAsyFS55dWhhaWluLm5vZGUubWFuYWdlchpFCgpMaW5rc0VudHJ5EgsKA2tleRgBI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YASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25IABIqCgJpcBgCIAEoCzIcLnl1aGFpaW4ubGF0ZW5jeS5pcF9yZXNwb25zZUgAEi4KBHN0dW4YAyABKAsyHi55dWhhaWluLmxhdGVuY3kuc3R1bl9yZXNwb25zZUgAQgcKBXJlcGx5KswBCghuYXRfdHlwZRIPCgtOQVRfVU5LTk9XThAAEhEKDU5BVF9OT19SRVNVTFQQARIgChxOQVRfRW5kcG9pbnRJbmRlcGVuZGVudE5vTkFUEAISGwoXTkFUX0VuZHBvaW50SW5kZXBlbmRlbnQQAxIYChROQVRfQWRkcmVzc0RlcGVuZGVudBAEEh8KG05BVF9BZGRyZXNzQW5kUG9ydERlcGVuZGVudBAFEiIKHk5BVF9TZXJ2ZXJOb3RTdXBwb3J0Q2hhbmdlUG9ydBAGQjZaNGdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL2xhdGVuY3liBnByb3RvMw",[Z.U]),W=(0,d.Z)(g,0),G=(0,d.Z)(g,2),R=(0,d.Z)(g,3),B=(0,d.Z)(g,5),u=(0,d.Z)(g,7),I=(0,d.Z)(g,9),o=(0,d.Z)(g,10);var Y=function(A){return A[A.NAT_UNKNOWN=0]="NAT_UNKNOWN",A[A.NAT_NO_RESULT=1]="NAT_NO_RESULT",A[A.NAT_EndpointIndependentNoNAT=2]="NAT_EndpointIndependentNoNAT",A[A.NAT_EndpointIndependent=3]="NAT_EndpointIndependent",A[A.NAT_AddressDependent=4]="NAT_AddressDependent",A[A.NAT_AddressAndPortDependent=5]="NAT_AddressAndPortDependent",A[A.NAT_ServerNotSupportChangePort=6]="NAT_ServerNotSupportChangePort",A}({})},2049:(A,c,l)=>{l.d(c,{AB:()=>g,Ac:()=>W,TG:()=>G});var b=l(6788),d=l(8123),Z=l(1703);let g=(0,b.w)("ChZub2RlL3BvaW50L3BvaW50LnByb3RvEg15dWhhaWluLnBvaW50IogBCgVwb2ludBIMCgRoYXNoGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFZ3JvdXAYAyABKAkSJQoGb3JpZ2luGAQgASgOMhUueXVoYWlpbi5wb2ludC5vcmlnaW4SLQoJcHJvdG9jb2xzGAUgAygLMhoueXVoYWlpbi5wcm90b2NvbC5wcm90b2NvbCotCgZvcmlnaW4SCwoHcmVzZXJ2ZRAAEgoKBnJlbW90ZRBlEgoKBm1hbnVhbBBmQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3BvaW50YgZwcm90bzM",[Z.a3]),W=(0,d.Z)(g,0);var G=function(A){return A[A.reserve=0]="reserve",A[A.remote=101]="remote",A[A.manual=102]="manual",A}({})},1703:(A,c,l)=>{l.d(c,{AK:()=>W,BP:()=>a,E_:()=>m,F7:()=>h,GL:()=>y,K0:()=>E,Qi:()=>S,SD:()=>Y,UM:()=>G,X_:()=>o,YZ:()=>V,_1:()=>g,a3:()=>Z,bw:()=>N,fO:()=>v,g2:()=>F,g3:()=>J,gE:()=>L,hX:()=>B,lA:()=>C,ql:()=>u,s2:()=>I,sT:()=>X,sn:()=>n,t0:()=>R});var b=l(6788),d=l(8123);let Z=(0,b.w)("Chxub2RlL3Byb3RvY29sL3Byb3RvY29sLnByb3RvEhB5dWhhaWluLnByb3RvY29sIvoHCghwcm90b2NvbBI0CgtzaGFkb3dzb2NrcxgBIAEoCzIdLnl1aGFpaW4ucHJvdG9jb2wuc2hhZG93c29ja3NIABI2CgxzaGFkb3dzb2Nrc3IYAiABKAsyHi55dWhhaWluLnByb3RvY29sLnNoYWRvd3NvY2tzckgAEigKBXZtZXNzGAMgASgLMhcueXVoYWlpbi5wcm90b2NvbC52bWVzc0gAEjAKCXdlYnNvY2tldBgEIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wud2Vic29ja2V0SAASJgoEcXVpYxgFIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wucXVpY0gAEjsKCW9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chAEQjhaNmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3N1YnNjcmliZWIGcHJvdG8z"),g=(0,d.Z)(Z,0);var W=function(A){return A[A.reserve=0]="reserve",A[A.trojan=1]="trojan",A[A.vmess=2]="vmess",A[A.shadowsocks=3]="shadowsocks",A[A.shadowsocksr=4]="shadowsocksr",A}({})},1649:(A,c,l)=>{l.d(c,{Y$:()=>Z,mm:()=>W,xN:()=>g});var b=l(6788),d=l(8123);let Z=(0,b.w)("ChJub2RlL3RhZy90YWcucHJvdG8SC3l1aGFpaW4udGFnIkYKBHRhZ3MSCwoDdGFnGAEgASgJEiMKBHR5cGUYAyABKA4yFS55dWhhaWluLnRhZy50YWdfdHlwZRIMCgRoYXNoGAIgAygJKiAKCHRhZ190eXBlEggKBG5vZGUQABIKCgZtaXJyb3IQAUIyWjBnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvbm9kZS90YWdiBnByb3RvMw"),g=(0,d.Z)(Z,0);var W=function(A){return A[A.node=0]="node",A[A.mirror=1]="mirror",A}({})}}]); \ No newline at end of file diff --git a/_next/static/chunks/190-d1420f9d72c25a6c.js b/_next/static/chunks/190-d1420f9d72c25a6c.js deleted file mode 100644 index 7d324450..00000000 --- a/_next/static/chunks/190-d1420f9d72c25a6c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[190],{9693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(306),a=r(5155),l=n._(r(2115)),d=n._(r(6107)),o={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let i={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||o[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:i.error,children:[(0,a.jsx)(d.default,{children:(0,a.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,a.jsxs)("div",{style:i.desc,children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,a.jsx)("h1",{className:"next-error-h1",style:i.h1,children:e}):null,(0,a.jsx)("div",{style:i.wrap,children:(0,a.jsxs)("h2",{style:i.h2,children:[this.props.title||e?r:(0,a.jsx)(a.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(306)._(r(2115)).default.createContext({})},675:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},6107:(e,t,r)=>{"use strict";var n=r(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},defaultHead:function(){return f}});let a=r(306),l=r(9955),d=r(5155),o=l._(r(2115)),s=a._(r(1172)),i=r(3003),c=r(1147),u=r(675);function f(e){void 0===e&&(e=!1);let t=[(0,d.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,d.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2363);let m=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let l=!0,d=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){d=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?l=!1:t.add(a.type);break;case"meta":for(let e=0,t=m.length;e{let a=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:a})})}let y=function(e){let{children:t}=e,r=(0,o.useContext)(i.AmpStateContext),n=(0,o.useContext)(c.HeadManagerContext);return(0,d.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,u.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(2115),a="undefined"==typeof window,l=a?()=>{}:n.useLayoutEffect,d=a?()=>{}:n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),o()}return l(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),l(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),d(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,r)=>{e.exports=r(9693)},2981:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(4617),a=r.n(n),l=r(2115),d=r(1653),o=r(5155);let s=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-body"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});s.displayName="CardBody";let i=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-footer"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});i.displayName="CardFooter";var c=r(7251);let u=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,as:s="div",...i}=e,u=(0,d.oU)(r,"card-header"),f=(0,l.useMemo)(()=>({cardHeaderBsPrefix:u}),[u]);return(0,o.jsx)(c.A.Provider,{value:f,children:(0,o.jsx)(s,{ref:t,...i,className:a()(n,u)})})});u.displayName="CardHeader";let f=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,variant:l,as:s="img",...i}=e,c=(0,d.oU)(r,"card-img");return(0,o.jsx)(s,{ref:t,className:a()(l?"".concat(c,"-").concat(l):c,n),...i})});f.displayName="CardImg";let p=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-img-overlay"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});p.displayName="CardImgOverlay";let m=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="a",...s}=e;return n=(0,d.oU)(n,"card-link"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});m.displayName="CardLink";var h=r(7449);let y=(0,h.A)("h6"),b=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l=y,...s}=e;return n=(0,d.oU)(n,"card-subtitle"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});b.displayName="CardSubtitle";let g=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="p",...s}=e;return n=(0,d.oU)(n,"card-text"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});g.displayName="CardText";let v=(0,h.A)("h5"),x=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l=v,...s}=e;return n=(0,d.oU)(n,"card-title"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});x.displayName="CardTitle";let j=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,bg:l,text:i,border:c,body:u=!1,children:f,as:p="div",...m}=e,h=(0,d.oU)(r,"card");return(0,o.jsx)(p,{ref:t,...m,className:a()(n,h,l&&"bg-".concat(l),i&&"text-".concat(i),c&&"border-".concat(c)),children:u?(0,o.jsx)(s,{children:f}):f})});j.displayName="Card";let _=Object.assign(j,{Img:f,Title:x,Subtitle:b,Body:s,Link:m,Text:g,Header:u,Footer:i,ImgOverlay:p})},7251:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let n=r(2115).createContext(null);n.displayName="CardHeaderContext";let a=n},4216:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(4617),a=r.n(n),l=r(2115),d=r(1653),o=r(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:r,variant:n,animation:l="border",size:s,as:i="div",className:c,...u}=e;r=(0,d.oU)(r,"spinner");let f="".concat(r,"-").concat(l);return(0,o.jsx)(i,{ref:t,...u,className:a()(c,f,s&&"".concat(f,"-").concat(s),n&&"text-".concat(n))})});s.displayName="Spinner";let i=s},7449:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2115),a=r(4617),l=r.n(a),d=r(5155);let o=e=>n.forwardRef((t,r)=>(0,d.jsx)("div",{...t,ref:r,className:l()(t.className,e)}))},3620:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n=(0,r(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}}]); \ No newline at end of file diff --git a/_next/static/chunks/30-24920e636181abd2.js b/_next/static/chunks/30-24920e636181abd2.js deleted file mode 100644 index 01b5109a..00000000 --- a/_next/static/chunks/30-24920e636181abd2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{3360:(e,n,t)=>{t.d(n,{A:()=>m});var r=t(4617),i=t.n(r),a=t(2115),s=t(6647),o=t(9814),l=t(1653),c=t(1668),u=t(7251),d=t(5155);let f=a.forwardRef((e,n)=>{let{className:t,bsPrefix:r,as:a="div",...s}=e;return r=(0,l.oU)(r,"nav-item"),(0,d.jsx)(a,{ref:n,className:i()(t,r),...s})});f.displayName="NavItem";var b=t(5748);let h=a.forwardRef((e,n)=>{let t,r;let{as:f="div",bsPrefix:b,variant:h,fill:m=!1,justify:v=!1,navbar:g,navbarScroll:p,className:E,activeKey:x,...y}=(0,s.Zw)(e,{activeKey:"onSelect"}),A=(0,l.oU)(b,"nav"),L=!1,O=(0,a.useContext)(c.A),C=(0,a.useContext)(u.A);return O?(t=O.bsPrefix,L=null==g||g):C&&({cardHeaderBsPrefix:r}=C),(0,d.jsx)(o.A,{as:f,ref:n,activeKey:x,className:i()(E,{[A]:!L,["".concat(t,"-nav")]:L,["".concat(t,"-nav-scroll")]:L&&p,["".concat(r,"-").concat(h)]:!!r,["".concat(A,"-").concat(h)]:!!h,["".concat(A,"-fill")]:m,["".concat(A,"-justified")]:v}),...y})});h.displayName="Nav";let m=Object.assign(h,{Item:f,Link:b.A})},5748:(e,n,t)=>{t.d(n,{A:()=>f});var r=t(4617),i=t.n(r),a=t(2115),s=t(9656),o=t(3973),l=t(7644),c=t(1653),u=t(5155);let d=a.forwardRef((e,n)=>{let{bsPrefix:t,className:r,as:a=s.A,active:d,eventKey:f,disabled:b=!1,...h}=e;t=(0,c.oU)(t,"nav-link");let[m,v]=(0,o.M)({key:(0,l.u)(f,h.href),active:d,disabled:b,...h});return(0,u.jsx)(a,{...h,...m,ref:n,disabled:b,className:i()(r,t,b&&"disabled",v.isActive&&"active")})});d.displayName="NavLink";let f=d},7471:(e,n,t)=>{t.d(n,{A:()=>N});var r=t(1996),i=t.n(r),a=t(2115),s=t(1079),o=t(1632),l=t(8419),c=t(7644),u=t(7498),d=t(5155);let f=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],b=["activeKey","getControlledId","getControllerId"],h=["as"];function m(e,n){if(null==e)return{};var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}function v(e){let{active:n,eventKey:t,mountOnEnter:r,transition:i,unmountOnExit:s,role:o="tabpanel",onEnter:u,onEntering:d,onEntered:h,onExit:v,onExiting:g,onExited:p}=e,E=m(e,f),x=(0,a.useContext)(l.A);if(!x)return[Object.assign({},E,{role:o}),{eventKey:t,isActive:n,mountOnEnter:r,transition:i,unmountOnExit:s,onEnter:u,onEntering:d,onEntered:h,onExit:v,onExiting:g,onExited:p}];let{activeKey:y,getControlledId:A,getControllerId:L}=x,O=m(x,b),C=(0,c.u)(t);return[Object.assign({},E,{role:o,id:A(t),"aria-labelledby":L(t)}),{eventKey:t,isActive:null==n&&null!=C?(0,c.u)(y)===C:n,transition:i||O.transition,mountOnEnter:null!=r?r:O.mountOnEnter,unmountOnExit:null!=s?s:O.unmountOnExit,onEnter:u,onEntering:d,onEntered:h,onExit:v,onExiting:g,onExited:p}]}let g=a.forwardRef((e,n)=>{let{as:t="div"}=e,[r,{isActive:i,onEnter:a,onEntering:s,onEntered:o,onExit:f,onExiting:b,onExited:g,mountOnEnter:p,unmountOnExit:E,transition:x=u.A}]=v(m(e,h));return(0,d.jsx)(l.A.Provider,{value:null,children:(0,d.jsx)(c.A.Provider,{value:null,children:(0,d.jsx)(x,{in:i,onEnter:a,onEntering:s,onEntered:o,onExit:f,onExiting:b,onExited:g,mountOnEnter:p,unmountOnExit:E,children:(0,d.jsx)(t,Object.assign({},r,{ref:n,hidden:!i,"aria-hidden":!i}))})})})});g.displayName="TabPanel";let p=e=>{let{id:n,generateChildId:t,onSelect:r,activeKey:i,defaultActiveKey:u,transition:f,mountOnEnter:b,unmountOnExit:h,children:m}=e,[v,g]=(0,s.iC)(i,u,r),p=(0,o.Cc)(n),E=(0,a.useMemo)(()=>t||((e,n)=>p?`${p}-${n}-${e}`:null),[p,t]),x=(0,a.useMemo)(()=>({onSelect:g,activeKey:v,transition:f,mountOnEnter:b||!1,unmountOnExit:h||!1,getControlledId:e=>E(e,"tabpane"),getControllerId:e=>E(e,"tab")}),[g,v,f,b,h,E]);return(0,d.jsx)(l.A.Provider,{value:x,children:(0,d.jsx)(c.A.Provider,{value:g||null,children:m})})};p.Panel=g;var E=t(3281);function x(e){return"boolean"==typeof e?e?E.A:u.A:e}let y=e=>{let{transition:n,...t}=e;return(0,d.jsx)(p,{...t,transition:x(n)})};y.displayName="TabContainer";var A=t(4617),L=t.n(A),O=t(1653);let C=a.forwardRef((e,n)=>{let{className:t,bsPrefix:r,as:i="div",...a}=e;return r=(0,O.oU)(r,"tab-content"),(0,d.jsx)(i,{ref:n,className:L()(t,r),...a})});C.displayName="TabContent";let w=a.forwardRef((e,n)=>{let{bsPrefix:t,transition:r,...i}=e,[{className:a,as:s="div",...o},{isActive:u,onEnter:f,onEntering:b,onEntered:h,onExit:m,onExiting:g,onExited:p,mountOnEnter:y,unmountOnExit:A,transition:C=E.A}]=v({...i,transition:x(r)}),w=(0,O.oU)(t,"tab-pane");return(0,d.jsx)(l.A.Provider,{value:null,children:(0,d.jsx)(c.A.Provider,{value:null,children:(0,d.jsx)(C,{in:u,onEnter:f,onEntering:b,onEntered:h,onExit:m,onExiting:g,onExited:p,mountOnEnter:y,unmountOnExit:A,children:(0,d.jsx)(s,{...o,ref:n,className:L()(a,w,u&&"active")})})})})});w.displayName="TabPane";let j={eventKey:i().oneOfType([i().string,i().number]),title:i().node.isRequired,disabled:i().bool,tabClassName:i().string,tabAttrs:i().object},k=()=>{throw Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};k.propTypes=j;let N=Object.assign(k,{Container:y,Content:C,Pane:w})},8627:(e,n,t)=>{t.d(n,{A:()=>d});var r=t(4617),i=t.n(r),a=t(2115),s=t(1653),o=t(2963),l=t(5155);let c=()=>void 0,u=a.forwardRef((e,n)=>{let{bsPrefix:t,name:r,className:a,checked:u,type:d,onChange:f,value:b,disabled:h,id:m,inputRef:v,...g}=e;return t=(0,s.oU)(t,"btn-check"),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("input",{className:t,name:r,type:d,value:b,ref:v,autoComplete:"off",checked:!!u,disabled:!!h,onChange:f||c,id:m}),(0,l.jsx)(o.A,{...g,ref:n,className:i()(a,h&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:m})]})});u.displayName="ToggleButton";let d=u},5166:(e,n,t)=>{t.d(n,{A:()=>f});var r=t(2115),i=t(7989),a=t.n(i),s=t(6647),o=t(4309),l=t(822),c=t(3614),u=t(8627),d=t(5155);let f=Object.assign(r.forwardRef((e,n)=>{let{children:t,type:i="radio",name:u,value:f,onChange:b,vertical:h=!1,...m}=(0,s.Zw)(e,{value:"onChange"}),v=()=>null==f?[]:[].concat(f),g=(e,n)=>{if(!b)return;let t=v(),r=-1!==t.indexOf(e);if("radio"===i){r||b(e,n);return}r?b(t.filter(n=>n!==e),n):b([...t,e],n)};return"radio"!==i||u||a()(!1),(0,d.jsx)(c.A,{...m,ref:n,vertical:h,children:(0,l.Tj)(t,e=>{let n=v(),{value:t,onChange:a}=e.props;return r.cloneElement(e,{type:i,name:e.name||u,checked:-1!==n.indexOf(t),onChange:(0,o.A)(a,e=>g(t,e))})})})}),{Button:u.A})},4309:(e,n,t)=>{t.d(n,{A:()=>r});let r=function(){for(var e=arguments.length,n=Array(e),t=0;tnull!=e).reduce((e,n)=>{if("function"!=typeof n)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?n:function(){for(var t=arguments.length,r=Array(t),i=0;i{class t{constructor(e){this.i=0,this.string=e,this.whitespace=" \r\n",this.quotes="'\"",this.escapes="\\",this.escapedQuotes='"',this.ansiCQuotes=!0,this.localeQuotes=!0,this.debug=!1}readChar(){return this.string.charAt(this.i++)}processEscapes(e,n,t){if(!t&&!this.escapedQuotes.includes(n))return e;let r="["+this.escapes.replace(/(.)/g,"\\$1")+"]";if(!t&&this.escapedQuotes.includes(n)){let t=RegExp(r+"("+r+"|\\"+n+")","g");return e.replace(t,"$1")}if(t){let n={"([\\\\'\"?])":e=>e,a:()=>"\x07",b:()=>"\b","e|E":()=>"\x1b",f:()=>"\f",n:()=>"\n",r:()=>"\r",t:()=>" ",v:()=>"\v","([0-7]{1,3})":e=>String.fromCharCode(parseInt(e,8)),"x([0-9a-fA-F]{1,2})":e=>String.fromCharCode(parseInt(e,16)),"u([0-9a-fA-F]{1,4})":e=>String.fromCharCode(parseInt(e,16)),"U([0-9a-fA-F]{1,8})":e=>String.fromCharCode(parseInt(e,16)),"c(.)":e=>"?"===e?"\x7f":"@"===e?"\0":String.fromCharCode(31&e.charCodeAt(0))},t=RegExp(r+"("+Object.keys(n).join("|")+")","g");return e.replace(t,function(e,t){for(let e in n){let r=RegExp("^"+e+"$").exec(t);if(null!==r)return n[e].apply(null,r.slice(1))}})}}*[Symbol.iterator](){let e,n=!1,t=!1,r=!1,i=-2;for(this.debug&&console.log("full input:",">"+this.string+"<");;){let a=this.i,s=this.readChar();if(this.debug&&console.log("position:",a,"input:",">"+s+"<","accumulated:",e,"inQuote:",n,"inDollarQuote:",t,"lastDollar:",i,"escaped:",r),""===s){if(n)throw Error("Got EOF while in a quoted string");if(r)throw Error("Got EOF while in an escape sequence");void 0!==e&&(yield e);return}if(r){"\n"===s||(e=n?(e||"")+r+s:(e||"")+s),r=!1;continue}if(this.escapes.includes(s)&&(!n||!1!==t||this.escapedQuotes.includes(n))){r=s;continue}if(!1!==n){if(s===n){e=this.processEscapes(e,n,"'"===t),n=!1,t=!1;continue}e=(e||"")+s;continue}if(this.quotes.includes(s)){n=s,i===a-1&&("'"!==s||this.ansiCQuotes)&&('"'!==s||this.localeQuotes)&&(t=s),e=e||"",!1!==t&&(e=e.slice(0,-1));continue}if(!1===n&&"$"===s&&(i=a),this.whitespace.includes(s)){void 0!==e&&(yield e),e=void 0;continue}e=(e||"")+s}}}n.lD=function(e){return Array.from(new t(e))},n.hD=function(e){return""===e?"''":/[^\w@%\-+=:,./]/.test(e)?("'"+e.replace(/('+)/g,"'\"$1\"'")+"'").replace(/^''|''$/g,""):e},n.fj=function(e){if(!Array.isArray(e))throw TypeError("args should be an array");return e.map(n.hD).join(" ")}},9537:(e,n,t)=>{function r(e,n,...t){if(0==t.length)return e.enums[n];let i=t.pop();return t.reduce((e,n)=>e.nestedMessages[n],e.messages[n]).nestedEnums[i]}t.d(n,{R:()=>r})},7558:(e,n,t)=>{t.d(n,{R:()=>o,Y:()=>c});var r=t(8628),i=t(1586),a=t(9513);let s={writeUnknownFields:!0};function o(e,n,t){return l(new i.fI,t?Object.assign(Object.assign({},s),t):s,(0,r.E4)(e,n)).finish()}function l(e,n,t){var r;for(let r of t.sortedFields){if(!t.isSet(r)){if(3==r.presence)throw Error(`cannot encode field ${t.desc.typeName}.${r.name} to binary: required field not set`);continue}c(e,n,t,r)}if(n.writeUnknownFields)for(let{no:n,wireType:i,data:a}of null!==(r=t.getUnknown())&&void 0!==r?r:[])e.tag(n,i).raw(a);return e}function c(e,n,t,r){var s;switch(r.fieldKind){case"scalar":case"enum":u(e,null!==(s=r.scalar)&&void 0!==s?s:a.L.INT32,r.number,t.get(r));break;case"list":!function(e,n,t,r){var s;if("message"==t.listKind){for(let i of r)d(e,n,t,i);return}let o=null!==(s=t.scalar)&&void 0!==s?s:a.L.INT32;if(t.packed){if(!r.size)return;for(let n of(e.tag(t.number,i.O0.LengthDelimited).fork(),r))f(e,o,n);e.join();return}for(let n of r)u(e,o,t.number,n)}(e,n,r,t.get(r));break;case"message":d(e,n,r,t.get(r));break;case"map":for(let[s,o]of t.get(r))!function(e,n,t,r,s){var o;switch(e.tag(t.number,i.O0.LengthDelimited).fork(),u(e,t.mapKey,1,r),t.mapKind){case"scalar":case"enum":u(e,null!==(o=t.scalar)&&void 0!==o?o:a.L.INT32,2,s);break;case"message":l(e.tag(2,i.O0.LengthDelimited).fork(),n,s).join()}e.join()}(e,n,r,s,o)}}function u(e,n,t,r){f(e.tag(t,function(e){switch(e){case a.L.BYTES:case a.L.STRING:return i.O0.LengthDelimited;case a.L.DOUBLE:case a.L.FIXED64:case a.L.SFIXED64:return i.O0.Bit64;case a.L.FIXED32:case a.L.SFIXED32:case a.L.FLOAT:return i.O0.Bit32;default:return i.O0.Varint}}(n)),n,r)}function d(e,n,t,r){t.delimitedEncoding?l(e.tag(t.number,i.O0.StartGroup),n,r).tag(t.number,i.O0.EndGroup):l(e.tag(t.number,i.O0.LengthDelimited).fork(),n,r).join()}function f(e,n,t){switch(n){case a.L.STRING:e.string(t);break;case a.L.BOOL:e.bool(t);break;case a.L.DOUBLE:e.double(t);break;case a.L.FLOAT:e.float(t);break;case a.L.INT32:e.int32(t);break;case a.L.INT64:e.int64(t);break;case a.L.UINT64:e.uint64(t);break;case a.L.FIXED64:e.fixed64(t);break;case a.L.BYTES:e.bytes(t);break;case a.L.FIXED32:e.fixed32(t);break;case a.L.SFIXED32:e.sfixed32(t);break;case a.L.SFIXED64:e.sfixed64(t);break;case a.L.SINT64:e.sint64(t);break;case a.L.UINT32:e.uint32(t);break;case a.L.SINT32:e.sint32(t)}}},9297:(e,n,t)=>{t.d(n,{t:()=>a,v:()=>s});var r=t(6788),i=t(8123);let a=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),s=(0,i.Z)(a,0)}}]); \ No newline at end of file diff --git a/_next/static/chunks/306-29349e73fe83ddff.js b/_next/static/chunks/306-29349e73fe83ddff.js new file mode 100644 index 00000000..b4bc6b34 --- /dev/null +++ b/_next/static/chunks/306-29349e73fe83ddff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[306],{744:(e,a,t)=>{t.d(a,{DH:()=>r,G_:()=>h,Ow:()=>u,Oz:()=>l,VN:()=>p,X3:()=>i,_s:()=>v,dp:()=>m,h$:()=>x,kP:()=>n,mv:()=>g,oH:()=>o,r3:()=>s,u1:()=>c});var n="",l="https://clients3.google.com/generate_204",s="dns.nextdns.io:853",o=!0,r="http://ip.sb",c="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(s=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(o="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{b("api_url",e)},m=e=>{b("latency_dns_url",e)},h=e=>{b("latency_http_url",e)},g=e=>{b("latency_ipv6",e.toString())},x=e=>{b("latency_ip_url",e)},v=e=>{b("latency_stun_url",e)},p=e=>{b("latency_stun_tcp_url",e)},b=(e,a)=>{""===a?localStorage.removeItem(e):localStorage.setItem(e,a),d()};d()},8927:(e,a,t)=>{t.d(a,{AD:()=>r,EY:()=>i,Fp:()=>u,L1:()=>c,gR:()=>m,kP:()=>d});var n=t(744),l=t(950),s=t(6989),o=t(7558);function r(e,a,t,o){return r=>o?(0,l.o)(e,o):fetch("".concat(n.kP).concat(r),{method:a,body:t}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return(0,s.Er)(e,new Uint8Array(await a.arrayBuffer()))})}function c(e,a,t,r){return c=>r?(0,l.o)(e.output,r):fetch("".concat(n.kP).concat(c),{method:a,body:t?(0,o.R)(e.input,t):void 0}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return(0,s.Er)(e.output,new Uint8Array(await a.arrayBuffer()))})}function i(e,a,t,l){return o=>fetch("".concat(n.kP).concat(o),{method:t,body:l}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return a((0,s.Er)(e,new Uint8Array(await t.arrayBuffer())))})}async function d(e,a,t,n){return u(a,{method:t,body:n?(0,o.R)(e.input,n):void 0,process:async a=>(0,s.Er)(e.output,new Uint8Array(await a.arrayBuffer()))})}let u=async(e,a)=>{let t=await fetch("".concat(n.kP).concat(e),{method:void 0!==a.method?a.method:"POST",body:a.body});return t.ok?void 0===a.process?{}:{data:a.process(t)}:{error:{code:t.status,msg:t.text()}}};function m(e,a,t){return(l,o)=>{let r,{next:c}=o,i=new URL(""!==n.kP?n.kP:window.location.toString());i.pathname=l,i.protocol="https:"===i.protocol?"wss:":"ws:";let d=!1,u=()=>{d||(console.log("connecting to: ".concat(i)),(r=new WebSocket(i)).binaryType="arraybuffer",r.addEventListener("open",a=>{console.log("connect to: ".concat(i,", event type: ").concat(a.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let n=(0,s.Er)(a,new Uint8Array(e.data));c(null,e=>t(e,n))}),r.addEventListener("error",e=>{let a="websocket have some error";c({msg:a,code:500}),console.log(a,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(l)),r.close(),r=void 0)}}}},7204:(e,a,t)=>{t.d(a,{a9:()=>v,e9:()=>b,fH:()=>y,jU:()=>p,kk:()=>A,mI:()=>x,mc:()=>w,n4:()=>j});var n=t(5155),l=t(9637),s=t(3381),o=t(9725),r=t(6180),c=t(6121),i=t(3667),d=t(8003),u=t(2963),m=t(2981),h=t(3614),g=t(2115);class x{constructor(e){this.label=e.label,this.value=e.value,this.label_children=e.label_children}}let v=g.memo(e=>(0,n.jsxs)(r.A.Group,{as:c.A,className:e.mb?e.mb:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.label}),(0,n.jsx)(i.A,{sm:10,children:(0,n.jsxs)(d.A,{className:e.mb?e.mb:"mb-2",hasValidation:!!e.errorMsg,children:[e.reminds&&e.reminds.length?(0,n.jsxs)(l.A,{children:[(0,n.jsx)(l.A.Toggle,{variant:"outline-secondary",id:"dropdown-basic"}),(0,n.jsx)(s.A,{style:{maxHeight:"300px",overflowY:"auto"},children:e.reminds.map(a=>(0,n.jsxs)(o.A,{onClick:()=>e.onChange&&e.onChange(a.value),children:[(0,n.jsx)("b",{children:a.label}),a.label_children&&a.label_children.map(e=>(0,n.jsx)("div",{children:(0,n.jsx)("span",{className:"text-body-secondary",children:e})},e))]},a.value))})]}):(0,n.jsx)(n.Fragment,{}),e.url?(0,n.jsx)("a",{className:"mt-1",href:e.url,target:"_blank",children:e.value}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A.Control,{value:e.value,plaintext:e.plaintext,placeholder:e.placeholder,isInvalid:!!e.errorMsg,onChange:a=>{e.onChange&&e.onChange(a.target.value)}}),e.errorMsg&&(0,n.jsx)(r.A.Control.Feedback,{type:"invalid",children:e.errorMsg})]})]})})]})),p=e=>(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.label}),(0,n.jsx)(i.A,{sm:10,children:(0,n.jsx)(r.A.Control,{as:"textarea",rows:5,value:e.value,onChange:a=>e.onChange(a.target.value)})})]});function b(e){var a;let[t,l]=(0,g.useState)({value:""});return(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((a,t)=>(0,n.jsx)(i.A,{sm:{span:10,offset:0!==t?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",hasValidation:!!e.errorMsgs&&!!e.errorMsgs[a],children:[(0,n.jsx)(r.A.Control,{onChange:a=>{e.data&&(e.data[t]=a.target.value,e.onChange(e.data))},isInvalid:!!e.errorMsgs&&!!e.errorMsgs[a],value:a}),(0,n.jsx)(u.A,{variant:"outline-danger",onClick:()=>{e.data&&(e.data.splice(t,1),e.onChange(e.data))},children:(0,n.jsx)("i",{className:"bi bi-x-lg"})}),e.errorMsgs&&e.errorMsgs[a]&&(0,n.jsx)(r.A.Control.Feedback,{type:"invalid",children:e.errorMsgs[a]})]})},t)),(0,n.jsx)(i.A,{sm:{span:10,offset:(null===(a=e.data)||void 0===a?void 0:a.length)!==0?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{value:t.value,onChange:e=>l({value:e.target.value})}),(0,n.jsx)(u.A,{variant:"outline-success",onClick:()=>{e.data.push(t.value),e.onChange(e.data)},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})}function j(e){var a;let[t,l]=(0,g.useState)({value:""});return(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((a,t)=>(0,n.jsx)(i.A,{sm:{span:10,offset:0!==t?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{value:new TextDecoder().decode(a),as:e.textarea?"textarea":void 0,onChange:a=>{e.data[t]=new TextEncoder().encode(a.target.value),e.onChange(e.data?e.data:[])}}),(0,n.jsx)(u.A,{variant:"outline-danger",onClick:()=>{e.data&&(e.data.splice(t,1),e.onChange(e.data))},children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]})},"bi-"+t)),(0,n.jsx)(i.A,{sm:{span:10,offset:(null===(a=e.data)||void 0===a?void 0:a.length)!==0?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{as:e.textarea?"textarea":void 0,value:t.value,onChange:e=>l({value:e.target.value})}),(0,n.jsx)(u.A,{variant:"outline-success",onClick:()=>{let a=new TextEncoder().encode(t.value);e.data?e.data.push(a):e.data=[a],e.onChange(e.data)},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})}function A(e){return(0,n.jsxs)(r.A.Group,{as:c.A,className:e.mb?e.mb:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),(0,n.jsx)(i.A,{sm:{span:10,offset:0},children:(0,n.jsx)(d.A,{className:e.mb?e.mb:"mb-2"})}),e.data&&e.data.map((a,t)=>(0,n.jsx)(i.A,{sm:{span:10,offset:2},className:"mt-0",children:(0,n.jsx)(d.A,{className:e.mb?e.mb:"mb-2",children:a})},t))]})}class y{constructor(e,a,t){this.length=e,this.current=a,this.onmove=t}}let w=e=>{var a,t,l,s,o,r;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(m.A,{className:"flex-grow-1 form-floating",children:[(0,n.jsxs)(m.A.Header,{className:"d-flex justify-content-between",children:[e.title,(!e.hideClose||(null!==(o=null===(a=e.moveUpDown)||void 0===a?void 0:a.length)&&void 0!==o?o:0)>1)&&(0,n.jsxs)(h.A,{children:[(null!==(r=null===(t=e.moveUpDown)||void 0===t?void 0:t.length)&&void 0!==r?r:0)>1&&(0,n.jsxs)(n.Fragment,{children:[(null===(l=e.moveUpDown)||void 0===l?void 0:l.current)!=0&&(0,n.jsx)(u.A,{variant:"outline-primary",size:"sm",onClick:()=>e.moveUpDown.onmove(!0),children:(0,n.jsx)("i",{className:"bi bi-arrow-up"})}),(null===(s=e.moveUpDown)||void 0===s?void 0:s.current)!=e.moveUpDown.length-1&&(0,n.jsx)(u.A,{variant:"outline-primary",size:"sm",onClick:()=>e.moveUpDown.onmove(!1),children:(0,n.jsx)("i",{className:"bi bi-arrow-down"})})]}),!e.hideClose&&(0,n.jsx)(u.A,{variant:"outline-danger",size:"sm",onClick:e.onClose,children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]})]}),(0,n.jsx)(m.A.Body,{children:e.children})]}),(0,n.jsx)("br",{})]})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/306-9c2fa43e07009827.js b/_next/static/chunks/306-9c2fa43e07009827.js deleted file mode 100644 index e745cae3..00000000 --- a/_next/static/chunks/306-9c2fa43e07009827.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[306],{744:(e,a,l)=>{l.d(a,{DH:()=>r,G_:()=>h,Ow:()=>m,Oz:()=>t,VN:()=>p,X3:()=>i,_s:()=>v,dp:()=>u,h$:()=>x,kP:()=>n,mv:()=>g,oH:()=>o,r3:()=>s,u1:()=>c});var n="",t="https://clients3.google.com/generate_204",s="dns.nextdns.io:853",o=!0,r="http://ip.sb",c="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(t=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(s=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(o="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},m=e=>{b("api_url",e)},u=e=>{b("latency_dns_url",e)},h=e=>{b("latency_http_url",e)},g=e=>{b("latency_ipv6",e.toString())},x=e=>{b("latency_ip_url",e)},v=e=>{b("latency_stun_url",e)},p=e=>{b("latency_stun_tcp_url",e)},b=(e,a)=>{""===a?localStorage.removeItem(e):localStorage.setItem(e,a),d()};d()},8927:(e,a,l)=>{l.d(a,{AD:()=>o,EY:()=>r,Fp:()=>c,gR:()=>i});var n=l(744),t=l(950),s=l(6989);function o(e,a,l,o){return r=>o?(0,t.o)(e,o):fetch("".concat(n.kP).concat(r),{method:a,body:l}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return(0,s.Er)(e,new Uint8Array(await a.arrayBuffer()))})}function r(e,a,l,t){return o=>fetch("".concat(n.kP).concat(o),{method:l,body:t}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return a((0,s.Er)(e,new Uint8Array(await l.arrayBuffer())))})}let c=async(e,a)=>{let l=await fetch("".concat(n.kP).concat(e),{method:void 0!==a.method?a.method:"POST",body:a.body});return l.ok?void 0===a.process?{}:{data:a.process(l)}:{error:{code:l.status,msg:l.text()}}};function i(e,a,l){return(t,o)=>{let r,{next:c}=o,i=new URL(""!==n.kP?n.kP:window.location.toString());i.pathname=t,i.protocol="https:"===i.protocol?"wss:":"ws:";let d=!1,m=()=>{d||(console.log("connecting to: ".concat(i)),(r=new WebSocket(i)).binaryType="arraybuffer",r.addEventListener("open",a=>{console.log("connect to: ".concat(i,", event type: ").concat(a.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let n=(0,s.Er)(a,new Uint8Array(e.data));c(null,e=>l(e,n))}),r.addEventListener("error",e=>{let a="websocket have some error";c({msg:a,code:500}),console.log(a,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(m,1e3))}))};return m(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(t)),r.close(),r=void 0)}}}},7204:(e,a,l)=>{l.d(a,{a9:()=>v,e9:()=>b,fH:()=>w,jU:()=>p,kk:()=>A,mI:()=>x,mc:()=>y,n4:()=>j});var n=l(5155),t=l(9637),s=l(3381),o=l(9725),r=l(6180),c=l(6121),i=l(3667),d=l(8003),m=l(2963),u=l(2981),h=l(3614),g=l(2115);class x{constructor(e){this.label=e.label,this.value=e.value,this.label_children=e.label_children}}let v=g.memo(e=>(0,n.jsxs)(r.A.Group,{as:c.A,className:e.mb?e.mb:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.label}),(0,n.jsx)(i.A,{sm:10,children:(0,n.jsxs)(d.A,{className:e.mb?e.mb:"mb-2",hasValidation:!!e.errorMsg,children:[e.reminds&&e.reminds.length?(0,n.jsxs)(t.A,{children:[(0,n.jsx)(t.A.Toggle,{variant:"outline-secondary",id:"dropdown-basic"}),(0,n.jsx)(s.A,{style:{maxHeight:"300px",overflowY:"auto"},children:e.reminds.map(a=>(0,n.jsxs)(o.A,{onClick:()=>e.onChange&&e.onChange(a.value),children:[(0,n.jsx)("b",{children:a.label}),a.label_children&&a.label_children.map(e=>(0,n.jsx)("div",{children:(0,n.jsx)("span",{className:"text-body-secondary",children:e})},e))]},a.value))})]}):(0,n.jsx)(n.Fragment,{}),e.url?(0,n.jsx)("a",{className:"mt-1",href:e.url,target:"_blank",children:e.value}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A.Control,{value:e.value,plaintext:e.plaintext,placeholder:e.placeholder,isInvalid:!!e.errorMsg,onChange:a=>{e.onChange&&e.onChange(a.target.value)}}),e.errorMsg&&(0,n.jsx)(r.A.Control.Feedback,{type:"invalid",children:e.errorMsg})]})]})})]})),p=e=>(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.label}),(0,n.jsx)(i.A,{sm:10,children:(0,n.jsx)(r.A.Control,{as:"textarea",rows:5,value:e.value,onChange:a=>e.onChange(a.target.value)})})]});function b(e){var a;let[l,t]=(0,g.useState)({value:""});return(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((a,l)=>(0,n.jsx)(i.A,{sm:{span:10,offset:0!==l?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",hasValidation:!!e.errorMsgs&&!!e.errorMsgs[a],children:[(0,n.jsx)(r.A.Control,{onChange:a=>{e.data&&(e.data[l]=a.target.value,e.onChange(e.data))},isInvalid:!!e.errorMsgs&&!!e.errorMsgs[a],value:a}),(0,n.jsx)(m.A,{variant:"outline-danger",onClick:()=>{e.data&&(e.data.splice(l,1),e.onChange(e.data))},children:(0,n.jsx)("i",{className:"bi bi-x-lg"})}),e.errorMsgs&&e.errorMsgs[a]&&(0,n.jsx)(r.A.Control.Feedback,{type:"invalid",children:e.errorMsgs[a]})]})},l)),(0,n.jsx)(i.A,{sm:{span:10,offset:(null===(a=e.data)||void 0===a?void 0:a.length)!==0?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{value:l.value,onChange:e=>t({value:e.target.value})}),(0,n.jsx)(m.A,{variant:"outline-success",onClick:()=>{e.data.push(l.value),e.onChange(e.data)},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})}function j(e){var a;let[l,t]=(0,g.useState)({value:""});return(0,n.jsxs)(r.A.Group,{as:c.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((a,l)=>(0,n.jsx)(i.A,{sm:{span:10,offset:0!==l?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{value:new TextDecoder().decode(a),as:e.textarea?"textarea":void 0,onChange:a=>{e.data[l]=new TextEncoder().encode(a.target.value),e.onChange(e.data?e.data:[])}}),(0,n.jsx)(m.A,{variant:"outline-danger",onClick:()=>{e.data&&(e.data.splice(l,1),e.onChange(e.data))},children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]})},"bi-"+l)),(0,n.jsx)(i.A,{sm:{span:10,offset:(null===(a=e.data)||void 0===a?void 0:a.length)!==0?2:0},children:(0,n.jsxs)(d.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{as:e.textarea?"textarea":void 0,value:l.value,onChange:e=>t({value:e.target.value})}),(0,n.jsx)(m.A,{variant:"outline-success",onClick:()=>{let a=new TextEncoder().encode(l.value);e.data?e.data.push(a):e.data=[a],e.onChange(e.data)},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})}function A(e){return(0,n.jsxs)(r.A.Group,{as:c.A,className:e.mb?e.mb:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),(0,n.jsx)(i.A,{sm:{span:10,offset:0},children:(0,n.jsx)(d.A,{className:e.mb?e.mb:"mb-2"})}),e.data&&e.data.map((a,l)=>(0,n.jsx)(i.A,{sm:{span:10,offset:2},className:"mt-0",children:(0,n.jsx)(d.A,{className:e.mb?e.mb:"mb-2",children:a})},l))]})}class w{constructor(e,a,l){this.length=e,this.current=a,this.onmove=l}}let y=e=>{var a,l,t,s,o,r;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(u.A,{className:"flex-grow-1 form-floating",children:[(0,n.jsxs)(u.A.Header,{className:"d-flex justify-content-between",children:[e.title,(!e.hideClose||(null!==(o=null===(a=e.moveUpDown)||void 0===a?void 0:a.length)&&void 0!==o?o:0)>1)&&(0,n.jsxs)(h.A,{children:[(null!==(r=null===(l=e.moveUpDown)||void 0===l?void 0:l.length)&&void 0!==r?r:0)>1&&(0,n.jsxs)(n.Fragment,{children:[(null===(t=e.moveUpDown)||void 0===t?void 0:t.current)!=0&&(0,n.jsx)(m.A,{variant:"outline-primary",size:"sm",onClick:()=>e.moveUpDown.onmove(!0),children:(0,n.jsx)("i",{className:"bi bi-arrow-up"})}),(null===(s=e.moveUpDown)||void 0===s?void 0:s.current)!=e.moveUpDown.length-1&&(0,n.jsx)(m.A,{variant:"outline-primary",size:"sm",onClick:()=>e.moveUpDown.onmove(!1),children:(0,n.jsx)("i",{className:"bi bi-arrow-down"})})]}),!e.hideClose&&(0,n.jsx)(m.A,{variant:"outline-danger",size:"sm",onClick:e.onClose,children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]})]}),(0,n.jsx)(u.A.Body,{children:e.children})]}),(0,n.jsx)("br",{})]})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/354-d4c08a5d11215f94.js b/_next/static/chunks/354-013980f156d66e72.js similarity index 100% rename from _next/static/chunks/354-d4c08a5d11215f94.js rename to _next/static/chunks/354-013980f156d66e72.js diff --git a/_next/static/chunks/424-975e1e912c3945a0.js b/_next/static/chunks/424-6e400e4952135326.js similarity index 100% rename from _next/static/chunks/424-975e1e912c3945a0.js rename to _next/static/chunks/424-6e400e4952135326.js diff --git a/_next/static/chunks/459-bbe022b37701d9ba.js b/_next/static/chunks/459-9097da3ff98ae686.js similarity index 100% rename from _next/static/chunks/459-bbe022b37701d9ba.js rename to _next/static/chunks/459-9097da3ff98ae686.js diff --git a/_next/static/chunks/235-deda7edec08b9c84.js b/_next/static/chunks/488-a427b20cafb1db80.js similarity index 75% rename from _next/static/chunks/235-deda7edec08b9c84.js rename to _next/static/chunks/488-a427b20cafb1db80.js index 15b277ca..7b625ee1 100644 --- a/_next/static/chunks/235-deda7edec08b9c84.js +++ b/_next/static/chunks/488-a427b20cafb1db80.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[235],{1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>p,Jy:()=>a,Wz:()=>f,ff:()=>i,gy:()=>m,oU:()=>u});var r=n(2115);n(5155);let a=["xxl","xl","lg","md","sm","xs"],i="xs",o=r.createContext({prefixes:{},breakpoints:a,minBreakpoint:i}),{Consumer:s,Provider:l}=o;function u(e,t){let{prefixes:n}=(0,r.useContext)(o);return e||n[t]||t}function m(){let{breakpoints:e}=(0,r.useContext)(o);return e}function p(){let{minBreakpoint:e}=(0,r.useContext)(o);return e}function f(){let{dir:e}=(0,r.useContext)(o);return"rtl"===e}},4617:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t{"use strict";n.d(t,{o:()=>o});var r=n(9513),a=n(8628),i=n(4928);function o(e,t){return s((0,a.E4)(e,t)).message}function s(e){let t=(0,a.E4)(e.desc);for(let n of e.fields)if(e.isSet(n))switch(n.fieldKind){default:t.set(n,l(n,e.get(n)));break;case"list":let r=t.get(n);for(let t of e.get(n))r.add(l(n,t));break;case"map":let a=t.get(n);for(let t of e.get(n).entries())a.set(t[0],l(n,t[1]))}let n=e.getUnknown();return n&&n.length>0&&t.setUnknown([...n]),t}function l(e,t){return void 0!==e.message&&(0,i.LT)(t)?s(t):e.scalar==r.L.BYTES&&t instanceof Uint8Array?t.slice():t}},6788:(e,t,n)=>{"use strict";n.d(t,{w:()=>j});var r,a,i,o,s,l,u,m,p,f,d,c,b,g,E,y,N,h=n(5636),T=n(8373),_=n(3322);function I(e){for(let t of e.field)(0,_.b1)(t,"jsonName")||(t.jsonName=(0,T.R)(t.name));e.nestedType.forEach(I)}var v=n(9513),O=n(4151);function S(...e){let t=function(){let e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator]:()=>e.values(),get files(){return n.values()},addFile(e,t,r){if(n.set(e.proto.name,e),!t)for(let t of function* e(t){switch(t.kind){case"file":for(let n of t.messages)yield n,yield*e(n);yield*t.enums,yield*t.services,yield*t.extensions;break;case"message":for(let n of t.nestedMessages)yield n,yield*e(n);yield*t.nestedEnums,yield*t.nestedExtensions}}(e))this.add(t);if(r)for(let n of e.dependencies)this.addFile(n,t,r)},add(n){if("extension"==n.kind){let e=t.get(n.extendee.typeName);e||t.set(n.extendee.typeName,e=new Map),e.set(n.number,n)}e.set(n.typeName,n)},get:t=>e.get(t),getFile:e=>n.get(e),getMessage(t){let n=e.get(t);return(null==n?void 0:n.kind)=="message"?n:void 0},getEnum(t){let n=e.get(t);return(null==n?void 0:n.kind)=="enum"?n:void 0},getExtension(t){let n=e.get(t);return(null==n?void 0:n.kind)=="extension"?n:void 0},getExtensionFor(e,n){var r;return null===(r=t.get(e.typeName))||void 0===r?void 0:r.get(n)},getService(t){let n=e.get(t);return(null==n?void 0:n.kind)=="service"?n:void 0}}}();if(!e.length)return t;if("$typeName"in e[0]&&"google.protobuf.FileDescriptorSet"==e[0].$typeName){for(let n of e[0].file)D(n,t);return t}if("$typeName"in e[0]){let n=e[0],r=e[1],a=new Set;for(let e of[n,...function e(n){let i=[];for(let e of n.dependency){if(void 0!=t.getFile(e)||a.has(e))continue;let o=r(e);if(!o)throw Error(`Unable to resolve ${e}, imported by ${n.name}`);"kind"in o?t.addFile(o,!1,!0):(a.add(o.name),i.push(o))}return i.concat(...i.map(e))}(n)].reverse())D(e,t)}else for(let n of e)for(let e of n.files)t.addFile(e);return t}let L={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1}};function D(e,t){var n,r;let a={kind:"file",proto:e,deprecated:null!==(r=null===(n=e.options)||void 0===n?void 0:n.deprecated)&&void 0!==r&&r,edition:function(e){switch(e.syntax){case"":case"proto2":return 998;case"proto3":return 999;case"editions":if(e.edition in L)return e.edition;throw Error(`${e.name}: unsupported edition`);default:throw Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}(e),name:e.name.replace(/\.proto$/,""),dependencies:e.dependency.map(n=>{let r=t.getFile(n);if(!r)throw Error(`Cannot find ${n}, imported by ${e.name}`);return r}),enums:[],messages:[],extensions:[],services:[],toString:()=>`file ${e.name}`},i=new Map,o={get:e=>i.get(e),add(e){var t;M((null===(t=e.proto.options)||void 0===t?void 0:t.mapEntry)===!0),i.set(e.typeName,e)}};for(let n of e.enumType)k(n,a,void 0,t);for(let n of e.messageType)!function e(t,n,r,a,i){var o,s,l,u;let m={kind:"message",proto:t,deprecated:null!==(s=null===(o=t.options)||void 0===o?void 0:o.deprecated)&&void 0!==s&&s,file:n,parent:r,name:t.name,typeName:A(t,r,n),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};for(let e of((null===(l=t.options)||void 0===l?void 0:l.mapEntry)===!0?i.add(m):((null!==(u=null==r?void 0:r.nestedMessages)&&void 0!==u?u:n.messages).push(m),a.add(m)),t.enumType))k(e,n,m,a);for(let r of t.nestedType)e(r,n,m,a,i)}(n,a,void 0,t,o);for(let n of e.service)!function(e,t,n){var r,a;let i={kind:"service",proto:e,deprecated:null!==(a=null===(r=e.options)||void 0===r?void 0:r.deprecated)&&void 0!==a&&a,file:t,name:e.name,typeName:A(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};for(let r of(t.services.push(i),n.add(i),e.method)){let e=function(e,t,n){var r,a,i,o;let s;s=e.clientStreaming&&e.serverStreaming?"bidi_streaming":e.clientStreaming?"client_streaming":e.serverStreaming?"server_streaming":"unary";let l=n.getMessage(P(e.inputType)),u=n.getMessage(P(e.outputType));M(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),M(u,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);let m=e.name;return{kind:"rpc",proto:e,deprecated:null!==(a=null===(r=e.options)||void 0===r?void 0:r.deprecated)&&void 0!==a&&a,parent:t,name:m,localName:(0,T.a)(m.length?(0,T.a)(m[0].toLowerCase()+m.substring(1)):m),methodKind:s,input:l,output:u,idempotency:null!==(o=null===(i=e.options)||void 0===i?void 0:i.idempotencyLevel)&&void 0!==o?o:0,toString:()=>`rpc ${t.typeName}.${m}`}}(r,i,n);i.methods.push(e),i.method[e.localName]=e}}(n,a,t);for(let e of(F(a,t),i.values()))R(e,t,o);for(let e of a.messages)R(e,t,o),F(e,t);t.addFile(a,!0)}function F(e,t){switch(e.kind){case"file":for(let n of e.proto.extension){let r=w(n,e,t);e.extensions.push(r),t.add(r)}break;case"message":for(let n of e.proto.extension){let r=w(n,e,t);e.nestedExtensions.push(r),t.add(r)}for(let n of e.nestedMessages)F(n,t)}}function R(e,t,n){let r=e.proto.oneofDecl.map(t=>({kind:"oneof",proto:t,deprecated:!1,parent:e,fields:[],name:t.name,localName:(0,T.a)((0,T.R)(t.name)),toString(){return`oneof ${e.typeName}.${this.name}`}})),a=new Set;for(let i of e.proto.field){let o=function(e,t){if(!(0,_.b1)(e,"oneofIndex")||e.proto3Optional)return;let n=t[e.oneofIndex];return M(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}(i,r),s=w(i,e,t,o,n);e.fields.push(s),e.field[s.localName]=s,void 0===o?e.members.push(s):(o.fields.push(s),a.has(o)||(a.add(o),e.members.push(o)))}for(let t of r.filter(e=>a.has(e)))e.oneofs.push(t);for(let r of e.nestedMessages)R(r,t,n)}function k(e,t,n,r){var a,i,o,s;let l=function(e,t){let n=(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,e=>"_"+e)).toLowerCase()+"_";for(let e of t){if(!e.name.toLowerCase().startsWith(n))return;let t=e.name.substring(n.length);if(0==t.length||/^\d/.test(t))return}return n}(e.name,e.value),u={kind:"enum",proto:e,deprecated:null!==(i=null===(a=e.options)||void 0===a?void 0:a.deprecated)&&void 0!==i&&i,file:t,parent:n,open:!0,name:e.name,typeName:A(e,n,t),value:{},values:[],sharedPrefix:l,toString(){return`enum ${this.typeName}`}};u.open=1==x("enumType",{proto:u.proto,parent:null!==(s=u.parent)&&void 0!==s?s:u.file}),r.add(u),e.value.forEach(e=>{var t,n;let r=e.name;u.values.push(u.value[e.number]={kind:"enum_value",proto:e,deprecated:null!==(n=null===(t=e.options)||void 0===t?void 0:t.deprecated)&&void 0!==n&&n,parent:u,name:r,localName:(0,T.a)(void 0==l?r:r.substring(l.length)),number:e.number,toString:()=>`enum value ${u.typeName}.${r}`})}),(null!==(o=null==n?void 0:n.nestedEnums)&&void 0!==o?o:t.enums).push(u)}function w(e,t,n,r,a){var i,o,s;let l=void 0===a,u={kind:"field",proto:e,deprecated:null!==(o=null===(i=e.options)||void 0===i?void 0:i.deprecated)&&void 0!==o&&o,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:2==e.label?3:3==e.label?2:r||e.proto3Optional||11==e.type||l?1:x("fieldPresence",{proto:e,parent:t}),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(l){let r="file"==t.kind?t:t.file,a="file"==t.kind?void 0:t,i=A(e,a,r);u.kind="extension",u.file=r,u.parent=a,u.oneof=void 0,u.typeName=i,u.jsonName=`[${i}]`,u.toString=()=>`extension ${i}`;let o=n.getMessage(P(e.extendee));M(o,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),u.extendee=o}else M("message"==t.kind),u.parent=t,u.oneof=r,u.localName=r?(0,T.R)(e.name):(0,T.a)((0,T.R)(e.name)),u.jsonName=e.jsonName,u.toString=()=>`field ${t.typeName}.${e.name}`;let m=e.label,p=e.type,f=null===(s=e.options)||void 0===s?void 0:s.jstype;if(3===m){let r=11==p?null==a?void 0:a.get(P(e.typeName)):void 0;if(r){u.fieldKind="map";let{key:e,value:t}=function(e){let t=e.fields.find(e=>1===e.number),n=e.fields.find(e=>2===e.number);return M(t&&"scalar"==t.fieldKind&&t.scalar!=v.L.BYTES&&t.scalar!=v.L.FLOAT&&t.scalar!=v.L.DOUBLE&&n&&"list"!=n.fieldKind&&"map"!=n.fieldKind),{key:t,value:n}}(r);return u.mapKey=e.scalar,u.mapKind=t.fieldKind,u.message=t.message,u.delimitedEncoding=!1,u.enum=t.enum,u.scalar=t.scalar,u}switch(u.fieldKind="list",p){case 11:case 10:u.listKind="message",u.message=n.getMessage(P(e.typeName)),M(u.message),u.delimitedEncoding=U(e,t);break;case 14:u.listKind="enum",u.enum=n.getEnum(P(e.typeName)),M(u.enum);break;default:u.listKind="scalar",u.scalar=p,u.longAsString=1==f}return u.packed=function(e,t){if(3!=e.label)return!1;switch(e.type){case 9:case 12:case 10:case 11:return!1}let n=e.options;return n&&(0,_.b1)(n,"packed")?n.packed:1==x("repeatedFieldEncoding",{proto:e,parent:t})}(e,t),u}switch(p){case 11:case 10:u.fieldKind="message",u.message=n.getMessage(P(e.typeName)),M(u.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.delimitedEncoding=U(e,t),u.getDefaultValue=()=>void 0;break;case 14:{let t=n.getEnum(P(e.typeName));M(void 0!==t,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.fieldKind="enum",u.enum=n.getEnum(P(e.typeName)),u.getDefaultValue=()=>(0,_.b1)(e,"defaultValue")?function(e,t){let n=e.values.find(e=>e.name===t);if(!n)throw Error(`cannot parse ${e} default value: ${t}`);return n.number}(t,e.defaultValue):void 0;break}default:u.fieldKind="scalar",u.scalar=p,u.longAsString=1==f,u.getDefaultValue=()=>(0,_.b1)(e,"defaultValue")?function(e,t){switch(e){case v.L.STRING:return t;case v.L.BYTES:{let n=function(e){let t=[],n={tail:e,c:"",next(){return 0!=this.tail.length&&(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(e){if(this.tail.length>=e){let t=this.tail.substring(0,e);return this.tail=this.tail.substring(e),t}return!1}};for(;n.next();)if("\\"===n.c){if(n.next())switch(n.c){case"\\":t.push(n.c.charCodeAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{let e=n.c,r=n.take(2);if(!1===r)return!1;let a=parseInt(e+r,8);if(isNaN(a))return!1;t.push(a);break}case"x":{let e=n.c,r=n.take(2);if(!1===r)return!1;let a=parseInt(e+r,16);if(isNaN(a))return!1;t.push(a);break}case"u":{let e=n.c,r=n.take(4);if(!1===r)return!1;let a=parseInt(e+r,16);if(isNaN(a))return!1;let i=new Uint8Array(4);new DataView(i.buffer).setInt32(0,a,!0),t.push(i[0],i[1],i[2],i[3]);break}case"U":{let e=n.c,r=n.take(8);if(!1===r)return!1;let a=O.M.uEnc(e+r),i=new Uint8Array(8),o=new DataView(i.buffer);o.setInt32(0,a.lo,!0),o.setInt32(4,a.hi,!0),t.push(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7])}}}else t.push(n.c.charCodeAt(0));return new Uint8Array(t)}(t);if(!1===n)throw Error(`cannot parse ${v.L[e]} default value: ${t}`);return n}case v.L.INT64:case v.L.SFIXED64:case v.L.SINT64:return O.M.parse(t);case v.L.UINT64:case v.L.FIXED64:return O.M.uParse(t);case v.L.DOUBLE:case v.L.FLOAT:switch(t){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return Number.NaN;default:return parseFloat(t)}case v.L.BOOL:return"true"===t;case v.L.INT32:case v.L.UINT32:case v.L.SINT32:case v.L.FIXED32:case v.L.SFIXED32:return parseInt(t,10)}}(p,e.defaultValue):void 0}return u}function A(e,t,n){return t?`${t.typeName}.${e.name}`:n.proto.package.length>0?`${n.proto.package}.${e.name}`:`${e.name}`}function P(e){return e.startsWith(".")?e.substring(1):e}function U(e,t){return 10==e.type||2==x("messageEncoding",{proto:e,parent:t})}function x(e,t){var n,r;let a=null===(n=t.proto.options)||void 0===n?void 0:n.features;if(a){let t=a[e];if(0!=t)return t}if("kind"in t){if("message"==t.kind)return x(e,null!==(r=t.parent)&&void 0!==r?r:t.file);let n=L[t.edition];if(!n)throw Error(`feature default for edition ${t.edition} not found`);return n[e]}return x(e,t.parent)}function M(e,t){if(!e)throw Error(t)}function G(e){var t,n,r,a,i,o,s,l;return{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:null!==(n=null===(t=e.field)||void 0===t?void 0:t.map(Y))&&void 0!==n?n:[],extension:[],nestedType:null!==(a=null===(r=e.nestedType)||void 0===r?void 0:r.map(G))&&void 0!==a?a:[],enumType:null!==(o=null===(i=e.enumType)||void 0===i?void 0:i.map(V))&&void 0!==o?o:[],extensionRange:null!==(l=null===(s=e.extensionRange)||void 0===s?void 0:s.map(e=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},e)))&&void 0!==l?l:[],oneofDecl:[],reservedRange:[],reservedName:[]}}function Y(e){var t,n,r,a;return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?(t=e.options,Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},t),{targets:null!==(n=t.targets)&&void 0!==n?n:[],editionDefaults:null!==(a=null===(r=t.editionDefaults)||void 0===r?void 0:r.map(e=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},e)))&&void 0!==a?a:[],uninterpretedOption:[]}))):void 0}))}function V(e){return{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(e=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},e))}}var $=n(8123);let K=function(e){let t=Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(G),enumType:e.enumType.map(V)}));return t.messageType.forEach(I),S(t,()=>void 0).getFile(t.name)}({name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false"},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1},{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false"},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0},{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:0x7fffffff}]}]}),B=(0,$.Z)(K,1);!function(e){e[e.DECLARATION=0]="DECLARATION",e[e.UNVERIFIED=1]="UNVERIFIED"}(r||(r={})),function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.GROUP=10]="GROUP",e[e.MESSAGE=11]="MESSAGE",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.ENUM=14]="ENUM",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"}(a||(a={})),function(e){e[e.OPTIONAL=1]="OPTIONAL",e[e.REPEATED=3]="REPEATED",e[e.REQUIRED=2]="REQUIRED"}(i||(i={})),function(e){e[e.SPEED=1]="SPEED",e[e.CODE_SIZE=2]="CODE_SIZE",e[e.LITE_RUNTIME=3]="LITE_RUNTIME"}(o||(o={})),function(e){e[e.STRING=0]="STRING",e[e.CORD=1]="CORD",e[e.STRING_PIECE=2]="STRING_PIECE"}(s||(s={})),function(e){e[e.JS_NORMAL=0]="JS_NORMAL",e[e.JS_STRING=1]="JS_STRING",e[e.JS_NUMBER=2]="JS_NUMBER"}(l||(l={})),function(e){e[e.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",e[e.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",e[e.RETENTION_SOURCE=2]="RETENTION_SOURCE"}(u||(u={})),function(e){e[e.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",e[e.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",e[e.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",e[e.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",e[e.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",e[e.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",e[e.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",e[e.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",e[e.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",e[e.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD"}(m||(m={})),function(e){e[e.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",e[e.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",e[e.IDEMPOTENT=2]="IDEMPOTENT"}(p||(p={})),function(e){e[e.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",e[e.EXPLICIT=1]="EXPLICIT",e[e.IMPLICIT=2]="IMPLICIT",e[e.LEGACY_REQUIRED=3]="LEGACY_REQUIRED"}(f||(f={})),function(e){e[e.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",e[e.OPEN=1]="OPEN",e[e.CLOSED=2]="CLOSED"}(d||(d={})),function(e){e[e.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",e[e.PACKED=1]="PACKED",e[e.EXPANDED=2]="EXPANDED"}(c||(c={})),function(e){e[e.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",e[e.VERIFY=2]="VERIFY",e[e.NONE=3]="NONE"}(b||(b={})),function(e){e[e.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",e[e.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",e[e.DELIMITED=2]="DELIMITED"}(g||(g={})),function(e){e[e.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",e[e.ALLOW=1]="ALLOW",e[e.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT"}(E||(E={})),function(e){e[e.NONE=0]="NONE",e[e.SET=1]="SET",e[e.ALIAS=2]="ALIAS"}(y||(y={})),function(e){e[e.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",e[e.EDITION_LEGACY=900]="EDITION_LEGACY",e[e.EDITION_PROTO2=998]="EDITION_PROTO2",e[e.EDITION_PROTO3=999]="EDITION_PROTO3",e[e.EDITION_2023=1e3]="EDITION_2023",e[e.EDITION_2024=1001]="EDITION_2024",e[e.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",e[e.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",e[e.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",e[e.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",e[e.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",e[e.EDITION_MAX=0x7fffffff]="EDITION_MAX"}(N||(N={}));var C=n(6989);function j(e,t){var n;let r=(0,C.Er)(B,(0,h.u)(e));return r.messageType.forEach(I),r.dependency=null!==(n=null==t?void 0:t.map(e=>e.proto.name))&&void 0!==n?n:[],S(r,e=>null==t?void 0:t.find(t=>t.proto.name===e)).getFile(r.name)}},8123:(e,t,n)=>{"use strict";function r(e,t,...n){return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t])}n.d(t,{Z:()=>r})},3577:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var r=n(6492),a=n(9513),i=n(9287),o=n(4928),s=n(3322),l=n(466);function u(e,t){if((0,r.K)(t,e))return t;let n=function(e){let t;if(function(e){switch(e.file.edition){case 999:return!1;case 998:return!0;default:return e.fields.some(e=>2!=e.presence&&"message"!=e.fieldKind&&!e.oneof)}}(e)){let n,r;let a=b.get(e);if(a)({prototype:n,members:r}=a);else{for(let t of(n={},r=new Set,e.members))"oneof"!=t.kind&&("scalar"==t.fieldKind||"enum"==t.fieldKind)&&2!=t.presence&&(r.add(t),n[t.localName]=g(t));b.set(e,{prototype:n,members:r})}for(let a of((t=Object.create(n)).$typeName=e.typeName,e.members))r.has(a)||"field"==a.kind&&("message"==a.fieldKind||("scalar"==a.fieldKind||"enum"==a.fieldKind)&&2!=a.presence)||(t[a.localName]=g(a))}else for(let n of(t={$typeName:e.typeName},e.members))("oneof"==n.kind||2==n.presence)&&(t[n.localName]=g(n));return t}(e);return void 0!==t&&function(e,t,n){for(let r of e.members){let e,i=n[r.localName];if(null!=i){if("oneof"==r.kind){let t=(0,s.mO)(n,r);if(!t)continue;e=t,i=(0,s.$v)(n,t)}else e=r;switch(e.fieldKind){case"message":i=p(e,i);break;case"scalar":i=m(e,i);break;case"list":i=function(e,t){if(Array.isArray(t)){if(e.scalar==a.L.BYTES)return t.map(f);if("message"==e.listKind)return t.map(t=>p(e,t))}return t}(e,i);break;case"map":i=function(e,t){if((0,o.Gv)(t)){if(e.scalar==a.L.BYTES)return d(t,f);if("message"==e.mapKind)return d(t,t=>p(e,t))}return t}(e,i)}(0,s.lA)(t,e,i)}}}(e,n,t),n}function m(e,t){return e.scalar==a.L.BYTES?f(t):t}function p(e,t){if("message"==e.fieldKind&&!e.oneof&&(0,l.l)(e.message))return m(e.message.fields[0],t);if((0,o.Gv)(t)){if("google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!==e.parent.typeName)return t;if(!(0,r.K)(t,e.message))return u(e.message,t)}return t}function f(e){return Array.isArray(e)?new Uint8Array(e):e}function d(e,t){let n={};for(let r of Object.entries(e))n[r[0]]=t(r[1]);return n}let c=Symbol(),b=new WeakMap;function g(e){if("oneof"==e.kind)return{case:void 0};if("list"==e.fieldKind)return[];if("map"==e.fieldKind)return{};if("message"==e.fieldKind)return c;let t=e.getDefaultValue();return void 0!==t?"scalar"==e.fieldKind&&e.longAsString?t.toString():t:"scalar"==e.fieldKind?(0,i.M7)(e.scalar,e.longAsString):e.enum.values[0].number}},9513:(e,t,n)=>{"use strict";var r;n.d(t,{L:()=>r}),function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"}(r||(r={}))},6989:(e,t,n)=>{"use strict";n.d(t,{Er:()=>l,dR:()=>m});var r=n(9513),a=n(9287),i=n(8628),o=n(1586);let s={readUnknownFields:!0};function l(e,t,n){let r=(0,i.E4)(e,void 0,!1);return u(r,new o.V5(t),n?Object.assign(Object.assign({},s),n):s,!1,t.byteLength),r.message}function u(e,t,n,r,a){var i;let s,l;let u=r?t.len:t.pos+a,p=null!==(i=e.getUnknown())&&void 0!==i?i:[];for(;t.pos0&&e.setUnknown(p)}function m(e,t,n,s,l){switch(n.fieldKind){case"scalar":e.set(n,f(t,n.scalar));break;case"enum":e.set(n,f(t,r.L.INT32));break;case"message":e.set(n,p(t,l,n,e.get(n)));break;case"list":!function(e,t,n,a){var i;let s=n.field();if("message"===s.listKind){n.add(p(e,a,s));return}let l=null!==(i=s.scalar)&&void 0!==i?i:r.L.INT32;if(!(t==o.O0.LengthDelimited&&l!=r.L.STRING&&l!=r.L.BYTES)){n.add(f(e,l));return}let u=e.uint32()+e.pos;for(;e.pos{"use strict";function r(e,t){return null!==e&&"object"==typeof e&&"$typeName"in e&&"string"==typeof e.$typeName&&(void 0===t||t.typeName===e.$typeName)}n.d(t,{K:()=>r})},4151:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(8251),a=n(2818);let i=function(){let e=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64&&("object"!=typeof a||"object"!=typeof a.env||"1"!==a.env.BUF_BIGINT_DISABLE)){let t=BigInt("-9223372036854775808"),n=BigInt("9223372036854775807"),r=BigInt("0"),a=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(e){let r="bigint"==typeof e?e:BigInt(e);if(r>n||ra||t(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigInt64(0,!0)),uDec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:e=>("string"!=typeof e&&(e=e.toString()),o(e),e),uParse:e=>("string"!=typeof e&&(e=e.toString()),s(e),e),enc:e=>("string"!=typeof e&&(e=e.toString()),o(e),(0,r.LJ)(e)),uEnc:e=>("string"!=typeof e&&(e=e.toString()),s(e),(0,r.LJ)(e)),dec:(e,t)=>(0,r._Q)(e,t),uDec:(e,t)=>(0,r.Hc)(e,t)}}();function o(e){if(!/^-?[0-9]+$/.test(e))throw Error("invalid int64: "+e)}function s(e){if(!/^[0-9]+$/.test(e))throw Error("invalid uint64: "+e)}},3747:(e,t,n)=>{"use strict";n.d(t,{b:()=>a,p:()=>i});let r=["FieldValueInvalidError","FieldListRangeError","ForeignFieldError"];class a extends Error{constructor(e,t,n="FieldValueInvalidError"){super(t),this.name=n,this.field=()=>e}}function i(e){return e instanceof Error&&r.includes(e.name)&&"field"in e&&"function"==typeof e.field}},4928:(e,t,n)=>{"use strict";n.d(t,{G6:()=>o,Gv:()=>a,LT:()=>s,sG:()=>i});var r=n(3322);function a(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function i(e,t){var n,i,o,s;if(a(e)&&r.I4 in e&&"add"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let r=e.field();return t.listKind==r.listKind&&t.scalar===r.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=r.message)||void 0===i?void 0:i.typeName)&&(null===(o=t.enum)||void 0===o?void 0:o.typeName)===(null===(s=r.enum)||void 0===s?void 0:s.typeName)}return!0}return!1}function o(e,t){var n,i,o,s;if(a(e)&&r.I4 in e&&"has"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let r=e.field();return t.mapKey===r.mapKey&&t.mapKind==r.mapKind&&t.scalar===r.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=r.message)||void 0===i?void 0:i.typeName)&&(null===(o=t.enum)||void 0===o?void 0:o.typeName)===(null===(s=r.enum)||void 0===s?void 0:s.typeName)}return!0}return!1}function s(e,t){return a(e)&&r.I4 in e&&"desc"in e&&a(e.desc)&&"message"===e.desc.kind&&(void 0===t||e.desc.typeName==t.typeName)}},8373:(e,t,n)=>{"use strict";function r(e){let t=!1,n=[];for(let r=0;rr,a:()=>i});let a=new Set(["constructor","toString","toJSON","valueOf"]);function i(e){return a.has(e)?e+"$":e}},5005:(e,t,n)=>{"use strict";n.d(t,{$L:()=>g,MJ:()=>p,PZ:()=>m,xI:()=>f});var r=n(9513),a=n(6492),i=n(3747),o=n(4928),s=n(1586),l=n(2180),u=n(4151);function m(e,t){let n;let r="list"==e.fieldKind?(0,o.sG)(t,e):"map"==e.fieldKind?(0,o.G6)(t,e):d(e,t);if(!0!==r){switch(e.fieldKind){case"list":n=`expected ${y(e)}, got ${g(t)}`;break;case"map":n=`expected ${N(e)}, got ${g(t)}`;break;default:n=b(e,t,r)}return new i.b(e,n)}}function p(e,t,n){let r=d(e,n);if(!0!==r)return new i.b(e,`list item #${t+1}: ${b(e,n,r)}`)}function f(e,t,n){let r=c(t,e.mapKey);if(!0!==r)return new i.b(e,`invalid map key: ${b({scalar:e.mapKey},t,r)}`);let a=d(e,n);if(!0!==a)return new i.b(e,`map entry ${g(t)}: ${b(e,n,a)}`)}function d(e,t){return void 0!==e.scalar?c(t,e.scalar):void 0!==e.enum?e.enum.open?Number.isInteger(t):e.enum.values.some(e=>e.number===t):(0,o.LT)(t,e.message)}function c(e,t){switch(t){case r.L.DOUBLE:return"number"==typeof e;case r.L.FLOAT:if("number"!=typeof e)return!1;if(Number.isNaN(e)||!Number.isFinite(e))return!0;if(e>s.xY||es.go||es.f7||e<0)return`${e.toFixed()} out of range`;return!0;case r.L.BOOL:return"boolean"==typeof e;case r.L.STRING:if("string"!=typeof e)return!1;return(0,l.d)().checkUtf8(e)||"invalid UTF8";case r.L.BYTES:return e instanceof Uint8Array;case r.L.INT64:case r.L.SFIXED64:case r.L.SINT64:if("string"!=typeof e&&"bigint"!=typeof e&&"number"!=typeof e)return!1;try{u.M.parse(e)}catch(t){return`${e} out of range`}return!0;case r.L.FIXED64:case r.L.UINT64:if("string"!=typeof e&&"bigint"!=typeof e&&"number"!=typeof e)return!1;try{u.M.uParse(e)}catch(t){return`${e} out of range`}return!0}}function b(e,t,n){return(n="string"==typeof n?`: ${n}`:`, got ${g(t)}`,void 0!==e.scalar)?`expected ${function(e){switch(e){case r.L.STRING:return"string";case r.L.BOOL:return"boolean";case r.L.INT64:case r.L.SINT64:case r.L.SFIXED64:return"bigint (int64)";case r.L.UINT64:case r.L.FIXED64:return"bigint (uint64)";case r.L.BYTES:return"Uint8Array";case r.L.DOUBLE:return"number (float64)";case r.L.FLOAT:return"number (float32)";case r.L.FIXED32:case r.L.UINT32:return"number (uint32)";case r.L.INT32:case r.L.SFIXED32:case r.L.SINT32:return"number (int32)"}}(e.scalar)}`+n:void 0!==e.enum?`expected ${e.enum.toString()}`+n:`expected ${E(e.message)}`+n}function g(e){switch(typeof e){case"object":if(null===e)return"null";if(e instanceof Uint8Array)return`Uint8Array(${e.length})`;if(Array.isArray(e))return`Array(${e.length})`;if((0,o.sG)(e))return y(e.field());if((0,o.G6)(e))return N(e.field());if((0,o.LT)(e))return E(e.desc);if((0,a.K)(e))return`message ${e.$typeName}`;return"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function E(e){return`ReflectMessage (${e.typeName})`}function y(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${r.L[e.scalar]})`}}function N(e){switch(e.mapKind){case"message":return`ReflectMap (${r.L[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${r.L[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${r.L[e.mapKey]}, ${r.L[e.scalar]})`}}},8628:(e,t,n)=>{"use strict";n.d(t,{E4:()=>f});var r=n(9513),a=n(5005),i=n(3747),o=n(3322),s=n(3577),l=n(466),u=n(9287),m=n(4151),p=n(4928);function f(e,t,n=!0){return new d(e,t,n)}class d{get sortedFields(){var e;return null!==(e=this._sortedFields)&&void 0!==e?e:this._sortedFields=this.desc.fields.concat().sort((e,t)=>e.number-t.number)}constructor(e,t,n=!0){this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[o.I4]=null!=t?t:(0,s.v)(e),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return c(this.message,e),(0,o.mO)(this.message,e)}isSet(e){return c(this.message,e),(0,o.zB)(this.message,e)}clear(e){c(this.message,e),(0,o.yO)(this.message,e)}get(e){c(this.message,e);let t=(0,o.$v)(this.message,e);switch(e.fieldKind){case"list":let n=this.lists.get(e);return n&&n[o.I4]===t||this.lists.set(e,n=new b(e,t,this.check)),n;case"map":let r=this.maps.get(e);return r&&r[o.I4]===t||this.maps.set(e,r=new g(e,t,this.check)),r;case"message":return y(e,t,this.check);case"scalar":return void 0===t?(0,u.M7)(e.scalar,!1):v(e,t);case"enum":return null!=t?t:e.enum.values[0].number}}set(e,t){let n;if(c(this.message,e),this.check){let n=(0,a.PZ)(e,t);if(n)throw n}n="message"==e.fieldKind?E(e,t):(0,p.G6)(t)||(0,p.sG)(t)?t[o.I4]:O(e,t),(0,o.lA)(this.message,e,n)}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}}function c(e,t){if(t.parent.typeName!==e.$typeName)throw new i.b(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class b{field(){return this._field}get size(){return this._arr.length}constructor(e,t,n){this._field=e,this._arr=this[o.I4]=t,this.check=n}get(e){let t=this._arr[e];return void 0===t?void 0:h(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new i.b(this._field,`list item #${e+1}: out of range`);if(this.check){let n=(0,a.MJ)(this._field,e,t);if(n)throw n}this._arr[e]=N(this._field,t)}add(e){if(this.check){let t=(0,a.MJ)(this._field,this._arr.length,e);if(t)throw t}this._arr.push(N(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield h(this._field,e,this.check)}*entries(){for(let e=0;e{"use strict";n.d(t,{M7:()=>i,MZ:()=>o});var r=n(4151),a=n(9513);function i(e,t){switch(e){case a.L.STRING:return"";case a.L.BOOL:return!1;default:case a.L.DOUBLE:case a.L.FLOAT:return 0;case a.L.INT64:case a.L.UINT64:case a.L.SFIXED64:case a.L.FIXED64:case a.L.SINT64:return t?"0":r.M.zero;case a.L.BYTES:return new Uint8Array(0)}}function o(e,t){switch(e){case a.L.BOOL:return!1===t;case a.L.STRING:return""===t;case a.L.BYTES:return t instanceof Uint8Array&&!t.byteLength;default:return 0==t}}},3322:(e,t,n)=>{"use strict";n.d(t,{$v:()=>l,I4:()=>a,b1:()=>s,lA:()=>u,mO:()=>i,yO:()=>m,zB:()=>o});var r=n(9287);let a=Symbol.for("reflect unsafe local");function i(e,t){let n=e[t.localName].case;return void 0===n?n:t.fields.find(e=>e.localName===n)}function o(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(2!=t.presence)return void 0!==e[n]&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!(0,r.MZ)(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw Error("message field with implicit presence")}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]}function l(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function u(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function m(e,t){let n=t.localName;if(t.oneof){let r=t.oneof.localName;e[r].case===n&&(e[r]={case:void 0})}else if(2!=t.presence)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=(0,r.M7)(t.scalar,t.longAsString)}}},5636:(e,t,n)=>{"use strict";let r,a,i;function o(e){let t=function(){if(!i){i=[];let e=l("std");for(let t=0;t>4,u=s,o=2;break;case 2:r[a++]=(15&u)<<4|(60&s)>>2,u=s,o=3;break;case 3:r[a++]=(3&u)<<6|s,o=0}}if(1==o)throw Error("invalid base64 string");return r.subarray(0,a)}function s(e,t="std"){let n=l(t),r="std"==t,a="",i=0,o,u=0;for(let t=0;t>2],u=(3&o)<<4,i=1;break;case 1:a+=n[u|o>>4],u=(15&o)<<2,i=2;break;case 2:a+=n[u|o>>6],a+=n[63&o],i=0}return i&&(a+=n[u],r&&(a+="=",1==i&&(a+="="))),a}function l(e){return r||(a=(r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("")).slice(0,-2).concat("-","_")),"url"==e?a:r}n.d(t,{K:()=>s,u:()=>o})},1586:(e,t,n)=>{"use strict";n.d(t,{O0:()=>r,Qh:()=>p,T:()=>l,V5:()=>d,f7:()=>u,fI:()=>f,go:()=>m,xY:()=>s});var r,a=n(8251),i=n(4151),o=n(2180);!function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"}(r||(r={}));let s=34028234663852886e22,l=-34028234663852886e22,u=0xffffffff,m=0x7fffffff,p=-0x80000000;class f{constructor(e=(0,o.d)().encodeUtf8){this.encodeUtf8=e,this.stack=[],this.chunks=[],this.buf=[]}finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(b(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return c(e),(0,a.f7)(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.encodeUtf8(e);return this.uint32(t.byteLength),this.raw(t)}float(e){!function(e){if("string"==typeof e){let t=e;if(isNaN(e=Number(e))&&"NaN"!==t)throw Error("invalid float32: "+t)}else if("number"!=typeof e)throw Error("invalid float32: "+typeof e);if(Number.isFinite(e)&&(e>s||e>31)>>>0,(0,a.f7)(e,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=i.M.enc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=i.M.uEnc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}int64(e){let t=i.M.enc(e);return(0,a.cV)(t.lo,t.hi,this.buf),this}sint64(e){let t=i.M.enc(e),n=t.hi>>31,r=t.lo<<1^n,o=(t.hi<<1|t.lo>>>31)^n;return(0,a.cV)(r,o,this.buf),this}uint64(e){let t=i.M.uEnc(e);return(0,a.cV)(t.lo,t.hi,this.buf),this}}class d{constructor(e,t=(0,o.d)().decodeUtf8){this.decodeUtf8=t,this.varint64=a.ls,this.uint32=a.Gn,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}tag(){let e=this.uint32(),t=e>>>3,n=7&e;if(t<=0||n<0||n>5)throw Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e,t){let n=this.pos;switch(e){case r.Varint:for(;128&this.buf[this.pos++];);break;case r.Bit64:this.pos+=4;case r.Bit32:this.pos+=4;break;case r.LengthDelimited:let a=this.uint32();this.pos+=a;break;case r.StartGroup:for(;;){let[e,n]=this.tag();if(n===r.EndGroup){if(void 0!==t&&e!==t)throw Error("invalid end group tag");break}this.skip(n,e)}break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return i.M.dec(...this.varint64())}uint64(){return i.M.uDec(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(1&e);return e=(e>>>1|(1&t)<<31)^n,t=t>>>1^n,i.M.dec(e,t)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return i.M.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return i.M.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.decodeUtf8(this.bytes())}}function c(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid int32: "+typeof e);if(!Number.isInteger(e)||e>m||eu||e<0)throw Error("invalid uint32: "+e)}},2180:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});let r=Symbol.for("@bufbuild/protobuf/text-encoding");function a(){if(void 0==globalThis[r]){let e=new globalThis.TextEncoder,t=new globalThis.TextDecoder;globalThis[r]={encodeUtf8:t=>e.encode(t),decodeUtf8:e=>t.decode(e),checkUtf8(e){try{return encodeURIComponent(e),!0}catch(e){return!1}}}}return globalThis[r]}},8251:(e,t,n)=>{"use strict";function r(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(127&r)<>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(127&r)<>>r,i=!(a>>>7==0&&0==t),o=(i?128|a:a)&255;if(n.push(o),!i)return}let r=e>>>28&15|(7&t)<<4,a=t>>3!=0;if(n.push((a?128|r:r)&255),a){for(let e=3;e<31;e+=7){let r=t>>>e,a=r>>>7!=0,i=(a?128|r:r)&255;if(n.push(i),!a)return}n.push(t>>>31&1)}}function i(e){let t="-"===e[0];t&&(e=e.slice(1));let n=0,r=0;function a(t,a){let i=Number(e.slice(t,a));r*=1e6,(n=1e6*n+i)>=0x100000000&&(r+=n/0x100000000|0,n%=0x100000000)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),t?u(n,r):l(n,r)}function o(e,t){let n=l(e,t),r=0x80000000&n.hi;r&&(n=u(n.lo,n.hi));let a=s(n.lo,n.hi);return r?"-"+a:a}function s(e,t){if({lo:e,hi:t}={lo:e>>>0,hi:t>>>0},t<=2097151)return String(0x100000000*t+e);let n=0xffffff&e,r=(e>>>24|t<<8)&0xffffff,a=t>>16&65535,i=n+6777216*r+6710656*a,o=r+8147497*a,s=2*a;return i>=1e7&&(o+=Math.floor(i/1e7),i%=1e7),o>=1e7&&(s+=Math.floor(o/1e7),o%=1e7),s.toString()+m(o)+m(i)}function l(e,t){return{lo:0|e,hi:0|t}}function u(e,t){return t=~t,e?e=~e+1:t+=1,l(e,t)}n.d(t,{Gn:()=>f,Hc:()=>s,LJ:()=>i,_Q:()=>o,cV:()=>a,f7:()=>p,ls:()=>r});let m=e=>{let t=String(e);return"0000000".slice(t.length)+t};function p(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}function f(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}},466:(e,t,n)=>{"use strict";function r(e){return i(e.$typeName)}function a(e){let t=e.fields[0];return i(e.typeName)&&void 0!==t&&"scalar"==t.fieldKind&&"value"==t.name&&1==t.number}function i(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}n.d(t,{Y:()=>r,l:()=>a})}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[488],{1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>f,Jy:()=>a,Wz:()=>p,ff:()=>i,gy:()=>m,oU:()=>u});var r=n(2115);n(5155);let a=["xxl","xl","lg","md","sm","xs"],i="xs",o=r.createContext({prefixes:{},breakpoints:a,minBreakpoint:i}),{Consumer:s,Provider:l}=o;function u(e,t){let{prefixes:n}=(0,r.useContext)(o);return e||n[t]||t}function m(){let{breakpoints:e}=(0,r.useContext)(o);return e}function f(){let{minBreakpoint:e}=(0,r.useContext)(o);return e}function p(){let{dir:e}=(0,r.useContext)(o);return"rtl"===e}},4617:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t{"use strict";n.d(t,{o:()=>o});var r=n(9513),a=n(8628),i=n(4928);function o(e,t){return s((0,a.E4)(e,t)).message}function s(e){let t=(0,a.E4)(e.desc);for(let n of e.fields)if(e.isSet(n))switch(n.fieldKind){default:t.set(n,l(n,e.get(n)));break;case"list":let r=t.get(n);for(let t of e.get(n))r.add(l(n,t));break;case"map":let a=t.get(n);for(let t of e.get(n).entries())a.set(t[0],l(n,t[1]))}let n=e.getUnknown();return n&&n.length>0&&t.setUnknown([...n]),t}function l(e,t){return void 0!==e.message&&(0,i.LT)(t)?s(t):e.scalar==r.L.BYTES&&t instanceof Uint8Array?t.slice():t}},6788:(e,t,n)=>{"use strict";n.d(t,{w:()=>j});var r,a,i,o,s,l,u,m,f,p,d,c,b,g,E,y,N,h=n(5636),T=n(8373),I=n(3322);function _(e){for(let t of e.field)(0,I.b1)(t,"jsonName")||(t.jsonName=(0,T.R)(t.name));e.nestedType.forEach(_)}var v=n(9513),O=n(4151);function L(...e){let t=function(){let e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator]:()=>e.values(),get files(){return n.values()},addFile(e,t,r){if(n.set(e.proto.name,e),!t)for(let t of function* e(t){switch(t.kind){case"file":for(let n of t.messages)yield n,yield*e(n);yield*t.enums,yield*t.services,yield*t.extensions;break;case"message":for(let n of t.nestedMessages)yield n,yield*e(n);yield*t.nestedEnums,yield*t.nestedExtensions}}(e))this.add(t);if(r)for(let n of e.dependencies)this.addFile(n,t,r)},add(n){if("extension"==n.kind){let e=t.get(n.extendee.typeName);e||t.set(n.extendee.typeName,e=new Map),e.set(n.number,n)}e.set(n.typeName,n)},get:t=>e.get(t),getFile:e=>n.get(e),getMessage(t){let n=e.get(t);return(null==n?void 0:n.kind)=="message"?n:void 0},getEnum(t){let n=e.get(t);return(null==n?void 0:n.kind)=="enum"?n:void 0},getExtension(t){let n=e.get(t);return(null==n?void 0:n.kind)=="extension"?n:void 0},getExtensionFor(e,n){var r;return null===(r=t.get(e.typeName))||void 0===r?void 0:r.get(n)},getService(t){let n=e.get(t);return(null==n?void 0:n.kind)=="service"?n:void 0}}}();if(!e.length)return t;if("$typeName"in e[0]&&"google.protobuf.FileDescriptorSet"==e[0].$typeName){for(let n of e[0].file)D(n,t);return t}if("$typeName"in e[0]){let n=e[0],r=e[1],a=new Set;for(let e of[n,...function e(n){let i=[];for(let e of n.dependency){if(void 0!=t.getFile(e)||a.has(e))continue;let o=r(e);if(!o)throw Error(`Unable to resolve ${e}, imported by ${n.name}`);"kind"in o?t.addFile(o,!1,!0):(a.add(o.name),i.push(o))}return i.concat(...i.map(e))}(n)].reverse())D(e,t)}else for(let n of e)for(let e of n.files)t.addFile(e);return t}let S={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1}};function D(e,t){var n,r;let a={kind:"file",proto:e,deprecated:null!==(r=null===(n=e.options)||void 0===n?void 0:n.deprecated)&&void 0!==r&&r,edition:function(e){switch(e.syntax){case"":case"proto2":return 998;case"proto3":return 999;case"editions":if(e.edition in S)return e.edition;throw Error(`${e.name}: unsupported edition`);default:throw Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}(e),name:e.name.replace(/\.proto$/,""),dependencies:e.dependency.map(n=>{let r=t.getFile(n);if(!r)throw Error(`Cannot find ${n}, imported by ${e.name}`);return r}),enums:[],messages:[],extensions:[],services:[],toString:()=>`file ${e.name}`},i=new Map,o={get:e=>i.get(e),add(e){var t;M((null===(t=e.proto.options)||void 0===t?void 0:t.mapEntry)===!0),i.set(e.typeName,e)}};for(let n of e.enumType)w(n,a,void 0,t);for(let n of e.messageType)!function e(t,n,r,a,i){var o,s,l,u;let m={kind:"message",proto:t,deprecated:null!==(s=null===(o=t.options)||void 0===o?void 0:o.deprecated)&&void 0!==s&&s,file:n,parent:r,name:t.name,typeName:A(t,r,n),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};for(let e of((null===(l=t.options)||void 0===l?void 0:l.mapEntry)===!0?i.add(m):((null!==(u=null==r?void 0:r.nestedMessages)&&void 0!==u?u:n.messages).push(m),a.add(m)),t.enumType))w(e,n,m,a);for(let r of t.nestedType)e(r,n,m,a,i)}(n,a,void 0,t,o);for(let n of e.service)!function(e,t,n){var r,a;let i={kind:"service",proto:e,deprecated:null!==(a=null===(r=e.options)||void 0===r?void 0:r.deprecated)&&void 0!==a&&a,file:t,name:e.name,typeName:A(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};for(let r of(t.services.push(i),n.add(i),e.method)){let e=function(e,t,n){var r,a,i,o;let s;s=e.clientStreaming&&e.serverStreaming?"bidi_streaming":e.clientStreaming?"client_streaming":e.serverStreaming?"server_streaming":"unary";let l=n.getMessage(U(e.inputType)),u=n.getMessage(U(e.outputType));M(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),M(u,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);let m=e.name;return{kind:"rpc",proto:e,deprecated:null!==(a=null===(r=e.options)||void 0===r?void 0:r.deprecated)&&void 0!==a&&a,parent:t,name:m,localName:(0,T.a)(m.length?(0,T.a)(m[0].toLowerCase()+m.substring(1)):m),methodKind:s,input:l,output:u,idempotency:null!==(o=null===(i=e.options)||void 0===i?void 0:i.idempotencyLevel)&&void 0!==o?o:0,toString:()=>`rpc ${t.typeName}.${m}`}}(r,i,n);i.methods.push(e),i.method[e.localName]=e}}(n,a,t);for(let e of(F(a,t),i.values()))k(e,t,o);for(let e of a.messages)k(e,t,o),F(e,t);t.addFile(a,!0)}function F(e,t){switch(e.kind){case"file":for(let n of e.proto.extension){let r=R(n,e,t);e.extensions.push(r),t.add(r)}break;case"message":for(let n of e.proto.extension){let r=R(n,e,t);e.nestedExtensions.push(r),t.add(r)}for(let n of e.nestedMessages)F(n,t)}}function k(e,t,n){let r=e.proto.oneofDecl.map(t=>({kind:"oneof",proto:t,deprecated:!1,parent:e,fields:[],name:t.name,localName:(0,T.a)((0,T.R)(t.name)),toString(){return`oneof ${e.typeName}.${this.name}`}})),a=new Set;for(let i of e.proto.field){let o=function(e,t){if(!(0,I.b1)(e,"oneofIndex")||e.proto3Optional)return;let n=t[e.oneofIndex];return M(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}(i,r),s=R(i,e,t,o,n);e.fields.push(s),e.field[s.localName]=s,void 0===o?e.members.push(s):(o.fields.push(s),a.has(o)||(a.add(o),e.members.push(o)))}for(let t of r.filter(e=>a.has(e)))e.oneofs.push(t);for(let r of e.nestedMessages)k(r,t,n)}function w(e,t,n,r){var a,i,o,s;let l=function(e,t){let n=(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,e=>"_"+e)).toLowerCase()+"_";for(let e of t){if(!e.name.toLowerCase().startsWith(n))return;let t=e.name.substring(n.length);if(0==t.length||/^\d/.test(t))return}return n}(e.name,e.value),u={kind:"enum",proto:e,deprecated:null!==(i=null===(a=e.options)||void 0===a?void 0:a.deprecated)&&void 0!==i&&i,file:t,parent:n,open:!0,name:e.name,typeName:A(e,n,t),value:{},values:[],sharedPrefix:l,toString(){return`enum ${this.typeName}`}};u.open=1==x("enumType",{proto:u.proto,parent:null!==(s=u.parent)&&void 0!==s?s:u.file}),r.add(u),e.value.forEach(e=>{var t,n;let r=e.name;u.values.push(u.value[e.number]={kind:"enum_value",proto:e,deprecated:null!==(n=null===(t=e.options)||void 0===t?void 0:t.deprecated)&&void 0!==n&&n,parent:u,name:r,localName:(0,T.a)(void 0==l?r:r.substring(l.length)),number:e.number,toString:()=>`enum value ${u.typeName}.${r}`})}),(null!==(o=null==n?void 0:n.nestedEnums)&&void 0!==o?o:t.enums).push(u)}function R(e,t,n,r,a){var i,o,s;let l=void 0===a,u={kind:"field",proto:e,deprecated:null!==(o=null===(i=e.options)||void 0===i?void 0:i.deprecated)&&void 0!==o&&o,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:2==e.label?3:3==e.label?2:r||e.proto3Optional||11==e.type||l?1:x("fieldPresence",{proto:e,parent:t}),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(l){let r="file"==t.kind?t:t.file,a="file"==t.kind?void 0:t,i=A(e,a,r);u.kind="extension",u.file=r,u.parent=a,u.oneof=void 0,u.typeName=i,u.jsonName=`[${i}]`,u.toString=()=>`extension ${i}`;let o=n.getMessage(U(e.extendee));M(o,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),u.extendee=o}else M("message"==t.kind),u.parent=t,u.oneof=r,u.localName=r?(0,T.R)(e.name):(0,T.a)((0,T.R)(e.name)),u.jsonName=e.jsonName,u.toString=()=>`field ${t.typeName}.${e.name}`;let m=e.label,f=e.type,p=null===(s=e.options)||void 0===s?void 0:s.jstype;if(3===m){let r=11==f?null==a?void 0:a.get(U(e.typeName)):void 0;if(r){u.fieldKind="map";let{key:e,value:t}=function(e){let t=e.fields.find(e=>1===e.number),n=e.fields.find(e=>2===e.number);return M(t&&"scalar"==t.fieldKind&&t.scalar!=v.L.BYTES&&t.scalar!=v.L.FLOAT&&t.scalar!=v.L.DOUBLE&&n&&"list"!=n.fieldKind&&"map"!=n.fieldKind),{key:t,value:n}}(r);return u.mapKey=e.scalar,u.mapKind=t.fieldKind,u.message=t.message,u.delimitedEncoding=!1,u.enum=t.enum,u.scalar=t.scalar,u}switch(u.fieldKind="list",f){case 11:case 10:u.listKind="message",u.message=n.getMessage(U(e.typeName)),M(u.message),u.delimitedEncoding=P(e,t);break;case 14:u.listKind="enum",u.enum=n.getEnum(U(e.typeName)),M(u.enum);break;default:u.listKind="scalar",u.scalar=f,u.longAsString=1==p}return u.packed=function(e,t){if(3!=e.label)return!1;switch(e.type){case 9:case 12:case 10:case 11:return!1}let n=e.options;return n&&(0,I.b1)(n,"packed")?n.packed:1==x("repeatedFieldEncoding",{proto:e,parent:t})}(e,t),u}switch(f){case 11:case 10:u.fieldKind="message",u.message=n.getMessage(U(e.typeName)),M(u.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.delimitedEncoding=P(e,t),u.getDefaultValue=()=>void 0;break;case 14:{let t=n.getEnum(U(e.typeName));M(void 0!==t,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.fieldKind="enum",u.enum=n.getEnum(U(e.typeName)),u.getDefaultValue=()=>(0,I.b1)(e,"defaultValue")?function(e,t){let n=e.values.find(e=>e.name===t);if(!n)throw Error(`cannot parse ${e} default value: ${t}`);return n.number}(t,e.defaultValue):void 0;break}default:u.fieldKind="scalar",u.scalar=f,u.longAsString=1==p,u.getDefaultValue=()=>(0,I.b1)(e,"defaultValue")?function(e,t){switch(e){case v.L.STRING:return t;case v.L.BYTES:{let n=function(e){let t=[],n={tail:e,c:"",next(){return 0!=this.tail.length&&(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(e){if(this.tail.length>=e){let t=this.tail.substring(0,e);return this.tail=this.tail.substring(e),t}return!1}};for(;n.next();)if("\\"===n.c){if(n.next())switch(n.c){case"\\":t.push(n.c.charCodeAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{let e=n.c,r=n.take(2);if(!1===r)return!1;let a=parseInt(e+r,8);if(isNaN(a))return!1;t.push(a);break}case"x":{let e=n.c,r=n.take(2);if(!1===r)return!1;let a=parseInt(e+r,16);if(isNaN(a))return!1;t.push(a);break}case"u":{let e=n.c,r=n.take(4);if(!1===r)return!1;let a=parseInt(e+r,16);if(isNaN(a))return!1;let i=new Uint8Array(4);new DataView(i.buffer).setInt32(0,a,!0),t.push(i[0],i[1],i[2],i[3]);break}case"U":{let e=n.c,r=n.take(8);if(!1===r)return!1;let a=O.M.uEnc(e+r),i=new Uint8Array(8),o=new DataView(i.buffer);o.setInt32(0,a.lo,!0),o.setInt32(4,a.hi,!0),t.push(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7])}}}else t.push(n.c.charCodeAt(0));return new Uint8Array(t)}(t);if(!1===n)throw Error(`cannot parse ${v.L[e]} default value: ${t}`);return n}case v.L.INT64:case v.L.SFIXED64:case v.L.SINT64:return O.M.parse(t);case v.L.UINT64:case v.L.FIXED64:return O.M.uParse(t);case v.L.DOUBLE:case v.L.FLOAT:switch(t){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return Number.NaN;default:return parseFloat(t)}case v.L.BOOL:return"true"===t;case v.L.INT32:case v.L.UINT32:case v.L.SINT32:case v.L.FIXED32:case v.L.SFIXED32:return parseInt(t,10)}}(f,e.defaultValue):void 0}return u}function A(e,t,n){return t?`${t.typeName}.${e.name}`:n.proto.package.length>0?`${n.proto.package}.${e.name}`:`${e.name}`}function U(e){return e.startsWith(".")?e.substring(1):e}function P(e,t){return 10==e.type||2==x("messageEncoding",{proto:e,parent:t})}function x(e,t){var n,r;let a=null===(n=t.proto.options)||void 0===n?void 0:n.features;if(a){let t=a[e];if(0!=t)return t}if("kind"in t){if("message"==t.kind)return x(e,null!==(r=t.parent)&&void 0!==r?r:t.file);let n=S[t.edition];if(!n)throw Error(`feature default for edition ${t.edition} not found`);return n[e]}return x(e,t.parent)}function M(e,t){if(!e)throw Error(t)}function G(e){var t,n,r,a,i,o,s,l;return{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:null!==(n=null===(t=e.field)||void 0===t?void 0:t.map(Y))&&void 0!==n?n:[],extension:[],nestedType:null!==(a=null===(r=e.nestedType)||void 0===r?void 0:r.map(G))&&void 0!==a?a:[],enumType:null!==(o=null===(i=e.enumType)||void 0===i?void 0:i.map(K))&&void 0!==o?o:[],extensionRange:null!==(l=null===(s=e.extensionRange)||void 0===s?void 0:s.map(e=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},e)))&&void 0!==l?l:[],oneofDecl:[],reservedRange:[],reservedName:[]}}function Y(e){var t,n,r,a;return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?(t=e.options,Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},t),{targets:null!==(n=t.targets)&&void 0!==n?n:[],editionDefaults:null!==(a=null===(r=t.editionDefaults)||void 0===r?void 0:r.map(e=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},e)))&&void 0!==a?a:[],uninterpretedOption:[]}))):void 0}))}function K(e){return{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(e=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},e))}}var $=n(8123);let V=function(e){let t=Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(G),enumType:e.enumType.map(K)}));return t.messageType.forEach(_),L(t,()=>void 0).getFile(t.name)}({name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false"},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1},{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false"},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0},{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:0x7fffffff}]}]}),B=(0,$.Z)(V,1);!function(e){e[e.DECLARATION=0]="DECLARATION",e[e.UNVERIFIED=1]="UNVERIFIED"}(r||(r={})),function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.GROUP=10]="GROUP",e[e.MESSAGE=11]="MESSAGE",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.ENUM=14]="ENUM",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"}(a||(a={})),function(e){e[e.OPTIONAL=1]="OPTIONAL",e[e.REPEATED=3]="REPEATED",e[e.REQUIRED=2]="REQUIRED"}(i||(i={})),function(e){e[e.SPEED=1]="SPEED",e[e.CODE_SIZE=2]="CODE_SIZE",e[e.LITE_RUNTIME=3]="LITE_RUNTIME"}(o||(o={})),function(e){e[e.STRING=0]="STRING",e[e.CORD=1]="CORD",e[e.STRING_PIECE=2]="STRING_PIECE"}(s||(s={})),function(e){e[e.JS_NORMAL=0]="JS_NORMAL",e[e.JS_STRING=1]="JS_STRING",e[e.JS_NUMBER=2]="JS_NUMBER"}(l||(l={})),function(e){e[e.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",e[e.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",e[e.RETENTION_SOURCE=2]="RETENTION_SOURCE"}(u||(u={})),function(e){e[e.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",e[e.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",e[e.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",e[e.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",e[e.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",e[e.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",e[e.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",e[e.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",e[e.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",e[e.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD"}(m||(m={})),function(e){e[e.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",e[e.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",e[e.IDEMPOTENT=2]="IDEMPOTENT"}(f||(f={})),function(e){e[e.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",e[e.EXPLICIT=1]="EXPLICIT",e[e.IMPLICIT=2]="IMPLICIT",e[e.LEGACY_REQUIRED=3]="LEGACY_REQUIRED"}(p||(p={})),function(e){e[e.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",e[e.OPEN=1]="OPEN",e[e.CLOSED=2]="CLOSED"}(d||(d={})),function(e){e[e.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",e[e.PACKED=1]="PACKED",e[e.EXPANDED=2]="EXPANDED"}(c||(c={})),function(e){e[e.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",e[e.VERIFY=2]="VERIFY",e[e.NONE=3]="NONE"}(b||(b={})),function(e){e[e.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",e[e.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",e[e.DELIMITED=2]="DELIMITED"}(g||(g={})),function(e){e[e.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",e[e.ALLOW=1]="ALLOW",e[e.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT"}(E||(E={})),function(e){e[e.NONE=0]="NONE",e[e.SET=1]="SET",e[e.ALIAS=2]="ALIAS"}(y||(y={})),function(e){e[e.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",e[e.EDITION_LEGACY=900]="EDITION_LEGACY",e[e.EDITION_PROTO2=998]="EDITION_PROTO2",e[e.EDITION_PROTO3=999]="EDITION_PROTO3",e[e.EDITION_2023=1e3]="EDITION_2023",e[e.EDITION_2024=1001]="EDITION_2024",e[e.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",e[e.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",e[e.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",e[e.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",e[e.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",e[e.EDITION_MAX=0x7fffffff]="EDITION_MAX"}(N||(N={}));var C=n(6989);function j(e,t){var n;let r=(0,C.Er)(B,(0,h.u)(e));return r.messageType.forEach(_),r.dependency=null!==(n=null==t?void 0:t.map(e=>e.proto.name))&&void 0!==n?n:[],L(r,e=>null==t?void 0:t.find(t=>t.proto.name===e)).getFile(r.name)}},8123:(e,t,n)=>{"use strict";function r(e,t,...n){return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t])}n.d(t,{Z:()=>r})},3577:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var r=n(6492),a=n(9513),i=n(9287),o=n(4928),s=n(3322),l=n(466);function u(e,t){if((0,r.K)(t,e))return t;let n=function(e){let t;if(function(e){switch(e.file.edition){case 999:return!1;case 998:return!0;default:return e.fields.some(e=>2!=e.presence&&"message"!=e.fieldKind&&!e.oneof)}}(e)){let n,r;let a=b.get(e);if(a)({prototype:n,members:r}=a);else{for(let t of(n={},r=new Set,e.members))"oneof"!=t.kind&&("scalar"==t.fieldKind||"enum"==t.fieldKind)&&2!=t.presence&&(r.add(t),n[t.localName]=g(t));b.set(e,{prototype:n,members:r})}for(let a of((t=Object.create(n)).$typeName=e.typeName,e.members))r.has(a)||"field"==a.kind&&("message"==a.fieldKind||("scalar"==a.fieldKind||"enum"==a.fieldKind)&&2!=a.presence)||(t[a.localName]=g(a))}else for(let n of(t={$typeName:e.typeName},e.members))("oneof"==n.kind||2==n.presence)&&(t[n.localName]=g(n));return t}(e);return void 0!==t&&function(e,t,n){for(let r of e.members){let e,i=n[r.localName];if(null!=i){if("oneof"==r.kind){let t=(0,s.mO)(n,r);if(!t)continue;e=t,i=(0,s.$v)(n,t)}else e=r;switch(e.fieldKind){case"message":i=f(e,i);break;case"scalar":i=m(e,i);break;case"list":i=function(e,t){if(Array.isArray(t)){if(e.scalar==a.L.BYTES)return t.map(p);if("message"==e.listKind)return t.map(t=>f(e,t))}return t}(e,i);break;case"map":i=function(e,t){if((0,o.Gv)(t)){if(e.scalar==a.L.BYTES)return d(t,p);if("message"==e.mapKind)return d(t,t=>f(e,t))}return t}(e,i)}(0,s.lA)(t,e,i)}}}(e,n,t),n}function m(e,t){return e.scalar==a.L.BYTES?p(t):t}function f(e,t){if("message"==e.fieldKind&&!e.oneof&&(0,l.l)(e.message))return m(e.message.fields[0],t);if((0,o.Gv)(t)){if("google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!==e.parent.typeName)return t;if(!(0,r.K)(t,e.message))return u(e.message,t)}return t}function p(e){return Array.isArray(e)?new Uint8Array(e):e}function d(e,t){let n={};for(let r of Object.entries(e))n[r[0]]=t(r[1]);return n}let c=Symbol(),b=new WeakMap;function g(e){if("oneof"==e.kind)return{case:void 0};if("list"==e.fieldKind)return[];if("map"==e.fieldKind)return{};if("message"==e.fieldKind)return c;let t=e.getDefaultValue();return void 0!==t?"scalar"==e.fieldKind&&e.longAsString?t.toString():t:"scalar"==e.fieldKind?(0,i.M7)(e.scalar,e.longAsString):e.enum.values[0].number}},9513:(e,t,n)=>{"use strict";var r;n.d(t,{L:()=>r}),function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"}(r||(r={}))},6989:(e,t,n)=>{"use strict";n.d(t,{Er:()=>l,dR:()=>m});var r=n(9513),a=n(9287),i=n(8628),o=n(1586);let s={readUnknownFields:!0};function l(e,t,n){let r=(0,i.E4)(e,void 0,!1);return u(r,new o.V5(t),n?Object.assign(Object.assign({},s),n):s,!1,t.byteLength),r.message}function u(e,t,n,r,a){var i;let s,l;let u=r?t.len:t.pos+a,f=null!==(i=e.getUnknown())&&void 0!==i?i:[];for(;t.pos0&&e.setUnknown(f)}function m(e,t,n,s,l){switch(n.fieldKind){case"scalar":e.set(n,p(t,n.scalar));break;case"enum":e.set(n,p(t,r.L.INT32));break;case"message":e.set(n,f(t,l,n,e.get(n)));break;case"list":!function(e,t,n,a){var i;let s=n.field();if("message"===s.listKind){n.add(f(e,a,s));return}let l=null!==(i=s.scalar)&&void 0!==i?i:r.L.INT32;if(!(t==o.O0.LengthDelimited&&l!=r.L.STRING&&l!=r.L.BYTES)){n.add(p(e,l));return}let u=e.uint32()+e.pos;for(;e.pos{"use strict";function r(e,t){return null!==e&&"object"==typeof e&&"$typeName"in e&&"string"==typeof e.$typeName&&(void 0===t||t.typeName===e.$typeName)}n.d(t,{K:()=>r})},4151:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(8251),a=n(2818);let i=function(){let e=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64&&("object"!=typeof a||"object"!=typeof a.env||"1"!==a.env.BUF_BIGINT_DISABLE)){let t=BigInt("-9223372036854775808"),n=BigInt("9223372036854775807"),r=BigInt("0"),a=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(e){let r="bigint"==typeof e?e:BigInt(e);if(r>n||ra||t(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigInt64(0,!0)),uDec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:e=>("string"!=typeof e&&(e=e.toString()),o(e),e),uParse:e=>("string"!=typeof e&&(e=e.toString()),s(e),e),enc:e=>("string"!=typeof e&&(e=e.toString()),o(e),(0,r.LJ)(e)),uEnc:e=>("string"!=typeof e&&(e=e.toString()),s(e),(0,r.LJ)(e)),dec:(e,t)=>(0,r._Q)(e,t),uDec:(e,t)=>(0,r.Hc)(e,t)}}();function o(e){if(!/^-?[0-9]+$/.test(e))throw Error("invalid int64: "+e)}function s(e){if(!/^[0-9]+$/.test(e))throw Error("invalid uint64: "+e)}},3747:(e,t,n)=>{"use strict";n.d(t,{b:()=>a,p:()=>i});let r=["FieldValueInvalidError","FieldListRangeError","ForeignFieldError"];class a extends Error{constructor(e,t,n="FieldValueInvalidError"){super(t),this.name=n,this.field=()=>e}}function i(e){return e instanceof Error&&r.includes(e.name)&&"field"in e&&"function"==typeof e.field}},4928:(e,t,n)=>{"use strict";n.d(t,{G6:()=>o,Gv:()=>a,LT:()=>s,sG:()=>i});var r=n(3322);function a(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function i(e,t){var n,i,o,s;if(a(e)&&r.I4 in e&&"add"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let r=e.field();return t.listKind==r.listKind&&t.scalar===r.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=r.message)||void 0===i?void 0:i.typeName)&&(null===(o=t.enum)||void 0===o?void 0:o.typeName)===(null===(s=r.enum)||void 0===s?void 0:s.typeName)}return!0}return!1}function o(e,t){var n,i,o,s;if(a(e)&&r.I4 in e&&"has"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let r=e.field();return t.mapKey===r.mapKey&&t.mapKind==r.mapKind&&t.scalar===r.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=r.message)||void 0===i?void 0:i.typeName)&&(null===(o=t.enum)||void 0===o?void 0:o.typeName)===(null===(s=r.enum)||void 0===s?void 0:s.typeName)}return!0}return!1}function s(e,t){return a(e)&&r.I4 in e&&"desc"in e&&a(e.desc)&&"message"===e.desc.kind&&(void 0===t||e.desc.typeName==t.typeName)}},8373:(e,t,n)=>{"use strict";function r(e){let t=!1,n=[];for(let r=0;rr,a:()=>i});let a=new Set(["constructor","toString","toJSON","valueOf"]);function i(e){return a.has(e)?e+"$":e}},5005:(e,t,n)=>{"use strict";n.d(t,{$L:()=>g,MJ:()=>f,PZ:()=>m,xI:()=>p});var r=n(9513),a=n(6492),i=n(3747),o=n(4928),s=n(1586),l=n(2180),u=n(4151);function m(e,t){let n;let r="list"==e.fieldKind?(0,o.sG)(t,e):"map"==e.fieldKind?(0,o.G6)(t,e):d(e,t);if(!0!==r){switch(e.fieldKind){case"list":n=`expected ${y(e)}, got ${g(t)}`;break;case"map":n=`expected ${N(e)}, got ${g(t)}`;break;default:n=b(e,t,r)}return new i.b(e,n)}}function f(e,t,n){let r=d(e,n);if(!0!==r)return new i.b(e,`list item #${t+1}: ${b(e,n,r)}`)}function p(e,t,n){let r=c(t,e.mapKey);if(!0!==r)return new i.b(e,`invalid map key: ${b({scalar:e.mapKey},t,r)}`);let a=d(e,n);if(!0!==a)return new i.b(e,`map entry ${g(t)}: ${b(e,n,a)}`)}function d(e,t){return void 0!==e.scalar?c(t,e.scalar):void 0!==e.enum?e.enum.open?Number.isInteger(t):e.enum.values.some(e=>e.number===t):(0,o.LT)(t,e.message)}function c(e,t){switch(t){case r.L.DOUBLE:return"number"==typeof e;case r.L.FLOAT:if("number"!=typeof e)return!1;if(Number.isNaN(e)||!Number.isFinite(e))return!0;if(e>s.xY||es.go||es.f7||e<0)return`${e.toFixed()} out of range`;return!0;case r.L.BOOL:return"boolean"==typeof e;case r.L.STRING:if("string"!=typeof e)return!1;return(0,l.d)().checkUtf8(e)||"invalid UTF8";case r.L.BYTES:return e instanceof Uint8Array;case r.L.INT64:case r.L.SFIXED64:case r.L.SINT64:if("string"!=typeof e&&"bigint"!=typeof e&&"number"!=typeof e)return!1;try{u.M.parse(e)}catch(t){return`${e} out of range`}return!0;case r.L.FIXED64:case r.L.UINT64:if("string"!=typeof e&&"bigint"!=typeof e&&"number"!=typeof e)return!1;try{u.M.uParse(e)}catch(t){return`${e} out of range`}return!0}}function b(e,t,n){return(n="string"==typeof n?`: ${n}`:`, got ${g(t)}`,void 0!==e.scalar)?`expected ${function(e){switch(e){case r.L.STRING:return"string";case r.L.BOOL:return"boolean";case r.L.INT64:case r.L.SINT64:case r.L.SFIXED64:return"bigint (int64)";case r.L.UINT64:case r.L.FIXED64:return"bigint (uint64)";case r.L.BYTES:return"Uint8Array";case r.L.DOUBLE:return"number (float64)";case r.L.FLOAT:return"number (float32)";case r.L.FIXED32:case r.L.UINT32:return"number (uint32)";case r.L.INT32:case r.L.SFIXED32:case r.L.SINT32:return"number (int32)"}}(e.scalar)}`+n:void 0!==e.enum?`expected ${e.enum.toString()}`+n:`expected ${E(e.message)}`+n}function g(e){switch(typeof e){case"object":if(null===e)return"null";if(e instanceof Uint8Array)return`Uint8Array(${e.length})`;if(Array.isArray(e))return`Array(${e.length})`;if((0,o.sG)(e))return y(e.field());if((0,o.G6)(e))return N(e.field());if((0,o.LT)(e))return E(e.desc);if((0,a.K)(e))return`message ${e.$typeName}`;return"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function E(e){return`ReflectMessage (${e.typeName})`}function y(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${r.L[e.scalar]})`}}function N(e){switch(e.mapKind){case"message":return`ReflectMap (${r.L[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${r.L[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${r.L[e.mapKey]}, ${r.L[e.scalar]})`}}},8628:(e,t,n)=>{"use strict";n.d(t,{E4:()=>p});var r=n(9513),a=n(5005),i=n(3747),o=n(3322),s=n(3577),l=n(466),u=n(9287),m=n(4151),f=n(4928);function p(e,t,n=!0){return new d(e,t,n)}class d{get sortedFields(){var e;return null!==(e=this._sortedFields)&&void 0!==e?e:this._sortedFields=this.desc.fields.concat().sort((e,t)=>e.number-t.number)}constructor(e,t,n=!0){this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[o.I4]=null!=t?t:(0,s.v)(e),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return c(this.message,e),(0,o.mO)(this.message,e)}isSet(e){return c(this.message,e),(0,o.zB)(this.message,e)}clear(e){c(this.message,e),(0,o.yO)(this.message,e)}get(e){c(this.message,e);let t=(0,o.$v)(this.message,e);switch(e.fieldKind){case"list":let n=this.lists.get(e);return n&&n[o.I4]===t||this.lists.set(e,n=new b(e,t,this.check)),n;case"map":let r=this.maps.get(e);return r&&r[o.I4]===t||this.maps.set(e,r=new g(e,t,this.check)),r;case"message":return y(e,t,this.check);case"scalar":return void 0===t?(0,u.M7)(e.scalar,!1):v(e,t);case"enum":return null!=t?t:e.enum.values[0].number}}set(e,t){let n;if(c(this.message,e),this.check){let n=(0,a.PZ)(e,t);if(n)throw n}n="message"==e.fieldKind?E(e,t):(0,f.G6)(t)||(0,f.sG)(t)?t[o.I4]:O(e,t),(0,o.lA)(this.message,e,n)}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}}function c(e,t){if(t.parent.typeName!==e.$typeName)throw new i.b(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class b{field(){return this._field}get size(){return this._arr.length}constructor(e,t,n){this._field=e,this._arr=this[o.I4]=t,this.check=n}get(e){let t=this._arr[e];return void 0===t?void 0:h(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new i.b(this._field,`list item #${e+1}: out of range`);if(this.check){let n=(0,a.MJ)(this._field,e,t);if(n)throw n}this._arr[e]=N(this._field,t)}add(e){if(this.check){let t=(0,a.MJ)(this._field,this._arr.length,e);if(t)throw t}this._arr.push(N(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield h(this._field,e,this.check)}*entries(){for(let e=0;e{"use strict";n.d(t,{M7:()=>i,MZ:()=>o});var r=n(4151),a=n(9513);function i(e,t){switch(e){case a.L.STRING:return"";case a.L.BOOL:return!1;default:case a.L.DOUBLE:case a.L.FLOAT:return 0;case a.L.INT64:case a.L.UINT64:case a.L.SFIXED64:case a.L.FIXED64:case a.L.SINT64:return t?"0":r.M.zero;case a.L.BYTES:return new Uint8Array(0)}}function o(e,t){switch(e){case a.L.BOOL:return!1===t;case a.L.STRING:return""===t;case a.L.BYTES:return t instanceof Uint8Array&&!t.byteLength;default:return 0==t}}},3322:(e,t,n)=>{"use strict";n.d(t,{$v:()=>l,I4:()=>a,b1:()=>s,lA:()=>u,mO:()=>i,yO:()=>m,zB:()=>o});var r=n(9287);let a=Symbol.for("reflect unsafe local");function i(e,t){let n=e[t.localName].case;return void 0===n?n:t.fields.find(e=>e.localName===n)}function o(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(2!=t.presence)return void 0!==e[n]&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!(0,r.MZ)(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw Error("message field with implicit presence")}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]}function l(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function u(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function m(e,t){let n=t.localName;if(t.oneof){let r=t.oneof.localName;e[r].case===n&&(e[r]={case:void 0})}else if(2!=t.presence)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=(0,r.M7)(t.scalar,t.longAsString)}}},7558:(e,t,n)=>{"use strict";n.d(t,{R:()=>s,Y:()=>u});var r=n(8628),a=n(1586),i=n(9513);let o={writeUnknownFields:!0};function s(e,t,n){return l(new a.fI,n?Object.assign(Object.assign({},o),n):o,(0,r.E4)(e,t)).finish()}function l(e,t,n){var r;for(let r of n.sortedFields){if(!n.isSet(r)){if(3==r.presence)throw Error(`cannot encode field ${n.desc.typeName}.${r.name} to binary: required field not set`);continue}u(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:a,data:i}of null!==(r=n.getUnknown())&&void 0!==r?r:[])e.tag(t,a).raw(i);return e}function u(e,t,n,r){var o;switch(r.fieldKind){case"scalar":case"enum":m(e,null!==(o=r.scalar)&&void 0!==o?o:i.L.INT32,r.number,n.get(r));break;case"list":!function(e,t,n,r){var o;if("message"==n.listKind){for(let a of r)f(e,t,n,a);return}let s=null!==(o=n.scalar)&&void 0!==o?o:i.L.INT32;if(n.packed){if(!r.size)return;for(let t of(e.tag(n.number,a.O0.LengthDelimited).fork(),r))p(e,s,t);e.join();return}for(let t of r)m(e,s,n.number,t)}(e,t,r,n.get(r));break;case"message":f(e,t,r,n.get(r));break;case"map":for(let[o,s]of n.get(r))!function(e,t,n,r,o){var s;switch(e.tag(n.number,a.O0.LengthDelimited).fork(),m(e,n.mapKey,1,r),n.mapKind){case"scalar":case"enum":m(e,null!==(s=n.scalar)&&void 0!==s?s:i.L.INT32,2,o);break;case"message":l(e.tag(2,a.O0.LengthDelimited).fork(),t,o).join()}e.join()}(e,t,r,o,s)}}function m(e,t,n,r){p(e.tag(n,function(e){switch(e){case i.L.BYTES:case i.L.STRING:return a.O0.LengthDelimited;case i.L.DOUBLE:case i.L.FIXED64:case i.L.SFIXED64:return a.O0.Bit64;case i.L.FIXED32:case i.L.SFIXED32:case i.L.FLOAT:return a.O0.Bit32;default:return a.O0.Varint}}(t)),t,r)}function f(e,t,n,r){n.delimitedEncoding?l(e.tag(n.number,a.O0.StartGroup),t,r).tag(n.number,a.O0.EndGroup):l(e.tag(n.number,a.O0.LengthDelimited).fork(),t,r).join()}function p(e,t,n){switch(t){case i.L.STRING:e.string(n);break;case i.L.BOOL:e.bool(n);break;case i.L.DOUBLE:e.double(n);break;case i.L.FLOAT:e.float(n);break;case i.L.INT32:e.int32(n);break;case i.L.INT64:e.int64(n);break;case i.L.UINT64:e.uint64(n);break;case i.L.FIXED64:e.fixed64(n);break;case i.L.BYTES:e.bytes(n);break;case i.L.FIXED32:e.fixed32(n);break;case i.L.SFIXED32:e.sfixed32(n);break;case i.L.SFIXED64:e.sfixed64(n);break;case i.L.SINT64:e.sint64(n);break;case i.L.UINT32:e.uint32(n);break;case i.L.SINT32:e.sint32(n)}}},5636:(e,t,n)=>{"use strict";let r,a,i;function o(e){let t=function(){if(!i){i=[];let e=l("std");for(let t=0;t>4,u=s,o=2;break;case 2:r[a++]=(15&u)<<4|(60&s)>>2,u=s,o=3;break;case 3:r[a++]=(3&u)<<6|s,o=0}}if(1==o)throw Error("invalid base64 string");return r.subarray(0,a)}function s(e,t="std"){let n=l(t),r="std"==t,a="",i=0,o,u=0;for(let t=0;t>2],u=(3&o)<<4,i=1;break;case 1:a+=n[u|o>>4],u=(15&o)<<2,i=2;break;case 2:a+=n[u|o>>6],a+=n[63&o],i=0}return i&&(a+=n[u],r&&(a+="=",1==i&&(a+="="))),a}function l(e){return r||(a=(r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("")).slice(0,-2).concat("-","_")),"url"==e?a:r}n.d(t,{K:()=>s,u:()=>o})},1586:(e,t,n)=>{"use strict";n.d(t,{O0:()=>r,Qh:()=>f,T:()=>l,V5:()=>d,f7:()=>u,fI:()=>p,go:()=>m,xY:()=>s});var r,a=n(8251),i=n(4151),o=n(2180);!function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"}(r||(r={}));let s=34028234663852886e22,l=-34028234663852886e22,u=0xffffffff,m=0x7fffffff,f=-0x80000000;class p{constructor(e=(0,o.d)().encodeUtf8){this.encodeUtf8=e,this.stack=[],this.chunks=[],this.buf=[]}finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(b(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return c(e),(0,a.f7)(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.encodeUtf8(e);return this.uint32(t.byteLength),this.raw(t)}float(e){!function(e){if("string"==typeof e){let t=e;if(isNaN(e=Number(e))&&"NaN"!==t)throw Error("invalid float32: "+t)}else if("number"!=typeof e)throw Error("invalid float32: "+typeof e);if(Number.isFinite(e)&&(e>s||e>31)>>>0,(0,a.f7)(e,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=i.M.enc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),r=i.M.uEnc(e);return n.setInt32(0,r.lo,!0),n.setInt32(4,r.hi,!0),this.raw(t)}int64(e){let t=i.M.enc(e);return(0,a.cV)(t.lo,t.hi,this.buf),this}sint64(e){let t=i.M.enc(e),n=t.hi>>31,r=t.lo<<1^n,o=(t.hi<<1|t.lo>>>31)^n;return(0,a.cV)(r,o,this.buf),this}uint64(e){let t=i.M.uEnc(e);return(0,a.cV)(t.lo,t.hi,this.buf),this}}class d{constructor(e,t=(0,o.d)().decodeUtf8){this.decodeUtf8=t,this.varint64=a.ls,this.uint32=a.Gn,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}tag(){let e=this.uint32(),t=e>>>3,n=7&e;if(t<=0||n<0||n>5)throw Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e,t){let n=this.pos;switch(e){case r.Varint:for(;128&this.buf[this.pos++];);break;case r.Bit64:this.pos+=4;case r.Bit32:this.pos+=4;break;case r.LengthDelimited:let a=this.uint32();this.pos+=a;break;case r.StartGroup:for(;;){let[e,n]=this.tag();if(n===r.EndGroup){if(void 0!==t&&e!==t)throw Error("invalid end group tag");break}this.skip(n,e)}break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return i.M.dec(...this.varint64())}uint64(){return i.M.uDec(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(1&e);return e=(e>>>1|(1&t)<<31)^n,t=t>>>1^n,i.M.dec(e,t)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return i.M.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return i.M.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.decodeUtf8(this.bytes())}}function c(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid int32: "+typeof e);if(!Number.isInteger(e)||e>m||eu||e<0)throw Error("invalid uint32: "+e)}},2180:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});let r=Symbol.for("@bufbuild/protobuf/text-encoding");function a(){if(void 0==globalThis[r]){let e=new globalThis.TextEncoder,t=new globalThis.TextDecoder;globalThis[r]={encodeUtf8:t=>e.encode(t),decodeUtf8:e=>t.decode(e),checkUtf8(e){try{return encodeURIComponent(e),!0}catch(e){return!1}}}}return globalThis[r]}},8251:(e,t,n)=>{"use strict";function r(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(127&r)<>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(127&r)<>>r,i=!(a>>>7==0&&0==t),o=(i?128|a:a)&255;if(n.push(o),!i)return}let r=e>>>28&15|(7&t)<<4,a=t>>3!=0;if(n.push((a?128|r:r)&255),a){for(let e=3;e<31;e+=7){let r=t>>>e,a=r>>>7!=0,i=(a?128|r:r)&255;if(n.push(i),!a)return}n.push(t>>>31&1)}}function i(e){let t="-"===e[0];t&&(e=e.slice(1));let n=0,r=0;function a(t,a){let i=Number(e.slice(t,a));r*=1e6,(n=1e6*n+i)>=0x100000000&&(r+=n/0x100000000|0,n%=0x100000000)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),t?u(n,r):l(n,r)}function o(e,t){let n=l(e,t),r=0x80000000&n.hi;r&&(n=u(n.lo,n.hi));let a=s(n.lo,n.hi);return r?"-"+a:a}function s(e,t){if({lo:e,hi:t}={lo:e>>>0,hi:t>>>0},t<=2097151)return String(0x100000000*t+e);let n=0xffffff&e,r=(e>>>24|t<<8)&0xffffff,a=t>>16&65535,i=n+6777216*r+6710656*a,o=r+8147497*a,s=2*a;return i>=1e7&&(o+=Math.floor(i/1e7),i%=1e7),o>=1e7&&(s+=Math.floor(o/1e7),o%=1e7),s.toString()+m(o)+m(i)}function l(e,t){return{lo:0|e,hi:0|t}}function u(e,t){return t=~t,e?e=~e+1:t+=1,l(e,t)}n.d(t,{Gn:()=>p,Hc:()=>s,LJ:()=>i,_Q:()=>o,cV:()=>a,f7:()=>f,ls:()=>r});let m=e=>{let t=String(e);return"0000000".slice(t.length)+t};function f(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}function p(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}},466:(e,t,n)=>{"use strict";function r(e){return i(e.$typeName)}function a(e){let t=e.fields[0];return i(e.typeName)&&void 0!==t&&"scalar"==t.fieldKind&&"value"==t.name&&1==t.number}function i(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}n.d(t,{Y:()=>r,l:()=>a})}}]); \ No newline at end of file diff --git a/_next/static/chunks/4bd1b696-84493c4b004b1952.js b/_next/static/chunks/4bd1b696-eb6158f5ed7f5a59.js similarity index 100% rename from _next/static/chunks/4bd1b696-84493c4b004b1952.js rename to _next/static/chunks/4bd1b696-eb6158f5ed7f5a59.js diff --git a/_next/static/chunks/515-a5462ec64f175aad.js b/_next/static/chunks/515-078a367ea03fcd21.js similarity index 100% rename from _next/static/chunks/515-a5462ec64f175aad.js rename to _next/static/chunks/515-078a367ea03fcd21.js diff --git a/_next/static/chunks/517-eb4ef794e5be8168.js b/_next/static/chunks/517-32c8b38339dfa304.js similarity index 100% rename from _next/static/chunks/517-eb4ef794e5be8168.js rename to _next/static/chunks/517-32c8b38339dfa304.js diff --git a/_next/static/chunks/589-7b7b34f2e10734bb.js b/_next/static/chunks/589-7b7b34f2e10734bb.js deleted file mode 100644 index 3ceeea93..00000000 --- a/_next/static/chunks/589-7b7b34f2e10734bb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[589],{9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(306),a=n(5155),i=r._(n(2115)),o=r._(n(6107)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||s[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:d.error,children:[(0,a.jsx)(o.default,{children:(0,a.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,a.jsxs)("div",{style:d.desc,children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,a.jsx)("h1",{className:"next-error-h1",style:d.h1,children:e}):null,(0,a.jsx)("div",{style:d.wrap,children:(0,a.jsxs)("h2",{style:d.h2,children:[this.props.title||e?n:(0,a.jsx)(a.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(306)._(n(2115)).default.createContext({})},675:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},6107:(e,t,n)=>{"use strict";var r=n(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return m},defaultHead:function(){return f}});let a=n(306),i=n(9955),o=n(5155),s=i._(n(2115)),l=a._(n(1172)),d=n(3003),c=n(1147),u=n(675);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function b(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2363);let p=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:n}=t;return e.reduce(b,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return a=>{let i=!0,o=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){o=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?i=!1:t.add(a.type);break;case"meta":for(let e=0,t=p.length;e{let a=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:a})})}let m=function(e){let{children:t}=e,n=(0,s.useContext)(d.AmpStateContext),r=(0,s.useContext)(c.HeadManagerContext);return(0,o.jsx)(l.default,{reduceComponentsToState:g,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(2115),a="undefined"==typeof window,i=a?()=>{}:r.useLayoutEffect,o=a?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let a=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(a,e))}}if(a){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return i(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,n)=>{e.exports=n(9693)},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),a=n.n(r),i=n(2115),o=n(1653),s=n(5155);let l=i.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:i=!1,className:l,role:d="group",as:c="div",...u}=e,f=(0,o.oU)(n,"btn-group"),b=f;return i&&(b="".concat(f,"-vertical")),(0,s.jsx)(c,{...u,ref:t,role:d,className:a()(l,b,r&&"".concat(f,"-").concat(r))})});l.displayName="ButtonGroup";let d=l},8143:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(2115),a=n(1996),i=n.n(a),o=n(9637),s=n(5570),l=n(3381);let d=i().oneOf(["start","end"]),c=i().oneOfType([d,i().shape({sm:d}),i().shape({md:d}),i().shape({lg:d}),i().shape({xl:d}),i().shape({xxl:d}),i().object]);var u=n(5155);let f={id:i().string,href:i().string,onClick:i().func,title:i().node.isRequired,disabled:i().bool,align:c,menuRole:i().string,renderMenuOnMount:i().bool,rootCloseEvent:i().string,menuVariant:i().oneOf(["dark"]),flip:i().bool,bsPrefix:i().string,variant:i().string,size:i().string},b=r.forwardRef((e,t)=>{let{title:n,children:r,bsPrefix:a,rootCloseEvent:i,variant:d,size:c,menuRole:f,renderMenuOnMount:b,disabled:p,href:g,id:m,menuVariant:h,flip:v,...y}=e;return(0,u.jsxs)(o.A,{ref:t,...y,children:[(0,u.jsx)(s.A,{id:m,href:g,size:c,variant:d,disabled:p,childBsPrefix:a,children:n}),(0,u.jsx)(l.A,{role:f,renderOnMount:b,rootCloseEvent:i,variant:h,flip:v,children:r})]})});b.displayName="DropdownButton",b.propTypes=f;let p=b},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),a=n.n(r),i=n(2115),o=n(1653),s=n(5155);let l=i.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:i="div",...l}=e,d=(0,o.oU)(n,"row"),c=(0,o.gy)(),u=(0,o.Jm)(),f="".concat(d,"-cols"),b=[];return c.forEach(e=>{let t;let n=l[e];delete l[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&b.push("".concat(f).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,s.jsx)(i,{ref:t,...l,className:a()(r,d,...b)})});l.displayName="Row";let d=l},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),a=n.n(r),i=n(2115),o=n(1653),s=n(5155);let l=i.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:i="border",size:l,as:d="div",className:c,...u}=e;n=(0,o.oU)(n,"spinner");let f="".concat(n,"-").concat(i);return(0,s.jsx)(d,{ref:t,...u,className:a()(c,f,l&&"".concat(f,"-").concat(l),r&&"text-".concat(r))})});l.displayName="Spinner";let d=l},7558:(e,t,n)=>{"use strict";n.d(t,{R:()=>s,Y:()=>d});var r=n(8628),a=n(1586),i=n(9513);let o={writeUnknownFields:!0};function s(e,t,n){return l(new a.fI,n?Object.assign(Object.assign({},o),n):o,(0,r.E4)(e,t)).finish()}function l(e,t,n){var r;for(let r of n.sortedFields){if(!n.isSet(r)){if(3==r.presence)throw Error(`cannot encode field ${n.desc.typeName}.${r.name} to binary: required field not set`);continue}d(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:a,data:i}of null!==(r=n.getUnknown())&&void 0!==r?r:[])e.tag(t,a).raw(i);return e}function d(e,t,n,r){var o;switch(r.fieldKind){case"scalar":case"enum":c(e,null!==(o=r.scalar)&&void 0!==o?o:i.L.INT32,r.number,n.get(r));break;case"list":!function(e,t,n,r){var o;if("message"==n.listKind){for(let a of r)u(e,t,n,a);return}let s=null!==(o=n.scalar)&&void 0!==o?o:i.L.INT32;if(n.packed){if(!r.size)return;for(let t of(e.tag(n.number,a.O0.LengthDelimited).fork(),r))f(e,s,t);e.join();return}for(let t of r)c(e,s,n.number,t)}(e,t,r,n.get(r));break;case"message":u(e,t,r,n.get(r));break;case"map":for(let[o,s]of n.get(r))!function(e,t,n,r,o){var s;switch(e.tag(n.number,a.O0.LengthDelimited).fork(),c(e,n.mapKey,1,r),n.mapKind){case"scalar":case"enum":c(e,null!==(s=n.scalar)&&void 0!==s?s:i.L.INT32,2,o);break;case"message":l(e.tag(2,a.O0.LengthDelimited).fork(),t,o).join()}e.join()}(e,t,r,o,s)}}function c(e,t,n,r){f(e.tag(n,function(e){switch(e){case i.L.BYTES:case i.L.STRING:return a.O0.LengthDelimited;case i.L.DOUBLE:case i.L.FIXED64:case i.L.SFIXED64:return a.O0.Bit64;case i.L.FIXED32:case i.L.SFIXED32:case i.L.FLOAT:return a.O0.Bit32;default:return a.O0.Varint}}(t)),t,r)}function u(e,t,n,r){n.delimitedEncoding?l(e.tag(n.number,a.O0.StartGroup),t,r).tag(n.number,a.O0.EndGroup):l(e.tag(n.number,a.O0.LengthDelimited).fork(),t,r).join()}function f(e,t,n){switch(t){case i.L.STRING:e.string(n);break;case i.L.BOOL:e.bool(n);break;case i.L.DOUBLE:e.double(n);break;case i.L.FLOAT:e.float(n);break;case i.L.INT32:e.int32(n);break;case i.L.INT64:e.int64(n);break;case i.L.UINT64:e.uint64(n);break;case i.L.FIXED64:e.fixed64(n);break;case i.L.BYTES:e.bytes(n);break;case i.L.FIXED32:e.fixed32(n);break;case i.L.SFIXED32:e.sfixed32(n);break;case i.L.SFIXED64:e.sfixed64(n);break;case i.L.SINT64:e.sint64(n);break;case i.L.UINT32:e.uint32(n);break;case i.L.SINT32:e.sint32(n)}}},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")},9297:(e,t,n)=>{"use strict";n.d(t,{t:()=>i,v:()=>o});var r=n(6788),a=n(8123);let i=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),o=(0,a.Z)(i,0)},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>i,g8:()=>o});var r=n(6788),a=n(8123);let i=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,a.Z)(i,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/617-e3e007e038b8c1dd.js b/_next/static/chunks/617-e3e007e038b8c1dd.js new file mode 100644 index 00000000..824b4819 --- /dev/null +++ b/_next/static/chunks/617-e3e007e038b8c1dd.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[617],{9814:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(2819),l=n(2115),a=n(5418),o=n(1194),i=n(2257),s=n(7644),u=n(8419),d=n(4672),c=n(3973),f=n(5155);let p=["as","onSelect","activeKey","role","onKeyDown"],v=()=>{},m=(0,d.sE)("event-key"),h=l.forwardRef((e,t)=>{let n,c,{as:h="div",onSelect:b,activeKey:y,role:x,onKeyDown:g}=e,A=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,p),j=(0,a.A)(),E=(0,l.useRef)(!1),C=(0,l.useContext)(s.A),w=(0,l.useContext)(u.A);w&&(x=x||"tablist",y=w.activeKey,n=w.getControlledId,c=w.getControllerId);let O=(0,l.useRef)(null),N=e=>{let t=O.current;if(!t)return null;let n=(0,r.A)(t,`[${m}]:not([aria-disabled=true])`),l=t.querySelector("[aria-selected=true]");if(!l||l!==document.activeElement)return null;let a=n.indexOf(l);if(-1===a)return null;let o=a+e;return o>=n.length&&(o=0),o<0&&(o=n.length-1),n[o]},_=(e,t)=>{null!=e&&(null==b||b(e,t),null==C||C(e,t))};(0,l.useEffect)(()=>{if(O.current&&E.current){let e=O.current.querySelector(`[${m}][aria-selected=true]`);null==e||e.focus()}E.current=!1});let I=(0,o.A)(t,O);return(0,f.jsx)(s.A.Provider,{value:_,children:(0,f.jsx)(i.A.Provider,{value:{role:x,activeKey:(0,s.u)(y),getControlledId:n||v,getControllerId:c||v},children:(0,f.jsx)(h,Object.assign({},A,{onKeyDown:e=>{let t;if(null==g||g(e),w){switch(e.key){case"ArrowLeft":case"ArrowUp":t=N(-1);break;case"ArrowRight":case"ArrowDown":t=N(1);break;default:return}t&&(e.preventDefault(),_(t.dataset[(0,d.y)("EventKey")]||null,e),E.current=!0,j())}},ref:I,role:x}))})})});h.displayName="Nav";let b=Object.assign(h,{Item:c.A})},3973:(e,t,n)=>{"use strict";n.d(t,{A:()=>v,M:()=>f});var r=n(2115),l=n(8447),a=n(2257),o=n(7644),i=n(2773),s=n(4672),u=n(8419),d=n(5155);let c=["as","active","eventKey"];function f({key:e,onClick:t,active:n,id:i,role:d,disabled:c}){let f=(0,r.useContext)(o.A),p=(0,r.useContext)(a.A),v=(0,r.useContext)(u.A),m=n,h={role:d};if(p){d||"tablist"!==p.role||(h.role="tab");let t=p.getControllerId(null!=e?e:null),r=p.getControlledId(null!=e?e:null);h[(0,s.sE)("event-key")]=e,h.id=t||i,((m=null==n&&null!=e?p.activeKey===e:n)||!(null!=v&&v.unmountOnExit)&&!(null!=v&&v.mountOnEnter))&&(h["aria-controls"]=r)}return"tab"===h.role&&(h["aria-selected"]=m,m||(h.tabIndex=-1),c&&(h.tabIndex=-1,h["aria-disabled"]=!0)),h.onClick=(0,l.A)(n=>{c||(null==t||t(n),null!=e&&f&&!n.isPropagationStopped()&&f(e,n))}),[h,{isActive:m}]}let p=r.forwardRef((e,t)=>{let{as:n=i.Ay,active:r,eventKey:l}=e,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,c),[u,p]=f(Object.assign({key:(0,o.u)(l,a.href),active:r},a));return u[(0,s.sE)("active")]=p.isActive,(0,d.jsx)(n,Object.assign({},a,u,{ref:t}))});p.displayName="NavItem";let v=p},7498:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8447),l=n(1194),a=n(2115);let o=function({children:e,in:t,onExited:n,mountOnEnter:o,unmountOnExit:i}){let s=(0,a.useRef)(null),u=(0,a.useRef)(t),d=(0,r.A)(n);(0,a.useEffect)(()=>{t?u.current=!0:d(s.current)},[t,d]);let c=(0,l.A)(s,e.ref),f=(0,a.cloneElement)(e,{ref:c});return t?f:i||!u.current&&o?null:f}},8419:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(2115).createContext(null)},1194:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(2115);let l=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,a=function(e,t){return(0,r.useMemo)(()=>(function(e,t){let n=l(e),r=l(t);return e=>{n&&n(e),r&&r(e)}})(e,t),[e,t])}},9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let r=n(306),l=n(5155),a=r._(n(2115)),o=r._(n(6107)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||i[e]||"An unexpected error has occurred";return(0,l.jsxs)("div",{style:u.error,children:[(0,l.jsx)(o.default,{children:(0,l.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,l.jsxs)("div",{style:u.desc,children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,l.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,l.jsx)("div",{style:u.wrap,children:(0,l.jsxs)("h2",{style:u.h2,children:[this.props.title||e?n:(0,l.jsx)(l.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=s,d.origGetInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(306)._(n(2115)).default.createContext({})},675:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},6107:(e,t,n)=>{"use strict";var r=n(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return h},defaultHead:function(){return f}});let l=n(306),a=n(9955),o=n(5155),i=a._(n(2115)),s=l._(n(1172)),u=n(3003),d=n(1147),c=n(675);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2363);let v=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return l=>{let a=!0,o=!1;if(l.key&&"number"!=typeof l.key&&l.key.indexOf("$")>0){o=!0;let t=l.key.slice(l.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(l.type){case"title":case"base":t.has(l.type)?a=!1:t.add(l.type);break;case"meta":for(let e=0,t=v.length;e{let l=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:l})})}let h=function(e){let{children:t}=e,n=(0,i.useContext)(u.AmpStateContext),r=(0,i.useContext)(d.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(2115),l="undefined"==typeof window,a=l?()=>{}:r.useLayoutEffect,o=l?()=>{}:r.useEffect;function i(e){let{headManager:t,reduceComponentsToState:n}=e;function i(){if(t&&t.mountedInstances){let l=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(l,e))}}if(l){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),i()}return a(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,n)=>{e.exports=n(9693)},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),l=n.n(r),a=n(2115),o=n(1653),i=n(5155);let s=a.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:a=!1,className:s,role:u="group",as:d="div",...c}=e,f=(0,o.oU)(n,"btn-group"),p=f;return a&&(p="".concat(f,"-vertical")),(0,i.jsx)(d,{...c,ref:t,role:u,className:l()(s,p,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let u=s},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),l=n.n(r),a=n(2115),o=n(1653),i=n(2389),s=n(2471),u=n(5155);let d=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:a="span",...i}=e;return r=(0,o.oU)(r,"input-group-text"),(0,u.jsx)(a,{ref:t,className:l()(n,r),...i})});d.displayName="InputGroupText";let c=a.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:i,className:d,as:c="div",...f}=e;n=(0,o.oU)(n,"input-group");let p=(0,a.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:p,children:(0,u.jsx)(c,{ref:t,...f,className:l()(d,n,r&&"".concat(n,"-").concat(r),i&&"has-validation")})})});c.displayName="InputGroup";let f=Object.assign(c,{Text:d,Radio:e=>(0,u.jsx)(d,{children:(0,u.jsx)(i.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(d,{children:(0,u.jsx)(i.A,{type:"checkbox",...e})})})},3360:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(4617),l=n.n(r),a=n(2115),o=n(6647),i=n(9814),s=n(1653),u=n(1668),d=n(7251),c=n(5155);let f=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=(0,s.oU)(r,"nav-item"),(0,c.jsx)(a,{ref:t,className:l()(n,r),...o})});f.displayName="NavItem";var p=n(5748);let v=a.forwardRef((e,t)=>{let n,r;let{as:f="div",bsPrefix:p,variant:v,fill:m=!1,justify:h=!1,navbar:b,navbarScroll:y,className:x,activeKey:g,...A}=(0,o.Zw)(e,{activeKey:"onSelect"}),j=(0,s.oU)(p,"nav"),E=!1,C=(0,a.useContext)(u.A),w=(0,a.useContext)(d.A);return C?(n=C.bsPrefix,E=null==b||b):w&&({cardHeaderBsPrefix:r}=w),(0,c.jsx)(i.A,{as:f,ref:t,activeKey:g,className:l()(x,{[j]:!E,["".concat(n,"-nav")]:E,["".concat(n,"-nav-scroll")]:E&&y,["".concat(r,"-").concat(v)]:!!r,["".concat(j,"-").concat(v)]:!!v,["".concat(j,"-fill")]:m,["".concat(j,"-justified")]:h}),...A})});v.displayName="Nav";let m=Object.assign(v,{Item:f,Link:p.A})},5748:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),l=n.n(r),a=n(2115),o=n(9656),i=n(3973),s=n(7644),u=n(1653),d=n(5155);let c=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:a=o.A,active:c,eventKey:f,disabled:p=!1,...v}=e;n=(0,u.oU)(n,"nav-link");let[m,h]=(0,i.M)({key:(0,s.u)(f,v.href),active:c,disabled:p,...v});return(0,d.jsx)(a,{...v,...m,ref:t,disabled:p,className:l()(r,n,p&&"disabled",h.isActive&&"active")})});c.displayName="NavLink";let f=c},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),l=n.n(r),a=n(2115),o=n(1653),i=n(5155);let s=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:a="div",...s}=e,u=(0,o.oU)(n,"row"),d=(0,o.gy)(),c=(0,o.Jm)(),f="".concat(u,"-cols"),p=[];return d.forEach(e=>{let t;let n=s[e];delete s[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&p.push("".concat(f).concat(e!==c?"-".concat(e):"","-").concat(t))}),(0,i.jsx)(a,{ref:t,...s,className:l()(r,u,...p)})});s.displayName="Row";let u=s},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),l=n.n(r),a=n(2115),o=n(1653),i=n(5155);let s=a.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:a="border",size:s,as:u="div",className:d,...c}=e;n=(0,o.oU)(n,"spinner");let f="".concat(n,"-").concat(a);return(0,i.jsx)(u,{ref:t,...c,className:l()(d,f,s&&"".concat(f,"-").concat(s),r&&"text-".concat(r))})});s.displayName="Spinner";let u=s},7471:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(1996),l=n.n(r),a=n(2115),o=n(1079),i=n(1632),s=n(8419),u=n(7644),d=n(7498),c=n(5155);let f=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],p=["activeKey","getControlledId","getControllerId"],v=["as"];function m(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function h(e){let{active:t,eventKey:n,mountOnEnter:r,transition:l,unmountOnExit:o,role:i="tabpanel",onEnter:d,onEntering:c,onEntered:v,onExit:h,onExiting:b,onExited:y}=e,x=m(e,f),g=(0,a.useContext)(s.A);if(!g)return[Object.assign({},x,{role:i}),{eventKey:n,isActive:t,mountOnEnter:r,transition:l,unmountOnExit:o,onEnter:d,onEntering:c,onEntered:v,onExit:h,onExiting:b,onExited:y}];let{activeKey:A,getControlledId:j,getControllerId:E}=g,C=m(g,p),w=(0,u.u)(n);return[Object.assign({},x,{role:i,id:j(n),"aria-labelledby":E(n)}),{eventKey:n,isActive:null==t&&null!=w?(0,u.u)(A)===w:t,transition:l||C.transition,mountOnEnter:null!=r?r:C.mountOnEnter,unmountOnExit:null!=o?o:C.unmountOnExit,onEnter:d,onEntering:c,onEntered:v,onExit:h,onExiting:b,onExited:y}]}let b=a.forwardRef((e,t)=>{let{as:n="div"}=e,[r,{isActive:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:p,onExited:b,mountOnEnter:y,unmountOnExit:x,transition:g=d.A}]=h(m(e,v));return(0,c.jsx)(s.A.Provider,{value:null,children:(0,c.jsx)(u.A.Provider,{value:null,children:(0,c.jsx)(g,{in:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:p,onExited:b,mountOnEnter:y,unmountOnExit:x,children:(0,c.jsx)(n,Object.assign({},r,{ref:t,hidden:!l,"aria-hidden":!l}))})})})});b.displayName="TabPanel";let y=e=>{let{id:t,generateChildId:n,onSelect:r,activeKey:l,defaultActiveKey:d,transition:f,mountOnEnter:p,unmountOnExit:v,children:m}=e,[h,b]=(0,o.iC)(l,d,r),y=(0,i.Cc)(t),x=(0,a.useMemo)(()=>n||((e,t)=>y?`${y}-${t}-${e}`:null),[y,n]),g=(0,a.useMemo)(()=>({onSelect:b,activeKey:h,transition:f,mountOnEnter:p||!1,unmountOnExit:v||!1,getControlledId:e=>x(e,"tabpane"),getControllerId:e=>x(e,"tab")}),[b,h,f,p,v,x]);return(0,c.jsx)(s.A.Provider,{value:g,children:(0,c.jsx)(u.A.Provider,{value:b||null,children:m})})};y.Panel=b;var x=n(3281);function g(e){return"boolean"==typeof e?e?x.A:d.A:e}let A=e=>{let{transition:t,...n}=e;return(0,c.jsx)(y,{...n,transition:g(t)})};A.displayName="TabContainer";var j=n(4617),E=n.n(j),C=n(1653);let w=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:l="div",...a}=e;return r=(0,C.oU)(r,"tab-content"),(0,c.jsx)(l,{ref:t,className:E()(n,r),...a})});w.displayName="TabContent";let O=a.forwardRef((e,t)=>{let{bsPrefix:n,transition:r,...l}=e,[{className:a,as:o="div",...i},{isActive:d,onEnter:f,onEntering:p,onEntered:v,onExit:m,onExiting:b,onExited:y,mountOnEnter:A,unmountOnExit:j,transition:w=x.A}]=h({...l,transition:g(r)}),O=(0,C.oU)(n,"tab-pane");return(0,c.jsx)(s.A.Provider,{value:null,children:(0,c.jsx)(u.A.Provider,{value:null,children:(0,c.jsx)(w,{in:d,onEnter:f,onEntering:p,onEntered:v,onExit:m,onExiting:b,onExited:y,mountOnEnter:A,unmountOnExit:j,children:(0,c.jsx)(o,{...i,ref:t,className:E()(a,O,d&&"active")})})})})});O.displayName="TabPane";let N={eventKey:l().oneOfType([l().string,l().number]),title:l().node.isRequired,disabled:l().bool,tabClassName:l().string,tabAttrs:l().object},_=()=>{throw Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};_.propTypes=N;let I=Object.assign(_,{Container:A,Content:w,Pane:O})},8627:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),l=n.n(r),a=n(2115),o=n(1653),i=n(2963),s=n(5155);let u=()=>void 0,d=a.forwardRef((e,t)=>{let{bsPrefix:n,name:r,className:a,checked:d,type:c,onChange:f,value:p,disabled:v,id:m,inputRef:h,...b}=e;return n=(0,o.oU)(n,"btn-check"),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{className:n,name:r,type:c,value:p,ref:h,autoComplete:"off",checked:!!d,disabled:!!v,onChange:f||u,id:m}),(0,s.jsx)(i.A,{...b,ref:t,className:l()(a,v&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:m})]})});d.displayName="ToggleButton";let c=d},5166:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(2115),l=n(7989),a=n.n(l),o=n(6647),i=n(4309),s=n(822),u=n(3614),d=n(8627),c=n(5155);let f=Object.assign(r.forwardRef((e,t)=>{let{children:n,type:l="radio",name:d,value:f,onChange:p,vertical:v=!1,...m}=(0,o.Zw)(e,{value:"onChange"}),h=()=>null==f?[]:[].concat(f),b=(e,t)=>{if(!p)return;let n=h(),r=-1!==n.indexOf(e);if("radio"===l){r||p(e,t);return}r?p(n.filter(t=>t!==e),t):p([...n,e],t)};return"radio"!==l||d||a()(!1),(0,c.jsx)(u.A,{...m,ref:t,vertical:v,children:(0,s.Tj)(n,e=>{let t=h(),{value:n,onChange:a}=e.props;return r.cloneElement(e,{type:l,name:e.name||d,checked:-1!==t.indexOf(n),onChange:(0,i.A)(a,e=>b(n,e))})})})}),{Button:d.A})},4309:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e=arguments.length,t=Array(e),n=0;nnull!=e).reduce((e,t)=>{if("function"!=typeof t)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=Array(n),l=0;l{"use strict";function r(e,t,...n){if(0==n.length)return e.enums[t];let l=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[l]}n.d(t,{R:()=>r})},9297:(e,t,n)=>{"use strict";n.d(t,{t:()=>a,v:()=>o});var r=n(6788),l=n(8123);let a=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),o=(0,l.Z)(a,0)}}]); \ No newline at end of file diff --git a/_next/static/chunks/637-a8591488c98dfcc9.js b/_next/static/chunks/637-3fac29710c054d67.js similarity index 100% rename from _next/static/chunks/637-a8591488c98dfcc9.js rename to _next/static/chunks/637-3fac29710c054d67.js diff --git a/_next/static/chunks/64-23ec5a52ca6e927d.js b/_next/static/chunks/64-23ec5a52ca6e927d.js new file mode 100644 index 00000000..aa081680 --- /dev/null +++ b/_next/static/chunks/64-23ec5a52ca6e927d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64],{9693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(306),a=r(5155),l=n._(r(2115)),d=n._(r(6107)),o={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let i={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||o[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:i.error,children:[(0,a.jsx)(d.default,{children:(0,a.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,a.jsxs)("div",{style:i.desc,children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,a.jsx)("h1",{className:"next-error-h1",style:i.h1,children:e}):null,(0,a.jsx)("div",{style:i.wrap,children:(0,a.jsxs)("h2",{style:i.h2,children:[this.props.title||e?r:(0,a.jsx)(a.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(306)._(r(2115)).default.createContext({})},675:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},6107:(e,t,r)=>{"use strict";var n=r(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},defaultHead:function(){return f}});let a=r(306),l=r(9955),d=r(5155),o=l._(r(2115)),s=a._(r(1172)),i=r(3003),c=r(1147),u=r(675);function f(e){void 0===e&&(e=!1);let t=[(0,d.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,d.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2363);let m=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let l=!0,d=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){d=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?l=!1:t.add(a.type);break;case"meta":for(let e=0,t=m.length;e{let a=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:a})})}let y=function(e){let{children:t}=e,r=(0,o.useContext)(i.AmpStateContext),n=(0,o.useContext)(c.HeadManagerContext);return(0,d.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,u.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(2115),a="undefined"==typeof window,l=a?()=>{}:n.useLayoutEffect,d=a?()=>{}:n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),o()}return l(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),l(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),d(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,r)=>{e.exports=r(9693)},2981:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(4617),a=r.n(n),l=r(2115),d=r(1653),o=r(5155);let s=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-body"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});s.displayName="CardBody";let i=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-footer"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});i.displayName="CardFooter";var c=r(7251);let u=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,as:s="div",...i}=e,u=(0,d.oU)(r,"card-header"),f=(0,l.useMemo)(()=>({cardHeaderBsPrefix:u}),[u]);return(0,o.jsx)(c.A.Provider,{value:f,children:(0,o.jsx)(s,{ref:t,...i,className:a()(n,u)})})});u.displayName="CardHeader";let f=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,variant:l,as:s="img",...i}=e,c=(0,d.oU)(r,"card-img");return(0,o.jsx)(s,{ref:t,className:a()(l?"".concat(c,"-").concat(l):c,n),...i})});f.displayName="CardImg";let p=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="div",...s}=e;return n=(0,d.oU)(n,"card-img-overlay"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});p.displayName="CardImgOverlay";let m=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="a",...s}=e;return n=(0,d.oU)(n,"card-link"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});m.displayName="CardLink";var h=r(7449);let y=(0,h.A)("h6"),b=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l=y,...s}=e;return n=(0,d.oU)(n,"card-subtitle"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});b.displayName="CardSubtitle";let g=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l="p",...s}=e;return n=(0,d.oU)(n,"card-text"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});g.displayName="CardText";let v=(0,h.A)("h5"),x=l.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:l=v,...s}=e;return n=(0,d.oU)(n,"card-title"),(0,o.jsx)(l,{ref:t,className:a()(r,n),...s})});x.displayName="CardTitle";let j=l.forwardRef((e,t)=>{let{bsPrefix:r,className:n,bg:l,text:i,border:c,body:u=!1,children:f,as:p="div",...m}=e,h=(0,d.oU)(r,"card");return(0,o.jsx)(p,{ref:t,...m,className:a()(n,h,l&&"bg-".concat(l),i&&"text-".concat(i),c&&"border-".concat(c)),children:u?(0,o.jsx)(s,{children:f}):f})});j.displayName="Card";let _=Object.assign(j,{Img:f,Title:x,Subtitle:b,Body:s,Link:m,Text:g,Header:u,Footer:i,ImgOverlay:p})},7251:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let n=r(2115).createContext(null);n.displayName="CardHeaderContext";let a=n},4216:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(4617),a=r.n(n),l=r(2115),d=r(1653),o=r(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:r,variant:n,animation:l="border",size:s,as:i="div",className:c,...u}=e;r=(0,d.oU)(r,"spinner");let f="".concat(r,"-").concat(l);return(0,o.jsx)(i,{ref:t,...u,className:a()(c,f,s&&"".concat(f,"-").concat(s),n&&"text-".concat(n))})});s.displayName="Spinner";let i=s},7449:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2115),a=r(4617),l=r.n(a),d=r(5155);let o=e=>n.forwardRef((t,r)=>(0,d.jsx)("div",{...t,ref:r,className:l()(t.className,e)}))},4395:(e,t,r)=>{"use strict";function n(e,t,...r){if(r.length>0)throw Error();return e.services[t]}r.d(t,{Z:()=>n})},3620:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n=(0,r(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}}]); \ No newline at end of file diff --git a/_next/static/chunks/698-5eb69049f5e0d4be.js b/_next/static/chunks/698-5eb69049f5e0d4be.js deleted file mode 100644 index ab60740c..00000000 --- a/_next/static/chunks/698-5eb69049f5e0d4be.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[698],{2859:(e,o,n)=>{n.d(o,{$d:()=>r});var l=n(5155);n(2115);var a=n(6180),t=n(6121),s=n(3667);let r=e=>(0,l.jsxs)(a.A.Group,{as:t.A,className:"mb-2",children:[(0,l.jsx)(a.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(s.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(a.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,o,n)=>{n.d(o,{u:()=>r,y:()=>c});var l=n(5155),a=n(2115),t=n(1757),s=n(491);let r=(0,a.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:o}=e,[n,c]=(0,a.useState)({value:{},index:0}),p=(e,o)=>c(n=>({value:{...n.value,[n.index]:{text:e,type:o}},index:n.index+1}));return(0,l.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),p(e,"success")},Error:e=>{console.error(e),p(e,"danger")}},children:[(0,l.jsx)(t.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[o,a]=e;return(0,l.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=n.value;delete e[o],c({...n,value:e}),console.log("close: "+o)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(s.A.Header,{children:[(0,l.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,l.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,l.jsx)(s.A.Body,{className:"text-center",children:a.text})]},"toast"+o)})}),o]})}},698:(e,o,n)=>{n.d(o,{E:()=>er,y:()=>es});var l=n(5155),a=n(2115),t=n(2963),s=n(0),r=n(8143),c=n(3614),p=n(9637),i=n(6180),d=n(4995),h=n(8927),u=n(9169),v=n(148),m=n(2049),x=n(57),C=n(8003),j=n(6121),g=n(3667),w=n(1703),b=n(7204),y=n(2859),f=n(3577),A=n(6496);function D(e,o){return o?function(n){n(e),o(e)}:function(e){}}let U=a.forwardRef((e,o)=>{let n=D(e.point,e.onChange),s=e=>{n(o=>{o.protocols.splice(e,1)})};function r(o,l){e.onChange&&n(e=>{e.protocols[o].protocol.value=l})}let c=(o,l)=>{e.point.protocols.length<=1||o&&0===l||!o&&l===e.point.protocols.length-1||n(e=>{let n=e.protocols[l];e.protocols[l]=e.protocols[l+(o?-1:1)],e.protocols[l+(o?-1:1)]=n})},[p,d]=(0,a.useState)({value:"simple"});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Name",value:e.point.name,onChange:e=>{n(o=>o.name=e)}}),(0,l.jsx)(b.a9,{label:"Group",value:e.point.group,onChange:e=>{n(o=>o.group=e)},reminds:e.groups?e.groups.map(e=>new b.mI({label:e,value:e})):void 0}),(0,l.jsx)(b.a9,{label:"Hash",value:e.point.hash,onChange:e=>{n(o=>o.hash=e)}}),e.point.protocols.map((o,n)=>{switch(o.protocol.case){case"simple":return(0,l.jsx)(S,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"websocket":return(0,l.jsx)(F,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"shadowsocks":return(0,l.jsx)(P,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"quic":return(0,l.jsx)(R,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"vless":return(0,l.jsx)(q,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"vmess":return(0,l.jsx)(Q,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"trojan":return(0,l.jsx)(B,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"shadowsocksr":return(0,l.jsx)(W,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"obfsHttp":return(0,l.jsx)(V,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"none":return(0,l.jsx)(E,{onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"socks5":return(0,l.jsx)(Y,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"http":return(0,l.jsx)(Z,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"direct":return(0,l.jsx)(L,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"reject":return(0,l.jsx)(K,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"yuubinsya":return(0,l.jsx)(G,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"grpc":return(0,l.jsx)(_,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"http2":return(0,l.jsx)(z,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"reality":return(0,l.jsx)(J,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"tls":return(0,l.jsx)(T,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"wireguard":return(0,l.jsx)(k,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"mux":return(0,l.jsx)(M,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"drop":return(0,l.jsx)(X,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);default:return(0,l.jsx)(I,{onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n)}}),(0,l.jsx)(x.A,{variant:"flush",children:(0,l.jsx)(x.A.Item,{children:(0,l.jsxs)(C.A,{children:[(0,l.jsx)(i.A.Select,{value:p.value,onChange:e=>{d({value:e.target.value})},children:Object.keys(ee).map(e=>(0,l.jsx)("option",{value:e,children:e},e))}),(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{n(e=>{e.protocols.push(ee[p.value])})},children:"Add"})]})})})]})});function N(e){var o;return(0,l.jsxs)(i.A.Group,{as:j.A,className:"mb-3",children:[(0,l.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((o,n)=>(0,l.jsx)(g.A,{sm:{span:10,offset:0!==n?2:0},children:(0,l.jsx)(C.A,{className:"mb-2",children:(0,l.jsx)(b.mc,{title:"Peer",onClose:()=>{e.data&&(e.data.splice(n,1),e.onChange(e.data))},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Endpoint",value:o.endpoint,onChange:o=>{e.data&&(e.data[n].endpoint=o,e.onChange(e.data))}}),(0,l.jsx)(b.a9,{label:"PublicKey",value:o.publicKey,onChange:o=>{e.data&&(e.data[n].publicKey=o,e.onChange(e.data))}}),(0,l.jsx)(b.e9,{title:"AllowedIps",data:o.allowedIps,onChange:o=>{e.data&&(e.data[n].allowedIps=o,e.onChange(e.data))}})]})})})},n)),(0,l.jsx)(g.A,{sm:{span:10,offset:(null===(o=e.data)||void 0===o?void 0:o.length)!==0?2:0},children:(0,l.jsx)(C.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(t.A,{variant:"outline-success",onClick:()=>{let o=(0,f.v)(w.GL,{allowedIps:["0.0.0.0/0"],endpoint:"127.0.0.1:51820",publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY="});e.data?(e.data.push(o),e.onChange(e.data)):e.onChange([o])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})}let k=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Wireguard",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"SecretKey",value:e.protocol.secretKey,placeholder:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",onChange:e=>{o(o=>o.secretKey=e)}}),(0,l.jsx)(b.a9,{label:"MTU",value:e.protocol.mtu,onChange:e=>{isNaN(Number(e))||o(o=>o.mtu=Number(e))}}),(0,l.jsx)(b.a9,{label:"IdleTimeout",value:e.protocol.idleTimeout,onChange:e=>{isNaN(Number(e))||o(o=>o.idleTimeout=Number(e))}}),(0,l.jsx)(b.a9,{label:"Reserved",value:btoa(String.fromCharCode.apply(null,e.protocol.reserved)),onChange:e=>{o(o=>o.reserved=Uint8Array.from(atob(e),e=>e.charCodeAt(0)))}}),(0,l.jsx)(b.e9,{title:"Endpoint",data:e.protocol.endpoint,onChange:e=>{o(o=>o.endpoint=e)}}),(0,l.jsx)(N,{title:"Peers",data:e.protocol.peers,onChange:e=>{o(o=>o.peers=e)}})]})})};function H(e){var o;return(0,l.jsxs)(i.A.Group,{as:j.A,className:"mb-3 flex-grow-1 overflow-auto",children:[(0,l.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((o,n)=>(0,l.jsx)(g.A,{sm:{span:10,offset:0!==n?2:0},children:(0,l.jsx)(C.A,{className:"mb-2",children:(0,l.jsx)(b.mc,{title:"Host",onClose:()=>{e.data&&(e.data.splice(n,1),e.onChange(e.data))},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:o.host,onChange:o=>{e.data&&(e.data[n].host=o,e.onChange(e.data))}}),(0,l.jsx)(b.a9,{label:"Port",value:o.port,onChange:o=>{!isNaN(Number(o))&&e.data&&(e.data[n].port=Number(o),e.onChange(e.data))}})]})})})},n)),(0,l.jsx)(g.A,{sm:{span:10,offset:(null===(o=e.data)||void 0===o?void 0:o.length)!==0?2:0},children:(0,l.jsx)(C.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(t.A,{variant:"outline-success",onClick:()=>{let o=(0,f.v)(w.g3,{});e.data?(e.data.push(o),e.onChange(e.data)):e.onChange([o])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})}let S=e=>{let o=D(e.protocol,e.onChange),{data:n}=(0,d.Ay)("/interfaces",(0,h.AD)(A.yz),{revalidateOnFocus:!0});return(0,l.jsx)(b.mc,{title:"Simple",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Network Interface",value:e.protocol.networkInterface,onChange:e=>{o(o=>o.networkInterface=e)},reminds:null==n?void 0:n.interfaces.map(e=>{if(e.name){var o;return{label:e.name,value:e.name,label_children:null===(o=e.addresses)||void 0===o?void 0:o.map(e=>e||"")}}}).filter(e=>!!e)}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{let n=Number(e);isNaN(n)||n>65535||n<0||o(e=>e.port=n)}}),(0,l.jsx)(H,{title:"AlternateHost",data:e.protocol.alternateHost,onChange:e=>{o(o=>o.alternateHost=e)}})]})})},E=e=>(0,l.jsx)(b.mc,{title:"None",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"None"})}),I=e=>(0,l.jsx)(b.mc,{title:"Unknown",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Unknown"})}),F=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Websocket",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Path",value:e.protocol.path,onChange:e=>{o(o=>o.path=e)}})]})})},P=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Shadowsocks",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Method",value:e.protocol.method,onChange:e=>{o(o=>o.method=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},O=e=>{let o=D(e.tls,e.onChange);return(0,l.jsxs)(l.Fragment,{children:[(void 0===e.showEnabled||e.showEnabled)&&(0,l.jsx)(y.$d,{label:"TLS Enabled",checked:e.tls.enable,onChange:()=>{o(e=>e.enable=!e.enable)}}),(0,l.jsx)(y.$d,{label:"InsecureSkipVerify",checked:e.tls.insecureSkipVerify,onChange:()=>{o(e=>e.insecureSkipVerify=!e.insecureSkipVerify)}}),(0,l.jsx)(b.e9,{title:"ServerNames",data:e.tls.serverNames,onChange:e=>{o(o=>o.serverNames=e)}}),(0,l.jsx)(b.e9,{title:"NextProtos",data:e.tls.nextProtos,onChange:e=>{o(o=>o.nextProtos=e)}}),(0,l.jsx)(b.n4,{title:"CaCert",textarea:!0,data:e.tls.caCert,onChange:e=>{o(o=>o.caCert=e)}})]})},R=e=>{var o;let n=D(e.protocol,e.onChange);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.mc,{title:"Quic",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{n(o=>o.host=e)}}),(0,l.jsx)(O,{showEnabled:!1,tls:null!==(o=e.protocol.tls)&&void 0!==o?o:(0,f.v)(w.Qi,{}),onChange:e=>{n(o=>o.tls=e)}})]})})})},W=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Shadowsocksr",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Server",value:e.protocol.server,onChange:e=>{o(o=>o.server=e)}}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{o(o=>o.port=e)}}),(0,l.jsx)(b.a9,{label:"Method",value:e.protocol.method,placeholder:"chacha20-ietf",onChange:e=>{o(o=>o.method=e)}}),(0,l.jsx)(b.a9,{label:"Protocol",value:e.protocol.protocol,placeholder:"auth_aes128_sha1",onChange:e=>{o(o=>o.protocol=e)}}),(0,l.jsx)(b.a9,{label:"ProtocolParam",value:e.protocol.protoparam,onChange:e=>{o(o=>o.protoparam=e)}}),(0,l.jsx)(b.a9,{label:"Obfs",value:e.protocol.obfs,placeholder:"http_post",onChange:e=>{o(o=>o.obfs=e)}}),(0,l.jsx)(b.a9,{label:"ObfsParam",value:e.protocol.obfsparam,placeholder:"#name=v",onChange:e=>{o(o=>o.obfsparam=e)}})]})})},Q=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Vmess",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"AlterId",value:e.protocol.alterId,onChange:e=>{o(o=>o.alterId=e)}}),(0,l.jsx)(b.a9,{label:"Security",value:e.protocol.security,placeholder:"chacha20-poly1305",onChange:e=>{o(o=>o.security=e)}}),(0,l.jsx)(b.a9,{label:"UUID",value:e.protocol.uuid,placeholder:"9d5031b6-4ef5-11ee-be56-0242ac120002",onChange:e=>{o(o=>o.uuid=e)}})]})})},B=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Trojan",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}}),(0,l.jsx)(b.a9,{label:"Peer",value:e.protocol.peer,onChange:e=>{o(o=>o.peer=e)}})]})})},Y=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Socks5",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Hostname",value:e.protocol.hostname,placeholder:"127.0.0.1",onChange:e=>{o(o=>o.hostname=e)}}),(0,l.jsx)(b.a9,{label:"User",value:e.protocol.user,onChange:e=>{o(o=>o.user=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}}),(0,l.jsx)(b.a9,{label:"Override Port",value:e.protocol.overridePort,onChange:e=>{let n=Number(e);isNaN(n)||n>65535||n<0||o(e=>e.overridePort=n)}})]})})},Z=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"HTTP",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"User",value:e.protocol.user,onChange:e=>{o(o=>o.user=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},L=e=>{let o=D(e.protocol,e.onChange),{data:n}=(0,d.Ay)("/interfaces",(0,h.AD)(A.yz),{revalidateOnFocus:!0});return(0,l.jsx)(b.mc,{title:"Direct",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Network Interface",value:e.protocol.networkInterface,onChange:e=>{o(o=>o.networkInterface=e)},reminds:null==n?void 0:n.interfaces.map(e=>{if(e.name){var o;return{label:e.name,value:e.name,label_children:null===(o=e.addresses)||void 0===o?void 0:o.map(e=>e||"")}}}).filter(e=>!!e)})})})},K=e=>(0,l.jsx)(b.mc,{title:"Reject",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Reject"})})}),G=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Yuubinsya",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.$d,{label:"TCP Encrypt",checked:e.protocol.tcpEncrypt,onChange:()=>{o(e=>e.tcpEncrypt=!e.tcpEncrypt)}}),(0,l.jsx)(y.$d,{label:"UDP Encrypt",checked:e.protocol.udpEncrypt,onChange:()=>{o(e=>e.udpEncrypt=!e.udpEncrypt)}}),(0,l.jsx)(y.$d,{label:"UdpOverStream",checked:e.protocol.udpOverStream,onChange:()=>{o(e=>e.udpOverStream=!e.udpOverStream)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},T=e=>(0,l.jsx)(b.mc,{title:"Tls",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(O,{tls:e.protocol,onChange:e.onChange})}),M=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Mux",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Concurrency",value:e.protocol.concurrency,onChange:e=>{isNaN(Number(e))||o(o=>o.concurrency=Number(e))}})})})},X=e=>(0,l.jsx)(b.mc,{title:"Drop",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Drop"})}),q=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Vless",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"UUID",value:e.protocol.uuid,onChange:e=>{o(o=>o.uuid=e)}})})})},V=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"ObfsHttp",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{o(o=>o.port=e)}})]})})},_=e=>{var o;let n=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Grpc",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(O,{tls:null!==(o=e.protocol.tls)&&void 0!==o?o:(0,f.v)(w.Qi,{}),onChange:e=>{n(o=>o.tls=e)}})})},z=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Http2",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Concurrency",value:e.protocol.concurrency,onChange:e=>{isNaN(Number(e))||o(o=>o.concurrency=Number(e))}})})})},J=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Reality",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.$d,{label:"Debug",checked:e.protocol.debug,onChange:()=>{o(e=>e.debug=!e.debug)}}),(0,l.jsx)(b.a9,{label:"PublicKey",value:e.protocol.publicKey,onChange:e=>{o(o=>o.publicKey=e)}}),(0,l.jsx)(b.a9,{label:"ServerName",value:e.protocol.serverName,onChange:e=>{o(o=>o.serverName=e)}}),(0,l.jsx)(b.a9,{label:"ShortId",value:e.protocol.shortId,onChange:e=>{o(o=>o.shortId=e)}})]})})},$=(0,f.v)(w.Qi,{enable:!1,caCert:[new TextEncoder().encode("-----CERTIFICATE-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQD4MVvq8SAOzdeE\nSUfehAij/kdTYKPfuc+5SBTNSykilsGsY1mEu4qS6Abc/8bfRM7e9+4bAkA9rSma\np9Rza0YWNwdYQD3j3vuFlR6ic6tTYN7estRGGFOoI5MxA8OsYDbWNnO/3jYlErtn\nXUqDK5iABtBYNsSrLEc/Y2iISCm0zIT7Bfn3gzboggbqx5bpWjT5HmMRZmezl6EB\ny6HjCSIgZzP2v3yOfOVcu70vKABD3X1bzaKEn86rXNra0TZkqvB9vPv1PsBrELrO\nJxFRrAZylgeShzXgBXWjZKyj/toZ7FJLDv896sW/LuQarQufIcluisO++Xkz/EwQ\nVuXURFENAgMBAAECggEAIuOnaPfD+qjHiNZXVsmnQExswOUHLFpdv81I9VIBQpZA\nPAhMS3skoAGjg1omXfj5fsEKFPxkRPdMb6vzktUL6XALZ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3yRg\n7muJLMjiVeLFxXUyCXKj11W1VER5i16RsuWW3m5aGxumaXw4TJviJzT/dnwHe+x9\npWZqcBJfEUP6uTLSp3CmyEPcfA==\n-----CERTIFICATE-----")],insecureSkipVerify:!1,nextProtos:["h2"],serverNames:["www.example.com"]}),ee={simple:(0,f.v)(w._1,{protocol:{case:"simple",value:(0,f.v)(w.sT,{host:"",alternateHost:[],port:1080})}}),none:(0,f.v)(w._1,{protocol:{case:"none",value:(0,f.v)(w.YZ,{})}}),websocket:(0,f.v)(w._1,{protocol:{case:"websocket",value:(0,f.v)(w.BP,{host:"www.example.com",path:"/msg"})}}),quic:(0,f.v)(w._1,{protocol:{case:"quic",value:(0,f.v)(w.sn,{tls:$})}}),shadowsocks:(0,f.v)(w._1,{protocol:{case:"shadowsocks",value:(0,f.v)(w.t0,{method:"CHACHA20-IETF-POLY1305",password:"password"})}}),obfshttp:(0,f.v)(w._1,{protocol:{case:"obfsHttp",value:(0,f.v)(w.F7,{host:"www.example.com",port:"443"})}}),shadowsocksr:(0,f.v)(w._1,{protocol:{case:"shadowsocksr",value:(0,f.v)(w.hX,{method:"chacha20-ietf",obfs:"http_post",obfsparam:"#name=v",password:"password",port:"1080",protocol:"auth_aes128_sha1",protoparam:"",server:"127.0.0.1"})}}),vmess:(0,f.v)(w._1,{protocol:{case:"vmess",value:(0,f.v)(w.s2,{alterId:"0",security:"chacha20-poly1305",uuid:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}}),trojan:(0,f.v)(w._1,{protocol:{case:"trojan",value:(0,f.v)(w.SD,{password:"password",peer:"peer"})}}),socks5:(0,f.v)(w._1,{protocol:{case:"socks5",value:(0,f.v)(w.AK,{hostname:"127.0.0.1:1080",password:"password",user:"username"})}}),http:(0,f.v)(w._1,{protocol:{case:"http",value:(0,f.v)(w.UM,{password:"password",user:"username"})}}),direct:(0,f.v)(w._1,{protocol:{case:"direct",value:(0,f.v)(w.bw,{})}}),yuubinsya:(0,f.v)(w._1,{protocol:{case:"yuubinsya",value:(0,f.v)(w.lA,{tcpEncrypt:!0,udpEncrypt:!0,password:"password",udpOverStream:!1})}}),tls:(0,f.v)(w._1,{protocol:{case:"tls",value:$}}),wireguard:(0,f.v)(w._1,{protocol:{case:"wireguard",value:(0,f.v)(w.g2,{endpoint:["10.0.0.2/32"],mtu:1500,idleTimeout:3,reserved:new Uint8Array([0,0,0]),secretKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",peers:[{allowedIps:["0.0.0.0/0"],endpoint:"127.0.0.1:51820",publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY="}]})}}),mux:(0,f.v)(w._1,{protocol:{case:"mux",value:(0,f.v)(w.gE,{concurrency:8})}}),drop:(0,f.v)(w._1,{protocol:{case:"drop",value:(0,f.v)(w.fO,{})}}),vless:(0,f.v)(w._1,{protocol:{case:"vless",value:(0,f.v)(w.X_,{uuid:"c48619fe-8f02-49e0-b9e9-edf763e17e21"})}}),grpc:(0,f.v)(w._1,{protocol:{case:"grpc",value:(0,f.v)(w.E_,{tls:$})}}),http2:(0,f.v)(w._1,{protocol:{case:"http2",value:(0,f.v)(w.ql,{concurrency:8})}}),reality:(0,f.v)(w._1,{protocol:{case:"reality",value:(0,f.v)(w.K0,{debug:!1,publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",serverName:"127.0.0.1",shortId:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}})};var eo=n(7558),en=n(950),el=n(9093),ea=n(4504),et=n(1936);function es(e){let o=(0,a.useContext)(v.u),[n,i]=(0,a.useState)({show:!1,data:""}),{data:x,error:C,isLoading:j,isValidating:g,mutate:w}=(0,d.Ay)(""===e.hash?void 0:"/node",(0,h.AD)(m.Ac,"POST",(0,eo.R)(et.g8,(0,f.v)(et.g8,{value:e.hash})),e.point),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,a.useEffect)(()=>{w()},[e.hash]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(er,{show:n.show,data:n.data,plaintext:!0,onHide:()=>i({...n,show:!1})}),(0,l.jsxs)(s.A,{show:!n.show&&e.show,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[(0,l.jsx)(s.A.Header,{closeButton:!0,children:(0,l.jsx)(s.A.Title,{id:"contained-modal-title-vcenter",children:e.hash})}),(0,l.jsx)(s.A.Body,{children:(0,l.jsx)("fieldset",{disabled:!e.editable,children:C?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("h4",{className:"text-center my-2",children:[C.code," - ",C.msg]}),(0,l.jsx)("pre",{className:"text-center my-2 text-danger lead",children:C.raw})]}):g||j||!x?(0,l.jsx)(u.A,{}):(0,l.jsx)(U,{point:x,groups:e.groups,onChange:o=>{e.editable&&w((0,en.o)(m.Ac,o),!1)}})})}),(0,l.jsxs)(s.A.Footer,{children:[e.onDelete&&(0,l.jsxs)(r.A,{onSelect:o=>{"ok"===o&&e.onDelete&&(e.onHide(),e.onDelete())},as:c.A,variant:"outline-danger",title:"Remove",children:[(0,l.jsx)(p.A.Item,{eventKey:"ok",children:"OK"}),(0,l.jsx)(p.A.Item,{eventKey:"cancel",children:"Cancel"})]}),!C&&!g&&!j&&x&&(0,l.jsx)(t.A,{variant:"outline-primary",onClick:()=>{i({show:!0,data:(0,el.J7)(m.Ac,x,{prettySpaces:2})})},children:"JSON"}),(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,l.jsx)(()=>e.editable?(0,l.jsx)(t.A,{variant:"outline-primary",disabled:g||j||C||!e.editable,onClick:()=>{x&&(e.isNew&&(x.hash=""),(0,h.Fp)("/node",{method:"PATCH",body:(0,eo.R)(m.Ac,x)}).then(async n=>{let{error:l}=n;if(l){let e=await l.msg;o.Error(e)}else o.Info("save successful"),e.onSave&&e.onSave()}))},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})]})}let er=e=>{let o=(0,a.useContext)(v.u),[n,r]=(0,a.useState)({data:""});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.A,{show:e.show,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[!e.plaintext&&(0,l.jsx)(s.A.Header,{closeButton:!0,children:(0,l.jsx)(s.A.Title,{id:"contained-modal-title-vcenter",children:"Import JSON"})}),(0,l.jsx)(s.A.Body,{children:(0,l.jsx)(i.A.Control,{as:"textarea",readOnly:e.plaintext,value:e.data?e.data:n.data,style:{height:"65vh",fontFamily:"monospace"},onChange:e=>{r({data:e.target.value})}})}),(0,l.jsxs)(s.A.Footer,{children:[(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,l.jsx)(()=>e.onSave?(0,l.jsx)(t.A,{variant:"outline-primary",onClick:()=>{let l=(0,ea.mj)(m.Ac,n.data);e.isNew&&(l.hash=""),(0,h.Fp)("/node",{method:"PATCH",body:(0,eo.R)(m.Ac,l)}).then(async n=>{let{error:l}=n;if(void 0===l)o.Info("save successful"),void 0!==e.onSave&&e.onSave();else{let e=await l.msg;o.Error(e)}})},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})})}},6496:(e,o,n)=>{n.d(o,{yz:()=>r});var l=n(6788),a=n(8123),t=n(9297);let s=(0,l.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[t.t]),r=(0,a.Z)(s,0)}}]); \ No newline at end of file diff --git a/_next/static/chunks/698-a1509951f078e285.js b/_next/static/chunks/698-a1509951f078e285.js new file mode 100644 index 00000000..0d3392c8 --- /dev/null +++ b/_next/static/chunks/698-a1509951f078e285.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[698],{2859:(e,o,n)=>{n.d(o,{$d:()=>r});var l=n(5155);n(2115);var a=n(6180),t=n(6121),s=n(3667);let r=e=>(0,l.jsxs)(a.A.Group,{as:t.A,className:"mb-2",children:[(0,l.jsx)(a.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(s.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(a.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,o,n)=>{n.d(o,{u:()=>r,y:()=>c});var l=n(5155),a=n(2115),t=n(1757),s=n(491);let r=(0,a.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:o}=e,[n,c]=(0,a.useState)({value:{},index:0}),p=(e,o)=>c(n=>({value:{...n.value,[n.index]:{text:e,type:o}},index:n.index+1}));return(0,l.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),p(e,"success")},Error:e=>{console.error(e),p(e,"danger")}},children:[(0,l.jsx)(t.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[o,a]=e;return(0,l.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=n.value;delete e[o],c({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(s.A.Header,{children:[(0,l.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,l.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,l.jsx)(s.A.Body,{className:"text-center",children:a.text})]},"toast"+o)})}),o]})}},698:(e,o,n)=>{n.d(o,{E:()=>er,y:()=>es});var l=n(5155),a=n(2115),t=n(2963),s=n(0),r=n(8143),c=n(3614),p=n(9637),i=n(6180),d=n(4995),h=n(8927),u=n(9169),v=n(148),m=n(2049),x=n(57),C=n(8003),j=n(6121),g=n(3667),w=n(1703),b=n(7204),y=n(2859),f=n(3577),A=n(6496);function D(e,o){return o?function(n){n(e),o(e)}:function(e){}}let U=a.forwardRef((e,o)=>{let n=D(e.point,e.onChange),s=e=>{n(o=>{o.protocols.splice(e,1)})};function r(o,l){e.onChange&&n(e=>{e.protocols[o].protocol.value=l})}let c=(o,l)=>{e.point.protocols.length<=1||o&&0===l||!o&&l===e.point.protocols.length-1||n(e=>{let n=e.protocols[l];e.protocols[l]=e.protocols[l+(o?-1:1)],e.protocols[l+(o?-1:1)]=n})},[p,d]=(0,a.useState)({value:"simple"});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Name",value:e.point.name,onChange:e=>{n(o=>o.name=e)}}),(0,l.jsx)(b.a9,{label:"Group",value:e.point.group,onChange:e=>{n(o=>o.group=e)},reminds:e.groups?e.groups.map(e=>new b.mI({label:e,value:e})):void 0}),(0,l.jsx)(b.a9,{label:"Hash",value:e.point.hash,onChange:e=>{n(o=>o.hash=e)}}),e.point.protocols.map((o,n)=>{switch(o.protocol.case){case"simple":return(0,l.jsx)(S,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"websocket":return(0,l.jsx)(F,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"shadowsocks":return(0,l.jsx)(P,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"quic":return(0,l.jsx)(R,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"vless":return(0,l.jsx)(q,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"vmess":return(0,l.jsx)(Q,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"trojan":return(0,l.jsx)(B,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"shadowsocksr":return(0,l.jsx)(W,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"obfsHttp":return(0,l.jsx)(V,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"none":return(0,l.jsx)(E,{onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"socks5":return(0,l.jsx)(Y,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"http":return(0,l.jsx)(Z,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"direct":return(0,l.jsx)(L,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"reject":return(0,l.jsx)(K,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"yuubinsya":return(0,l.jsx)(G,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"grpc":return(0,l.jsx)(_,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"http2":return(0,l.jsx)(z,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"reality":return(0,l.jsx)(J,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"tls":return(0,l.jsx)(T,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"wireguard":return(0,l.jsx)(k,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"mux":return(0,l.jsx)(M,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);case"drop":return(0,l.jsx)(X,{protocol:o.protocol.value,onChange:e=>r(n,e),onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n);default:return(0,l.jsx)(I,{onClose:()=>s(n),moveUpDown:new b.fH(e.point.protocols.length,n,e=>{c(e,n)})},n)}}),(0,l.jsx)(x.A,{variant:"flush",children:(0,l.jsx)(x.A.Item,{children:(0,l.jsxs)(C.A,{children:[(0,l.jsx)(i.A.Select,{value:p.value,onChange:e=>{d({value:e.target.value})},children:Object.keys(ee).map(e=>(0,l.jsx)("option",{value:e,children:e},e))}),(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{n(e=>{e.protocols.push(ee[p.value])})},children:"Add"})]})})})]})});function N(e){var o;return(0,l.jsxs)(i.A.Group,{as:j.A,className:"mb-3",children:[(0,l.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((o,n)=>(0,l.jsx)(g.A,{sm:{span:10,offset:0!==n?2:0},children:(0,l.jsx)(C.A,{className:"mb-2",children:(0,l.jsx)(b.mc,{title:"Peer",onClose:()=>{e.data&&(e.data.splice(n,1),e.onChange(e.data))},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Endpoint",value:o.endpoint,onChange:o=>{e.data&&(e.data[n].endpoint=o,e.onChange(e.data))}}),(0,l.jsx)(b.a9,{label:"PublicKey",value:o.publicKey,onChange:o=>{e.data&&(e.data[n].publicKey=o,e.onChange(e.data))}}),(0,l.jsx)(b.e9,{title:"AllowedIps",data:o.allowedIps,onChange:o=>{e.data&&(e.data[n].allowedIps=o,e.onChange(e.data))}})]})})})},n)),(0,l.jsx)(g.A,{sm:{span:10,offset:(null===(o=e.data)||void 0===o?void 0:o.length)!==0?2:0},children:(0,l.jsx)(C.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(t.A,{variant:"outline-success",onClick:()=>{let o=(0,f.v)(w.GL,{allowedIps:["0.0.0.0/0"],endpoint:"127.0.0.1:51820",publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY="});e.data?(e.data.push(o),e.onChange(e.data)):e.onChange([o])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})}let k=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Wireguard",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"SecretKey",value:e.protocol.secretKey,placeholder:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",onChange:e=>{o(o=>o.secretKey=e)}}),(0,l.jsx)(b.a9,{label:"MTU",value:e.protocol.mtu,onChange:e=>{isNaN(Number(e))||o(o=>o.mtu=Number(e))}}),(0,l.jsx)(b.a9,{label:"IdleTimeout",value:e.protocol.idleTimeout,onChange:e=>{isNaN(Number(e))||o(o=>o.idleTimeout=Number(e))}}),(0,l.jsx)(b.a9,{label:"Reserved",value:btoa(String.fromCharCode.apply(null,e.protocol.reserved)),onChange:e=>{o(o=>o.reserved=Uint8Array.from(atob(e),e=>e.charCodeAt(0)))}}),(0,l.jsx)(b.e9,{title:"Endpoint",data:e.protocol.endpoint,onChange:e=>{o(o=>o.endpoint=e)}}),(0,l.jsx)(N,{title:"Peers",data:e.protocol.peers,onChange:e=>{o(o=>o.peers=e)}})]})})};function H(e){var o;return(0,l.jsxs)(i.A.Group,{as:j.A,className:"mb-3 flex-grow-1 overflow-auto",children:[(0,l.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),e.data&&e.data.map((o,n)=>(0,l.jsx)(g.A,{sm:{span:10,offset:0!==n?2:0},children:(0,l.jsx)(C.A,{className:"mb-2",children:(0,l.jsx)(b.mc,{title:"Host",onClose:()=>{e.data&&(e.data.splice(n,1),e.onChange(e.data))},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:o.host,onChange:o=>{e.data&&(e.data[n].host=o,e.onChange(e.data))}}),(0,l.jsx)(b.a9,{label:"Port",value:o.port,onChange:o=>{!isNaN(Number(o))&&e.data&&(e.data[n].port=Number(o),e.onChange(e.data))}})]})})})},n)),(0,l.jsx)(g.A,{sm:{span:10,offset:(null===(o=e.data)||void 0===o?void 0:o.length)!==0?2:0},children:(0,l.jsx)(C.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(t.A,{variant:"outline-success",onClick:()=>{let o=(0,f.v)(w.g3,{});e.data?(e.data.push(o),e.onChange(e.data)):e.onChange([o])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})}let S=e=>{let o=D(e.protocol,e.onChange),{data:n}=(0,d.Ay)("/interfaces",(0,h.AD)(A.yz),{revalidateOnFocus:!0});return(0,l.jsx)(b.mc,{title:"Simple",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Network Interface",value:e.protocol.networkInterface,onChange:e=>{o(o=>o.networkInterface=e)},reminds:null==n?void 0:n.interfaces.map(e=>{if(e.name){var o;return{label:e.name,value:e.name,label_children:null===(o=e.addresses)||void 0===o?void 0:o.map(e=>e||"")}}}).filter(e=>!!e)}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{let n=Number(e);isNaN(n)||n>65535||n<0||o(e=>e.port=n)}}),(0,l.jsx)(H,{title:"AlternateHost",data:e.protocol.alternateHost,onChange:e=>{o(o=>o.alternateHost=e)}})]})})},E=e=>(0,l.jsx)(b.mc,{title:"None",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"None"})}),I=e=>(0,l.jsx)(b.mc,{title:"Unknown",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Unknown"})}),F=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Websocket",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Path",value:e.protocol.path,onChange:e=>{o(o=>o.path=e)}})]})})},P=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Shadowsocks",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Method",value:e.protocol.method,onChange:e=>{o(o=>o.method=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},O=e=>{let o=D(e.tls,e.onChange);return(0,l.jsxs)(l.Fragment,{children:[(void 0===e.showEnabled||e.showEnabled)&&(0,l.jsx)(y.$d,{label:"TLS Enabled",checked:e.tls.enable,onChange:()=>{o(e=>e.enable=!e.enable)}}),(0,l.jsx)(y.$d,{label:"InsecureSkipVerify",checked:e.tls.insecureSkipVerify,onChange:()=>{o(e=>e.insecureSkipVerify=!e.insecureSkipVerify)}}),(0,l.jsx)(b.e9,{title:"ServerNames",data:e.tls.serverNames,onChange:e=>{o(o=>o.serverNames=e)}}),(0,l.jsx)(b.e9,{title:"NextProtos",data:e.tls.nextProtos,onChange:e=>{o(o=>o.nextProtos=e)}}),(0,l.jsx)(b.n4,{title:"CaCert",textarea:!0,data:e.tls.caCert,onChange:e=>{o(o=>o.caCert=e)}})]})},R=e=>{var o;let n=D(e.protocol,e.onChange);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.mc,{title:"Quic",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{n(o=>o.host=e)}}),(0,l.jsx)(O,{showEnabled:!1,tls:null!==(o=e.protocol.tls)&&void 0!==o?o:(0,f.v)(w.Qi,{}),onChange:e=>{n(o=>o.tls=e)}})]})})})},W=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Shadowsocksr",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Server",value:e.protocol.server,onChange:e=>{o(o=>o.server=e)}}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{o(o=>o.port=e)}}),(0,l.jsx)(b.a9,{label:"Method",value:e.protocol.method,placeholder:"chacha20-ietf",onChange:e=>{o(o=>o.method=e)}}),(0,l.jsx)(b.a9,{label:"Protocol",value:e.protocol.protocol,placeholder:"auth_aes128_sha1",onChange:e=>{o(o=>o.protocol=e)}}),(0,l.jsx)(b.a9,{label:"ProtocolParam",value:e.protocol.protoparam,onChange:e=>{o(o=>o.protoparam=e)}}),(0,l.jsx)(b.a9,{label:"Obfs",value:e.protocol.obfs,placeholder:"http_post",onChange:e=>{o(o=>o.obfs=e)}}),(0,l.jsx)(b.a9,{label:"ObfsParam",value:e.protocol.obfsparam,placeholder:"#name=v",onChange:e=>{o(o=>o.obfsparam=e)}})]})})},Q=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Vmess",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"AlterId",value:e.protocol.alterId,onChange:e=>{o(o=>o.alterId=e)}}),(0,l.jsx)(b.a9,{label:"Security",value:e.protocol.security,placeholder:"chacha20-poly1305",onChange:e=>{o(o=>o.security=e)}}),(0,l.jsx)(b.a9,{label:"UUID",value:e.protocol.uuid,placeholder:"9d5031b6-4ef5-11ee-be56-0242ac120002",onChange:e=>{o(o=>o.uuid=e)}})]})})},B=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Trojan",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}}),(0,l.jsx)(b.a9,{label:"Peer",value:e.protocol.peer,onChange:e=>{o(o=>o.peer=e)}})]})})},Y=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Socks5",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Hostname",value:e.protocol.hostname,placeholder:"127.0.0.1",onChange:e=>{o(o=>o.hostname=e)}}),(0,l.jsx)(b.a9,{label:"User",value:e.protocol.user,onChange:e=>{o(o=>o.user=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}}),(0,l.jsx)(b.a9,{label:"Override Port",value:e.protocol.overridePort,onChange:e=>{let n=Number(e);isNaN(n)||n>65535||n<0||o(e=>e.overridePort=n)}})]})})},Z=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"HTTP",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"User",value:e.protocol.user,onChange:e=>{o(o=>o.user=e)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},L=e=>{let o=D(e.protocol,e.onChange),{data:n}=(0,d.Ay)("/interfaces",(0,h.AD)(A.yz),{revalidateOnFocus:!0});return(0,l.jsx)(b.mc,{title:"Direct",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Network Interface",value:e.protocol.networkInterface,onChange:e=>{o(o=>o.networkInterface=e)},reminds:null==n?void 0:n.interfaces.map(e=>{if(e.name){var o;return{label:e.name,value:e.name,label_children:null===(o=e.addresses)||void 0===o?void 0:o.map(e=>e||"")}}}).filter(e=>!!e)})})})},K=e=>(0,l.jsx)(b.mc,{title:"Reject",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Reject"})})}),G=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Yuubinsya",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.$d,{label:"TCP Encrypt",checked:e.protocol.tcpEncrypt,onChange:()=>{o(e=>e.tcpEncrypt=!e.tcpEncrypt)}}),(0,l.jsx)(y.$d,{label:"UDP Encrypt",checked:e.protocol.udpEncrypt,onChange:()=>{o(e=>e.udpEncrypt=!e.udpEncrypt)}}),(0,l.jsx)(y.$d,{label:"UdpOverStream",checked:e.protocol.udpOverStream,onChange:()=>{o(e=>e.udpOverStream=!e.udpOverStream)}}),(0,l.jsx)(b.a9,{label:"Password",value:e.protocol.password,onChange:e=>{o(o=>o.password=e)}})]})})},T=e=>(0,l.jsx)(b.mc,{title:"Tls",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(O,{tls:e.protocol,onChange:e.onChange})}),M=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Mux",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Concurrency",value:e.protocol.concurrency,onChange:e=>{isNaN(Number(e))||o(o=>o.concurrency=Number(e))}})})})},X=e=>(0,l.jsx)(b.mc,{title:"Drop",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Drop"})}),q=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Vless",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"UUID",value:e.protocol.uuid,onChange:e=>{o(o=>o.uuid=e)}})})})},V=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"ObfsHttp",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b.a9,{label:"Host",value:e.protocol.host,onChange:e=>{o(o=>o.host=e)}}),(0,l.jsx)(b.a9,{label:"Port",value:e.protocol.port,onChange:e=>{o(o=>o.port=e)}})]})})},_=e=>{var o;let n=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Grpc",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(O,{tls:null!==(o=e.protocol.tls)&&void 0!==o?o:(0,f.v)(w.Qi,{}),onChange:e=>{n(o=>o.tls=e)}})})},z=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Http2",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(b.a9,{label:"Concurrency",value:e.protocol.concurrency,onChange:e=>{isNaN(Number(e))||o(o=>o.concurrency=Number(e))}})})})},J=e=>{let o=D(e.protocol,e.onChange);return(0,l.jsx)(b.mc,{title:"Reality",onClose:e.onClose,moveUpDown:e.moveUpDown,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.$d,{label:"Debug",checked:e.protocol.debug,onChange:()=>{o(e=>e.debug=!e.debug)}}),(0,l.jsx)(b.a9,{label:"PublicKey",value:e.protocol.publicKey,onChange:e=>{o(o=>o.publicKey=e)}}),(0,l.jsx)(b.a9,{label:"ServerName",value:e.protocol.serverName,onChange:e=>{o(o=>o.serverName=e)}}),(0,l.jsx)(b.a9,{label:"ShortId",value:e.protocol.shortId,onChange:e=>{o(o=>o.shortId=e)}})]})})},$=(0,f.v)(w.Qi,{enable:!1,caCert:[new TextEncoder().encode("-----CERTIFICATE-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQD4MVvq8SAOzdeE\nSUfehAij/kdTYKPfuc+5SBTNSykilsGsY1mEu4qS6Abc/8bfRM7e9+4bAkA9rSma\np9Rza0YWNwdYQD3j3vuFlR6ic6tTYN7estRGGFOoI5MxA8OsYDbWNnO/3jYlErtn\nXUqDK5iABtBYNsSrLEc/Y2iISCm0zIT7Bfn3gzboggbqx5bpWjT5HmMRZmezl6EB\ny6HjCSIgZzP2v3yOfOVcu70vKABD3X1bzaKEn86rXNra0TZkqvB9vPv1PsBrELrO\nJxFRrAZylgeShzXgBXWjZKyj/toZ7FJLDv896sW/LuQarQufIcluisO++Xkz/EwQ\nVuXUR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qykStI1TjpZ79lgQKBgQDJAQe8Wnn2+QbWSbda\nNFGyG+hs7SkqqZmEQl3nA5kyAeOSsGtJG9tiLxDE52eMUM1iL6wNPQMDkROp3yRg\n7muJLMjiVeLFxXUyCXKj11W1VER5i16RsuWW3m5aGxumaXw4TJviJzT/dnwHe+x9\npWZqcBJfEUP6uTLSp3CmyEPcfA==\n-----CERTIFICATE-----")],insecureSkipVerify:!1,nextProtos:["h2"],serverNames:["www.example.com"]}),ee={simple:(0,f.v)(w._1,{protocol:{case:"simple",value:(0,f.v)(w.sT,{host:"",alternateHost:[],port:1080})}}),none:(0,f.v)(w._1,{protocol:{case:"none",value:(0,f.v)(w.YZ,{})}}),websocket:(0,f.v)(w._1,{protocol:{case:"websocket",value:(0,f.v)(w.BP,{host:"www.example.com",path:"/msg"})}}),quic:(0,f.v)(w._1,{protocol:{case:"quic",value:(0,f.v)(w.sn,{tls:$})}}),shadowsocks:(0,f.v)(w._1,{protocol:{case:"shadowsocks",value:(0,f.v)(w.t0,{method:"CHACHA20-IETF-POLY1305",password:"password"})}}),obfshttp:(0,f.v)(w._1,{protocol:{case:"obfsHttp",value:(0,f.v)(w.F7,{host:"www.example.com",port:"443"})}}),shadowsocksr:(0,f.v)(w._1,{protocol:{case:"shadowsocksr",value:(0,f.v)(w.hX,{method:"chacha20-ietf",obfs:"http_post",obfsparam:"#name=v",password:"password",port:"1080",protocol:"auth_aes128_sha1",protoparam:"",server:"127.0.0.1"})}}),vmess:(0,f.v)(w._1,{protocol:{case:"vmess",value:(0,f.v)(w.s2,{alterId:"0",security:"chacha20-poly1305",uuid:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}}),trojan:(0,f.v)(w._1,{protocol:{case:"trojan",value:(0,f.v)(w.SD,{password:"password",peer:"peer"})}}),socks5:(0,f.v)(w._1,{protocol:{case:"socks5",value:(0,f.v)(w.AK,{hostname:"127.0.0.1:1080",password:"password",user:"username"})}}),http:(0,f.v)(w._1,{protocol:{case:"http",value:(0,f.v)(w.UM,{password:"password",user:"username"})}}),direct:(0,f.v)(w._1,{protocol:{case:"direct",value:(0,f.v)(w.bw,{})}}),yuubinsya:(0,f.v)(w._1,{protocol:{case:"yuubinsya",value:(0,f.v)(w.lA,{tcpEncrypt:!0,udpEncrypt:!0,password:"password",udpOverStream:!1})}}),tls:(0,f.v)(w._1,{protocol:{case:"tls",value:$}}),wireguard:(0,f.v)(w._1,{protocol:{case:"wireguard",value:(0,f.v)(w.g2,{endpoint:["10.0.0.2/32"],mtu:1500,idleTimeout:3,reserved:new Uint8Array([0,0,0]),secretKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",peers:[{allowedIps:["0.0.0.0/0"],endpoint:"127.0.0.1:51820",publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY="}]})}}),mux:(0,f.v)(w._1,{protocol:{case:"mux",value:(0,f.v)(w.gE,{concurrency:8})}}),drop:(0,f.v)(w._1,{protocol:{case:"drop",value:(0,f.v)(w.fO,{})}}),vless:(0,f.v)(w._1,{protocol:{case:"vless",value:(0,f.v)(w.X_,{uuid:"c48619fe-8f02-49e0-b9e9-edf763e17e21"})}}),grpc:(0,f.v)(w._1,{protocol:{case:"grpc",value:(0,f.v)(w.E_,{tls:$})}}),http2:(0,f.v)(w._1,{protocol:{case:"http2",value:(0,f.v)(w.ql,{concurrency:8})}}),reality:(0,f.v)(w._1,{protocol:{case:"reality",value:(0,f.v)(w.K0,{debug:!1,publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",serverName:"127.0.0.1",shortId:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}})};var eo=n(7558),en=n(950),el=n(9093),ea=n(4504),et=n(1936);function es(e){let o=(0,a.useContext)(v.u),[n,i]=(0,a.useState)({show:!1,data:""}),{data:x,error:C,isLoading:j,isValidating:g,mutate:w}=(0,d.Ay)(""===e.hash?void 0:"/node",(0,h.AD)(m.Ac,"POST",(0,eo.R)(et.g8,(0,f.v)(et.g8,{value:e.hash})),e.point),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,a.useEffect)(()=>{w()},[e.hash]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(er,{show:n.show,data:n.data,plaintext:!0,onHide:()=>i({...n,show:!1})}),(0,l.jsxs)(s.A,{show:!n.show&&e.show,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[(0,l.jsx)(s.A.Header,{closeButton:!0,children:(0,l.jsx)(s.A.Title,{id:"contained-modal-title-vcenter",children:e.hash})}),(0,l.jsx)(s.A.Body,{children:(0,l.jsx)("fieldset",{disabled:!e.editable,children:C?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("h4",{className:"text-center my-2",children:[C.code," - ",C.msg]}),(0,l.jsx)("pre",{className:"text-center my-2 text-danger lead",children:C.raw})]}):g||j||!x?(0,l.jsx)(u.A,{}):(0,l.jsx)(U,{point:x,groups:e.groups,onChange:o=>{e.editable&&w((0,en.o)(m.Ac,o),!1)}})})}),(0,l.jsxs)(s.A.Footer,{children:[e.onDelete&&(0,l.jsxs)(r.A,{onSelect:o=>{"ok"===o&&e.onDelete&&(e.onHide(),e.onDelete())},as:c.A,variant:"outline-danger",title:"Remove",children:[(0,l.jsx)(p.A.Item,{eventKey:"ok",children:"OK"}),(0,l.jsx)(p.A.Item,{eventKey:"cancel",children:"Cancel"})]}),!C&&!g&&!j&&x&&(0,l.jsx)(t.A,{variant:"outline-primary",onClick:()=>{i({show:!0,data:(0,el.J7)(m.Ac,x,{prettySpaces:2})})},children:"JSON"}),(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,l.jsx)(()=>e.editable?(0,l.jsx)(t.A,{variant:"outline-primary",disabled:g||j||C||!e.editable,onClick:()=>{x&&(e.isNew&&(x.hash=""),(0,h.Fp)("/node",{method:"PATCH",body:(0,eo.R)(m.Ac,x)}).then(async n=>{let{error:l}=n;if(l){let e=await l.msg;o.Error(e)}else o.Info("save successful"),e.onSave&&e.onSave()}))},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})]})}let er=e=>{let o=(0,a.useContext)(v.u),[n,r]=(0,a.useState)({data:""});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.A,{show:e.show,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[!e.plaintext&&(0,l.jsx)(s.A.Header,{closeButton:!0,children:(0,l.jsx)(s.A.Title,{id:"contained-modal-title-vcenter",children:"Import JSON"})}),(0,l.jsx)(s.A.Body,{children:(0,l.jsx)(i.A.Control,{as:"textarea",readOnly:e.plaintext,value:e.data?e.data:n.data,style:{height:"65vh",fontFamily:"monospace"},onChange:e=>{r({data:e.target.value})}})}),(0,l.jsxs)(s.A.Footer,{children:[(0,l.jsx)(t.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,l.jsx)(()=>e.onSave?(0,l.jsx)(t.A,{variant:"outline-primary",onClick:()=>{let l=(0,ea.mj)(m.Ac,n.data);e.isNew&&(l.hash=""),(0,h.Fp)("/node",{method:"PATCH",body:(0,eo.R)(m.Ac,l)}).then(async n=>{let{error:l}=n;if(void 0===l)o.Info("save successful"),void 0!==e.onSave&&e.onSave();else{let e=await l.msg;o.Error(e)}})},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})})}},6496:(e,o,n)=>{n.d(o,{yz:()=>r});var l=n(6788),a=n(8123),t=n(9297);let s=(0,l.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[t.t]),r=(0,a.Z)(s,0)}}]); \ No newline at end of file diff --git a/_next/static/chunks/708-1127f0a6481dd1d1.js b/_next/static/chunks/708-1127f0a6481dd1d1.js new file mode 100644 index 00000000..d4d6e216 --- /dev/null +++ b/_next/static/chunks/708-1127f0a6481dd1d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[708],{8519:(e,t,n)=>{n.d(t,{G6:()=>d,uQ:()=>c,z3:()=>g});var r=n(3577),o=n(6989),s=n(8628),i=n(9287),a=n(7558),u=n(1586),l=n(466);function c(e,t){f(t,e);let n=function(e,t){if(void 0===e)return[];if("enum"===t.fieldKind||"scalar"===t.fieldKind){for(let n=e.length-1;n>=0;--n)if(e[n].no==t.number)return[e[n]];return[]}return e.filter(e=>e.no===t.number)}(e.$unknown,t),[r,s,i]=g(t);for(let e of n)(0,o.dR)(r,new u.V5(e.data),s,e.wireType,{readUnknownFields:!1});return i()}function d(e,t,n){var r;f(t,e);let o=(null!==(r=e.$unknown)&&void 0!==r?r:[]).filter(e=>e.no!==t.number),[s,i]=g(t,n),l=new u.fI;(0,a.Y)(l,{writeUnknownFields:!1},s,i);let c=new u.V5(l.finish());for(;c.pos{let t=u[n];if(void 0===t){let t=e.message;return(0,l.l)(t)?(0,i.M7)(t.fields[0].scalar,t.fields[0].longAsString):(0,r.v)(t)}return t}]}function f(e,t){if(e.extendee.typeName!=t.$typeName)throw Error(`extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`)}},9093:(e,t,n)=>{n.d(t,{J7:()=>g});var r=n(9513),o=n(8373),s=n(8628),i=n(3851),a=n(466),u=n(5636),l=n(8519),c=n(5005);let d={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function g(e,t,n){var r;return JSON.stringify(f((0,s.E4)(e,t),n?Object.assign(Object.assign({},d),n):d),null,null!==(r=null==n?void 0:n.prettySpaces)&&void 0!==r?r:0)}function f(e,t){var n;let r=function(e,t){if(e.desc.typeName.startsWith("google.protobuf."))switch(e.desc.typeName){case"google.protobuf.Any":return function(e,t){let n,r;if(""===e.typeUrl)return{};let{registry:o}=t;if(o&&(n=(0,i.rW)(e,o))&&(r=o.getMessage(n.$typeName)),!r||!n)throw Error(`cannot encode message ${e.$typeName} to JSON: "${e.typeUrl}" is not in the type registry`);let a=f((0,s.E4)(r,n),t);return(r.typeName.startsWith("google.protobuf.")||null===a||Array.isArray(a)||"object"!=typeof a)&&(a={value:a}),a["@type"]=e.typeUrl,a}(e.message,t);case"google.protobuf.Timestamp":return function(e){let t=1e3*Number(e.seconds);if(tDate.parse("9999-12-31T23:59:59Z"))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);let n="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);n="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(t).toISOString().replace(".000Z",n)}(e.message);case"google.protobuf.Duration":return function(e){if(Number(e.seconds)>315576e6||-315576e6>Number(e.seconds))throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);let t=e.seconds.toString();if(0!==e.nanos){let n=Math.abs(e.nanos).toString();"000000"===(n="0".repeat(9-n.length)+n).substring(3)?n=n.substring(0,3):"000"===n.substring(6)&&(n=n.substring(0,6)),t+="."+n,e.nanos<0&&0==Number(e.seconds)&&(t="-"+t)}return t+"s"}(e.message);case"google.protobuf.FieldMask":var n;return(n=e.message).paths.map(e=>{if(e.match(/_[0-9]?_/g)||e.match(/[A-Z]/g))throw Error(`cannot encode message ${n.$typeName} to JSON: lowerCamelCase of path name "`+e+'" is irreversible');return(0,o.R)(e)}).join(",");case"google.protobuf.Struct":return p(e.message);case"google.protobuf.Value":return N(e.message);case"google.protobuf.ListValue":return y(e.message);default:if((0,a.l)(e.desc)){let t=e.desc.fields[0];return v(t,e.get(t))}return}}(e,t);if(void 0!==r)return r;let u={};for(let n of e.sortedFields){if(!e.isSet(n)){if(3==n.presence)throw Error(`cannot encode field ${e.desc.typeName}.${n.name} to JSON: required field not set`);if(!t.alwaysEmitImplicit||2!==n.presence)continue}let r=m(n,e.get(n),t);void 0!==r&&(u[t.useProtoFieldName?n.name:n.jsonName]=r)}if(t.registry){let r=new Set;for(let o of null!==(n=e.getUnknown())&&void 0!==n?n:[]){if(r.has(o.no))continue;let n=t.registry.getExtensionFor(e.desc,o.no);if(!n)continue;let s=(0,l.uQ)(e.message,n),[i,a]=(0,l.z3)(n,s),c=m(a,i.get(a),t);void 0!==c&&(u[n.jsonName]=c)}}return u}function m(e,t,n){switch(e.fieldKind){case"scalar":return v(e,t);case"message":return f(t,n);case"enum":return b(e.enum,t,n.enumAsInteger);case"list":return function(e,t){let n=e.field(),r=[];switch(n.listKind){case"scalar":for(let t of e)r.push(v(n,t));break;case"enum":for(let o of e)r.push(b(n.enum,o,t.enumAsInteger));break;case"message":for(let n of e)r.push(f(n,t))}return t.alwaysEmitImplicit||r.length>0?r:void 0}(t,n);case"map":return function(e,t){let n=e.field(),r={};switch(n.mapKind){case"scalar":for(let[t,o]of e)r[t]=v(n,o);break;case"message":for(let[n,o]of e)r[n]=f(o,t);break;case"enum":for(let[o,s]of e)r[o]=b(n.enum,s,t.enumAsInteger)}return t.alwaysEmitImplicit||e.size>0?r:void 0}(t,n)}}function b(e,t,n){var r;if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: expected number, got ${(0,c.$L)(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(n)return t;let o=e.value[t];return null!==(r=null==o?void 0:o.name)&&void 0!==r?r:t}function v(e,t){var n,o,s,i,a,l;switch(e.scalar){case r.L.INT32:case r.L.SFIXED32:case r.L.SINT32:case r.L.FIXED32:case r.L.UINT32:if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(n=(0,c.PZ)(e,t))||void 0===n?void 0:n.message}`);return t;case r.L.FLOAT:case r.L.DOUBLE:if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(o=(0,c.PZ)(e,t))||void 0===o?void 0:o.message}`);if(isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case r.L.STRING:if("string"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(s=(0,c.PZ)(e,t))||void 0===s?void 0:s.message}`);return t;case r.L.BOOL:if("boolean"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(i=(0,c.PZ)(e,t))||void 0===i?void 0:i.message}`);return t;case r.L.UINT64:case r.L.FIXED64:case r.L.INT64:case r.L.SFIXED64:case r.L.SINT64:if("bigint"!=typeof t&&"string"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(a=(0,c.PZ)(e,t))||void 0===a?void 0:a.message}`);return t.toString();case r.L.BYTES:if(t instanceof Uint8Array)return(0,u.K)(t);throw Error(`cannot encode ${e} to JSON: ${null===(l=(0,c.PZ)(e,t))||void 0===l?void 0:l.message}`)}}function p(e){let t={};for(let[n,r]of Object.entries(e.fields))t[n]=N(r);return t}function N(e){switch(e.kind.case){case"nullValue":return null;case"numberValue":if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case"boolValue":case"stringValue":return e.kind.value;case"structValue":return p(e.kind.value);case"listValue":return y(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function y(e){return e.values.map(N)}},3851:(e,t,n)=>{n.d(t,{G0:()=>c,rW:()=>d});var r=n(6788),o=n(8123);let s=(0,r.w)("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),i=(0,o.Z)(s,0);var a=n(3577),u=n(7558),l=n(6989);function c(e,t,n){var r;let o=!1;return n||(n=(0,a.v)(i),o=!0),n.value=(0,u.R)(e,t),n.typeUrl=(r=t.$typeName,`type.googleapis.com/${r}`),o?n:void 0}function d(e,t){if(""===e.typeUrl)return;let n="message"==t.kind?t:t.getMessage(function(e){let t=e.lastIndexOf("/"),n=t>=0?e.substring(t+1):e;if(!n.length)throw Error(`invalid type url: ${e}`);return n}(e.typeUrl));if(n)return(0,l.Er)(n,e.value)}},9297:(e,t,n)=>{n.d(t,{t:()=>s,v:()=>i});var r=n(6788),o=n(8123);let s=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),i=(0,o.Z)(s,0)},1936:(e,t,n)=>{n.d(t,{Ax:()=>s,g8:()=>i});var r=n(6788),o=n(8123);let s=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),i=(0,o.Z)(s,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/708-5382ebe623e65010.js b/_next/static/chunks/708-5382ebe623e65010.js deleted file mode 100644 index 721eb6b0..00000000 --- a/_next/static/chunks/708-5382ebe623e65010.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[708],{8519:(e,t,n)=>{n.d(t,{G6:()=>d,uQ:()=>c,z3:()=>f});var r=n(3577),s=n(6989),o=n(8628),a=n(9287),i=n(7558),u=n(1586),l=n(466);function c(e,t){g(t,e);let n=function(e,t){if(void 0===e)return[];if("enum"===t.fieldKind||"scalar"===t.fieldKind){for(let n=e.length-1;n>=0;--n)if(e[n].no==t.number)return[e[n]];return[]}return e.filter(e=>e.no===t.number)}(e.$unknown,t),[r,o,a]=f(t);for(let e of n)(0,s.dR)(r,new u.V5(e.data),o,e.wireType,{readUnknownFields:!1});return a()}function d(e,t,n){var r;g(t,e);let s=(null!==(r=e.$unknown)&&void 0!==r?r:[]).filter(e=>e.no!==t.number),[o,a]=f(t,n),l=new u.fI;(0,i.Y)(l,{writeUnknownFields:!1},o,a);let c=new u.V5(l.finish());for(;c.pos{let t=u[n];if(void 0===t){let t=e.message;return(0,l.l)(t)?(0,a.M7)(t.fields[0].scalar,t.fields[0].longAsString):(0,r.v)(t)}return t}]}function g(e,t){if(e.extendee.typeName!=t.$typeName)throw Error(`extension ${e.typeName} can only be applied to message ${e.extendee.typeName}`)}},7558:(e,t,n)=>{n.d(t,{R:()=>i,Y:()=>l});var r=n(8628),s=n(1586),o=n(9513);let a={writeUnknownFields:!0};function i(e,t,n){return u(new s.fI,n?Object.assign(Object.assign({},a),n):a,(0,r.E4)(e,t)).finish()}function u(e,t,n){var r;for(let r of n.sortedFields){if(!n.isSet(r)){if(3==r.presence)throw Error(`cannot encode field ${n.desc.typeName}.${r.name} to binary: required field not set`);continue}l(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:s,data:o}of null!==(r=n.getUnknown())&&void 0!==r?r:[])e.tag(t,s).raw(o);return e}function l(e,t,n,r){var a;switch(r.fieldKind){case"scalar":case"enum":c(e,null!==(a=r.scalar)&&void 0!==a?a:o.L.INT32,r.number,n.get(r));break;case"list":!function(e,t,n,r){var a;if("message"==n.listKind){for(let s of r)d(e,t,n,s);return}let i=null!==(a=n.scalar)&&void 0!==a?a:o.L.INT32;if(n.packed){if(!r.size)return;for(let t of(e.tag(n.number,s.O0.LengthDelimited).fork(),r))f(e,i,t);e.join();return}for(let t of r)c(e,i,n.number,t)}(e,t,r,n.get(r));break;case"message":d(e,t,r,n.get(r));break;case"map":for(let[a,i]of n.get(r))!function(e,t,n,r,a){var i;switch(e.tag(n.number,s.O0.LengthDelimited).fork(),c(e,n.mapKey,1,r),n.mapKind){case"scalar":case"enum":c(e,null!==(i=n.scalar)&&void 0!==i?i:o.L.INT32,2,a);break;case"message":u(e.tag(2,s.O0.LengthDelimited).fork(),t,a).join()}e.join()}(e,t,r,a,i)}}function c(e,t,n,r){f(e.tag(n,function(e){switch(e){case o.L.BYTES:case o.L.STRING:return s.O0.LengthDelimited;case o.L.DOUBLE:case o.L.FIXED64:case o.L.SFIXED64:return s.O0.Bit64;case o.L.FIXED32:case o.L.SFIXED32:case o.L.FLOAT:return s.O0.Bit32;default:return s.O0.Varint}}(t)),t,r)}function d(e,t,n,r){n.delimitedEncoding?u(e.tag(n.number,s.O0.StartGroup),t,r).tag(n.number,s.O0.EndGroup):u(e.tag(n.number,s.O0.LengthDelimited).fork(),t,r).join()}function f(e,t,n){switch(t){case o.L.STRING:e.string(n);break;case o.L.BOOL:e.bool(n);break;case o.L.DOUBLE:e.double(n);break;case o.L.FLOAT:e.float(n);break;case o.L.INT32:e.int32(n);break;case o.L.INT64:e.int64(n);break;case o.L.UINT64:e.uint64(n);break;case o.L.FIXED64:e.fixed64(n);break;case o.L.BYTES:e.bytes(n);break;case o.L.FIXED32:e.fixed32(n);break;case o.L.SFIXED32:e.sfixed32(n);break;case o.L.SFIXED64:e.sfixed64(n);break;case o.L.SINT64:e.sint64(n);break;case o.L.UINT32:e.uint32(n);break;case o.L.SINT32:e.sint32(n)}}},9093:(e,t,n)=>{n.d(t,{J7:()=>f});var r=n(9513),s=n(8373),o=n(8628),a=n(3851),i=n(466),u=n(5636),l=n(8519),c=n(5005);let d={alwaysEmitImplicit:!1,enumAsInteger:!1,useProtoFieldName:!1};function f(e,t,n){var r;return JSON.stringify(g((0,o.E4)(e,t),n?Object.assign(Object.assign({},d),n):d),null,null!==(r=null==n?void 0:n.prettySpaces)&&void 0!==r?r:0)}function g(e,t){var n;let r=function(e,t){if(e.desc.typeName.startsWith("google.protobuf."))switch(e.desc.typeName){case"google.protobuf.Any":return function(e,t){let n,r;if(""===e.typeUrl)return{};let{registry:s}=t;if(s&&(n=(0,a.rW)(e,s))&&(r=s.getMessage(n.$typeName)),!r||!n)throw Error(`cannot encode message ${e.$typeName} to JSON: "${e.typeUrl}" is not in the type registry`);let i=g((0,o.E4)(r,n),t);return(r.typeName.startsWith("google.protobuf.")||null===i||Array.isArray(i)||"object"!=typeof i)&&(i={value:i}),i["@type"]=e.typeUrl,i}(e.message,t);case"google.protobuf.Timestamp":return function(e){let t=1e3*Number(e.seconds);if(tDate.parse("9999-12-31T23:59:59Z"))throw Error(`cannot encode message ${e.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`);if(e.nanos<0)throw Error(`cannot encode message ${e.$typeName} to JSON: nanos must not be negative`);let n="Z";if(e.nanos>0){let t=(e.nanos+1e9).toString().substring(1);n="000000"===t.substring(3)?"."+t.substring(0,3)+"Z":"000"===t.substring(6)?"."+t.substring(0,6)+"Z":"."+t+"Z"}return new Date(t).toISOString().replace(".000Z",n)}(e.message);case"google.protobuf.Duration":return function(e){if(Number(e.seconds)>315576e6||-315576e6>Number(e.seconds))throw Error(`cannot encode message ${e.$typeName} to JSON: value out of range`);let t=e.seconds.toString();if(0!==e.nanos){let n=Math.abs(e.nanos).toString();"000000"===(n="0".repeat(9-n.length)+n).substring(3)?n=n.substring(0,3):"000"===n.substring(6)&&(n=n.substring(0,6)),t+="."+n,e.nanos<0&&0==Number(e.seconds)&&(t="-"+t)}return t+"s"}(e.message);case"google.protobuf.FieldMask":var n;return(n=e.message).paths.map(e=>{if(e.match(/_[0-9]?_/g)||e.match(/[A-Z]/g))throw Error(`cannot encode message ${n.$typeName} to JSON: lowerCamelCase of path name "`+e+'" is irreversible');return(0,s.R)(e)}).join(",");case"google.protobuf.Struct":return p(e.message);case"google.protobuf.Value":return N(e.message);case"google.protobuf.ListValue":return L(e.message);default:if((0,i.l)(e.desc)){let t=e.desc.fields[0];return v(t,e.get(t))}return}}(e,t);if(void 0!==r)return r;let u={};for(let n of e.sortedFields){if(!e.isSet(n)){if(3==n.presence)throw Error(`cannot encode field ${e.desc.typeName}.${n.name} to JSON: required field not set`);if(!t.alwaysEmitImplicit||2!==n.presence)continue}let r=b(n,e.get(n),t);void 0!==r&&(u[t.useProtoFieldName?n.name:n.jsonName]=r)}if(t.registry){let r=new Set;for(let s of null!==(n=e.getUnknown())&&void 0!==n?n:[]){if(r.has(s.no))continue;let n=t.registry.getExtensionFor(e.desc,s.no);if(!n)continue;let o=(0,l.uQ)(e.message,n),[a,i]=(0,l.z3)(n,o),c=b(i,a.get(i),t);void 0!==c&&(u[n.jsonName]=c)}}return u}function b(e,t,n){switch(e.fieldKind){case"scalar":return v(e,t);case"message":return g(t,n);case"enum":return m(e.enum,t,n.enumAsInteger);case"list":return function(e,t){let n=e.field(),r=[];switch(n.listKind){case"scalar":for(let t of e)r.push(v(n,t));break;case"enum":for(let s of e)r.push(m(n.enum,s,t.enumAsInteger));break;case"message":for(let n of e)r.push(g(n,t))}return t.alwaysEmitImplicit||r.length>0?r:void 0}(t,n);case"map":return function(e,t){let n=e.field(),r={};switch(n.mapKind){case"scalar":for(let[t,s]of e)r[t]=v(n,s);break;case"message":for(let[n,s]of e)r[n]=g(s,t);break;case"enum":for(let[s,o]of e)r[s]=m(n.enum,o,t.enumAsInteger)}return t.alwaysEmitImplicit||e.size>0?r:void 0}(t,n)}}function m(e,t,n){var r;if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: expected number, got ${(0,c.$L)(t)}`);if("google.protobuf.NullValue"==e.typeName)return null;if(n)return t;let s=e.value[t];return null!==(r=null==s?void 0:s.name)&&void 0!==r?r:t}function v(e,t){var n,s,o,a,i,l;switch(e.scalar){case r.L.INT32:case r.L.SFIXED32:case r.L.SINT32:case r.L.FIXED32:case r.L.UINT32:if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(n=(0,c.PZ)(e,t))||void 0===n?void 0:n.message}`);return t;case r.L.FLOAT:case r.L.DOUBLE:if("number"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(s=(0,c.PZ)(e,t))||void 0===s?void 0:s.message}`);if(isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case r.L.STRING:if("string"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(o=(0,c.PZ)(e,t))||void 0===o?void 0:o.message}`);return t;case r.L.BOOL:if("boolean"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(a=(0,c.PZ)(e,t))||void 0===a?void 0:a.message}`);return t;case r.L.UINT64:case r.L.FIXED64:case r.L.INT64:case r.L.SFIXED64:case r.L.SINT64:if("bigint"!=typeof t&&"string"!=typeof t)throw Error(`cannot encode ${e} to JSON: ${null===(i=(0,c.PZ)(e,t))||void 0===i?void 0:i.message}`);return t.toString();case r.L.BYTES:if(t instanceof Uint8Array)return(0,u.K)(t);throw Error(`cannot encode ${e} to JSON: ${null===(l=(0,c.PZ)(e,t))||void 0===l?void 0:l.message}`)}}function p(e){let t={};for(let[n,r]of Object.entries(e.fields))t[n]=N(r);return t}function N(e){switch(e.kind.case){case"nullValue":return null;case"numberValue":if(!Number.isFinite(e.kind.value))throw Error(`${e.$typeName} cannot be NaN or Infinity`);return e.kind.value;case"boolValue":case"stringValue":return e.kind.value;case"structValue":return p(e.kind.value);case"listValue":return L(e.kind.value);default:throw Error(`${e.$typeName} must have a value`)}}function L(e){return e.values.map(N)}},3851:(e,t,n)=>{n.d(t,{G0:()=>c,rW:()=>d});var r=n(6788),s=n(8123);let o=(0,r.w)("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,s.Z)(o,0);var i=n(3577),u=n(7558),l=n(6989);function c(e,t,n){var r;let s=!1;return n||(n=(0,i.v)(a),s=!0),n.value=(0,u.R)(e,t),n.typeUrl=(r=t.$typeName,`type.googleapis.com/${r}`),s?n:void 0}function d(e,t){if(""===e.typeUrl)return;let n="message"==t.kind?t:t.getMessage(function(e){let t=e.lastIndexOf("/"),n=t>=0?e.substring(t+1):e;if(!n.length)throw Error(`invalid type url: ${e}`);return n}(e.typeUrl));if(n)return(0,l.Er)(n,e.value)}},9297:(e,t,n)=>{n.d(t,{t:()=>o,v:()=>a});var r=n(6788),s=n(8123);let o=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),a=(0,s.Z)(o,0)},1936:(e,t,n)=>{n.d(t,{Ax:()=>o,g8:()=>a});var r=n(6788),s=n(8123);let o=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,s.Z)(o,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/734-eb56453c8c73475d.js b/_next/static/chunks/734-c496d915c5550947.js similarity index 100% rename from _next/static/chunks/734-eb56453c8c73475d.js rename to _next/static/chunks/734-c496d915c5550947.js diff --git a/_next/static/chunks/842-dbd12b09bf73c5ea.js b/_next/static/chunks/842-dbd12b09bf73c5ea.js new file mode 100644 index 00000000..91dfc918 --- /dev/null +++ b/_next/static/chunks/842-dbd12b09bf73c5ea.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[842],{9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(306),o=n(5155),a=r._(n(2115)),l=r._(n(6107)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function i(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:d.error,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:d.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:d.h1,children:e}):null,(0,o.jsx)("div",{style:d.wrap,children:(0,o.jsxs)("h2",{style:d.h2,children:[this.props.title||e?n:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=i,c.origGetInitialProps=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(306)._(n(2115)).default.createContext({})},675:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},6107:(e,t,n)=>{"use strict";var r=n(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return m},defaultHead:function(){return p}});let o=n(306),a=n(9955),l=n(5155),s=a._(n(2115)),i=o._(n(1172)),d=n(3003),c=n(1147),u=n(675);function p(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2363);let h=["name","httpEquiv","charSet","itemProp"];function y(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(p(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return o=>{let a=!0,l=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){l=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=h.length;e{let o=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:o})})}let m=function(e){let{children:t}=e,n=(0,s.useContext)(d.AmpStateContext),r=(0,s.useContext)(c.HeadManagerContext);return(0,l.jsx)(i.default,{reduceComponentsToState:y,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(2115),o="undefined"==typeof window,a=o?()=>{}:r.useLayoutEffect,l=o?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}if(o){var i;null==t||null==(i=t.mountedInstances)||i.add(e.children),s()}return a(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,n)=>{e.exports=n(9693)},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),s=n(5155);let i=a.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:a=!1,className:i,role:d="group",as:c="div",...u}=e,p=(0,l.oU)(n,"btn-group"),f=p;return a&&(f="".concat(p,"-vertical")),(0,s.jsx)(c,{...u,ref:t,role:d,className:o()(i,f,r&&"".concat(p,"-").concat(r))})});i.displayName="ButtonGroup";let d=i},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),s=n(2389),i=n(2471),d=n(5155);let c=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:a="span",...s}=e;return r=(0,l.oU)(r,"input-group-text"),(0,d.jsx)(a,{ref:t,className:o()(n,r),...s})});c.displayName="InputGroupText";let u=a.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:s,className:c,as:u="div",...p}=e;n=(0,l.oU)(n,"input-group");let f=(0,a.useMemo)(()=>({}),[]);return(0,d.jsx)(i.A.Provider,{value:f,children:(0,d.jsx)(u,{ref:t,...p,className:o()(c,n,r&&"".concat(n,"-").concat(r),s&&"has-validation")})})});u.displayName="InputGroup";let p=Object.assign(u,{Text:c,Radio:e=>(0,d.jsx)(c,{children:(0,d.jsx)(s.A,{type:"radio",...e})}),Checkbox:e=>(0,d.jsx)(c,{children:(0,d.jsx)(s.A,{type:"checkbox",...e})})})},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),s=n(5155);let i=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:a="div",...i}=e,d=(0,l.oU)(n,"row"),c=(0,l.gy)(),u=(0,l.Jm)(),p="".concat(d,"-cols"),f=[];return c.forEach(e=>{let t;let n=i[e];delete i[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&f.push("".concat(p).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,s.jsx)(a,{ref:t,...i,className:o()(r,d,...f)})});i.displayName="Row";let d=i},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),s=n(5155);let i=a.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:a="border",size:i,as:d="div",className:c,...u}=e;n=(0,l.oU)(n,"spinner");let p="".concat(n,"-").concat(a);return(0,s.jsx)(d,{ref:t,...u,className:o()(c,p,i&&"".concat(p,"-").concat(i),r&&"text-".concat(r))})});i.displayName="Spinner";let d=i},3339:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),s=n(5155);let i=a.forwardRef((e,t)=>{let{as:n="div",bsPrefix:r,className:a,direction:i,gap:d,...c}=e;r=(0,l.oU)(r,"horizontal"===i?"hstack":"vstack");let u=(0,l.gy)(),p=(0,l.Jm)();return(0,s.jsx)(n,{...c,ref:t,className:o()(a,r,...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.Jy,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.ff,r=[];return Object.entries(e).forEach(e=>{let[o,a]=e;null!=a&&("object"==typeof a?t.forEach(e=>{let t=a[e];null!=t&&r.push("".concat(o).concat(e!==n?"-".concat(e):"","-").concat(t))}):r.push("".concat(o,"-").concat(a)))}),r}({gap:d},u,p))})});i.displayName="Stack";let d=i}}]); \ No newline at end of file diff --git a/_next/static/chunks/85-a8265397d271793e.js b/_next/static/chunks/85-a8265397d271793e.js deleted file mode 100644 index 8c0ca560..00000000 --- a/_next/static/chunks/85-a8265397d271793e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85],{9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let r=n(306),a=n(5155),o=r._(n(2115)),s=r._(n(6107)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||i[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:c.error,children:[(0,a.jsx)(s.default,{children:(0,a.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,a.jsxs)("div",{style:c.desc,children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,a.jsx)("h1",{className:"next-error-h1",style:c.h1,children:e}):null,(0,a.jsx)("div",{style:c.wrap,children:(0,a.jsxs)("h2",{style:c.h2,children:[this.props.title||e?n:(0,a.jsx)(a.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=l,d.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(306)._(n(2115)).default.createContext({})},675:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},6107:(e,t,n)=>{"use strict";var r=n(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return f}});let a=n(306),o=n(9955),s=n(5155),i=o._(n(2115)),l=a._(n(1172)),c=n(3003),d=n(1147),u=n(675);function f(e){void 0===e&&(e=!1);let t=[(0,s.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2363);let h=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return a=>{let o=!0,s=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){s=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=h.length;e{let a=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:a})})}let g=function(e){let{children:t}=e,n=(0,i.useContext)(c.AmpStateContext),r=(0,i.useContext)(d.HeadManagerContext);return(0,s.jsx)(l.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(2115),a="undefined"==typeof window,o=a?()=>{}:r.useLayoutEffect,s=a?()=>{}:r.useEffect;function i(e){let{headManager:t,reduceComponentsToState:n}=e;function i(){if(t&&t.mountedInstances){let a=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(a,e))}}if(a){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),i()}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,n)=>{e.exports=n(9693)},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),o=n(2115),s=n(1653),i=n(5155);let l=o.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:o=!1,className:l,role:c="group",as:d="div",...u}=e,f=(0,s.oU)(n,"btn-group"),p=f;return o&&(p="".concat(f,"-vertical")),(0,i.jsx)(d,{...u,ref:t,role:c,className:a()(l,p,r&&"".concat(f,"-").concat(r))})});l.displayName="ButtonGroup";let c=l},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),a=n.n(r),o=n(2115),s=n(1653),i=n(2389),l=n(2471),c=n(5155);let d=o.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:o="span",...i}=e;return r=(0,s.oU)(r,"input-group-text"),(0,c.jsx)(o,{ref:t,className:a()(n,r),...i})});d.displayName="InputGroupText";let u=o.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:i,className:d,as:u="div",...f}=e;n=(0,s.oU)(n,"input-group");let p=(0,o.useMemo)(()=>({}),[]);return(0,c.jsx)(l.A.Provider,{value:p,children:(0,c.jsx)(u,{ref:t,...f,className:a()(d,n,r&&"".concat(n,"-").concat(r),i&&"has-validation")})})});u.displayName="InputGroup";let f=Object.assign(u,{Text:d,Radio:e=>(0,c.jsx)(d,{children:(0,c.jsx)(i.A,{type:"radio",...e})}),Checkbox:e=>(0,c.jsx)(d,{children:(0,c.jsx)(i.A,{type:"checkbox",...e})})})},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),o=n(2115),s=n(1653),i=n(5155);let l=o.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:o="div",...l}=e,c=(0,s.oU)(n,"row"),d=(0,s.gy)(),u=(0,s.Jm)(),f="".concat(c,"-cols"),p=[];return d.forEach(e=>{let t;let n=l[e];delete l[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&p.push("".concat(f).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,i.jsx)(o,{ref:t,...l,className:a()(r,c,...p)})});l.displayName="Row";let c=l},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),o=n(2115),s=n(1653),i=n(5155);let l=o.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:o="border",size:l,as:c="div",className:d,...u}=e;n=(0,s.oU)(n,"spinner");let f="".concat(n,"-").concat(o);return(0,i.jsx)(c,{ref:t,...u,className:a()(d,f,l&&"".concat(f,"-").concat(l),r&&"text-".concat(r))})});l.displayName="Spinner";let c=l},3339:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),o=n(2115),s=n(1653),i=n(5155);let l=o.forwardRef((e,t)=>{let{as:n="div",bsPrefix:r,className:o,direction:l,gap:c,...d}=e;r=(0,s.oU)(r,"horizontal"===l?"hstack":"vstack");let u=(0,s.gy)(),f=(0,s.Jm)();return(0,i.jsx)(n,{...d,ref:t,className:a()(o,r,...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Jy,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ff,r=[];return Object.entries(e).forEach(e=>{let[a,o]=e;null!=o&&("object"==typeof o?t.forEach(e=>{let t=o[e];null!=t&&r.push("".concat(a).concat(e!==n?"-".concat(e):"","-").concat(t))}):r.push("".concat(a,"-").concat(o)))}),r}({gap:c},u,f))})});l.displayName="Stack";let c=l},7558:(e,t,n)=>{"use strict";n.d(t,{R:()=>i,Y:()=>c});var r=n(8628),a=n(1586),o=n(9513);let s={writeUnknownFields:!0};function i(e,t,n){return l(new a.fI,n?Object.assign(Object.assign({},s),n):s,(0,r.E4)(e,t)).finish()}function l(e,t,n){var r;for(let r of n.sortedFields){if(!n.isSet(r)){if(3==r.presence)throw Error(`cannot encode field ${n.desc.typeName}.${r.name} to binary: required field not set`);continue}c(e,t,n,r)}if(t.writeUnknownFields)for(let{no:t,wireType:a,data:o}of null!==(r=n.getUnknown())&&void 0!==r?r:[])e.tag(t,a).raw(o);return e}function c(e,t,n,r){var s;switch(r.fieldKind){case"scalar":case"enum":d(e,null!==(s=r.scalar)&&void 0!==s?s:o.L.INT32,r.number,n.get(r));break;case"list":!function(e,t,n,r){var s;if("message"==n.listKind){for(let a of r)u(e,t,n,a);return}let i=null!==(s=n.scalar)&&void 0!==s?s:o.L.INT32;if(n.packed){if(!r.size)return;for(let t of(e.tag(n.number,a.O0.LengthDelimited).fork(),r))f(e,i,t);e.join();return}for(let t of r)d(e,i,n.number,t)}(e,t,r,n.get(r));break;case"message":u(e,t,r,n.get(r));break;case"map":for(let[s,i]of n.get(r))!function(e,t,n,r,s){var i;switch(e.tag(n.number,a.O0.LengthDelimited).fork(),d(e,n.mapKey,1,r),n.mapKind){case"scalar":case"enum":d(e,null!==(i=n.scalar)&&void 0!==i?i:o.L.INT32,2,s);break;case"message":l(e.tag(2,a.O0.LengthDelimited).fork(),t,s).join()}e.join()}(e,t,r,s,i)}}function d(e,t,n,r){f(e.tag(n,function(e){switch(e){case o.L.BYTES:case o.L.STRING:return a.O0.LengthDelimited;case o.L.DOUBLE:case o.L.FIXED64:case o.L.SFIXED64:return a.O0.Bit64;case o.L.FIXED32:case o.L.SFIXED32:case o.L.FLOAT:return a.O0.Bit32;default:return a.O0.Varint}}(t)),t,r)}function u(e,t,n,r){n.delimitedEncoding?l(e.tag(n.number,a.O0.StartGroup),t,r).tag(n.number,a.O0.EndGroup):l(e.tag(n.number,a.O0.LengthDelimited).fork(),t,r).join()}function f(e,t,n){switch(t){case o.L.STRING:e.string(n);break;case o.L.BOOL:e.bool(n);break;case o.L.DOUBLE:e.double(n);break;case o.L.FLOAT:e.float(n);break;case o.L.INT32:e.int32(n);break;case o.L.INT64:e.int64(n);break;case o.L.UINT64:e.uint64(n);break;case o.L.FIXED64:e.fixed64(n);break;case o.L.BYTES:e.bytes(n);break;case o.L.FIXED32:e.fixed32(n);break;case o.L.SFIXED32:e.sfixed32(n);break;case o.L.SFIXED64:e.sfixed64(n);break;case o.L.SINT64:e.sint64(n);break;case o.L.UINT32:e.uint32(n);break;case o.L.SINT32:e.sint32(n)}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/878-d93338077944e309.js b/_next/static/chunks/878-d93338077944e309.js deleted file mode 100644 index c34db251..00000000 --- a/_next/static/chunks/878-d93338077944e309.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{4805:(A,l,Z)=>{Z.d(l,{Mq:()=>m,Nm:()=>I,Qn:()=>G,Uu:()=>d,eT:()=>X,f5:()=>Y,ie:()=>V,pI:()=>B,qc:()=>c});var g=Z(6788),b=Z(8123);let c=(0,g.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoDjIULnl1aGFpaW4uYnlwYXNzLm1vZGUSJAoLYnlwYXNzX2ZpbGUYAiABKAlCAhgBUgtieXBhc3NfZmlsZRJPCg51ZHBfcHJveHlfZnFkbhgGIAEoDjInLnl1aGFpaW4uYnlwYXNzLnVkcF9wcm94eV9mcWRuX3N0cmF0ZWd5Ug51ZHBfcHJveHlfZnFkbhJDCg5jdXN0b21fcnVsZV92MxgHIAMoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnUg5jdXN0b21fcnVsZV92MxI/CgxyZW1vdGVfcnVsZXMYCCADKAsyGy55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZVIMcmVtb3RlX3J1bGVzEigKD3Jlc29sdmVfbG9jYWxseRgJIAEoCFIPcmVzb2x2ZV9sb2NhbGx5IpQDCgttb2RlX2NvbmZpZxIiCgRtb2RlGAEgASgOMhQueXVoYWlpbi5ieXBhc3MubW9kZRILCgN0YWcYAiABKAkSEAoIaG9zdG5hbWUYAyADKAkSTAoQcmVzb2x2ZV9zdHJhdGVneRgEIAEoDjIgLnl1aGFpaW4uYnlwYXNzLnJlc29sdmVfc3RyYXRlZ3lSEHJlc29sdmVfc3RyYXRlZ3kSYQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXR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29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),G=(0,b.Z)(c,0),X=(0,b.Z)(c,1),I=(0,b.Z)(c,2),d=(0,b.Z)(c,3),V=(0,b.Z)(c,4);var m=function(A){return A[A.bypass=0]="bypass",A[A.direct=1]="direct",A[A.proxy=2]="proxy",A[A.block=3]="block",A}({}),B=function(A){return A[A.default=0]="default",A[A.prefer_ipv4=1]="prefer_ipv4",A[A.only_ipv4=2]="only_ipv4",A[A.prefer_ipv6=3]="prefer_ipv6",A[A.only_ipv6=4]="only_ipv6",A}({}),Y=function(A){return A[A.udp_proxy_fqdn_strategy_default=0]="udp_proxy_fqdn_strategy_default",A[A.resolve=1]="resolve",A[A.skip_resolve=2]="skip_resolve",A}({})},878:(A,l,Z)=>{Z.d(l,{Ii:()=>B,Oe:()=>m,Pr:()=>d,QN:()=>V});var g=Z(6788),b=Z(8123),c=Z(4431),G=Z(4805),X=Z(1463),I=Z(7641);let d=(0,g.w)("ChNjb25maWcvY29uZmlnLnByb3RvEg55dWhhaWluLmNvbmZpZyLgAwoHc2V0dGluZxIMCgRpcHY2GAcgASgIEkYKHmlwdjZfbG9jYWxfYWRkcl9wcmVmZXJfdW5pY2FzdBgKIAEoCFIeaXB2Nl9sb2NhbF9hZGRyX3ByZWZlcl91bmljYXN0EiQKDW5ldF9pbnRlcmZhY2UYBiABKAlSDW5ldF9pbnRlcmZhY2USQAoMc3lzdGVtX3Byb3h5GAEgASgLMhwueXVoYWlpbi5jb25maWcuc3lzdGVtX3Byb3h5UgxzeXN0ZW1fcHJveHkSJgoGYnlwYXNzGAIgASgLMhYueXVoYWlpbi5ieXBhc3MuY29uZmlnEiQKA2RucxgEIAEoCzIXLnl1aGFpaW4uZG5zLmRuc19jb25maWcSMAoGc2VydmVyGAUgASgLMiAueXVoYWlpbi5saXN0ZW5lci5pbmJvdW5kX2NvbmZpZxIjCgZ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G,23),F=(0,b.Z)(G,24),e=(0,b.Z)(G,25),H=(0,b.Z)(G,26),v=(0,c.R)(G,0)},4431:(A,l,Z)=>{Z.d(l,{cP:()=>b,gS:()=>g});let g=(0,Z(6788).w)("ChRjb25maWcvbG9nL2xvZy5wcm90bxILeXVoYWlpbi5sb2ciPQoGbG9nY2F0EiUKBWxldmVsGAEgASgOMhYueXVoYWlpbi5sb2cubG9nX2xldmVsEgwKBHNhdmUYAiABKAgqUAoJbG9nX2xldmVsEgsKB3ZlcmJvc2UQABIJCgVkZWJ1ZxABEggKBGluZm8QAhILCgd3YXJuaW5nEAMSCQoFZXJyb3IQBBIJCgVmYXRhbBAFQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvbG9nYgZwcm90bzM");var b=function(A){return A[A.verbose=0]="verbose",A[A.debug=1]="debug",A[A.info=2]="info",A[A.warning=3]="warning",A[A.error=4]="error",A[A.fatal=5]="fatal",A}({})}}]); \ No newline at end of file diff --git a/_next/static/chunks/878-fc77b69ce873de91.js b/_next/static/chunks/878-fc77b69ce873de91.js new file mode 100644 index 00000000..9c59cb9e --- /dev/null +++ b/_next/static/chunks/878-fc77b69ce873de91.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{4805:(A,l,Z)=>{Z.d(l,{Mq:()=>m,Nm:()=>I,Qn:()=>G,Uu:()=>d,eT:()=>X,f5:()=>Y,ie:()=>V,pI:()=>B,qc:()=>c});var g=Z(6788),b=Z(8123);let c=(0,g.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoDjIULnl1aGFpaW4uYnlwYXNzLm1vZGUSJAoLYnlwYXNzX2ZpbGUYAiABKAlCAhgBUgtieXB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mJ5cGFzcy5yZW1vdGVfcnVsZV9odHRwSAASHAoJZXJyb3JfbXNnGAUgASgJUgllcnJvcl9tc2cSPwoMZGVmYXVsdF9tb2RlGAYgASgLMhsueXVoYWlpbi5ieXBhc3MubW9kZV9jb25maWdSDGRlZmF1bHRfbW9kZUIICgZvYmplY3QiIAoQcmVtb3RlX3J1bGVfZmlsZRIMCgRwYXRoGAEgASgJIi8KEHJlbW90ZV9ydWxlX2h0dHASCwoDdXJsGAEgASgJEg4KBm1ldGhvZBgCIAEoCSo0CgRtb2RlEgoKBmJ5cGFzcxAAEgoKBmRpcmVjdBABEgkKBXByb3h5EAISCQoFYmxvY2sQAypfChByZXNvbHZlX3N0cmF0ZWd5EgsKB2RlZmF1bHQQABIPCgtwcmVmZXJfaXB2NBABEg0KCW9ubHlfaXB2NBACEg8KC3ByZWZlcl9pcHY2EAMSDQoJb25seV9pcHY2EAQqXQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSIwofdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3lfZGVmYXVsdBAAEgsKB3Jlc29sdmUQARIQCgxza2lwX3Jlc29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),G=(0,b.Z)(c,0),X=(0,b.Z)(c,1),I=(0,b.Z)(c,2),d=(0,b.Z)(c,3),V=(0,b.Z)(c,4);var m=function(A){return A[A.bypass=0]="bypass",A[A.direct=1]="direct",A[A.proxy=2]="proxy",A[A.block=3]="block",A}({}),B=function(A){return A[A.default=0]="default",A[A.prefer_ipv4=1]="prefer_ipv4",A[A.only_ipv4=2]="only_ipv4",A[A.prefer_ipv6=3]="prefer_ipv6",A[A.only_ipv6=4]="only_ipv6",A}({}),Y=function(A){return A[A.udp_proxy_fqdn_strategy_default=0]="udp_proxy_fqdn_strategy_default",A[A.resolve=1]="resolve",A[A.skip_resolve=2]="skip_resolve",A}({})},878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nMuZG5zX2NvbmZpZy5SZXNvbHZlckVudHJ5GiwKCkhvc3RzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARpBCg1SZXNvbHZlckVudHJ5EgsKA2tleRgBIAEoCRIfCgV2YWx1ZRgCIAEoCzIQLnl1aGFpaW4uZG5zLmRuczoCOAFKBAgHEAhSFXJlc29sdmVfcmVtb3RlX2RvbWFpbipKCgR0eXBlEgsKB3Jlc2VydmUQABIHCgN1ZHAQARIHCgN0Y3AQAhIHCgNkb2gQAxIHCgNkb3QQBBIHCgNkb3EQBRIICgRkb2gzEAZCNFoyZ2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9kbnNiBnByb3RvMw"),X=(0,b.Z)(G,1);var I=function(A){return A[A.reserve=0]="reserve",A[A.udp=1]="udp",A[A.tcp=2]="tcp",A[A.doh=3]="doh",A[A.dot=4]="dot",A[A.doq=5]="doq",A[A.doh3=6]="doh3",A}({});let d=(0,c.R)(G,0)},7641:(A,l,Z)=>{Z.d(l,{A0:()=>e,AK:()=>W,BP:()=>y,E_:()=>p,JM:()=>H,JX:()=>o,K0:()=>K,Q9:()=>C,Qi:()=>i,Rc:()=>n,SL:()=>E,UM:()=>Y,Zq:()=>X,_6:()=>G,as:()=>m,bN:()=>d,c1:()=>z,f6:()=>N,fx:()=>J,gE:()=>V,l:()=>u,l0:()=>F,lA:()=>R,ls:()=>I,ql:()=>S,sn:()=>B,vC:()=>h,xz:()=>a});var g=Z(6788),b=Z(8123),c=Z(9537);let G=(0,g.w)("Ch5jb25maWcvbGlzdGVuZXIvbGlzdGVuZXIucHJvdG8SEHl1aGFpaW4ubGlzdGVuZXIiowIKDmluYm91bmRfY29uZmlnEh4KCmhpamFja19kbnMYAiABKAhSCmhpamFja19kbnMSLAoRaGlqYWNrX2Ruc19mYWtlaXAYAyABKAhSEWhpamFja19kbnNfZmFrZWlwEkAKCGluYm91bmRzGAEg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2NvbnRyb2wSFwoTdGNwX3VkcF9jb250cm9sX2FsbBAAEg8KC2Rpc2FibGVfdGNwEAESDwoLZGlzYWJsZV91ZHAQAkI5WjdnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2xpc3RlbmVyYgZwcm90bzM"),X=(0,b.Z)(G,1),I=(0,b.Z)(G,2),d=(0,b.Z)(G,3),V=(0,b.Z)(G,4),m=(0,b.Z)(G,5),B=(0,b.Z)(G,6),Y=(0,b.Z)(G,7),W=(0,b.Z)(G,8),o=(0,b.Z)(G,10),C=(0,b.Z)(G,11),E=(0,b.Z)(G,12),h=(0,b.Z)(G,13);var a=function(A){return A[A.fdbased=0]="fdbased",A[A.channel=1]="channel",A[A.system_gvisor=2]="system_gvisor",A}({});let u=(0,b.Z)(G,14),R=(0,b.Z)(G,15),n=(0,b.Z)(G,16),y=(0,b.Z)(G,17),J=(0,b.Z)(G,18),p=(0,b.Z)(G,19),S=(0,b.Z)(G,20),K=(0,b.Z)(G,21),i=(0,b.Z)(G,22),N=(0,b.Z)(G,23),z=(0,b.Z)(G,24),F=(0,b.Z)(G,25),e=(0,b.Z)(G,26),H=(0,c.R)(G,0)},4431:(A,l,Z)=>{Z.d(l,{cP:()=>b,gS:()=>g});let g=(0,Z(6788).w)("ChRjb25maWcvbG9nL2xvZy5wcm90bxILeXVoYWlpbi5sb2ciPQoGbG9nY2F0EiUKBWxldmVsGAEgASgOMhYueXVoYWlpbi5sb2cubG9nX2xldmVsEgwKBHNhdmUYAiABKAgqUAoJbG9nX2xldmVsEgsKB3ZlcmJvc2UQABIJCgVkZWJ1ZxABEggKBGluZm8QAhILCgd3YXJuaW5nEAMSCQoFZXJyb3IQBBIJCgVmYXRhbBAFQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvbG9nYgZwcm90bzM");var b=function(A){return A[A.verbose=0]="verbose",A[A.debug=1]="debug",A[A.info=2]="info",A[A.warning=3]="warning",A[A.error=4]="error",A[A.fatal=5]="fatal",A}({})}}]); \ No newline at end of file diff --git a/_next/static/chunks/920-ab0772955c0d27bf.js b/_next/static/chunks/920-437e11c17ba11844.js similarity index 100% rename from _next/static/chunks/920-ab0772955c0d27bf.js rename to _next/static/chunks/920-437e11c17ba11844.js diff --git a/_next/static/chunks/942-ad247b1d65d0962a.js b/_next/static/chunks/942-ad247b1d65d0962a.js new file mode 100644 index 00000000..8bcf0750 --- /dev/null +++ b/_next/static/chunks/942-ad247b1d65d0962a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[942],{9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(306),o=n(5155),d=r._(n(2115)),l=r._(n(6107)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let a={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends d.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:a.error,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:a.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:a.h1,children:e}):null,(0,o.jsx)("div",{style:a.wrap,children:(0,o.jsxs)("h2",{style:a.h2,children:[this.props.title||e?n:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=s,c.origGetInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(306)._(n(2115)).default.createContext({})},675:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},6107:(e,t,n)=>{"use strict";var r=n(2818);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return f}});let o=n(306),d=n(9955),l=n(5155),i=d._(n(2115)),s=o._(n(1172)),a=n(3003),c=n(1147),u=n(675);function f(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2363);let b=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return o=>{let d=!0,l=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){l=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?d=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?d=!1:t.add(o.type);break;case"meta":for(let e=0,t=b.length;e{let o=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:o})})}let g=function(e){let{children:t}=e,n=(0,i.useContext)(a.AmpStateContext),r=(0,i.useContext)(c.HeadManagerContext);return(0,l.jsx)(s.default,{reduceComponentsToState:h,headManager:r,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(2115),o="undefined"==typeof window,d=o?()=>{}:r.useLayoutEffect,l=o?()=>{}:r.useEffect;function i(e){let{headManager:t,reduceComponentsToState:n}=e;function i(){if(t&&t.mountedInstances){let o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}if(o){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),i()}return d(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),d(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5554:(e,t,n)=>{e.exports=n(9693)},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4617),o=n.n(r),d=n(2115),l=n(1653),i=n(5155);let s=d.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:d=!1,className:s,role:a="group",as:c="div",...u}=e,f=(0,l.oU)(n,"btn-group"),p=f;return d&&(p="".concat(f,"-vertical")),(0,i.jsx)(c,{...u,ref:t,role:a,className:o()(s,p,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let a=s},8143:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(2115),o=n(1996),d=n.n(o),l=n(9637),i=n(5570),s=n(3381);let a=d().oneOf(["start","end"]),c=d().oneOfType([a,d().shape({sm:a}),d().shape({md:a}),d().shape({lg:a}),d().shape({xl:a}),d().shape({xxl:a}),d().object]);var u=n(5155);let f={id:d().string,href:d().string,onClick:d().func,title:d().node.isRequired,disabled:d().bool,align:c,menuRole:d().string,renderMenuOnMount:d().bool,rootCloseEvent:d().string,menuVariant:d().oneOf(["dark"]),flip:d().bool,bsPrefix:d().string,variant:d().string,size:d().string},p=r.forwardRef((e,t)=>{let{title:n,children:r,bsPrefix:o,rootCloseEvent:d,variant:a,size:c,menuRole:f,renderMenuOnMount:p,disabled:b,href:h,id:g,menuVariant:m,flip:v,...y}=e;return(0,u.jsxs)(l.A,{ref:t,...y,children:[(0,u.jsx)(i.A,{id:g,href:h,size:c,variant:a,disabled:b,childBsPrefix:o,children:n}),(0,u.jsx)(s.A,{role:f,renderOnMount:p,rootCloseEvent:d,variant:m,flip:v,children:r})]})});p.displayName="DropdownButton",p.propTypes=f;let b=p},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4617),o=n.n(r),d=n(2115),l=n(1653),i=n(5155);let s=d.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:d="div",...s}=e,a=(0,l.oU)(n,"row"),c=(0,l.gy)(),u=(0,l.Jm)(),f="".concat(a,"-cols"),p=[];return c.forEach(e=>{let t;let n=s[e];delete s[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&p.push("".concat(f).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,i.jsx)(d,{ref:t,...s,className:o()(r,a,...p)})});s.displayName="Row";let a=s},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4617),o=n.n(r),d=n(2115),l=n(1653),i=n(5155);let s=d.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:d="border",size:s,as:a="div",className:c,...u}=e;n=(0,l.oU)(n,"spinner");let f="".concat(n,"-").concat(d);return(0,i.jsx)(a,{ref:t,...u,className:o()(c,f,s&&"".concat(f,"-").concat(s),r&&"text-".concat(r))})});s.displayName="Spinner";let a=s},4395:(e,t,n)=>{"use strict";function r(e,t,...n){if(n.length>0)throw Error();return e.services[t]}n.d(t,{Z:()=>r})},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")},9297:(e,t,n)=>{"use strict";n.d(t,{t:()=>d,v:()=>l});var r=n(6788),o=n(8123);let d=(0,r.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),l=(0,o.Z)(d,0)},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>d,g8:()=>l});var r=n(6788),o=n(8123);let d=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,o.Z)(d,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/973-efe49f9cdbed3045.js b/_next/static/chunks/973-738061b72a020e9b.js similarity index 100% rename from _next/static/chunks/973-efe49f9cdbed3045.js rename to _next/static/chunks/973-738061b72a020e9b.js diff --git a/_next/static/chunks/995-7765502ff58c005c.js b/_next/static/chunks/995-cbcf5fbb16c93355.js similarity index 100% rename from _next/static/chunks/995-7765502ff58c005c.js rename to _next/static/chunks/995-cbcf5fbb16c93355.js diff --git a/_next/static/chunks/app/_not-found/page-7c6be9bc50c792f0.js b/_next/static/chunks/app/_not-found/page-3caf6542e96af4ec.js similarity index 100% rename from _next/static/chunks/app/_not-found/page-7c6be9bc50c792f0.js rename to _next/static/chunks/app/_not-found/page-3caf6542e96af4ec.js diff --git a/_next/static/chunks/app/docs/bypass/block/page-c457e1cb916a91ef.js b/_next/static/chunks/app/docs/bypass/block/page-c457e1cb916a91ef.js deleted file mode 100644 index 92f83972..00000000 --- a/_next/static/chunks/app/docs/bypass/block/page-c457e1cb916a91ef.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{4355:(e,t,l)=>{Promise.resolve().then(l.bind(l,3878))},744:(e,t,l)=>{"use strict";l.d(t,{DH:()=>a,G_:()=>b,Ow:()=>u,Oz:()=>n,VN:()=>v,X3:()=>d,_s:()=>Z,dp:()=>m,h$:()=>g,kP:()=>c,mv:()=>h,oH:()=>s,r3:()=>o,u1:()=>r});var c="",n="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",s=!0,a="http://ip.sb",r="stun.syncthing.net:3478",d="stun.nextcloud.com:443";let i=()=>{let e=localStorage.getItem("api_url");c=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(n=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(o=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(s="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(a=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(d=e)},u=e=>{p("api_url",e)},m=e=>{p("latency_dns_url",e)},b=e=>{p("latency_http_url",e)},h=e=>{p("latency_ipv6",e.toString())},g=e=>{p("latency_ip_url",e)},Z=e=>{p("latency_stun_url",e)},v=e=>{p("latency_stun_tcp_url",e)},p=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),i()};i()},3878:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>v});var c=l(5155),n=l(2963),o=l(9141),s=l(4995),a=l(8927),r=l(6863),d=l(3577),i=l(9678),u=l(8170),m=l(9169),b=l(2115),h=l(700),g=l.n(h);let Z=(0,d.v)(i.w,{seconds:BigInt(0),nanos:0}),v=function(){var e;let[t,l]=(0,b.useState)("Time"),[d,i]=(0,b.useState)(1),h=e=>e===t?i(-d):l(e),v=e=>e===t?(0,c.jsx)("i",{className:-1===d?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,c.jsx)(c.Fragment,{}),p=(e,t)=>e>t?-1*d:1*d,y=e=>(0,c.jsxs)("th",{className:g().clickable,onClick:()=>h(e),children:[e,v(e)]}),{data:W,error:Y,isLoading:x,mutate:A}=(0,s.Ay)("/bypass/block_history",(0,a.AD)(r.LH));return Y?(0,c.jsx)(m.A,{code:Y.code,children:Y.msg}):x||void 0===W?(0,c.jsx)(m.A,{}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.A,{variant:"outline-primary",className:"mb-3",onClick:()=>A(),children:"Refresh"}),(0,c.jsxs)(o.A,{hover:!0,striped:!0,size:"sm",children:[(0,c.jsx)("thead",{children:(0,c.jsxs)("tr",{children:[y("Time"),(0,c.jsx)("th",{children:"Net"}),y("Host"),y("Count"),W.dumpProcessEnabled&&y("Proc")]})}),(0,c.jsx)("tbody",{className:"text-break",children:null==W?void 0:null===(e=W.objects)||void 0===e?void 0:e.filter(e=>e.time).sort((e,l)=>{var c,n;return"Host"===t?p(e.host,l.host):"Proc"===t?p(e.process,l.process):"Count"===t?p(e.blockCount,l.blockCount):p((0,u.FP)(null!==(c=e.time)&&void 0!==c?c:Z),(0,u.FP)(null!==(n=l.time)&&void 0!==n?n:Z))}).map((e,t)=>(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{children:(0,u.FP)(e.time).toLocaleString()}),(0,c.jsx)("td",{children:e.protocol}),(0,c.jsx)("td",{children:e.host}),(0,c.jsx)("td",{children:Number(e.blockCount)}),W.dumpProcessEnabled&&(0,c.jsx)("td",{children:e.process})]},"bh-"+t))})]})]})}},9169:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var c=l(5155),n=l(4216),o=l(5554),s=l.n(o);let a=function(e){return(0,c.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(s(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,c.jsx)("div",{className:"p2",children:(0,c.jsx)(n.A,{})})]})}},8927:(e,t,l)=>{"use strict";l.d(t,{AD:()=>s,EY:()=>a,Fp:()=>r,gR:()=>d});var c=l(744),n=l(950),o=l(6989);function s(e,t,l,s){return a=>s?(0,n.o)(e,s):fetch("".concat(c.kP).concat(a),{method:t,body:l}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,o.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function a(e,t,l,n){return s=>fetch("".concat(c.kP).concat(s),{method:l,body:n}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return t((0,o.Er)(e,new Uint8Array(await l.arrayBuffer())))})}let r=async(e,t)=>{let l=await fetch("".concat(c.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return l.ok?void 0===t.process?{}:{data:t.process(l)}:{error:{code:l.status,msg:l.text()}}};function d(e,t,l){return(n,s)=>{let a,{next:r}=s,d=new URL(""!==c.kP?c.kP:window.location.toString());d.pathname=n,d.protocol="https:"===d.protocol?"wss:":"ws:";let i=!1,u=()=>{i||(console.log("connecting to: ".concat(d)),(a=new WebSocket(d)).binaryType="arraybuffer",a.addEventListener("open",t=>{console.log("connect to: ".concat(d,", event type: ").concat(t.type)),null==a||a.send(e)}),a.addEventListener("message",e=>{let c=(0,o.Er)(t,new Uint8Array(e.data));r(null,e=>l(e,c))}),a.addEventListener("error",e=>{let t="websocket have some error";r({msg:t,code:500}),console.log(t,e.type)}),a.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),r(null,void 0),i||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{i=!0,void 0!==a&&(console.log("close: ".concat(n)),a.close(),a=void 0)}}}},6863:(e,t,l)=>{"use strict";l.d(t,{C$:()=>u,LH:()=>m});var c=l(6788),n=l(8123),o=l(878),s=l(4805),a=l(9297),r=l(1936),d=l(9678);let i=(0,c.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVzcG9uc2USKQoEbW9kZRgBIAEoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnEg4KBnJlYXNvbhgCIAEoCRIeCgphZnRlcl9hZGRyGAMgASgJUgphZnRlcl9hZGRyIowBCg1ibG9ja19oaXN0b3J5EhAKCHByb3RvY29sGAEgASgJEgwKBGhvc3QYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDwoHcHJvY2VzcxgEIAEoCRIgCgtibG9ja19jb3VudBgFIAEoBFILYmxvY2tfY291bnQihwEKEmJsb2NrX2hpc3RvcnlfbGlzdBI9CgdvYmplY3RzGAEgAygLMiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeRIyChRkdW1wX3Byb2Nlc3NfZW5hYmxlZBgCIAEoCFIUZHVtcF9wcm9jZXNzX2VuYWJsZWQyuAEKDmNvbmZpZ19zZXJ2aWNlEjcKBGxvYWQSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nEjcKBHNhdmUSFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjQKBGluZm8SFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFC55dWhhaWluLmNvbmZpZy5pbmZvMuICCgZieXBhc3MSNgoEbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLnl1aGFpaW4uYnlwYXNzLmNvbmZpZxI2CgRzYXZlEhYueXVoYWlpbi5ieXBhc3MuY29uZmlnGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjgKBnJlbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJSCgR0ZXN0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0QjhaNmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvc2VydmljZWIGcHJvdG8z",[o.Pr,s.qc,a.t,r.Ax,d.i]),u=(0,n.Z)(i,0),m=(0,n.Z)(i,2)},700:e=>{e.exports={clickable:"clickable_clickable__ytaUf"}},9537:(e,t,l)=>{"use strict";function c(e,t,...l){if(0==l.length)return e.enums[t];let n=l.pop();return l.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[n]}l.d(t,{R:()=>c})},1936:(e,t,l)=>{"use strict";l.d(t,{Ax:()=>o,g8:()=>s});var c=l(6788),n=l(8123);let o=(0,c.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),s=(0,n.Z)(o,7)}},e=>{var t=t=>e(e.s=t);e.O(0,[607,235,995,459,878,441,517,358],()=>t(4355)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/block/page-fb192d608fc1d744.js b/_next/static/chunks/app/docs/bypass/block/page-fb192d608fc1d744.js new file mode 100644 index 00000000..846c08d1 --- /dev/null +++ b/_next/static/chunks/app/docs/bypass/block/page-fb192d608fc1d744.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{4355:(t,e,n)=>{Promise.resolve().then(n.bind(n,3878))},744:(t,e,n)=>{"use strict";n.d(e,{DH:()=>a,G_:()=>b,Ow:()=>i,Oz:()=>l,VN:()=>v,X3:()=>d,_s:()=>g,dp:()=>m,h$:()=>h,kP:()=>c,mv:()=>Z,oH:()=>s,r3:()=>o,u1:()=>r});var c="",l="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",s=!0,a="http://ip.sb",r="stun.syncthing.net:3478",d="stun.nextcloud.com:443";let u=()=>{let t=localStorage.getItem("api_url");c=null!==t?t:"",t=localStorage.getItem("remote_bypass"),null!==(t=localStorage.getItem("latency_http_url"))&&(l=t),null!==(t=localStorage.getItem("latency_dns_url"))&&(o=t),null!==(t=localStorage.getItem("latency_ipv6"))&&(s="true"===t),null!==(t=localStorage.getItem("latency_ip_url"))&&(a=t),null!==(t=localStorage.getItem("latency_stun_url"))&&(r=t),null!==(t=localStorage.getItem("latency_stun_tcp_url"))&&(d=t)},i=t=>{W("api_url",t)},m=t=>{W("latency_dns_url",t)},b=t=>{W("latency_http_url",t)},Z=t=>{W("latency_ipv6",t.toString())},h=t=>{W("latency_ip_url",t)},g=t=>{W("latency_stun_url",t)},v=t=>{W("latency_stun_tcp_url",t)},W=(t,e)=>{""===e?localStorage.removeItem(t):localStorage.setItem(t,e),u()};u()},3878:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v});var c=n(5155),l=n(2963),o=n(9141),s=n(4995),a=n(8927),r=n(6863),d=n(3577),u=n(9678),i=n(8170),m=n(9169),b=n(2115),Z=n(700),h=n.n(Z);let g=(0,d.v)(u.w,{seconds:BigInt(0),nanos:0}),v=function(){var t;let[e,n]=(0,b.useState)("Time"),[d,u]=(0,b.useState)(1),Z=t=>t===e?u(-d):n(t),v=t=>t===e?(0,c.jsx)("i",{className:-1===d?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,c.jsx)(c.Fragment,{}),W=(t,e)=>t>e?-1*d:1*d,y=t=>(0,c.jsxs)("th",{className:h().clickable,onClick:()=>Z(t),children:[t,v(t)]}),{data:p,error:Y,isLoading:G,mutate:w}=(0,s.Ay)("/bypass/block_history",(0,a.AD)(r.LH));return Y?(0,c.jsx)(m.A,{code:Y.code,children:Y.msg}):G||void 0===p?(0,c.jsx)(m.A,{}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l.A,{variant:"outline-primary",className:"mb-3",onClick:()=>w(),children:"Refresh"}),(0,c.jsxs)(o.A,{hover:!0,striped:!0,size:"sm",children:[(0,c.jsx)("thead",{children:(0,c.jsxs)("tr",{children:[y("Time"),(0,c.jsx)("th",{children:"Net"}),y("Host"),y("Count"),p.dumpProcessEnabled&&y("Proc")]})}),(0,c.jsx)("tbody",{className:"text-break",children:null==p?void 0:null===(t=p.objects)||void 0===t?void 0:t.filter(t=>t.time).sort((t,n)=>{var c,l;return"Host"===e?W(t.host,n.host):"Proc"===e?W(t.process,n.process):"Count"===e?W(t.blockCount,n.blockCount):W((0,i.FP)(null!==(c=t.time)&&void 0!==c?c:g),(0,i.FP)(null!==(l=n.time)&&void 0!==l?l:g))}).map((t,e)=>(0,c.jsxs)("tr",{children:[(0,c.jsx)("td",{children:(0,i.FP)(t.time).toLocaleString()}),(0,c.jsx)("td",{children:t.protocol}),(0,c.jsx)("td",{children:t.host}),(0,c.jsx)("td",{children:Number(t.blockCount)}),p.dumpProcessEnabled&&(0,c.jsx)("td",{children:t.process})]},"bh-"+e))})]})]})}},9169:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var c=n(5155),l=n(4216),o=n(5554),s=n.n(o);let a=function(t){return(0,c.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==t.children&&(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(s(),{className:"p2",statusCode:void 0!==t.code?t.code:500,title:t.children})}),(0,c.jsx)("div",{className:"p2",children:(0,c.jsx)(l.A,{})})]})}},8927:(t,e,n)=>{"use strict";n.d(e,{AD:()=>a,EY:()=>d,Fp:()=>i,L1:()=>r,gR:()=>m,kP:()=>u});var c=n(744),l=n(950),o=n(6989),s=n(7558);function a(t,e,n,s){return a=>s?(0,l.o)(t,s):fetch("".concat(c.kP).concat(a),{method:e,body:n}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,o.Er)(t,new Uint8Array(await e.arrayBuffer()))})}function r(t,e,n,a){return r=>a?(0,l.o)(t.output,a):fetch("".concat(c.kP).concat(r),{method:e,body:n?(0,s.R)(t.input,n):void 0}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,o.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}function d(t,e,n,l){return s=>fetch("".concat(c.kP).concat(s),{method:n,body:l}).then(async n=>{if(!n.ok)throw{code:n.status,msg:n.statusText,raw:n.text()};return e((0,o.Er)(t,new Uint8Array(await n.arrayBuffer())))})}async function u(t,e,n,c){return i(e,{method:n,body:c?(0,s.R)(t.input,c):void 0,process:async e=>(0,o.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}let i=async(t,e)=>{let n=await fetch("".concat(c.kP).concat(t),{method:void 0!==e.method?e.method:"POST",body:e.body});return n.ok?void 0===e.process?{}:{data:e.process(n)}:{error:{code:n.status,msg:n.text()}}};function m(t,e,n){return(l,s)=>{let a,{next:r}=s,d=new URL(""!==c.kP?c.kP:window.location.toString());d.pathname=l,d.protocol="https:"===d.protocol?"wss:":"ws:";let u=!1,i=()=>{u||(console.log("connecting to: ".concat(d)),(a=new WebSocket(d)).binaryType="arraybuffer",a.addEventListener("open",e=>{console.log("connect to: ".concat(d,", event type: ").concat(e.type)),null==a||a.send(t)}),a.addEventListener("message",t=>{let c=(0,o.Er)(e,new Uint8Array(t.data));r(null,t=>n(t,c))}),a.addEventListener("error",t=>{let e="websocket have some error";r({msg:e,code:500}),console.log(e,t.type)}),a.addEventListener("close",t=>{console.log("websocket closed, code: "+t.code),r(null,void 0),u||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{u=!0,void 0!==a&&(console.log("close: ".concat(l)),a.close(),a=void 0)}}}},6863:(t,e,n)=>{"use strict";n.d(e,{C$:()=>b,LH:()=>Z,mz:()=>h});var c=n(6788),l=n(8123),o=n(4395),s=n(878),a=n(4805),r=n(7641),d=n(9297),u=n(1936),i=n(9678);let m=(0,c.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1a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2dsZS5wcm90b2J1Zi5FbXB0eRJSCgR0ZXN0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0MpkCCgdpbmJvdW5kElAKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaMC55dWhhaWluLnByb3Rvcy5jb25maWcuc2VydmljZS5pbmJvdW5kc19yZXNwb25zZRI+CgNnZXQSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaGS55dWhhaWluLmxpc3RlbmVyLmluYm91bmQSPAoEc2F2ZRIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBoZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBI+CgZyZW1vdmUSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHlCOFo2Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9zZXJ2aWNlYgZwcm90bzM",[s.Pr,a.qc,r._6,d.t,u.Ax,i.i]),b=(0,l.Z)(m,0),Z=(0,l.Z)(m,2),h=(0,o.Z)(m,2)},700:t=>{t.exports={clickable:"clickable_clickable__ytaUf"}},9537:(t,e,n)=>{"use strict";function c(t,e,...n){if(0==n.length)return t.enums[e];let l=n.pop();return n.reduce((t,e)=>t.nestedMessages[e],t.messages[e]).nestedEnums[l]}n.d(e,{R:()=>c})},4395:(t,e,n)=>{"use strict";function c(t,e,...n){if(n.length>0)throw Error();return t.services[e]}n.d(e,{Z:()=>c})},1936:(t,e,n)=>{"use strict";n.d(e,{Ax:()=>o,g8:()=>s});var c=n(6788),l=n(8123);let o=(0,c.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),s=(0,l.Z)(o,7)}},t=>{var e=e=>t(t.s=e);t.O(0,[607,488,995,459,878,441,517,358],()=>e(4355)),_N_E=t.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/page-e11f37f3c8a8ef8b.js b/_next/static/chunks/app/docs/bypass/page-1488909856826fdd.js similarity index 72% rename from _next/static/chunks/app/docs/bypass/page-e11f37f3c8a8ef8b.js rename to _next/static/chunks/app/docs/bypass/page-1488909856826fdd.js index 61b6ea33..580d94cf 100644 --- a/_next/static/chunks/app/docs/bypass/page-e11f37f3c8a8ef8b.js +++ b/_next/static/chunks/app/docs/bypass/page-1488909856826fdd.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{1103:(e,l,s)=>{Promise.resolve().then(s.bind(s,5297))},5297:(e,l,s)=>{"use strict";s.r(l),s.d(l,{default:()=>V});var a=s(5155),n=s(4995),c=s(2115),o=s(2981),t=s(2963),r=s(6180),i=s(6121),d=s(3667),u=s(7204),h=s(4805),p=s(2859),m=s(3577);(0,m.v)(h.Qn,{tcp:h.Mq.bypass,udp:h.Mq.bypass,bypassFile:"yuhaiin.conf",customRuleV3:[]});let g=c.memo(e=>{let l=(0,m.v)(h.eT,{hostname:["www.example.com"],mode:h.Mq.proxy,tag:"",resolveStrategy:h.pI.default}),s=(0,m.v)(h.Nm,{name:"my rule",enabled:!1,object:{case:"file",value:(0,m.v)(h.Uu,{})}}),n=l=>{l(e.bypass),e.onChange(e.bypass)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{className:"mb-3",children:(0,a.jsxs)(o.A.Body,{children:[(0,a.jsx)(b,{label:"TCP",network:!0,value:e.bypass.tcp,onChange:e=>n(l=>l.tcp=e)}),(0,a.jsx)(b,{label:"UDP",network:!0,value:e.bypass.udp,onChange:e=>n(l=>l.udp=e)}),(0,a.jsx)(p.$d,{label:"Resolve Locally",checked:e.bypass.resolveLocally,onChange:()=>n(e=>e.resolveLocally=!e.resolveLocally)}),(0,a.jsx)(p.$d,{label:"Udp proxy Fqdn",checked:e.bypass.udpProxyFqdn===h.f5.skip_resolve,onChange:()=>n(e=>e.udpProxyFqdn=e.udpProxyFqdn===h.f5.skip_resolve?h.f5.resolve:h.f5.skip_resolve)})]})}),e.bypass.remoteRules.map((e,l)=>(0,a.jsx)(u.mc,{title:e.name,onClose:()=>n(e=>e.remoteRules.splice(l,1)),children:(0,a.jsx)(v,{config:e,onChange:e=>n(s=>s.remoteRules[l]=e)})},"remote_rules"+l)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(t.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.remoteRules.push(s)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Remote Rule"]})}),(0,a.jsx)("hr",{}),e.bypass.customRuleV3.map((e,l)=>(0,a.jsx)(u.mc,{title:""!==e.tag?e.tag:h.Mq[e.mode],onClose:()=>n(e=>e.customRuleV3.splice(l,1)),children:(0,a.jsx)(x,{config:e,onChange:e=>n(s=>s.customRuleV3[l]=e)})},"rule"+l)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(t.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.customRuleV3.push(l)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Rule"]})})]})}),x=e=>{let l=l=>{l(e.config),e.onChange(e.config)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{label:"Mode",network:!1,value:e.config.mode,onChange:e=>l(l=>l.mode=e)}),(0,a.jsx)(u.a9,{label:"Tag",value:e.config.tag,onChange:e=>l(l=>l.tag=e)}),(0,a.jsx)(A,{label:"Resolve Strategy",value:e.config.resolveStrategy,onChange:e=>l(l=>l.resolveStrategy=e)}),(0,a.jsx)(f,{label:"UDP proxy Fqdn",value:e.config.udpProxyFqdnStrategy,onChange:e=>l(l=>l.udpProxyFqdnStrategy=e)}),(0,a.jsx)(u.e9,{title:"IP/DOMAIN",data:e.config.hostname,onChange:e=>l(l=>{e&&(l.hostname=e)}),errorMsgs:e.config.errorMsgs})]})},v=e=>{let l=l=>{l(e.config),e.onChange(e.config)},s=()=>{switch(e.config.object.case){case"file":return"file";case"http":return"http";default:return""}},n=(e,l)=>{switch(e.object.case){case"file":e.object.value.path=l;break;case"http":e.object.value.url=l}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$d,{label:"Enabled",checked:e.config.enabled,onChange:()=>l(e=>e.enabled=!e.enabled)}),(0,a.jsx)(u.a9,{label:"Name",value:e.config.name,onChange:e=>l(l=>l.name=e)}),(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:"Type"}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:s(),onChange:e=>l(l=>{if(s()!=e.target.value)switch(e.target.value){case"file":l.object={case:"file",value:(0,m.v)(h.Uu,{})};break;case"http":l.object={case:"http",value:(0,m.v)(h.ie,{})}}}),children:[(0,a.jsx)("option",{value:"file",children:"file"}),(0,a.jsx)("option",{value:"http",children:"http"})]})})]}),(0,a.jsx)(u.a9,{label:"Value",value:(()=>{switch(e.config.object.case){case"file":return e.config.object.value.path;case"http":return e.config.object.value.url;default:return""}})(),errorMsg:e.config.errorMsg,onChange:e=>l(l=>n(l,e))})]})};function b(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.Mq[e.value],onChange:l=>e.onChange(h.Mq[l.target.value]),children:[e.network&&(0,a.jsx)("option",{value:h.Mq[h.Mq.bypass],children:"BYPASS"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.direct],children:"DIRECT"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.proxy],children:"PROXY"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.block],children:"BLOCK"})]})})]})}function f(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.f5[e.value],onChange:l=>e.onChange(h.f5[l.target.value]),children:[(0,a.jsx)("option",{value:h.f5[h.f5.udp_proxy_fqdn_strategy_default],children:"Global"}),(0,a.jsx)("option",{value:h.f5[h.f5.resolve],children:"Resolve"}),(0,a.jsx)("option",{value:h.f5[h.f5.skip_resolve],children:"Skip"})]})})]})}function A(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.pI[e.value],onChange:l=>e.onChange(h.pI[l.target.value]),children:[(0,a.jsx)("option",{value:h.pI[h.pI.default],children:"default"}),(0,a.jsx)("option",{value:h.pI[h.pI.prefer_ipv4],children:"prefer_ipv4"}),(0,a.jsx)("option",{value:h.pI[h.pI.only_ipv4],children:"only_ipv4"}),(0,a.jsx)("option",{value:h.pI[h.pI.prefer_ipv6],children:"prefer_ipv6"}),(0,a.jsx)("option",{value:h.pI[h.pI.only_ipv6],children:"only_ipv6"})]})})]})}var y=s(8927),j=s(9169),C=s(950),Z=s(7558),R=s(148),X=s(3339),I=s(4216);let V=function(){let e=(0,c.useContext)(R.u),[l,s]=(0,c.useState)(!1),[o,r]=(0,c.useState)(!1),{data:i,error:d,isLoading:u,mutate:p}=(0,n.Ay)("/bypass",(0,y.AD)(h.Qn),{revalidateOnFocus:!1});return d?(0,a.jsx)(j.A,{code:d.code,children:d.msg}):u||!i?(0,a.jsx)(j.A,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{bypass:(0,C.o)(h.Qn,i),onChange:e=>{p(e,!1)}}),(0,a.jsx)("hr",{}),(0,a.jsxs)(X.A,{gap:1,direction:"horizontal",children:[(0,a.jsxs)(t.A,{variant:"outline-primary",disabled:l,onClick:()=>{s(!0),(0,y.Fp)("/bypass",{body:(0,Z.R)(h.Qn,i),method:"PATCH"}).then(async l=>{let{error:a}=l;void 0!==a?e.Error("save config failed, ".concat(a.code,"| ").concat(await a.msg)):(e.Info("Save Successfully"),p()),s(!1)})},children:["Save",l&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(I.A,{size:"sm",animation:"border",variant:"primary"})]})]}),(0,a.jsxs)(t.A,{variant:"outline-primary",disabled:o,onClick:()=>{r(!0),(0,y.Fp)("/bypass/reload",{method:"POST"}).then(async l=>{let{error:s}=l;void 0!==s?e.Error("reload failed, ".concat(s.code,"| ").concat(await s.msg)):(e.Info("Reload Successfully"),p()),r(!1)})},children:["Refresh Now",o&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(I.A,{size:"sm",animation:"border",variant:"primary"})]})]})]})]})}},9169:(e,l,s)=>{"use strict";s.d(l,{A:()=>t});var a=s(5155),n=s(4216),c=s(5554),o=s.n(c);let t=function(e){return(0,a.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,a.jsx)("div",{className:"p2",children:(0,a.jsx)(n.A,{})})]})}},2859:(e,l,s)=>{"use strict";s.d(l,{$d:()=>t});var a=s(5155);s(2115);var n=s(6180),c=s(6121),o=s(3667);let t=e=>(0,a.jsxs)(n.A.Group,{as:c.A,className:"mb-2",children:[(0,a.jsx)(n.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(o.A,{sm:10,className:"d-flex align-items-center",children:(0,a.jsx)(n.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,l,s)=>{"use strict";s.d(l,{u:()=>t,y:()=>r});var a=s(5155),n=s(2115),c=s(1757),o=s(491);let t=(0,n.createContext)({Info:e=>{},Error:e=>{}}),r=e=>{let{children:l}=e,[s,r]=(0,n.useState)({value:{},index:0}),i=(e,l)=>r(s=>({value:{...s.value,[s.index]:{text:e,type:l}},index:s.index+1}));return(0,a.jsxs)(t.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,a.jsx)(c.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(s.value).map(e=>{let[l,n]=e;return(0,a.jsxs)(o.A,{role:"alert","aria-live":"assertive",show:!0,bg:n.type,onClose:()=>{let e=s.value;delete e[l],r({...s,value:e}),console.log("close: "+l)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(o.A.Header,{children:[(0,a.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,a.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,a.jsx)(o.A.Body,{className:"text-center",children:n.text})]},"toast"+l)})}),l]})}},4805:(e,l,s)=>{"use strict";s.d(l,{Mq:()=>u,Nm:()=>r,Qn:()=>o,Uu:()=>i,eT:()=>t,f5:()=>p,ie:()=>d,pI:()=>h,qc:()=>c});var a=s(6788),n=s(8123);let c=(0,a.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoDjIULnl1aGFpaW4uYnlwYXNzLm1vZGUSJAoLYnlwYXNzX2ZpbGUYAiABKAlCAhgBUgtieXBhc3NfZmlsZRJPCg51ZHBfcHJveHlfZnFkbhgGIAEoDjInLnl1aGFpaW4uYnlwYXNzLnVkcF9wcm94eV9mcWRuX3N0cmF0ZWd5Ug51ZHBfcHJveHlfZnFkbhJDCg5jdXN0b21fcnVsZV92MxgHIAMoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnUg5jdXN0b21fcnVsZV92MxI/CgxyZW1vdGVfcnVsZXMYCCADKAsyGy55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZVIMcmVtb3RlX3J1bGVzEigKD3Jlc29sdmVfbG9jYWxseRgJIAEoCFIPcmVzb2x2ZV9sb2NhbGx5IpQDCgttb2RlX2NvbmZpZxIiCgRtb2RlGAEgASgOMhQueXVoYWlpbi5ieXBhc3MubW9kZRILCgN0YWcYAiABKAkSEAoIaG9zdG5hbWUYAyADKAkSTAoQcmVzb2x2ZV9zdHJhdGVneRgEIAEoDjIgLnl1aGFpaW4uYnlwYXNzLnJlc29sdmVfc3RyYXRlZ3lSEHJlc29sdmVfc3RyYXR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VsdBAAEgsKB3Jlc29sdmUQARIQCgxza2lwX3Jlc29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),o=(0,n.Z)(c,0),t=(0,n.Z)(c,1),r=(0,n.Z)(c,2),i=(0,n.Z)(c,3),d=(0,n.Z)(c,4);var u=function(e){return e[e.bypass=0]="bypass",e[e.direct=1]="direct",e[e.proxy=2]="proxy",e[e.block=3]="block",e}({}),h=function(e){return e[e.default=0]="default",e[e.prefer_ipv4=1]="prefer_ipv4",e[e.only_ipv4=2]="only_ipv4",e[e.prefer_ipv6=3]="prefer_ipv6",e[e.only_ipv6=4]="only_ipv6",e}({}),p=function(e){return e[e.udp_proxy_fqdn_strategy_default=0]="udp_proxy_fqdn_strategy_default",e[e.resolve=1]="resolve",e[e.skip_resolve=2]="skip_resolve",e}({})}},e=>{var l=l=>e(e.s=l);e.O(0,[235,995,515,920,637,85,306,441,517,358],()=>l(1103)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{1103:(e,l,s)=>{Promise.resolve().then(s.bind(s,5297))},5297:(e,l,s)=>{"use strict";s.r(l),s.d(l,{default:()=>V});var a=s(5155),n=s(4995),c=s(2115),o=s(2981),t=s(2963),r=s(6180),i=s(6121),d=s(3667),u=s(7204),h=s(4805),p=s(2859),m=s(3577);(0,m.v)(h.Qn,{tcp:h.Mq.bypass,udp:h.Mq.bypass,bypassFile:"yuhaiin.conf",customRuleV3:[]});let g=c.memo(e=>{let l=(0,m.v)(h.eT,{hostname:["www.example.com"],mode:h.Mq.proxy,tag:"",resolveStrategy:h.pI.default}),s=(0,m.v)(h.Nm,{name:"my rule",enabled:!1,object:{case:"file",value:(0,m.v)(h.Uu,{})}}),n=l=>{l(e.bypass),e.onChange(e.bypass)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{className:"mb-3",children:(0,a.jsxs)(o.A.Body,{children:[(0,a.jsx)(b,{label:"TCP",network:!0,value:e.bypass.tcp,onChange:e=>n(l=>l.tcp=e)}),(0,a.jsx)(b,{label:"UDP",network:!0,value:e.bypass.udp,onChange:e=>n(l=>l.udp=e)}),(0,a.jsx)(p.$d,{label:"Resolve Locally",checked:e.bypass.resolveLocally,onChange:()=>n(e=>e.resolveLocally=!e.resolveLocally)}),(0,a.jsx)(p.$d,{label:"Udp proxy Fqdn",checked:e.bypass.udpProxyFqdn===h.f5.skip_resolve,onChange:()=>n(e=>e.udpProxyFqdn=e.udpProxyFqdn===h.f5.skip_resolve?h.f5.resolve:h.f5.skip_resolve)})]})}),e.bypass.remoteRules.map((e,l)=>(0,a.jsx)(u.mc,{title:e.name,onClose:()=>n(e=>e.remoteRules.splice(l,1)),children:(0,a.jsx)(v,{config:e,onChange:e=>n(s=>s.remoteRules[l]=e)})},"remote_rules"+l)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(t.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.remoteRules.push(s)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Remote Rule"]})}),(0,a.jsx)("hr",{}),e.bypass.customRuleV3.map((e,l)=>(0,a.jsx)(u.mc,{title:""!==e.tag?e.tag:h.Mq[e.mode],onClose:()=>n(e=>e.customRuleV3.splice(l,1)),children:(0,a.jsx)(x,{config:e,onChange:e=>n(s=>s.customRuleV3[l]=e)})},"rule"+l)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(t.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.customRuleV3.push(l)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Rule"]})})]})}),x=e=>{let l=l=>{l(e.config),e.onChange(e.config)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{label:"Mode",network:!1,value:e.config.mode,onChange:e=>l(l=>l.mode=e)}),(0,a.jsx)(u.a9,{label:"Tag",value:e.config.tag,onChange:e=>l(l=>l.tag=e)}),(0,a.jsx)(A,{label:"Resolve Strategy",value:e.config.resolveStrategy,onChange:e=>l(l=>l.resolveStrategy=e)}),(0,a.jsx)(f,{label:"UDP proxy Fqdn",value:e.config.udpProxyFqdnStrategy,onChange:e=>l(l=>l.udpProxyFqdnStrategy=e)}),(0,a.jsx)(u.e9,{title:"IP/DOMAIN",data:e.config.hostname,onChange:e=>l(l=>{e&&(l.hostname=e)}),errorMsgs:e.config.errorMsgs})]})},v=e=>{let l=l=>{l(e.config),e.onChange(e.config)},s=()=>{switch(e.config.object.case){case"file":return"file";case"http":return"http";default:return""}},n=(e,l)=>{switch(e.object.case){case"file":e.object.value.path=l;break;case"http":e.object.value.url=l}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$d,{label:"Enabled",checked:e.config.enabled,onChange:()=>l(e=>e.enabled=!e.enabled)}),(0,a.jsx)(u.a9,{label:"Name",value:e.config.name,onChange:e=>l(l=>l.name=e)}),(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:"Type"}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:s(),onChange:e=>l(l=>{if(s()!=e.target.value)switch(e.target.value){case"file":l.object={case:"file",value:(0,m.v)(h.Uu,{})};break;case"http":l.object={case:"http",value:(0,m.v)(h.ie,{})}}}),children:[(0,a.jsx)("option",{value:"file",children:"file"}),(0,a.jsx)("option",{value:"http",children:"http"})]})})]}),(0,a.jsx)(u.a9,{label:"Value",value:(()=>{switch(e.config.object.case){case"file":return e.config.object.value.path;case"http":return e.config.object.value.url;default:return""}})(),errorMsg:e.config.errorMsg,onChange:e=>l(l=>n(l,e))})]})};function b(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.Mq[e.value],onChange:l=>e.onChange(h.Mq[l.target.value]),children:[e.network&&(0,a.jsx)("option",{value:h.Mq[h.Mq.bypass],children:"BYPASS"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.direct],children:"DIRECT"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.proxy],children:"PROXY"}),(0,a.jsx)("option",{value:h.Mq[h.Mq.block],children:"BLOCK"})]})})]})}function f(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.f5[e.value],onChange:l=>e.onChange(h.f5[l.target.value]),children:[(0,a.jsx)("option",{value:h.f5[h.f5.udp_proxy_fqdn_strategy_default],children:"Global"}),(0,a.jsx)("option",{value:h.f5[h.f5.resolve],children:"Resolve"}),(0,a.jsx)("option",{value:h.f5[h.f5.skip_resolve],children:"Skip"})]})})]})}function A(e){return(0,a.jsxs)(r.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(r.A.Select,{value:h.pI[e.value],onChange:l=>e.onChange(h.pI[l.target.value]),children:[(0,a.jsx)("option",{value:h.pI[h.pI.default],children:"default"}),(0,a.jsx)("option",{value:h.pI[h.pI.prefer_ipv4],children:"prefer_ipv4"}),(0,a.jsx)("option",{value:h.pI[h.pI.only_ipv4],children:"only_ipv4"}),(0,a.jsx)("option",{value:h.pI[h.pI.prefer_ipv6],children:"prefer_ipv6"}),(0,a.jsx)("option",{value:h.pI[h.pI.only_ipv6],children:"only_ipv6"})]})})]})}var y=s(8927),j=s(9169),C=s(950),Z=s(7558),R=s(148),X=s(3339),I=s(4216);let V=function(){let e=(0,c.useContext)(R.u),[l,s]=(0,c.useState)(!1),[o,r]=(0,c.useState)(!1),{data:i,error:d,isLoading:u,mutate:p}=(0,n.Ay)("/bypass",(0,y.AD)(h.Qn),{revalidateOnFocus:!1});return d?(0,a.jsx)(j.A,{code:d.code,children:d.msg}):u||!i?(0,a.jsx)(j.A,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{bypass:(0,C.o)(h.Qn,i),onChange:e=>{p(e,!1)}}),(0,a.jsx)("hr",{}),(0,a.jsxs)(X.A,{gap:1,direction:"horizontal",children:[(0,a.jsxs)(t.A,{variant:"outline-primary",disabled:l,onClick:()=>{s(!0),(0,y.Fp)("/bypass",{body:(0,Z.R)(h.Qn,i),method:"PATCH"}).then(async l=>{let{error:a}=l;void 0!==a?e.Error("save config failed, ".concat(a.code,"| ").concat(await a.msg)):(e.Info("Save Successfully"),p()),s(!1)})},children:["Save",l&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(I.A,{size:"sm",animation:"border",variant:"primary"})]})]}),(0,a.jsxs)(t.A,{variant:"outline-primary",disabled:o,onClick:()=>{r(!0),(0,y.Fp)("/bypass/reload",{method:"POST"}).then(async l=>{let{error:s}=l;void 0!==s?e.Error("reload failed, ".concat(s.code,"| ").concat(await s.msg)):(e.Info("Reload Successfully"),p()),r(!1)})},children:["Refresh Now",o&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(I.A,{size:"sm",animation:"border",variant:"primary"})]})]})]})]})}},9169:(e,l,s)=>{"use strict";s.d(l,{A:()=>t});var a=s(5155),n=s(4216),c=s(5554),o=s.n(c);let t=function(e){return(0,a.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,a.jsx)("div",{className:"p2",children:(0,a.jsx)(n.A,{})})]})}},2859:(e,l,s)=>{"use strict";s.d(l,{$d:()=>t});var a=s(5155);s(2115);var n=s(6180),c=s(6121),o=s(3667);let t=e=>(0,a.jsxs)(n.A.Group,{as:c.A,className:"mb-2",children:[(0,a.jsx)(n.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(o.A,{sm:10,className:"d-flex align-items-center",children:(0,a.jsx)(n.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,l,s)=>{"use strict";s.d(l,{u:()=>t,y:()=>r});var a=s(5155),n=s(2115),c=s(1757),o=s(491);let t=(0,n.createContext)({Info:e=>{},Error:e=>{}}),r=e=>{let{children:l}=e,[s,r]=(0,n.useState)({value:{},index:0}),i=(e,l)=>r(s=>({value:{...s.value,[s.index]:{text:e,type:l}},index:s.index+1}));return(0,a.jsxs)(t.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,a.jsx)(c.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(s.value).map(e=>{let[l,n]=e;return(0,a.jsxs)(o.A,{role:"alert","aria-live":"assertive",show:!0,bg:n.type,onClose:()=>{let e=s.value;delete e[l],r({...s,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(o.A.Header,{children:[(0,a.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,a.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,a.jsx)(o.A.Body,{className:"text-center",children:n.text})]},"toast"+l)})}),l]})}},4805:(e,l,s)=>{"use strict";s.d(l,{Mq:()=>u,Nm:()=>r,Qn:()=>o,Uu:()=>i,eT:()=>t,f5:()=>p,ie:()=>d,pI:()=>h,qc:()=>c});var a=s(6788),n=s(8123);let c=(0,a.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoD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Wlpbi5ieXBhc3MucmVtb3RlX3J1bGVfZmlsZUgAEjAKBGh0dHAYBCABKAsyIC55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZV9odHRwSAASHAoJZXJyb3JfbXNnGAUgASgJUgllcnJvcl9tc2cSPwoMZGVmYXVsdF9tb2RlGAYgASgLMhsueXVoYWlpbi5ieXBhc3MubW9kZV9jb25maWdSDGRlZmF1bHRfbW9kZUIICgZvYmplY3QiIAoQcmVtb3RlX3J1bGVfZmlsZRIMCgRwYXRoGAEgASgJIi8KEHJlbW90ZV9ydWxlX2h0dHASCwoDdXJsGAEgASgJEg4KBm1ldGhvZBgCIAEoCSo0CgRtb2RlEgoKBmJ5cGFzcxAAEgoKBmRpcmVjdBABEgkKBXByb3h5EAISCQoFYmxvY2sQAypfChByZXNvbHZlX3N0cmF0ZWd5EgsKB2RlZmF1bHQQABIPCgtwcmVmZXJfaXB2NBABEg0KCW9ubHlfaXB2NBACEg8KC3ByZWZlcl9pcHY2EAMSDQoJb25seV9pcHY2EAQqXQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSIwofdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3lfZGVmYXVsdBAAEgsKB3Jlc29sdmUQARIQCgxza2lwX3Jlc29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),o=(0,n.Z)(c,0),t=(0,n.Z)(c,1),r=(0,n.Z)(c,2),i=(0,n.Z)(c,3),d=(0,n.Z)(c,4);var u=function(e){return e[e.bypass=0]="bypass",e[e.direct=1]="direct",e[e.proxy=2]="proxy",e[e.block=3]="block",e}({}),h=function(e){return e[e.default=0]="default",e[e.prefer_ipv4=1]="prefer_ipv4",e[e.only_ipv4=2]="only_ipv4",e[e.prefer_ipv6=3]="prefer_ipv6",e[e.only_ipv6=4]="only_ipv6",e}({}),p=function(e){return e[e.udp_proxy_fqdn_strategy_default=0]="udp_proxy_fqdn_strategy_default",e[e.resolve=1]="resolve",e[e.skip_resolve=2]="skip_resolve",e}({})}},e=>{var l=l=>e(e.s=l);e.O(0,[488,995,515,920,637,842,306,441,517,358],()=>l(1103)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/test/page-686145db1ec7161a.js b/_next/static/chunks/app/docs/bypass/test/page-686145db1ec7161a.js new file mode 100644 index 00000000..b4b9d4ec --- /dev/null +++ b/_next/static/chunks/app/docs/bypass/test/page-686145db1ec7161a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[198],{5640:(e,t,n)=>{Promise.resolve().then(n.bind(n,304))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>r,G_:()=>b,Ow:()=>i,Oz:()=>l,VN:()=>h,X3:()=>u,_s:()=>Z,dp:()=>m,h$:()=>p,kP:()=>a,mv:()=>v,oH:()=>c,r3:()=>o,u1:()=>s});var a="",l="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",c=!0,r="http://ip.sb",s="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");a=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(o=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(c="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(u=e)},i=e=>{y("api_url",e)},m=e=>{y("latency_dns_url",e)},b=e=>{y("latency_http_url",e)},v=e=>{y("latency_ipv6",e.toString())},p=e=>{y("latency_ip_url",e)},Z=e=>{y("latency_stun_url",e)},h=e=>{y("latency_stun_tcp_url",e)},y=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(5155),l=n(2115),o=n(8003),c=n(6180),r=n(2963),s=n(2981),u=n(8927),d=n(7558),i=n(3577),m=n(6989),b=n(9093),v=n(1936),p=n(6863),Z=n(148);let h=function(){let e=(0,l.useContext)(Z.u),[t,n]=(0,l.useState)(""),[h,y]=(0,l.useState)(void 0);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.A,{className:"mb-3",children:[(0,a.jsx)(c.A.Control,{placeholder:"www.example.com",value:t,onChange:e=>n(e.target.value)}),(0,a.jsx)(r.A,{variant:"outline-primary",onClick:()=>{""!==t&&(0,u.Fp)("/bypass/test",{method:"POST",body:(0,d.R)(v.g8,(0,i.v)(v.g8,{value:t})),process:async e=>(0,m.Er)(p.C$,new Uint8Array(await e.arrayBuffer()))}).then(async t=>{let{data:n,error:a}=t;a?e.Error("test failed ".concat(a.code,"| ").concat(await a.msg)):y(await n)})},children:"Test"})]}),h&&(0,a.jsx)(s.A,{className:"mb-3",children:(0,a.jsx)(s.A.Body,{children:(0,a.jsx)("pre",{children:(0,b.J7)(p.C$,h,{prettySpaces:2})})})})]})}},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>r,EY:()=>u,Fp:()=>i,L1:()=>s,gR:()=>m,kP:()=>d});var a=n(744),l=n(950),o=n(6989),c=n(7558);function r(e,t,n,c){return r=>c?(0,l.o)(e,c):fetch("".concat(a.kP).concat(r),{method:t,body:n}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,o.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function s(e,t,n,r){return s=>r?(0,l.o)(e.output,r):fetch("".concat(a.kP).concat(s),{method:t,body:n?(0,c.R)(e.input,n):void 0}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,o.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}function u(e,t,n,l){return c=>fetch("".concat(a.kP).concat(c),{method:n,body:l}).then(async n=>{if(!n.ok)throw{code:n.status,msg:n.statusText,raw:n.text()};return t((0,o.Er)(e,new Uint8Array(await n.arrayBuffer())))})}async function d(e,t,n,a){return i(t,{method:n,body:a?(0,c.R)(e.input,a):void 0,process:async t=>(0,o.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}let i=async(e,t)=>{let n=await fetch("".concat(a.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return n.ok?void 0===t.process?{}:{data:t.process(n)}:{error:{code:n.status,msg:n.text()}}};function m(e,t,n){return(l,c)=>{let r,{next:s}=c,u=new URL(""!==a.kP?a.kP:window.location.toString());u.pathname=l,u.protocol="https:"===u.protocol?"wss:":"ws:";let d=!1,i=()=>{d||(console.log("connecting to: ".concat(u)),(r=new WebSocket(u)).binaryType="arraybuffer",r.addEventListener("open",t=>{console.log("connect to: ".concat(u,", event type: ").concat(t.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let a=(0,o.Er)(t,new Uint8Array(e.data));s(null,e=>n(e,a))}),r.addEventListener("error",e=>{let t="websocket have some error";s({msg:t,code:500}),console.log(t,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),s(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(l)),r.close(),r=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>r,y:()=>s});var a=n(5155),l=n(2115),o=n(1757),c=n(491);let r=(0,l.createContext)({Info:e=>{},Error:e=>{}}),s=e=>{let{children:t}=e,[n,s]=(0,l.useState)({value:{},index:0}),u=(e,t)=>s(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,a.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),u(e,"success")},Error:e=>{console.error(e),u(e,"danger")}},children:[(0,a.jsx)(o.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,l]=e;return(0,a.jsxs)(c.A,{role:"alert","aria-live":"assertive",show:!0,bg:l.type,onClose:()=>{let e=n.value;delete e[t],s({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(c.A.Header,{children:[(0,a.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,a.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,a.jsx)(c.A.Body,{className:"text-center",children:l.text})]},"toast"+t)})}),t]})}},6863:(e,t,n)=>{"use strict";n.d(t,{C$:()=>b,LH:()=>v,mz:()=>p});var a=n(6788),l=n(8123),o=n(4395),c=n(878),r=n(4805),s=n(7641),u=n(9297),d=n(1936),i=n(9678);let m=(0,a.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVzcG9uc2USKQoEbW9kZRgBIAEoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnEg4KBnJlYXNvbhgCIAEoCRIeCgphZnRlcl9hZGRyGAMgASgJUgphZnRlcl9hZGRyIowBCg1ibG9ja19oaXN0b3J5EhAKCHByb3RvY29sGAEgASgJEgwKBGhvc3QYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDwoHcHJvY2VzcxgEIAEoCRIgCgtibG9ja19jb3VudBgFIAEoBFILYmxvY2tfY291bnQihwEKEmJsb2NrX2hpc3RvcnlfbGlzdBI9CgdvYmplY3RzGAEgAygLMiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeRIyChRkdW1wX3Byb2Nlc3NfZW5hYmxlZBgCIAEoCFIUZHVtcF9wcm9jZXNzX2VuYWJsZWQiIgoRaW5ib3VuZHNfcmVzcG9uc2USDQoFbmFtZXMYASADKAkyuAEKDmNvbmZpZ19zZXJ2aWNlEjcKBGxvYWQSFi5nb29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ViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9zZXJ2aWNlYgZwcm90bzM",[c.Pr,r.qc,s._6,u.t,d.Ax,i.i]),b=(0,l.Z)(m,0),v=(0,l.Z)(m,2),p=(0,o.Z)(m,2)},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(4617),l=n.n(a),o=n(2115),c=n(1653),r=n(2389),s=n(2471),u=n(5155);let d=o.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:o="span",...r}=e;return a=(0,c.oU)(a,"input-group-text"),(0,u.jsx)(o,{ref:t,className:l()(n,a),...r})});d.displayName="InputGroupText";let i=o.forwardRef((e,t)=>{let{bsPrefix:n,size:a,hasValidation:r,className:d,as:i="div",...m}=e;n=(0,c.oU)(n,"input-group");let b=(0,o.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:b,children:(0,u.jsx)(i,{ref:t,...m,className:l()(d,n,a&&"".concat(n,"-").concat(a),r&&"has-validation")})})});i.displayName="InputGroup";let m=Object.assign(i,{Text:d,Radio:e=>(0,u.jsx)(d,{children:(0,u.jsx)(r.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(d,{children:(0,u.jsx)(r.A,{type:"checkbox",...e})})})},2471:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let a=n(2115).createContext(null);a.displayName="InputGroupContext";let l=a},9537:(e,t,n)=>{"use strict";function a(e,t,...n){if(0==n.length)return e.enums[t];let l=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[l]}n.d(t,{R:()=>a})},4395:(e,t,n)=>{"use strict";function a(e,t,...n){if(n.length>0)throw Error();return e.services[t]}n.d(t,{Z:()=>a})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>o,w:()=>c});var a=n(6788),l=n(8123);let o=(0,a.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),c=(0,l.Z)(o,0)}},e=>{var t=t=>e(e.s=t);e.O(0,[488,515,920,708,878,441,517,358],()=>t(5640)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/test/page-9c6bc0a6be3d6e62.js b/_next/static/chunks/app/docs/bypass/test/page-9c6bc0a6be3d6e62.js deleted file mode 100644 index 804aed67..00000000 --- a/_next/static/chunks/app/docs/bypass/test/page-9c6bc0a6be3d6e62.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[198],{5640:(e,t,n)=>{Promise.resolve().then(n.bind(n,304))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>r,G_:()=>b,Ow:()=>i,Oz:()=>a,VN:()=>g,X3:()=>u,_s:()=>p,dp:()=>m,h$:()=>h,kP:()=>l,mv:()=>v,oH:()=>c,r3:()=>o,u1:()=>s});var l="",a="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",c=!0,r="http://ip.sb",s="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");l=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(a=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(o=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(c="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(u=e)},i=e=>{y("api_url",e)},m=e=>{y("latency_dns_url",e)},b=e=>{y("latency_http_url",e)},v=e=>{y("latency_ipv6",e.toString())},h=e=>{y("latency_ip_url",e)},p=e=>{y("latency_stun_url",e)},g=e=>{y("latency_stun_tcp_url",e)},y=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var l=n(5155),a=n(2115),o=n(8003),c=n(6180),r=n(2963),s=n(2981),u=n(8927),d=n(7558),i=n(3577),m=n(6989),b=n(9093),v=n(1936),h=n(6863),p=n(148);let g=function(){let e=(0,a.useContext)(p.u),[t,n]=(0,a.useState)(""),[g,y]=(0,a.useState)(void 0);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o.A,{className:"mb-3",children:[(0,l.jsx)(c.A.Control,{placeholder:"www.example.com",value:t,onChange:e=>n(e.target.value)}),(0,l.jsx)(r.A,{variant:"outline-primary",onClick:()=>{""!==t&&(0,u.Fp)("/bypass/test",{method:"POST",body:(0,d.R)(v.g8,(0,i.v)(v.g8,{value:t})),process:async e=>(0,m.Er)(h.C$,new Uint8Array(await e.arrayBuffer()))}).then(async t=>{let{data:n,error:l}=t;l?e.Error("test failed ".concat(l.code,"| ").concat(await l.msg)):y(await n)})},children:"Test"})]}),g&&(0,l.jsx)(s.A,{className:"mb-3",children:(0,l.jsx)(s.A.Body,{children:(0,l.jsx)("pre",{children:(0,b.J7)(h.C$,g,{prettySpaces:2})})})})]})}},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>c,EY:()=>r,Fp:()=>s,gR:()=>u});var l=n(744),a=n(950),o=n(6989);function c(e,t,n,c){return r=>c?(0,a.o)(e,c):fetch("".concat(l.kP).concat(r),{method:t,body:n}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,o.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function r(e,t,n,a){return c=>fetch("".concat(l.kP).concat(c),{method:n,body:a}).then(async n=>{if(!n.ok)throw{code:n.status,msg:n.statusText,raw:n.text()};return t((0,o.Er)(e,new Uint8Array(await n.arrayBuffer())))})}let s=async(e,t)=>{let n=await fetch("".concat(l.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return n.ok?void 0===t.process?{}:{data:t.process(n)}:{error:{code:n.status,msg:n.text()}}};function u(e,t,n){return(a,c)=>{let r,{next:s}=c,u=new URL(""!==l.kP?l.kP:window.location.toString());u.pathname=a,u.protocol="https:"===u.protocol?"wss:":"ws:";let d=!1,i=()=>{d||(console.log("connecting to: ".concat(u)),(r=new WebSocket(u)).binaryType="arraybuffer",r.addEventListener("open",t=>{console.log("connect to: ".concat(u,", event type: ").concat(t.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let l=(0,o.Er)(t,new Uint8Array(e.data));s(null,e=>n(e,l))}),r.addEventListener("error",e=>{let t="websocket have some error";s({msg:t,code:500}),console.log(t,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),s(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(a)),r.close(),r=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>r,y:()=>s});var l=n(5155),a=n(2115),o=n(1757),c=n(491);let r=(0,a.createContext)({Info:e=>{},Error:e=>{}}),s=e=>{let{children:t}=e,[n,s]=(0,a.useState)({value:{},index:0}),u=(e,t)=>s(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,l.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),u(e,"success")},Error:e=>{console.error(e),u(e,"danger")}},children:[(0,l.jsx)(o.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,a]=e;return(0,l.jsxs)(c.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=n.value;delete e[t],s({...n,value:e}),console.log("close: "+t)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(c.A.Header,{children:[(0,l.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,l.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,l.jsx)(c.A.Body,{className:"text-center",children:a.text})]},"toast"+t)})}),t]})}},6863:(e,t,n)=>{"use strict";n.d(t,{C$:()=>i,LH:()=>m});var l=n(6788),a=n(8123),o=n(878),c=n(4805),r=n(9297),s=n(1936),u=n(9678);let d=(0,l.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVzcG9uc2USKQoEbW9kZRgBIAEoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnEg4KBnJlYXNvbhgCIAEoCRIeCgphZnRlcl9hZGRyGAMgASgJUgphZnRlcl9hZGRyIowBCg1ibG9ja19oaXN0b3J5EhAKCHByb3RvY29sGAEgASgJEgwKBGhvc3QYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDwoHcHJvY2VzcxgEIAEoCRIgCgtibG9ja19jb3VudBgFIAEoBFILYmxvY2tfY291bnQihwEKEmJsb2NrX2hpc3RvcnlfbGlzdBI9CgdvYmplY3RzGAEgAygLMiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeRIyChRkdW1wX3Byb2Nlc3NfZW5hYmxlZBgCIAEoCFIUZHVtcF9wcm9jZXNzX2VuYWJsZWQyuAEKDmNvbmZpZ19zZXJ2aWNlEjcKBGxvYWQSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nEjcKBHNhdmUSFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjQKBGluZm8SFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFC55dWhhaWluLmNvbmZpZy5pbmZvMuICCgZieXBhc3MSNgoEbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLnl1aGFpaW4uYnlwYXNzLmNvbmZpZxI2CgRzYXZlEhYueXVoYWlpbi5ieXBhc3MuY29uZmlnGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjgKBnJlbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJSCgR0ZXN0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0QjhaNmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvc2VydmljZWIGcHJvdG8z",[o.Pr,c.qc,r.t,s.Ax,u.i]),i=(0,a.Z)(d,0),m=(0,a.Z)(d,2)},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var l=n(4617),a=n.n(l),o=n(2115),c=n(1653),r=n(2389),s=n(2471),u=n(5155);let d=o.forwardRef((e,t)=>{let{className:n,bsPrefix:l,as:o="span",...r}=e;return l=(0,c.oU)(l,"input-group-text"),(0,u.jsx)(o,{ref:t,className:a()(n,l),...r})});d.displayName="InputGroupText";let i=o.forwardRef((e,t)=>{let{bsPrefix:n,size:l,hasValidation:r,className:d,as:i="div",...m}=e;n=(0,c.oU)(n,"input-group");let b=(0,o.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:b,children:(0,u.jsx)(i,{ref:t,...m,className:a()(d,n,l&&"".concat(n,"-").concat(l),r&&"has-validation")})})});i.displayName="InputGroup";let m=Object.assign(i,{Text:d,Radio:e=>(0,u.jsx)(d,{children:(0,u.jsx)(r.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(d,{children:(0,u.jsx)(r.A,{type:"checkbox",...e})})})},2471:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let l=n(2115).createContext(null);l.displayName="InputGroupContext";let a=l},9537:(e,t,n)=>{"use strict";function l(e,t,...n){if(0==n.length)return e.enums[t];let a=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[a]}n.d(t,{R:()=>l})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>o,w:()=>c});var l=n(6788),a=n(8123);let o=(0,l.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),c=(0,a.Z)(o,0)}},e=>{var t=t=>e(e.s=t);e.O(0,[235,515,920,708,878,441,517,358],()=>t(5640)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/about/page-eebca1461c59c69a.js b/_next/static/chunks/app/docs/config/about/page-509794d087b66b43.js similarity index 98% rename from _next/static/chunks/app/docs/config/about/page-eebca1461c59c69a.js rename to _next/static/chunks/app/docs/config/about/page-509794d087b66b43.js index 09fe4280..0517d762 100644 --- a/_next/static/chunks/app/docs/config/about/page-eebca1461c59c69a.js +++ b/_next/static/chunks/app/docs/config/about/page-509794d087b66b43.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{4749:(e,t,n)=>{Promise.resolve().then(n.bind(n,8187))},8187:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(5155),a=n(2981),l=n(7204),i=n(4995),o=n(8927),s=n(878);let u=function(){var e,t,n,u,c,d,f,p;let{data:v}=(0,i.Ay)("/info",(0,o.AD)(s.Ii),{});return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.A,{children:(0,r.jsxs)(a.A.Body,{children:[(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Version",value:null!==(e=null==v?void 0:v.version)&&void 0!==e?e:""}),(0,r.jsx)(l.a9,{url:"https://github.com/yuhaiin/yuhaiin/commit/"+(null==v?void 0:v.commit),plaintext:!0,mb:"mb-0",label:"Commit",value:null!==(t=null==v?void 0:v.commit)&&void 0!==t?t:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Build Time",value:null!==(n=null==v?void 0:v.buildTime)&&void 0!==n?n:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Go Version",value:null!==(u=null==v?void 0:v.goVersion)&&void 0!==u?u:""}),(0,r.jsx)(l.a9,{url:"https://github.com/yuhaiin/yuhaiin",plaintext:!0,mb:"mb-0",label:"Github",value:"yuhaiin/yuhaiin"}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"OS",value:null!==(c=null==v?void 0:v.os)&&void 0!==c?c:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Arch",value:null!==(d=null==v?void 0:v.arch)&&void 0!==d?d:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Compiler",value:null!==(f=null==v?void 0:v.compiler)&&void 0!==f?f:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Platform",value:null!==(p=null==v?void 0:v.platform)&&void 0!==p?p:""}),(0,r.jsx)(l.kk,{title:"Build",data:null==v?void 0:v.build,mb:"mb-0"})]})})})}},3853:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2115);let a=function(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),t};function l(e){let t=a(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}},804:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2115);let a=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,l=function(e,t){return(0,r.useMemo)(()=>(function(e,t){let n=a(e),r=a(t);return e=>{n&&n(e),r&&r(e)}})(e,t),[e,t])}},2773:(e,t,n)=>{"use strict";n.d(t,{Am:()=>i,Ay:()=>s});var r=n(2115),a=n(5155);let l=["as","disabled"];function i({tagName:e,disabled:t,href:n,target:r,rel:a,role:l,onClick:i,tabIndex:o=0,type:s}){e||(e=null!=n||null!=r||null!=a?"a":"button");let u={tagName:e};if("button"===e)return[{type:s||"button",disabled:t},u];let c=r=>{var a;if(!t&&("a"!==e||(a=n)&&"#"!==a.trim())||r.preventDefault(),t){r.stopPropagation();return}null==i||i(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=l?l:"button",disabled:void 0,tabIndex:t?void 0:o,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?a:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},u]}let o=r.forwardRef((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,l),[s,{tagName:u}]=i(Object.assign({tagName:n,disabled:r},o));return(0,a.jsx)(u,Object.assign({},o,s,{ref:t}))});o.displayName="Button";let s=o},6930:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(7678),a=!1,l=!1;try{var i={get passive(){return a=!0},get once(){return l=a=!0}};r.A&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}let o=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!l){var i=r.once,o=r.capture,s=n;!l&&i&&(s=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=s),e.addEventListener(t,s,a?r:o)}e.addEventListener(t,n,r)}},7678:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},5376:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6930),a=n(9221);let l=function(e,t,n,l){return(0,r.Ay)(e,t,n,l),function(){(0,a.A)(e,t,n,l)}}},5255:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},9221:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n,r){var a=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)}},5192:(e,t,n)=>{"use strict";var r=n(859);function a(){}function l(){}l.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,l,i){if(i!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:a};return n.PropTypes=n,n}},1996:(e,t,n)=>{e.exports=n(5192)()},859:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2963:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),l=n(2115),i=n(2773),o=n(1653),s=n(5155);let u=l.forwardRef((e,t)=>{let{as:n,bsPrefix:r,variant:l="primary",size:u,active:c=!1,disabled:d=!1,className:f,...p}=e,v=(0,o.oU)(r,"btn"),[m,{tagName:b}]=(0,i.Am)({tagName:n,disabled:d,...p});return(0,s.jsx)(b,{...m,...p,ref:t,disabled:d,className:a()(f,v,c&&"active",l&&"".concat(v,"-").concat(l),u&&"".concat(v,"-").concat(u),p.href&&d&&"disabled")})});u.displayName="Button";let c=u},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:l=!1,className:s,role:u="group",as:c="div",...d}=e,f=(0,i.oU)(n,"btn-group"),p=f;return l&&(p="".concat(f,"-vertical")),(0,o.jsx)(c,{...d,ref:t,role:u,className:a()(s,p,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let u=s},7251:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let r=n(2115).createContext(null);r.displayName="CardHeaderContext";let a=r},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(2389),s=n(2471),u=n(5155);let c=l.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:l="span",...o}=e;return r=(0,i.oU)(r,"input-group-text"),(0,u.jsx)(l,{ref:t,className:a()(n,r),...o})});c.displayName="InputGroupText";let d=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:o,className:c,as:d="div",...f}=e;n=(0,i.oU)(n,"input-group");let p=(0,l.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:p,children:(0,u.jsx)(d,{ref:t,...f,className:a()(c,n,r&&"".concat(n,"-").concat(r),o&&"has-validation")})})});d.displayName="InputGroup";let f=Object.assign(d,{Text:c,Radio:e=>(0,u.jsx)(c,{children:(0,u.jsx)(o.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(c,{children:(0,u.jsx)(o.A,{type:"checkbox",...e})})})},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:l="div",...s}=e,u=(0,i.oU)(n,"row"),c=(0,i.gy)(),d=(0,i.Jm)(),f="".concat(u,"-cols"),p=[];return c.forEach(e=>{let t;let n=s[e];delete s[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&p.push("".concat(f).concat(e!==d?"-".concat(e):"","-").concat(t))}),(0,o.jsx)(l,{ref:t,...s,className:a()(r,u,...p)})});s.displayName="Row";let u=s},7449:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2115),a=n(4617),l=n.n(a),i=n(5155);let o=e=>r.forwardRef((t,n)=>(0,i.jsx)("div",{...t,ref:n,className:l()(t.className,e)}))},1809:e=>{"use strict";e.exports=function(){}},160:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},9537:(e,t,n)=>{"use strict";function r(e,t,...n){if(0==n.length)return e.enums[t];let a=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[a]}n.d(t,{R:()=>r})}},e=>{var t=t=>e(e.s=t);e.O(0,[235,995,920,637,306,878,441,517,358],()=>t(4749)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{4749:(e,t,n)=>{Promise.resolve().then(n.bind(n,8187))},8187:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(5155),a=n(2981),l=n(7204),i=n(4995),o=n(8927),s=n(878);let u=function(){var e,t,n,u,c,d,f,p;let{data:v}=(0,i.Ay)("/info",(0,o.AD)(s.Ii),{});return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.A,{children:(0,r.jsxs)(a.A.Body,{children:[(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Version",value:null!==(e=null==v?void 0:v.version)&&void 0!==e?e:""}),(0,r.jsx)(l.a9,{url:"https://github.com/yuhaiin/yuhaiin/commit/"+(null==v?void 0:v.commit),plaintext:!0,mb:"mb-0",label:"Commit",value:null!==(t=null==v?void 0:v.commit)&&void 0!==t?t:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Build Time",value:null!==(n=null==v?void 0:v.buildTime)&&void 0!==n?n:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Go Version",value:null!==(u=null==v?void 0:v.goVersion)&&void 0!==u?u:""}),(0,r.jsx)(l.a9,{url:"https://github.com/yuhaiin/yuhaiin",plaintext:!0,mb:"mb-0",label:"Github",value:"yuhaiin/yuhaiin"}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"OS",value:null!==(c=null==v?void 0:v.os)&&void 0!==c?c:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Arch",value:null!==(d=null==v?void 0:v.arch)&&void 0!==d?d:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Compiler",value:null!==(f=null==v?void 0:v.compiler)&&void 0!==f?f:""}),(0,r.jsx)(l.a9,{plaintext:!0,mb:"mb-0",label:"Platform",value:null!==(p=null==v?void 0:v.platform)&&void 0!==p?p:""}),(0,r.jsx)(l.kk,{title:"Build",data:null==v?void 0:v.build,mb:"mb-0"})]})})})}},3853:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2115);let a=function(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),t};function l(e){let t=a(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}},804:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2115);let a=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,l=function(e,t){return(0,r.useMemo)(()=>(function(e,t){let n=a(e),r=a(t);return e=>{n&&n(e),r&&r(e)}})(e,t),[e,t])}},2773:(e,t,n)=>{"use strict";n.d(t,{Am:()=>i,Ay:()=>s});var r=n(2115),a=n(5155);let l=["as","disabled"];function i({tagName:e,disabled:t,href:n,target:r,rel:a,role:l,onClick:i,tabIndex:o=0,type:s}){e||(e=null!=n||null!=r||null!=a?"a":"button");let u={tagName:e};if("button"===e)return[{type:s||"button",disabled:t},u];let c=r=>{var a;if(!t&&("a"!==e||(a=n)&&"#"!==a.trim())||r.preventDefault(),t){r.stopPropagation();return}null==i||i(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=l?l:"button",disabled:void 0,tabIndex:t?void 0:o,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?a:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},u]}let o=r.forwardRef((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,l),[s,{tagName:u}]=i(Object.assign({tagName:n,disabled:r},o));return(0,a.jsx)(u,Object.assign({},o,s,{ref:t}))});o.displayName="Button";let s=o},6930:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(7678),a=!1,l=!1;try{var i={get passive(){return a=!0},get once(){return l=a=!0}};r.A&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}let o=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!l){var i=r.once,o=r.capture,s=n;!l&&i&&(s=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=s),e.addEventListener(t,s,a?r:o)}e.addEventListener(t,n,r)}},7678:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},5376:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6930),a=n(9221);let l=function(e,t,n,l){return(0,r.Ay)(e,t,n,l),function(){(0,a.A)(e,t,n,l)}}},5255:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},9221:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n,r){var a=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)}},5192:(e,t,n)=>{"use strict";var r=n(859);function a(){}function l(){}l.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,l,i){if(i!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:a};return n.PropTypes=n,n}},1996:(e,t,n)=>{e.exports=n(5192)()},859:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2963:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),a=n.n(r),l=n(2115),i=n(2773),o=n(1653),s=n(5155);let u=l.forwardRef((e,t)=>{let{as:n,bsPrefix:r,variant:l="primary",size:u,active:c=!1,disabled:d=!1,className:f,...p}=e,v=(0,o.oU)(r,"btn"),[m,{tagName:b}]=(0,i.Am)({tagName:n,disabled:d,...p});return(0,s.jsx)(b,{...m,...p,ref:t,disabled:d,className:a()(f,v,c&&"active",l&&"".concat(v,"-").concat(l),u&&"".concat(v,"-").concat(u),p.href&&d&&"disabled")})});u.displayName="Button";let c=u},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:l=!1,className:s,role:u="group",as:c="div",...d}=e,f=(0,i.oU)(n,"btn-group"),p=f;return l&&(p="".concat(f,"-vertical")),(0,o.jsx)(c,{...d,ref:t,role:u,className:a()(s,p,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let u=s},7251:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let r=n(2115).createContext(null);r.displayName="CardHeaderContext";let a=r},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(2389),s=n(2471),u=n(5155);let c=l.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:l="span",...o}=e;return r=(0,i.oU)(r,"input-group-text"),(0,u.jsx)(l,{ref:t,className:a()(n,r),...o})});c.displayName="InputGroupText";let d=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:o,className:c,as:d="div",...f}=e;n=(0,i.oU)(n,"input-group");let p=(0,l.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:p,children:(0,u.jsx)(d,{ref:t,...f,className:a()(c,n,r&&"".concat(n,"-").concat(r),o&&"has-validation")})})});d.displayName="InputGroup";let f=Object.assign(d,{Text:c,Radio:e=>(0,u.jsx)(c,{children:(0,u.jsx)(o.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(c,{children:(0,u.jsx)(o.A,{type:"checkbox",...e})})})},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4617),a=n.n(r),l=n(2115),i=n(1653),o=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:l="div",...s}=e,u=(0,i.oU)(n,"row"),c=(0,i.gy)(),d=(0,i.Jm)(),f="".concat(u,"-cols"),p=[];return c.forEach(e=>{let t;let n=s[e];delete s[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&p.push("".concat(f).concat(e!==d?"-".concat(e):"","-").concat(t))}),(0,o.jsx)(l,{ref:t,...s,className:a()(r,u,...p)})});s.displayName="Row";let u=s},7449:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2115),a=n(4617),l=n.n(a),i=n(5155);let o=e=>r.forwardRef((t,n)=>(0,i.jsx)("div",{...t,ref:n,className:l()(t.className,e)}))},1809:e=>{"use strict";e.exports=function(){}},160:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},9537:(e,t,n)=>{"use strict";function r(e,t,...n){if(0==n.length)return e.enums[t];let a=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[a]}n.d(t,{R:()=>r})}},e=>{var t=t=>e(e.s=t);e.O(0,[488,995,920,637,306,878,441,517,358],()=>t(4749)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/inbounds/page-0f3a131858e3831e.js b/_next/static/chunks/app/docs/config/inbounds/page-0f3a131858e3831e.js new file mode 100644 index 00000000..0a270fe1 --- /dev/null +++ b/_next/static/chunks/app/docs/config/inbounds/page-0f3a131858e3831e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[930],{4784:(e,n,s)=>{Promise.resolve().then(s.bind(s,1404))},9169:(e,n,s)=>{"use strict";s.d(n,{A:()=>o});var t=s(5155),a=s(4216),l=s(5554),r=s.n(l);let o=function(e){return(0,t.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,t.jsx)("div",{className:"p2",children:(0,t.jsx)(a.A,{})})]})}},2859:(e,n,s)=>{"use strict";s.d(n,{$d:()=>o});var t=s(5155);s(2115);var a=s(6180),l=s(6121),r=s(3667);let o=e=>(0,t.jsxs)(a.A.Group,{as:l.A,className:"mb-2",children:[(0,t.jsx)(a.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(r.A,{sm:10,className:"d-flex align-items-center",children:(0,t.jsx)(a.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,n,s)=>{"use strict";s.d(n,{u:()=>o,y:()=>c});var t=s(5155),a=s(2115),l=s(1757),r=s(491);let o=(0,a.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:n}=e,[s,c]=(0,a.useState)({value:{},index:0}),i=(e,n)=>c(s=>({value:{...s.value,[s.index]:{text:e,type:n}},index:s.index+1}));return(0,t.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,t.jsx)(l.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(s.value).map(e=>{let[n,a]=e;return(0,t.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=s.value;delete e[n],c({...s,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,t.jsxs)(r.A.Header,{children:[(0,t.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,t.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,t.jsx)(r.A.Body,{className:"text-center",children:a.text})]},"toast"+n)})}),n]})}},1404:(e,n,s)=>{"use strict";s.r(n),s.d(n,{default:()=>$});var t=s(5155),a=s(4995),l=s(8927),r=s(6863),o=s(5554),c=s.n(o),i=s(9169),u=s(0),d=s(2963),h=s(2981),v=s(57),m=s(8003),b=s(6180),x=s(2115),p=s(7641),g=s(3577),j=s(950),C=s(2859),y=s(7204),A=s(6121),w=s(3667),f=s(2273);let Z=x.memo(e=>{let n=n=>{n(e.http),e.onChange(e.http)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{label:"Username",value:e.http.username,onChange:e=>n(n=>n.username=e)}),(0,t.jsx)(y.a9,{label:"Password",value:e.http.password,onChange:e=>n(n=>n.password=e)})]})}),N=x.memo(e=>{let n=n=>{n(e.reverse_http),e.onChange(e.reverse_http)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(y.a9,{label:"Url",value:e.reverse_http.url,onChange:e=>n(n=>n.url=e)})})}),k=x.memo(e=>{let n=n=>{n(e.reverse_tcp),e.onChange(e.reverse_tcp)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(y.a9,{label:"Host",value:e.reverse_tcp.host,onChange:e=>n(n=>n.host=e)})})}),F=x.memo(e=>{let n=n=>{n(e.redir),e.onChange(e.redir)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(y.a9,{label:"Host",value:e.redir.host,onChange:e=>n(n=>n.host=e)})})}),W=x.memo(e=>{let n=n=>{n(e.tproxy),e.onChange(e.tproxy)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.$d,{label:"DNS Hijacking",checked:e.tproxy.dnsHijacking,onChange:()=>n(e=>e.dnsHijacking=!e.dnsHijacking)}),(0,t.jsx)(C.$d,{label:"Force Fake IP",checked:e.tproxy.forceFakeip,onChange:()=>n(e=>e.forceFakeip=!e.forceFakeip)}),(0,t.jsx)(y.a9,{label:"Host",value:e.tproxy.host,onChange:e=>n(n=>n.host=e)})]})}),G=x.memo(e=>{let n=n=>{n(e.socks5),e.onChange(e.socks5)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{label:"Username",value:e.socks5.username,onChange:e=>n(n=>n.username=e)}),(0,t.jsx)(y.a9,{label:"Password",value:e.socks5.password,onChange:e=>n(n=>n.password=e)})]})}),S=x.memo(e=>{let n=n=>{n(e.mixed),e.onChange(e.mixed)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{label:"Username",value:e.mixed.username,onChange:e=>n(n=>n.username=e)}),(0,t.jsx)(y.a9,{label:"Password",value:e.mixed.password,onChange:e=>n(n=>n.password=e)})]})}),E=x.memo(e=>{var n,s;let a=n=>{n(e.tun),e.onChange(e.tun)},[l,r]=(0,x.useState)((0,f.fj)(e.tun.postUp)),[o,c]=(0,x.useState)((0,f.fj)(e.tun.postDown));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.$d,{checked:e.tun.skipMulticast,onChange:()=>a(e=>e.skipMulticast=!e.skipMulticast),label:"Skip Multicast"}),(0,t.jsx)(y.a9,{label:"Name",value:e.tun.name,onChange:e=>a(n=>n.name=e)}),(0,t.jsx)(y.a9,{label:"MTU",value:e.tun.mtu,onChange:e=>a(n=>n.mtu=isNaN(Number(e))?n.mtu:Number(e))}),(0,t.jsx)(y.a9,{label:"IPv4",value:e.tun.portal,onChange:e=>a(n=>n.portal=e)}),(0,t.jsx)(y.a9,{label:"IPv6",value:e.tun.portalV6,onChange:e=>a(n=>n.portalV6=e)}),(0,t.jsx)(y.a9,{label:"Post Up",value:l,onChange:e=>{r(e);try{let n=(0,f.lD)(e);a(e=>e.postUp=n)}catch(e){console.log(e)}}}),(0,t.jsx)(y.a9,{label:"Post Down",value:o,onChange:e=>{c(e);try{let n=(0,f.lD)(e);a(e=>e.postDown=n)}catch(e){console.log(e)}}}),(0,t.jsx)(function(e){return(0,t.jsxs)(b.A.Group,{as:A.A,className:"mb-3",children:[(0,t.jsx)(b.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(w.A,{sm:10,children:(0,t.jsxs)(b.A.Select,{value:p.xz[void 0===e.value||null===e.value?p.xz.fdbased:e.value],onChange:n=>e.onChange(p.xz[n.target.value]),children:[(0,t.jsx)("option",{value:p.xz[p.xz.fdbased],children:"Fdbased"}),(0,t.jsx)("option",{value:p.xz[p.xz.channel],children:"Channel"}),(0,t.jsx)("option",{value:p.xz[p.xz.system_gvisor],children:"System"})]})})]})},{label:"Stack",value:e.tun.driver,onChange:e=>a(n=>n.driver=e)}),(0,t.jsx)(y.e9,{title:"Routes",data:null!==(s=null===(n=e.tun.route)||void 0===n?void 0:n.routes)&&void 0!==s?s:[],onChange:e=>a(n=>{n.route||(n.route=(0,g.v)(p.l,{})),e||(e=[]),n.route&&(n.route.routes=e)})})]})}),Y=e=>null==e||void 0===e.certificates&&void 0===e.nextProtos&&void 0===e.serverNameCertificate,R=x.memo(e=>{let n=n=>{n(e.cert),e.onChange(e.cert)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.jU,{label:"Cert",value:new TextDecoder().decode(e.cert.cert),onChange:e=>n(n=>{n.cert=new TextEncoder().encode(e)})}),(0,t.jsx)(y.jU,{label:"Key",value:new TextDecoder().decode(e.cert.key),onChange:e=>n(n=>{n.key=new TextEncoder().encode(e)})}),(0,t.jsx)(y.a9,{label:"Cert File",value:e.cert.certFilePath,onChange:e=>n(n=>{n.certFilePath=e})}),(0,t.jsx)(y.a9,{label:"Key File",value:e.cert.keyFilePath,onChange:e=>n(n=>{n.keyFilePath=e})})]})}),B=x.memo(e=>{var n,s;let[a,l]=(0,x.useState)("www.example.com"),r=n=>{n(e.tls),e.onChange(e.tls)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.e9,{title:"Next Protos",data:null!==(s=null===(n=e.tls)||void 0===n?void 0:n.nextProtos)&&void 0!==s?s:[],onChange:e=>r(n=>{e&&(n.nextProtos=e)})}),e.tls&&e.tls.certificates.map((e,n)=>(0,t.jsx)(h.A,{className:"mb-2",children:(0,t.jsxs)(h.A.Body,{children:[(0,t.jsx)(h.A.Title,{className:"d-flex justify-content-end align-items-center",children:(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>r(e=>{(null==e?void 0:e.certificates)!==void 0&&e.certificates.splice(n,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})}),(0,t.jsx)(R,{cert:(0,g.v)(p.f6,e),onChange:e=>r(s=>{(null==s?void 0:s.certificates)!==void 0&&(s.certificates[n]=e)})})]})},"tls_certificates"+n)),(0,t.jsx)(m.A,{className:"d-flex justify-content-end mb-2",children:(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>r(e=>{e.certificates.push((0,g.v)(p.f6,{cert:new Uint8Array(0),key:new Uint8Array(0),certFilePath:"",keyFilePath:""}))}),children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"New Certificate"]})}),e.tls&&e.tls.serverNameCertificate&&Object.entries(e.tls.serverNameCertificate).map(e=>{let[n,s]=e;return(0,t.jsx)(h.A,{className:"mb-2",children:(0,t.jsxs)(h.A.Body,{children:[(0,t.jsxs)(h.A.Title,{className:"d-flex justify-content-between align-items-center",children:[n,(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>r(e=>{null==e||delete e.serverNameCertificate[n]}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]}),(0,t.jsx)(R,{cert:(0,g.v)(p.f6,s),onChange:e=>r(s=>{s.serverNameCertificate[n]=e})})]})},"server_name_certificate"+n)}),(0,t.jsxs)(m.A,{className:"d-flex justify-content-end",children:[(0,t.jsx)(b.A.Control,{value:a,onChange:e=>l(e.target.value)}),(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>r(e=>{""!==a&&(e.serverNameCertificate[a]=(0,g.v)(p.f6,{}))}),children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"New SNI Certificate"]})]})]})}),H=x.memo(e=>{let n=n=>{Y(e.quic.tls)&&(e.quic.tls=void 0),n(e.quic),e.onChange(e.quic)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{label:"Host",onChange:e=>n(n=>n.host=e),value:e.quic.host}),e.quic.tls&&(0,t.jsx)(B,{tls:(0,g.v)(p.Qi,null!==e.quic.tls?e.quic.tls:void 0),onChange:e=>n(n=>n.tls=e)})]})}),V=x.memo(e=>{let n=n=>{Y(e.tls.tls)&&(e.tls.tls=void 0),n(e.tls),e.onChange(e.tls)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{plaintext:!0,label:"Protocol",value:"TLS"}),e.tls.tls&&(0,t.jsx)(B,{tls:(0,g.v)(p.Qi,e.tls.tls),onChange:e=>n(n=>n.tls=e)})]})}),I=x.memo(e=>{let n=n=>{n(e.reality),e.onChange(e.reality)},[s,a]=(0,x.useState)({value:""}),[l,r]=(0,x.useState)({value:""});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{plaintext:!0,label:"Protocol",value:"Reality"}),(0,t.jsx)(y.a9,{label:"Dest",value:e.reality.dest,onChange:e=>n(n=>n.dest=e)}),(0,t.jsx)(y.a9,{label:"Private Key",value:e.reality.privateKey,onChange:e=>n(n=>n.privateKey=e)}),(0,t.jsxs)(b.A.Group,{as:A.A,className:"mb-3",children:[(0,t.jsx)(b.A.Label,{column:!0,sm:2,className:"nowrap",children:"Short ID"}),e.reality.shortId.map((e,s)=>(0,t.jsx)(w.A,{sm:{span:10,offset:0!==s?2:0},children:(0,t.jsxs)(m.A,{className:"mb-2",children:[(0,t.jsx)(b.A.Control,{value:e,onChange:e=>n(n=>{n.shortId[s]=e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>n(e=>{e.shortId.splice(s,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})},s)),(0,t.jsx)(w.A,{sm:{span:10,offset:0!==e.reality.shortId.length?2:0},children:(0,t.jsxs)(m.A,{className:"mb-2",children:[(0,t.jsx)(b.A.Control,{value:s.value,onChange:e=>a({value:e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>n(e=>{e.shortId.push(s.value)}),children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]}),(0,t.jsxs)(b.A.Group,{as:A.A,className:"mb-3",children:[(0,t.jsx)(b.A.Label,{column:!0,sm:2,className:"nowrap",children:"Server Name"}),e.reality.serverName.map((e,s)=>(0,t.jsx)(w.A,{sm:{span:10,offset:0!==s?2:0},children:(0,t.jsxs)(m.A,{className:"mb-2",children:[(0,t.jsx)(b.A.Control,{value:e,onChange:e=>n(n=>{n.serverName[s]=e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>n(e=>{e.serverName.splice(s,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})},s)),(0,t.jsx)(w.A,{sm:{span:10,offset:0!==e.reality.serverName.length?2:0},children:(0,t.jsxs)(m.A,{className:"mb-2",children:[(0,t.jsx)(b.A.Control,{value:l.value,onChange:e=>r({value:e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>n(e=>{e.serverName.push(l.value)}),children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})]})});function L(e,n,s){return s?function(e){e(n),s(n)}:function(e){}}let U=e=>{let n=L(p.Zq,e.inbound,e.onChange),s=(s,t)=>{e.inbound.transport.length<=1||s&&0===t||!s&&t===e.inbound.transport.length-1||n(e=>{let n=e.transport[t];e.transport[t]=e.transport[t+(s?-1:1)],e.transport[t+(s?-1:1)]=n})},[a,l]=(0,x.useState)({value:"normal"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.$d,{label:"Enabled",checked:e.inbound.enabled,onChange:()=>{n(e=>e.enabled=!e.enabled)}}),(0,t.jsx)(y.a9,{label:"Name",value:e.inbound.name,onChange:e=>{n(n=>n.name=e)}}),(0,t.jsx)(y.mc,{title:"Network",hideClose:!0,children:(0,t.jsx)(z,{inbound:e.inbound,onChange:e=>{n(n=>e)}})}),(0,t.jsx)(y.mc,{title:"Transport",hideClose:!0,children:(0,t.jsxs)(t.Fragment,{children:[e.inbound.transport.map((a,l)=>{var r,o;return(0,t.jsx)(y.mc,{title:null!==(o=null===(r=a.transport.case)||void 0===r?void 0:r.toString())&&void 0!==o?o:"",onClose:()=>{n(e=>e.transport.splice(l,1))},moveUpDown:new y.fH(e.inbound.transport.length,l,e=>s(e,l)),children:(0,t.jsx)(X,{transport:a,onChange:e=>{n(n=>n.transport[l]=e)}},l)},l)}),(0,t.jsx)(v.A,{variant:"flush",children:(0,t.jsx)(v.A.Item,{children:(0,t.jsxs)(m.A,{children:[(0,t.jsx)(b.A.Select,{value:a.value,onChange:e=>l({value:e.target.value}),children:["normal","tls","mux","http2","websocket","grpc","reality"].map(e=>(0,t.jsx)("option",{value:e,children:e},e))}),(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>n(e=>{switch(a.value){case"normal":e.transport.push((0,g.v)(p.ls,{transport:{case:"normal",value:(0,g.v)(p.Rc,{})}}));break;case"tls":e.transport.push((0,g.v)(p.ls,{transport:{case:"tls",value:(0,g.v)(p.fx,{tls:(0,g.v)(p.Qi,{})})}}));break;case"mux":e.transport.push((0,g.v)(p.ls,{transport:{case:"mux",value:(0,g.v)(p.gE,{})}}));break;case"http2":e.transport.push((0,g.v)(p.ls,{transport:{case:"http2",value:(0,g.v)(p.ql,{})}}));break;case"websocket":e.transport.push((0,g.v)(p.ls,{transport:{case:"websocket",value:(0,g.v)(p.BP,{})}}));break;case"grpc":e.transport.push((0,g.v)(p.ls,{transport:{case:"grpc",value:(0,g.v)(p.E_,{})}}));break;case"reality":e.transport.push((0,g.v)(p.ls,{transport:{case:"reality",value:(0,g.v)(p.K0,{})}}))}}),children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"Add"]})]})})})]})}),(0,t.jsx)(y.mc,{title:"Protocol",hideClose:!0,children:(0,t.jsx)(P,{inbound:e.inbound,onChange:e=>{n(n=>e)}})})]})},z=e=>{var n,s;let a=L(p.Zq,e.inbound,e.onChange),[l,r]=(0,x.useState)({value:null!==(s=null===(n=e.inbound.network.case)||void 0===n?void 0:n.toString())&&void 0!==s?s:"tcpudp"});return(0,x.useEffect)(()=>{r({value:e.inbound.network.case?e.inbound.network.case.toString():"tcpudp"})},[e.inbound]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.A,{variant:"flush",children:(0,t.jsx)(v.A.Item,{children:(0,t.jsxs)(m.A,{children:[(0,t.jsx)(b.A.Select,{value:l.value,onChange:e=>r({value:e.target.value}),children:["empty","tcpudp","quic"].map(e=>(0,t.jsx)("option",{value:e,children:e},e))}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>a(e=>{switch(l.value){case"tcpudp":e.network={case:"tcpudp",value:(0,g.v)(p.as,{})};break;case"quic":e.network={case:"quic",value:(0,g.v)(p.sn,{})};break;case"empty":e.network={case:"empty",value:(0,g.v)(p.bN,{})}}}),children:"Use"})]})})}),(0,t.jsx)("br",{}),(0,t.jsx)(J,{inbound:e.inbound,onChange:e.onChange})]})},J=e=>{let n=L(p.Zq,e.inbound,e.onChange);switch(e.inbound.network.case){case"tcpudp":return(0,t.jsx)(Q,{protocol:e.inbound.network.value,onChange:e=>{n(n=>n.network.value=e)}});case"quic":return(0,t.jsx)(H,{quic:e.inbound.network.value,onChange:e=>{n(n=>n.network.value=e)}});case"empty":return(0,t.jsx)(t.Fragment,{})}},X=e=>{let n=L(p.ls,e.transport,e.onChange);switch(e.transport.transport.case){case"normal":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Normal"})});case"tls":return(0,t.jsx)(V,{tls:e.transport.transport.value,onChange:e=>{n(n=>n.transport.value=e)}});case"mux":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Mux"})});case"http2":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"HTTP2"})});case"websocket":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Websocket"})});case"grpc":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Grpc"})});case"reality":return(0,t.jsx)(I,{reality:e.transport.transport.value,onChange:e=>{n(n=>n.transport.value=e)}})}},D=e=>{let n=L(p.Zq,e.inbound,e.onChange);switch(e.inbound.protocol.case){case"http":return(0,t.jsx)(Z,{http:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"reverseHttp":return(0,t.jsx)(N,{reverse_http:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"reverseTcp":return(0,t.jsx)(k,{reverse_tcp:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"socks5":return(0,t.jsx)(G,{socks5:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"socks4a":return(0,t.jsx)(t.Fragment,{});case"mix":return(0,t.jsx)(S,{mixed:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"redir":return(0,t.jsx)(F,{redir:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"tun":return(0,t.jsx)(E,{tun:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"yuubinsya":return(0,t.jsx)(K,{yuubinsya:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}});case"tproxy":return(0,t.jsx)(W,{tproxy:e.inbound.protocol.value,onChange:e=>{n(n=>n.protocol.value=e)}})}},P=e=>{let n=L(p.Zq,e.inbound,e.onChange),[s,a]=(0,x.useState)({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"});return(0,x.useEffect)(()=>{a({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"})},[e.inbound]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.A,{variant:"flush",children:(0,t.jsx)(v.A.Item,{children:(0,t.jsxs)(m.A,{children:[(0,t.jsx)(b.A.Select,{value:s.value,onChange:e=>a({value:e.target.value}),children:["http","reverseHttp","reverseTcp","socks5","mix","redir","tun","yuubinsya","tproxy"].map(e=>(0,t.jsx)("option",{value:e,children:e},e))}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>n(e=>{switch(s.value){case"http":e.protocol={case:"http",value:(0,g.v)(p.UM,{})};break;case"reverseHttp":e.protocol={case:"reverseHttp",value:(0,g.v)(p.l0,{})};break;case"reverseTcp":e.protocol={case:"reverseTcp",value:(0,g.v)(p.A0,{})};break;case"socks5":e.protocol={case:"socks5",value:(0,g.v)(p.AK,{})};break;case"mix":e.protocol={case:"mix",value:(0,g.v)(p.JX,{})};break;case"redir":e.protocol={case:"redir",value:(0,g.v)(p.Q9,{})};break;case"tun":e.protocol={case:"tun",value:(0,g.v)(p.vC,{})};break;case"yuubinsya":e.protocol={case:"yuubinsya",value:(0,g.v)(p.lA,{})};break;case"tproxy":e.protocol={case:"tproxy",value:(0,g.v)(p.SL,{})}}}),children:"Use"})]})})}),(0,t.jsx)("br",{}),(0,t.jsx)(D,{inbound:e.inbound,onChange:e=>{n(n=>e)}})]})},K=e=>{let n=L(p.lA,e.yuubinsya,e.onChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.$d,{label:"TCP Encrypt",checked:e.yuubinsya.tcpEncrypt,onChange:()=>{n(e=>e.tcpEncrypt=!e.tcpEncrypt)}}),(0,t.jsx)(C.$d,{label:"UDP Encrypt",checked:e.yuubinsya.udpEncrypt,onChange:()=>{n(e=>e.udpEncrypt=!e.udpEncrypt)}}),(0,t.jsx)(y.a9,{label:"Password",value:e.yuubinsya.password,onChange:e=>{n(n=>n.password=e)}})]})},Q=e=>{let n=L(p.as,e.protocol,e.onChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.a9,{label:"Host",value:e.protocol.host,onChange:e=>{n(n=>n.host=e)}}),(0,t.jsx)(M,{label:"Control",type:p.JM,value:e.protocol.control,onChange:e=>{n(n=>{n.control=e})}})]})};function M(e){var n;return(0,t.jsxs)(b.A.Group,{as:A.A,className:"mb-3",children:[(0,t.jsx)(b.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(w.A,{sm:10,children:(0,t.jsx)(b.A.Select,{value:e.value,onChange:n=>e.onChange(Number(n.target.value)),children:e.type.values.filter(null!==(n=e.filter)&&void 0!==n?n:()=>!0).map(e=>(0,t.jsx)("option",{value:e.number,children:e.name},e.number))})})]})}var q=s(1936),T=s(148);let _=e=>{let n=(0,x.useContext)(T.u),{data:s,error:o,isLoading:c,isValidating:h,mutate:v}=(0,a.Ay)(""===e.name?void 0:"/inbound",(0,l.L1)(r.mz.method.get,"POST",(0,g.v)(q.g8,{value:e.name}),e.isNew?(0,g.v)(p.Zq,{name:e.name,enabled:!1}):void 0),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,x.useEffect)(()=>{v()},[e.name,e.isNew]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(u.A,{show:e.show,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[(0,t.jsx)(u.A.Header,{children:(0,t.jsx)(u.A.Title,{id:"contained-modal-title-vcenter",children:e.name})}),(0,t.jsx)(u.A.Body,{children:o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("h4",{className:"text-center my-2",children:[o.code," - ",o.msg]}),(0,t.jsx)("pre",{className:"text-center my-2 text-danger lead",children:o.raw})]}):h||c||!s?(0,t.jsx)(i.A,{}):(0,t.jsx)(U,{inbound:s,onChange:e=>{v((0,j.o)(p.Zq,e),!1)}})}),(0,t.jsxs)(u.A.Footer,{children:[(0,t.jsx)(d.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,t.jsx)(d.A,{variant:"outline-primary",onClick:()=>{(0,l.kP)(r.mz.method.save,"/inbound","PATCH",s).then(async s=>{let{error:t}=s;if(void 0===t)n.Info("save successful"),e.onHide(!0);else{let e=await t.msg;n.Error(e),console.error(t.code,e)}})},children:"Save"})]})]})})},$=function(){let e=(0,x.useContext)(T.u),{data:n,error:s,isLoading:o,mutate:u}=(0,a.Ay)("/inbounds",(0,l.L1)(r.mz.method.list)),[p,j]=(0,x.useState)({show:!1,name:"",new:!1}),[C,y]=(0,x.useState)({value:""});if(void 0!==s)return(0,t.jsx)(c(),{statusCode:s.code,title:s.msg});if(o||void 0===n)return(0,t.jsx)(i.A,{});let A=n=>{(0,l.kP)(r.mz.method.remove,"/inbound","DELETE",(0,g.v)(q.g8,{value:n})).then(async n=>{let{error:s}=n;if(void 0===s)e.Info("remove successful"),u();else{let n=await s.msg;e.Error(n),console.error(s.code,n)}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(_,{show:p.show,name:p.name,onHide:e=>{e&&u(),j({...p,show:!1})},isNew:p.new}),(0,t.jsxs)(h.A,{children:[0===n.names.length&&(0,t.jsxs)(h.A.Body,{children:[(0,t.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"No Inbounds"})," "]}),0!==n.names.length&&(0,t.jsx)(v.A,{variant:"flush",children:n.names.sort((e,n)=>e<=n?-1:1).map((e,n)=>(0,t.jsx)(x.Fragment,{children:(0,t.jsxs)(v.A.Item,{action:!0,className:"d-flex justify-content-between align-items-center",style:{border:"0ch",borderBottom:"1px solid #dee2e6"},onClick:n=>{n.stopPropagation(),j({show:!0,name:e,new:!1})},children:[e,(0,t.jsx)(d.A,{variant:"outline-danger",size:"sm",as:"span",onClick:n=>{n.stopPropagation(),A(e)},children:(0,t.jsx)("i",{className:"bi bi-x-lg"})},n+"span-button")]})},"inbounds-"+n))}),(0,t.jsx)(h.A.Footer,{children:(0,t.jsxs)(m.A,{className:"d-flex justify-content-end",children:[(0,t.jsx)(b.A.Control,{value:C.value,onChange:e=>y({value:e.target.value})}),(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>{!C.value||n.names.includes(C.value)||(p.name===C.value&&p.new?j(e=>({...e,show:!0})):j({show:!0,name:C.value,new:!0}))},children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"New "]})]})})]})]})}},6863:(e,n,s)=>{"use strict";s.d(n,{C$:()=>v,LH:()=>m,mz:()=>b});var t=s(6788),a=s(8123),l=s(4395),r=s(878),o=s(4805),c=s(7641),i=s(9297),u=s(1936),d=s(9678);let h=(0,t.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVz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Byb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0MpkCCgdpbmJvdW5kElAKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaMC55dWhhaWluLnByb3Rvcy5jb25maWcuc2VydmljZS5pbmJvdW5kc19yZXNwb25zZRI+CgNnZXQSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaGS55dWhhaWluLmxpc3RlbmVyLmluYm91bmQSPAoEc2F2ZRIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBoZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBI+CgZyZW1vdmUSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHlCOFo2Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9zZXJ2aWNlYgZwcm90bzM",[r.Pr,o.qc,c._6,i.t,u.Ax,d.i]),v=(0,a.Z)(h,0),m=(0,a.Z)(h,2),b=(0,l.Z)(h,2)},2273:(e,n)=>{"use strict";class s{constructor(e){this.i=0,this.string=e,this.whitespace=" \r\n",this.quotes="'\"",this.escapes="\\",this.escapedQuotes='"',this.ansiCQuotes=!0,this.localeQuotes=!0,this.debug=!1}readChar(){return this.string.charAt(this.i++)}processEscapes(e,n,s){if(!s&&!this.escapedQuotes.includes(n))return e;let t="["+this.escapes.replace(/(.)/g,"\\$1")+"]";if(!s&&this.escapedQuotes.includes(n)){let s=RegExp(t+"("+t+"|\\"+n+")","g");return e.replace(s,"$1")}if(s){let n={"([\\\\'\"?])":e=>e,a:()=>"\x07",b:()=>"\b","e|E":()=>"\x1b",f:()=>"\f",n:()=>"\n",r:()=>"\r",t:()=>" ",v:()=>"\v","([0-7]{1,3})":e=>String.fromCharCode(parseInt(e,8)),"x([0-9a-fA-F]{1,2})":e=>String.fromCharCode(parseInt(e,16)),"u([0-9a-fA-F]{1,4})":e=>String.fromCharCode(parseInt(e,16)),"U([0-9a-fA-F]{1,8})":e=>String.fromCharCode(parseInt(e,16)),"c(.)":e=>"?"===e?"\x7f":"@"===e?"\0":String.fromCharCode(31&e.charCodeAt(0))},s=RegExp(t+"("+Object.keys(n).join("|")+")","g");return e.replace(s,function(e,s){for(let e in n){let t=RegExp("^"+e+"$").exec(s);if(null!==t)return n[e].apply(null,t.slice(1))}})}}*[Symbol.iterator](){let e,n=!1,s=!1,t=!1,a=-2;for(this.debug&&console.log("full input:",">"+this.string+"<");;){let l=this.i,r=this.readChar();if(this.debug&&console.log("position:",l,"input:",">"+r+"<","accumulated:",e,"inQuote:",n,"inDollarQuote:",s,"lastDollar:",a,"escaped:",t),""===r){if(n)throw Error("Got EOF while in a quoted string");if(t)throw Error("Got EOF while in an escape sequence");void 0!==e&&(yield e);return}if(t){"\n"===r||(e=n?(e||"")+t+r:(e||"")+r),t=!1;continue}if(this.escapes.includes(r)&&(!n||!1!==s||this.escapedQuotes.includes(n))){t=r;continue}if(!1!==n){if(r===n){e=this.processEscapes(e,n,"'"===s),n=!1,s=!1;continue}e=(e||"")+r;continue}if(this.quotes.includes(r)){n=r,a===l-1&&("'"!==r||this.ansiCQuotes)&&('"'!==r||this.localeQuotes)&&(s=r),e=e||"",!1!==s&&(e=e.slice(0,-1));continue}if(!1===n&&"$"===r&&(a=l),this.whitespace.includes(r)){void 0!==e&&(yield e),e=void 0;continue}e=(e||"")+r}}}n.lD=function(e){return Array.from(new s(e))},n.hD=function(e){return""===e?"''":/[^\w@%\-+=:,./]/.test(e)?("'"+e.replace(/('+)/g,"'\"$1\"'")+"'").replace(/^''|''$/g,""):e},n.fj=function(e){if(!Array.isArray(e))throw TypeError("args should be an array");return e.map(n.hD).join(" ")}},9537:(e,n,s)=>{"use strict";function t(e,n,...s){if(0==s.length)return e.enums[n];let a=s.pop();return s.reduce((e,n)=>e.nestedMessages[n],e.messages[n]).nestedEnums[a]}s.d(n,{R:()=>t})},4395:(e,n,s)=>{"use strict";function t(e,n,...s){if(s.length>0)throw Error();return e.services[n]}s.d(n,{Z:()=>t})},9297:(e,n,s)=>{"use strict";s.d(n,{t:()=>l,v:()=>r});var t=s(6788),a=s(8123);let l=(0,t.w)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"),r=(0,a.Z)(l,0)},9678:(e,n,s)=>{"use strict";s.d(n,{i:()=>l,w:()=>r});var t=s(6788),a=s(8123);let l=(0,t.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),r=(0,a.Z)(l,0)},1936:(e,n,s)=>{"use strict";s.d(n,{Ax:()=>l,g8:()=>r});var t=s(6788),a=s(8123);let l=(0,t.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),r=(0,a.Z)(l,7)}},e=>{var n=n=>e(e.s=n);e.O(0,[488,995,515,920,637,354,734,306,878,441,517,358],()=>n(4784)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/page-845708ad2c1f825b.js b/_next/static/chunks/app/docs/config/page-845708ad2c1f825b.js new file mode 100644 index 00000000..b5ead519 --- /dev/null +++ b/_next/static/chunks/app/docs/config/page-845708ad2c1f825b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[779],{6381:(e,l,a)=>{Promise.resolve().then(a.bind(a,493))},9169:(e,l,a)=>{"use strict";a.d(l,{A:()=>i});var n=a(5155),s=a(4216),t=a(5554),o=a.n(t);let i=function(e){return(0,n.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(o(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,n.jsx)("div",{className:"p2",children:(0,n.jsx)(s.A,{})})]})}},2859:(e,l,a)=>{"use strict";a.d(l,{$d:()=>i});var n=a(5155);a(2115);var s=a(6180),t=a(6121),o=a(3667);let i=e=>(0,n.jsxs)(s.A.Group,{as:t.A,className:"mb-2",children:[(0,n.jsx)(s.A.Label,{column:!0,sm:2,children:e.label}),(0,n.jsx)(o.A,{sm:10,className:"d-flex align-items-center",children:(0,n.jsx)(s.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,l,a)=>{"use strict";a.d(l,{u:()=>i,y:()=>r});var n=a(5155),s=a(2115),t=a(1757),o=a(491);let i=(0,s.createContext)({Info:e=>{},Error:e=>{}}),r=e=>{let{children:l}=e,[a,r]=(0,s.useState)({value:{},index:0}),d=(e,l)=>r(a=>({value:{...a.value,[a.index]:{text:e,type:l}},index:a.index+1}));return(0,n.jsxs)(i.Provider,{value:{Info:e=>{console.log(e),d(e,"success")},Error:e=>{console.error(e),d(e,"danger")}},children:[(0,n.jsx)(t.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(a.value).map(e=>{let[l,s]=e;return(0,n.jsxs)(o.A,{role:"alert","aria-live":"assertive",show:!0,bg:s.type,onClose:()=>{let e=a.value;delete e[l],r({...a,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,n.jsxs)(o.A.Header,{children:[(0,n.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,n.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,n.jsx)(o.A.Body,{className:"text-center",children:s.text})]},"toast"+l)})}),l]})}},493:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>D});var n=a(5155),s=a(2115),t=a(7471),o=a(2981),i=a(3360),r=a(6180),d=a(6121),c=a(3667),v=a(5166),u=a(8627),h=a(2963),m=a(8003),x=a(7204),j=a(2859),b=a(1463);let g=s.memo(e=>{var l,a,t,o,i,d,c,v,u,b,g,A,y,C,f,N,k,S,I,F,R;let[P,w]=(0,s.useState)({key:"",value:""}),W=l=>{l(e.data),e.onChange(e.data)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.a9,{label:"Server",value:e.data.server,onChange:e=>W(l=>l.server=e)}),(0,n.jsx)(x.mc,{title:"FakeDNS",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.$d,{label:"Enabled",checked:e.data.fakedns,onChange:()=>W(e=>e.fakedns=!e.fakedns)}),(0,n.jsx)(x.a9,{label:"IPv4 Range",value:e.data.fakednsIpRange,onChange:e=>W(l=>l.fakednsIpRange=e)}),(0,n.jsx)(x.a9,{label:"IPv6 Range",value:e.data.fakednsIpv6Range,onChange:e=>W(l=>l.fakednsIpv6Range=e)}),(0,n.jsx)(x.e9,{title:"Whitelist",data:e.data.fakednsWhitelist,onChange:e=>W(l=>{e&&(l.fakednsWhitelist=e)})})]})}),(0,n.jsx)(x.mc,{title:"Local DNS",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.a9,{label:"Host",value:null!==(y=null===(l=e.data.local)||void 0===l?void 0:l.host)&&void 0!==y?y:"",onChange:e=>W(l=>{void 0!==l.local&&(l.local.host=e)})}),(0,n.jsx)(p,{label:"Type",value:null===(a=e.data.local)||void 0===a?void 0:a.type,onChange:e=>W(l=>{void 0!==l.local&&(l.local.type=e)})}),(0,n.jsx)(x.a9,{label:"Subnet",value:null!==(C=null===(t=e.data.local)||void 0===t?void 0:t.subnet)&&void 0!==C?C:"",onChange:e=>W(l=>{void 0!==l.local&&(l.local.subnet=e)})}),(0,n.jsx)(x.a9,{label:"SNI",value:null!==(f=null===(o=e.data.local)||void 0===o?void 0:o.tlsServername)&&void 0!==f?f:"",onChange:e=>W(l=>{void 0!==l.local&&(l.local.tlsServername=e)})})]})}),(0,n.jsx)(x.mc,{title:"Remote DNS",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.a9,{label:"Host",value:null!==(N=null===(i=e.data.remote)||void 0===i?void 0:i.host)&&void 0!==N?N:"",onChange:e=>W(l=>{void 0!==l.remote&&(l.remote.host=e)})}),(0,n.jsx)(p,{label:"Type",value:null===(d=e.data.remote)||void 0===d?void 0:d.type,onChange:e=>W(l=>{void 0!==l.remote&&(l.remote.type=e)})}),(0,n.jsx)(x.a9,{label:"Subnet",value:null!==(k=null===(c=e.data.remote)||void 0===c?void 0:c.subnet)&&void 0!==k?k:"",onChange:e=>W(l=>{void 0!==l.remote&&(l.remote.subnet=e)})}),(0,n.jsx)(x.a9,{label:"SNI",value:null!==(S=null===(v=e.data.remote)||void 0===v?void 0:v.tlsServername)&&void 0!==S?S:"",onChange:e=>W(l=>{void 0!==l.remote&&(l.remote.tlsServername=e)})})]})}),(0,n.jsx)(x.mc,{title:"Bootstrap DNS",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.a9,{label:"Host",value:null!==(I=null===(u=e.data.bootstrap)||void 0===u?void 0:u.host)&&void 0!==I?I:"",onChange:e=>W(l=>{void 0!==l.bootstrap&&(l.bootstrap.host=e)})}),(0,n.jsx)(p,{label:"Type",value:null===(b=e.data.bootstrap)||void 0===b?void 0:b.type,onChange:e=>W(l=>{void 0!==l.bootstrap&&(l.bootstrap.type=e)})}),(0,n.jsx)(x.a9,{label:"Subnet",value:null!==(F=null===(g=e.data.bootstrap)||void 0===g?void 0:g.subnet)&&void 0!==F?F:"",onChange:e=>W(l=>{void 0!==l.bootstrap&&(l.bootstrap.subnet=e)})}),(0,n.jsx)(x.a9,{label:"SNI",value:null!==(R=null===(A=e.data.bootstrap)||void 0===A?void 0:A.tlsServername)&&void 0!==R?R:"",onChange:e=>W(l=>{void 0!==l.bootstrap&&(l.bootstrap.tlsServername=e)})})]})}),(0,n.jsx)(x.mc,{title:"Hosts",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[Object.entries(e.data.hosts).sort((e,l)=>{let[a]=e,[n]=l;return a>n?-1:1}).map(e=>{let[l,a]=e;return(0,n.jsxs)(m.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{readOnly:!0,value:l}),(0,n.jsx)(m.A.Text,{children:(0,n.jsx)("i",{className:"bi bi-arrow-right"})}),(0,n.jsx)(r.A.Control,{value:a,onChange:e=>W(a=>a.hosts[l]=e.target.value)}),(0,n.jsx)(h.A,{variant:"outline-danger",onClick:()=>W(e=>delete e.hosts[l]),children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]},"hosts"+l)}),(0,n.jsxs)(m.A,{className:"mb-2",children:[(0,n.jsx)(r.A.Control,{value:P.key,onChange:e=>w({...P,key:e.target.value})}),(0,n.jsx)(m.A.Text,{children:(0,n.jsx)("i",{className:"bi bi-arrow-right"})}),(0,n.jsx)(r.A.Control,{value:P.value,onChange:e=>w({...P,value:e.target.value})}),(0,n.jsx)(h.A,{variant:"outline-success",onClick:()=>{""!==P.key&&void 0===e.data.hosts[P.key]&&W(e=>e.hosts[P.key]=P.value)},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})]})})]})});function p(e){var l;return(0,n.jsxs)(r.A.Group,{as:d.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,n.jsx)(c.A,{sm:10,children:(0,n.jsx)(r.A.Select,{value:b.NW[null!==(l=e.value)&&void 0!==l?l:b.NW.udp],onChange:l=>e.onChange(b.NW[l.target.value]),children:b.m9.values.filter(e=>0!==e.number).map(e=>(0,n.jsx)("option",{value:b.NW[e.number],children:e.name},e.number))})})]})}var A=a(9169),y=a(148),C=a(4995),f=a(8927),N=a(5554),k=a.n(N),S=a(878),I=a(6496),F=a(4431),R=a(950),P=a(3577),w=a(7558),W=a(7641);let D=function(){var e,l,a,m,p,N,F,D;let L=(0,s.useContext)(y.u),{data:G,error:E,isLoading:H,mutate:O}=(0,C.Ay)("/config",(0,f.AD)(S.QN),{revalidateOnFocus:!1}),{data:B}=(0,C.Ay)((null==G?void 0:null===(e=G.platform)||void 0===e?void 0:e.androidApp)?null:"/interfaces",(0,f.AD)(I.yz),{revalidateOnFocus:!0});if(void 0!==E)return(0,n.jsx)(k(),{statusCode:E.code,title:E.msg});if(H||void 0===G)return(0,n.jsx)(A.A,{});let K=e=>{O(l=>{let a=(0,R.o)(S.QN,l);return e(a),a},!1)},T=e=>{var l,a,n=[];return(null===(l=e.systemProxy)||void 0===l?void 0:l.http)&&n.push(1),(null===(a=e.systemProxy)||void 0===a?void 0:a.socks5)&&n.push(2),n};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(t.A.Container,{defaultActiveKey:"home",children:(0,n.jsxs)(o.A,{className:"mb-3",children:[(0,n.jsx)(o.A.Header,{children:(0,n.jsxs)(i.A,{variant:"tabs",style:{flexWrap:"nowrap",overflow:"auto hidden"},children:[(0,n.jsx)(i.A.Item,{children:(0,n.jsx)(i.A.Link,{eventKey:"home",children:"Setting"})}),(0,n.jsx)(i.A.Item,{children:(0,n.jsx)(i.A.Link,{eventKey:"dns",children:"DNS"})})]})}),(0,n.jsx)(o.A.Body,{children:(0,n.jsxs)(t.A.Content,{children:[(0,n.jsx)(t.A.Pane,{eventKey:"home",children:(0,n.jsxs)("fieldset",{disabled:null===(l=G.platform)||void 0===l?void 0:l.androidApp,children:[(0,n.jsx)(j.$d,{label:"IPv6",checked:G.ipv6,onChange:()=>O((0,P.v)(S.QN,{...G,ipv6:!G.ipv6}),!1)}),(0,n.jsx)(x.a9,{label:"Network Interface",value:G.netInterface,onChange:e=>K(l=>l.netInterface=e),reminds:null==B?void 0:B.interfaces.map(e=>{if(e.name){var l;return{label:e.name,value:e.name,label_children:null===(l=e.addresses)||void 0===l?void 0:l.map(e=>e||"")}}}).filter(e=>!!e)}),(0,n.jsxs)(r.A.Group,{as:d.A,className:"mb-2",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,className:"nowrap",children:"System Proxy"}),(0,n.jsx)(c.A,{sm:10,children:(0,n.jsxs)(v.A,{type:"checkbox",className:"d-flex",defaultValue:T(G),value:T(G),onChange:e=>{let l=!1,a=!1;for(var n of e)1===n&&(l=!0),2===n&&(a=!0);K(e=>{e.systemProxy=(0,P.v)(S.Oe,{http:l,socks5:a})})},children:[(0,n.jsx)(u.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-1",value:1,children:"HTTP"}),(0,n.jsx)(u.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-2",value:2,children:"SOCKS5"})]})})]}),(0,n.jsx)("hr",{}),(0,n.jsx)(o.A.Title,{className:"mb-2",children:"Inbound"}),(0,n.jsx)(j.$d,{label:"DNS Hijack",checked:null!==(a=G.server)&&void 0!==a&&!!a.hijackDns,onChange:()=>K(e=>e.server.hijackDns=!e.server.hijackDns)}),(0,n.jsx)(j.$d,{label:"Fakedns",checked:null!==(m=G.server)&&void 0!==m&&!!m.hijackDnsFakeip,onChange:()=>K(e=>e.server.hijackDnsFakeip=!e.server.hijackDnsFakeip)}),(0,n.jsx)(j.$d,{label:"Sniff",checked:null!==(N=G.server)&&void 0!==N&&null!==(p=N.sniff)&&void 0!==p&&!!p.enabled,onChange:()=>K(e=>{var l;return e.server.sniff=(0,P.v)(W.c1,{enabled:!(null===(l=e.server.sniff)||void 0===l?void 0:l.enabled)})})}),(0,n.jsx)("hr",{}),(0,n.jsx)(o.A.Title,{className:"mb-2",children:"Logcat"}),(0,n.jsx)(j.$d,{label:"Save",checked:G.logcat.save,onChange:()=>K(e=>e.logcat.save=!e.logcat.save)}),(0,n.jsx)(Z,{label:"Level",value:G.logcat.level,onChange:e=>K(l=>{l.logcat.level=e})})]})}),(0,n.jsx)(t.A.Pane,{eventKey:"dns",title:"DNS",children:(0,n.jsx)("fieldset",{disabled:null===(F=G.platform)||void 0===F?void 0:F.androidApp,children:(0,n.jsx)(g,{data:(0,P.v)(b.ct,G.dns),onChange:e=>K(l=>l.dns=(0,R.o)(b.ct,e))})})})]})}),!(null===(D=G.platform)||void 0===D?void 0:D.androidApp)&&(0,n.jsx)(o.A.Footer,{className:"d-flex justify-content-md-end",children:(0,n.jsx)(h.A,{variant:"outline-primary",onClick:()=>{(0,f.Fp)("/config",{body:(0,w.R)(S.QN,G)}).then(async e=>{let{error:l}=e;void 0!==l?L.Error("save config failed, ".concat(l.code,"| ").concat(await l.msg)):(L.Info("Save Config Successfully"),O())})},children:"Save"})})]})})})};function Z(e){return(0,n.jsxs)(r.A.Group,{as:d.A,className:"mb-3",children:[(0,n.jsx)(r.A.Label,{column:!0,sm:2,children:e.label}),(0,n.jsx)(c.A,{sm:10,children:(0,n.jsxs)(r.A.Select,{value:F.cP[e.value],onChange:l=>e.onChange(F.cP[l.target.value]),children:[(0,n.jsx)("option",{value:F.cP[F.cP.debug],children:"DEBUG"}),(0,n.jsx)("option",{value:F.cP[F.cP.info],children:"INFO"}),(0,n.jsx)("option",{value:F.cP[F.cP.warning],children:"WARN"}),(0,n.jsx)("option",{value:F.cP[F.cP.error],children:"ERROR"})]})})]})}},6496:(e,l,a)=>{"use strict";a.d(l,{yz:()=>i});var n=a(6788),s=a(8123),t=a(9297);let o=(0,n.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[t.t]),i=(0,s.Z)(o,0)}},e=>{var l=l=>e(e.s=l);e.O(0,[488,995,515,920,637,617,306,878,441,517,358],()=>l(6381)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/page-f53111a3dcb4b6fd.js b/_next/static/chunks/app/docs/config/page-f53111a3dcb4b6fd.js deleted file mode 100644 index cf0f19b6..00000000 --- a/_next/static/chunks/app/docs/config/page-f53111a3dcb4b6fd.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[779],{6381:(e,a,n)=>{Promise.resolve().then(n.bind(n,9205))},9169:(e,a,n)=>{"use strict";n.d(a,{A:()=>o});var s=n(5155),l=n(4216),t=n(5554),r=n.n(t);let o=function(e){return(0,s.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(r(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,s.jsx)("div",{className:"p2",children:(0,s.jsx)(l.A,{})})]})}},2859:(e,a,n)=>{"use strict";n.d(a,{$d:()=>o});var s=n(5155);n(2115);var l=n(6180),t=n(6121),r=n(3667);let o=e=>(0,s.jsxs)(l.A.Group,{as:t.A,className:"mb-2",children:[(0,s.jsx)(l.A.Label,{column:!0,sm:2,children:e.label}),(0,s.jsx)(r.A,{sm:10,className:"d-flex align-items-center",children:(0,s.jsx)(l.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,a,n)=>{"use strict";n.d(a,{u:()=>o,y:()=>i});var s=n(5155),l=n(2115),t=n(1757),r=n(491);let o=(0,l.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:a}=e,[n,i]=(0,l.useState)({value:{},index:0}),c=(e,a)=>i(n=>({value:{...n.value,[n.index]:{text:e,type:a}},index:n.index+1}));return(0,s.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,s.jsx)(t.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[a,l]=e;return(0,s.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:l.type,onClose:()=>{let e=n.value;delete e[a],i({...n,value:e}),console.log("close: "+a)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,s.jsxs)(r.A.Header,{children:[(0,s.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,s.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,s.jsx)(r.A.Body,{className:"text-center",children:l.text})]},"toast"+a)})}),a]})}},9205:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>ei});var s=n(5155),l=n(2115),t=n(7471),r=n(2981),o=n(3360),i=n(6180),c=n(6121),d=n(3667),u=n(5166),v=n(8627),h=n(2963),x=n(8003),m=n(7204),j=n(2859),p=n(1463);let b=l.memo(e=>{var a,n,t,r,o,c,d,u,v,p,b,C,y,A,k,f,N,w,S,F,P;let[I,H]=(0,l.useState)({key:"",value:""}),D=a=>{a(e.data),e.onChange(e.data)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Server",value:e.data.server,onChange:e=>D(a=>a.server=e)}),(0,s.jsx)(m.mc,{title:"FakeDNS",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.$d,{label:"Enabled",checked:e.data.fakedns,onChange:()=>D(e=>e.fakedns=!e.fakedns)}),(0,s.jsx)(m.a9,{label:"IPv4 Range",value:e.data.fakednsIpRange,onChange:e=>D(a=>a.fakednsIpRange=e)}),(0,s.jsx)(m.a9,{label:"IPv6 Range",value:e.data.fakednsIpv6Range,onChange:e=>D(a=>a.fakednsIpv6Range=e)}),(0,s.jsx)(m.e9,{title:"Whitelist",data:e.data.fakednsWhitelist,onChange:e=>D(a=>{e&&(a.fakednsWhitelist=e)})})]})}),(0,s.jsx)(m.mc,{title:"Local DNS",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Host",value:null!==(y=null===(a=e.data.local)||void 0===a?void 0:a.host)&&void 0!==y?y:"",onChange:e=>D(a=>{void 0!==a.local&&(a.local.host=e)})}),(0,s.jsx)(g,{label:"Type",value:null===(n=e.data.local)||void 0===n?void 0:n.type,onChange:e=>D(a=>{void 0!==a.local&&(a.local.type=e)})}),(0,s.jsx)(m.a9,{label:"Subnet",value:null!==(A=null===(t=e.data.local)||void 0===t?void 0:t.subnet)&&void 0!==A?A:"",onChange:e=>D(a=>{void 0!==a.local&&(a.local.subnet=e)})}),(0,s.jsx)(m.a9,{label:"SNI",value:null!==(k=null===(r=e.data.local)||void 0===r?void 0:r.tlsServername)&&void 0!==k?k:"",onChange:e=>D(a=>{void 0!==a.local&&(a.local.tlsServername=e)})})]})}),(0,s.jsx)(m.mc,{title:"Remote DNS",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Host",value:null!==(f=null===(o=e.data.remote)||void 0===o?void 0:o.host)&&void 0!==f?f:"",onChange:e=>D(a=>{void 0!==a.remote&&(a.remote.host=e)})}),(0,s.jsx)(g,{label:"Type",value:null===(c=e.data.remote)||void 0===c?void 0:c.type,onChange:e=>D(a=>{void 0!==a.remote&&(a.remote.type=e)})}),(0,s.jsx)(m.a9,{label:"Subnet",value:null!==(N=null===(d=e.data.remote)||void 0===d?void 0:d.subnet)&&void 0!==N?N:"",onChange:e=>D(a=>{void 0!==a.remote&&(a.remote.subnet=e)})}),(0,s.jsx)(m.a9,{label:"SNI",value:null!==(w=null===(u=e.data.remote)||void 0===u?void 0:u.tlsServername)&&void 0!==w?w:"",onChange:e=>D(a=>{void 0!==a.remote&&(a.remote.tlsServername=e)})})]})}),(0,s.jsx)(m.mc,{title:"Bootstrap DNS",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Host",value:null!==(S=null===(v=e.data.bootstrap)||void 0===v?void 0:v.host)&&void 0!==S?S:"",onChange:e=>D(a=>{void 0!==a.bootstrap&&(a.bootstrap.host=e)})}),(0,s.jsx)(g,{label:"Type",value:null===(p=e.data.bootstrap)||void 0===p?void 0:p.type,onChange:e=>D(a=>{void 0!==a.bootstrap&&(a.bootstrap.type=e)})}),(0,s.jsx)(m.a9,{label:"Subnet",value:null!==(F=null===(b=e.data.bootstrap)||void 0===b?void 0:b.subnet)&&void 0!==F?F:"",onChange:e=>D(a=>{void 0!==a.bootstrap&&(a.bootstrap.subnet=e)})}),(0,s.jsx)(m.a9,{label:"SNI",value:null!==(P=null===(C=e.data.bootstrap)||void 0===C?void 0:C.tlsServername)&&void 0!==P?P:"",onChange:e=>D(a=>{void 0!==a.bootstrap&&(a.bootstrap.tlsServername=e)})})]})}),(0,s.jsx)(m.mc,{title:"Hosts",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[Object.entries(e.data.hosts).sort((e,a)=>{let[n]=e,[s]=a;return n>s?-1:1}).map(e=>{let[a,n]=e;return(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{readOnly:!0,value:a}),(0,s.jsx)(x.A.Text,{children:(0,s.jsx)("i",{className:"bi bi-arrow-right"})}),(0,s.jsx)(i.A.Control,{value:n,onChange:e=>D(n=>n.hosts[a]=e.target.value)}),(0,s.jsx)(h.A,{variant:"outline-danger",onClick:()=>D(e=>delete e.hosts[a]),children:(0,s.jsx)("i",{className:"bi bi-x-lg"})})]},"hosts"+a)}),(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{value:I.key,onChange:e=>H({...I,key:e.target.value})}),(0,s.jsx)(x.A.Text,{children:(0,s.jsx)("i",{className:"bi bi-arrow-right"})}),(0,s.jsx)(i.A.Control,{value:I.value,onChange:e=>H({...I,value:e.target.value})}),(0,s.jsx)(h.A,{variant:"outline-success",onClick:()=>{""!==I.key&&void 0===e.data.hosts[I.key]&&D(e=>e.hosts[I.key]=I.value)},children:(0,s.jsx)("i",{className:"bi bi-plus-lg"})})]})]})})]})});function g(e){var a;return(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,children:e.label}),(0,s.jsx)(d.A,{sm:10,children:(0,s.jsx)(i.A.Select,{value:p.NW[null!==(a=e.value)&&void 0!==a?a:p.NW.udp],onChange:a=>e.onChange(p.NW[a.target.value]),children:p.m9.values.filter(e=>0!==e.number).map(e=>(0,s.jsx)("option",{value:p.NW[e.number],children:e.name},e.number))})})]})}var C=n(9169),y=n(148),A=n(4995),k=n(8927),f=n(5554),N=n.n(f),w=n(878),S=n(6496),F=n(4431),P=n(950),I=n(3577),H=n(7641),D=n(0),Z=n(57),T=n(2273);let E=l.memo(e=>{let a=a=>{a(e.http),e.onChange(e.http)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Username",value:e.http.username,onChange:e=>a(a=>a.username=e)}),(0,s.jsx)(m.a9,{label:"Password",value:e.http.password,onChange:e=>a(a=>a.password=e)})]})}),R=l.memo(e=>{let a=a=>{a(e.reverse_http),e.onChange(e.reverse_http)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m.a9,{label:"Url",value:e.reverse_http.url,onChange:e=>a(a=>a.url=e)})})}),q=l.memo(e=>{let a=a=>{a(e.reverse_tcp),e.onChange(e.reverse_tcp)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m.a9,{label:"Host",value:e.reverse_tcp.host,onChange:e=>a(a=>a.host=e)})})}),G=l.memo(e=>{let a=a=>{a(e.redir),e.onChange(e.redir)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m.a9,{label:"Host",value:e.redir.host,onChange:e=>a(a=>a.host=e)})})}),L=l.memo(e=>{let a=a=>{a(e.tproxy),e.onChange(e.tproxy)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.$d,{label:"DNS Hijacking",checked:e.tproxy.dnsHijacking,onChange:()=>a(e=>e.dnsHijacking=!e.dnsHijacking)}),(0,s.jsx)(j.$d,{label:"Force Fake IP",checked:e.tproxy.forceFakeip,onChange:()=>a(e=>e.forceFakeip=!e.forceFakeip)}),(0,s.jsx)(m.a9,{label:"Host",value:e.tproxy.host,onChange:e=>a(a=>a.host=e)})]})}),W=l.memo(e=>{let a=a=>{a(e.socks5),e.onChange(e.socks5)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Username",value:e.socks5.username,onChange:e=>a(a=>a.username=e)}),(0,s.jsx)(m.a9,{label:"Password",value:e.socks5.password,onChange:e=>a(a=>a.password=e)})]})}),_=l.memo(e=>{let a=a=>{a(e.mixed),e.onChange(e.mixed)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Username",value:e.mixed.username,onChange:e=>a(a=>a.username=e)}),(0,s.jsx)(m.a9,{label:"Password",value:e.mixed.password,onChange:e=>a(a=>a.password=e)})]})}),z=l.memo(e=>{var a,n;let t=a=>{a(e.tun),e.onChange(e.tun)},[r,o]=(0,l.useState)((0,T.fj)(e.tun.postUp)),[u,v]=(0,l.useState)((0,T.fj)(e.tun.postDown));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.$d,{checked:e.tun.skipMulticast,onChange:()=>t(e=>e.skipMulticast=!e.skipMulticast),label:"Skip Multicast"}),(0,s.jsx)(m.a9,{label:"Name",value:e.tun.name,onChange:e=>t(a=>a.name=e)}),(0,s.jsx)(m.a9,{label:"MTU",value:e.tun.mtu,onChange:e=>t(a=>a.mtu=isNaN(Number(e))?a.mtu:Number(e))}),(0,s.jsx)(m.a9,{label:"IPv4",value:e.tun.portal,onChange:e=>t(a=>a.portal=e)}),(0,s.jsx)(m.a9,{label:"IPv6",value:e.tun.portalV6,onChange:e=>t(a=>a.portalV6=e)}),(0,s.jsx)(m.a9,{label:"Post Up",value:r,onChange:e=>{o(e);try{let a=(0,T.lD)(e);t(e=>e.postUp=a)}catch(e){console.log(e)}}}),(0,s.jsx)(m.a9,{label:"Post Down",value:u,onChange:e=>{v(e);try{let a=(0,T.lD)(e);t(e=>e.postDown=a)}catch(e){console.log(e)}}}),(0,s.jsx)(function(e){return(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,children:e.label}),(0,s.jsx)(d.A,{sm:10,children:(0,s.jsxs)(i.A.Select,{value:H.xz[void 0===e.value||null===e.value?H.xz.fdbased:e.value],onChange:a=>e.onChange(H.xz[a.target.value]),children:[(0,s.jsx)("option",{value:H.xz[H.xz.fdbased],children:"Fdbased"}),(0,s.jsx)("option",{value:H.xz[H.xz.channel],children:"Channel"}),(0,s.jsx)("option",{value:H.xz[H.xz.system_gvisor],children:"System"})]})})]})},{label:"Stack",value:e.tun.driver,onChange:e=>t(a=>a.driver=e)}),(0,s.jsx)(m.e9,{title:"Routes",data:null!==(n=null===(a=e.tun.route)||void 0===a?void 0:a.routes)&&void 0!==n?n:[],onChange:e=>t(a=>{a.route||(a.route=(0,I.v)(H.l,{})),e||(e=[]),a.route&&(a.route.routes=e)})})]})}),U=e=>null==e||void 0===e.certificates&&void 0===e.nextProtos&&void 0===e.serverNameCertificate,K=l.memo(e=>{let a=a=>{a(e.cert),e.onChange(e.cert)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.jU,{label:"Cert",value:new TextDecoder().decode(e.cert.cert),onChange:e=>a(a=>{a.cert=new TextEncoder().encode(e)})}),(0,s.jsx)(m.jU,{label:"Key",value:new TextDecoder().decode(e.cert.key),onChange:e=>a(a=>{a.key=new TextEncoder().encode(e)})}),(0,s.jsx)(m.a9,{label:"Cert File",value:e.cert.certFilePath,onChange:e=>a(a=>{a.certFilePath=e})}),(0,s.jsx)(m.a9,{label:"Key File",value:e.cert.keyFilePath,onChange:e=>a(a=>{a.keyFilePath=e})})]})}),B=l.memo(e=>{var a,n;let[t,o]=(0,l.useState)("www.example.com"),c=a=>{a(e.tls),e.onChange(e.tls)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.e9,{title:"Next Protos",data:null!==(n=null===(a=e.tls)||void 0===a?void 0:a.nextProtos)&&void 0!==n?n:[],onChange:e=>c(a=>{e&&(a.nextProtos=e)})}),e.tls&&e.tls.certificates.map((e,a)=>(0,s.jsx)(r.A,{className:"mb-2",children:(0,s.jsxs)(r.A.Body,{children:[(0,s.jsx)(r.A.Title,{className:"d-flex justify-content-end align-items-center",children:(0,s.jsx)(h.A,{variant:"outline-danger",onClick:()=>c(e=>{(null==e?void 0:e.certificates)!==void 0&&e.certificates.splice(a,1)}),children:(0,s.jsx)("i",{className:"bi bi-x-lg"})})}),(0,s.jsx)(K,{cert:(0,I.v)(H.f6,e),onChange:e=>c(n=>{(null==n?void 0:n.certificates)!==void 0&&(n.certificates[a]=e)})})]})},"tls_certificates"+a)),(0,s.jsx)(x.A,{className:"d-flex justify-content-end mb-2",children:(0,s.jsxs)(h.A,{variant:"outline-success",onClick:()=>c(e=>{e.certificates.push((0,I.v)(H.f6,{cert:new Uint8Array(0),key:new Uint8Array(0),certFilePath:"",keyFilePath:""}))}),children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"New Certificate"]})}),e.tls&&e.tls.serverNameCertificate&&Object.entries(e.tls.serverNameCertificate).map(e=>{let[a,n]=e;return(0,s.jsx)(r.A,{className:"mb-2",children:(0,s.jsxs)(r.A.Body,{children:[(0,s.jsxs)(r.A.Title,{className:"d-flex justify-content-between align-items-center",children:[a,(0,s.jsx)(h.A,{variant:"outline-danger",onClick:()=>c(e=>{null==e||delete e.serverNameCertificate[a]}),children:(0,s.jsx)("i",{className:"bi bi-x-lg"})})]}),(0,s.jsx)(K,{cert:(0,I.v)(H.f6,n),onChange:e=>c(n=>{n.serverNameCertificate[a]=e})})]})},"server_name_certificate"+a)}),(0,s.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,s.jsx)(i.A.Control,{value:t,onChange:e=>o(e.target.value)}),(0,s.jsxs)(h.A,{variant:"outline-success",onClick:()=>c(e=>{""!==t&&(e.serverNameCertificate[t]=(0,I.v)(H.f6,{}))}),children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"New SNI Certificate"]})]})]})}),M=l.memo(e=>{let a=a=>{U(e.quic.tls)&&(e.quic.tls=void 0),a(e.quic),e.onChange(e.quic)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Host",onChange:e=>a(a=>a.host=e),value:e.quic.host}),e.quic.tls&&(0,s.jsx)(B,{tls:(0,I.v)(H.Qi,null!==e.quic.tls?e.quic.tls:void 0),onChange:e=>a(a=>a.tls=e)})]})}),O=l.memo(e=>{let a=a=>{U(e.tls.tls)&&(e.tls.tls=void 0),a(e.tls),e.onChange(e.tls)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{plaintext:!0,label:"Protocol",value:"TLS"}),e.tls.tls&&(0,s.jsx)(B,{tls:(0,I.v)(H.Qi,e.tls.tls),onChange:e=>a(a=>a.tls=e)})]})}),$=l.memo(e=>{let a=a=>{a(e.reality),e.onChange(e.reality)},[n,t]=(0,l.useState)({value:""}),[r,o]=(0,l.useState)({value:""});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{plaintext:!0,label:"Protocol",value:"Reality"}),(0,s.jsx)(m.a9,{label:"Dest",value:e.reality.dest,onChange:e=>a(a=>a.dest=e)}),(0,s.jsx)(m.a9,{label:"Private Key",value:e.reality.privateKey,onChange:e=>a(a=>a.privateKey=e)}),(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:"Short ID"}),e.reality.shortId.map((e,n)=>(0,s.jsx)(d.A,{sm:{span:10,offset:0!==n?2:0},children:(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{value:e,onChange:e=>a(a=>{a.shortId[n]=e.target.value})}),(0,s.jsx)(h.A,{variant:"outline-danger",onClick:()=>a(e=>{e.shortId.splice(n,1)}),children:(0,s.jsx)("i",{className:"bi bi-x-lg"})})]})},n)),(0,s.jsx)(d.A,{sm:{span:10,offset:0!==e.reality.shortId.length?2:0},children:(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{value:n.value,onChange:e=>t({value:e.target.value})}),(0,s.jsx)(h.A,{variant:"outline-success",onClick:()=>a(e=>{e.shortId.push(n.value)}),children:(0,s.jsx)("i",{className:"bi bi-plus-lg"})})]})})]}),(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:"Server Name"}),e.reality.serverName.map((e,n)=>(0,s.jsx)(d.A,{sm:{span:10,offset:0!==n?2:0},children:(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{value:e,onChange:e=>a(a=>{a.serverName[n]=e.target.value})}),(0,s.jsx)(h.A,{variant:"outline-danger",onClick:()=>a(e=>{e.serverName.splice(n,1)}),children:(0,s.jsx)("i",{className:"bi bi-x-lg"})})]})},n)),(0,s.jsx)(d.A,{sm:{span:10,offset:0!==e.reality.serverName.length?2:0},children:(0,s.jsxs)(x.A,{className:"mb-2",children:[(0,s.jsx)(i.A.Control,{value:r.value,onChange:e=>o({value:e.target.value})}),(0,s.jsx)(h.A,{variant:"outline-success",onClick:()=>a(e=>{e.serverName.push(r.value)}),children:(0,s.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})]})});function V(e,a,n){return n?function(e){e(a),n(a)}:function(e){}}let X=e=>{let[a,n]=(0,l.useState)((0,P.o)(H.Zq,e.value));return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(D.A,{show:e.show,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},onShow:()=>{n((0,P.o)(H.Zq,e.value))},centered:!0,children:[(0,s.jsx)(D.A.Header,{children:(0,s.jsx)(D.A.Title,{id:"contained-modal-title-vcenter",children:e.value.name})}),(0,s.jsx)(D.A.Body,{children:(0,s.jsx)(Y,{inbound:a,onChange:e=>{n((0,P.o)(H.Zq,e))}})}),(0,s.jsxs)(D.A.Footer,{children:[(0,s.jsx)(h.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,s.jsx)(h.A,{variant:"outline-primary",onClick:()=>{e.onChange(a),e.onHide()},children:"Save"})]})]})})},Q=l.memo(e=>{var a;let n=V(H.GT,e.inbounds,e.onChange),[t,o]=(0,l.useState)({show:!1,inbound:(0,I.v)(H.Zq,{}),onChange:e=>{}}),[c,d]=(0,l.useState)({value:""});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(X,{show:t.show,value:t.inbound,onHide:()=>{o({...t,show:!1})},onChange:t.onChange}),(0,s.jsx)(j.$d,{label:"DNS Hijack",checked:!!e.inbounds.hijackDns,onChange:()=>n(e=>e.hijackDns=!e.hijackDns)}),(0,s.jsx)(j.$d,{label:"Fakedns",checked:!!e.inbounds.hijackDnsFakeip,onChange:()=>n(e=>e.hijackDnsFakeip=!e.hijackDnsFakeip)}),(0,s.jsx)(j.$d,{label:"Sniff",checked:null!==(a=e.inbounds.sniff)&&void 0!==a&&!!a.enabled,onChange:()=>n(e=>{var a;return e.sniff=(0,I.v)(H.c1,{enabled:!(null===(a=e.sniff)||void 0===a?void 0:a.enabled)})})}),(0,s.jsx)("hr",{}),(0,s.jsxs)(r.A,{children:[(0,s.jsx)(r.A.Header,{children:"Inbounds"}),0===Object.keys(e.inbounds.inbounds).length?(0,s.jsx)(r.A.Body,{children:(0,s.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"No Inbounds"})}):(0,s.jsx)(Z.A,{variant:"flush",children:Object.entries(e.inbounds.inbounds).sort((e,a)=>e[0]<=a[0]?-1:1).map(e=>{let[a,t]=e;return(0,s.jsx)(l.Fragment,{children:(0,s.jsxs)(Z.A.Item,{action:!0,className:"d-flex justify-content-between align-items-center",style:{border:"0ch",borderBottom:"1px solid #dee2e6"},onClick:e=>{e.stopPropagation(),o({show:!0,inbound:t,onChange:e=>{n(n=>{n.inbounds[a]=e})}})},children:[a,(0,s.jsx)(h.A,{variant:"outline-danger",size:"sm",as:"span",onClick:e=>{e.stopPropagation(),n(e=>{delete e.inbounds[a]})},children:(0,s.jsx)("i",{className:"bi bi-x-lg"})},a+"span-button")]})},"inbounds-"+a)})}),(0,s.jsx)(r.A.Footer,{children:(0,s.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,s.jsx)(i.A.Control,{value:c.value,onChange:e=>d({value:e.target.value})}),(0,s.jsxs)(h.A,{variant:"outline-success",onClick:()=>{""!==c.value&&void 0===e.inbounds.inbounds[c.value]&&n(e=>e.inbounds[c.value]=(0,I.v)(H.Zq,{name:c.value}))},children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"New "]})]})})]})]})}),Y=e=>{let a=V(H.Zq,e.inbound,e.onChange),n=(n,s)=>{e.inbound.transport.length<=1||n&&0===s||!n&&s===e.inbound.transport.length-1||a(e=>{let a=e.transport[s];e.transport[s]=e.transport[s+(n?-1:1)],e.transport[s+(n?-1:1)]=a})},[t,r]=(0,l.useState)({value:"normal"});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.$d,{label:"Enabled",checked:e.inbound.enabled,onChange:()=>{a(e=>e.enabled=!e.enabled)}}),(0,s.jsx)(m.a9,{label:"Name",value:e.inbound.name,onChange:e=>{a(a=>a.name=e)}}),(0,s.jsx)(m.mc,{title:"Network",hideClose:!0,children:(0,s.jsx)(J,{inbound:e.inbound,onChange:e=>{a(a=>e)}})}),(0,s.jsx)(m.mc,{title:"Transport",hideClose:!0,children:(0,s.jsxs)(s.Fragment,{children:[e.inbound.transport.map((l,t)=>{var r,o;return(0,s.jsx)(m.mc,{title:null!==(o=null===(r=l.transport.case)||void 0===r?void 0:r.toString())&&void 0!==o?o:"",onClose:()=>{a(e=>e.transport.splice(t,1))},moveUpDown:new m.fH(e.inbound.transport.length,t,e=>n(e,t)),children:(0,s.jsx)(ea,{transport:l,onChange:e=>{a(a=>a.transport[t]=e)}},t)},t)}),(0,s.jsx)(Z.A,{variant:"flush",children:(0,s.jsx)(Z.A.Item,{children:(0,s.jsxs)(x.A,{children:[(0,s.jsx)(i.A.Select,{value:t.value,onChange:e=>r({value:e.target.value}),children:["normal","tls","mux","http2","websocket","grpc","reality"].map(e=>(0,s.jsx)("option",{value:e,children:e},e))}),(0,s.jsxs)(h.A,{variant:"outline-success",onClick:()=>a(e=>{switch(t.value){case"normal":e.transport.push((0,I.v)(H.ls,{transport:{case:"normal",value:(0,I.v)(H.Rc,{})}}));break;case"tls":e.transport.push((0,I.v)(H.ls,{transport:{case:"tls",value:(0,I.v)(H.fx,{tls:(0,I.v)(H.Qi,{})})}}));break;case"mux":e.transport.push((0,I.v)(H.ls,{transport:{case:"mux",value:(0,I.v)(H.gE,{})}}));break;case"http2":e.transport.push((0,I.v)(H.ls,{transport:{case:"http2",value:(0,I.v)(H.ql,{})}}));break;case"websocket":e.transport.push((0,I.v)(H.ls,{transport:{case:"websocket",value:(0,I.v)(H.BP,{})}}));break;case"grpc":e.transport.push((0,I.v)(H.ls,{transport:{case:"grpc",value:(0,I.v)(H.E_,{})}}));break;case"reality":e.transport.push((0,I.v)(H.ls,{transport:{case:"reality",value:(0,I.v)(H.K0,{})}}))}}),children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"Add"]})]})})})]})}),(0,s.jsx)(m.mc,{title:"Protocol",hideClose:!0,children:(0,s.jsx)(es,{inbound:e.inbound,onChange:e=>{a(a=>e)}})})]})},J=e=>{var a,n;let t=V(H.Zq,e.inbound,e.onChange),[r,o]=(0,l.useState)({value:null!==(n=null===(a=e.inbound.network.case)||void 0===a?void 0:a.toString())&&void 0!==n?n:"tcpudp"});return(0,l.useEffect)(()=>{o({value:e.inbound.network.case?e.inbound.network.case.toString():"tcpudp"})},[e.inbound]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Z.A,{variant:"flush",children:(0,s.jsx)(Z.A.Item,{children:(0,s.jsxs)(x.A,{children:[(0,s.jsx)(i.A.Select,{value:r.value,onChange:e=>o({value:e.target.value}),children:["empty","tcpudp","quic"].map(e=>(0,s.jsx)("option",{value:e,children:e},e))}),(0,s.jsx)(h.A,{variant:"outline-success",onClick:()=>t(e=>{switch(r.value){case"tcpudp":e.network={case:"tcpudp",value:(0,I.v)(H.as,{})};break;case"quic":e.network={case:"quic",value:(0,I.v)(H.sn,{})};break;case"empty":e.network={case:"empty",value:(0,I.v)(H.bN,{})}}}),children:"Use"})]})})}),(0,s.jsx)("br",{}),(0,s.jsx)(ee,{inbound:e.inbound,onChange:e.onChange})]})},ee=e=>{let a=V(H.Zq,e.inbound,e.onChange);switch(e.inbound.network.case){case"tcpudp":return(0,s.jsx)(et,{protocol:e.inbound.network.value,onChange:e=>{a(a=>a.network.value=e)}});case"quic":return(0,s.jsx)(M,{quic:e.inbound.network.value,onChange:e=>{a(a=>a.network.value=e)}});case"empty":return(0,s.jsx)(s.Fragment,{})}},ea=e=>{let a=V(H.ls,e.transport,e.onChange);switch(e.transport.transport.case){case"normal":return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Normal"})});case"tls":return(0,s.jsx)(O,{tls:e.transport.transport.value,onChange:e=>{a(a=>a.transport.value=e)}});case"mux":return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Mux"})});case"http2":return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"HTTP2"})});case"websocket":return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Websocket"})});case"grpc":return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Grpc"})});case"reality":return(0,s.jsx)($,{reality:e.transport.transport.value,onChange:e=>{a(a=>a.transport.value=e)}})}},en=e=>{let a=V(H.Zq,e.inbound,e.onChange);switch(e.inbound.protocol.case){case"http":return(0,s.jsx)(E,{http:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"reverseHttp":return(0,s.jsx)(R,{reverse_http:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"reverseTcp":return(0,s.jsx)(q,{reverse_tcp:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"socks5":return(0,s.jsx)(W,{socks5:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"socks4a":return(0,s.jsx)(s.Fragment,{});case"mix":return(0,s.jsx)(_,{mixed:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"redir":return(0,s.jsx)(G,{redir:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"tun":return(0,s.jsx)(z,{tun:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"yuubinsya":return(0,s.jsx)(el,{yuubinsya:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}});case"tproxy":return(0,s.jsx)(L,{tproxy:e.inbound.protocol.value,onChange:e=>{a(a=>a.protocol.value=e)}})}},es=e=>{let a=V(H.Zq,e.inbound,e.onChange),[n,t]=(0,l.useState)({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"});return(0,l.useEffect)(()=>{t({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"})},[e.inbound]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Z.A,{variant:"flush",children:(0,s.jsx)(Z.A.Item,{children:(0,s.jsxs)(x.A,{children:[(0,s.jsx)(i.A.Select,{value:n.value,onChange:e=>t({value:e.target.value}),children:["http","reverseHttp","reverseTcp","socks5","mix","redir","tun","yuubinsya","tproxy"].map(e=>(0,s.jsx)("option",{value:e,children:e},e))}),(0,s.jsx)(h.A,{variant:"outline-success",onClick:()=>a(e=>{switch(n.value){case"http":e.protocol={case:"http",value:(0,I.v)(H.UM,{})};break;case"reverseHttp":e.protocol={case:"reverseHttp",value:(0,I.v)(H.l0,{})};break;case"reverseTcp":e.protocol={case:"reverseTcp",value:(0,I.v)(H.A0,{})};break;case"socks5":e.protocol={case:"socks5",value:(0,I.v)(H.AK,{})};break;case"mix":e.protocol={case:"mix",value:(0,I.v)(H.JX,{})};break;case"redir":e.protocol={case:"redir",value:(0,I.v)(H.Q9,{})};break;case"tun":e.protocol={case:"tun",value:(0,I.v)(H.vC,{})};break;case"yuubinsya":e.protocol={case:"yuubinsya",value:(0,I.v)(H.lA,{})};break;case"tproxy":e.protocol={case:"tproxy",value:(0,I.v)(H.SL,{})}}}),children:"Use"})]})})}),(0,s.jsx)("br",{}),(0,s.jsx)(en,{inbound:e.inbound,onChange:e=>{a(a=>e)}})]})},el=e=>{let a=V(H.lA,e.yuubinsya,e.onChange);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.$d,{label:"TCP Encrypt",checked:e.yuubinsya.tcpEncrypt,onChange:()=>{a(e=>e.tcpEncrypt=!e.tcpEncrypt)}}),(0,s.jsx)(j.$d,{label:"UDP Encrypt",checked:e.yuubinsya.udpEncrypt,onChange:()=>{a(e=>e.udpEncrypt=!e.udpEncrypt)}}),(0,s.jsx)(m.a9,{label:"Password",value:e.yuubinsya.password,onChange:e=>{a(a=>a.password=e)}})]})},et=e=>{let a=V(H.as,e.protocol,e.onChange);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.a9,{label:"Host",value:e.protocol.host,onChange:e=>{a(a=>a.host=e)}}),(0,s.jsx)(er,{label:"Control",type:H.JM,value:e.protocol.control,onChange:e=>{a(a=>{a.control=e})}})]})};function er(e){var a;return(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,children:e.label}),(0,s.jsx)(d.A,{sm:10,children:(0,s.jsx)(i.A.Select,{value:e.value,onChange:a=>e.onChange(Number(a.target.value)),children:e.type.values.filter(null!==(a=e.filter)&&void 0!==a?a:()=>!0).map(e=>(0,s.jsx)("option",{value:e.number,children:e.name},e.number))})})]})}var eo=n(7558);let ei=function(){var e,a,n,x,g;let f=(0,l.useContext)(y.u),{data:F,error:D,isLoading:Z,mutate:T}=(0,A.Ay)("/config",(0,k.AD)(w.QN),{revalidateOnFocus:!1}),{data:E}=(0,A.Ay)((null==F?void 0:null===(e=F.platform)||void 0===e?void 0:e.androidApp)?null:"/interfaces",(0,k.AD)(S.yz),{revalidateOnFocus:!0});if(void 0!==D)return(0,s.jsx)(N(),{statusCode:D.code,title:D.msg});if(Z||void 0===F)return(0,s.jsx)(C.A,{});let R=e=>{T(a=>{let n=(0,P.o)(w.QN,a);return e(n),n},!1)},q=e=>{var a,n,s=[];return(null===(a=e.systemProxy)||void 0===a?void 0:a.http)&&s.push(1),(null===(n=e.systemProxy)||void 0===n?void 0:n.socks5)&&s.push(2),s};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(t.A.Container,{defaultActiveKey:"home",children:(0,s.jsxs)(r.A,{className:"mb-3",children:[(0,s.jsx)(r.A.Header,{children:(0,s.jsxs)(o.A,{variant:"tabs",style:{flexWrap:"nowrap",overflow:"auto hidden"},children:[(0,s.jsx)(o.A.Item,{children:(0,s.jsx)(o.A.Link,{eventKey:"home",children:"Setting"})}),(0,s.jsx)(o.A.Item,{children:(0,s.jsx)(o.A.Link,{eventKey:"dns",children:"DNS"})}),(0,s.jsx)(o.A.Item,{children:(0,s.jsx)(o.A.Link,{eventKey:"inbound",children:"Inbound"})})]})}),(0,s.jsx)(r.A.Body,{children:(0,s.jsxs)(t.A.Content,{children:[(0,s.jsx)(t.A.Pane,{eventKey:"home",children:(0,s.jsxs)("fieldset",{disabled:null===(a=F.platform)||void 0===a?void 0:a.androidApp,children:[(0,s.jsx)(j.$d,{label:"IPv6",checked:F.ipv6,onChange:()=>T((0,I.v)(w.QN,{...F,ipv6:!F.ipv6}),!1)}),(0,s.jsx)(m.a9,{label:"Network Interface",value:F.netInterface,onChange:e=>R(a=>a.netInterface=e),reminds:null==E?void 0:E.interfaces.map(e=>{if(e.name){var a;return{label:e.name,value:e.name,label_children:null===(a=e.addresses)||void 0===a?void 0:a.map(e=>e||"")}}}).filter(e=>!!e)}),(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-2",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,className:"nowrap",children:"System Proxy"}),(0,s.jsx)(d.A,{sm:10,children:(0,s.jsxs)(u.A,{type:"checkbox",className:"d-flex",defaultValue:q(F),value:q(F),onChange:e=>{let a=!1,n=!1;for(var s of e)1===s&&(a=!0),2===s&&(n=!0);R(e=>{e.systemProxy=(0,I.v)(w.Oe,{http:a,socks5:n})})},children:[(0,s.jsx)(v.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-1",value:1,children:"HTTP"}),(0,s.jsx)(v.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-2",value:2,children:"SOCKS5"})]})})]}),(0,s.jsx)("hr",{}),(0,s.jsx)(r.A.Title,{className:"mb-2",children:"Logcat"}),(0,s.jsx)(j.$d,{label:"Save",checked:F.logcat.save,onChange:()=>R(e=>e.logcat.save=!e.logcat.save)}),(0,s.jsx)(ec,{label:"Level",value:F.logcat.level,onChange:e=>R(a=>{a.logcat.level=e})})]})}),(0,s.jsx)(t.A.Pane,{eventKey:"dns",title:"DNS",children:(0,s.jsx)("fieldset",{disabled:null===(n=F.platform)||void 0===n?void 0:n.androidApp,children:(0,s.jsx)(b,{data:(0,I.v)(p.ct,F.dns),onChange:e=>R(a=>a.dns=(0,P.o)(p.ct,e))})})}),(0,s.jsx)(t.A.Pane,{eventKey:"inbound",title:"Inbound",children:(0,s.jsx)("fieldset",{disabled:null===(x=F.platform)||void 0===x?void 0:x.androidApp,children:(0,s.jsx)(Q,{inbounds:(0,I.v)(H.GT,F.server),onChange:e=>R(a=>a.server=(0,P.o)(H.GT,e))})})})]})}),!(null===(g=F.platform)||void 0===g?void 0:g.androidApp)&&(0,s.jsx)(r.A.Footer,{className:"d-flex justify-content-md-end",children:(0,s.jsx)(h.A,{variant:"outline-primary",onClick:()=>{(0,k.Fp)("/config",{body:(0,eo.R)(w.QN,F)}).then(async e=>{let{error:a}=e;void 0!==a?f.Error("save config failed, ".concat(a.code,"| ").concat(await a.msg)):(f.Info("Save Config Successfully"),T())})},children:"Save"})})]})})})};function ec(e){return(0,s.jsxs)(i.A.Group,{as:c.A,className:"mb-3",children:[(0,s.jsx)(i.A.Label,{column:!0,sm:2,children:e.label}),(0,s.jsx)(d.A,{sm:10,children:(0,s.jsxs)(i.A.Select,{value:F.cP[e.value],onChange:a=>e.onChange(F.cP[a.target.value]),children:[(0,s.jsx)("option",{value:F.cP[F.cP.debug],children:"DEBUG"}),(0,s.jsx)("option",{value:F.cP[F.cP.info],children:"INFO"}),(0,s.jsx)("option",{value:F.cP[F.cP.warning],children:"WARN"}),(0,s.jsx)("option",{value:F.cP[F.cP.error],children:"ERROR"})]})})]})}},6496:(e,a,n)=>{"use strict";n.d(a,{yz:()=>o});var s=n(6788),l=n(8123),t=n(9297);let r=(0,s.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[t.t]),o=(0,l.Z)(r,0)}},e=>{var a=a=>e(e.s=a);e.O(0,[235,995,515,920,637,354,734,30,306,878,441,517,358],()=>a(6381)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/connections/failed/page-39804777c456d55d.js b/_next/static/chunks/app/docs/connections/failed/page-39804777c456d55d.js deleted file mode 100644 index a67a0608..00000000 --- a/_next/static/chunks/app/docs/connections/failed/page-39804777c456d55d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[894],{4776:(e,t,l)=>{Promise.resolve().then(l.bind(l,368))},744:(e,t,l)=>{"use strict";l.d(t,{DH:()=>d,G_:()=>m,Ow:()=>i,Oz:()=>c,VN:()=>R,X3:()=>r,_s:()=>p,dp:()=>b,h$:()=>g,kP:()=>n,mv:()=>h,oH:()=>a,r3:()=>o,u1:()=>s});var n="",c="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",a=!0,d="http://ip.sb",s="stun.syncthing.net:3478",r="stun.nextcloud.com:443";let u=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(c=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(o=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(a="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(d=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(r=e)},i=e=>{v("api_url",e)},b=e=>{v("latency_dns_url",e)},m=e=>{v("latency_http_url",e)},h=e=>{v("latency_ipv6",e.toString())},g=e=>{v("latency_ip_url",e)},p=e=>{v("latency_stun_url",e)},R=e=>{v("latency_stun_tcp_url",e)},v=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),u()};u()},9169:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var n=l(5155),c=l(4216),o=l(5554),a=l.n(o);let d=function(e){return(0,n.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,n.jsx)("div",{className:"p2",children:(0,n.jsx)(c.A,{})})]})}},8927:(e,t,l)=>{"use strict";l.d(t,{AD:()=>a,EY:()=>d,Fp:()=>s,gR:()=>r});var n=l(744),c=l(950),o=l(6989);function a(e,t,l,a){return d=>a?(0,c.o)(e,a):fetch("".concat(n.kP).concat(d),{method:t,body:l}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,o.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function d(e,t,l,c){return a=>fetch("".concat(n.kP).concat(a),{method:l,body:c}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return t((0,o.Er)(e,new Uint8Array(await l.arrayBuffer())))})}let s=async(e,t)=>{let l=await fetch("".concat(n.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return l.ok?void 0===t.process?{}:{data:t.process(l)}:{error:{code:l.status,msg:l.text()}}};function r(e,t,l){return(c,a)=>{let d,{next:s}=a,r=new URL(""!==n.kP?n.kP:window.location.toString());r.pathname=c,r.protocol="https:"===r.protocol?"wss:":"ws:";let u=!1,i=()=>{u||(console.log("connecting to: ".concat(r)),(d=new WebSocket(r)).binaryType="arraybuffer",d.addEventListener("open",t=>{console.log("connect to: ".concat(r,", event type: ").concat(t.type)),null==d||d.send(e)}),d.addEventListener("message",e=>{let n=(0,o.Er)(t,new Uint8Array(e.data));s(null,e=>l(e,n))}),d.addEventListener("error",e=>{let t="websocket have some error";s({msg:t,code:500}),console.log(t,e.type)}),d.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),s(null,void 0),u||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{u=!0,void 0!==d&&(console.log("close: ".concat(c)),d.close(),d=void 0)}}}},368:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>R});var n=l(5155),c=l(2963),o=l(9141),a=l(4995),d=l(8927),s=l(3577),r=l(9678),u=l(8170),i=l(9169),b=l(6903),m=l(2115),h=l(700),g=l.n(h);let p=(0,s.v)(r.w,{seconds:BigInt(0),nanos:0}),R=function(){var e;let[t,l]=(0,m.useState)("Time"),[s,r]=(0,m.useState)(1),h=e=>e===t?r(-s):l(e),R=e=>e===t?(0,n.jsx)("i",{className:-1===s?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,n.jsx)(n.Fragment,{}),v=(e,t)=>e>t?-1*s:1*s,A=e=>(0,n.jsxs)("th",{className:g().clickable,onClick:()=>h(e),children:[e,R(e)]}),{data:G,error:y,isLoading:W,mutate:Z}=(0,a.Ay)("/conn/failed_history",(0,d.AD)(b.Bh));return y?(0,n.jsx)(i.A,{code:y.code,children:y.msg}):W||void 0===G?(0,n.jsx)(i.A,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.A,{variant:"outline-primary",className:"mb-3",onClick:()=>Z(),children:"Refresh"}),(0,n.jsxs)(o.A,{hover:!0,striped:!0,size:"sm",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[A("Time"),(0,n.jsx)("th",{children:"Net"}),A("Host"),A("Count"),(0,n.jsx)("th",{children:"Err"}),G.dumpProcessEnabled&&A("Proc")]})}),(0,n.jsx)("tbody",{className:"text-break",children:null==G?void 0:null===(e=G.objects)||void 0===e?void 0:e.filter(e=>e.time).sort((e,l)=>{var n,c;return"Host"===t?v(e.host,l.host):"Proc"===t?v(e.process,l.process):"Count"===t?v(e.failedCount,l.failedCount):v((0,u.FP)(null!==(n=e.time)&&void 0!==n?n:p),(0,u.FP)(null!==(c=l.time)&&void 0!==c?c:p))}).map((e,t)=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,u.FP)(e.time).toLocaleString()}),(0,n.jsx)("td",{children:e.protocol}),(0,n.jsx)("td",{children:e.host}),(0,n.jsx)("td",{children:Number(e.failedCount)}),(0,n.jsx)("td",{children:e.error}),G.dumpProcessEnabled&&(0,n.jsx)("td",{children:e.process})]},"bh-"+t))})]})]})}},6342:(e,t,l)=>{"use strict";l.d(t,{L9:()=>n,NW:()=>c});let n=(0,l(6788).w)("ChZzdGF0aXN0aWMvY29uZmlnLnByb3RvEhF5dWhhaWluLnN0YXRpc3RpYyKEAQoIbmV0X3R5cGUSNQoJY29ubl90eXBlGAEgASgOMhcueXVoYWlpbi5zdGF0aXN0aWMudHlwZVIJY29ubl90eXBlEkEKD3VuZGVybHlpbmdfdHlwZRgCIAEoDjIXLnl1aGFpaW4uc3RhdGlzdGljLnR5cGVSD3VuZGVybHlpbmdfdHlwZSK4AQoKY29ubmVjdGlvbhIMCgRhZGRyGAEgASgJEgoKAmlkGAIgASgEEikKBHR5cGUYAyABKAsyGy55dWhhaWluLnN0YXRpc3RpYy5uZXRfdHlwZRI3CgVleHRyYRgEIAMoCzIoLnl1aGFpaW4uc3RhdGlzdGljLmNvbm5lY3Rpb24uRXh0cmFFbnRyeRosCgpFeHRyYUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjwEKBHR5cGUSCwoHdW5rbm93bhAAEgcKA3RjcBABEggKBHRjcDQQAhIICgR0Y3A2EAMSBwoDdWRwEAQSCAoEdWRwNBAFEggKBHVkcDYQBhIGCgJpcBAHEgcKA2lwNBAIEgcKA2lwNhAJEggKBHVuaXgQChIMCgh1bml4Z3JhbRALEg4KCnVuaXhwYWNrZXQQDEIzWjFnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var c=function(e){return e[e.unknown=0]="unknown",e[e.tcp=1]="tcp",e[e.tcp4=2]="tcp4",e[e.tcp6=3]="tcp6",e[e.udp=4]="udp",e[e.udp4=5]="udp4",e[e.udp6=6]="udp6",e[e.ip=7]="ip",e[e.ip4=8]="ip4",e[e.ip6=9]="ip6",e[e.unix=10]="unix",e[e.unixgram=11]="unixgram",e[e.unixpacket=12]="unixpacket",e}({})},6903:(e,t,l)=>{"use strict";l.d(t,{Bh:()=>b,SE:()=>i,YA:()=>u,dE:()=>r});var n=l(6788),c=l(8123),o=l(9297),a=l(9678),d=l(6342);let s=(0,n.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5mYWlsZWRfaGlzdG9yeRIQCghwcm90b2NvbBgBIAEoCRIMCgRob3N0GAIgASgJEg0KBWVycm9yGAMgASgJEg8KB3Byb2Nlc3MYBCABKAkSKAoEdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIgoMZmFpbGVkX2NvdW50GAYgASgEUgxmYWlsZWRfY291bnQijAEKE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),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/connections/failed/page-66b5a422196776a0.js b/_next/static/chunks/app/docs/connections/failed/page-66b5a422196776a0.js new file mode 100644 index 00000000..5f3033b1 --- /dev/null +++ b/_next/static/chunks/app/docs/connections/failed/page-66b5a422196776a0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[894],{4776:(t,e,l)=>{Promise.resolve().then(l.bind(l,368))},744:(t,e,l)=>{"use strict";l.d(e,{DH:()=>d,G_:()=>m,Ow:()=>i,Oz:()=>c,VN:()=>y,X3:()=>s,_s:()=>g,dp:()=>b,h$:()=>p,kP:()=>n,mv:()=>h,oH:()=>a,r3:()=>o,u1:()=>r});var n="",c="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",a=!0,d="http://ip.sb",r="stun.syncthing.net:3478",s="stun.nextcloud.com:443";let u=()=>{let t=localStorage.getItem("api_url");n=null!==t?t:"",t=localStorage.getItem("remote_bypass"),null!==(t=localStorage.getItem("latency_http_url"))&&(c=t),null!==(t=localStorage.getItem("latency_dns_url"))&&(o=t),null!==(t=localStorage.getItem("latency_ipv6"))&&(a="true"===t),null!==(t=localStorage.getItem("latency_ip_url"))&&(d=t),null!==(t=localStorage.getItem("latency_stun_url"))&&(r=t),null!==(t=localStorage.getItem("latency_stun_tcp_url"))&&(s=t)},i=t=>{R("api_url",t)},b=t=>{R("latency_dns_url",t)},m=t=>{R("latency_http_url",t)},h=t=>{R("latency_ipv6",t.toString())},p=t=>{R("latency_ip_url",t)},g=t=>{R("latency_stun_url",t)},y=t=>{R("latency_stun_tcp_url",t)},R=(t,e)=>{""===e?localStorage.removeItem(t):localStorage.setItem(t,e),u()};u()},9169:(t,e,l)=>{"use strict";l.d(e,{A:()=>d});var n=l(5155),c=l(4216),o=l(5554),a=l.n(o);let d=function(t){return(0,n.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==t.children&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a(),{className:"p2",statusCode:void 0!==t.code?t.code:500,title:t.children})}),(0,n.jsx)("div",{className:"p2",children:(0,n.jsx)(c.A,{})})]})}},8927:(t,e,l)=>{"use strict";l.d(e,{AD:()=>d,EY:()=>s,Fp:()=>i,L1:()=>r,gR:()=>b,kP:()=>u});var n=l(744),c=l(950),o=l(6989),a=l(7558);function d(t,e,l,a){return d=>a?(0,c.o)(t,a):fetch("".concat(n.kP).concat(d),{method:e,body:l}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,o.Er)(t,new Uint8Array(await e.arrayBuffer()))})}function r(t,e,l,d){return r=>d?(0,c.o)(t.output,d):fetch("".concat(n.kP).concat(r),{method:e,body:l?(0,a.R)(t.input,l):void 0}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,o.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}function s(t,e,l,c){return a=>fetch("".concat(n.kP).concat(a),{method:l,body:c}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return e((0,o.Er)(t,new Uint8Array(await l.arrayBuffer())))})}async function u(t,e,l,n){return i(e,{method:l,body:n?(0,a.R)(t.input,n):void 0,process:async e=>(0,o.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}let i=async(t,e)=>{let l=await fetch("".concat(n.kP).concat(t),{method:void 0!==e.method?e.method:"POST",body:e.body});return l.ok?void 0===e.process?{}:{data:e.process(l)}:{error:{code:l.status,msg:l.text()}}};function b(t,e,l){return(c,a)=>{let d,{next:r}=a,s=new URL(""!==n.kP?n.kP:window.location.toString());s.pathname=c,s.protocol="https:"===s.protocol?"wss:":"ws:";let u=!1,i=()=>{u||(console.log("connecting to: ".concat(s)),(d=new WebSocket(s)).binaryType="arraybuffer",d.addEventListener("open",e=>{console.log("connect to: ".concat(s,", event type: ").concat(e.type)),null==d||d.send(t)}),d.addEventListener("message",t=>{let n=(0,o.Er)(e,new Uint8Array(t.data));r(null,t=>l(t,n))}),d.addEventListener("error",t=>{let e="websocket have some error";r({msg:e,code:500}),console.log(e,t.type)}),d.addEventListener("close",t=>{console.log("websocket closed, code: "+t.code),r(null,void 0),u||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{u=!0,void 0!==d&&(console.log("close: ".concat(c)),d.close(),d=void 0)}}}},368:(t,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>y});var n=l(5155),c=l(2963),o=l(9141),a=l(4995),d=l(8927),r=l(3577),s=l(9678),u=l(8170),i=l(9169),b=l(6903),m=l(2115),h=l(700),p=l.n(h);let g=(0,r.v)(s.w,{seconds:BigInt(0),nanos:0}),y=function(){var t;let[e,l]=(0,m.useState)("Time"),[r,s]=(0,m.useState)(1),h=t=>t===e?s(-r):l(t),y=t=>t===e?(0,n.jsx)("i",{className:-1===r?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,n.jsx)(n.Fragment,{}),R=(t,e)=>t>e?-1*r:1*r,v=t=>(0,n.jsxs)("th",{className:p().clickable,onClick:()=>h(t),children:[t,y(t)]}),{data:A,error:G,isLoading:W,mutate:Z}=(0,a.Ay)("/conn/failed_history",(0,d.AD)(b.Bh));return G?(0,n.jsx)(i.A,{code:G.code,children:G.msg}):W||void 0===A?(0,n.jsx)(i.A,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.A,{variant:"outline-primary",className:"mb-3",onClick:()=>Z(),children:"Refresh"}),(0,n.jsxs)(o.A,{hover:!0,striped:!0,size:"sm",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[v("Time"),(0,n.jsx)("th",{children:"Net"}),v("Host"),v("Count"),(0,n.jsx)("th",{children:"Err"}),A.dumpProcessEnabled&&v("Proc")]})}),(0,n.jsx)("tbody",{className:"text-break",children:null==A?void 0:null===(t=A.objects)||void 0===t?void 0:t.filter(t=>t.time).sort((t,l)=>{var n,c;return"Host"===e?R(t.host,l.host):"Proc"===e?R(t.process,l.process):"Count"===e?R(t.failedCount,l.failedCount):R((0,u.FP)(null!==(n=t.time)&&void 0!==n?n:g),(0,u.FP)(null!==(c=l.time)&&void 0!==c?c:g))}).map((t,e)=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,u.FP)(t.time).toLocaleString()}),(0,n.jsx)("td",{children:t.protocol}),(0,n.jsx)("td",{children:t.host}),(0,n.jsx)("td",{children:Number(t.failedCount)}),(0,n.jsx)("td",{children:t.error}),A.dumpProcessEnabled&&(0,n.jsx)("td",{children:t.process})]},"bh-"+e))})]})]})}},6342:(t,e,l)=>{"use strict";l.d(e,{L9:()=>n,NW:()=>c});let n=(0,l(6788).w)("ChZzdGF0aXN0aWMvY29uZmlnLnByb3RvEhF5dWhhaWluLnN0YXRpc3RpYyKEAQoIbmV0X3R5cGUSNQoJY29ubl90eXBlGAEgASgOMhcueXVoYWlpbi5zdGF0aXN0aWMudHlwZVIJY29ubl90eXBlEkEKD3VuZGVybHlpbmdfdHlwZRgCIAEoDjIXLnl1aGFpaW4uc3RhdGlzdGljLnR5cGVSD3VuZGVybHlpbmdfdHlwZSK4AQoKY29ubmVjdGlvbhIMCgRhZGRyGAEgASgJEgoKAmlkGAIgASgEEikKBHR5cGUYAyABKAsyGy55dWhhaWluLnN0YXRpc3RpYy5uZXRfdHlwZRI3CgVleHRyYRgEIAMoCzIoLnl1aGFpaW4uc3RhdGlzdGljLmNvbm5lY3Rpb24uRXh0cmFFbnRyeRosCgpFeHRyYUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjwEKBHR5cGUSCwoHdW5rbm93bhAAEgcKA3RjcBABEggKBHRjcDQQAhIICgR0Y3A2EAMSBwoDdWRwEAQSCAoEdWRwNBAFEggKBHVkcDYQBhIGCgJpcBAHEgcKA2lwNBAIEgcKA2lwNhAJEggKBHVuaXgQChIMCgh1bml4Z3JhbRALEg4KCnVuaXhwYWNrZXQQDEIzWjFnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var c=function(t){return t[t.unknown=0]="unknown",t[t.tcp=1]="tcp",t[t.tcp4=2]="tcp4",t[t.tcp6=3]="tcp6",t[t.udp=4]="udp",t[t.udp4=5]="udp4",t[t.udp6=6]="udp6",t[t.ip=7]="ip",t[t.ip4=8]="ip4",t[t.ip6=9]="ip6",t[t.unix=10]="unix",t[t.unixgram=11]="unixgram",t[t.unixpacket=12]="unixpacket",t}({})},6903:(t,e,l)=>{"use strict";l.d(e,{Bh:()=>b,SE:()=>i,YA:()=>u,dE:()=>s});var n=l(6788),c=l(8123),o=l(9297),a=l(9678),d=l(6342);let r=(0,n.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29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RodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[o.t,d.L9,a.i]),s=(0,c.Z)(r,0),u=(0,c.Z)(r,1),i=(0,c.Z)(r,3),b=(0,c.Z)(r,5)},700:t=>{t.exports={clickable:"clickable_clickable__ytaUf"}}},t=>{var e=e=>t(t.s=e);t.O(0,[607,488,995,459,441,517,358],()=>e(4776)),_N_E=t.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/connections/page-2be128d3b6507c6e.js b/_next/static/chunks/app/docs/connections/page-eac1d3e904408ca2.js similarity index 99% rename from _next/static/chunks/app/docs/connections/page-2be128d3b6507c6e.js rename to _next/static/chunks/app/docs/connections/page-eac1d3e904408ca2.js index 157b2b99..bb6d5ad2 100644 --- a/_next/static/chunks/app/docs/connections/page-2be128d3b6507c6e.js +++ b/_next/static/chunks/app/docs/connections/page-eac1d3e904408ca2.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[706],{8438:(l,d,a)=>{Promise.resolve().then(a.bind(a,2988))},9169:(l,d,a)=>{"use strict";a.d(d,{A:()=>A});var c=a(5155),o=a(4216),e=a(5554),n=a.n(e);let A=function(l){return(0,c.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==l.children&&(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(n(),{className:"p2",statusCode:void 0!==l.code?l.code:500,title:l.children})}),(0,c.jsx)("div",{className:"p2",children:(0,c.jsx)(o.A,{})})]})}},2988:(l,d,a)=>{"use strict";a.r(d),a.d(d,{default:()=>r});var c=a(5155),o=a(2115),e=a(2981),n=a(57),A=a(8900),g=a(1566),t=a(2963),b=a(4216),s=a(1149),i=a(9169),m=a(8927),u=a(148),h=a(6342),Z=a(6903),B=a(7558),G=a(3577),W=a(4995),v=a(9297),R=a(698);let I=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+l)return"0B";let a=Math.floor(Math.log(l)/Math.log(1024)),c=parseFloat((l/Math.pow(1024,a)).toFixed(0>d?0:d)),o=["B","KB","MB","GB","TB","PB","EB","ZB","YB"][a];return isNaN(c)||void 0===o?"":"".concat(c).concat(o)},E=(l,d)=>{let a=(l.download-(d.download!==BigInt(0)?d.download:l.download))/BigInt(2),c=(l.upload-(d.upload!==BigInt(0)?d.upload:l.upload))/BigInt(2);return{download:"(".concat(I(Number(l.download)),"): ").concat(I(Number(a)),"/S"),upload:"(".concat(I(Number(l.upload)),"): ").concat(I(Number(c)),"/S")}},Y=o.memo(l=>(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:l.itemKey}),(0,c.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},children:"Hash"!==l.itemKey?l.itemValue:(0,c.jsx)("a",{href:"#",onClick:d=>{d.preventDefault(),l.showModal(l.itemValue)},children:l.itemValue})})]})})})),C=o.memo(l=>{var d,a,e,s,i,W;let v=(0,o.useContext)(u.u),[R,I]=(0,o.useState)(!1);return(0,c.jsxs)(A.A.Item,{eventKey:l.data.id.toString(),children:[(0,c.jsx)(A.A.Header,{children:(0,c.jsxs)("div",{className:"d-line text-break",children:[(0,c.jsx)("code",{className:"ms-2",children:l.data.id.toString()}),(0,c.jsx)("span",{className:"ms-2",children:l.data.addr}),(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:l.data.extra.MODE}),(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:h.NW[null!==(s=null===(d=l.data.type)||void 0===d?void 0:d.connType)&&void 0!==s?s:0]}),void 0!==l.data.extra.Tag&&(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:l.data.extra.Tag})]})}),(0,c.jsx)(A.A.Body,{children:(0,c.jsxs)(n.A,{variant:"flush",children:[(0,c.jsx)(Y,{itemKey:"Type",itemValue:h.NW[null!==(i=null===(a=l.data.type)||void 0===a?void 0:a.connType)&&void 0!==i?i:0],showModal:l.showModal}),(0,c.jsx)(Y,{itemKey:"Underlying",itemValue:h.NW[null!==(W=null===(e=l.data.type)||void 0===e?void 0:e.underlyingType)&&void 0!==W?W:0],showModal:l.showModal}),Object.entries(l.data.extra).sort((l,d)=>l<=d?-1:1).map(d=>{let[a,o]=d;return(0,c.jsx)(Y,{itemKey:a,itemValue:o,showModal:l.showModal},a)}),(0,c.jsx)(n.A.Item,{children:(0,c.jsx)("div",{className:"d-sm-flex",children:(0,c.jsxs)(t.A,{variant:"outline-danger",className:"flex-grow-1 notranslate",disabled:R,onClick:()=>{I(!0),(0,m.Fp)("/conn",{method:"DELETE",body:(0,B.R)(Z.SE,(0,G.v)(Z.SE,{ids:[l.data.id]}))}).then(async d=>{let{error:a}=d;a?(v.Error("code ".concat(l.data.id," failed, ").concat(a.code,"| ").concat(await a.msg)),I(!1)):setTimeout(()=>{I(!1)},5e3)})},children:["Close",R&&(0,c.jsxs)(c.Fragment,{children:["\xa0",(0,c.jsx)(b.A,{size:"sm",animation:"border",variant:"danger"})]})]})})})]})})]},l.data.id)}),r=function(){let[l,d]=(0,o.useState)({show:!1,hash:""}),[a,g]=(0,o.useState)({download:BigInt(0),upload:BigInt(0)}),{data:t,error:b}=(0,W.Ay)("/flow/total",(0,m.EY)(Z.dE,l=>{let d=E(l,{download:a.download,upload:a.upload});return g({download:l.download,upload:l.upload}),d}),{refreshInterval:2e3}),{data:u,error:h}=(0,s.A)("/conn",(0,m.gR)((0,B.R)(v.v,(0,G.v)(v.v)),Z.YA,(l,d)=>{switch(void 0===l&&(l=new Map),d.data.case){case"notifyNewConnections":d.data.value.connections.sort((l,d)=>l.id>d.id?1:-1).forEach(d=>{l.set(d.id,d)});break;case"notifyRemoveConnections":d.data.value.ids.forEach(d=>{l.delete(d)})}return l}));return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(R.y,{show:l.show,hash:l.hash,editable:!1,onHide:()=>d({...l,show:!1})}),(0,c.jsx)(e.A,{className:"mb-3",children:(0,c.jsxs)(n.A,{variant:"flush",children:[(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Download"}),(0,c.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-download",children:t?t.download:void 0!==b?b.msg:"Loading..."})]})}),(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Upload"}),(0,c.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-upload",children:t?t.upload:void 0!==b?b.msg:"Loading..."})]})})]})}),void 0!==h?(0,c.jsx)(i.A,{code:h.code,children:h.msg}):void 0===u?(0,c.jsx)(i.A,{}):(0,c.jsx)(A.A,{className:"mb-3",alwaysOpen:!0,id:"connections",children:[...u.values()].reverse().map(l=>(0,c.jsx)(C,{data:l,showModal:l=>d({show:!0,hash:l})},l.id))})]})}},2049:(l,d,a)=>{"use strict";a.d(d,{AB:()=>n,Ac:()=>A,TG:()=>g});var c=a(6788),o=a(8123),e=a(1703);let n=(0,c.w)("ChZub2RlL3BvaW50L3BvaW50LnByb3RvEg15dWhhaWluLnBvaW50IogBCgVwb2ludBIMCgRoYXNoGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFZ3JvdXAYAyABKAkSJQoGb3JpZ2luGAQgASgOMhUueXVoYWlpbi5wb2ludC5vcmlnaW4SLQoJcHJvdG9jb2xzGAUgAygLMhoueXVoYWlpbi5wcm90b2NvbC5wcm90b2NvbCotCgZvcmlnaW4SCwoHcmVzZXJ2ZRAAEgoKBnJlbW90ZRBlEgoKBm1hbnVhbBBmQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3BvaW50YgZwcm90bzM",[e.a3]),A=(0,o.Z)(n,0);var g=function(l){return l[l.reserve=0]="reserve",l[l.remote=101]="remote",l[l.manual=102]="manual",l}({})},1703:(l,d,a)=>{"use strict";a.d(d,{AK:()=>A,BP:()=>Z,E_:()=>B,F7:()=>v,GL:()=>p,K0:()=>W,Qi:()=>E,SD:()=>u,UM:()=>g,X_:()=>m,YZ:()=>R,_1:()=>n,a3:()=>e,bw:()=>Y,fO:()=>C,g2:()=>y,g3:()=>r,gE:()=>N,hX:()=>b,lA:()=>h,ql:()=>s,s2:()=>i,sT:()=>I,sn:()=>G,t0:()=>t});var c=a(6788),o=a(8123);let e=(0,c.w)("Chxub2RlL3Byb3RvY29sL3Byb3RvY29sLnByb3RvEhB5dWhhaWluLnByb3RvY29sIvoHCghwcm90b2NvbBI0CgtzaGFkb3dzb2NrcxgBIAEoCzIdLnl1aGFpaW4ucHJvdG9jb2wuc2hhZG93c29ja3NIABI2CgxzaGFkb3dzb2Nrc3IYAiABKAsyHi55dWhhaWluLnByb3RvY29sLnNoYWRvd3NvY2tzckgAEigKBXZtZXNzGAMgASgLMhcueXVoYWlpbi5wcm90b2NvbC52bWVzc0gAEjAKCXdlYnNvY2tldBgEIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wud2Vic29ja2V0SAASJgoEcXVpYxgFIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wucXVpY0gAEjsKCW9iZnNfaHR0cBgGIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wub2Jmc19odHRwSABSCW9iZnNfaHR0cBIqCgZ0cm9qYW4YByABKAsyGC55dWhhaWluLnByb3RvY29sLnRyb2phbkgAEioKBnNpbXBsZRgIIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuc2ltcGxlSAASJgoEbm9uZRgJIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wubm9u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BwoDdWRwEAQSCAoEdWRwNBAFEggKBHVkcDYQBhIGCgJpcBAHEgcKA2lwNBAIEgcKA2lwNhAJEggKBHVuaXgQChIMCgh1bml4Z3JhbRALEg4KCnVuaXhwYWNrZXQQDEIzWjFnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var o=function(l){return l[l.unknown=0]="unknown",l[l.tcp=1]="tcp",l[l.tcp4=2]="tcp4",l[l.tcp6=3]="tcp6",l[l.udp=4]="udp",l[l.udp4=5]="udp4",l[l.udp6=6]="udp6",l[l.ip=7]="ip",l[l.ip4=8]="ip4",l[l.ip6=9]="ip6",l[l.unix=10]="unix",l[l.unixgram=11]="unixgram",l[l.unixpacket=12]="unixpacket",l}({})},6903:(l,d,a)=>{"use strict";a.d(d,{Bh:()=>i,SE:()=>s,YA:()=>b,dE:()=>t});var c=a(6788),o=a(8123),e=a(9297),n=a(9678),A=a(6342);let g=(0,c.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKF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XN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjUueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UuZmFpbGVkX2hpc3RvcnlfbGlzdEI7WjlnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[e.t,A.L9,n.i]),t=(0,o.Z)(g,0),b=(0,o.Z)(g,1),s=(0,o.Z)(g,3),i=(0,o.Z)(g,5)}},l=>{var d=d=>l(l.s=d);l.O(0,[235,995,515,920,637,708,354,734,973,424,306,698,441,517,358],()=>d(8438)),_N_E=l.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[706],{8438:(l,d,a)=>{Promise.resolve().then(a.bind(a,2988))},9169:(l,d,a)=>{"use strict";a.d(d,{A:()=>A});var c=a(5155),o=a(4216),e=a(5554),n=a.n(e);let A=function(l){return(0,c.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==l.children&&(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(n(),{className:"p2",statusCode:void 0!==l.code?l.code:500,title:l.children})}),(0,c.jsx)("div",{className:"p2",children:(0,c.jsx)(o.A,{})})]})}},2988:(l,d,a)=>{"use strict";a.r(d),a.d(d,{default:()=>r});var c=a(5155),o=a(2115),e=a(2981),n=a(57),A=a(8900),g=a(1566),t=a(2963),b=a(4216),s=a(1149),i=a(9169),m=a(8927),u=a(148),h=a(6342),Z=a(6903),B=a(7558),G=a(3577),W=a(4995),v=a(9297),R=a(698);let I=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+l)return"0B";let a=Math.floor(Math.log(l)/Math.log(1024)),c=parseFloat((l/Math.pow(1024,a)).toFixed(0>d?0:d)),o=["B","KB","MB","GB","TB","PB","EB","ZB","YB"][a];return isNaN(c)||void 0===o?"":"".concat(c).concat(o)},E=(l,d)=>{let a=(l.download-(d.download!==BigInt(0)?d.download:l.download))/BigInt(2),c=(l.upload-(d.upload!==BigInt(0)?d.upload:l.upload))/BigInt(2);return{download:"(".concat(I(Number(l.download)),"): ").concat(I(Number(a)),"/S"),upload:"(".concat(I(Number(l.upload)),"): ").concat(I(Number(c)),"/S")}},Y=o.memo(l=>(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:l.itemKey}),(0,c.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},children:"Hash"!==l.itemKey?l.itemValue:(0,c.jsx)("a",{href:"#",onClick:d=>{d.preventDefault(),l.showModal(l.itemValue)},children:l.itemValue})})]})})})),C=o.memo(l=>{var d,a,e,s,i,W;let v=(0,o.useContext)(u.u),[R,I]=(0,o.useState)(!1);return(0,c.jsxs)(A.A.Item,{eventKey:l.data.id.toString(),children:[(0,c.jsx)(A.A.Header,{children:(0,c.jsxs)("div",{className:"d-line text-break",children:[(0,c.jsx)("code",{className:"ms-2",children:l.data.id.toString()}),(0,c.jsx)("span",{className:"ms-2",children:l.data.addr}),(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:l.data.extra.MODE}),(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:h.NW[null!==(s=null===(d=l.data.type)||void 0===d?void 0:d.connType)&&void 0!==s?s:0]}),void 0!==l.data.extra.Tag&&(0,c.jsx)(g.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:l.data.extra.Tag})]})}),(0,c.jsx)(A.A.Body,{children:(0,c.jsxs)(n.A,{variant:"flush",children:[(0,c.jsx)(Y,{itemKey:"Type",itemValue:h.NW[null!==(i=null===(a=l.data.type)||void 0===a?void 0:a.connType)&&void 0!==i?i:0],showModal:l.showModal}),(0,c.jsx)(Y,{itemKey:"Underlying",itemValue:h.NW[null!==(W=null===(e=l.data.type)||void 0===e?void 0:e.underlyingType)&&void 0!==W?W:0],showModal:l.showModal}),Object.entries(l.data.extra).sort((l,d)=>l<=d?-1:1).map(d=>{let[a,o]=d;return(0,c.jsx)(Y,{itemKey:a,itemValue:o,showModal:l.showModal},a)}),(0,c.jsx)(n.A.Item,{children:(0,c.jsx)("div",{className:"d-sm-flex",children:(0,c.jsxs)(t.A,{variant:"outline-danger",className:"flex-grow-1 notranslate",disabled:R,onClick:()=>{I(!0),(0,m.Fp)("/conn",{method:"DELETE",body:(0,B.R)(Z.SE,(0,G.v)(Z.SE,{ids:[l.data.id]}))}).then(async d=>{let{error:a}=d;a?(v.Error("code ".concat(l.data.id," failed, ").concat(a.code,"| ").concat(await a.msg)),I(!1)):setTimeout(()=>{I(!1)},5e3)})},children:["Close",R&&(0,c.jsxs)(c.Fragment,{children:["\xa0",(0,c.jsx)(b.A,{size:"sm",animation:"border",variant:"danger"})]})]})})})]})})]},l.data.id)}),r=function(){let[l,d]=(0,o.useState)({show:!1,hash:""}),[a,g]=(0,o.useState)({download:BigInt(0),upload:BigInt(0)}),{data:t,error:b}=(0,W.Ay)("/flow/total",(0,m.EY)(Z.dE,l=>{let d=E(l,{download:a.download,upload:a.upload});return g({download:l.download,upload:l.upload}),d}),{refreshInterval:2e3}),{data:u,error:h}=(0,s.A)("/conn",(0,m.gR)((0,B.R)(v.v,(0,G.v)(v.v)),Z.YA,(l,d)=>{switch(void 0===l&&(l=new Map),d.data.case){case"notifyNewConnections":d.data.value.connections.sort((l,d)=>l.id>d.id?1:-1).forEach(d=>{l.set(d.id,d)});break;case"notifyRemoveConnections":d.data.value.ids.forEach(d=>{l.delete(d)})}return l}));return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(R.y,{show:l.show,hash:l.hash,editable:!1,onHide:()=>d({...l,show:!1})}),(0,c.jsx)(e.A,{className:"mb-3",children:(0,c.jsxs)(n.A,{variant:"flush",children:[(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Download"}),(0,c.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-download",children:t?t.download:void 0!==b?b.msg:"Loading..."})]})}),(0,c.jsx)(n.A.Item,{children:(0,c.jsxs)("div",{className:"d-sm-flex",children:[(0,c.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Upload"}),(0,c.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-upload",children:t?t.upload:void 0!==b?b.msg:"Loading..."})]})})]})}),void 0!==h?(0,c.jsx)(i.A,{code:h.code,children:h.msg}):void 0===u?(0,c.jsx)(i.A,{}):(0,c.jsx)(A.A,{className:"mb-3",alwaysOpen:!0,id:"connections",children:[...u.values()].reverse().map(l=>(0,c.jsx)(C,{data:l,showModal:l=>d({show:!0,hash:l})},l.id))})]})}},2049:(l,d,a)=>{"use strict";a.d(d,{AB:()=>n,Ac:()=>A,TG:()=>g});var c=a(6788),o=a(8123),e=a(1703);let n=(0,c.w)("ChZub2RlL3BvaW50L3BvaW50LnByb3RvEg15dWhhaWluLnBvaW50IogBCgVwb2ludBIMCgRoYXNoGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFZ3JvdXAYAyABKAkSJQoGb3JpZ2luGAQgASgOMhUueXVoYWlpbi5wb2ludC5vcmlnaW4SLQoJcHJvdG9jb2xzGAUgAygLMhoueXVoYWlpbi5wcm90b2NvbC5wcm90b2NvbCotCgZvcmlnaW4SCwoHcmVzZXJ2ZRAAEgoKBnJlbW90ZRBlEgoKBm1hbnVhbBBmQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3BvaW50YgZwcm90bzM",[e.a3]),A=(0,o.Z)(n,0);var g=function(l){return l[l.reserve=0]="reserve",l[l.remote=101]="remote",l[l.manual=102]="manual",l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95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var o=function(l){return l[l.unknown=0]="unknown",l[l.tcp=1]="tcp",l[l.tcp4=2]="tcp4",l[l.tcp6=3]="tcp6",l[l.udp=4]="udp",l[l.udp4=5]="udp4",l[l.udp6=6]="udp6",l[l.ip=7]="ip",l[l.ip4=8]="ip4",l[l.ip6=9]="ip6",l[l.unix=10]="unix",l[l.unixgram=11]="unixgram",l[l.unixpacket=12]="unixpacket",l}({})},6903:(l,d,a)=>{"use strict";a.d(d,{Bh:()=>i,SE:()=>s,YA:()=>b,dE:()=>t});var c=a(6788),o=a(8123),e=a(9297),n=a(9678),A=a(6342);let g=(0,c.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5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Zy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[e.t,A.L9,n.i]),t=(0,o.Z)(g,0),b=(0,o.Z)(g,1),s=(0,o.Z)(g,3),i=(0,o.Z)(g,5)}},l=>{var d=d=>l(l.s=d);l.O(0,[488,995,515,920,637,354,708,734,973,424,306,698,441,517,358],()=>d(8438)),_N_E=l.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/group/page-9b915b3f30e74e3d.js b/_next/static/chunks/app/docs/group/page-9f2a7e7107f2cb75.js similarity index 79% rename from _next/static/chunks/app/docs/group/page-9b915b3f30e74e3d.js rename to _next/static/chunks/app/docs/group/page-9f2a7e7107f2cb75.js index ae675670..35f471e9 100644 --- a/_next/static/chunks/app/docs/group/page-9b915b3f30e74e3d.js +++ b/_next/static/chunks/app/docs/group/page-9f2a7e7107f2cb75.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[564],{5880:(e,t,n)=>{Promise.resolve().then(n.bind(n,8646))},8646:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var s=n(5155),a=n(2115),l=n(3667),i=n(2981),d=n(57),c=n(3614),o=n(8143),r=n(9637),u=n(2963),p=n(4216),h=n(6121),v=n(9169),m=n(148),x=n(4995),y=n(8927),g=n(5554),j=n.n(g),A=n(744),N=n(2197),b=n(9969),w=n(2049),f=n(3577),I=n(7558),S=n(6989),_=n(1936),P=n(698),T=function(e){return e.TCP="tcp",e.UDP="udp",e.IP="ip",e.STUN="stun",e.STUNTCP="stun-tcp",e}(T||{});class k{haveLoading(){return this.tcp.loading||this.udp.loading||this.ip.loading||this.stun.loading||this.stun_tcp.loading}allLoading(){return this.tcp.loading&&this.udp.loading&&this.ip.loading&&this.stun.loading&&this.stun_tcp.loading}constructor(e){this.tcp={loading:!1},this.udp={loading:!1},this.ip={loading:!1},this.stun={loading:!1},this.stun_tcp={loading:!1},Object.assign(this,e)}}let C=e=>{switch(e){case N.HZ.NAT_UNKNOWN:return"unknown";case N.HZ.NAT_NO_RESULT:return"noresult";case N.HZ.NAT_AddressAndPortDependent:return"address-and-port-dependent";case N.HZ.NAT_AddressDependent:return"address-dependent";case N.HZ.NAT_EndpointIndependent:return"endpoint-independent";case N.HZ.NAT_EndpointIndependentNoNAT:return"endpoint-independent-no-nat";case N.HZ.NAT_ServerNotSupportChangePort:return"server-not-support";default:return"unknown"}},E=a.memo(e=>{var t,n;let h=(0,a.useContext)(m.u),v=t=>{t(e.latency),e.onChangeLatency(e.latency)},x=e=>{switch(e){case"tcp":v(e=>{e.tcp.loading=!0}),g((0,f.v)(N._1,{protocol:{case:"http",value:(0,f.v)(N.UM,{url:A.Oz})}}),e=>{v(async t=>{t.tcp={loading:!1,value:e.Latency}})});break;case"udp":v(e=>{e.udp.loading=!0}),g((0,f.v)(N._1,{protocol:{case:"dnsOverQuic",value:(0,f.v)(N.Jc,{host:A.r3,targetDomain:"www.google.com"})}}),e=>{v(async t=>{t.udp={loading:!1,value:e.Latency}})});break;case"ip":v(e=>{e.ip.loading=!0}),g((0,f.v)(N._1,{protocol:{case:"ip",value:(0,f.v)(N.B$,{url:A.DH})}}),e=>{v(async t=>{t.ip.loading=!1,t.ip.ipv4=e.IPv4,t.ip.ipv6=e.IPv6})});break;case"stun-tcp":v(e=>{e.stun_tcp.loading=!0}),g((0,f.v)(N._1,{protocol:{case:"stun",value:(0,f.v)(N._t,{host:A.X3,tcp:!0})}}),e=>{v(async t=>{var n;t.stun_tcp={loading:!1,ip:null===(n=e.Stun)||void 0===n?void 0:n.mappedAddress}})});break;case"stun":v(e=>{e.stun.loading=!0}),g((0,f.v)(N._1,{protocol:{case:"stun",value:(0,f.v)(N._t,{host:A.u1})}}),e=>{v(async t=>{var n,s,a;t.stun={loading:!1,mapping:null===(n=e.Stun)||void 0===n?void 0:n.mapping,filtering:null===(s=e.Stun)||void 0===s?void 0:s.filter,mappedAddress:null===(a=e.Stun)||void 0===a?void 0:a.mappedAddress}})})}},g=(t,n)=>{(0,y.Fp)("/latency",{body:(0,I.R)(N.oL,(0,f.v)(N.oL,{requests:[{hash:e.hash,id:"latency",ipv6:A.oH,protocol:t}]})),process:async e=>{let t=(0,S.Er)(N.$r,new Uint8Array(await e.arrayBuffer()));if(!t.idLatencyMap.latency)return{Latency:"timeout"};let n=t.idLatencyMap.latency.reply;switch(n.case){case"latency":return{Latency:function(e){if(0===e.nanos&&0===Number(e.seconds))return"timeout";let t=1e9*Number(e.seconds)+1*e.nanos;return t>=36e11?"".concat(t/36e11," h"):t>=6e10?"".concat(t/6e10," m"):t>=1e9?"".concat(t/1e9," s"):t>=1e6?"".concat(t/1e6," ms"):t>=1e3?"".concat(t/1e3," us"):"".concat(t/1," ns")}(n.value)};case"ip":return{IPv4:n.value.ipv4,IPv6:n.value.ipv6};case"stun":return{Stun:{mapping:C(n.value.Mapping),filter:C(n.value.Filtering),mappedAddress:n.value.mappedAddress}};default:return{Latency:"timeout"}}}}).then(async e=>{let{data:t,error:s}=e,a={Latency:"timeout"};!s&&t&&(a=await t),n(a)})};return(0,s.jsx)(l.A,{className:"mb-3",children:(0,s.jsxs)(i.A,{className:"h-100 shadow-sm",children:[(0,s.jsx)(i.A.Header,{children:e.title}),(0,s.jsx)(i.A.Body,{children:(0,s.jsxs)(d.A,{variant:"flush",children:[(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"TCP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-download",children:null!==(t=e.latency.tcp.value)&&void 0!==t?t:"N/A"})]})}),(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"UDP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:null!==(n=e.latency.udp.value)&&void 0!==n?n:"N/A"})]})}),e.latency.ip.ipv4&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv4"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.ip.ipv4})]})}),e.latency.ip.ipv6&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv6"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.ip.ipv6})]})}),e.latency.stun.mapping&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Mapping"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.mapping})]})}),e.latency.stun.filtering&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Filtering"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.filtering})]})}),e.latency.stun.mappedAddress&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"MappedAddress"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.mappedAddress})]})}),e.latency.stun_tcp.ip&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"STUN IP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun_tcp.ip})]})}),(0,s.jsx)(d.A.Item,{className:"text-center text-break",children:(0,s.jsxs)(c.A,{className:"d-xl-flex",children:[(0,s.jsxs)(o.A,{onSelect:async t=>{(0,y.Fp)("/node",{method:"PUT",body:(0,I.R)(b.q,(0,f.v)(b.q,{tcp:"tcp"===t||"tcpudp"===t,udp:"udp"===t||"tcpudp"===t,hash:e.hash}))}).then(async n=>{let{error:s}=n;void 0!==s?h.Error("change node failed, ".concat(s.code,"| ").concat(await s.msg)):h.Info("Change ".concat(t," Node To ").concat(e.hash," Successful"))})},as:c.A,variant:"outline-primary",title:"USE",children:[(0,s.jsx)(r.A.Item,{eventKey:"tcpudp",children:"TCP and UDP"}),(0,s.jsx)(r.A.Item,{eventKey:"tcp",children:"TCP"}),(0,s.jsx)(r.A.Item,{eventKey:"udp",children:"UDP"})]}),(0,s.jsx)(u.A,{variant:"outline-primary",className:"w-100",onClick:e.onClickEdit,children:"Edit"}),(0,s.jsxs)(o.A,{onSelect:async e=>{x(e)},as:c.A,variant:"outline-primary",title:(0,s.jsxs)(s.Fragment,{children:["Test",e.latency.haveLoading()&&(0,s.jsxs)(s.Fragment,{children:["\xa0",(0,s.jsx)(p.A,{size:"sm",animation:"border"})]})]}),children:[(0,s.jsxs)(r.A.Item,{disabled:e.latency.tcp.loading,eventKey:"tcp",children:["TCP\xa0",e.latency.tcp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.udp.loading,eventKey:"udp",children:["UDP\xa0",e.latency.udp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})," "]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.stun.loading,eventKey:"stun",children:["STUN\xa0",e.latency.stun.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.stun_tcp.loading,eventKey:"stun-tcp",children:["STUN TCP\xa0",e.latency.stun_tcp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.ip.loading,eventKey:"ip",children:["IP\xa0",e.latency.ip.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]})]})]})})]})})]})})});class L{constructor(e){var t,n;this.point=null==e?void 0:e.point,this.hash=null!==(t=null==e?void 0:e.hash)&&void 0!==t?t:"",this.show=null!==(n=null==e?void 0:e.show)&&void 0!==n&&n,this.onDelete=null==e?void 0:e.onDelete}}let U=function(){let e=(0,a.useContext)(m.u),[t,n]=(0,a.useState)("Select..."),[i,d]=(0,a.useState)(new L),[o,p]=(0,a.useState)({data:!1}),[g,A]=(0,a.useState)({}),{data:N,error:S,isLoading:T,mutate:C}=(0,x.Ay)("/nodes",(0,y.AD)(b.X2));return void 0!==S?(0,s.jsx)(j(),{statusCode:S.code,title:S.msg}):T||void 0===N?(0,s.jsx)(v.A,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.y,{show:i.show,hash:i.hash,point:i.point,isNew:i.isNew,onDelete:i.onDelete,editable:!0,onHide:()=>d({...i,show:!1}),onSave:()=>C(),groups:Object.keys(N.groups).sort((e,t)=>e<=t?-1:1)}),(0,s.jsx)(P.E,{show:o.data,onSave:()=>C(),onHide:()=>p({data:!1}),isNew:!0}),(0,s.jsxs)("div",{children:[(0,s.jsx)(h.A,{children:(0,s.jsxs)(l.A,{className:"mb-4 d-flex",children:[(0,s.jsxs)(r.A,{onSelect:e=>{n(null!=e?e:"Select...")},children:[(0,s.jsx)(r.A.Toggle,{variant:"light",children:null!=t?t:"GROUP"}),(0,s.jsxs)(r.A.Menu,{children:[(0,s.jsx)(r.A.Item,{eventKey:"Select...",children:"Select..."}),N.groups&&Object.keys(N.groups).sort((e,t)=>e<=t?-1:1).map(e=>(0,s.jsx)(r.A.Item,{eventKey:e,children:e},e))]})]}),(0,s.jsxs)(c.A,{className:"ms-2 d-flex",children:[(0,s.jsx)(u.A,{variant:"outline-success",className:"w-100",onClick:()=>{d({point:(0,f.v)(w.Ac,{group:"template_group",name:"template_name",origin:w.TG.manual}),hash:"new node",show:!0,onDelete:void 0,isNew:!0})},children:"New"}),(0,s.jsx)(u.A,{variant:"outline-success",className:"w-100",onClick:()=>{p({data:!0})},children:"Import"})]})]})}),t&&N.groups&&N.groups[t]?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(h.A,{className:"row-cols-sm-1 row-cols-md-2 row-cols-xl-3 justify-content-md-center",children:Object.entries(N.groups[t].nodesV2).sort((e,t)=>e<=t?-1:1).map(t=>{var n;let[a,l]=t;return(0,s.jsx)(E,{hash:l,title:a,latency:null!==(n=g[l])&&void 0!==n?n:new k({}),onChangeLatency:e=>{A(t=>({...t,[l]:e}))},onClickEdit:()=>{d({hash:l,show:!0,onDelete:()=>{(0,y.Fp)("/node",{method:"DELETE",body:(0,I.R)(_.g8,(0,f.v)(_.g8,{value:l}))}).then(async t=>{let{error:n}=t;void 0!==n?e.Error("Delete Node ".concat(l," Failed ").concat(n.code,"| ").concat(await n.msg)):(e.Info("Delete Node ".concat(l," Successful.")),C())})}})}},a)})})}):(0,s.jsx)(s.Fragment,{})]})]})}},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});let s=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}},e=>{var t=t=>e(e.s=t);e.O(0,[235,995,515,920,637,708,354,734,973,306,145,698,441,517,358],()=>t(5880)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[564],{5880:(e,t,n)=>{Promise.resolve().then(n.bind(n,8646))},8646:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var s=n(5155),a=n(2115),i=n(3667),l=n(2981),d=n(57),c=n(3614),o=n(8143),r=n(9637),u=n(2963),p=n(4216),h=n(6121),v=n(9169),m=n(148),x=n(4995),g=n(8927),y=n(5554),j=n.n(y),A=n(744),N=n(2197),b=n(9969),w=n(2049),f=n(3577),I=n(7558),S=n(6989),_=n(1936),P=n(698),T=function(e){return e.TCP="tcp",e.UDP="udp",e.IP="ip",e.STUN="stun",e.STUNTCP="stun-tcp",e}(T||{});class k{haveLoading(){return this.tcp.loading||this.udp.loading||this.ip.loading||this.stun.loading||this.stun_tcp.loading}allLoading(){return this.tcp.loading&&this.udp.loading&&this.ip.loading&&this.stun.loading&&this.stun_tcp.loading}constructor(e){this.tcp={loading:!1},this.udp={loading:!1},this.ip={loading:!1},this.stun={loading:!1},this.stun_tcp={loading:!1},Object.assign(this,e)}}let C=e=>{switch(e){case N.HZ.NAT_UNKNOWN:return"unknown";case N.HZ.NAT_NO_RESULT:return"noresult";case N.HZ.NAT_AddressAndPortDependent:return"address-and-port-dependent";case N.HZ.NAT_AddressDependent:return"address-dependent";case N.HZ.NAT_EndpointIndependent:return"endpoint-independent";case N.HZ.NAT_EndpointIndependentNoNAT:return"endpoint-independent-no-nat";case N.HZ.NAT_ServerNotSupportChangePort:return"server-not-support";default:return"unknown"}},E=a.memo(e=>{var t,n;let h=(0,a.useContext)(m.u),v=t=>{t(e.latency),e.onChangeLatency(e.latency)},x=e=>{switch(e){case"tcp":v(e=>{e.tcp.loading=!0}),y((0,f.v)(N._1,{protocol:{case:"http",value:(0,f.v)(N.UM,{url:A.Oz})}}),e=>{v(async t=>{t.tcp={loading:!1,value:e.Latency}})});break;case"udp":v(e=>{e.udp.loading=!0}),y((0,f.v)(N._1,{protocol:{case:"dnsOverQuic",value:(0,f.v)(N.Jc,{host:A.r3,targetDomain:"www.google.com"})}}),e=>{v(async t=>{t.udp={loading:!1,value:e.Latency}})});break;case"ip":v(e=>{e.ip.loading=!0}),y((0,f.v)(N._1,{protocol:{case:"ip",value:(0,f.v)(N.B$,{url:A.DH})}}),e=>{v(async t=>{t.ip.loading=!1,t.ip.ipv4=e.IPv4,t.ip.ipv6=e.IPv6})});break;case"stun-tcp":v(e=>{e.stun_tcp.loading=!0}),y((0,f.v)(N._1,{protocol:{case:"stun",value:(0,f.v)(N._t,{host:A.X3,tcp:!0})}}),e=>{v(async t=>{var n;t.stun_tcp={loading:!1,ip:null===(n=e.Stun)||void 0===n?void 0:n.mappedAddress}})});break;case"stun":v(e=>{e.stun.loading=!0}),y((0,f.v)(N._1,{protocol:{case:"stun",value:(0,f.v)(N._t,{host:A.u1})}}),e=>{v(async t=>{var n,s,a;t.stun={loading:!1,mapping:null===(n=e.Stun)||void 0===n?void 0:n.mapping,filtering:null===(s=e.Stun)||void 0===s?void 0:s.filter,mappedAddress:null===(a=e.Stun)||void 0===a?void 0:a.mappedAddress}})})}},y=(t,n)=>{(0,g.Fp)("/latency",{body:(0,I.R)(N.oL,(0,f.v)(N.oL,{requests:[{hash:e.hash,id:"latency",ipv6:A.oH,protocol:t}]})),process:async e=>{let t=(0,S.Er)(N.$r,new Uint8Array(await e.arrayBuffer()));if(!t.idLatencyMap.latency)return{Latency:"timeout"};let n=t.idLatencyMap.latency.reply;switch(n.case){case"latency":return{Latency:function(e){if(0===e.nanos&&0===Number(e.seconds))return"timeout";let t=1e9*Number(e.seconds)+1*e.nanos;return t>=36e11?"".concat(t/36e11," h"):t>=6e10?"".concat(t/6e10," m"):t>=1e9?"".concat(t/1e9," s"):t>=1e6?"".concat(t/1e6," ms"):t>=1e3?"".concat(t/1e3," us"):"".concat(t/1," ns")}(n.value)};case"ip":return{IPv4:n.value.ipv4,IPv6:n.value.ipv6};case"stun":return{Stun:{mapping:C(n.value.Mapping),filter:C(n.value.Filtering),mappedAddress:n.value.mappedAddress}};default:return{Latency:"timeout"}}}}).then(async e=>{let{data:t,error:s}=e,a={Latency:"timeout"};!s&&t&&(a=await t),n(a)})};return(0,s.jsx)(i.A,{className:"mb-3",children:(0,s.jsxs)(l.A,{className:"h-100 shadow-sm",children:[(0,s.jsx)(l.A.Header,{children:e.title}),(0,s.jsx)(l.A.Body,{children:(0,s.jsxs)(d.A,{variant:"flush",children:[(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"TCP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-download",children:null!==(t=e.latency.tcp.value)&&void 0!==t?t:"N/A"})]})}),(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"UDP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:null!==(n=e.latency.udp.value)&&void 0!==n?n:"N/A"})]})}),e.latency.ip.ipv4&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv4"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.ip.ipv4})]})}),e.latency.ip.ipv6&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv6"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.ip.ipv6})]})}),e.latency.stun.mapping&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Mapping"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.mapping})]})}),e.latency.stun.filtering&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Filtering"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.filtering})]})}),e.latency.stun.mappedAddress&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"MappedAddress"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun.mappedAddress})]})}),e.latency.stun_tcp.ip&&(0,s.jsx)(d.A.Item,{children:(0,s.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,s.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"STUN IP"}),(0,s.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:e.latency.stun_tcp.ip})]})}),(0,s.jsx)(d.A.Item,{className:"text-center text-break",children:(0,s.jsxs)(c.A,{className:"d-xl-flex",children:[(0,s.jsxs)(o.A,{onSelect:async t=>{(0,g.Fp)("/node",{method:"PUT",body:(0,I.R)(b.q,(0,f.v)(b.q,{tcp:"tcp"===t||"tcpudp"===t,udp:"udp"===t||"tcpudp"===t,hash:e.hash}))}).then(async n=>{let{error:s}=n;void 0!==s?h.Error("change node failed, ".concat(s.code,"| ").concat(await s.msg)):h.Info("Change ".concat(t," Node To ").concat(e.hash," Successful"))})},as:c.A,variant:"outline-primary",title:"USE",children:[(0,s.jsx)(r.A.Item,{eventKey:"tcpudp",children:"TCP and UDP"}),(0,s.jsx)(r.A.Item,{eventKey:"tcp",children:"TCP"}),(0,s.jsx)(r.A.Item,{eventKey:"udp",children:"UDP"})]}),(0,s.jsx)(u.A,{variant:"outline-primary",className:"w-100",onClick:e.onClickEdit,children:"Edit"}),(0,s.jsxs)(o.A,{onSelect:async e=>{x(e)},as:c.A,variant:"outline-primary",title:(0,s.jsxs)(s.Fragment,{children:["Test",e.latency.haveLoading()&&(0,s.jsxs)(s.Fragment,{children:["\xa0",(0,s.jsx)(p.A,{size:"sm",animation:"border"})]})]}),children:[(0,s.jsxs)(r.A.Item,{disabled:e.latency.tcp.loading,eventKey:"tcp",children:["TCP\xa0",e.latency.tcp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.udp.loading,eventKey:"udp",children:["UDP\xa0",e.latency.udp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})," "]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.stun.loading,eventKey:"stun",children:["STUN\xa0",e.latency.stun.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.stun_tcp.loading,eventKey:"stun-tcp",children:["STUN TCP\xa0",e.latency.stun_tcp.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]}),(0,s.jsxs)(r.A.Item,{disabled:e.latency.ip.loading,eventKey:"ip",children:["IP\xa0",e.latency.ip.loading&&(0,s.jsx)(p.A,{size:"sm",animation:"border"})]})]})]})})]})})]})})});class L{constructor(e){var t,n;this.point=null==e?void 0:e.point,this.hash=null!==(t=null==e?void 0:e.hash)&&void 0!==t?t:"",this.show=null!==(n=null==e?void 0:e.show)&&void 0!==n&&n,this.onDelete=null==e?void 0:e.onDelete}}let U=function(){let e=(0,a.useContext)(m.u),[t,n]=(0,a.useState)("Select..."),[l,d]=(0,a.useState)(new L),[o,p]=(0,a.useState)({data:!1}),[y,A]=(0,a.useState)({}),{data:N,error:S,isLoading:T,mutate:C}=(0,x.Ay)("/nodes",(0,g.AD)(b.X2));return void 0!==S?(0,s.jsx)(j(),{statusCode:S.code,title:S.msg}):T||void 0===N?(0,s.jsx)(v.A,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.y,{show:l.show,hash:l.hash,point:l.point,isNew:l.isNew,onDelete:l.onDelete,editable:!0,onHide:()=>d({...l,show:!1}),onSave:()=>C(),groups:Object.keys(N.groups).sort((e,t)=>e<=t?-1:1)}),(0,s.jsx)(P.E,{show:o.data,onSave:()=>C(),onHide:()=>p({data:!1}),isNew:!0}),(0,s.jsxs)("div",{children:[(0,s.jsx)(h.A,{children:(0,s.jsxs)(i.A,{className:"mb-4 d-flex",children:[(0,s.jsxs)(r.A,{onSelect:e=>{n(null!=e?e:"Select...")},children:[(0,s.jsx)(r.A.Toggle,{variant:"light",children:null!=t?t:"GROUP"}),(0,s.jsxs)(r.A.Menu,{children:[(0,s.jsx)(r.A.Item,{eventKey:"Select...",children:"Select..."}),N.groups&&Object.keys(N.groups).sort((e,t)=>e<=t?-1:1).map(e=>(0,s.jsx)(r.A.Item,{eventKey:e,children:e},e))]})]}),(0,s.jsxs)(c.A,{className:"ms-2 d-flex",children:[(0,s.jsx)(u.A,{variant:"outline-success",className:"w-100",onClick:()=>{d({point:(0,f.v)(w.Ac,{group:"template_group",name:"template_name",origin:w.TG.manual}),hash:"new node",show:!0,onDelete:void 0,isNew:!0})},children:"New"}),(0,s.jsx)(u.A,{variant:"outline-success",className:"w-100",onClick:()=>{p({data:!0})},children:"Import"})]})]})}),t&&N.groups&&N.groups[t]?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(h.A,{className:"row-cols-sm-1 row-cols-md-2 row-cols-xl-3 justify-content-md-center",children:Object.entries(N.groups[t].nodesV2).sort((e,t)=>e<=t?-1:1).map(t=>{var n;let[a,i]=t;return(0,s.jsx)(E,{hash:i,title:a,latency:null!==(n=y[i])&&void 0!==n?n:new k({}),onChangeLatency:e=>{A(t=>({...t,[i]:e}))},onClickEdit:()=>{d({hash:i,show:!0,onDelete:()=>{(0,g.Fp)("/node",{method:"DELETE",body:(0,I.R)(_.g8,(0,f.v)(_.g8,{value:i}))}).then(async t=>{let{error:n}=t;void 0!==n?e.Error("Delete Node ".concat(i," Failed ").concat(n.code,"| ").concat(await n.msg)):(e.Info("Delete Node ".concat(i," Successful.")),C())})}})}},a)})})}):(0,s.jsx)(s.Fragment,{})]})]})}},4395:(e,t,n)=>{"use strict";function s(e,t,...n){if(n.length>0)throw Error();return e.services[t]}n.d(t,{Z:()=>s})},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});let s=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}},e=>{var t=t=>e(e.s=t);e.O(0,[488,995,515,920,637,354,708,734,973,306,145,698,441,517,358],()=>t(5880)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/subscribe/page-d88c1a224a497f26.js b/_next/static/chunks/app/docs/subscribe/page-d88c1a224a497f26.js new file mode 100644 index 00000000..635ccc54 --- /dev/null +++ b/_next/static/chunks/app/docs/subscribe/page-d88c1a224a497f26.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{2673:(e,t,a)=>{Promise.resolve().then(a.bind(a,7981))},744:(e,t,a)=>{"use strict";a.d(t,{DH:()=>l,G_:()=>h,Ow:()=>u,Oz:()=>o,VN:()=>g,X3:()=>i,_s:()=>v,dp:()=>m,h$:()=>p,kP:()=>n,mv:()=>y,oH:()=>s,r3:()=>r,u1:()=>c});var n="",o="https://clients3.google.com/generate_204",r="dns.nextdns.io:853",s=!0,l="http://ip.sb",c="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(o=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(r=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(s="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(l=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{x("api_url",e)},m=e=>{x("latency_dns_url",e)},h=e=>{x("latency_http_url",e)},y=e=>{x("latency_ipv6",e.toString())},p=e=>{x("latency_ip_url",e)},v=e=>{x("latency_stun_url",e)},g=e=>{x("latency_stun_tcp_url",e)},x=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},8927:(e,t,a)=>{"use strict";a.d(t,{AD:()=>l,EY:()=>i,Fp:()=>u,L1:()=>c,gR:()=>m,kP:()=>d});var n=a(744),o=a(950),r=a(6989),s=a(7558);function l(e,t,a,s){return l=>s?(0,o.o)(e,s):fetch("".concat(n.kP).concat(l),{method:t,body:a}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,r.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function c(e,t,a,l){return c=>l?(0,o.o)(e.output,l):fetch("".concat(n.kP).concat(c),{method:t,body:a?(0,s.R)(e.input,a):void 0}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,r.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}function i(e,t,a,o){return s=>fetch("".concat(n.kP).concat(s),{method:a,body:o}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return t((0,r.Er)(e,new Uint8Array(await a.arrayBuffer())))})}async function d(e,t,a,n){return u(t,{method:a,body:n?(0,s.R)(e.input,n):void 0,process:async t=>(0,r.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}let u=async(e,t)=>{let a=await fetch("".concat(n.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return a.ok?void 0===t.process?{}:{data:t.process(a)}:{error:{code:a.status,msg:a.text()}}};function m(e,t,a){return(o,s)=>{let l,{next:c}=s,i=new URL(""!==n.kP?n.kP:window.location.toString());i.pathname=o,i.protocol="https:"===i.protocol?"wss:":"ws:";let d=!1,u=()=>{d||(console.log("connecting to: ".concat(i)),(l=new WebSocket(i)).binaryType="arraybuffer",l.addEventListener("open",t=>{console.log("connect to: ".concat(i,", event type: ").concat(t.type)),null==l||l.send(e)}),l.addEventListener("message",e=>{let n=(0,r.Er)(t,new Uint8Array(e.data));c(null,e=>a(e,n))}),l.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),l.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{d=!0,void 0!==l&&(console.log("close: ".concat(o)),l.close(),l=void 0)}}}},148:(e,t,a)=>{"use strict";a.d(t,{u:()=>l,y:()=>c});var n=a(5155),o=a(2115),r=a(1757),s=a(491);let l=(0,o.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[a,c]=(0,o.useState)({value:{},index:0}),i=(e,t)=>c(a=>({value:{...a.value,[a.index]:{text:e,type:t}},index:a.index+1}));return(0,n.jsxs)(l.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,n.jsx)(r.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(a.value).map(e=>{let[t,o]=e;return(0,n.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:o.type,onClose:()=>{let e=a.value;delete e[t],c({...a,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,n.jsxs)(s.A.Header,{children:[(0,n.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,n.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,n.jsx)(s.A.Body,{className:"text-center",children:o.text})]},"toast"+t)})}),t]})}},7981:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>k});var n=a(5155),o=a(2115),r=a(6121),s=a(3667),l=a(2981),c=a(3614),i=a(2963),d=a(4216),u=a(8143),m=a(9637),h=a(2926),y=a(6180),p=a(9169),v=a(148),g=a(4995),x=a(8927),A=a(5554),w=a.n(A),f=a(4601),b=a(9969),_=a(3577),j=a(7558);let k=function(){let[e,t]=(0,o.useState)({}),[a,A]=(0,o.useState)((0,_.v)(f.Yk,{name:"",url:"",type:f.NW.reserve})),{data:k,error:N,isLoading:E,mutate:S}=(0,g.Ay)("/sublist",(0,x.AD)(b.JN)),I=(0,o.useContext)(v.u);if(void 0!==N)return(0,n.jsx)(w(),{statusCode:N.code,title:N.msg});if(E||void 0===k)return(0,n.jsx)(p.A,{});let C=a=>{t({...e,[a]:!0}),(0,x.Fp)("/sub",{method:"PATCH",body:(0,j.R)(b.tA,(0,_.v)(b.tA,{names:[a]}))}).then(async n=>{let{error:o}=n;void 0!==o?I.Error("Update failed ".concat(o.code,"| ").concat(await o.msg)):I.Info("Update successfully"),t({...e,[a]:!1})})},P=e=>{(0,x.Fp)("/sub",{method:"DELETE",body:(0,j.R)(b.tA,(0,_.v)(b.tA,{names:[e]}))}).then(async t=>{let{error:a}=t;void 0!==a?I.Error("delete ".concat(e," failed, ").concat(a.code,"| ").concat(await a.msg)):S()})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(r.A,{className:"row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4",children:[k.links&&Object.entries(k.links).sort((e,t)=>e<=t?-1:1).map(t=>{let[a,o]=t;return(0,n.jsx)(s.A,{className:"mb-3",children:(0,n.jsxs)(l.A,{className:"h-100",children:[(0,n.jsx)(l.A.Header,{children:o.name}),(0,n.jsx)(l.A.Body,{children:o.url}),(0,n.jsxs)(c.A,{as:l.A.Footer,className:"d-flex",children:[(0,n.jsxs)(i.A,{variant:"outline-primary",onClick:()=>C(o.name),disabled:e[o.name],className:"w-100",children:[e[o.name]&&(0,n.jsx)(d.A,{size:"sm",animation:"border",variant:"primary"}),"Update"]}),(0,n.jsxs)(u.A,{onSelect:e=>{"ok"===e&&P(o.name)},as:c.A,variant:"outline-danger",title:"Remove",className:"w-100",children:[(0,n.jsx)(m.A.Item,{eventKey:"ok",children:"OK"}),(0,n.jsx)(m.A.Item,{eventKey:"cancel",children:"Cancel"})]})]})]})},a)}),(0,n.jsx)(s.A,{className:"mb-3",children:(0,n.jsxs)(l.A,{className:"h-100",children:[(0,n.jsx)(l.A.Header,{children:"Add"}),(0,n.jsxs)(l.A.Body,{children:[(0,n.jsx)(h.A,{label:"Name",className:"mb-3",children:(0,n.jsx)(y.A.Control,{placeholder:"group1",value:a.name,onChange:e=>A((0,_.v)(f.Yk,{...a,name:e.target.value}))})}),(0,n.jsx)(h.A,{label:"Link",className:"mb-3",children:(0,n.jsx)(y.A.Control,{placeholder:"https://www.example.com",value:a.url,onChange:e=>A((0,_.v)(f.Yk,{...a,url:e.target.value}))})})]}),(0,n.jsx)(c.A,{as:l.A.Footer,children:(0,n.jsx)(i.A,{variant:"outline-primary",onClick:async()=>{""!==a.name&&""!==a.url&&(0,x.Fp)("/sub",{body:(0,j.R)(b.bT,(0,_.v)(b.bT,{links:[a]}))}).then(async e=>{let{error:t}=e;void 0!==t?I.Error("save link ".concat(a.url," failed, ").concat(t.code,"| ").concat(await t.msg)):S()})},children:"ADD"})})]})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[488,995,515,920,637,942,145,441,517,358],()=>t(2673)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/subscribe/page-eb19d9231fd15db8.js b/_next/static/chunks/app/docs/subscribe/page-eb19d9231fd15db8.js deleted file mode 100644 index adb6f53b..00000000 --- a/_next/static/chunks/app/docs/subscribe/page-eb19d9231fd15db8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{2673:(e,t,a)=>{Promise.resolve().then(a.bind(a,7981))},744:(e,t,a)=>{"use strict";a.d(t,{DH:()=>r,G_:()=>h,Ow:()=>u,Oz:()=>o,VN:()=>p,X3:()=>i,_s:()=>g,dp:()=>m,h$:()=>y,kP:()=>n,mv:()=>v,oH:()=>s,r3:()=>l,u1:()=>c});var n="",o="https://clients3.google.com/generate_204",l="dns.nextdns.io:853",s=!0,r="http://ip.sb",c="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(o=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(l=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(s="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{x("api_url",e)},m=e=>{x("latency_dns_url",e)},h=e=>{x("latency_http_url",e)},v=e=>{x("latency_ipv6",e.toString())},y=e=>{x("latency_ip_url",e)},g=e=>{x("latency_stun_url",e)},p=e=>{x("latency_stun_tcp_url",e)},x=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},8927:(e,t,a)=>{"use strict";a.d(t,{AD:()=>s,EY:()=>r,Fp:()=>c,gR:()=>i});var n=a(744),o=a(950),l=a(6989);function s(e,t,a,s){return r=>s?(0,o.o)(e,s):fetch("".concat(n.kP).concat(r),{method:t,body:a}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,l.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function r(e,t,a,o){return s=>fetch("".concat(n.kP).concat(s),{method:a,body:o}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return t((0,l.Er)(e,new Uint8Array(await a.arrayBuffer())))})}let c=async(e,t)=>{let a=await fetch("".concat(n.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return a.ok?void 0===t.process?{}:{data:t.process(a)}:{error:{code:a.status,msg:a.text()}}};function i(e,t,a){return(o,s)=>{let r,{next:c}=s,i=new URL(""!==n.kP?n.kP:window.location.toString());i.pathname=o,i.protocol="https:"===i.protocol?"wss:":"ws:";let d=!1,u=()=>{d||(console.log("connecting to: ".concat(i)),(r=new WebSocket(i)).binaryType="arraybuffer",r.addEventListener("open",t=>{console.log("connect to: ".concat(i,", event type: ").concat(t.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let n=(0,l.Er)(t,new Uint8Array(e.data));c(null,e=>a(e,n))}),r.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(o)),r.close(),r=void 0)}}}},148:(e,t,a)=>{"use strict";a.d(t,{u:()=>r,y:()=>c});var n=a(5155),o=a(2115),l=a(1757),s=a(491);let r=(0,o.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[a,c]=(0,o.useState)({value:{},index:0}),i=(e,t)=>c(a=>({value:{...a.value,[a.index]:{text:e,type:t}},index:a.index+1}));return(0,n.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,n.jsx)(l.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(a.value).map(e=>{let[t,o]=e;return(0,n.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:o.type,onClose:()=>{let e=a.value;delete e[t],c({...a,value:e}),console.log("close: "+t)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,n.jsxs)(s.A.Header,{children:[(0,n.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,n.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,n.jsx)(s.A.Body,{className:"text-center",children:o.text})]},"toast"+t)})}),t]})}},7981:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>k});var n=a(5155),o=a(2115),l=a(6121),s=a(3667),r=a(2981),c=a(3614),i=a(2963),d=a(4216),u=a(8143),m=a(9637),h=a(2926),v=a(6180),y=a(9169),g=a(148),p=a(4995),x=a(8927),A=a(5554),_=a.n(A),w=a(4601),b=a(9969),j=a(3577),f=a(7558);let k=function(){let[e,t]=(0,o.useState)({}),[a,A]=(0,o.useState)((0,j.v)(w.Yk,{name:"",url:"",type:w.NW.reserve})),{data:k,error:N,isLoading:E,mutate:S}=(0,p.Ay)("/sublist",(0,x.AD)(b.JN)),I=(0,o.useContext)(g.u);if(void 0!==N)return(0,n.jsx)(_(),{statusCode:N.code,title:N.msg});if(E||void 0===k)return(0,n.jsx)(y.A,{});let C=a=>{t({...e,[a]:!0}),(0,x.Fp)("/sub",{method:"PATCH",body:(0,f.R)(b.tA,(0,j.v)(b.tA,{names:[a]}))}).then(async n=>{let{error:o}=n;void 0!==o?I.Error("Update failed ".concat(o.code,"| ").concat(await o.msg)):I.Info("Update successfully"),t({...e,[a]:!1})})},P=e=>{(0,x.Fp)("/sub",{method:"DELETE",body:(0,f.R)(b.tA,(0,j.v)(b.tA,{names:[e]}))}).then(async t=>{let{error:a}=t;void 0!==a?I.Error("delete ".concat(e," failed, ").concat(a.code,"| ").concat(await a.msg)):S()})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(l.A,{className:"row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4",children:[k.links&&Object.entries(k.links).sort((e,t)=>e<=t?-1:1).map(t=>{let[a,o]=t;return(0,n.jsx)(s.A,{className:"mb-3",children:(0,n.jsxs)(r.A,{className:"h-100",children:[(0,n.jsx)(r.A.Header,{children:o.name}),(0,n.jsx)(r.A.Body,{children:o.url}),(0,n.jsxs)(c.A,{as:r.A.Footer,className:"d-flex",children:[(0,n.jsxs)(i.A,{variant:"outline-primary",onClick:()=>C(o.name),disabled:e[o.name],className:"w-100",children:[e[o.name]&&(0,n.jsx)(d.A,{size:"sm",animation:"border",variant:"primary"}),"Update"]}),(0,n.jsxs)(u.A,{onSelect:e=>{"ok"===e&&P(o.name)},as:c.A,variant:"outline-danger",title:"Remove",className:"w-100",children:[(0,n.jsx)(m.A.Item,{eventKey:"ok",children:"OK"}),(0,n.jsx)(m.A.Item,{eventKey:"cancel",children:"Cancel"})]})]})]})},a)}),(0,n.jsx)(s.A,{className:"mb-3",children:(0,n.jsxs)(r.A,{className:"h-100",children:[(0,n.jsx)(r.A.Header,{children:"Add"}),(0,n.jsxs)(r.A.Body,{children:[(0,n.jsx)(h.A,{label:"Name",className:"mb-3",children:(0,n.jsx)(v.A.Control,{placeholder:"group1",value:a.name,onChange:e=>A((0,j.v)(w.Yk,{...a,name:e.target.value}))})}),(0,n.jsx)(h.A,{label:"Link",className:"mb-3",children:(0,n.jsx)(v.A.Control,{placeholder:"https://www.example.com",value:a.url,onChange:e=>A((0,j.v)(w.Yk,{...a,url:e.target.value}))})})]}),(0,n.jsx)(c.A,{as:r.A.Footer,children:(0,n.jsx)(i.A,{variant:"outline-primary",onClick:async()=>{""!==a.name&&""!==a.url&&(0,x.Fp)("/sub",{body:(0,f.R)(b.bT,(0,j.v)(b.bT,{links:[a]}))}).then(async e=>{let{error:t}=e;void 0!==t?I.Error("save link ".concat(a.url," failed, ").concat(t.code,"| ").concat(await t.msg)):S()})},children:"ADD"})})]})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[235,995,515,920,637,589,145,441,517,358],()=>t(2673)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/tag/page-3749ef005204e660.js b/_next/static/chunks/app/docs/tag/page-04517e64717f0b62.js similarity index 60% rename from _next/static/chunks/app/docs/tag/page-3749ef005204e660.js rename to _next/static/chunks/app/docs/tag/page-04517e64717f0b62.js index a9cef797..b765d268 100644 --- a/_next/static/chunks/app/docs/tag/page-3749ef005204e660.js +++ b/_next/static/chunks/app/docs/tag/page-04517e64717f0b62.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[163],{7809:(e,a,t)=>{Promise.resolve().then(t.bind(t,3129))},3129:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>G});var s=t(5155),n=t(2115),r=t(57),o=t(1566),l=t(2963),d=t(2981),i=t(0),h=t(3614),c=t(8627),g=t(2926),m=t(6180),u=t(9169),v=t(4995),x=t(8927),b=t(5554),j=t.n(b),p=t(148),f=t(9969),A=t(1649),w=t(3577),y=t(7558),C=t(1936),N=t(698);let k=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(i.A,{show:e.show,onHide:()=>{e.onHide()},children:[(0,s.jsx)(i.A.Header,{closeButton:!0,children:e.tag.tag}),(0,s.jsxs)(i.A.Body,{children:[(0,s.jsxs)(h.A,{className:"mb-3 d-flex",children:[(0,s.jsx)(c.A,{id:"toggle-node",type:"radio",variant:"outline-primary",value:A.mm.node,onChange:()=>{e.tag.type=A.mm.node,e.onChangeTag(e.tag)},checked:e.tag.type===A.mm.node,children:"Node"}),(0,s.jsx)(c.A,{id:"toggle-mirror",type:"radio",variant:"outline-primary",value:A.mm.mirror,onChange:()=>{e.tag.type=A.mm.mirror,e.onChangeTag(e.tag)},checked:e.tag.type===A.mm.mirror,children:"Mirror"})]}),e.new&&(0,s.jsx)(g.A,{label:"Tag",className:"mb-2",children:(0,s.jsx)(m.A.Control,{placeholder:"Tag","aria-label":"Tag","aria-describedby":"basic-addon1",value:e.tag.tag,onChange:a=>{e.tag.tag=a.target.value,e.onChangeTag(e.tag)}})}),e.tag.type==A.mm.mirror?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(E,{data:e.data,value:e.tag.hash,onChangeMirror:a=>{e.tag.hash=a,e.onChangeTag(e.tag)}})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(S,{data:e.nodes,hash:e.tag.hash,onChangeNode:a=>{e.tag.hash=a,e.onChangeTag(e.tag)}})})]}),(0,s.jsxs)(i.A.Footer,{children:[(0,s.jsx)(l.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,s.jsx)(l.A,{variant:"outline-primary",onClick:()=>{e.onSave()},children:"Save"})]})]})}),F=(e,a)=>{if(void 0===a||""===e)return"";for(let t in a.groups)for(let s in a.groups[t].nodesV2)if(a.groups[t].nodesV2[s]===e)return t;return""},S=e=>{var a,t;let[r,o]=(0,n.useState)({data:F(e.hash,e.data)});return(0,n.useEffect)(()=>{o({data:F(e.hash,e.data)})},[e.hash,e.data]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.A,{label:"Group",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:r.data,onChange:e=>o({data:e.target.value}),children:[(0,s.jsx)("option",{children:"Choose..."}),Object.keys(e.data?e.data.groups:{}).sort((e,a)=>e<=a?-1:1).map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})}),(0,s.jsx)(g.A,{label:"Node",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:e.hash,onChange:a=>{e.onChangeNode(a.target.value)},children:[(0,s.jsx)("option",{value:"",children:"Choose..."}),Object.entries(e.data&&null!==(t=null===(a=e.data.groups[r.data])||void 0===a?void 0:a.nodesV2)&&void 0!==t?t:{}).sort((e,a)=>e<=a?-1:1).map(e=>{let[a,t]=e;return(0,s.jsx)("option",{value:t,children:a},a)})]})})]})},E=e=>(0,s.jsx)(g.A,{label:"Mirror",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:e.value,onChange:a=>{e.onChangeMirror(a.target.value)},children:[(0,s.jsx)("option",{value:"",children:"Choose..."}),Object.keys(e.data.tags).sort((e,a)=>e<=a?-1:1).map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})}),G=function(){let e=(0,n.useContext)(p.u),{data:a,error:t,isLoading:i,mutate:h}=(0,v.Ay)("/tags",(0,x.AD)(f.BS)),{data:c}=(0,v.Ay)("/nodes",(0,x.AD)(f.X2)),[g,m]=(0,n.useState)({hash:"",show:!1}),[b,F]=(0,n.useState)({show:!1,tag:(0,w.v)(f.hf,{tag:"",hash:"",type:A.mm.node}),new:!0});if(void 0!==t)return(0,s.jsx)(j(),{statusCode:t.code,title:t.msg});if(i||void 0==a)return(0,s.jsx)(u.A,{});let S=a=>(0,s.jsxs)(r.A.Item,{className:"align-items-center d-flex justify-content-between",style:{border:"0ch",borderBottom:"1px solid #dee2e6"},action:!0,onClick:e=>{F({show:!0,tag:(0,w.v)(f.hf,{tag:a.k,hash:a.v.hash[0],type:a.v.type}),new:!1})},children:[(0,s.jsxs)("div",{children:[a.k,(0,s.jsx)(o.A,{className:"rounded-pill bg-light text-dark ms-1",children:0===a.v.hash.length||""===a.v.hash[0]?(0,s.jsxs)(s.Fragment,{children:["Fallback ",(0,s.jsx)("i",{className:"bi bi-heart-arrow"})," Global"]}):a.v.type===A.mm.mirror?(0,s.jsxs)(s.Fragment,{children:["Mirror ",(0,s.jsx)("i",{className:"bi bi-arrow-right"})," ",a.v.hash]}):(0,s.jsxs)(s.Fragment,{children:["Target ",(0,s.jsx)("i",{className:"bi bi-arrow-right"}),(0,s.jsx)("a",{className:"text-truncate",href:"#",onClick:e=>{e.preventDefault(),e.stopPropagation(),m({hash:a.v.hash[0],show:!0})},children:a.v.hash})]})})]}),(0,s.jsx)(l.A,{variant:"outline-danger",as:"span",size:"sm",onClick:t=>{t.stopPropagation(),(0,x.Fp)("/tag",{method:"DELETE",body:(0,y.R)(C.g8,(0,w.v)(C.g8,{value:a.k}))}).then(async t=>{let{error:s}=t;void 0!==s?e.Error("delete tag ".concat(a.k," failed, ").concat(s.code,"| ").concat(await s.msg)):(e.Info("delete tag ".concat(a.k," success")),await h())})},children:(0,s.jsx)("i",{className:"bi-trash"})})]},a.k);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N.y,{show:g.show,hash:g.hash,onHide:()=>m({...g,show:!1})}),(0,s.jsx)(k,{show:b.show,nodes:c,data:a,tag:b.tag,onChangeTag:e=>F({...b,tag:e}),new:b.new,onHide:()=>F({...b,show:!1}),onSave:()=>{""!==b.tag.tag&&""!==b.tag.hash&&(0,x.Fp)("/tag",{body:(0,y.R)(f.hf,b.tag)}).then(async a=>{let{error:t}=a;void 0!==t?e.Error("save tag ".concat(b.tag.tag," failed, ").concat(t.code,"| ").concat(await t.msg)):(e.Info("Set tag ".concat(b.tag.tag," to ").concat(b.tag.hash," successful")),await h()),F({...b,show:!1})})}}),(0,s.jsx)(d.A,{className:"mb-3",children:(0,s.jsxs)(r.A,{variant:"flush",children:[Object.entries(a.tags).sort((e,a)=>e<=a?-1:1).map(e=>{let[a,t]=e;return(0,s.jsx)(S,{k:a,v:(0,w.v)(A.xN,t)},a)}),(0,s.jsx)(r.A.Item,{className:"d-sm-flex",children:(0,s.jsxs)(l.A,{variant:"outline-success",className:"flex-grow-1",onClick:()=>F({show:!0,tag:(0,w.v)(f.hf,{tag:"new tag",hash:"",type:A.mm.node}),new:!0}),children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"New"]})})]})})]})}},1566:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var s=t(4617),n=t.n(s),r=t(2115),o=t(1653),l=t(5155);let d=r.forwardRef((e,a)=>{let{bsPrefix:t,bg:s="primary",pill:r=!1,text:d,className:i,as:h="span",...c}=e,g=(0,o.oU)(t,"badge");return(0,l.jsx)(h,{ref:a,...c,className:n()(i,g,r&&"rounded-pill",d&&"text-".concat(d),s&&"bg-".concat(s))})});d.displayName="Badge";let i=d},8627:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var s=t(4617),n=t.n(s),r=t(2115),o=t(1653),l=t(2963),d=t(5155);let i=()=>void 0,h=r.forwardRef((e,a)=>{let{bsPrefix:t,name:s,className:r,checked:h,type:c,onChange:g,value:m,disabled:u,id:v,inputRef:x,...b}=e;return t=(0,o.oU)(t,"btn-check"),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("input",{className:t,name:s,type:c,value:m,ref:x,autoComplete:"off",checked:!!h,disabled:!!u,onChange:g||i,id:v}),(0,d.jsx)(l.A,{...b,ref:a,className:n()(r,u&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:v})]})});h.displayName="ToggleButton";let c=h},3620:(e,a,t)=>{"use strict";t.d(a,{U:()=>s});let s=(0,t(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}},e=>{var a=a=>e(e.s=a);e.O(0,[235,995,515,920,637,708,354,734,973,306,145,698,441,517,358],()=>a(7809)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[163],{7809:(e,a,t)=>{Promise.resolve().then(t.bind(t,3129))},3129:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>G});var s=t(5155),n=t(2115),r=t(57),o=t(1566),l=t(2963),i=t(2981),d=t(0),h=t(3614),c=t(8627),g=t(2926),m=t(6180),u=t(9169),v=t(4995),x=t(8927),b=t(5554),j=t.n(b),p=t(148),f=t(9969),w=t(1649),A=t(3577),y=t(7558),C=t(1936),N=t(698);let k=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(d.A,{show:e.show,onHide:()=>{e.onHide()},children:[(0,s.jsx)(d.A.Header,{closeButton:!0,children:e.tag.tag}),(0,s.jsxs)(d.A.Body,{children:[(0,s.jsxs)(h.A,{className:"mb-3 d-flex",children:[(0,s.jsx)(c.A,{id:"toggle-node",type:"radio",variant:"outline-primary",value:w.mm.node,onChange:()=>{e.tag.type=w.mm.node,e.onChangeTag(e.tag)},checked:e.tag.type===w.mm.node,children:"Node"}),(0,s.jsx)(c.A,{id:"toggle-mirror",type:"radio",variant:"outline-primary",value:w.mm.mirror,onChange:()=>{e.tag.type=w.mm.mirror,e.onChangeTag(e.tag)},checked:e.tag.type===w.mm.mirror,children:"Mirror"})]}),e.new&&(0,s.jsx)(g.A,{label:"Tag",className:"mb-2",children:(0,s.jsx)(m.A.Control,{placeholder:"Tag","aria-label":"Tag","aria-describedby":"basic-addon1",value:e.tag.tag,onChange:a=>{e.tag.tag=a.target.value,e.onChangeTag(e.tag)}})}),e.tag.type==w.mm.mirror?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(S,{data:e.data,value:e.tag.hash,onChangeMirror:a=>{e.tag.hash=a,e.onChangeTag(e.tag)}})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(E,{data:e.nodes,hash:e.tag.hash,onChangeNode:a=>{e.tag.hash=a,e.onChangeTag(e.tag)}})})]}),(0,s.jsxs)(d.A.Footer,{children:[(0,s.jsx)(l.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,s.jsx)(l.A,{variant:"outline-primary",onClick:()=>{e.onSave()},children:"Save"})]})]})}),F=(e,a)=>{if(void 0===a||""===e)return"";for(let t in a.groups)for(let s in a.groups[t].nodesV2)if(a.groups[t].nodesV2[s]===e)return t;return""},E=e=>{var a,t;let[r,o]=(0,n.useState)({data:F(e.hash,e.data)});return(0,n.useEffect)(()=>{o({data:F(e.hash,e.data)})},[e.hash,e.data]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.A,{label:"Group",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:r.data,onChange:e=>o({data:e.target.value}),children:[(0,s.jsx)("option",{children:"Choose..."}),Object.keys(e.data?e.data.groups:{}).sort((e,a)=>e<=a?-1:1).map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})}),(0,s.jsx)(g.A,{label:"Node",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:e.hash,onChange:a=>{e.onChangeNode(a.target.value)},children:[(0,s.jsx)("option",{value:"",children:"Choose..."}),Object.entries(e.data&&null!==(t=null===(a=e.data.groups[r.data])||void 0===a?void 0:a.nodesV2)&&void 0!==t?t:{}).sort((e,a)=>e<=a?-1:1).map(e=>{let[a,t]=e;return(0,s.jsx)("option",{value:t,children:a},a)})]})})]})},S=e=>(0,s.jsx)(g.A,{label:"Mirror",className:"mb-2",children:(0,s.jsxs)(m.A.Select,{defaultValue:e.value,onChange:a=>{e.onChangeMirror(a.target.value)},children:[(0,s.jsx)("option",{value:"",children:"Choose..."}),Object.keys(e.data.tags).sort((e,a)=>e<=a?-1:1).map(e=>(0,s.jsx)("option",{value:e,children:e},e))]})}),G=function(){let e=(0,n.useContext)(p.u),{data:a,error:t,isLoading:d,mutate:h}=(0,v.Ay)("/tags",(0,x.AD)(f.BS)),{data:c}=(0,v.Ay)("/nodes",(0,x.AD)(f.X2)),[g,m]=(0,n.useState)({hash:"",show:!1}),[b,F]=(0,n.useState)({show:!1,tag:(0,A.v)(f.hf,{tag:"",hash:"",type:w.mm.node}),new:!0});if(void 0!==t)return(0,s.jsx)(j(),{statusCode:t.code,title:t.msg});if(d||void 0==a)return(0,s.jsx)(u.A,{});let E=a=>(0,s.jsxs)(r.A.Item,{className:"align-items-center d-flex justify-content-between",style:{border:"0ch",borderBottom:"1px solid #dee2e6"},action:!0,onClick:e=>{F({show:!0,tag:(0,A.v)(f.hf,{tag:a.k,hash:a.v.hash[0],type:a.v.type}),new:!1})},children:[(0,s.jsxs)("div",{children:[a.k,(0,s.jsx)(o.A,{className:"rounded-pill bg-light text-dark ms-1",children:0===a.v.hash.length||""===a.v.hash[0]?(0,s.jsxs)(s.Fragment,{children:["Fallback ",(0,s.jsx)("i",{className:"bi bi-heart-arrow"})," Global"]}):a.v.type===w.mm.mirror?(0,s.jsxs)(s.Fragment,{children:["Mirror ",(0,s.jsx)("i",{className:"bi bi-arrow-right"})," ",a.v.hash]}):(0,s.jsxs)(s.Fragment,{children:["Target ",(0,s.jsx)("i",{className:"bi bi-arrow-right"}),(0,s.jsx)("a",{className:"text-truncate",href:"#",onClick:e=>{e.preventDefault(),e.stopPropagation(),m({hash:a.v.hash[0],show:!0})},children:a.v.hash})]})})]}),(0,s.jsx)(l.A,{variant:"outline-danger",as:"span",size:"sm",onClick:t=>{t.stopPropagation(),(0,x.Fp)("/tag",{method:"DELETE",body:(0,y.R)(C.g8,(0,A.v)(C.g8,{value:a.k}))}).then(async t=>{let{error:s}=t;void 0!==s?e.Error("delete tag ".concat(a.k," failed, ").concat(s.code,"| ").concat(await s.msg)):(e.Info("delete tag ".concat(a.k," success")),await h())})},children:(0,s.jsx)("i",{className:"bi-trash"})})]},a.k);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N.y,{show:g.show,hash:g.hash,onHide:()=>m({...g,show:!1})}),(0,s.jsx)(k,{show:b.show,nodes:c,data:a,tag:b.tag,onChangeTag:e=>F({...b,tag:e}),new:b.new,onHide:()=>F({...b,show:!1}),onSave:()=>{""!==b.tag.tag&&""!==b.tag.hash&&(0,x.Fp)("/tag",{body:(0,y.R)(f.hf,b.tag)}).then(async a=>{let{error:t}=a;void 0!==t?e.Error("save tag ".concat(b.tag.tag," failed, ").concat(t.code,"| ").concat(await t.msg)):(e.Info("Set tag ".concat(b.tag.tag," to ").concat(b.tag.hash," successful")),await h()),F({...b,show:!1})})}}),(0,s.jsx)(i.A,{className:"mb-3",children:(0,s.jsxs)(r.A,{variant:"flush",children:[Object.entries(a.tags).sort((e,a)=>e<=a?-1:1).map(e=>{let[a,t]=e;return(0,s.jsx)(E,{k:a,v:(0,A.v)(w.xN,t)},a)}),(0,s.jsx)(r.A.Item,{className:"d-sm-flex",children:(0,s.jsxs)(l.A,{variant:"outline-success",className:"flex-grow-1",onClick:()=>F({show:!0,tag:(0,A.v)(f.hf,{tag:"new tag",hash:"",type:w.mm.node}),new:!0}),children:[(0,s.jsx)("i",{className:"bi bi-plus-lg"}),"New"]})})]})})]})}},1566:(e,a,t)=>{"use strict";t.d(a,{A:()=>d});var s=t(4617),n=t.n(s),r=t(2115),o=t(1653),l=t(5155);let i=r.forwardRef((e,a)=>{let{bsPrefix:t,bg:s="primary",pill:r=!1,text:i,className:d,as:h="span",...c}=e,g=(0,o.oU)(t,"badge");return(0,l.jsx)(h,{ref:a,...c,className:n()(d,g,r&&"rounded-pill",i&&"text-".concat(i),s&&"bg-".concat(s))})});i.displayName="Badge";let d=i},8627:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var s=t(4617),n=t.n(s),r=t(2115),o=t(1653),l=t(2963),i=t(5155);let d=()=>void 0,h=r.forwardRef((e,a)=>{let{bsPrefix:t,name:s,className:r,checked:h,type:c,onChange:g,value:m,disabled:u,id:v,inputRef:x,...b}=e;return t=(0,o.oU)(t,"btn-check"),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("input",{className:t,name:s,type:c,value:m,ref:x,autoComplete:"off",checked:!!h,disabled:!!u,onChange:g||d,id:v}),(0,i.jsx)(l.A,{...b,ref:a,className:n()(r,u&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:v})]})});h.displayName="ToggleButton";let c=h},4395:(e,a,t)=>{"use strict";function s(e,a,...t){if(t.length>0)throw Error();return e.services[a]}t.d(a,{Z:()=>s})},3620:(e,a,t)=>{"use strict";t.d(a,{U:()=>s});let s=(0,t(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}},e=>{var a=a=>e(e.s=a);e.O(0,[488,995,515,920,637,354,708,734,973,306,145,698,441,517,358],()=>a(7809)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/webui/page-270cf575227966d0.js b/_next/static/chunks/app/docs/webui/page-270cf575227966d0.js new file mode 100644 index 00000000..7690a088 --- /dev/null +++ b/_next/static/chunks/app/docs/webui/page-270cf575227966d0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[987],{7861:(e,t,n)=>{Promise.resolve().then(n.bind(n,7305))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>c,G_:()=>h,Ow:()=>d,Oz:()=>a,VN:()=>v,X3:()=>i,_s:()=>g,dp:()=>m,h$:()=>p,kP:()=>l,mv:()=>x,oH:()=>r,r3:()=>s,u1:()=>o});var l="",a="https://clients3.google.com/generate_204",s="dns.nextdns.io:853",r=!0,c="http://ip.sb",o="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let u=()=>{let e=localStorage.getItem("api_url");l=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(a=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(s=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(r="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(o=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},d=e=>{f("api_url",e)},m=e=>{f("latency_dns_url",e)},h=e=>{f("latency_http_url",e)},x=e=>{f("latency_ipv6",e.toString())},p=e=>{f("latency_ip_url",e)},g=e=>{f("latency_stun_url",e)},v=e=>{f("latency_stun_tcp_url",e)},f=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),u()};u()},2859:(e,t,n)=>{"use strict";n.d(t,{$d:()=>c});var l=n(5155);n(2115);var a=n(6180),s=n(6121),r=n(3667);let c=e=>(0,l.jsxs)(a.A.Group,{as:s.A,className:"mb-2",children:[(0,l.jsx)(a.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(r.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(a.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,y:()=>o});var l=n(5155),a=n(2115),s=n(1757),r=n(491);let c=(0,a.createContext)({Info:e=>{},Error:e=>{}}),o=e=>{let{children:t}=e,[n,o]=(0,a.useState)({value:{},index:0}),i=(e,t)=>o(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,l.jsxs)(c.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,l.jsx)(s.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,a]=e;return(0,l.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=n.value;delete e[t],o({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(r.A.Header,{children:[(0,l.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,l.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,l.jsx)(r.A.Body,{className:"text-center",children:a.text})]},"toast"+t)})}),t]})}},7305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var l=n(5155),a=n(2115),s=n(6180),r=n(6121),c=n(3667),o=n(2963),i=n(4216),u=n(2981),d=n(744),m=n(148),h=n(2859);let x=e=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(s.A.Group,{as:r.A,className:"mb-1 ms-1",children:(0,l.jsxs)(r.A,{className:"g-2",children:[(0,l.jsx)(s.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),(0,l.jsx)(c.A,{sm:6,children:(0,l.jsx)(s.A.Control,{value:e.value,onChange:t=>e.onChange(t.target.value),placeholder:e.placeholder})}),(0,l.jsx)(c.A,{sm:2,children:(0,l.jsxs)(o.A,{disabled:e.loading,onClick:()=>e.onClick(),variant:"outline-primary",children:[e.buttonText?e.buttonText:"Save",e.loading&&(0,l.jsx)(i.A,{size:"sm",animation:"border",variant:"primary"})]})})]})})}),p=function(){let e=(0,a.useContext)(m.u),[t,n]=(0,a.useState)(d.kP),[s,r]=(0,a.useState)(d.Oz),[c,o]=(0,a.useState)(d.r3),[i,p]=(0,a.useState)(d.oH),[g,v]=(0,a.useState)(d.DH),[f,y]=(0,a.useState)(d.u1),[S,j]=(0,a.useState)(d.X3);return(0,l.jsxs)(l.Fragment,{children:[" ",(0,l.jsx)(u.A,{className:"mb-3",children:(0,l.jsxs)(u.A.Body,{children:[(0,l.jsx)(x,{title:"API Host",value:t,onChange:n,placeholder:"http://127.0.0.1:50051",onClick:()=>{(0,d.Ow)(t),""!==t?e.Info("Set API Url: ".concat(t," success.")):e.Info("Remove API Url success."),console.log(t)},buttonText:"Save"}),(0,l.jsx)("hr",{}),(0,l.jsx)(u.A.Title,{className:"mb-2",children:"Latency"}),(0,l.jsx)(h.$d,{label:"IPv6",checked:i,onChange:()=>{p(!i),(0,d.mv)(!i)}}),(0,l.jsx)(x,{title:"HTTP(tcp)",placeholder:"https://clients3.google.com/generate_204",value:s,onChange:r,onClick:()=>{(0,d.G_)(s),""!==s?e.Info("Set Latency HTTP Url: ".concat(s," success.")):e.Info("Remove Latency HTTP Url success.")}}),(0,l.jsx)(x,{title:"DOQ(udp)",placeholder:"dns.adguard.com:853",value:c,onChange:o,onClick:()=>{(0,d.dp)(c),""!==c?e.Info("Set Latency DNS: ".concat(c," success.")):e.Info("Remove Latency DNS success.")}}),(0,l.jsx)(x,{title:"IP",placeholder:"http://ip.sb",value:g,onChange:v,onClick:()=>{(0,d.h$)(g),""!==g?e.Info("Set Latency IP Url: ".concat(g," success.")):e.Info("Remove Latency IP Url success.")}}),(0,l.jsx)(x,{title:"STUN",placeholder:"stun.syncthing.net:3478",value:f,onChange:y,onClick:()=>{(0,d._s)(f),""!==f?e.Info("Set Latency STUN Url: ".concat(f," success.")):e.Info("Remove Latency STUN Url success.")}}),(0,l.jsx)(x,{title:"STUN TCP",placeholder:"stun.syncthing.net:3478",value:S,onChange:j,onClick:()=>{(0,d.VN)(S),""!==S?e.Info("Set Latency STUN TCP Url: ".concat(S," success.")):e.Info("Remove Latency STUN TCP Url success.")}})]})})]})}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),a=n.n(l),s=n(2115),r=n(1653),c=n(5155);let o=s.forwardRef((e,t)=>{let{bsPrefix:n,className:l,as:s="div",...o}=e,i=(0,r.oU)(n,"row"),u=(0,r.gy)(),d=(0,r.Jm)(),m="".concat(i,"-cols"),h=[];return u.forEach(e=>{let t;let n=o[e];delete o[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&h.push("".concat(m).concat(e!==d?"-".concat(e):"","-").concat(t))}),(0,c.jsx)(s,{ref:t,...o,className:a()(l,i,...h)})});o.displayName="Row";let i=o},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),a=n.n(l),s=n(2115),r=n(1653),c=n(5155);let o=s.forwardRef((e,t)=>{let{bsPrefix:n,variant:l,animation:s="border",size:o,as:i="div",className:u,...d}=e;n=(0,r.oU)(n,"spinner");let m="".concat(n,"-").concat(s);return(0,c.jsx)(i,{ref:t,...d,className:a()(u,m,o&&"".concat(m,"-").concat(o),l&&"text-".concat(l))})});o.displayName="Spinner";let i=o},1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>d,Jy:()=>a,Wz:()=>m,ff:()=>s,gy:()=>u,oU:()=>i});var l=n(2115);n(5155);let a=["xxl","xl","lg","md","sm","xs"],s="xs",r=l.createContext({prefixes:{},breakpoints:a,minBreakpoint:s}),{Consumer:c,Provider:o}=r;function i(e,t){let{prefixes:n}=(0,l.useContext)(r);return e||n[t]||t}function u(){let{breakpoints:e}=(0,l.useContext)(r);return e}function d(){let{minBreakpoint:e}=(0,l.useContext)(r);return e}function m(){let{dir:e}=(0,l.useContext)(r);return"rtl"===e}},4617:(e,t)=>{var n;!function(){"use strict";var l={}.hasOwnProperty;function a(){for(var e="",t=0;t{var t=t=>e(e.s=t);e.O(0,[515,920,441,517,358],()=>t(7861)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/webui/page-e8832e3fc1a27bb9.js b/_next/static/chunks/app/docs/webui/page-e8832e3fc1a27bb9.js deleted file mode 100644 index 84f7ee10..00000000 --- a/_next/static/chunks/app/docs/webui/page-e8832e3fc1a27bb9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[987],{7861:(e,t,n)=>{Promise.resolve().then(n.bind(n,7305))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>c,G_:()=>h,Ow:()=>d,Oz:()=>s,VN:()=>v,X3:()=>i,_s:()=>g,dp:()=>m,h$:()=>p,kP:()=>l,mv:()=>x,oH:()=>r,r3:()=>a,u1:()=>o});var l="",s="https://clients3.google.com/generate_204",a="dns.nextdns.io:853",r=!0,c="http://ip.sb",o="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let u=()=>{let e=localStorage.getItem("api_url");l=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(s=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(a=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(r="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(o=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},d=e=>{f("api_url",e)},m=e=>{f("latency_dns_url",e)},h=e=>{f("latency_http_url",e)},x=e=>{f("latency_ipv6",e.toString())},p=e=>{f("latency_ip_url",e)},g=e=>{f("latency_stun_url",e)},v=e=>{f("latency_stun_tcp_url",e)},f=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),u()};u()},2859:(e,t,n)=>{"use strict";n.d(t,{$d:()=>c});var l=n(5155);n(2115);var s=n(6180),a=n(6121),r=n(3667);let c=e=>(0,l.jsxs)(s.A.Group,{as:a.A,className:"mb-2",children:[(0,l.jsx)(s.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(r.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(s.A.Check,{className:"d-flex align-items-center",type:"switch",checked:e.checked,onChange:()=>e.onChange()})})]})},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,y:()=>o});var l=n(5155),s=n(2115),a=n(1757),r=n(491);let c=(0,s.createContext)({Info:e=>{},Error:e=>{}}),o=e=>{let{children:t}=e,[n,o]=(0,s.useState)({value:{},index:0}),i=(e,t)=>o(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,l.jsxs)(c.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,l.jsx)(a.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,s]=e;return(0,l.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:s.type,onClose:()=>{let e=n.value;delete e[t],o({...n,value:e}),console.log("close: "+t)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(r.A.Header,{children:[(0,l.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,l.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,l.jsx)(r.A.Body,{className:"text-center",children:s.text})]},"toast"+t)})}),t]})}},7305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var l=n(5155),s=n(2115),a=n(6180),r=n(6121),c=n(3667),o=n(2963),i=n(4216),u=n(2981),d=n(744),m=n(148),h=n(2859);let x=e=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(a.A.Group,{as:r.A,className:"mb-1 ms-1",children:(0,l.jsxs)(r.A,{className:"g-2",children:[(0,l.jsx)(a.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),(0,l.jsx)(c.A,{sm:6,children:(0,l.jsx)(a.A.Control,{value:e.value,onChange:t=>e.onChange(t.target.value),placeholder:e.placeholder})}),(0,l.jsx)(c.A,{sm:2,children:(0,l.jsxs)(o.A,{disabled:e.loading,onClick:()=>e.onClick(),variant:"outline-primary",children:[e.buttonText?e.buttonText:"Save",e.loading&&(0,l.jsx)(i.A,{size:"sm",animation:"border",variant:"primary"})]})})]})})}),p=function(){let e=(0,s.useContext)(m.u),[t,n]=(0,s.useState)(d.kP),[a,r]=(0,s.useState)(d.Oz),[c,o]=(0,s.useState)(d.r3),[i,p]=(0,s.useState)(d.oH),[g,v]=(0,s.useState)(d.DH),[f,y]=(0,s.useState)(d.u1),[S,j]=(0,s.useState)(d.X3);return(0,l.jsxs)(l.Fragment,{children:[" ",(0,l.jsx)(u.A,{className:"mb-3",children:(0,l.jsxs)(u.A.Body,{children:[(0,l.jsx)(x,{title:"API Host",value:t,onChange:n,placeholder:"http://127.0.0.1:50051",onClick:()=>{(0,d.Ow)(t),""!==t?e.Info("Set API Url: ".concat(t," success.")):e.Info("Remove API Url success."),console.log(t)},buttonText:"Save"}),(0,l.jsx)("hr",{}),(0,l.jsx)(u.A.Title,{className:"mb-2",children:"Latency"}),(0,l.jsx)(h.$d,{label:"IPv6",checked:i,onChange:()=>{p(!i),(0,d.mv)(!i)}}),(0,l.jsx)(x,{title:"HTTP(tcp)",placeholder:"https://clients3.google.com/generate_204",value:a,onChange:r,onClick:()=>{(0,d.G_)(a),""!==a?e.Info("Set Latency HTTP Url: ".concat(a," success.")):e.Info("Remove Latency HTTP Url success.")}}),(0,l.jsx)(x,{title:"DOQ(udp)",placeholder:"dns.adguard.com:853",value:c,onChange:o,onClick:()=>{(0,d.dp)(c),""!==c?e.Info("Set Latency DNS: ".concat(c," success.")):e.Info("Remove Latency DNS success.")}}),(0,l.jsx)(x,{title:"IP",placeholder:"http://ip.sb",value:g,onChange:v,onClick:()=>{(0,d.h$)(g),""!==g?e.Info("Set Latency IP Url: ".concat(g," success.")):e.Info("Remove Latency IP Url success.")}}),(0,l.jsx)(x,{title:"STUN",placeholder:"stun.syncthing.net:3478",value:f,onChange:y,onClick:()=>{(0,d._s)(f),""!==f?e.Info("Set Latency STUN Url: ".concat(f," success.")):e.Info("Remove Latency STUN Url success.")}}),(0,l.jsx)(x,{title:"STUN TCP",placeholder:"stun.syncthing.net:3478",value:S,onChange:j,onClick:()=>{(0,d.VN)(S),""!==S?e.Info("Set Latency STUN TCP Url: ".concat(S," success.")):e.Info("Remove Latency STUN TCP Url success.")}})]})})]})}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),s=n.n(l),a=n(2115),r=n(1653),c=n(5155);let o=a.forwardRef((e,t)=>{let{bsPrefix:n,className:l,as:a="div",...o}=e,i=(0,r.oU)(n,"row"),u=(0,r.gy)(),d=(0,r.Jm)(),m="".concat(i,"-cols"),h=[];return u.forEach(e=>{let t;let n=o[e];delete o[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&h.push("".concat(m).concat(e!==d?"-".concat(e):"","-").concat(t))}),(0,c.jsx)(a,{ref:t,...o,className:s()(l,i,...h)})});o.displayName="Row";let i=o},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),s=n.n(l),a=n(2115),r=n(1653),c=n(5155);let o=a.forwardRef((e,t)=>{let{bsPrefix:n,variant:l,animation:a="border",size:o,as:i="div",className:u,...d}=e;n=(0,r.oU)(n,"spinner");let m="".concat(n,"-").concat(a);return(0,c.jsx)(i,{ref:t,...d,className:s()(u,m,o&&"".concat(m,"-").concat(o),l&&"text-".concat(l))})});o.displayName="Spinner";let i=o},1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>d,Jy:()=>s,Wz:()=>m,ff:()=>a,gy:()=>u,oU:()=>i});var l=n(2115);n(5155);let s=["xxl","xl","lg","md","sm","xs"],a="xs",r=l.createContext({prefixes:{},breakpoints:s,minBreakpoint:a}),{Consumer:c,Provider:o}=r;function i(e,t){let{prefixes:n}=(0,l.useContext)(r);return e||n[t]||t}function u(){let{breakpoints:e}=(0,l.useContext)(r);return e}function d(){let{minBreakpoint:e}=(0,l.useContext)(r);return e}function m(){let{dir:e}=(0,l.useContext)(r);return"rtl"===e}},4617:(e,t)=>{var n;!function(){"use strict";var l={}.hasOwnProperty;function s(){for(var e="",t=0;t{var t=t=>e(e.s=t);e.O(0,[515,920,441,517,358],()=>t(7861)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/layout-77724a14572beb8f.js b/_next/static/chunks/app/layout-77724a14572beb8f.js new file mode 100644 index 00000000..8f035d94 --- /dev/null +++ b/_next/static/chunks/app/layout-77724a14572beb8f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{8063:(e,t,n)=>{Promise.resolve().then(n.bind(n,8319))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>o,G_:()=>v,Ow:()=>u,Oz:()=>r,VN:()=>h,X3:()=>c,_s:()=>p,dp:()=>f,h$:()=>x,kP:()=>a,mv:()=>m,oH:()=>s,r3:()=>l,u1:()=>i});var a="",r="https://clients3.google.com/generate_204",l="dns.nextdns.io:853",s=!0,o="http://ip.sb",i="stun.syncthing.net:3478",c="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");a=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(r=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(l=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(s="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(o=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(i=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(c=e)},u=e=>{g("api_url",e)},f=e=>{g("latency_dns_url",e)},v=e=>{g("latency_http_url",e)},m=e=>{g("latency_ipv6",e.toString())},x=e=>{g("latency_ip_url",e)},p=e=>{g("latency_stun_url",e)},h=e=>{g("latency_stun_tcp_url",e)},g=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>o,y:()=>i});var a=n(5155),r=n(2115),l=n(1757),s=n(491);let o=(0,r.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:t}=e,[n,i]=(0,r.useState)({value:{},index:0}),c=(e,t)=>i(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,a.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,a.jsx)(l.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,r]=e;return(0,a.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:r.type,onClose:()=>{let e=n.value;delete e[t],i({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(s.A.Header,{children:[(0,a.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,a.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,a.jsx)(s.A.Body,{className:"text-center",children:r.text})]},"toast"+t)})}),t]})}},8319:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var a=n(5155),r=n(4617),l=n.n(r),s=n(2115),o=n(1653);let i=s.forwardRef((e,t)=>{let{bsPrefix:n,fluid:r=!1,as:s="div",className:i,...c}=e,d=(0,o.oU)(n,"container");return(0,a.jsx)(s,{ref:t,...c,className:l()(i,r?"".concat(d).concat("string"==typeof r?"-".concat(r):"-fluid"):d)})});i.displayName="Container";var c=n(7644),d=n(6647);let u=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:s,...i}=e;n=(0,o.oU)(n,"navbar-brand");let c=s||(i.href?"a":"span");return(0,a.jsx)(c,{...i,ref:t,className:l()(r,n)})});u.displayName="NavbarBrand";var f=n(896),v=n(1668);let m=s.forwardRef((e,t)=>{let{children:n,bsPrefix:r,...l}=e;r=(0,o.oU)(r,"navbar-collapse");let i=(0,s.useContext)(v.A);return(0,a.jsx)(f.A,{in:!!(i&&i.expanded),...l,children:(0,a.jsx)("div",{ref:t,className:r,children:n})})});m.displayName="NavbarCollapse";var x=n(3853);let p=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,label:c="Toggle navigation",as:d="button",onClick:u,...f}=e;n=(0,o.oU)(n,"navbar-toggler");let{onToggle:m,expanded:p}=(0,s.useContext)(v.A)||{},h=(0,x.A)(e=>{u&&u(e),m&&m()});return"button"===d&&(f.type="button"),(0,a.jsx)(d,{...f,ref:t,onClick:h,"aria-label":c,className:l()(r,n,!p&&"collapsed"),children:i||(0,a.jsx)("span",{className:"".concat(n,"-icon")})})});p.displayName="NavbarToggle";var h=n(1146);let g=new WeakMap,y=(e,t)=>{if(!e||!t)return;let n=g.get(t)||new Map;g.set(t,n);let a=n.get(e);return a||((a=t.matchMedia(e)).refCount=0,n.set(a.media,a)),a},j=function(e){let t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}return function(a,r,l){let o;return"object"==typeof a?(o=a,l=r,r=!0):o={[a]:r=r||!0},function(e,t="undefined"==typeof window?void 0:window){let n=y(e,t),[a,r]=(0,s.useState)(()=>!!n&&n.matches);return(0,h.A)(()=>{let n=y(e,t);if(!n)return r(!1);let a=g.get(t),l=()=>{r(n.matches)};return n.refCount++,n.addListener(l),l(),()=>{n.removeListener(l),n.refCount--,n.refCount<=0&&(null==a||a.delete(n.media)),n=void 0}},[e]),a}((0,s.useMemo)(()=>Object.entries(o).reduce((a,[r,l])=>{if("up"===l||!0===l){let t;a=n(a,("number"==typeof(t=e[r])&&(t=`${t}px`),`(min-width: ${t})`))}if("down"===l||!0===l){let l;a=n(a,(l="number"==typeof(l=e[t[Math.min(t.indexOf(r)+1,t.length-1)]])?`${l-.2}px`:`calc(${l} - 0.2px)`,`(max-width: ${l})`))}return a},""),[JSON.stringify(o)]),l)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});var b=n(9952),A=n(3281);let N=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s="div",...i}=e;return r=(0,o.oU)(r,"offcanvas-body"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});N.displayName="OffcanvasBody";var w=n(2400),I=n(5998),_=n(4837),C=n(4579);let O={[w.ns]:"show",[w._K]:"show"},k=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,in:c=!1,mountOnEnter:d=!1,unmountOnExit:u=!1,appear:f=!1,...v}=e;return n=(0,o.oU)(n,"offcanvas"),(0,a.jsx)(C.A,{ref:t,addEndListener:_.A,in:c,mountOnEnter:d,unmountOnExit:u,appear:f,...v,childRef:(0,I.am)(i),children:(e,t)=>s.cloneElement(i,{...t,className:l()(r,i.props.className,(e===w.ns||e===w.ze)&&"".concat(n,"-toggling"),O[e])})})});k.displayName="OffcanvasToggling";var E=n(7467),S=n(2243);let R=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,closeLabel:s="Close",closeButton:i=!1,...c}=e;return n=(0,o.oU)(n,"offcanvas-header"),(0,a.jsx)(S.A,{ref:t,...c,className:l()(r,n),closeLabel:s,closeButton:i})});R.displayName="OffcanvasHeader";let T=(0,n(7449).A)("h5"),U=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s=T,...i}=e;return r=(0,o.oU)(r,"offcanvas-title"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});U.displayName="OffcanvasTitle";var K=n(3876);function P(e){return(0,a.jsx)(k,{...e})}function M(e){return(0,a.jsx)(A.A,{...e})}let B=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,"aria-labelledby":c,placement:d="start",responsive:u,show:f=!1,backdrop:v=!0,keyboard:m=!0,scroll:p=!1,onEscapeKeyDown:h,onShow:g,onHide:y,container:A,autoFocus:N=!0,enforceFocus:w=!0,restoreFocus:I=!0,restoreFocusOptions:_,onEntered:C,onExit:O,onExiting:k,onEnter:S,onEntering:R,onExited:T,backdropClassName:U,manager:B,renderStaticNode:H=!1,...L}=e,D=(0,s.useRef)();n=(0,o.oU)(n,"offcanvas");let[F,$]=(0,s.useState)(!1),W=(0,x.A)(y),z=j(u||"xs","up");(0,s.useEffect)(()=>{$(u?f&&!z:f)},[f,u,z]);let G=(0,s.useMemo)(()=>({onHide:W}),[W]),J=(0,s.useCallback)(e=>(0,a.jsx)("div",{...e,className:l()("".concat(n,"-backdrop"),U)}),[U,n]),Y=e=>(0,a.jsx)("div",{...e,...L,className:l()(r,u?"".concat(n,"-").concat(u):n,"".concat(n,"-").concat(d)),"aria-labelledby":c,children:i});return(0,a.jsxs)(a.Fragment,{children:[!F&&(u||H)&&Y({}),(0,a.jsx)(E.A.Provider,{value:G,children:(0,a.jsx)(b.A,{show:F,ref:t,backdrop:v,container:A,keyboard:m,autoFocus:N,enforceFocus:w&&!p,restoreFocus:I,restoreFocusOptions:_,onEscapeKeyDown:h,onShow:g,onHide:W,onEnter:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a{let{onHide:n,...r}=e,l=(0,s.useContext)(v.A),o=(0,x.A)(()=>{null==l||null==l.onToggle||l.onToggle(),null==n||n()});return(0,a.jsx)(H,{ref:t,show:!!(null!=l&&l.expanded),...r,renderStaticNode:!0,onHide:o})});L.displayName="NavbarOffcanvas";let D=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s="span",...i}=e;return r=(0,o.oU)(r,"navbar-text"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});D.displayName="NavbarText";let F=s.forwardRef((e,t)=>{let{bsPrefix:n,expand:r=!0,variant:i="light",bg:u,fixed:f,sticky:m,className:x,as:p="nav",expanded:h,onToggle:g,onSelect:y,collapseOnSelect:j=!1,...b}=(0,d.Zw)(e,{expanded:"onToggle"}),A=(0,o.oU)(n,"navbar"),N=(0,s.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n({onToggle:()=>null==g?void 0:g(!h),bsPrefix:A,expanded:!!h,expand:r}),[A,h,r,g]);return(0,a.jsx)(v.A.Provider,{value:I,children:(0,a.jsx)(c.A.Provider,{value:N,children:(0,a.jsx)(p,{ref:t,...b,className:l()(x,A,r&&w,i&&"".concat(A,"-").concat(i),u&&"bg-".concat(u),m&&"sticky-".concat(m),f&&"fixed-".concat(f))})})})});F.displayName="Navbar";let $=Object.assign(F,{Brand:u,Collapse:m,Offcanvas:L,Text:D,Toggle:p});var W=n(3360),z=n(9637),G=n(5748);let J=s.forwardRef((e,t)=>{let{id:n,title:r,children:s,bsPrefix:i,className:c,rootCloseEvent:d,menuRole:u,disabled:f,active:v,renderMenuOnMount:m,menuVariant:x,...p}=e,h=(0,o.oU)(void 0,"nav-item");return(0,a.jsxs)(z.A,{ref:t,...p,className:l()(c,h),children:[(0,a.jsx)(z.A.Toggle,{id:n,eventKey:null,active:v,disabled:f,childBsPrefix:i,as:G.A,children:r}),(0,a.jsx)(z.A.Menu,{role:u,renderOnMount:m,rootCloseEvent:d,variant:x,children:s})]})});J.displayName="NavDropdown";let Y=Object.assign(J,{Item:z.A.Item,ItemText:z.A.ItemText,Divider:z.A.Divider,Header:z.A.Header});var Z=n(6658),V=n(744);let X=function(e){let t=(0,Z.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)($,{collapseOnSelect:!0,expand:"lg",style:{backdropFilter:"blur(50px)"},className:"shadow-sm",sticky:"top",children:(0,a.jsxs)(i,{fluid:!0,children:[(0,a.jsx)($.Toggle,{"aria-controls":"responsive-navbar-nav"}),(0,a.jsx)($.Collapse,{children:(0,a.jsxs)(W.A,{activeKey:(0,Z.usePathname)(),onSelect:(e,n)=>{n.preventDefault(),e&&t.push(e)},children:[(0,a.jsx)(W.A.Item,{children:(0,a.jsx)(W.A.Link,{eventKey:"/",children:"HOME"})}),(0,a.jsx)(W.A.Item,{children:(0,a.jsx)(W.A.Link,{eventKey:"/docs/group/",children:"OUTBOUND"})}),(0,a.jsx)(W.A.Item,{children:(0,a.jsx)(W.A.Link,{eventKey:"/docs/tag/",children:"TAG"})}),(0,a.jsx)(W.A.Item,{children:(0,a.jsx)(W.A.Link,{eventKey:"/docs/subscribe/",children:"SUBSCRIBE"})}),(0,a.jsxs)(Y,{title:"CONNECTIONS",active:(0,Z.usePathname)().startsWith("/docs/connections/"),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/connections/",children:"Connections"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/connections/failed",children:"Failed History"})]}),(0,a.jsxs)(Y,{title:"BYPASS",active:(0,Z.usePathname)().startsWith("/docs/bypass/"),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/",children:"Config"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/test",children:"Test Route"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/block",children:"Block History"})]}),(0,a.jsxs)(Y,{title:"SETTING",active:(0,Z.usePathname)().startsWith("/docs/config/")||(0,Z.usePathname)().startsWith("/docs/webui/"),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/config/",children:"Config"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/config/inbounds/",children:"Inbound"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/webui/",children:"WebUI"}),(0,a.jsx)(Y.Divider,{}),(0,a.jsx)(Y.Item,{eventKey:V.kP+"/debug/pprof",children:"Pprof"}),(0,a.jsx)(Y.Divider,{}),(0,a.jsx)(Y.Item,{eventKey:"/docs/config/about",children:"About"})]})]})})]})}),e.children]})};var q=n(148);function Q(e){let{children:t}=e;return(0,a.jsxs)("html",{lang:"en","data-bs-theme":"auto",children:[(0,a.jsxs)("head",{children:[(0,a.jsx)("meta",{charSet:"utf-8"}),(0,a.jsx)("title",{children:"Yuhaiin"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("link",{rel:"icon",href:"/docs/faviconv2.ico"}),(0,a.jsx)("meta",{name:"description",content:"yuhaiin"}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:"/docs/logov2192.png"})]}),(0,a.jsx)("body",{children:(0,a.jsx)(X,{children:(0,a.jsx)(i,{className:"mt-3 mb-3",children:(0,a.jsx)(q.y,{children:t})})})})]})}n(5685),n(3386)},896:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(4617),r=n.n(a),l=n(3762),s=n(2115),o=n(2400),i=n(5998),c=n(4837),d=n(4309),u=n(3557),f=n(4579),v=n(5155);let m={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function x(e,t){let n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],a=m[e];return n+parseInt((0,l.A)(t,a[0]),10)+parseInt((0,l.A)(t,a[1]),10)}let p={[o.kp]:"collapse",[o.ze]:"collapsing",[o.ns]:"collapsing",[o._K]:"collapse show"},h=s.forwardRef((e,t)=>{let{onEnter:n,onEntering:a,onEntered:l,onExit:o,onExiting:m,className:h,children:g,dimension:y="height",in:j=!1,timeout:b=300,mountOnEnter:A=!1,unmountOnExit:N=!1,appear:w=!1,getDimensionValue:I=x,..._}=e,C="function"==typeof y?y():y,O=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]="0"},n),[C,n]),k=(0,s.useMemo)(()=>(0,d.A)(e=>{let t="scroll".concat(C[0].toUpperCase()).concat(C.slice(1));e.style[C]="".concat(e[t],"px")},a),[C,a]),E=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]=null},l),[C,l]),S=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]="".concat(I(C,e),"px"),(0,u.A)(e)},o),[o,I,C]),R=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]=null},m),[C,m]);return(0,v.jsx)(f.A,{ref:t,addEndListener:c.A,..._,"aria-expanded":_.role?j:null,onEnter:O,onEntering:k,onEntered:E,onExit:S,onExiting:R,childRef:(0,i.am)(g),in:j,timeout:b,mountOnEnter:A,unmountOnExit:N,appear:w,children:(e,t)=>s.cloneElement(g,{...t,className:r()(h,g.props.className,p[e],"width"===C&&"collapse-horizontal")})})})},3360:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var a=n(4617),r=n.n(a),l=n(2115),s=n(6647),o=n(9814),i=n(1653),c=n(1668),d=n(7251),u=n(5155);let f=l.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:l="div",...s}=e;return a=(0,i.oU)(a,"nav-item"),(0,u.jsx)(l,{ref:t,className:r()(n,a),...s})});f.displayName="NavItem";var v=n(5748);let m=l.forwardRef((e,t)=>{let n,a;let{as:f="div",bsPrefix:v,variant:m,fill:x=!1,justify:p=!1,navbar:h,navbarScroll:g,className:y,activeKey:j,...b}=(0,s.Zw)(e,{activeKey:"onSelect"}),A=(0,i.oU)(v,"nav"),N=!1,w=(0,l.useContext)(c.A),I=(0,l.useContext)(d.A);return w?(n=w.bsPrefix,N=null==h||h):I&&({cardHeaderBsPrefix:a}=I),(0,u.jsx)(o.A,{as:f,ref:t,activeKey:j,className:r()(y,{[A]:!N,["".concat(n,"-nav")]:N,["".concat(n,"-nav-scroll")]:N&&g,["".concat(a,"-").concat(m)]:!!a,["".concat(A,"-").concat(m)]:!!m,["".concat(A,"-fill")]:x,["".concat(A,"-justified")]:p}),...b})});m.displayName="Nav";let x=Object.assign(m,{Item:f,Link:v.A})},5748:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(4617),r=n.n(a),l=n(2115),s=n(9656),o=n(3973),i=n(7644),c=n(1653),d=n(5155);let u=l.forwardRef((e,t)=>{let{bsPrefix:n,className:a,as:l=s.A,active:u,eventKey:f,disabled:v=!1,...m}=e;n=(0,c.oU)(n,"nav-link");let[x,p]=(0,o.M)({key:(0,i.u)(f,m.href),active:u,disabled:v,...m});return(0,d.jsx)(l,{...m,...x,ref:t,disabled:v,className:r()(a,n,v&&"disabled",p.isActive&&"active")})});u.displayName="NavLink";let f=u},1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>u,Jy:()=>r,Wz:()=>f,ff:()=>l,gy:()=>d,oU:()=>c});var a=n(2115);n(5155);let r=["xxl","xl","lg","md","sm","xs"],l="xs",s=a.createContext({prefixes:{},breakpoints:r,minBreakpoint:l}),{Consumer:o,Provider:i}=s;function c(e,t){let{prefixes:n}=(0,a.useContext)(s);return e||n[t]||t}function d(){let{breakpoints:e}=(0,a.useContext)(s);return e}function u(){let{minBreakpoint:e}=(0,a.useContext)(s);return e}function f(){let{dir:e}=(0,a.useContext)(s);return"rtl"===e}},4309:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=function(){for(var e=arguments.length,t=Array(e),n=0;nnull!=e).reduce((e,t)=>{if("function"!=typeof t)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,a=Array(n),r=0;r{},5685:()=>{},4617:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e="",t=0;t{var t=t=>e(e.s=t);e.O(0,[740,675,515,637,354,441,517,358],()=>t(8063)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/layout-d20271b6b82658d2.js b/_next/static/chunks/app/layout-d20271b6b82658d2.js deleted file mode 100644 index 93b63a92..00000000 --- a/_next/static/chunks/app/layout-d20271b6b82658d2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{8063:(e,t,n)=>{Promise.resolve().then(n.bind(n,8319))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>o,G_:()=>v,Ow:()=>u,Oz:()=>r,VN:()=>h,X3:()=>c,_s:()=>p,dp:()=>f,h$:()=>x,kP:()=>a,mv:()=>m,oH:()=>s,r3:()=>l,u1:()=>i});var a="",r="https://clients3.google.com/generate_204",l="dns.nextdns.io:853",s=!0,o="http://ip.sb",i="stun.syncthing.net:3478",c="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");a=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(r=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(l=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(s="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(o=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(i=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(c=e)},u=e=>{g("api_url",e)},f=e=>{g("latency_dns_url",e)},v=e=>{g("latency_http_url",e)},m=e=>{g("latency_ipv6",e.toString())},x=e=>{g("latency_ip_url",e)},p=e=>{g("latency_stun_url",e)},h=e=>{g("latency_stun_tcp_url",e)},g=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>o,y:()=>i});var a=n(5155),r=n(2115),l=n(1757),s=n(491);let o=(0,r.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:t}=e,[n,i]=(0,r.useState)({value:{},index:0}),c=(e,t)=>i(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,a.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,a.jsx)(l.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[t,r]=e;return(0,a.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:r.type,onClose:()=>{let e=n.value;delete e[t],i({...n,value:e}),console.log("close: "+t)},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(s.A.Header,{children:[(0,a.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,a.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,a.jsx)(s.A.Body,{className:"text-center",children:r.text})]},"toast"+t)})}),t]})}},8319:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var a=n(5155),r=n(4617),l=n.n(r),s=n(2115),o=n(1653);let i=s.forwardRef((e,t)=>{let{bsPrefix:n,fluid:r=!1,as:s="div",className:i,...c}=e,d=(0,o.oU)(n,"container");return(0,a.jsx)(s,{ref:t,...c,className:l()(i,r?"".concat(d).concat("string"==typeof r?"-".concat(r):"-fluid"):d)})});i.displayName="Container";var c=n(7644),d=n(6647);let u=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:s,...i}=e;n=(0,o.oU)(n,"navbar-brand");let c=s||(i.href?"a":"span");return(0,a.jsx)(c,{...i,ref:t,className:l()(r,n)})});u.displayName="NavbarBrand";var f=n(896),v=n(1668);let m=s.forwardRef((e,t)=>{let{children:n,bsPrefix:r,...l}=e;r=(0,o.oU)(r,"navbar-collapse");let i=(0,s.useContext)(v.A);return(0,a.jsx)(f.A,{in:!!(i&&i.expanded),...l,children:(0,a.jsx)("div",{ref:t,className:r,children:n})})});m.displayName="NavbarCollapse";var x=n(3853);let p=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,label:c="Toggle navigation",as:d="button",onClick:u,...f}=e;n=(0,o.oU)(n,"navbar-toggler");let{onToggle:m,expanded:p}=(0,s.useContext)(v.A)||{},h=(0,x.A)(e=>{u&&u(e),m&&m()});return"button"===d&&(f.type="button"),(0,a.jsx)(d,{...f,ref:t,onClick:h,"aria-label":c,className:l()(r,n,!p&&"collapsed"),children:i||(0,a.jsx)("span",{className:"".concat(n,"-icon")})})});p.displayName="NavbarToggle";var h=n(1146);let g=new WeakMap,y=(e,t)=>{if(!e||!t)return;let n=g.get(t)||new Map;g.set(t,n);let a=n.get(e);return a||((a=t.matchMedia(e)).refCount=0,n.set(a.media,a)),a},j=function(e){let t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}return function(a,r,l){let o;return"object"==typeof a?(o=a,l=r,r=!0):o={[a]:r=r||!0},function(e,t="undefined"==typeof window?void 0:window){let n=y(e,t),[a,r]=(0,s.useState)(()=>!!n&&n.matches);return(0,h.A)(()=>{let n=y(e,t);if(!n)return r(!1);let a=g.get(t),l=()=>{r(n.matches)};return n.refCount++,n.addListener(l),l(),()=>{n.removeListener(l),n.refCount--,n.refCount<=0&&(null==a||a.delete(n.media)),n=void 0}},[e]),a}((0,s.useMemo)(()=>Object.entries(o).reduce((a,[r,l])=>{if("up"===l||!0===l){let t;a=n(a,("number"==typeof(t=e[r])&&(t=`${t}px`),`(min-width: ${t})`))}if("down"===l||!0===l){let l;a=n(a,(l="number"==typeof(l=e[t[Math.min(t.indexOf(r)+1,t.length-1)]])?`${l-.2}px`:`calc(${l} - 0.2px)`,`(max-width: ${l})`))}return a},""),[JSON.stringify(o)]),l)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});var b=n(9952),A=n(3281);let N=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s="div",...i}=e;return r=(0,o.oU)(r,"offcanvas-body"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});N.displayName="OffcanvasBody";var w=n(2400),I=n(5998),_=n(4837),C=n(4579);let O={[w.ns]:"show",[w._K]:"show"},k=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,in:c=!1,mountOnEnter:d=!1,unmountOnExit:u=!1,appear:f=!1,...v}=e;return n=(0,o.oU)(n,"offcanvas"),(0,a.jsx)(C.A,{ref:t,addEndListener:_.A,in:c,mountOnEnter:d,unmountOnExit:u,appear:f,...v,childRef:(0,I.am)(i),children:(e,t)=>s.cloneElement(i,{...t,className:l()(r,i.props.className,(e===w.ns||e===w.ze)&&"".concat(n,"-toggling"),O[e])})})});k.displayName="OffcanvasToggling";var E=n(7467),S=n(2243);let R=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,closeLabel:s="Close",closeButton:i=!1,...c}=e;return n=(0,o.oU)(n,"offcanvas-header"),(0,a.jsx)(S.A,{ref:t,...c,className:l()(r,n),closeLabel:s,closeButton:i})});R.displayName="OffcanvasHeader";let T=(0,n(7449).A)("h5"),U=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s=T,...i}=e;return r=(0,o.oU)(r,"offcanvas-title"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});U.displayName="OffcanvasTitle";var K=n(3876);function P(e){return(0,a.jsx)(k,{...e})}function M(e){return(0,a.jsx)(A.A,{...e})}let B=s.forwardRef((e,t)=>{let{bsPrefix:n,className:r,children:i,"aria-labelledby":c,placement:d="start",responsive:u,show:f=!1,backdrop:v=!0,keyboard:m=!0,scroll:p=!1,onEscapeKeyDown:h,onShow:g,onHide:y,container:A,autoFocus:N=!0,enforceFocus:w=!0,restoreFocus:I=!0,restoreFocusOptions:_,onEntered:C,onExit:O,onExiting:k,onEnter:S,onEntering:R,onExited:T,backdropClassName:U,manager:B,renderStaticNode:H=!1,...L}=e,D=(0,s.useRef)();n=(0,o.oU)(n,"offcanvas");let[F,$]=(0,s.useState)(!1),z=(0,x.A)(y),W=j(u||"xs","up");(0,s.useEffect)(()=>{$(u?f&&!W:f)},[f,u,W]);let G=(0,s.useMemo)(()=>({onHide:z}),[z]),J=(0,s.useCallback)(e=>(0,a.jsx)("div",{...e,className:l()("".concat(n,"-backdrop"),U)}),[U,n]),Y=e=>(0,a.jsx)("div",{...e,...L,className:l()(r,u?"".concat(n,"-").concat(u):n,"".concat(n,"-").concat(d)),"aria-labelledby":c,children:i});return(0,a.jsxs)(a.Fragment,{children:[!F&&(u||H)&&Y({}),(0,a.jsx)(E.A.Provider,{value:G,children:(0,a.jsx)(b.A,{show:F,ref:t,backdrop:v,container:A,keyboard:m,autoFocus:N,enforceFocus:w&&!p,restoreFocus:I,restoreFocusOptions:_,onEscapeKeyDown:h,onShow:g,onHide:z,onEnter:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a{let{onHide:n,...r}=e,l=(0,s.useContext)(v.A),o=(0,x.A)(()=>{null==l||null==l.onToggle||l.onToggle(),null==n||n()});return(0,a.jsx)(H,{ref:t,show:!!(null!=l&&l.expanded),...r,renderStaticNode:!0,onHide:o})});L.displayName="NavbarOffcanvas";let D=s.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:s="span",...i}=e;return r=(0,o.oU)(r,"navbar-text"),(0,a.jsx)(s,{ref:t,className:l()(n,r),...i})});D.displayName="NavbarText";let F=s.forwardRef((e,t)=>{let{bsPrefix:n,expand:r=!0,variant:i="light",bg:u,fixed:f,sticky:m,className:x,as:p="nav",expanded:h,onToggle:g,onSelect:y,collapseOnSelect:j=!1,...b}=(0,d.Zw)(e,{expanded:"onToggle"}),A=(0,o.oU)(n,"navbar"),N=(0,s.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n({onToggle:()=>null==g?void 0:g(!h),bsPrefix:A,expanded:!!h,expand:r}),[A,h,r,g]);return(0,a.jsx)(v.A.Provider,{value:I,children:(0,a.jsx)(c.A.Provider,{value:N,children:(0,a.jsx)(p,{ref:t,...b,className:l()(x,A,r&&w,i&&"".concat(A,"-").concat(i),u&&"bg-".concat(u),m&&"sticky-".concat(m),f&&"fixed-".concat(f))})})})});F.displayName="Navbar";let $=Object.assign(F,{Brand:u,Collapse:m,Offcanvas:L,Text:D,Toggle:p});var z=n(3360),W=n(9637),G=n(5748);let J=s.forwardRef((e,t)=>{let{id:n,title:r,children:s,bsPrefix:i,className:c,rootCloseEvent:d,menuRole:u,disabled:f,active:v,renderMenuOnMount:m,menuVariant:x,...p}=e,h=(0,o.oU)(void 0,"nav-item");return(0,a.jsxs)(W.A,{ref:t,...p,className:l()(c,h),children:[(0,a.jsx)(W.A.Toggle,{id:n,eventKey:null,active:v,disabled:f,childBsPrefix:i,as:G.A,children:r}),(0,a.jsx)(W.A.Menu,{role:u,renderOnMount:m,rootCloseEvent:d,variant:x,children:s})]})});J.displayName="NavDropdown";let Y=Object.assign(J,{Item:W.A.Item,ItemText:W.A.ItemText,Divider:W.A.Divider,Header:W.A.Header});var Z=n(6658),V=n(744);let X=function(e){let t=(0,Z.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)($,{collapseOnSelect:!0,expand:"lg",style:{backdropFilter:"blur(50px)"},className:"shadow-sm",sticky:"top",children:(0,a.jsxs)(i,{fluid:!0,children:[(0,a.jsx)($.Toggle,{"aria-controls":"responsive-navbar-nav"}),(0,a.jsx)($.Collapse,{children:(0,a.jsxs)(z.A,{activeKey:(0,Z.usePathname)(),onSelect:(e,n)=>{n.preventDefault(),e&&t.push(e)},children:[(0,a.jsx)(z.A.Item,{children:(0,a.jsx)(z.A.Link,{eventKey:"/",children:"HOME"})}),(0,a.jsx)(z.A.Item,{children:(0,a.jsx)(z.A.Link,{eventKey:"/docs/group/",children:"OUTBOUND"})}),(0,a.jsx)(z.A.Item,{children:(0,a.jsx)(z.A.Link,{eventKey:"/docs/tag/",children:"TAG"})}),(0,a.jsx)(z.A.Item,{children:(0,a.jsx)(z.A.Link,{eventKey:"/docs/subscribe/",children:"SUBSCRIBE"})}),(0,a.jsxs)(Y,{title:"CONNECTIONS",active:(0,Z.usePathname)().startsWith("/docs/connections/"),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/connections/",children:"Connections"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/connections/failed",children:"Failed History"})]}),(0,a.jsxs)(Y,{title:"BYPASS",active:(0,Z.usePathname)().startsWith("/docs/bypass/"),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/",children:"Config"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/test",children:"Test Route"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/bypass/block",children:"Block History"})]}),(0,a.jsxs)(Y,{title:"SETTING",active:(0,Z.usePathname)().startsWith("/docs/config/")||"/docs/webui/"===(0,Z.usePathname)(),children:[(0,a.jsx)(Y.Item,{eventKey:"/docs/config/",children:"Config"}),(0,a.jsx)(Y.Item,{eventKey:"/docs/webui/",children:"WebUI"}),(0,a.jsx)(Y.Divider,{}),(0,a.jsx)(Y.Item,{eventKey:V.kP+"/debug/pprof",children:"Pprof"}),(0,a.jsx)(Y.Divider,{}),(0,a.jsx)(Y.Item,{eventKey:"/docs/config/about",children:"About"})]})]})})]})}),e.children]})};var q=n(148);function Q(e){let{children:t}=e;return(0,a.jsxs)("html",{lang:"en","data-bs-theme":"auto",children:[(0,a.jsxs)("head",{children:[(0,a.jsx)("meta",{charSet:"utf-8"}),(0,a.jsx)("title",{children:"Yuhaiin"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("link",{rel:"icon",href:"/docs/faviconv2.ico"}),(0,a.jsx)("meta",{name:"description",content:"yuhaiin"}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:"/docs/logov2192.png"})]}),(0,a.jsx)("body",{children:(0,a.jsx)(X,{children:(0,a.jsx)(i,{className:"mt-3 mb-3",children:(0,a.jsx)(q.y,{children:t})})})})]})}n(5685),n(3386)},896:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(4617),r=n.n(a),l=n(3762),s=n(2115),o=n(2400),i=n(5998),c=n(4837),d=n(4309),u=n(3557),f=n(4579),v=n(5155);let m={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function x(e,t){let n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],a=m[e];return n+parseInt((0,l.A)(t,a[0]),10)+parseInt((0,l.A)(t,a[1]),10)}let p={[o.kp]:"collapse",[o.ze]:"collapsing",[o.ns]:"collapsing",[o._K]:"collapse show"},h=s.forwardRef((e,t)=>{let{onEnter:n,onEntering:a,onEntered:l,onExit:o,onExiting:m,className:h,children:g,dimension:y="height",in:j=!1,timeout:b=300,mountOnEnter:A=!1,unmountOnExit:N=!1,appear:w=!1,getDimensionValue:I=x,..._}=e,C="function"==typeof y?y():y,O=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]="0"},n),[C,n]),k=(0,s.useMemo)(()=>(0,d.A)(e=>{let t="scroll".concat(C[0].toUpperCase()).concat(C.slice(1));e.style[C]="".concat(e[t],"px")},a),[C,a]),E=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]=null},l),[C,l]),S=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]="".concat(I(C,e),"px"),(0,u.A)(e)},o),[o,I,C]),R=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]=null},m),[C,m]);return(0,v.jsx)(f.A,{ref:t,addEndListener:c.A,..._,"aria-expanded":_.role?j:null,onEnter:O,onEntering:k,onEntered:E,onExit:S,onExiting:R,childRef:(0,i.am)(g),in:j,timeout:b,mountOnEnter:A,unmountOnExit:N,appear:w,children:(e,t)=>s.cloneElement(g,{...t,className:r()(h,g.props.className,p[e],"width"===C&&"collapse-horizontal")})})})},3360:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var a=n(4617),r=n.n(a),l=n(2115),s=n(6647),o=n(9814),i=n(1653),c=n(1668),d=n(7251),u=n(5155);let f=l.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:l="div",...s}=e;return a=(0,i.oU)(a,"nav-item"),(0,u.jsx)(l,{ref:t,className:r()(n,a),...s})});f.displayName="NavItem";var v=n(5748);let m=l.forwardRef((e,t)=>{let n,a;let{as:f="div",bsPrefix:v,variant:m,fill:x=!1,justify:p=!1,navbar:h,navbarScroll:g,className:y,activeKey:j,...b}=(0,s.Zw)(e,{activeKey:"onSelect"}),A=(0,i.oU)(v,"nav"),N=!1,w=(0,l.useContext)(c.A),I=(0,l.useContext)(d.A);return w?(n=w.bsPrefix,N=null==h||h):I&&({cardHeaderBsPrefix:a}=I),(0,u.jsx)(o.A,{as:f,ref:t,activeKey:j,className:r()(y,{[A]:!N,["".concat(n,"-nav")]:N,["".concat(n,"-nav-scroll")]:N&&g,["".concat(a,"-").concat(m)]:!!a,["".concat(A,"-").concat(m)]:!!m,["".concat(A,"-fill")]:x,["".concat(A,"-justified")]:p}),...b})});m.displayName="Nav";let x=Object.assign(m,{Item:f,Link:v.A})},5748:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(4617),r=n.n(a),l=n(2115),s=n(9656),o=n(3973),i=n(7644),c=n(1653),d=n(5155);let u=l.forwardRef((e,t)=>{let{bsPrefix:n,className:a,as:l=s.A,active:u,eventKey:f,disabled:v=!1,...m}=e;n=(0,c.oU)(n,"nav-link");let[x,p]=(0,o.M)({key:(0,i.u)(f,m.href),active:u,disabled:v,...m});return(0,d.jsx)(l,{...m,...x,ref:t,disabled:v,className:r()(a,n,v&&"disabled",p.isActive&&"active")})});u.displayName="NavLink";let f=u},1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>u,Jy:()=>r,Wz:()=>f,ff:()=>l,gy:()=>d,oU:()=>c});var a=n(2115);n(5155);let r=["xxl","xl","lg","md","sm","xs"],l="xs",s=a.createContext({prefixes:{},breakpoints:r,minBreakpoint:l}),{Consumer:o,Provider:i}=s;function c(e,t){let{prefixes:n}=(0,a.useContext)(s);return e||n[t]||t}function d(){let{breakpoints:e}=(0,a.useContext)(s);return e}function u(){let{minBreakpoint:e}=(0,a.useContext)(s);return e}function f(){let{dir:e}=(0,a.useContext)(s);return"rtl"===e}},4309:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=function(){for(var e=arguments.length,t=Array(e),n=0;nnull!=e).reduce((e,t)=>{if("function"!=typeof t)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,a=Array(n),r=0;r{},5685:()=>{},4617:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e="",t=0;t{var t=t=>e(e.s=t);e.O(0,[740,675,515,637,354,441,517,358],()=>t(8063)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-cd8ceb46434cab59.js b/_next/static/chunks/app/page-cd8ceb46434cab59.js new file mode 100644 index 00000000..a3671096 --- /dev/null +++ b/_next/static/chunks/app/page-cd8ceb46434cab59.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{9490:(t,e,o)=>{Promise.resolve().then(o.bind(o,9567))},744:(t,e,o)=>{"use strict";o.d(e,{DH:()=>l,G_:()=>p,Ow:()=>i,Oz:()=>r,VN:()=>_,X3:()=>u,_s:()=>m,dp:()=>y,h$:()=>g,kP:()=>n,mv:()=>h,oH:()=>a,r3:()=>c,u1:()=>s});var n="",r="https://clients3.google.com/generate_204",c="dns.nextdns.io:853",a=!0,l="http://ip.sb",s="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let d=()=>{let t=localStorage.getItem("api_url");n=null!==t?t:"",t=localStorage.getItem("remote_bypass"),null!==(t=localStorage.getItem("latency_http_url"))&&(r=t),null!==(t=localStorage.getItem("latency_dns_url"))&&(c=t),null!==(t=localStorage.getItem("latency_ipv6"))&&(a="true"===t),null!==(t=localStorage.getItem("latency_ip_url"))&&(l=t),null!==(t=localStorage.getItem("latency_stun_url"))&&(s=t),null!==(t=localStorage.getItem("latency_stun_tcp_url"))&&(u=t)},i=t=>{v("api_url",t)},y=t=>{v("latency_dns_url",t)},p=t=>{v("latency_http_url",t)},h=t=>{v("latency_ipv6",t.toString())},g=t=>{v("latency_ip_url",t)},m=t=>{v("latency_stun_url",t)},_=t=>{v("latency_stun_tcp_url",t)},v=(t,e)=>{""===e?localStorage.removeItem(t):localStorage.setItem(t,e),d()};d()},8927:(t,e,o)=>{"use strict";o.d(e,{AD:()=>l,EY:()=>u,Fp:()=>i,L1:()=>s,gR:()=>y,kP:()=>d});var n=o(744),r=o(950),c=o(6989),a=o(7558);function l(t,e,o,a){return l=>a?(0,r.o)(t,a):fetch("".concat(n.kP).concat(l),{method:e,body:o}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,c.Er)(t,new Uint8Array(await e.arrayBuffer()))})}function s(t,e,o,l){return s=>l?(0,r.o)(t.output,l):fetch("".concat(n.kP).concat(s),{method:e,body:o?(0,a.R)(t.input,o):void 0}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,c.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}function u(t,e,o,r){return a=>fetch("".concat(n.kP).concat(a),{method:o,body:r}).then(async o=>{if(!o.ok)throw{code:o.status,msg:o.statusText,raw:o.text()};return e((0,c.Er)(t,new Uint8Array(await o.arrayBuffer())))})}async function d(t,e,o,n){return i(e,{method:o,body:n?(0,a.R)(t.input,n):void 0,process:async e=>(0,c.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}let i=async(t,e)=>{let o=await fetch("".concat(n.kP).concat(t),{method:void 0!==e.method?e.method:"POST",body:e.body});return o.ok?void 0===e.process?{}:{data:e.process(o)}:{error:{code:o.status,msg:o.text()}}};function y(t,e,o){return(r,a)=>{let l,{next:s}=a,u=new URL(""!==n.kP?n.kP:window.location.toString());u.pathname=r,u.protocol="https:"===u.protocol?"wss:":"ws:";let d=!1,i=()=>{d||(console.log("connecting to: ".concat(u)),(l=new WebSocket(u)).binaryType="arraybuffer",l.addEventListener("open",e=>{console.log("connect to: ".concat(u,", event type: ").concat(e.type)),null==l||l.send(t)}),l.addEventListener("message",t=>{let n=(0,c.Er)(e,new Uint8Array(t.data));s(null,t=>o(t,n))}),l.addEventListener("error",t=>{let e="websocket have some error";s({msg:e,code:500}),console.log(e,t.type)}),l.addEventListener("close",t=>{console.log("websocket closed, code: "+t.code),s(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{d=!0,void 0!==l&&(console.log("close: ".concat(r)),l.close(),l=void 0)}}}},9567:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>g});var n=o(5155),r=o(2981),c=o(9169),a=o(4995),l=o(8927),s=o(5554),u=o.n(s),d=o(9969),i=o(9093),y=o(3577),p=o(2049);let h=function(){var t,e;let{data:o,error:s,isLoading:h}=(0,a.Ay)("/node/now",(0,l.L1)(d.rH.method.now));return void 0!==s?(0,n.jsx)(u(),{statusCode:s.code,title:s.msg}):h||void 0===o?(0,n.jsx)(c.A,{}):(0,n.jsxs)("div",{children:[(0,n.jsxs)(r.A,{className:"mb-3",children:[(0,n.jsx)(r.A.Header,{children:"TCP"}),(0,n.jsx)(r.A.Body,{children:(0,n.jsx)("pre",{children:(0,i.J7)(p.Ac,null!==(t=o.tcp)&&void 0!==t?t:(0,y.v)(p.Ac,{}),{prettySpaces:2})})})]}),(0,n.jsxs)(r.A,{className:"mb-3",children:[(0,n.jsx)(r.A.Header,{children:"UDP"}),(0,n.jsx)(r.A.Body,{children:(0,n.jsx)("pre",{children:(0,i.J7)(p.Ac,null!==(e=o.udp)&&void 0!==e?e:(0,y.v)(p.Ac,{}),{prettySpaces:2})})})]})]})};function g(){return(0,n.jsx)("div",{children:(0,n.jsx)(h,{})})}}},t=>{var e=e=>t(t.s=e);t.O(0,[488,995,708,64,145,441,517,358],()=>e(9490)),_N_E=t.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-ce72e95b123fd554.js b/_next/static/chunks/app/page-ce72e95b123fd554.js deleted file mode 100644 index 55267bd3..00000000 --- a/_next/static/chunks/app/page-ce72e95b123fd554.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{9490:(e,t,o)=>{Promise.resolve().then(o.bind(o,9567))},744:(e,t,o)=>{"use strict";o.d(t,{DH:()=>a,G_:()=>g,Ow:()=>i,Oz:()=>l,VN:()=>m,X3:()=>d,_s:()=>h,dp:()=>p,h$:()=>_,kP:()=>n,mv:()=>y,oH:()=>r,r3:()=>c,u1:()=>s});var n="",l="https://clients3.google.com/generate_204",c="dns.nextdns.io:853",r=!0,a="http://ip.sb",s="stun.syncthing.net:3478",d="stun.nextcloud.com:443";let u=()=>{let e=localStorage.getItem("api_url");n=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(c=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(r="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(a=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(d=e)},i=e=>{v("api_url",e)},p=e=>{v("latency_dns_url",e)},g=e=>{v("latency_http_url",e)},y=e=>{v("latency_ipv6",e.toString())},_=e=>{v("latency_ip_url",e)},h=e=>{v("latency_stun_url",e)},m=e=>{v("latency_stun_tcp_url",e)},v=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),u()};u()},8927:(e,t,o)=>{"use strict";o.d(t,{AD:()=>r,EY:()=>a,Fp:()=>s,gR:()=>d});var n=o(744),l=o(950),c=o(6989);function r(e,t,o,r){return a=>r?(0,l.o)(e,r):fetch("".concat(n.kP).concat(a),{method:t,body:o}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,c.Er)(e,new Uint8Array(await t.arrayBuffer()))})}function a(e,t,o,l){return r=>fetch("".concat(n.kP).concat(r),{method:o,body:l}).then(async o=>{if(!o.ok)throw{code:o.status,msg:o.statusText,raw:o.text()};return t((0,c.Er)(e,new Uint8Array(await o.arrayBuffer())))})}let s=async(e,t)=>{let o=await fetch("".concat(n.kP).concat(e),{method:void 0!==t.method?t.method:"POST",body:t.body});return o.ok?void 0===t.process?{}:{data:t.process(o)}:{error:{code:o.status,msg:o.text()}}};function d(e,t,o){return(l,r)=>{let a,{next:s}=r,d=new URL(""!==n.kP?n.kP:window.location.toString());d.pathname=l,d.protocol="https:"===d.protocol?"wss:":"ws:";let u=!1,i=()=>{u||(console.log("connecting to: ".concat(d)),(a=new WebSocket(d)).binaryType="arraybuffer",a.addEventListener("open",t=>{console.log("connect to: ".concat(d,", event type: ").concat(t.type)),null==a||a.send(e)}),a.addEventListener("message",e=>{let n=(0,c.Er)(t,new Uint8Array(e.data));s(null,e=>o(e,n))}),a.addEventListener("error",e=>{let t="websocket have some error";s({msg:t,code:500}),console.log(t,e.type)}),a.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),s(null,void 0),u||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{u=!0,void 0!==a&&(console.log("close: ".concat(l)),a.close(),a=void 0)}}}},9567:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>_});var n=o(5155),l=o(2981),c=o(9169),r=o(4995),a=o(8927),s=o(5554),d=o.n(s),u=o(9969),i=o(9093),p=o(3577),g=o(2049);let y=function(){var e,t;let{data:o,error:s,isLoading:y}=(0,r.Ay)("/node/now",(0,a.AD)(u.p8));return void 0!==s?(0,n.jsx)(d(),{statusCode:s.code,title:s.msg}):y||void 0===o?(0,n.jsx)(c.A,{}):(0,n.jsxs)("div",{children:[(0,n.jsxs)(l.A,{className:"mb-3",children:[(0,n.jsx)(l.A.Header,{children:"TCP"}),(0,n.jsx)(l.A.Body,{children:(0,n.jsx)("pre",{children:(0,i.J7)(g.Ac,null!==(e=o.tcp)&&void 0!==e?e:(0,p.v)(g.Ac,{}),{prettySpaces:2})})})]}),(0,n.jsxs)(l.A,{className:"mb-3",children:[(0,n.jsx)(l.A.Header,{children:"UDP"}),(0,n.jsx)(l.A.Body,{children:(0,n.jsx)("pre",{children:(0,i.J7)(g.Ac,null!==(t=o.udp)&&void 0!==t?t:(0,p.v)(g.Ac,{}),{prettySpaces:2})})})]})]})};function _(){return(0,n.jsx)("div",{children:(0,n.jsx)(y,{})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[235,995,708,190,145,441,517,358],()=>t(9490)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/eOvjEsjnQR-Ccz1EF9LrW/_buildManifest.js b/_next/static/eOvjEsjnQR-Ccz1EF9LrW/_buildManifest.js deleted file mode 100644 index a452bf46..00000000 --- a/_next/static/eOvjEsjnQR-Ccz1EF9LrW/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:13,errorRate:1e-4,numBits:250,numHashes:14,bitArray:[0,0,1,1,0,1,e,e,r,r,r,e,r,e,e,r,r,e,e,r,r,r,e,r,e,r,r,r,e,r,r,e,r,e,e,r,r,e,e,r,r,r,e,r,r,e,e,e,e,r,e,r,e,r,e,e,e,r,r,r,r,r,e,e,r,e,r,e,e,e,e,e,e,r,e,r,e,r,e,e,e,e,e,r,r,e,e,e,r,r,r,e,e,e,r,e,r,r,e,e,e,r,e,r,e,e,e,r,r,e,r,e,e,r,e,r,e,r,e,e,e,r,e,r,r,r,e,e,r,e,r,r,e,e,e,r,r,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,e,e,r,e,e,r,r,r,e,e,r,r,e,e,e,r,e,e,r,e,r,r,e,r,r,e,e,e,e,r,e,e,r,r,e,e,r,e,e,r,e,r,e,e,e,e,e,e,r,r,r,r,r,e,r,r,r,r,r,r,r,e,r,e,r,r,e,e,e,r,e,e,e,e,e,r,e,r,r,r,e,r,r,e,r,r,r,e,e,r,r,e,e,r,r]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-9b7125ad1a1e68fa.js"],sortedPages:["/_app","/_error"]}}(0,1,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/nQG_DQuYhCBnG9bq3TXyB/_buildManifest.js b/_next/static/nQG_DQuYhCBnG9bq3TXyB/_buildManifest.js new file mode 100644 index 00000000..0870b52e --- /dev/null +++ b/_next/static/nQG_DQuYhCBnG9bq3TXyB/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(e,r,t,_){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:14,errorRate:1e-4,numBits:269,numHashes:14,bitArray:[1,1,1,e,e,0,e,e,0,0,r,e,e,r,r,e,e,e,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,r,e,r,e,r,r,e,e,e,e,e,r,e,e,r,r,e,e,r,e,r,e,e,e,r,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,e,r,e,r,r,r,e,e,r,e,r,e,e,r,r,e,e,e,e,r,r,e,e,e,e,r,r,r,e,r,e,e,r,r,e,r,e,r,r,e,e,e,e,e,r,r,e,e,r,r,e,e,r,r,e,r,e,r,r,e,e,e,r,r,e,r,e,e,e,r,e,r,e,e,r,e,e,e,r,e,r,e,e,r,e,e,e,e,r,e,e,e,r,e,e,e,r,e,r,e,r,r,r,r,e,r,e,e,e,r,e,r,r,r,r,r,r,r,e,e,r,r,e,e,r,r,r,r,e,r,r,r,e,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,r,r,r,e,e,r,e,e,r,e,r,r,r,e,e,r,r,r,r,e,e,e,r,e,e,e,r,r,e,e,r,r,r,r,e,r,r,e,e,r,r,e,e,e,r,e,r]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-9b7125ad1a1e68fa.js"],sortedPages:["/_app","/_error"]}}(1,0,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/eOvjEsjnQR-Ccz1EF9LrW/_ssgManifest.js b/_next/static/nQG_DQuYhCBnG9bq3TXyB/_ssgManifest.js similarity index 100% rename from _next/static/eOvjEsjnQR-Ccz1EF9LrW/_ssgManifest.js rename to _next/static/nQG_DQuYhCBnG9bq3TXyB/_ssgManifest.js diff --git a/docs/bypass/block/index.html b/docs/bypass/block/index.html index 6d103271..85751e2a 100644 --- a/docs/bypass/block/index.html +++ b/docs/bypass/block/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/bypass/block/index.txt b/docs/bypass/block/index.txt index 41e614f2..0ebedc25 100644 --- a/docs/bypass/block/index.txt +++ b/docs/bypass/block/index.txt @@ -1,10 +1,10 @@ 4:"$Sreact.fragment" 5:I[4547,[],"ClientSegmentRoot"] -6:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +6:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 7:I[5244,[],""] 8:I[3866,[],""] a:I[7033,[],"ClientPageRoot"] -b:I[3878,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","459","static/chunks/459-bbe022b37701d9ba.js","878","static/chunks/878-d93338077944e309.js","755","static/chunks/app/docs/bypass/block/page-c457e1cb916a91ef.js"],"default"] +b:I[3878,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","459","static/chunks/459-9097da3ff98ae686.js","878","static/chunks/878-fc77b69ce873de91.js","755","static/chunks/app/docs/bypass/block/page-fb192d608fc1d744.js"],"default"] e:I[6213,[],"OutletBoundary"] 10:I[6213,[],"MetadataBoundary"] 12:I[6213,[],"ViewportBoundary"] @@ -12,7 +12,7 @@ e:I[6213,[],"OutletBoundary"] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] 3:HL["/_next/static/css/8547d2c8ab3fc9f5.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","bypass","block",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["block",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$4","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L5",null,{"Component":"$6","slots":{"children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@9"}]]}],{"children":["docs",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["block",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children","block","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$4","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@c","$@d"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8547d2c8ab3fc9f5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Le",null,{"children":"$Lf"}]]}],{},null]},null]},null]},null]},null],["$","$4","h",{"children":[null,["$","$4","6nESbgbSdgcybScalOohD",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","bypass","block",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["block",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$4","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L5",null,{"Component":"$6","slots":{"children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@9"}]]}],{"children":["docs",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["block",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children","block","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$4","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@c","$@d"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8547d2c8ab3fc9f5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Le",null,{"children":"$Lf"}]]}],{},null]},null]},null]},null]},null],["$","$4","h",{"children":[null,["$","$4","kzlI1XuMSEShz-uY1KbTG",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/docs/bypass/index.html b/docs/bypass/index.html index 11ebf112..b2a04ab0 100644 --- a/docs/bypass/index.html +++ b/docs/bypass/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/bypass/index.txt b/docs/bypass/index.txt index 4824acd0..59d9f1bd 100644 --- a/docs/bypass/index.txt +++ b/docs/bypass/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[5297,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","85","static/chunks/85-a8265397d271793e.js","306","static/chunks/306-9c2fa43e07009827.js","753","static/chunks/app/docs/bypass/page-e11f37f3c8a8ef8b.js"],"default"] +a:I[5297,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","842","static/chunks/842-dbd12b09bf73c5ea.js","306","static/chunks/306-29349e73fe83ddff.js","753","static/chunks/app/docs/bypass/page-1488909856826fdd.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","bypass",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","hzhJBqzGHCvJCeMHNBYTZ",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","bypass",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","2G5Ektmt6KtgeT00-mTT7",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/bypass/test/index.html b/docs/bypass/test/index.html index 19e18837..440eff17 100644 --- a/docs/bypass/test/index.html +++ b/docs/bypass/test/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/bypass/test/index.txt b/docs/bypass/test/index.txt index e2f31925..0eed2801 100644 --- a/docs/bypass/test/index.txt +++ b/docs/bypass/test/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[304,["235","static/chunks/235-deda7edec08b9c84.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","708","static/chunks/708-5382ebe623e65010.js","878","static/chunks/878-d93338077944e309.js","198","static/chunks/app/docs/bypass/test/page-9c6bc0a6be3d6e62.js"],"default"] +a:I[304,["488","static/chunks/488-a427b20cafb1db80.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","708","static/chunks/708-1127f0a6481dd1d1.js","878","static/chunks/878-fc77b69ce873de91.js","198","static/chunks/app/docs/bypass/test/page-686145db1ec7161a.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","bypass","test",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["test",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["test",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children","test","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","uZ6we4CPfzcQ3ROI40j_A",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","bypass","test",""],"i":false,"f":[[["",{"children":["docs",{"children":["bypass",{"children":["test",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["bypass",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["test",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","bypass","children","test","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","or2dOIn4bXC4aQTF9BeCj",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/config/about/index.html b/docs/config/about/index.html index 3f456e9f..c18fed18 100644 --- a/docs/config/about/index.html +++ b/docs/config/about/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/config/about/index.txt b/docs/config/about/index.txt index 3daca31a..2fb3524e 100644 --- a/docs/config/about/index.txt +++ b/docs/config/about/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[8187,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","306","static/chunks/306-9c2fa43e07009827.js","878","static/chunks/878-d93338077944e309.js","181","static/chunks/app/docs/config/about/page-eebca1461c59c69a.js"],"default"] +a:I[8187,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","306","static/chunks/306-29349e73fe83ddff.js","878","static/chunks/878-fc77b69ce873de91.js","181","static/chunks/app/docs/config/about/page-509794d087b66b43.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","config","about",""],"i":false,"f":[[["",{"children":["docs",{"children":["config",{"children":["about",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["config",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["about",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","tbOFIhJjmpsJZyKqfbb1W",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","config","about",""],"i":false,"f":[[["",{"children":["docs",{"children":["config",{"children":["about",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["config",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["about",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","3hEw-lR8_XsIzdxLG2csF",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/config/inbounds/index.html b/docs/config/inbounds/index.html new file mode 100644 index 00000000..4b18cfb2 --- /dev/null +++ b/docs/config/inbounds/index.html @@ -0,0 +1 @@ +Yuhaiin
\ No newline at end of file diff --git a/docs/config/inbounds/index.txt b/docs/config/inbounds/index.txt new file mode 100644 index 00000000..632c63f0 --- /dev/null +++ b/docs/config/inbounds/index.txt @@ -0,0 +1,20 @@ +3:"$Sreact.fragment" +4:I[4547,[],"ClientSegmentRoot"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] +6:I[5244,[],""] +7:I[3866,[],""] +9:I[7033,[],"ClientPageRoot"] +a:I[1404,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","734","static/chunks/734-c496d915c5550947.js","306","static/chunks/306-29349e73fe83ddff.js","878","static/chunks/878-fc77b69ce873de91.js","930","static/chunks/app/docs/config/inbounds/page-0f3a131858e3831e.js"],"default"] +d:I[6213,[],"OutletBoundary"] +f:I[6213,[],"MetadataBoundary"] +11:I[6213,[],"ViewportBoundary"] +13:I[4835,[],""] +1:HL["/_next/static/css/d3df112486f97f47.css","style"] +2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","config","inbounds",""],"i":false,"f":[[["",{"children":["docs",{"children":["config",{"children":["inbounds",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["config",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["inbounds",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children","inbounds","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","wce5g5XTF-llzk-sI0CZ5",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +8:{} +b:{} +c:{} +12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +10:[["$","meta","0",{"charSet":"utf-8"}]] +e:null diff --git a/docs/config/index.html b/docs/config/index.html index 0f97a8f6..0f87bab7 100644 --- a/docs/config/index.html +++ b/docs/config/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/config/index.txt b/docs/config/index.txt index c2b4006b..641b1d03 100644 --- a/docs/config/index.txt +++ b/docs/config/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[9205,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","734","static/chunks/734-eb56453c8c73475d.js","30","static/chunks/30-24920e636181abd2.js","306","static/chunks/306-9c2fa43e07009827.js","878","static/chunks/878-d93338077944e309.js","779","static/chunks/app/docs/config/page-f53111a3dcb4b6fd.js"],"default"] +a:I[493,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","617","static/chunks/617-e3e007e038b8c1dd.js","306","static/chunks/306-29349e73fe83ddff.js","878","static/chunks/878-fc77b69ce873de91.js","779","static/chunks/app/docs/config/page-845708ad2c1f825b.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","config",""],"i":false,"f":[[["",{"children":["docs",{"children":["config",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["config",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","2V9xK-g9rfyTdx-bBI2ie",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","config",""],"i":false,"f":[[["",{"children":["docs",{"children":["config",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["config",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","config","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","85B7wOFf84c-H2zGsP04F",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/connections/failed/index.html b/docs/connections/failed/index.html index fe029cde..0b7b2a69 100644 --- a/docs/connections/failed/index.html +++ b/docs/connections/failed/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/connections/failed/index.txt b/docs/connections/failed/index.txt index 9358b8cf..23d5b541 100644 --- a/docs/connections/failed/index.txt +++ b/docs/connections/failed/index.txt @@ -1,10 +1,10 @@ 4:"$Sreact.fragment" 5:I[4547,[],"ClientSegmentRoot"] -6:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +6:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 7:I[5244,[],""] 8:I[3866,[],""] a:I[7033,[],"ClientPageRoot"] -b:I[368,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","459","static/chunks/459-bbe022b37701d9ba.js","894","static/chunks/app/docs/connections/failed/page-39804777c456d55d.js"],"default"] +b:I[368,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","459","static/chunks/459-9097da3ff98ae686.js","894","static/chunks/app/docs/connections/failed/page-66b5a422196776a0.js"],"default"] e:I[6213,[],"OutletBoundary"] 10:I[6213,[],"MetadataBoundary"] 12:I[6213,[],"ViewportBoundary"] @@ -12,7 +12,7 @@ e:I[6213,[],"OutletBoundary"] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] 3:HL["/_next/static/css/8547d2c8ab3fc9f5.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","connections","failed",""],"i":false,"f":[[["",{"children":["docs",{"children":["connections",{"children":["failed",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$4","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L5",null,{"Component":"$6","slots":{"children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@9"}]]}],{"children":["docs",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["connections",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["failed",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children","failed","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$4","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@c","$@d"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8547d2c8ab3fc9f5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Le",null,{"children":"$Lf"}]]}],{},null]},null]},null]},null]},null],["$","$4","h",{"children":[null,["$","$4","GiqKsfWJprnJ6PEP3eXrv",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","connections","failed",""],"i":false,"f":[[["",{"children":["docs",{"children":["connections",{"children":["failed",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$4","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L5",null,{"Component":"$6","slots":{"children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@9"}]]}],{"children":["docs",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["connections",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["failed",["$","$4","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children","failed","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$4","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@c","$@d"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8547d2c8ab3fc9f5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Le",null,{"children":"$Lf"}]]}],{},null]},null]},null]},null]},null],["$","$4","h",{"children":[null,["$","$4","Kadn6XJ-M7YEBwTJI57xn",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/docs/connections/index.html b/docs/connections/index.html index 8634092e..abe2780c 100644 --- a/docs/connections/index.html +++ b/docs/connections/index.html @@ -1 +1 @@ -Yuhaiin
Download
Loading...
Upload
Loading...
\ No newline at end of file +Yuhaiin
Download
Loading...
Upload
Loading...
\ No newline at end of file diff --git a/docs/connections/index.txt b/docs/connections/index.txt index 4e49d46a..4c785467 100644 --- a/docs/connections/index.txt +++ b/docs/connections/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[2988,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","708","static/chunks/708-5382ebe623e65010.js","354","static/chunks/354-d4c08a5d11215f94.js","734","static/chunks/734-eb56453c8c73475d.js","973","static/chunks/973-efe49f9cdbed3045.js","424","static/chunks/424-975e1e912c3945a0.js","306","static/chunks/306-9c2fa43e07009827.js","698","static/chunks/698-5eb69049f5e0d4be.js","706","static/chunks/app/docs/connections/page-2be128d3b6507c6e.js"],"default"] +a:I[2988,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","708","static/chunks/708-1127f0a6481dd1d1.js","734","static/chunks/734-c496d915c5550947.js","973","static/chunks/973-738061b72a020e9b.js","424","static/chunks/424-6e400e4952135326.js","306","static/chunks/306-29349e73fe83ddff.js","698","static/chunks/698-a1509951f078e285.js","706","static/chunks/app/docs/connections/page-eac1d3e904408ca2.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","connections",""],"i":false,"f":[[["",{"children":["docs",{"children":["connections",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["connections",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","uaAFkaSVW4EaHiFgT1jF2",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","connections",""],"i":false,"f":[[["",{"children":["docs",{"children":["connections",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["connections",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","connections","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","ifZ7L5fEhWaVz0XnZR5q2",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/group/index.html b/docs/group/index.html index 8e1e0be5..73ade1a1 100644 --- a/docs/group/index.html +++ b/docs/group/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/group/index.txt b/docs/group/index.txt index 2b75e3bb..566b6cd2 100644 --- a/docs/group/index.txt +++ b/docs/group/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[8646,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","708","static/chunks/708-5382ebe623e65010.js","354","static/chunks/354-d4c08a5d11215f94.js","734","static/chunks/734-eb56453c8c73475d.js","973","static/chunks/973-efe49f9cdbed3045.js","306","static/chunks/306-9c2fa43e07009827.js","145","static/chunks/145-4aa1ad9d647a3b26.js","698","static/chunks/698-5eb69049f5e0d4be.js","564","static/chunks/app/docs/group/page-9b915b3f30e74e3d.js"],"default"] +a:I[8646,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","708","static/chunks/708-1127f0a6481dd1d1.js","734","static/chunks/734-c496d915c5550947.js","973","static/chunks/973-738061b72a020e9b.js","306","static/chunks/306-29349e73fe83ddff.js","145","static/chunks/145-ab0cc061f531c763.js","698","static/chunks/698-a1509951f078e285.js","564","static/chunks/app/docs/group/page-9f2a7e7107f2cb75.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","group",""],"i":false,"f":[[["",{"children":["docs",{"children":["group",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["group",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","group","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","hdwZ0UPnAay_LuOdribEW",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","group",""],"i":false,"f":[[["",{"children":["docs",{"children":["group",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["group",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","group","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","S7h8YF1GZXoJYkrYClvV5",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/subscribe/index.html b/docs/subscribe/index.html index 1b149f96..8515b55f 100644 --- a/docs/subscribe/index.html +++ b/docs/subscribe/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/subscribe/index.txt b/docs/subscribe/index.txt index 2522ff5f..49c1f491 100644 --- a/docs/subscribe/index.txt +++ b/docs/subscribe/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[7981,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","589","static/chunks/589-7b7b34f2e10734bb.js","145","static/chunks/145-4aa1ad9d647a3b26.js","943","static/chunks/app/docs/subscribe/page-eb19d9231fd15db8.js"],"default"] +a:I[7981,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","942","static/chunks/942-ad247b1d65d0962a.js","145","static/chunks/145-ab0cc061f531c763.js","943","static/chunks/app/docs/subscribe/page-d88c1a224a497f26.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","subscribe",""],"i":false,"f":[[["",{"children":["docs",{"children":["subscribe",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["subscribe",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","subscribe","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","pn--zLjVX14jCH_EU26NQ",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","subscribe",""],"i":false,"f":[[["",{"children":["docs",{"children":["subscribe",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["subscribe",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","subscribe","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","qoXqYD3WZ6I0DsGtlpCGz",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/tag/index.html b/docs/tag/index.html index 3c428d6c..0e3f286d 100644 --- a/docs/tag/index.html +++ b/docs/tag/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/tag/index.txt b/docs/tag/index.txt index 47553319..2fe6c8cf 100644 --- a/docs/tag/index.txt +++ b/docs/tag/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[3129,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","637","static/chunks/637-a8591488c98dfcc9.js","708","static/chunks/708-5382ebe623e65010.js","354","static/chunks/354-d4c08a5d11215f94.js","734","static/chunks/734-eb56453c8c73475d.js","973","static/chunks/973-efe49f9cdbed3045.js","306","static/chunks/306-9c2fa43e07009827.js","145","static/chunks/145-4aa1ad9d647a3b26.js","698","static/chunks/698-5eb69049f5e0d4be.js","163","static/chunks/app/docs/tag/page-3749ef005204e660.js"],"default"] +a:I[3129,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","708","static/chunks/708-1127f0a6481dd1d1.js","734","static/chunks/734-c496d915c5550947.js","973","static/chunks/973-738061b72a020e9b.js","306","static/chunks/306-29349e73fe83ddff.js","145","static/chunks/145-ab0cc061f531c763.js","698","static/chunks/698-a1509951f078e285.js","163","static/chunks/app/docs/tag/page-04517e64717f0b62.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","tag",""],"i":false,"f":[[["",{"children":["docs",{"children":["tag",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["tag",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","tag","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","eKfI1iVLd0hxmADvNNf5g",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","tag",""],"i":false,"f":[[["",{"children":["docs",{"children":["tag",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["tag",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","tag","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","j0biAVSdaSjAJ1NpyfhbE",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/docs/webui/index.html b/docs/webui/index.html index d0d2e982..99e2c693 100644 --- a/docs/webui/index.html +++ b/docs/webui/index.html @@ -1 +1 @@ -Yuhaiin

Latency
\ No newline at end of file +Yuhaiin

Latency
\ No newline at end of file diff --git a/docs/webui/index.txt b/docs/webui/index.txt index ba484ef5..5789c2d5 100644 --- a/docs/webui/index.txt +++ b/docs/webui/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[7305,["515","static/chunks/515-a5462ec64f175aad.js","920","static/chunks/920-ab0772955c0d27bf.js","987","static/chunks/app/docs/webui/page-e8832e3fc1a27bb9.js"],"default"] +a:I[7305,["515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","987","static/chunks/app/docs/webui/page-270cf575227966d0.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["","docs","webui",""],"i":false,"f":[[["",{"children":["docs",{"children":["webui",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["webui",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","webui","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","NcBqRhpq78_lBiA7xR9es",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["","docs","webui",""],"i":false,"f":[[["",{"children":["docs",{"children":["webui",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["docs",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["webui",["$","$3","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","webui","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null]},null]},null],["$","$3","h",{"children":[null,["$","$3","0-GKLIu-NjZf04vV7DtoW",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{} diff --git a/index.html b/index.html index 30c4de75..15559b46 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/index.txt b/index.txt index afdc984a..24301d61 100644 --- a/index.txt +++ b/index.txt @@ -1,17 +1,17 @@ 3:"$Sreact.fragment" 4:I[4547,[],"ClientSegmentRoot"] -5:I[8319,["515","static/chunks/515-a5462ec64f175aad.js","637","static/chunks/637-a8591488c98dfcc9.js","354","static/chunks/354-d4c08a5d11215f94.js","177","static/chunks/app/layout-d20271b6b82658d2.js"],"default"] +5:I[8319,["515","static/chunks/515-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[9567,["235","static/chunks/235-deda7edec08b9c84.js","995","static/chunks/995-7765502ff58c005c.js","708","static/chunks/708-5382ebe623e65010.js","190","static/chunks/190-d1420f9d72c25a6c.js","145","static/chunks/145-4aa1ad9d647a3b26.js","974","static/chunks/app/page-ce72e95b123fd554.js"],"default"] +a:I[9567,["488","static/chunks/488-a427b20cafb1db80.js","995","static/chunks/995-cbcf5fbb16c93355.js","708","static/chunks/708-1127f0a6481dd1d1.js","64","static/chunks/64-23ec5a52ca6e927d.js","145","static/chunks/145-ab0cc061f531c763.js","974","static/chunks/app/page-cd8ceb46434cab59.js"],"default"] d:I[6213,[],"OutletBoundary"] f:I[6213,[],"MetadataBoundary"] 11:I[6213,[],"ViewportBoundary"] 13:I[4835,[],""] 1:HL["/_next/static/css/d3df112486f97f47.css","style"] 2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] -0:{"P":null,"b":"eOvjEsjnQR-Ccz1EF9LrW","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null],["$","$3","h",{"children":[null,["$","$3","Pd00wMcq-mVMcmM8Yb5BV",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"nQG_DQuYhCBnG9bq3TXyB","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L4",null,{"Component":"$5","slots":{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]},"params":{},"promise":"$@8"}]]}],{"children":["__PAGE__",["$","$3","c",{"children":[["$","$L9",null,{"Component":"$a","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@b","$@c"]}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null]},null],["$","$3","h",{"children":[null,["$","$3","FteEvFc_EURmEYI6xjjS8",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{}